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
0x1630…9d2d
0x43bd…41f3
0xe12a…d925
0xff60…daa6
0x5e51…c272
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 21161525 getAvailableCollateral() view returns (uint256)
calculateCollateralRate() view returns (uint256)
5000
getAllRealBalance() view returns (int256[])
[]
getCollateralPoolAddress() view returns (address)
0xff60d81287bf425f7b2838a61274e926440ddaa6
getFPTCoinAddress() view returns (address)
0x16305b9ec0bdbe32cf8a0b5c142ceb3682db9d2d
getInputAmountRange() view returns (uint256, uint256)
(100, 1000000000000000000000000000000)
getLeftCollateral() view returns (uint256)
0
getOccupiedCollateral() view returns (uint256)
0
getOptionsPoolAddress() view returns (address)
0xe12a03aea96dc56fb8007ec54fcfbdd61965d925
getOptionsPriceAddress() view returns (address)
0x5e5114738ff0e6a36c289ecddd46c1975cefc272
getOracleAddress() view returns (address)
0x43bd92bf3bb25ebb3bdc2524cbd6156e3fdd41f3
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)
0x2e4559887ab2dc860ac1ca55387a83fa60ee26c8
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)
getALLCollateralinfo(address user) view returns (uint256[], int256[], uint32[], uint32[])
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, uint32 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 optionPrice, uint256 settlementAmount, uint256 optionAmount)
DebugEvent(uint256 id, uint256 value1, uint256 value2)
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.