HegicOptionsETH
Verified contract
Active on
Ethereum with 1,342 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
0xefc0…cfa2
Balances ($0.00)
No balances found for "HegicOptionsETH"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16777578 | 2 years ago | | | 0 | 0.00085094101 | |
| 14237520 | 3 years ago | | | 0 | 0.0032697846 | |
| 14228299 | 3 years ago | | | 0 | 0.0018938105 | |
| 14228299 | 3 years ago | | | 0 | 0.0018938105 | |
| 14228299 | 3 years ago | | | 0 | 0.0018938105 | |
| 14228299 | 3 years ago | | | 0 | 0.0018938105 | |
| 14228297 | 3 years ago | | | 0 | 0.0019420380 | |
| 14228297 | 3 years ago | | | 0 | 0.0019420380 | |
| 14228297 | 3 years ago | | | 0 | 0.0019420380 | |
| 14219976 | 3 years ago | | | 0 | 0.0034839514 |
ABI
ABI objects
Getter at block 21199230
baseURI() view returns (string)
name() view returns (string)
HegicOptionsETH
optionsProvider() view returns (address)
0xefc0eeadc1132a12c9487d800112693bf49ecfa2
owner() view returns (address)
0x7e3a1c5775ec2514ba513a2947585b901c0242d5
symbol() view returns (string)
hoETH
totalSupply() view returns (uint256)
1225
Read-only
balanceOf(address owner) view returns (uint256)
getApproved(uint256 tokenId) view returns (address)
getOptionCostETH(uint256 _period, uint256 _amount, uint256 _strike, uint8 _optionType) view returns (uint256 ethCost)
getUnderlyingOptionId(uint256 _tokenId) view returns (uint256)
getUnderlyingOptionParams(uint256 _tokenId) view returns (uint8 state, address holder, uint256 strike, uint256 amount, uint256 lockedAmount, uint256 premium, uint256 expiration, uint8 optionType)
isApprovedForAll(address owner, address operator) view returns (bool)
isValidToken(uint256 _tokenId) view returns (bool)
ownerOf(uint256 tokenId) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenByIndex(uint256 index) view returns (uint256)
tokenOfOwnerByIndex(address owner, uint256 index) view returns (uint256)
tokenURI(uint256 tokenId) view returns (string)
underlyingOptionId(uint256) view returns (uint256)
State-modifying
Events approve(address to, uint256 tokenId)
burnToken(uint256 _tokenId)
checkValidToken(uint256 _tokenId) returns (bool)
createOption(uint256 _period, uint256 _amount, uint256 _strike, uint8 _optionType) payable returns (uint256 newTokenId)
detokenizeOption(uint256 _tokenId, bool _burnToken)
exerciseOption(uint256 _tokenId)
renounceOwnership()
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes _data)
setApprovalForAll(address operator, bool approved)
tokenizeOption(uint256 _optionId) returns (uint256 newTokenId)
transferFrom(address from, address to, uint256 tokenId)
transferOwnership(address newOwner)
updateOptionsProvider(address _newOptionsProvider)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
Detokenized(address account, uint256 tokenId, bool burned)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Tokenized(address account, uint256 optionId)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
constructor(address _optionsProvider)
receive()
This contract contains no error objects.