Transaction Hash:
Block:
15211829 at Jul-25-2022 01:06:09 PM +UTC
Transaction Fee:
0.001228182062645601 ETH
$5.73
Gas Used:
48,111 Gas / 25.528092591 Gwei
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x815428DD...93e6ffC74 |
0.022766097902100905 Eth
Nonce: 41
|
0.021537915839455304 Eth
Nonce: 42
| 0.001228182062645601 | ||
0xEA674fdD...16B898ec8
Miner
| (Ethermine) | 643.571829002281890825 Eth | 643.571901168781890825 Eth | 0.0000721665 |
Execution Trace
TheChinaNFT.presaleMint( )
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity 0.8.15;import "./ERC721A.sol";import "@openzeppelin/contracts/utils/Strings.sol";import "@openzeppelin/contracts/access/Ownable.sol";import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";contract TheChinaNFT is ERC721A, Ownable {\tusing Strings for uint256;\tstring private _uriPrefix;\tstring private _uriSuffix;\tuint256 public maxSupply;\tuint256 public presaleSupply;\tuint256 public maxMintAmountPerAddress;\tuint256 public maxMintAmountPerAddressForVip;\tbytes32 private _presaleMerkleRoot;\tbytes32 private _vipAddressesMerkleRoot;\tenum SaleState { PAUSED, PRESALE, PUBLIC_SALE }\tmapping(address => uint256) public helpers;\tstring private contractMetadataURI;\tSaleState public saleState;\tevent SaleStateChanged(SaleState indexed oldSaleState, SaleState indexed newSaleState);\tevent UriPrefixUpdated(string indexed oldURIprefix, string indexed newURIprefix);\tevent UriSuffixUpdated(string indexed oldURIsuffix, string indexed newURIsuffix);\tevent MaxSupplyUpdated(uint256 indexed oldMaxSupply, uint256 indexed newMaxSupply);\tevent PresaleSupplyUpdated(uint256 indexed oldPresaleSupply, uint256 indexed newPresaleSupply);