PremiaOption
Verified contract
Active on
Ethereum with 893 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xafcf…a6da
0x602b…a6ad
Balances ($8,330.21)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 3.02 | $2,380.38 |
$7,188.75 | |
UNI | ERC-20 | 53.5 | $8.11 |
$433.89 | |
BADGER | ERC-20 | 108.333 | $2.62 |
$283.83 | |
SUSHI | ERC-20 | 265 | $0.772617 |
$204.74 | |
PREMIA | ERC-20 | 1.012K | $0.116197 |
$117.59 | |
DAI | ERC-20 | 100 | $1.00 |
$100 | |
ALCX | ERC-20 | 0.1 | $14.14 |
$1.41 | |
uPremia | ERC-20 | 9.9 | -- | -- | |
FOL | ERC-20 | 3 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17857868 | a year ago | | | 0 | 0.00040184393 | |
| 16476134 | 2 years ago | | | 0 | 0.00037019187 | |
| 16220829 | 2 years ago | | | 0 | 0.00036837791 | |
| 14625286 | 2 years ago | | | 0 | 0.0013828784 | |
| 14243976 | 3 years ago | | | 0 | 0.0011477436 | |
| 14243958 | 3 years ago | | | 0 | 0.0015544407 | |
| 14240317 | 3 years ago | | | 0 | 0.0025994418 | |
| 14240273 | 3 years ago | | | 0 | 0.0022958815 | |
| 13977498 | 3 years ago | | | 0 | 0.014433475 | |
| 13057843 | 3 years ago | | | 0 | 0.015801539 |
ABI
ABI objects
Getter at block 20938518
denominator() view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
denominatorDecimals() view returns (uint8)
18
feeCalculator() view returns (address)
0x602b50091b0b351ca179e87ad6e006aeceb2a6ad
feeRecipient() view returns (address)
0x35b0a9fa6deb2fd06d07f976b57164b082c2d8d4
maxExpiration() view returns (uint256)
31536000
nextOptionId() view returns (uint256)
368
owner() view returns (address)
0xc22fae86443aeed038a4ed887bba8f5035fd12f0
premiaReferral() view returns (address)
0xafcf4ca5826ed76189ea227bd863916abf43a6da
tokensLength() view returns (uint256)
17
uPremia() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
balanceOf(address account, uint256 id) view returns (uint256)
balanceOfBatch(address[] accounts, uint256[] ids) view returns (uint256[])
getExerciseQuote(address _from, struct PremiaOptionOptionData _option, uint256 _amount, address _referrer, uint8 _decimals) view returns (struct PremiaOptionQuoteExercise)
getOptionId(address _token, uint256 _expiration, uint256 _strikePrice, bool _isCall) view returns (uint256)
getWriteQuote(address _from, struct PremiaOptionOptionWriteArgs _option, address _referrer, uint8 _decimals) view returns (struct PremiaOptionQuoteWrite)
isApprovedForAll(address account, address operator) view returns (bool)
nbWritten(address, uint256) view returns (uint256)
optionData(uint256) view returns (address token, uint256 strikePrice, uint256 expiration, bool isCall, uint256 claimsPreExp, uint256 claimsPostExp, uint256 exercised, uint256 supply, uint8 decimals)
options(address, uint256, uint256, bool) view returns (uint256)
pools(uint256) view returns (uint256 tokenAmount, uint256 denominatorAmount)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenStrikeIncrement(address) view returns (uint256)
tokens(uint256) view returns (address)
uri(uint256) view returns (string)
whitelistedUniswapRouters(uint256) view returns (address)
State-modifying
Events cancelOption(uint256 _optionId, uint256 _amount)
cancelOptionFrom(address _from, uint256 _optionId, uint256 _amount)
exerciseOption(uint256 _optionId, uint256 _amount, address _referrer)
exerciseOptionFrom(address _from, uint256 _optionId, uint256 _amount, address _referrer)
flashExerciseOption(uint256 _optionId, uint256 _amount, address _referrer, address _router, uint256 _amountInMax, address[] _path)
flashExerciseOptionFrom(address _from, uint256 _optionId, uint256 _amount, address _referrer, address _router, uint256 _amountInMax, address[] _path)
flashLoan(address _tokenAddress, uint256 _amount, address _receiver)
getOptionIdOrCreate(address _token, uint256 _expiration, uint256 _strikePrice, bool _isCall) returns (uint256)
renounceOwnership()
safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data)
safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data)
setApprovalForAll(address operator, bool approved)
setFeeCalculator(address _feeCalculator)
setFeeRecipient(address _feeRecipient)
setMaxExpiration(uint256 _max)
setPremiaReferral(address _premiaReferral)
setPremiaUncutErc20(address _uPremia)
setTokens(address[] _tokens, uint256[] _strikePriceIncrement)
setURI(string _newUri)
setWhitelistedUniswapRouters(address[] _addrList)
transferOwnership(address newOwner)
withdraw(uint256 _optionId)
withdrawFrom(address _from, uint256 _optionId)
withdrawPreExpiration(uint256 _optionId, uint256 _amount)
withdrawPreExpirationFrom(address _from, uint256 _optionId, uint256 _amount)
writeOption(struct PremiaOptionOptionWriteArgs _option, address _referrer) returns (uint256)
writeOptionFrom(address _from, struct PremiaOptionOptionWriteArgs _option, address _referrer) returns (uint256)
writeOptionWithIdFrom(address _from, uint256 _optionId, uint256 _amount, address _referrer) returns (uint256)
ApprovalForAll(address indexed account, address indexed operator, bool approved)
FeePaid(address indexed user, address indexed token, address indexed referrer, uint256 feeProtocol, uint256 feeReferrer)
OptionCancelled(address indexed owner, uint256 indexed optionId, address indexed token, uint256 amount)
OptionExercised(address indexed user, uint256 indexed optionId, address indexed token, uint256 amount)
OptionIdCreated(uint256 indexed optionId, address indexed token)
OptionWritten(address indexed owner, uint256 indexed optionId, address indexed token, uint256 amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SetToken(address indexed token, uint256 strikePriceIncrement)
TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)
TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)
URI(string value, uint256 indexed id)
Withdraw(address indexed user, uint256 indexed optionId, address indexed token, uint256 amount)
constructor(string _uri, address _denominator, address _uPremia, address _feeCalculator, address _premiaReferral, address _feeRecipient)
This contract contains no fallback and receive objects.
This contract contains no error objects.