Transaction Hash:
Block:
17968108 at Aug-22-2023 05:16:35 AM +UTC
Transaction Fee:
0.003356305657132306 ETH
$9.25
Gas Used:
256,631 Gas / 13.078332926 Gwei
Emitted Events:
424 |
SixteenDao.Transfer( from=0x00000000...000000000, to=[Sender] 0x54d45634325c23f9c6f6c75e04b6dcd0390c5d58, tokenId=19 )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x2fD91E9B...a02cD4C9F | |||||
0x54d45634...0390c5D58 |
0.035913009016640825 Eth
Nonce: 58
|
0.032556703359508519 Eth
Nonce: 59
| 0.003356305657132306 | ||
0x758A4A45...3fB1A4F42
Miner
| (Fee Recipient: 0x75...F42) | 19.763034564901210096 Eth | 19.763047396451210096 Eth | 0.00001283155 |
Execution Trace
SixteenDao.publicMint( to=0x54d45634325C23f9C6f6C75E04b6dCD0390c5D58 )
publicMint[SixteenDao (ln:21)]
revert[SixteenDao (ln:25)]
current[SixteenDao (ln:28)]
_mint[SixteenDao (ln:47)]
checkTotalSupply[SixteenDao (ln:50)]
totalSupply[SixteenDao (ln:63)]
increment[SixteenDao (ln:51)]
current[SixteenDao (ln:52)]
_safeMint[SixteenDao (ln:53)]
_setTokenURI[SixteenDao (ln:54)]
push[SixteenDao (ln:56)]
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity 0.8.15;import "@openzeppelin/contracts/token/ERC721/ERC721.sol";import "@openzeppelin/contracts/access/Ownable.sol";import "@openzeppelin/contracts/utils/Counters.sol";import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";import "@openzeppelin/contracts/utils/Strings.sol";contract SixteenDao is Ownable, ERC721URIStorage {using Counters for Counters.Counter;address[] private alreadyPurchasedList;Counters.Counter private _tokenIdCounter;uint256 private _totalSupply;uint256 private allowTotalSupply = 2000;string private _base_pass_img_url ="https://ipfs.io/ipfs/QmUXet5vtM5FVq5tNJjBshqhvh8H4tcfkDcKKNVLQpGNEw";constructor() ERC721("DZ Novel DeFi Labs", "ONE PASS CARD") {}function getCurrentIndex() public view returns (uint256) {uint256 tokenId = _tokenIdCounter.current();return tokenId;}function publicMint(address to) public payable {for (uint256 i = 0; i < alreadyPurchasedList.length; i++) {address addr = alreadyPurchasedList[i];if (addr == to) {revert(" can buy only once ");}