OptionsManagerV2

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x7cebb238 at 10961544
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 20850064
calculateCollateralRate(view returns (uint256)
5000
 
getAvailableCollateral(view returns (uint256)
getCollateralPoolAddress(view returns (address)
0x20081862b301c1ef9357bc0a125aa414db210f2c
getFPTCoinAddress(view returns (address)
0xa072ea1a2a75047908e68e0b1a2bac3a7190ce58
getInputAmountRange(view returns (uint256uint256)
(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 (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)
0x5f9a3cf37693ff4960d04e5b2ec29502430d4de5
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)
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 underlyinguint256 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 indexed optionIduint256 optionPriceuint256 settlementAmountuint256 optionAmount
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.