PremiaOption

Verified contract

Active on Ethereum with 893 txns
Deployed by via 0x43a469fb at 11807538
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $7,188.75
ERC-20
Value $433.89
ERC-20
Value $283.83
ERC-20
Value $204.74
ERC-20
Value $117.59
ERC-20
Value $100
ERC-20
Value $1.41
ERC-20
--
ERC-20
--
0xbc3a2ec2e3f0a3b1301a4d67f10f5b42666a7bc4ada355901bc4837a8a9ec7d7
0x280f9af180f0bcf287666da3c72334f5821a448a84ba9e1b2d9d3ef4e062ce62
0x835a41fd88b793119a6ec4920f7026c26f902c94a0046673154ddd521e7f49ee
0xbe9f71dc2b7101c6dbd6b191ca331693a802178868f52d51b953e805415cf0be
0x360641039b9f61b5b3076f84012c219f7e31aabfc0593f4d02cbe53ec9712495
0xecb2d3cb6b49b9238aa9e5fe4e38d41d5dfc68fb5e914391dfdca66c7d8fd18d
0xb86a8390da552b987e8db6153c513a85a59568f957d753900e0ce7692421714d
0x18decb787030c458fbe8ea90d3d66cd40a98457b2d2792cd77bb692472f35d0d
From
0x707c1401b54da736cbece0b6cab4d97d3b05a626706dd8b0f325dcc10fb64cd7
0x8081c227ddd72b64f8b3da26f8547b5d5db44cae1650f635bc7896aea26fa135

Functions
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 accountuint256 idview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[])
getExerciseQuote(address _fromstruct PremiaOptionOptionData _optionuint256 _amountaddress _referreruint8 _decimalsview returns (struct PremiaOptionQuoteExercise)
getOptionId(address _tokenuint256 _expirationuint256 _strikePricebool _isCallview returns (uint256)
getWriteQuote(address _fromstruct PremiaOptionOptionWriteArgs _optionaddress _referreruint8 _decimalsview returns (struct PremiaOptionQuoteWrite)
isApprovedForAll(address accountaddress operatorview returns (bool)
nbWritten(addressuint256view returns (uint256)
optionData(uint256view returns (address tokenuint256 strikePriceuint256 expirationbool isCalluint256 claimsPreExpuint256 claimsPostExpuint256 exerciseduint256 supplyuint8 decimals)
options(addressuint256uint256boolview returns (uint256)
pools(uint256view returns (uint256 tokenAmountuint256 denominatorAmount)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenStrikeIncrement(addressview returns (uint256)
tokens(uint256view returns (address)
uri(uint256view returns (string)
whitelistedUniswapRouters(uint256view returns (address)
State-modifying
cancelOption(uint256 _optionIduint256 _amount
cancelOptionFrom(address _fromuint256 _optionIduint256 _amount
exerciseOption(uint256 _optionIduint256 _amountaddress _referrer
exerciseOptionFrom(address _fromuint256 _optionIduint256 _amountaddress _referrer
flashExerciseOption(uint256 _optionIduint256 _amountaddress _referreraddress _routeruint256 _amountInMaxaddress[] _path
flashExerciseOptionFrom(address _fromuint256 _optionIduint256 _amountaddress _referreraddress _routeruint256 _amountInMaxaddress[] _path
flashLoan(address _tokenAddressuint256 _amountaddress _receiver
getOptionIdOrCreate(address _tokenuint256 _expirationuint256 _strikePricebool _isCallreturns (uint256)
renounceOwnership(
safeBatchTransferFrom(address fromaddress touint256[] idsuint256[] amountsbytes data
safeTransferFrom(address fromaddress touint256 iduint256 amountbytes data
setApprovalForAll(address operatorbool approved
setFeeCalculator(address _feeCalculator
setFeeRecipient(address _feeRecipient
setMaxExpiration(uint256 _max
setPremiaReferral(address _premiaReferral
setPremiaUncutErc20(address _uPremia
setTokens(address[] _tokensuint256[] _strikePriceIncrement
setURI(string _newUri
setWhitelistedUniswapRouters(address[] _addrList
transferOwnership(address newOwner
withdraw(uint256 _optionId
withdrawFrom(address _fromuint256 _optionId
withdrawPreExpiration(uint256 _optionIduint256 _amount
withdrawPreExpirationFrom(address _fromuint256 _optionIduint256 _amount
writeOption(struct PremiaOptionOptionWriteArgs _optionaddress _referrerreturns (uint256)
writeOptionFrom(address _fromstruct PremiaOptionOptionWriteArgs _optionaddress _referrerreturns (uint256)
writeOptionWithIdFrom(address _fromuint256 _optionIduint256 _amountaddress _referrerreturns (uint256)
Events
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
FeePaid(address indexed useraddress indexed tokenaddress indexed referreruint256 feeProtocoluint256 feeReferrer
OptionCancelled(address indexed owneruint256 indexed optionIdaddress indexed tokenuint256 amount
OptionExercised(address indexed useruint256 indexed optionIdaddress indexed tokenuint256 amount
OptionIdCreated(uint256 indexed optionIdaddress indexed token
OptionWritten(address indexed owneruint256 indexed optionIdaddress indexed tokenuint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SetToken(address indexed tokenuint256 strikePriceIncrement
TransferBatch(address indexed operatoraddress indexed fromaddress indexed touint256[] idsuint256[] values
TransferSingle(address indexed operatoraddress indexed fromaddress indexed touint256 iduint256 value
URI(string valueuint256 indexed id
Withdraw(address indexed useruint256 indexed optionIdaddress indexed tokenuint256 amount
Constructor
constructor(string _uriaddress _denominatoraddress _uPremiaaddress _feeCalculatoraddress _premiaReferraladdress _feeRecipient
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.