Opyn DPI Call $400 09/03/21

Verified contract

Active on Ethereum with 17 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 $50.76
0x31d50492a1c1b9c12f05cf119406611a2c96ce51127d068426bd155ff80894a6
0xff149972e4fd8c12f9a9b4be649f72e9a75c741cecf0ff68f02aad5acc31e2de
0xb479b4bb64e168a47fb01d7494f24ada9577eac23d0d12aa29a487465e311b2c
0xcb5c77d1ba51461365363d4b38775a833afc263beaa661c607e4f40c0b8440e6
0x7f0744f4b2f7d4613760c5de06bd21d66dc06db49148aca4e99785b469972b02
0x0945c03832dc62883e979a77d50fcb7ba37905df3a1b00f70920326dbc68d4cf
0xaa87e58a2788a9aa9ded89cd0e9a3c19c5edf835aba2b3e8d69386db3a294944
0xab60ddb967575de753d26f929ac71d2cead61842592c21ceb362f3d5ca2f58a6
0x0fc3a47518687974fefdcf1b674056fe30da398f112705046fbfd056c055f389
0xc2e5e27ea4d1be914910c52a1efdbfaaf01ccb35f868a708c7067704d6e40f38

Functions
Getter at block 21177549
COMPOUND_ORACLE(view returns (address)
0x7054e08461e3ecb7718b63540addb3c3a1746415
collateral(view returns (address)
0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b
collateralExp(view returns (int32)
-18
decimals(view returns (uint8)
6
expiry(view returns (uint256)
1630656000
 
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 DPI Call $400 09/03/21
oTokenExchangeRate(view returns (uint256 valueint32 exponent)
(value=1, exponent=-6)
optionsExchange(view returns (address)
0x39246c4f3f6592c974ebc44f80ba6dc69b817c71
owner(view returns (address)
0x87887cf0e37d937f989ab76b99e4f4682da044c4
strike(view returns (address)
0x1494ca1f11d487c2bbe4543e90080aeba4ba3c2b
strikePrice(view returns (uint256 valueint32 exponent)
(value=250, exponent=-11)
symbol(view returns (string)
oDPIc $400 09/03/21
totalSupply(view returns (uint256)
102836649373
transactionFee(view returns (uint256 valueint32 exponent)
(value=0, exponent=-3)
underlying(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
underlyingExp(view returns (int32)
-6
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.