This contract is being backfilled. You may encounter incomplete storage history.

CatchTokenPresale

Verified contract

Active on Ethereum with 2,704 txns
Deployed by via 0x07d23abc at 18669296
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 3 additional slots
ERC-20
--
0xc89adc86a9f2f2c549a0bf973ccad2b2b116aa8c889631da36f932fdacd832ac
0x9926b1e3249b317baea1673220f641565ed0016cff70b753f88cf58c2e6a1f1e
0x43bed4e5d36ff9ce6fdedb853c041c9596c67da350d96113a504d862c3650a50
0x113ed3a5a5c8709c188e60aab23523e63fd2bc6556ce56447f57cd50edb5c441
0xd19e16caa59a13f51dc8765eb2c5ef4264bf55638ed9fb154d4a121044ce6c9b
0xd58e8acdb11a742246024a402bcb14ba7a0d616040cbb53585c79537bb1f4708
0x784ff24bb9f9ebb3339982db34205ca7823e777681788c4944bbab1be28e39b5
0x5a3fd8c871b2555a3522971fc5acce4d0fd774a7209cdc36e3c491840b3628e9
0xfacf7e1939e3f8113fd7a5120cf6d3ea67028cd2f40dab9136df4cf370645b1e
0xab36679714f9e4699dc692b5fe0caa726a2598b64c1d27d0cc1ee4984b6806f2

Functions
Getter at block 21214077
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
SIGNER_ROLE(view returns (bytes32)
0xe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70
buyRecipient(view returns (address)
0x308a31a6acc3b3b36d39c6f87703e00ea06a52e2
catchToken(view returns (address)
0x7b708ac2c20200ac4b241d5523c76691b96ca01f
cliffMonths(view returns (uint8)
2
currentPhase(view returns (uint8)
1
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=CatchTokenPresale, version=1, chainId=1, verifyingContract=0x54e5df5fd88ab44f34815b444fee39911b4cc266, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
linearVestingMonths(view returns (uint8)
19
minUsdAmount(view returns (uint256)
4800000000
nftHolderDiscountPercent(view returns (uint8)
5
presaleSupply(view returns (uint256)
20000000000000000000000000
priceFeed(view returns (address)
0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419
tokenPriceUsd(view returns (uint256)
8000000
totalTokensBought(view returns (uint256)
20038906999999999961989120
unlockPercentAtTGE(view returns (uint8)
5
usdt(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
vestingEndDate(view returns (uint256)
0
vestingStartDate(view returns (uint256)
0
Read-only
availableTGETokensToClaim(address userview returns (uint256)
availableVestingTokensToClaim(address userview returns (uint256)
calculateEthAmountRequired(uint256 tokenAmountbool isNftHolderview returns (uint256)
calculateTokenAmountByEth(uint256 ethAmountbool isNftHolderview returns (uint256)
calculateTokenAmountByUsdt(uint256 usdtAmountbool isNftHolderview returns (uint256)
calculateUsdtAmountRequired(uint256 tokenAmountbool isNftHolderview returns (uint256)
claimedTGETokensByUser(address userview returns (uint256 tokens)
claimedVestingTokensByUser(address userview returns (uint256 tokens)
getRoleAdmin(bytes32 roleview returns (bytes32)
getUsdAmount(uint256 tokenAmountview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenAmountToUsdAmount(uint256 tokenAmountbool isNftHolderview returns (uint256)
totalTGETokensByUser(address userview returns (uint256 tokens)
totalVestingTokensByUser(address userview returns (uint256 tokens)
usdAmountToTokenAmount(uint256 usdAmountbool isNftHolderview returns (uint256)
usedNonces(bytes32view returns (bool)
State-modifying
buyWithEth(uint256 tokenAmountpayable 
buyWithEthNftHolder(uint256 tokenAmountbytes32 noncebytes signaturepayable 
buyWithUsdt(uint256 tokenAmount
buyWithUsdtNftHolder(uint256 tokenAmountbytes32 noncebytes signature
claimTGETokens(
claimVestingTokens(
grantRole(bytes32 roleaddress account
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
startBuyPhase(
startClaimPhase(
Events
Bought(address useruint256 tokenAmount
ClaimedTGE(address useruint256 tokenAmount
ClaimedVesting(address useruint256 tokenAmount
EIP712DomainChanged(
PhaseChanged(uint8 phase
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor
constructor(address[] adminsaddress[] signersaddress _catchTokenaddress _priceFeedaddress _usdtstruct CatchTokenPresalePresaleParams presaleParams
Fallback and receive

This contract contains no fallback and receive objects.

Errors
InvalidShortString(
StringTooLong(string str