OptionsPool
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x3660…0124
0x21d4…e26c
0x5e51…c272
Balances ($0.00)
No balances found for "OptionsPool"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "OptionsPool"
ABI
ABI objects
Getter at block 21201598
getAllTotalOccupiedCollateral() view returns (uint256, uint256)
(0, 0)
getCallTotalOccupiedCollateral() view returns (uint256)
0
getExpirationList() view returns (uint32[])
[86400, 172800, 259200, 604800, 864000, 1296000, 1728000, 2592000]
getInputAmountRange() view returns (uint256, uint256)
(100, 1000000000000000000000000000000)
getManager() view returns (address)
0x0000000000000000000000000000000000000000
getOccupiedCalInfo() view returns (uint256, int256, int256)
(0, 0, 0)
getOperator() view returns (address[])
[]
getOptionInfoLength() view returns (uint256)
0
getOptionsPriceAddress() view returns (address)
0x5e5114738ff0e6a36c289ecddd46c1975cefc272
getOracleAddress() view returns (address)
0x366080a2605d37d91b69f9ac08d0434142fa0124
getPutTotalOccupiedCollateral() view returns (uint256)
0
getTimeLimitation() view returns (uint256)
3600
getTotalOccupiedCollateral() view returns (uint256)
0
getUnderlyingAssets() view returns (uint32[])
[1, 2]
getVolatilityAddress() view returns (address)
0x21d40f44d3c93ba4f0d94fa212a666fec381e26c
isOwner() view returns (bool)
false
owner() view returns (address)
0x2e4559887ab2dc860ac1ca55387a83fa60ee26c8
Read-only
calRangeSharedPayment(uint256 lastOption, uint256 begin, uint256 end, address[] whiteList) view returns (int256[], uint256[], uint256)
calculatePhaseOccupiedCollateral(uint256 lastOption, uint256 beginOption, uint256 endOption) view returns (uint256, uint256, uint256, bool)
calculatePhaseOptionsFall(uint256 lastOption, uint256 begin, uint256 end, address[] whiteList) view returns (int256[])
getBurnedFullPay(uint256 optionID, uint256 amount) view returns (address, uint256)
getExerciseWorth(uint256 optionsId, uint256 amount) view returns (uint256)
getNetWrothCalInfo(address[] whiteList) view returns (uint256, int256[])
getNetWrothLatestWorth(address settlement) view returns (int256)
getOptionCalRangeAll(address[] whiteList) view returns (uint256, int256, int256, uint256, int256[], uint256, uint256)
getOptionInfoList(uint256 from, uint256 size) view returns (address[], uint256[], uint256[], uint256[], uint256[])
getOptionInfoListFromID(uint64[] ids) view returns (address[], uint256[], uint256[], uint256[], uint256[])
getOptionsById(uint256 optionsId) view returns (uint256, address, uint8, uint32, uint256, uint256, uint256)
getOptionsExtraById(uint256 optionsId) view returns (address, uint256, uint256, uint256, uint256)
getOptionsLimitTimeById(uint256 optionsId) view returns (uint256)
getUserAllOptionInfo(address user) view returns (address[], uint256[], uint256[], uint256[], uint256[])
getUserOptionsID(address user) view returns (uint64[])
getUserOptionsID(address user, uint256 from, uint256 size) view returns (uint64[])
isEligibleExpiration(uint32 expiration) view returns (bool)
isEligibleUnderlyingAsset(uint32 underlying) view returns (bool)
isInputAmountInRange(uint256 Amount) view returns (bool)
State-modifying
Events addExpiration(uint32 expiration)
addOperator(address addAddress)
addUnderlyingAsset(uint32 underlying)
burnOptions(address from, uint256 id, uint256 amount, uint256 optionPrice)
createOptions(address from, address settlement, uint256 type_ly_expiration, uint128 strikePrice, uint128 underlyingPrice, uint128 amount, uint128 settlePrice) returns (uint256)
initialize()
removeExpirationList(uint32 removeExpiration) returns (bool)
removeOperator(address removeAddress) returns (bool)
removeUnderlyingAssets(uint32 removeUnderlying) returns (bool)
renounceOwnership()
setCollateralPhase(uint256 totalCallOccupied, uint256 totalPutOccupied, uint256 beginOption, int256 latestCallOccpied, int256 latestPutOccpied)
setInputAmountRange(uint256 _minAmount, uint256 _maxAmount)
setManager(address managerAddress)
setOccupiedCollateral()
setOperator(uint256 index, address addAddress)
setOperators(address[] operators)
setOptionsPriceAddress(address optionsPrice)
setOracleAddress(address oracle)
setSharedState(uint256 newFirstOption, int256[] latestNetWorth, address[] whiteList)
setTimeLimitation(uint256 _limit)
setUnderlyingAsset(uint32[] underlyings)
setVolatilityAddress(address volatility)
transferOwnership(address newOwner)
update()
BurnOption(address indexed owner, uint256 indexed optionID, uint256 amount)
CreateOption(address indexed owner, uint256 indexed optionID, uint8 optType, uint32 underlying, uint256 expiration, uint256 strikePrice, uint256 amount)
DebugEvent(uint256 id, uint256 value1, uint256 value2)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address oracleAddr, address optionsPriceAddr, address ivAddress)
This contract contains no fallback and receive objects.
This contract contains no error objects.