OptionMarket

Verified contract

Implementation

Active on Ethereum with 1 txns
Deployed by via 0x52f65433 at 11660225
Slot
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

No balances found for "OptionMarket"

0x28c89b258c9ae441deeb84df17783a7fd71519928fdcb9a7cc40ba91f907b3f2

Functions
Getter at block 21163447
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
 
getCurrentCost(view returns (uint256)
 
getCurrentPayoff(view returns (uint256)
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 owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getTotalSupplies(address[] optionTokensview returns (uint256[] totalSupplies)
longTokens(uint256view returns (address)
shortTokens(uint256view returns (address)
strikePrices(uint256view returns (uint256)
State-modifying
approve(address spenderuint256 amountreturns (bool)
buy(bool isLongTokenuint256 strikeIndexuint256 optionsOutuint256 maxAmountInpayable returns (uint256 amountIn)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(uint256 sharesOutuint256 maxAmountInpayable returns (uint256 amountIn)
disputeExpiryPrice(uint256 _expiryPrice
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address _baseTokenaddress _oracleaddress[] _longTokensaddress[] _shortTokensuint256[] _strikePricesuint256 _expiryTimebool _isPutuint256 _tradingFeeuint256 _balanceCapuint256 _disputePeriodstring _symbolpayable 
pause(
renounceOwnership(
sell(bool isLongTokenuint256 strikeIndexuint256 optionsInuint256 minAmountOutreturns (uint256 amountOut)
setBalanceCap(uint256 _balanceCap
setDisputePeriod(uint256 _disputePeriod
setExpiryTime(uint256 _expiryTime
setOracle(address _oracle
settle(
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
transferOwnership(address newOwner
unpause(
withdraw(uint256 sharesInuint256 minAmountOutreturns (uint256 amountOut)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Buy(address indexed accountbool isLongTokenuint256 strikeIndexuint256 optionsOutuint256 amountInuint256 newSupply
Deposit(address indexed accountuint256 sharesOutuint256 amountInuint256 newB
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Sell(address indexed accountbool isLongTokenuint256 strikeIndexuint256 optionsInuint256 amountOutuint256 newSupplybool isSettled
Settle(uint256 expiryPrice
Transfer(address indexed fromaddress indexed touint256 value
Withdraw(address indexed accountuint256 sharesInuint256 amountOutuint256 newBbool isSettled
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.