ETH Price: $2,526.38 (-1.59%)
Gas: 1.44 Gwei

Transaction Decoder

Block:
15538006 at Sep-15-2022 08:47:23 AM +UTC
Transaction Fee:
0.005020960705268921 ETH $12.68
Gas Used:
260,267 Gas / 19.291576363 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x2E6Ae25d...88726D06A
0.242703758063795819 Eth
Nonce: 7
0.237682797358526898 Eth
Nonce: 8
0.005020960705268921
0x2fD91E9B...a02cD4C9F
(Coinbase: MEV Builder)
0.178380737109415877 Eth0.179031404609415877 Eth0.0006506675

Execution Trace

SixteenDao.publicMint( to=0x2E6Ae25ddcbA2D0D0Dc93e41195D8cb88726D06A )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
pragma 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 ");
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX