ERC1967Proxy

Verified contract

Proxy

Active on Ethereum with 3,105 txns
Deployed by via 0x54608cd0 at 20211870
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
14 additional variables

No balances found for "ERC1967Proxy"

0x56b6e35dc9908d52948b50dbe3061cbfbb5360aa8dff0da30b312ba4bab1f307
0x8488ad6c14530c77d1d80c0f286cc13eb56c129862004756257d436e5bf538bd
0xa2ee3fdf3ab8c241044b3c88a12bc454a31ef73c936ebd942d611fb6272574f0
0x1b85059ea7838f1e59faebadcbc3d7535d48b2f1961b6b763c38945668269a1c
0xdc63b64fe968994ceb3f4c280a4dd6dedaff0f1e7d21a0d7c1abadcca5e2593e
0xb98bd347abf7aea8b61c1096a634fcb57645422a2ffd6488f8ece329ec2ad291
0xda6a96e8a854e4dcdd0955f3a2e95b0071c883f39d7dcd362565cc44cdc65d9e
0x1ea77fdf9d5c37f0c0eb804ef69b71f3402cf811fdd0fb87a4e258647c1ec80f
0xe9a3224ed39bd59ca5dcce15af13c7fc4b339f58b4d487cfc05fcb230fc57b4b
0x8ec29ad663faad4da80728e191949f4af2859713e03bd3622c51d675e67b8874

Functions
Getter at block 21275687
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
SERVER_ROLE(view returns (bytes32)
0xa8a7bc421f721cb936ea99efdad79237e6ee0b871a2a08cf648691f9584cdc77
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
claimableToken(view returns (address)
0x0000000000000000000000000000000000000000
claimingActive(view returns (bool)
false
claimingMerkleRoot(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
claimingPhaseIndex(view returns (uint8)
0
claimingStartTimestamp(view returns (uint256)
0
currentPresalePhaseIndex(view returns (uint8)
8
 
getLocalClaimPhaseIndex(view returns (uint8)
getPresalePhaseIndex(view returns (uint8)
8
getTotalPresalePhases(view returns (uint8)
15
minimumPurchaseUsdAmount(view returns (uint256)
48000000000000000000
nativeCoinDataFeed(view returns (address)
0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419
nativeCoinDataFeedHeartbeat(view returns (uint256)
3600
nativeCoinEnabled(view returns (bool)
true
presaleState(view returns (uint8)
1
 
proxiableUUID(view returns (bytes32)
referralBonus(view returns (bool awardOnlyFirstPurchasebool enabled)
(awardOnlyFirstPurchase=false, enabled=true)
referralMerkleRoot(view returns (bytes32)
0xe32c7d56678802e5bd855d03b586b941a8351733281fa6adfe3677a53620b508
tokensSold(view returns (uint256)
115375990454301366558791666
totalUsdAmountRaised(view returns (uint256)
2289720861943232797410999
treasuryWallet(view returns (address)
0xb46844827a66a5b2f6ed2204a0057a8b7a3a9624
usdcStableCoinAddress(view returns (address)
0x0000000000000000000000000000000000000000
usdtStableCoinAddress(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
volumeBuyBonusEnabled(view returns (bool)
true
Read-only
claimingPhases(uint256view returns (uint256 phaseEnduint16 phasePercentage)
getClaimableAmount(address userbytes32[] merkleProofuint256 amountview returns (uint256)
getCost(address paymentTokenuint256 tokensToBuyuint256 amountToPayview returns (uint256 costuint256 tokensBoughtuint256 usdAmountuint256 volumeBuyBonusTokensuint256 referredBonusTokens)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTokensInfoPerPhase(uint8 phaseIndexview returns (struct IPresaleTokensInfoPerPhase)
hasRole(bytes32 roleaddress accountview returns (bool)
isSupportedPaymentToken(addressview returns (bool)
referralBonusTiers(uint8view returns (uint16 referrerPercentageuint16 referredPercentageuint128 thresholdUsdAmount)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenDataFeed(addressview returns (address)
tokenDataFeedHeartbeat(addressview returns (uint256)
tokensInfoPerPhase(uint256view returns (uint256 tokensPriceuint256 tokensSold)
userToAmountTokensBought(addressview returns (uint256)
userToBonusTokensAcquired(addressview returns (uint256)
userToClaimInfo(addressuint256view returns (uint256 claimedAmountuint256 phaseOfClaiminguint256 timestamp)
userToClaimedAmount(addressview returns (uint256)
userToFirstPurchaseMade(addressview returns (bool)
volumeBuyBonusTiers(uint8view returns (uint16 bonusPercentageuint128 thresholdUsdAmount)
wertWallets(addressview returns (bool)
State-modifying
buyTokens(string _referralCodebytes32[] _merkleProofReferraluint256 _amountToBuyaddress _paymentTokenAddresspayable 
buyTokensWert(string _referralCodebytes32[] _merkleProofReferraladdress _userToBuyForpayable 
claimTokens(bytes32[] merkleProofuint256 amount
emergencyWithdrawNativeCoin(address _touint256 amountToWithdraw
emergencyWithdrawToken(uint256 amountToWithdraw
grantRole(bytes32 roleaddress account
initialize(address _nativeCoinDataFeeduint256 _nativeCoinDataFeedHeartbeataddress _treasuryWalletuint128[] _tokenPricesPerPhaseaddress _tokenAddressaddress _hotWalletAddressaddress _estimationAddressuint256 _minimumPurchaseUsdAmountaddress _serverAddressbool _nativeCoinEnabled
initializeBonuses(struct IPresaleReferralBonusTierInfo _referralBonusTier1struct IPresaleReferralBonusTierInfo _referralBonusTier2bool _onlyFirstPurchasebool _referralBonusEnabledstruct IPresaleVolumeBuyBonusTierInfo _volumeBuyBonusTier1struct IPresaleVolumeBuyBonusTierInfo _volumeBuyBonusTier2struct IPresaleVolumeBuyBonusTierInfo _volumeBuyBonusTier3struct IPresaleVolumeBuyBonusTierInfo _volumeBuyBonusTier4bool _volumeBuyBonusEnabled
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
setClaimableToken(address _token
setClaiming(uint256[] _claimingPhaseVestingDurationsuint16[] _claimingPhasePercentagesuint256 _claimingStartTimestampbytes32 _merkleRoot
setClaimingActive(bool active
setEstimationAddress(address _estimationAddress
setHotWalletAddress(address _hotWalletAddress
setMinimumPurchaseUsdAmount(uint256 _minimumPurchaseUsdAmount
setPaymentToken(address _paymentTokenbool enabled
setPresalePhase(uint8 _phaseIndex
setPresaleState(uint8 _presaleState
setReferralBonus(bool onlyFirstPurchasebool enabled
setReferralBonusTier(uint8 referralBonusTieruint16 referrerPercentageuint16 referredPercentageuint128 thresholdUsdAmount
setUsdcStableCoinAddress(address _usdcStableCoinAddressbool enabled
setUsdtStableCoinAddress(address _usdtStableCoinAddressbool enabled
setVolumeBuyBonusEnabled(bool _enabled
setVolumeBuyBonusTier(uint8 _volumeBuyBonusTieruint16 _bonusPercentageuint128 _thresholdUsdAmount
updateClaimingMerkleRoot(bytes32 _claimingMerkleRoot
updateNativeCoinDataFeed(address _dataFeeduint256 _heartbeat
updateReferralMerkleRoot(bytes32 _referralMerkleRoot
updateTokenDataFeed(address _tokenaddress _dataFeeduint256 _heartbeat
updateTreasuryWallet(address _treasuryWallet
upgradeToAndCall(address newImplementationbytes datapayable 
Events
Upgraded(address indexed implementation
BonusTokensEvent(address indexed buyeruint256 amountOfBonusTokensuint256 timestampuint8 presalePhase
BonusesInitializedEvent(struct IPresaleReferralBonusTierInfo referralBonusTier1struct IPresaleReferralBonusTierInfo referralBonusTier2bool awardOnlyFirstPurchasebool referralBonusEnabledstruct IPresaleVolumeBuyBonusTierInfo volumeBuyBonusTier1struct IPresaleVolumeBuyBonusTierInfo volumeBuyBonusTier2struct IPresaleVolumeBuyBonusTierInfo volumeBuyBonusTier3struct IPresaleVolumeBuyBonusTierInfo volumeBuyBonusTier4bool volumeBuyBonusEnabled
ClaimableTokenSetEvent(address claimableToken
ClaimingMerkleRootUpdatedEvent(bytes32 claimingMerkleRoot
ClaimingSetEvent(uint256 claimingStartTimestampuint256[] claimingPhaseVestingDurationsuint16[] claimingPhasePercentagesbytes32 claimingMerkleRoot
ClaimingStateChangedEvent(bool state
EstimationAddressSetEvent(address estimationAddress
HotWalletAddressSetEvent(address hotWalletAddress
Initialized(uint64 version
MinimumPurchaseUsdAmountSetEvent(uint256 minimumPurchaseUsdAmount
NativeCoinDataFeedUpdatedEvent(address nativeCoinDataFeeduint256 nativeCoinDataFeedHeartbeat
NativeCoinWithdrawnEvent(address indexed recipientuint256 amount
PaymentInitializedEvent(address nativeCoinDataFeeduint256 nativeCoinDataFeedHeartbeats
PaymentTokenSetEvent(address paymentTokenbool enabled
PresaleInitializedEvent(address _nativeCoinDataFeedaddress _treasuryWalletuint128[] _tokenPricesPerPhaseaddress _tokenAddressaddress _hotWalletAddressaddress _estimationAddressuint256 _minimumPurchaseUsdAmountaddress _serverAddressbool _nativeCoinEnabled
PresalePhaseSetEvent(uint256 phaseIndex
PresaleStateChangedEvent(uint8 state
ReferralBonusSetEvent(bool awardOnlyFirstPurchasebool enabled
ReferralBonusTierSetEvent(uint8 tieruint16 referrerPercentageuint16 referredPercentageuint128 thresholdUsdAmount
ReferralMerkleRootUpdatedEvent(bytes32 referralMerkleRoot
ReferrerBonusEvent(uint256 referrerBonusUsdtuint256 timestampuint8 presalePhasestring referralCode
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
RolesInitializedEvent(address adminaddress server
TokenDataFeedUpdatedEvent(address tokenAddressaddress tokenDataFeeduint256 tokenDataFeedHeartbeat
TokensBoughtEvent(address indexed buyeraddress indexed paymentTokenuint256 amountPaiduint256 amountOfTokensBoughtuint8 presalePhaseuint256 timestampuint256 bonusTokensuint256 usdAmountbool isValidProofstring referralCode
TokensBoughtWertEvent(address indexed buyeruint256 amountPaiduint256 amountOfTokensBoughtuint8 presalePhaseuint256 timestampuint256 bonusTokensuint256 usdAmountbool isValidProofstring referralCode
TokensClaimedEvent(address indexed useruint256 amount
TokensWithdrawnEvent(address indexed recipientuint256 amount
TreasuryWalletInitializedEvent(address treasuryWallet
TreasuryWalletUpdatedEvent(address treasuryWallet
Upgraded(address indexed implementation
VolumeBuyBonusEnabledEvent(bool enabled
VolumeBuyBonusTierSetEvent(uint8 tieruint16 bonusPercentageuint128 thresholdUsdAmount
Constructor
constructor(address implementationbytes _data
Fallback and receive
fallback(
Errors
AddressEmptyCode(address target
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
ClaimingNotActiveError(
ClaimingNotSetError(
DataFeedHeartbeatError(
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
ExceedsMaxPhasesError(
FailedInnerCall(
FailedToRefundExtraFundsError(address user
FailedToSendToTreasuryError(
InsufficientFundsError(uint256 requireduint256 sent
InvalidAddressError(address _address
InvalidClaimingDataError(
InvalidDecimalsError(
InvalidExchangeRateError(uint256 rate
InvalidHeartbeatError(
InvalidInitialization(
InvalidPaymentTokenError(address paymentToken
InvalidSenderAddressError(address sender
InvalidTokenDataFeedError(address tokenDataFeed
InvalidTokenRecipientAddressError(address recipient
MinimumPurchaseError(
NativeCoinNotEnabledError(
NoTokensToClaimError(
NotInitializing(
PresaleNotActiveError(
SafeERC20FailedOperation(address token
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot
UnsupportedERC20PaymentTokenError(address paymentToken
WithdrawalFailedError(
ZeroAddressError(
ZeroValueError(