NftSale

Verified contract

Active on Ethereum with 0 txns
Deployed by via 0xd068f56d at 17107812
Slot
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

No balances found for "NftSale"

No transactions found for "NftSale"


Functions
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 lockFeeRateuint256 lockFeePayedRateuint256 lockBlockExtendRateuint256 lockMaxBlockNumber)
(lockFeeRate=0, lockFeePayedRate=0, lockBlockExtendRate=0, lockMaxBlockNumber=0)
saleCommissionRate(view returns (uint256)
0
Read-only
allInfo(uint256view returns (address userAddraddress nftAddruint256 nftIduint256 salePriceuint256 startBlockuint256 endBlockuint256 lockEndBlockuint256 lockFeeRateuint256 lockFeePayeduint256 piecePayed)
enableLockInfo(addressview returns (bool)
getLockFee(uint256 indexuint256 blockNumberview returns (uint256 fee)
getNftSaleInfo(address nftAddruint256 nftIdview returns (struct INftSaleSaleInfo)
getPieceToken(address nftAddrview returns (address pieceToken)
getPreLockFee(address nftAddruint256 lockBlockNumberview returns (uint256 fee)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
nftLockInfo(address nftAddrview returns (struct INftSaleLockInfo)
nftOwner(addressaddress nftAddruint256 nftIdview returns (address)
saleIndex(addressuint256view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
buy(address nftAddruint256 nftId
create(address nftAddruint256 nftIduint256 blockCountuint256 salePrice
delegateCreate(address creatoraddress nftAddruint256 nftIduint256 blockCountuint256 salePrice
grantRole(bytes32 roleaddress account
initialize(address admin_address feeTo_address factory_uint256 saleCommissionRate_struct INftSaleLockInfo lockInfo_
onERC721Received(addressaddressuint256bytesreturns (bytes4)
redeem(address nftAddruint256 nftId
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setFeeTo(address newFeeTo
setLockInfo(struct INftSaleLockInfo newLockInfo
setNftLockInfo(address nftAddrstruct INftSaleLockInfo newLockInfobool enable
setSaleCommissionRate(uint256 newSaleCommissionRate
withdrawFee(address tokenuint256 amount
Events
Buy(address buyeraddress nftAddruint256 nftIduint256 pieceFeeuint256 pieceCommissionuint256 pieceWithdraw
CreateSale(address indexed creatoraddress indexed nftAddruint256 nftIduint256 blockCountuint256 salePriceuint256 endBlockuint256 lockFee
Initialized(uint8 version
Redeem(address redeemeruint256 pieceCapitaluint256 pieceFeeaddress nftAddruint256 nftid
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.