TokiemonMinter

Verified contract

Active on Base with 34,974 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $25,588.44
0xaba7c48b4658045f1c91e8cce67a9b7f404955d04058ef2c3944cddc4e06a3dd
0x4e30c098568adc6e6bccc4a61991eefda57053143dd8681925dcfd1958fbcc85
0x5ffe7950edacebebe0e7c23cf52bf57ec3ca34ce4c5115e3c43d76577e879c00
0x7f7514716bd41b8018203a68ff03ca079c1cdfa4861d9fe883e30260578ec614
0x9a440ea3e6e63e4beb5f420780c21f26cc2ad4e94d4872776bf376caa0b491a2
0x4b9c1b187eb7dfba7c895258465d177754612e8f297909da8bd62a4d65be97cc
0x4a58367887118372e21a9ec35d7c70446af348c0204e00ebe45b62842b40d5df
0x49f344c0378c5abf552b970fd95db0615983fc4869a17061e0a65bbceb4f86f6
0xbc5c8c836e6575110d5166fbf825dcdcff904898d4633b3b97c0be27b85a53a0
0x15d6f818cf931869faed77126318d63f96c6a49c3ee1d8d80501490074846cf6

Functions
Getter at block 22730003
manaSystem(view returns (address)
0x901a60c22ebf6b3799bb0d14d97a1908bbc0e7a9
maxQuantityPerMint(view returns (uint256)
3
oracle(view returns (address)
0xfb63ff06b4203e450a626e264f7702be9d148fd7
owner(view returns (address)
0x12d0f29642ebf73ab1b636222fd3eb48eb9b4a03
tierCount(view returns (uint256)
4
tokiemonGold(view returns (address)
0xaeecb2c3c0a1cd15b7cde0e1c5acb1cb246afa99
tokiemonNFT(view returns (address)
0x802187c392b15cdc8df8aa05bfef314df1f65c62
userRegistry(view returns (address)
0xc0da56fd2b8757ecb5975fad17d5bc2e974de765
Read-only
calculateTokenAmount(address paymentTokenuint256 tieruint256 quantityview returns (uint256 tokenPriceNativeuint256 tokenAmount)
getTierGoldCost(uint256 tierview returns (uint256)
getTierInfo(uint256 tierview returns (uint256uint256uint256uint256uint256bool)
getTierPrice(uint256 tierview returns (uint256)
hasClaimedFreeMint(addressview returns (bool)
purchaseTiers(uint256view returns (uint256 priceuint256 manaRewarduint256 referralRewarduint256 goldCostuint256 minQuantitybool isActive)
supportsPermissionedCallSelector(bytes4pure returns (bool)
State-modifying
addTier(uint256 priceuint256 manaRewarduint256 referralRewarduint256 goldCostuint256 minQuantity
mintFree(address tostring community
mintWithERC20(address toaddress paymentTokenuint256 maxPaymentTokenAmountuint256 tierstring communitystring referrerUsernameuint256 quantity
mintWithNativeToken(address touint256 tierstring communitystring referrerUsernameuint256 quantitypayable 
mintWithTokiemonGold(address touint256 tierstring communityuint256 quantity
permissionedCall(bytes callpayable returns (bytes res)
renounceOwnership(
setMaxQuantityPerMint(uint256 _maxQuantity
toggleTier(uint256 tierId
transferOwnership(address newOwner
updateOracle(address _newOracle
updateTier(uint256 tierIduint256 newPriceuint256 newManaRewarduint256 newReferralRewarduint256 newGoldCostuint256 newMinQuantity
withdrawNativeToken(address recipientuint256 amount
withdrawTokens(address tokenAddressaddress to
Events
OracleUpdated(address indexed oldOracleaddress indexed newOracle
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ReferralUsed(address indexed referreraddress indexed useruint256 indexed tieruint256 rewardAmount
TierAdded(uint256 indexed tierIduint256 priceuint256 manaRewarduint256 referralRewarduint256 goldCostuint256 minAmount
TierToggled(uint256 indexed tierIdbool isActive
TierUpdated(uint256 indexed tierIduint256 priceuint256 manaRewarduint256 referralRewarduint256 goldCostuint256 minAmount
Constructor
constructor(address _tokiemonNFTaddress _oracleaddress _manaSystemaddress _tokiemonGoldaddress _userRegistry
Fallback and receive
receive(
Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
FailedInnerCall(
NotPermissionCallable(bytes4 selector
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token