Opyn YFI Put $25000 10/02/20

Verified contract

Active on Ethereum with 137 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
-
variable spans 1 additional slot
-
variable spans 1 additional slot
-
variable spans 1 additional slot
-
variable spans 1 additional slot
1 additional variable
ERC-20
Value $901.26
0x8902c4e35118979aacaca54fb215447fa7ee917371ccbdef4d1191ded814d6e9
0x3bdd5cd2dafb0542f7ce5f84185b6e70a80469c0df01aee6d709efa1cd711cc3
0x1e3025422f73d0621a628003e3a068c020a04e48d58e1512f4ca6f13c62c3811
0xd4c9ca91946fc0b1c60d417e5d3db9ea998a106b8f9378a3e1fdf8d5ede631e8
0x171aff16c2c48fa899449a4229779ea4b992f49eeea72f7a9c5d6dc34b7f6a82
0xc78d4cd28261e912fa6717fbeac3d41393e28094b8861afb7ada5ceec01a52d9
0xbcea2632053773e315da3ae74db131851cf7ff5674a43f639417ecc0f6a5d996
0x862ca6d11d41aec53f9c880269f40b26537f6a768ca97e1338cc4b1ef5616a78
0xa1a28c6dc811f9ba7d11e21e74c56e5a61c1cc7bdc4d6ca6f5f19765b9b90135
0x75f710b534d6d081e2cffac7e01cf3c71e5c4d5e595cf1c5ea14bd019f1162da

Functions
Getter at block 21294072
COMPOUND_ORACLE(view returns (address)
0x7054e08461e3ecb7718b63540addb3c3a1746415
collateral(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
collateralExp(view returns (int32)
-6
decimals(view returns (uint8)
7
expiry(view returns (uint256)
1601625600
 
getVaultOwners(view returns (address[])
hasExpired(view returns (bool)
true
isExerciseWindow(view returns (bool)
false
isOwner(view returns (bool)
false
liquidationFactor(view returns (uint256 valueint32 exponent)
(value=0, exponent=-3)
liquidationIncentive(view returns (uint256 valueint32 exponent)
(value=0, exponent=-3)
minCollateralizationRatio(view returns (uint256 valueint32 exponent)
(value=10, exponent=-1)
name(view returns (string)
Opyn YFI Put $25000 10/02/20
oTokenExchangeRate(view returns (uint256 valueint32 exponent)
(value=1, exponent=-7)
optionsExchange(view returns (address)
0x39246c4f3f6592c974ebc44f80ba6dc69b817c71
owner(view returns (address)
0x87887cf0e37d937f989ab76b99e4f4682da044c4
strike(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
strikePrice(view returns (uint256 valueint32 exponent)
(value=25, exponent=-4)
symbol(view returns (string)
oYFI $25000 Put 10/02/20
totalSupply(view returns (uint256)
13060673
transactionFee(view returns (uint256 valueint32 exponent)
(value=0, exponent=-3)
underlying(view returns (address)
0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e
underlyingExp(view returns (int32)
-18
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getVault(address vaultOwnerview returns (uint256uint256uint256bool)
hasVault(address ownerview returns (bool)
isETH(address _ierc20pure returns (bool)
isUnsafe(address vaultOwnerview returns (bool)
maxOTokensIssuable(uint256 collateralAmtview returns (uint256)
maxOTokensLiquidatable(address vaultOwnerview returns (uint256)
underlyingRequiredToExercise(uint256 oTokensToExerciseview returns (uint256)
State-modifying
addAndSellERC20CollateralOption(uint256 amtToCreateuint256 amtCollateraladdress receiver
addAndSellETHCollateralOption(uint256 amtToCreateaddress receiverpayable 
addERC20Collateral(address vaultOwneruint256 amtreturns (uint256)
addERC20CollateralOption(uint256 amtToCreateuint256 amtCollateraladdress receiver
addETHCollateral(address vaultOwnerpayable returns (uint256)
addETHCollateralOption(uint256 amtToCreateaddress receiverpayable 
approve(address spenderuint256 amountreturns (bool)
burnOTokens(uint256 amtToBurn
createAndSellERC20CollateralOption(uint256 amtToCreateuint256 amtCollateraladdress receiver
createAndSellETHCollateralOption(uint256 amtToCreateaddress receiverpayable 
createERC20CollateralOption(uint256 amtToCreateuint256 amtCollateraladdress receiver
createETHCollateralOption(uint256 amtToCreateaddress receiverpayable 
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
exercise(uint256 oTokensToExerciseaddress[] vaultsToExerciseFrompayable 
increaseAllowance(address spenderuint256 addedValuereturns (bool)
issueOTokens(uint256 oTokensToIssueaddress receiver
liquidate(address vaultOwneruint256 oTokensToLiquidate
openVault(returns (bool)
redeemVaultBalance(
removeCollateral(uint256 amtToRemove
removeUnderlying(
renounceOwnership(
setDetails(string _namestring _symbol
transfer(address recipientuint256 amountreturns (bool)
transferFee(address _address
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
transferOwnership(address newOwner
updateParameters(uint256 _liquidationIncentiveuint256 _liquidationFactoruint256 _transactionFeeuint256 _minCollateralizationRatio
Events
Approval(address indexed owneraddress indexed spenderuint256 value
BurnOTokens(address vaultOwneruint256 oTokensBurned
ERC20CollateralAdded(address vaultOwneruint256 amountaddress payer
ETHCollateralAdded(address vaultOwneruint256 amountaddress payer
Exercise(uint256 amtUnderlyingToPayuint256 amtCollateralToPayaddress exerciseraddress vaultExercisedFrom
IssuedOTokens(address issuedTouint256 oTokensIssuedaddress vaultOwner
Liquidate(uint256 amtCollateralToPayaddress vaultOwneraddress liquidator
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RedeemVaultBalance(uint256 amtCollateralRedeemeduint256 amtUnderlyingRedeemedaddress vaultOwner
RemoveCollateral(uint256 amtRemovedaddress vaultOwner
RemoveUnderlying(uint256 amountUnderlyingaddress vaultOwner
Transfer(address indexed fromaddress indexed touint256 value
TransferFee(address touint256 fees
UpdateParameters(uint256 liquidationIncentiveuint256 liquidationFactoruint256 transactionFeeuint256 minCollateralizationRatioaddress owner
VaultOpened(address vaultOwner
Constructor
constructor(address _collateralint32 _collExpaddress _underlyingint32 _underlyingExpint32 _oTokenExchangeExpuint256 _strikePriceint32 _strikeExpaddress _strikeuint256 _expiryaddress _optionsExchangeaddress _oracleAddressuint256 _windowSize
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.