TokenSale

Verified contract

Active on Ethereum with 123 txns
Deployed by via 0x4eeb25bd at 17876816
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "TokenSale"

0x5a7bc85997bfb48652fcea3b46e8793c39fb0993b3cb36d9601caa2cbc9bbc5d
0xf339c02552a8e9419f542905926dc5d2676d99a382ca262a53ce69e0a8c2118f
0x10c68f738c25813afd49db69cdb719c8bfe070daccdebcd82869091ce435771d
0xa04a4d8563f5c6705dcb7f8e51babe050809ac69939f75803a33ebd75eb7a1bb
0x40fd56f6c09d7579a659caf113272e5795c3ebe7bd607387221349fd099ef2c3
0x2b089ac082087947822cb1ba886ba1696d39282c6a0e48cdfa3874e615de9a06
0x4d3a7bf0cdf6d5390eab42d5ffc78aba9b921ac5cea43115f65a5dc30be0da60
0x63315cc6e6a28dfee754dbb39abce3bbfc6447353d2432df751d1d29f2b4c969
0xd60a19cf7e550341ee817b29ef8e336ea878dfcce07ebf4595300164cbd6efa4
0x69a7ce92f440b4e5e5281974d1945ed4f338a4869145c048f5ed2c765fb2a2f4

Functions
Getter at block 21187441
base(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
cap(view returns (uint128)
30000000000000000000000
getPrice(view returns (uint256)
5800000000000000
owner(view returns (address)
0x45de54d713adaf7aa6a35de247abf688670866e7
priceData(view returns (uint96 initialPriceuint32 upRatiouint128 variation)
(initialPrice=5800000000000000, upRatio=0, variation=1000000000000000000)
quota(view returns (address)
0x0000000000000000000000000000000000000000
saleTimeData(view returns (uint64 whitelistSaleTimeuint64 publicSaleTimeuint64 saleDuration)
(whitelistSaleTime=1691672395, publicSaleTime=1691672395, saleDuration=86400)
signer(view returns (address)
0x7ca9f03ffaefc3ff1e9fea46187928d7014e87fa
totalSold(view returns (uint128)
30000000000000000000000
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
whitelistSaleCap(view returns (uint128)
0
whitelistSold(view returns (uint128)
0
Read-only
claimed(addressview returns (bool)
isSupported(addressview returns (bool)
shares(addressview returns (uint256)
State-modifying
buy(address _tokenuint256 _amountInuint256 _minOutbytes signaturepayable returns (uint256)
claim(
renounceOwnership(
transferOwnership(address newOwner
updateCap(uint128 _capuint128 _whitelistSaleCap
updatePrice(uint96 _initialPriceuint32 _upRatiouint128 _variation
updateQuotaToken(address _quota
updateSaleTime(uint64 _whitelistSaleTimeuint64 _publicSaleTimeuint64 _publicSaleDuration
updateSigner(address _signer
updateSupportedTokens(address[] _tokensbool _status
withdrawFund(address[] _tokensaddress _recipient
Events
Buy(address indexed senderaddress _tokenuint256 _amountInuint256 _refundAmountuint256 _amountOut
Claim(address indexed _recipientuint256 _claimAmount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
UpdateCap(uint128 _capuint256 _whitelistSaleCap
UpdatePrice(uint256 _initialPriceuint256 _upRatiouint256 _variation
UpdateSaleTime(uint256 _whitelistSaleTimeuint256 _publicSaleTimeuint256 _publicSaleDuration
UpdateSupportedToken(address indexed _tokenbool _status
Constructor
constructor(address _wethaddress _baseaddress _signeruint128 _capuint128 _whitelistSaleCapuint64 _whitelistSaleTimeuint64 _publicSaleTimeuint64 _publicSaleDurationuint96 _initialPriceuint32 _upRatiouint128 _variationaddress[] _tokens
Fallback and receive
receive(
Errors

This contract contains no error objects.