OptionMarket
Verified contract
Implementation
Active on
Ethereum with 1 txns
Storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 43 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
7 additional
variables
Balances ($0.00)
No balances found for "OptionMarket"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11660241 | 4 years ago | | | 0 | 0.018737850 |
ABI
ABI objects
Getter at block 21163447 getCurrentCost() view returns (uint256) getCurrentPayoff() view returns (uint256)
SCALE() view returns (uint256)
1000000000000000000
SCALE_SCALE() view returns (uint256)
1000000000000000000000000000000000000
balanceCap() view returns (uint256)
0
baseToken() view returns (address)
0x0000000000000000000000000000000000000000
decimals() view returns (uint8)
18
disputePeriod() view returns (uint256)
0
expiryPrice() view returns (uint256)
0
expiryTime() view returns (uint256)
2000000000
isDisputePeriod() view returns (bool)
false
isExpired() view returns (bool)
false
isPaused() view returns (bool)
false
isPut() view returns (bool)
false
isSettled() view returns (bool)
false
lastCost() view returns (uint256)
0
lastPayoff() view returns (uint256)
0
name() view returns (string)
numStrikes() view returns (uint256)
1
oracle() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x9f2aa07f5d8f63fbdcf2f20bc0dd462816c337db
poolValue() view returns (uint256)
0
symbol() view returns (string)
totalSupply() view returns (uint256)
0
tradingFee() view returns (uint256)
0
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
getTotalSupplies(address[] optionTokens) view returns (uint256[] totalSupplies)
longTokens(uint256) view returns (address)
shortTokens(uint256) view returns (address)
strikePrices(uint256) view returns (uint256)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
buy(bool isLongToken, uint256 strikeIndex, uint256 optionsOut, uint256 maxAmountIn) payable returns (uint256 amountIn)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
deposit(uint256 sharesOut, uint256 maxAmountIn) payable returns (uint256 amountIn)
disputeExpiryPrice(uint256 _expiryPrice)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initialize(address _baseToken, address _oracle, address[] _longTokens, address[] _shortTokens, uint256[] _strikePrices, uint256 _expiryTime, bool _isPut, uint256 _tradingFee, uint256 _balanceCap, uint256 _disputePeriod, string _symbol) payable
pause()
renounceOwnership()
sell(bool isLongToken, uint256 strikeIndex, uint256 optionsIn, uint256 minAmountOut) returns (uint256 amountOut)
setBalanceCap(uint256 _balanceCap)
setDisputePeriod(uint256 _disputePeriod)
setExpiryTime(uint256 _expiryTime)
setOracle(address _oracle)
settle()
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address sender, address recipient, uint256 amount) returns (bool)
transferOwnership(address newOwner)
unpause()
withdraw(uint256 sharesIn, uint256 minAmountOut) returns (uint256 amountOut)
Approval(address indexed owner, address indexed spender, uint256 value)
Buy(address indexed account, bool isLongToken, uint256 strikeIndex, uint256 optionsOut, uint256 amountIn, uint256 newSupply)
Deposit(address indexed account, uint256 sharesOut, uint256 amountIn, uint256 newB)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Sell(address indexed account, bool isLongToken, uint256 strikeIndex, uint256 optionsIn, uint256 amountOut, uint256 newSupply, bool isSettled)
Settle(uint256 expiryPrice)
Transfer(address indexed from, address indexed to, uint256 value)
Withdraw(address indexed account, uint256 sharesIn, uint256 amountOut, uint256 newB, bool isSettled)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.