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 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 3 additional slots
Balances ($0.00)
No balances found for "NftSale"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "NftSale"
ABI
ABI objects
Getter at block 21191613
BASE_PERCENTS() view returns (uint256)
1000000000000000000
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DELEGATE_ROLE() view returns (bytes32)
0x1a82baf2b928242f69f7147fb92490c6288d044f7257b88817e6284f1eec0f15
factory() view returns (address)
0x0000000000000000000000000000000000000000
feeTo() view returns (address)
0x0000000000000000000000000000000000000000
lockInfo() view returns (uint256 lockFeeRate, uint256 lockFeePayedRate, uint256 lockBlockExtendRate, uint256 lockMaxBlockNumber)
(lockFeeRate=0, lockFeePayedRate=0, lockBlockExtendRate=0, lockMaxBlockNumber=0)
saleCommissionRate() view returns (uint256)
0
Read-only
allInfo(uint256) view returns (address userAddr, address nftAddr, uint256 nftId, uint256 salePrice, uint256 startBlock, uint256 endBlock, uint256 lockEndBlock, uint256 lockFeeRate, uint256 lockFeePayed, uint256 piecePayed)
enableLockInfo(address) view returns (bool)
getLockFee(uint256 index, uint256 blockNumber) view returns (uint256 fee)
getNftSaleInfo(address nftAddr, uint256 nftId) view returns (struct INftSaleSaleInfo)
getPieceToken(address nftAddr) view returns (address pieceToken)
getPreLockFee(address nftAddr, uint256 lockBlockNumber) view returns (uint256 fee)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
nftLockInfo(address nftAddr) view returns (struct INftSaleLockInfo)
nftOwner(address, address nftAddr, uint256 nftId) view returns (address)
saleIndex(address, uint256) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events buy(address nftAddr, uint256 nftId)
create(address nftAddr, uint256 nftId, uint256 blockCount, uint256 salePrice)
delegateCreate(address creator, address nftAddr, uint256 nftId, uint256 blockCount, uint256 salePrice)
grantRole(bytes32 role, address account)
initialize(address admin_, address feeTo_, address factory_, uint256 saleCommissionRate_, struct INftSaleLockInfo lockInfo_)
onERC721Received(address, address, uint256, bytes) returns (bytes4)
redeem(address nftAddr, uint256 nftId)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setFeeTo(address newFeeTo)
setLockInfo(struct INftSaleLockInfo newLockInfo)
setNftLockInfo(address nftAddr, struct INftSaleLockInfo newLockInfo, bool enable)
setSaleCommissionRate(uint256 newSaleCommissionRate)
withdrawFee(address token, uint256 amount)
Buy(address buyer, address nftAddr, uint256 nftId, uint256 pieceFee, uint256 pieceCommission, uint256 pieceWithdraw)
CreateSale(address indexed creator, address indexed nftAddr, uint256 nftId, uint256 blockCount, uint256 salePrice, uint256 endBlock, uint256 lockFee)
Initialized(uint8 version)
Redeem(address redeemer, uint256 pieceCapital, uint256 pieceFee, address nftAddr, uint256 nftid)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.