Transaction Hash:
Block:
15635893 at Sep-29-2022 02:03:11 AM +UTC
Transaction Fee:
0.000399151617774196 ETH
$1.11
Gas Used:
46,564 Gas / 8.572107589 Gwei
Emitted Events:
548 |
SixteenDao.ApprovalForAll( owner=[Sender] 0xd54cf75516f91501a93cf7e2b3ba8d371df94c1f, operator=0x1E004978...d54003c71, approved=True )
|
Account State Difference:
Address | Before | After | State Difference | ||
---|---|---|---|---|---|
0x2fD91E9B...a02cD4C9F | |||||
0xb646D879...33e857128
Miner
| (MEV Builder: 0xb64…128) | 27.101000129804794651 Eth | 27.101069975804794651 Eth | 0.000069846 | |
0xd54Cf755...71dF94c1f |
0.013837782000587655 Eth
Nonce: 31
|
0.013438630382813459 Eth
Nonce: 32
| 0.000399151617774196 |
Execution Trace
SixteenDao.setApprovalForAll( operator=0x1E0049783F008A0085193E00003D00cd54003c71, approved=True )
setApprovalForAll[ERC721 (ln:795)]
_setApprovalForAll[ERC721 (ln:796)]
ApprovalForAll[ERC721 (ln:1004)]
_msgSender[ERC721 (ln:796)]
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 ");}