NFTSalesERC20Upgradeable

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xce4fff38 at 16221166
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 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
6 additional variables

No balances found for "NFTSalesERC20Upgradeable"

No transactions found for "NFTSalesERC20Upgradeable"


Functions
Getter at block 21314273
LOOT_CRATE_NFT_TYPE(view returns (uint8)
1
UNKNOWN_NFT_TYPE(view returns (uint8)
0
contractURI(view returns (string)
getOwnerCount(view returns (uint256)
0
lcPaymentAmount(view returns (uint256)
0
lcPaymentToken(view returns (address)
0x0000000000000000000000000000000000000000
lcSaleActive(view returns (bool)
false
maxNFTsToParse(view returns (uint256)
0
name(view returns (string)
nftsPerLootCrate(view returns (uint8)
0
owner(view returns (address)
0x0000000000000000000000000000000000000000
symbol(view returns (string)
totalSupply(view returns (uint256)
0
treasury(view returns (address)
0x0000000000000000000000000000000000000000
uncrateActive(view returns (bool)
false
uncratePrice(view returns (uint256)
0
Read-only
balanceOf(address ownerview returns (uint256)
getApproved(uint256 tokenIdview returns (address)
getNFTTypeCount(address accountuint32 nftTypeview returns (uint256)
getNFTTypeCounts(address accountuint32[] nftTypesview returns (uint256 result)
getNFTTypeForTokenID(uint32 tokenIDview returns (uint32)
getNFTTypesForTokenIDs(uint32[] tokenIDsview returns (uint32[])
isApprovedForAll(address _owneraddress operatorview returns (bool)
isOwnerOf(address accountuint32[] tokenIDsview returns (bool)
nftTypeToAddressCount(uint32addressview returns (uint16)
nftTypeURIs(uint32view returns (string)
ownerOf(uint256 tokenIdview returns (address)
proxyToApproved(addressview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenIDToNFTType(uint32view returns (uint32)
tokenOfOwnerByIndex(address accountuint256 indexview returns (uint256)
tokenURI(uint256 tokenIDview returns (string)
tokenURIs(uint32view returns (string)
State-modifying
airdrop(address[] receiversuint32[] nftTypes
approve(address touint256 tokenId
assignNFTType(uint32[] nftIDsuint32[] nftTypes
batchBuyAndUncrate(uint8 amount
batchBuyLootCrate(uint8 amount
batchMint(address receiveruint32[] nftTypes
batchSafeTransferFrom(address fromaddress touint256[] tokenIdsbytes data
batchSafeTransferFromSmallInt(address fromaddress touint32[] tokenIdsbytes data
batchTransferFrom(address fromaddress touint256[] tokenIds
batchTransferFromSmallInt(address fromaddress touint32[] tokenIds
buyAndUncrate(payable 
buyLootCrate(
evolve(uint32[] nftIDsuint32[] nftTypes
initialize(string namestring symboladdress _treasuryaddress paymentTokenuint256 paymentAmount
mint(address receiveruint32 nftType
renounceOwnership(
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes data
setApprovalForAll(address operatorbool approved
setBaseURI(string uri
setContractURI(string uri
setLootCratePayment(address _lcPaymentTokenuint256 _lcPaymentAmount
setLootCratePrice(uint256 value
setNFTTypeURI(uint32 nftTypeIDstring uri
setNFTsPerLootCrate(uint8 value
setProxyState(address proxyAddressbool value
setSaleActive(bool value
setTokenURI(uint32 tokenIDstring uri
setTreasury(address _treasury
setUncrateActive(bool value
setUncratePrice(uint256 value
transfer(address touint256 tokenIdreturns (bool)
transferFrom(address fromaddress touint256 tokenId
transferOwnership(address newOwner
uncrate(uint32 idpayable 
uncrateBatch(uint32[] idspayable 
updateLootCrateConfig(uint256 _pricebool _saleActivestring tokenBaseURIbool _uncrateActive
withdrawRevenue(
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Uncrate(address indexed userstring ids
WithdrawRevenue(address indexed senderuint256 indexed amount
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
AddressIsZero(
ApprovalCallerIsNotOwnerNorApproved(address calleraddress _owner
ApprovalToCurrentOwner(address _toaddress _owner
ApproveToCaller(address _operatoraddress caller
InconsistentArrayLengths(uint256 array1uint256 array2
InsufficientPayment(uint256 sentuint256 required
InsufficientTokens(uint256 availableuint256 required
NonexistentToken(uint256 tokenId
NotLootCrate(uint32 tokenID
QueryForZeroAddress(
SaleIsClosed(
TransferCallsIsNotOwnerNorApproved(address calleraddress _owner
TransferOfTokenThatIsNotOwn(
tooManyIDs(uint256 sentuint256 max