OptionsManagerV2

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xdf45a651 at 11822093
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "OptionsManagerV2"

No transactions found for "OptionsManagerV2"


Functions
Getter at block 21161525
calculateCollateralRate(view returns (uint256)
5000
getAllRealBalance(view returns (int256[])
[]
 
getAvailableCollateral(view returns (uint256)
getCollateralPoolAddress(view returns (address)
0xff60d81287bf425f7b2838a61274e926440ddaa6
getFPTCoinAddress(view returns (address)
0x16305b9ec0bdbe32cf8a0b5c142ceb3682db9d2d
getInputAmountRange(view returns (uint256uint256)
(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 (uint256uint256)
(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 spenderview returns (uint256)
calCollateralWorth(address accountview returns (uint256[])
calOptionsOccupied(uint256 strikePriceuint256 underlyingPriceuint256 amountuint8 optTypeview returns (uint256)
checkAddressPermission(address tmpAddressuint256 stateview returns (bool)
checkAllowance(address spenderuint256 amountview returns (bool)
getALLCollateralinfo(address userview returns (uint256[]int256[]uint32[]uint32[])
getCollateralRate(address collateralview returns (uint256)
getNetWorthBalance(address settlementview returns (uint256)
getOptionsPrice(uint256 underlyingPriceuint256 strikePriceuint256 expirationuint32 underlyinguint256 amountuint8 optTypeview returns (uint256)
getRealBalance(address settlementview returns (int256)
getUserPayingUsd(address userview returns (uint256)
getUserTotalWorth(address accountview returns (uint256)
isEligibleAddress(address tmpAddressview returns (bool)
isInputAmountInRange(uint256 Amountview returns (bool)
userInputCollateral(address useraddress collateralview returns (uint256)
State-modifying
addCollateral(address collateraluint256 amountpayable 
addWhiteList(address addAddress
approve(address spenderuint256 amount
buyOption(address settlementuint256 settlementAmountuint256 strikePriceuint32 underlyinguint32 expirationuint256 amountuint8 optTypepayable 
exerciseOption(uint256 optionsIduint256 amount
initialize(
modifyPermission(address addAddressuint256 permission
redeemCollateral(uint256 tokenAmountaddress collateral
removeWhiteList(address removeAddressreturns (bool)
renounceOwnership(
sellOption(uint256 optionsIduint256 amount
setCollateralPoolAddress(address collateralPool
setCollateralRate(address collateraluint256 colRate
setFPTCoinAddress(address FPTCoinAddr
setHalt(bool halt
setInputAmountRange(uint256 _minAmountuint256 _maxAmount
setOptionsPoolAddress(address optionsPool
setOptionsPriceAddress(address optionsPrice
setOracleAddress(address oracle
setPriceRateRange(uint256 _minPriceRateuint256 _maxPriceRate
setValid(bool _bValid
transferOwnership(address newOwner
update(
Events
AddCollateral(address indexed fromaddress indexed collateraluint256 amountuint256 tokenAmount
BuyOption(address indexed fromaddress indexed settlementuint256 optionPriceuint256 settlementAmountuint256 optionAmount
DebugEvent(uint256 iduint256 value1uint256 value2
ExerciseOption(address indexed fromuint256 indexed optionIduint256 amountuint256 sellValue
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RedeemCollateral(address indexed fromaddress collateraluint256 allRedeem
SellOption(address indexed fromuint256 indexed optionIduint256 amountuint256 sellValue
Constructor
constructor(address oracleAddraddress optionsPriceAddraddress optionsPoolAddraddress collateralPoolAddraddress FPTCoinAddr
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.