TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 193 txns
Deployed by via 0xea31ec26 at 20076998
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
4 additional variables
ERC-20
--
0x6791a4fdd6cbb8aaef0643c7bc7d8214b799a56b410d63d4b5b8f3cd075dccaa
0x55b06b903639b308999502bea23f7bd9e306e223d0f39d657bcabec84385837c
0xcf521691f89527338c7deab214a29718dd4b3df7a4557d6e22fc58a199c41bc4
0x72ba0942188fd94f980a8ad94612c7d4bc8296aed6b5650e520ade89feec0ad5
0x495dc5979623b3d6d5b34b30b946226e94a92699c29dd83d5f8462740b8aeba5
0xbc8e87e9e0589da99126a4e1a0dfbeb1805c8baaa73bf2c47b05a6deeb270610
0xd2376c06ac50291fc826d00123c920af89089db475b6d6807e50fb709cfb3b41
0x6fa76ad8fdb4562ad92537a36ab1c81c14f8e762006ae222de873f8748d29ebc
0xee261833fdfdf1a033495da47c10112c2ade6cf087c8ec66d6e94f2c03877433
0x916fd6dee55950155ba146ac3bea452cd09bea031647e2c24d9b3a10d5c90be7

Functions
Getter at block 21224731
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
PERCENT_DENOMINATOR(view returns (uint256)
10000
WW3SHIBAToken(view returns (address)
0x267b6edc49a40825cd0cdac20003633384639140
currentStage(view returns (uint256)
0
 
getAllStagesInfo(view returns (struct WW3SHIBASaleStage[])
getCurrentStageInfo(view returns (uint256 tokensToSaleuint256 tokensSolduint256 priceInUSDuint256 bonusPercentuint256 _currentStageuint256 nextStagePriceInUsd)
(tokensToSale=150000000000000000000000000, tokensSold=60354412666981490071896445, priceInUSD=100000, bonusPercent=0, _currentStage=0, nextStagePriceInUsd=130000)
getStagesLength(view returns (uint256)
10
paused(view returns (bool)
false
priceFeedEth(view returns (address)
0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419
priceFeedUsdt(view returns (address)
0x3e7d1eab13ad0104d2750b8863b489d65364e32d
saleDeadline(view returns (uint256)
1728578387
totalRewards(view returns (uint256)
0
totalRewardsClaimed(view returns (uint256)
0
totalTokensClaimed(view returns (uint256)
0
totalTokensSold(view returns (uint256)
60354412666981490071896445
totalTokensToBeDistributed(view returns (uint256)
2150000000000000000000000000
treasury(view returns (address)
0x808d6d6303ca3b334a70098315ab529df02ad044
usdt(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
userRewardPercent(view returns (uint256)
1000
Read-only
claimableTokens(addressview returns (uint256)
getCurrencyAmountFromTokenAmount(uint256 tokensbool isEthview returns (uint256 amount)
getRewardsForReferrer(address referrerview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTokenAmountFromCurrencyAmount(uint256 amountbool isEthview returns (uint256 tokens)
getUserBalances(address userview returns (uint256 WW3SHIBABalanceuint256 usdtBalanceuint256 ethBalance)
hasRole(bytes32 roleaddress accountview returns (bool)
referralRewards(addressview returns (uint256)
stages(uint256view returns (uint256 tokensToSaleuint256 tokensSolduint256 priceInUSDuint256 bonusPercent)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
buyFor(address useraddress referreruint256 amountWW3SHIBA
buyTokensWithEth(address referrerpayable 
buyTokensWithUsdt(uint256 usdtAmountaddress referrer
claimAll(
claimReferralReward(
claimTokens(
grantRole(bytes32 roleaddress account
initialize(address _tokenaddress _usdtaddress _priceFeedEthaddress _priceFeedUsdtaddress _treasury
pause(
recalculateStages(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setPriceFeedEth(address _priceFeedEth
setPriceFeedUsdt(address _priceFeedUsdt
setRewardPercent(uint256 _userRewardPercent
setSaleDeadline(uint256 newDeadline
setTreasury(address _treasury
setUsdt(address _usdt
setWW3SHIBAToken(address _token
unpause(
withdrawRemainder(uint256 amount
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
ClaimDateExtended(uint256 newClaimDate
DeadlineExtended(uint256 newDeadline
Initialized(uint8 version
Paused(address account
PriceFeedEthChanged(address newPriceFeedEth
PriceFeedUsdtChanged(address newPriceFeedUsdt
ReferrerRewardsPaid(address referreruint256 amount
RemainderWithdrawn(address treasuryuint256 amountWithdrawn
RewardPercentChanged(uint256 userRewardPercent
RewardsDistributed(uint256 distributedRewardsaddress referrer
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
StageAdded(uint256 tokensuint256 priceInUSD
TokensBought(address buyeruint256 amount
TokensClaimed(address claimeruint256 amount
TreasuryChanged(address newTreasury
Unpaused(address account
UsdtChanged(address newUsdt
WW3SHIBATokenChanged(address newWW3SHIBAToken
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
receive(
Errors
AllStagesCompleted(
CallerIsNotAdmin(
CallerIsNotAffiliateAdmin(
ClaimDateNotReached(
ClaimEnded(
ContractPaused(
DeadlineNotReached(
NewDeadlineIsInPast(
NotEnoughTokensInLastStage(
NotEnoughTokensInNextStage(
NotEnoughTokensInStageToDistribute(
PercentEqualOrGreaterThanDenominator(
ReferrerIsNotRegistered(
ReferrerIsSender(
TokenSaleEnded(
TransferFailed(
ZeroAddress(
ZeroAmount(