ETH Price: $2,610.52 (+2.60%)

Transaction Decoder

Block:
14823021 at May-22-2022 11:08:06 AM +UTC
Transaction Fee:
0.001241212820732381 ETH $3.24
Gas Used:
92,393 Gas / 13.434056917 Gwei

Account State Difference:

  Address   Before After State Difference Code
0x22aBa4fF...D1e272291
(SBI Crypto Pool)
454.009423750647693408 Eth454.009654733147693408 Eth0.0002309825
0xbb720B91...593daA5eb
0.429950434983904901 Eth
Nonce: 17
0.42870922216317252 Eth
Nonce: 18
0.001241212820732381

Execution Trace

Invisibears.freeMint( quantity=5 )
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: GPL-3.0
pragma solidity ^0.8.7;
import "@openzeppelin/contracts/access/Ownable.sol";
import "erc721a/contracts/ERC721A.sol";
contract Invisibears is Ownable, ERC721A {
using Strings for uint256;
string public baseExtension = ".json";
uint256 public FREE_MINT_SUPPLY = 500;
uint256 public MAX_MINT_PER_TRANSACTION = 30;
uint256 public MAX_FREEMINT_PER_USER = 5;
uint256 public totalMaxSupply = 5000;
uint256 public mintPrice = 0.009 ether;
uint64 public startTimestamp;
bool public mintActive = true;
string private _baseTokenURI;
constructor() ERC721A("Invisibears", "IBS") {}
function mint(uint256 quantity) external payable {
require(startTimestamp !=0 && block.timestamp >= startTimestamp,"Mint is not active yet");
require(mintActive == true,"Mint have been Paused");
require(quantity > 0, "Mint quantity should be over 0");
require(quantity <= MAX_MINT_PER_TRANSACTION, "Max mint per transaction exceeded");
require(totalSupply() + quantity <= totalMaxSupply, "Reached max supply");
require(msg.value >= mintPrice * quantity, "Insufficient Funds");
// _safeMint's second argument now takes in a quantity, not a tokenId.
_safeMint(msg.sender, quantity);
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX