sheardocs

Reference

Parameters

Every number that shapes a round, where it lives, and whether it can change.

Vault settings#

Set once when the vault is created, stored in the vault account’s config, and never changed.

SettingFieldValue
Strike above the starting priceotm_bps500 basis points, 5%
Largest oracle confidence intervalmax_confidence_bps100 basis points, 1% of price
Auction lengthauction_seconds300 seconds
Reserve price per callreserve_premium_microMicro-USDC per whole call; read it from the vault account

Fixed in the program#

RuleValue
Bids per round16 at most, one per wallet
Dispute window after the mark900 seconds
Observation window after expiry3,600 seconds
Fallback7 days after expiry, one TSLAx per call sold
Expiry distance at start1 to 8 days
Starting price freshnessPublished within 60 seconds of the start
Multiplier range0.000001 to 1,000,000
Pause around a multiplier change900 seconds either side
Wait before a bidder stake can be withdrawn7 days after request_unstake

Units#

QuantityDecimalsExample
TSLAx, shares and calls81 TSLAx = 100,000,000 atoms
USDC, premiums and bids6$0.80 = 800,000
Strike and close, USD per TSLAx6$105.00 = 105,000,000
Multiplier91.0 = 1,000,000,000
Premium index18USDC atoms per share atom × 10¹⁸

Addresses#

Address
Shear programGG8Db3XMAfAaa4RT38e5uaeFSDjztEyaATpR6B3AxMcn
TSLAx mintXsDoVfqeBukxuZHWhdvWHBhgEHjGNst4MLodqsJHzoB
USDC mintEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
Pyth receiverrec2HHDDnjLfj4kE7VyEtFA1HPGQLK33259532cRyHp
Pyth TSLA feed id16dad506d7db8da01c87581c87ca897a012a153557d4d578c3b9c9e1bc0632f1
SPL Governance programGovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw

Every other account is derived from these. The seeds are in Program reference.