Skip to Content
Scalar

Contract addresses

Contracts, settlers and products on Base Sepolia.

Scalar runs on Base Sepolia (chain ID 84532). Mainnet addresses will be listed here at launch. Every address links to Basescan, where you can read the contract and call it from your wallet.

Protocol

The Scalar protocol contract holds every balance and position. It is also the EIP-712 verifying contract for orders and withdrawals, with the domain name ScalarProtocol and version 1.

Settlers

Products

A product address is the product_ptr in the API. The first 20 bytes of every instrument of that product are this address.

ProductAddressCycleMarkets per cycle
AboveBelow-BTC-5m0xa1e37814cd0f3fecd952248530f10153163992a15 minutes1
AboveBelow-BTC-Hourly0x5a46904b8b0764101bb0cb51860fb0eac90cf45e1 hour1
Spread-BTC-5m0x5d637ff2bf6397a40bd103ba2daf2e301537bc595 minutes1
Spread-BTC-Hourly0x0a826ee2084fc2c7fb8a5bcd25a7926e8e1d8e271 hour1
OneTouch-BTC-Hourly0xe41971a255e9cf0643dcb3286dc7cf46d34d6b951 hour2 (up, down)
RangeAccrual-BTC-Hourly0x6fb70f36cbf6bc54357077c602fc8a38e0cb91921 hour1
Knockout-BTC-Hourly0xab575714e0177002579b3bfa929aea36038e6bca1 hour2 (up, down)

All products use the Pyth Lazer feed 1, BTC/USD. The live list is always at GET /products.

Protocol settings

SettingValue on testnetRead it with
Payout per contract$10getSinglePositionPayout()
Price tick in the contract$0.001getTickDenominator()
Challenge window1 hourgetChallengePeriod()
Buffer after a proof1 minutegetExecutorBuffer()
Maximum trading fee5% of notionalgetMaxTradeFeeDivisor() (20)
Settlement fee$0 per contractgetSettlementFee()
Withdrawal fee$0getWithdrawalFee()
Escape-hatch delay24 hoursSee Withdraw without Scalar

The contract accepts prices in steps of $0.001. The matching engine accepts prices in steps of $0.01.

On this page