NFTFreeOptionPool
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
7
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "NFTFreeOptionPool"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "NFTFreeOptionPool"
ABI
ABI objects
Getter at block 22417280
nftContractAddress() view returns (address)
0x0000000000000000000000000000000000000000
optionModuleContractAddress() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
Read-only
encodeNFTDiscount(struct NFTFreeOptionPoolNFTDiscount _discount) pure returns (bytes32)
getFreeAmount(struct IOptionModuleV2ManagedOrder _optionOrder) view returns (uint256 amount)
getUserDiscount(address optionAsset, uint256 quantity, uint256 productType, uint8 optionType, address eoaAddress) view returns (uint256 discountCount)
nftDiscountIds(bytes32) view returns (uint256)
nftDiscounts(uint256) view returns (bytes32)
nftIdToDiscountId(uint256, uint256) view returns (uint256)
operators(address) view returns (bool)
userDiscounts(address, uint256) view returns (uint256)
State-modifying
Events addNFTDiscount(struct NFTFreeOptionPoolNFTDiscount _discount, uint256 _discountId)
addNFTDiscountToUser(address _user, uint256 _nftId)
execute(address dest, uint256 value, bytes func) returns (bytes result)
initialize(address _optionModule, address _nftContract)
removeNFTDiscount(bytes32 _hash)
renounceOwnership()
setDiscountToUser(address[] _user, uint256[] discountIds, uint256[] counts)
setNFTToDiscount(uint256 _nftId, uint256[] _discountIds)
setNftContractAddress(address _address)
setOperator(address _op, bool allow)
setOptionModuleContractAddress(address _address)
submitFreeAmount(struct IOptionModuleV2ManagedOrder _optionOrder, uint256 amount) returns (bool ok)
transferOwnership(address newOwner)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Initialized(uint8 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SubmitFreeAmount(address indexed user, address indexed tokenAddress, uint256 indexed amount)
Upgraded(address indexed implementation)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.