Transaction Hash:
Block:
15921895 at Nov-08-2022 01:02:11 AM +UTC
Transaction Fee:
0.002434278 ETH
$11.41
Gas Used:
36,883 Gas / 66 Gwei
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x95222290...5CC4BAfe5
Miner
| (beaverbuild) | 1.721366058670157448 Eth | 1.722519782656354923 Eth | 0.001153723986197475 | |
0xD0c3F6e5...0D570dE67 |
0.105173123797073029 Eth
Nonce: 8
|
0.102738845797073029 Eth
Nonce: 9
| 0.002434278 |
Execution Trace
PPAPECollection.waitingListMint( ) => ( 3963877391197344453575983046348115674221700746820753546331534351508065746944 )
waitingListMint[PPAPECollection (ln:169)]
_isEligibleForWaitingListMint[PPAPECollection (ln:170)]
isWaitingListMintActive[PPAPECollection (ln:155)]
_merkleProofCheck[PPAPECollection (ln:158)]
verify[PPAPECollection (ln:122)]
processProof[MerkleProof (ln:920)]
_hashPair[MerkleProof (ln:945)]
_efficientHash[MerkleProof (ln:1075)]
_efficientHash[MerkleProof (ln:1075)]
_mint[PPAPECollection (ln:172)]
_getAvailableTokenAtIndex[PPAPECollection (ln:182)]
_getRandomIndex[PPAPECollection (ln:182)]
_safeMint[PPAPECollection (ln:184)]
Mint[PPAPECollection (ln:185)]
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// contract written by @ppape_iopragma solidity ^0.8.4;import "@openzeppelin/contracts/token/ERC721/ERC721.sol";import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";import "@openzeppelin/contracts/access/Ownable.sol";import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";contract PPAPECollection is ERC721Enumerable, Ownable {using Strings for uint256;string public baseURI;string public craftBaseURI;string public constant UNREVEALED_TOKEN_URI = string(abi.encodePacked("https://nft.ppape.io/ag/unrevealed.json"));// PROVENANCE: Use the same hash mechanism as BAYC's.string public constant MINT_PROVENANCE = "e2d443f6dd8fff4ba1d69c3474e83beb8bc0d0e639cbe30c329ac94dd8f74fee";string public constant CRAFT_PROVENANCE = "ecd862bb217af0ea3870bdfb0c81567fb1daca9b60018e685e1c22aab3146bb5";uint256 public constant MAX_SUPPLY = 10000;uint256 public constant MINT_PER_WHITELIST_ADDRESS_LIMIT = 1;uint256 public constant MINT_PER_WAITING_LIST_ADDRESS_LIMIT = 1;// allSettings:// isRevealed | whitelistAcitve | waitinglistActive | mintActive | craftActive | tbd | tbd | tbd// 0 0 0 0 0 0 0 0// mask: 0x80 0x40 0x20 0x10 0x08 0x04 0x02 0x01bytes1 public allSettings = 0x00;bytes32 public whitelistMerkleRoot;bytes32 public waitingListMerkleRoot;// schedule: whitelist -> waiting list -> mint -> craft