MoonSaleCustom

Verified contract

Active on Ethereum with 1,148 txns
Deployed by via 0xe19923cb at 18970947
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $12,944.98
ERC-20
Value $5,812.3
0xd91530f1b19bfed7db7261ab0922089b4b8cc06ac25f27d13b366c10809c69cc
0x0d9423c4f8f54acada253d63a93d2087f074c6dbb8d52d59e0c6e841e2e5733b
0x4451cfc1c50299a3d18bee7f775492430b33570dcefcd43310b257a2205645f4
0x4b880aa0ee102f0a10212de3468358027569681299c738f7c10656762cbb5410
0xeadce6e2ed3242aea4db757eb394c303cdd971f4b5ad12dc04dea8bea0455437
0x8c69d9ff222d907f345c75c088d085ea7d09763a00f93a3d6d8f38e08b471021
0x2ece8469f51eb7ccca147b76d34fa0f5952787d5ecb30b8eafd43f0875ce79df
0x85c9b8437c28a25a2338ee84f5db41887f5fdaf0ee2718f2b25f62f18ef5e557
0xcbbbce918717891a7cd70b46f7fd304f0bae12adebdfe02ea9424f420fc6982c
0x67aed666b2295e7c5ede0981938b36ea8c9d1f17de312e29207e00863b719abe

Functions
Getter at block 21273361
BASE_POINTS(view returns (uint256)
10000
areClaimsPaused(view returns (bool)
false
claimTime(view returns (uint256)
1705053900
cliff(view returns (uint256)
7776000
endTime(view returns (uint256)
1704999600
getPaymentTokens(view returns (struct MoonSaleBasePaymentToken[])
[(0xdac17f958d2ee523a2206206994597c13d831ec7, 8000)]
getSaleData(view returns (address _rewardTokenuint256 _startTimeuint256 _endTimeuint256 _maxTotaluint256 _totaluint256 _availablestruct MoonSaleBasePaymentToken[] _paymentTokens)
(_rewardToken=0xc5d27f27f08d1fd1e3ebbaa50b3442e6c0d50439, _startTime=1704884400, _endTime=1704999600, _maxTotal=15625000000000000000000000, _total=11956315597125000000000000, _available=3668684402875000000000000, _paymentTokens=[(0xdac17f958d2ee523a2206206994597c13d831ec7, 8000)])
initialUnlock(view returns (uint256)
1000
maxTotal(view returns (uint256)
15625000000000000000000000
owner(view returns (address)
0x70127f2c6043fa9ed21f96e12c478fb34fe59b74
paused(view returns (bool)
false
rewardToken(view returns (address)
0xc5d27f27f08d1fd1e3ebbaa50b3442e6c0d50439
startTime(view returns (uint256)
1704884400
total(view returns (uint256)
11956315597125000000000000
totalAvailableAfter(view returns (uint256)
1765361100
totalRewards(view returns (uint256)
11956315597125000000000000
totalWithdrawn(view returns (uint256)
1580515400160526315789421
treasury(view returns (address)
0xb64e395cbfcdc46c993ed9f181e0161e4aa8798a
vesting(view returns (uint256)
52531200
vestingInterval(view returns (uint256)
3600
Read-only
allocations(addressview returns (uint256)
getAvailableAllocation(address _addressview returns (uint256)
getMaxAllocation(address _addressview returns (uint256)
getPriceInToken(address paymentTokenview returns (uint256)
getTokenAmount(address paymentTokenuint256 paymentAmountview returns (uint256)
getUserData(address _addressview returns (uint256 _allocationuint256 _rewarduint256 _available)
getWithdrawableAmount(address _userview returns (uint256)
paymentTokens(uint256view returns (address tokenuint256 price)
userInfo(addressview returns (uint256 rewarduint256 withdrawn)
State-modifying
addClaimants(address[] _claimantsuint256[] _claimAmounts
addPaymentToken(address _tokenuint256 _price
buy(address paymentTokenuint256 paymentAmount
claim(
emergencyWithdrawToken(address tokenAddress
freezeRewards(address[] _claimants
pauseClaims(
removePaymentToken(address _token
renounceOwnership(
resetPaymentTokens(address[] _tokensuint256[] _prices
setAllocations(address[] _addressesuint256[] _allocations
setEndTime(uint256 _endTime
setMaxTotal(uint256 _maxTotal
setStartTime(uint256 _startTime
setTreasury(address _treasury
setUserInfo(address[] _usersuint256[] _rewardsuint256[] _withdrawns
transferOwnership(address newOwner
unPauseClaims(
updateClaimTimestamp(uint256 _claimTime
withdrawRewardAmount(
Events
Bought(address indexed byaddress indexed paymentTokenuint256 paymentAmountuint256 buyAmount
ClaimantsAdded(address[] indexed claimantsuint256[] indexed amounts
ClaimsPaused(
ClaimsUnpaused(
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
PaymentTokenUpdated(address tokenuint256 price
PaymentTokensReset(
RewardClaimed(address indexed useruint256 indexed withdrawAmountuint256 totalWithdrawn
RewardsFrozen(address[] indexed claimants
Unpaused(address account
Constructor
constructor(address _saleTokenuint256 _priceaddress _defaultPaymentTokenuint256 _startTimeuint256 _endTimeuint256 _claimTimeuint256 _maxTotaladdress _treasuryuint256[4] _vestingData
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.