TokenSale
Verified contract
Active on
Ethereum with 2,190 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
5 additional
variables
Balances ($387,302.52)
Native
Value
$381,978.39
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 97.008661 | $3,937.57 |
$381,978.39 | |
USDT | ERC-20 | 4.262903K | $1.00 |
$4,262.9 | |
USDC | ERC-20 | 1.061221K | $1.00 |
$1,061.22 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21384806 | 9 minutes ago | | | 0 | 0.0021129359 | |
| 21384752 | 20 minutes ago | | | 0.038 | 0.0019036883 | |
| 21384120 | 2 hours ago | | | 0.3 | 0.0018282841 | |
| 21383946 | 3 hours ago | | | 0.003 | 0.0022481138 | |
| 21383849 | 3 hours ago | | | 0 | 0.0031094411 | |
| 21383814 | 3 hours ago | | | 0.015 | 0.0024402164 | |
| 21383759 | 4 hours ago | | | 0.02 | 0.0024490940 | |
| 21383458 | 5 hours ago | | | 0.202 | 0.0019173125 | |
| 21383186 | 6 hours ago | | | 0 | 0.0022746263 | |
| 21383167 | 6 hours ago | | | 0.0062 | 0.0017742145 |
ABI
ABI objects
Getter at block 21384848 getSaleStages() view returns (struct TokenSaleStagesSaleStageDataView[] stages)
getAutoWithdrawRaisedFunds() view returns (bool)
false
getChainId() view returns (uint256)
1
getMerkleRoot() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
getPaymentTokens() view returns (address[])
[0xdAC17F958D2ee523a2206206994597C13D831ec7, 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, 0x0000000000000000000000000000000000000000]
getPurchaseSettings() view returns (bool isReleaseAllowed, bool isBuyAllowed, bool isBuyWithProofAllowed, bool isBuyWithPriceAllowed)
(isReleaseAllowed=true, isBuyAllowed=true, isBuyWithProofAllowed=true, isBuyWithPriceAllowed=true)
getSaleState() view returns (uint256 stages, uint256 currentStageId, uint256 sold)
(stages=3, currentStageId=2, sold=28391962795663891163244236)
getSellableToken() view returns (bool isFrozen, address token, uint8 decimals)
(isFrozen=false, token=0x6eb935f5b649fc98bc7a3079f0211f5255c8b3ea, decimals=18)
getSigner() view returns (address)
0x44f83dc311b6d0b70765946caac09c5aed320445
getTeamWallet() view returns (bool isFrozen, address teamWallet)
(isFrozen=false, teamWallet=0x44f83dc311b6d0b70765946caac09c5aed320445)
getTokenVesting() view returns (address tokenVesting, bool tokenVestingFrozen)
(tokenVesting=0xf8246dcc165f300b1e2f0f714a388fa70ec57ac4, tokenVestingFrozen=false)
isDepositsEnabled() view returns (bool)
true
isWhitelistingByDepositEnabled() view returns (bool)
true
owner() view returns (address)
0x44f83dc311b6d0b70765946caac09c5aed320445
paused() view returns (bool)
false
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
tokenSaleType() pure returns (string)
full
tokenSaleVersion() pure returns (string)
1
Read-only
calculateTokensToBuy(uint256 price, uint256 tokensToPay) view returns (uint256 tokensToBuy)
calculateTokensToBuyAtStage(uint256 stageId, address token, uint256 tokensToPay) view returns (uint256 tokensToBuy, uint256 price)
calculateTokensToPay(uint256 price, uint256 tokensToBuy) view returns (uint256 tokensToPay)
calculateTokensToPayAtStage(uint256 stageId, address token, uint256 tokensToBuy) view returns (uint256 tokensToPay, uint256 price)
checkSignatureBuyWithPrice(address user, uint256 stageId, address token, uint256 price, uint256 tokensToPay, bytes signature) view returns (bool)
checkSignatureRelease(address user, uint256 stageId, uint256 tokensToBuy, bytes signature) view returns (bool)
getRaisedUnclaimedFunds(address[] tokens_) view returns (address[] tokens, uint256[] funds)
getRecoverableFunds(address token) view returns (uint256)
getSaleStage(uint256 stageId) view returns (bool whitelist, uint256 startAt, uint256 duration, uint256 cap, uint256 sold, address[] tokens, uint256[] prices)
getTotalDeposits(address[] tokens_) view returns (address[] tokens, uint256[] deposits)
getUserDeposits(address user, address[] tokens_) view returns (address[] tokens, uint256[] deposits)
getUserSignatureNonce(address user) view returns (uint256)
isPaymentToken(address token) view returns (bool)
isWhitelisted(address user) view returns (bool)
verifyWhitelistProof(address user, bytes32[] merkleProof) view returns (bool)
State-modifying
Events acceptOwnership()
addPaymentTokens(address[] tokens)
buy(uint256 stageId, address token, uint256 tokensToPay) payable
buyWithPermit(uint256 stageId, address token, uint256 tokensToPay, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
buyWithPrice(uint256 stageId, address token, uint256 price, uint256 tokensToPay, bytes signature) payable
buyWithPricePermit(uint256 stageId, address token, uint256 price, uint256 tokensToPay, uint256 deadline, uint8 v, bytes32 r, bytes32 s, bytes signature)
buyWithProof(uint256 stageId, address token, uint256 tokensToPay, bytes32[] merkleProof) payable
buyWithProofPermit(uint256 stageId, address token, uint256 tokensToPay, uint256 deadline, uint8 v, bytes32 r, bytes32 s, bytes32[] merkleProof)
cancelDeposit(address[] tokens)
cancelDepositForced(address[] users, address[] tokens)
createNextSaleStage(uint256 stageId, bool whitelist, uint256 startAt, uint256 duration, uint256 cap, address[] tokens, uint256[] prices)
createNextSaleStagesBatch(struct TokenSaleStagesSaleStageSchedule[] schedules)
deleteLastSaleStage()
deleteSaleStagePrices(uint256 stageId, address[] tokens)
deposit(address token, uint256 amount) payable
depositWithPermit(address token, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
freezeSellableToken()
freezeTeamWallet()
freezeTokenVesting()
grantWhitelist(address[] users)
recoverFunds(address user, address token, uint256 amount) returns (bool)
release(uint256 stageId, uint256 tokensToBuy, bytes signature)
removePaymentTokens(address[] tokens)
renounceOwnership()
revokeWhitelist(address[] users)
setAutoWithdrawRaisedFunds(bool status)
setCurrentStageId(uint256 newCurrentStageId)
setDepositsEnabled(bool status)
setMerkleRoot(bytes32 merkleRoot)
setPause(bool status)
setPurchaseSettings(bool isReleaseAllowed, bool isBuyAllowed, bool isBuyWithProofAllowed, bool isBuyWithPriceAllowed)
setSellableToken(address token, uint8 decimals)
setSigner(address newSigner)
setTeamWallet(address teamWallet)
setTokenVesting(address tokenVesting)
setWhitelistingByDeposit(bool status)
transferOwnership(address newOwner)
updateSaleStage(uint256 stageId, bool whitelist, uint256 startAt, uint256 duration, uint256 cap, address[] tokens, uint256[] prices)
updateSaleStagePrices(uint256 stageId, address[] tokens, uint256[] prices)
withdrawRaisedFunds(address[] tokens)
AutoWithdrawnRaisedFundsUpdated(bool status)
CurrentStageIdUpdated(uint256 currentStageId)
FundsRecovered(address indexed user, address indexed token, uint256 amount)
MerkleRootUpdated(bytes32 indexed merkleRoot)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
PaymentTokenAdded(address token)
PaymentTokenRemoved(address token)
PurchaseSettingsUpdated(bool isReleaseAllowed, bool isBuyAllowed, bool isBuyWithProofAllowed, bool isBuyWithPriceAllowed)
RaisedFundsDeposited(address indexed token, uint256 amount)
RaisedFundsWithdrawn(address indexed user, address indexed token, uint256 amount)
SaleStageDeleted(uint256 stageId)
SaleStagePriceUpdated(uint256 stageId, address token, uint256 price)
SaleStageUpdated(uint256 stageId, bool whitelist, uint256 startAt, uint256 duration, uint256 cap)
SellableTokenFrozen()
SellableTokenUpdated(address token, uint8 decimals)
SignerUpdated(address signer)
TeamWalletFrozen()
TeamWalletUpdated(address teamWallet)
TokenVestingFrozen()
TokenVestingUpdated(address tokenVesting)
TokensBought(address indexed user, uint256 indexed stageId, address indexed token, uint256 price, uint256 amount)
TokensReleased(address indexed user, uint256 indexed stageId, uint256 amount)
Unpaused(address account)
UpdatedDepositsEnabled(bool status)
UserFundsDeposited(address indexed user, address indexed token, uint256 amount)
UserFundsWithdrawn(address indexed user, address indexed token, uint256 amount)
UserSignatureNonceUsed(address indexed user, uint256 nonce)
WhitelistGranted(address indexed user)
WhitelistRevoked(address indexed user)
WhitelistingByDepositUpdated(bool status)
constructor(address sellableToken, uint8 sellableTokenDecimals)
This contract contains no fallback and receive objects.
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
AmountExceedsRecoverableFunds()
CapCannotBeLessThanSold()
DepositsDisabled()
ECDSAInvalidSignature()
ECDSAInvalidSignatureLength(uint256 length)
ECDSAInvalidSignatureS(bytes32 s)
EnforcedPause()
ExpectedPause()
FailedInnerCall()
InsufficientDepositBalance()
InsufficientFunds()
InvalidTokenAmount()
NotAuthorized()
NotWhitelisted()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ParametersMismatch()
PaymentTokenNotFound(address token)
PaymentTokenPriceIsZero()
RecipientIsZeroAddress()
ReentrancyGuardReentrantCall()
SafeERC20FailedOperation(address token)
SafeERC20PermitDidNotSucceed(address token)
SellableTokenDecimalsIsZero()
SellableTokenIsFrozen()
SellableTokenIsZero()
SignerIsZeroAddress()
StageAlreadyUsed()
StageIsNotActive()
StageNotExists()
TeamWalletIsFrozen()
TeamWalletIsZero()
ThisPurchaseMethodIsDisabled()
TokenVestingIsFrozen()
TokenVestingIsZero()
TooSmallPurchaseAmount()
WrongStageId()
WrongStartTime()