OptionsManagerV2
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xa072…ce58
0x940b…71f2
0x3ff5…a5d6
0x2008…0f2c
0x03bf…f8f2
Balances ($0.00)
No balances found for "OptionsManagerV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "OptionsManagerV2"
ABI
ABI objects
Getter at block 20848806 getAvailableCollateral() view returns (uint256)
calculateCollateralRate() view returns (uint256)
5000
getCollateralPoolAddress() view returns (address)
0x20081862b301c1ef9357bc0a125aa414db210f2c
getFPTCoinAddress() view returns (address)
0xa072ea1a2a75047908e68e0b1a2bac3a7190ce58
getInputAmountRange() view returns (uint256, uint256)
(100, 1000000000000000000000000000000)
getLeftCollateral() view returns (uint256)
0
getOccupiedCollateral() view returns (uint256)
0
getOptionsPoolAddress() view returns (address)
0x3ff5c61fde87589529e54c57397f816c7f10a5d6
getOptionsPriceAddress() view returns (address)
0x03bf758a70c0f1d7515eae6962fbf990ce76f8f2
getOracleAddress() view returns (address)
0x940b491905529542ba3b56244a06b1ebe11e71f2
getPriceRateRange() view returns (uint256, uint256)
(500, 1500)
getTokenNetworth() view returns (uint256)
100
getTotalCollateral() view returns (uint256)
0
getUnlockedCollateral() view returns (uint256)
0
getWhiteList() view returns (address[])
[]
isOwner() view returns (bool)
false
owner() view returns (address)
0x5f9a3cf37693ff4960d04e5b2ec29502430d4de5
Read-only
allowance(address spender) view returns (uint256)
calCollateralWorth(address account) view returns (uint256[])
calOptionsOccupied(uint256 strikePrice, uint256 underlyingPrice, uint256 amount, uint8 optType) view returns (uint256)
checkAddressPermission(address tmpAddress, uint256 state) view returns (bool)
checkAllowance(address spender, uint256 amount) view returns (bool)
getCollateralRate(address collateral) view returns (uint256)
getNetWorthBalance(address settlement) view returns (uint256)
getOptionsPrice(uint256 underlyingPrice, uint256 strikePrice, uint256 expiration, uint32 underlying, uint256 amount, uint8 optType) view returns (uint256)
getRealBalance(address settlement) view returns (int256)
getUserPayingUsd(address user) view returns (uint256)
getUserTotalWorth(address account) view returns (uint256)
isEligibleAddress(address tmpAddress) view returns (bool)
isInputAmountInRange(uint256 Amount) view returns (bool)
userInputCollateral(address user, address collateral) view returns (uint256)
State-modifying
Events addCollateral(address collateral, uint256 amount) payable
addWhiteList(address addAddress)
approve(address spender, uint256 amount)
buyOption(address settlement, uint256 settlementAmount, uint256 strikePrice, uint32 underlying, uint256 expiration, uint256 amount, uint8 optType) payable
exerciseOption(uint256 optionsId, uint256 amount)
initialize()
modifyPermission(address addAddress, uint256 permission)
redeemCollateral(uint256 tokenAmount, address collateral)
removeWhiteList(address removeAddress) returns (bool)
renounceOwnership()
sellOption(uint256 optionsId, uint256 amount)
setCollateralPoolAddress(address collateralPool)
setCollateralRate(address collateral, uint256 colRate)
setFPTCoinAddress(address FPTCoinAddr)
setHalt(bool halt)
setInputAmountRange(uint256 _minAmount, uint256 _maxAmount)
setOptionsPoolAddress(address optionsPool)
setOptionsPriceAddress(address optionsPrice)
setOracleAddress(address oracle)
setPriceRateRange(uint256 _minPriceRate, uint256 _maxPriceRate)
setValid(bool _bValid)
transferOwnership(address newOwner)
update()
AddCollateral(address indexed from, address indexed collateral, uint256 amount, uint256 tokenAmount)
BuyOption(address indexed from, address indexed settlement, uint256 indexed optionId, uint256 optionPrice, uint256 settlementAmount, uint256 optionAmount)
ExerciseOption(address indexed from, uint256 indexed optionId, uint256 amount, uint256 sellValue)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RedeemCollateral(address indexed from, address collateral, uint256 allRedeem)
SellOption(address indexed from, uint256 indexed optionId, uint256 amount, uint256 sellValue)
constructor(address oracleAddr, address optionsPriceAddr, address optionsPoolAddr, address collateralPoolAddr, address FPTCoinAddr)
This contract contains no fallback and receive objects.
This contract contains no error objects.