Options

Verified contract

Active on Base with 503 txns
Deployed by via 0x64eed50d at 9483059
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1.6
0x0b1f4e7b1f27321d88fe19230f4568ee1000d65d758db70d45d20ee19080ed8e
0x10bc441f05894a3c56a3e295299e83b403fe58d9dfcc04b0360d192bb202c37e
0x4bbf30a04e601aa53ca1d95b899c30a18568240e351f8ebfcc2c62e7bd2085f6
0xbcc87b14535e7b501ad36aecbf73e2148b9b7cea8e79e00ef3d064bd99740635
0x81df63f5886813f62ff900e1649a9c213133c86edf3ba0035f7d70e19fff1354
0x797a1306836abd795165b09b26335b16788225b4c8c2daf4230a10c798447e30
0xc5db77eef763b71994abc85033a36f0c29873efd84cc94f896e4ba5f226a42f2
0xf923e465676f75606290589ea8448c7371929f9a92b924287809203952336937
0x00ced296b7a0a2c22eaab30c33183b5e909af59133b0522c4f142945f58c5de2
0x321b6d8cea56b3b09baa077b9509bdfa3bb70aded8fe97703984169fa9c23625

Functions
Getter at block 22750474
BPS_DIVIDER(view returns (uint256)
10000
Store(view returns (address)
0xb489014622e0d0bbc543881156fddab314dffa1e
UNIT(view returns (uint256)
1000000000000000000
baseSettlementFeePercentageForAbove(view returns (uint256)
5000
baseSettlementFeePercentageForBelow(view returns (uint256)
5000
collateriaztionRatio(view returns (uint256)
100
expMultiplier(view returns (uint256)
100000000
fee(view returns (uint256)
80
fundingTracker(view returns (int256)
0
getAllOrders(view returns (struct DataStoreOptionData[] _orders)
[]
gov(view returns (address)
0x8ef4cdb1b329307b61ac09213c358c198ce4f264
iv(view returns (uint256)
0
maxPeriod(view returns (uint32)
86400
minPeriod(view returns (uint32)
60
owner(view returns (address)
0x8ef4cdb1b329307b61ac09213c358c198ce4f264
payoutBP(view returns (uint256)
8000
pyth(view returns (address)
0x8250f4af4b972684f7b336503e2d6dfedeb1487a
router(view returns (address)
0x8d4196e40ea7023b111231080dc1d27efcd4dcff
size(view returns (uint256)
10000
stepSize(view returns (uint256)
25
treasury(view returns (address)
0x4ba5252b0ec802ccae6075a327375d7e9f58d614
utilizationMultiplier(view returns (uint256)
100
Read-only
_getPythPrice(bytes32 priceFeedIdview returns (uint256uint256)
checkExpiry(uint256 idview returns (bool)
currencyData(address tokenview returns (struct DataStoreCurrenciesData currencies)
evaluatePayout(uint256 marginview returns (uint256 payout)
evaluateProfit(uint256 idview returns (uint256 profitbool isNegative)
getExpiredOptions(uint256[] orderIdsview returns (uint256[] isExpired)
getMarket(uint256 idview returns (struct DataStoreMarketData market)
getMinMargin(address tokenview returns (uint256)
getOILong(uint256 marketIdaddress currencyview returns (uint256)
getOIShort(uint256 marketIdaddress currencyview returns (uint256)
getOrder(uint256 idview returns (struct DataStoreOptionData _orders)
getPythPrice(uint256 marketIdview returns (uint256)
getUserOrdersFromStore(address userview returns (struct DataStoreOptionData[] _users)
getUtilization(address tokenview returns (uint256)
State-modifying
CreateOption(struct DataStoreOptionData optionsDatabytes[] priceUpdateDatapayable 
configure(uint256 _baseSettlementFeePercentageForAboveuint256 _baseSettlementFeePercentageForBelowuint256 _exp
exerciseOption(uint256 idbytes[] priceUpdateDatapayable 
link(address _store
renounceOwnership(
setIV(uint256 _iv
setKeeper(address _g
setMaxPeriod(uint32 _maxPeriod
setMinPeriod(uint32 _minPeriod
setPayout(uint256 x
setPrices(address senderbytes[] priceUpdateDatapayable 
setRouter(address _router
setSize(uint256 x
setTreasury(address _treasury
transferOwnership(address newOwner
updateOption(uint256[] orderIdsbytes[] priceUpdateDatapayable 
Events
ClosePosition(uint256 orderIdaddress useruint256 entryuint256 exitaddress currencyuint256 marketIdbool isLonguint256 marginbool isActiveuint256 earning
FeeGenerated(address indexed useruint256 amountaddress indexed currencyuint256 timestamp
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PositionCreated(uint256 orderIdaddress indexed useraddress indexed currencyuint256 marketIduint256 entryuint256 expiryuint256 durationuint256 timestampbool isLonguint256 orderTypeuint256 marginbool isActive
Constructor
constructor(address pythContract
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.