AdminUpgradeabilityProxy

Verified contract

Proxy

Active on Ethereum with 7 txns
Deployed by via 0x54fb17bc at 11466471
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 5 additional slots
-
variable spans 3 additional slots
ERC-20
--
0xb750667f7f11c0ef52a15ff1e504e1cabb449347f0ec1345bc4ff7f6c9494a5d
0x744333f21b6588f76caf92879bdccb309dee40ee247da21814f8c6acb89b7017
0x8b6aabcebb2aa226cc1b1ad365d201eebb26a64a4936116fbf458cf4ba424b74
0xf4ee6b7766c71ca03650d144823a87f9b884872077b934ac84e58251851cfd10
0x25cbe78c3d7d9c72a84d877690d65428a3c0adc2ae17e9fdf157d7299ba2597c
0xc4bc04cc9870592cf3412c80b3f66f90b1e516cad03a8cb33bef2802cd16860b
0x709522346512821cd7fc902e33e7596fa2d7e79b31bc17ca76285ba1e45e05c9

Functions
Getter at block 21102092
CALLER_ROLE(view returns (bytes32)
0x843c3a00fa95510a35f425371231fd3fe4642e719cb4595160763d6d02594b50
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MANAGER_ROLE(view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
MIGRATOR_ROLE(view returns (bytes32)
0x600e5f1c60beb469a3fa6dd3814a4ae211cc6259a6d033bae218a742f2af01d3
addresses(view returns (address mainTokenaddress stakingaddress uniswapaddress recipient)
(mainToken=0x045ee2adf51f96f412810f2195b7a50612dcbe30, staking=0x70ae8178a6ed7629e62e4a6b2f75b36b843b0462, uniswap=0x7a250d5630b4cf539739df2c5dacb4c659f2488d, recipient=0x75424f0bfbed93e9103b007f2ab5c3bb6868d9a2)
auctionV1(view returns (address)
0xb1475c18ea63f025308eed9950b9f954acc742c0
calculateNearestWeeklyAuction(view returns (uint256)
1456
calculateStepsFromStart(view returns (uint256)
1450
 
getUniswapLastPrice(view returns (uint256)
 
getUniswapMiddlePriceForSevenDays(view returns (uint256)
init_(view returns (bool)
true
lastAuctionEventId(view returns (uint256)
33
lastAuctionEventIdV1(view returns (uint256)
33
options(view returns (uint256 autoStakeDaysuint256 referrerPercentuint256 referredPercentbool referralsOnuint256 discountPercentuint256 premiumPercent)
(autoStakeDays=14, referrerPercent=20, referredPercent=10, referralsOn=true, discountPercent=20, premiumPercent=0)
start(view returns (uint256)
1605250956
stepTimestamp(view returns (uint256)
86400
Read-only
auctionBidOf(uint256addressview returns (uint256 ethaddress refbool withdrawn)
auctionsOf(addressuint256view returns (uint256)
auctionsOf_(address accountview returns (uint256[])
existAuctionsOf(uint256addressview returns (bool)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
reservesOf(uint256view returns (uint256 ethuint256 tokenuint256 uniswapLastPriceuint256 uniswapMiddlePrice)
State-modifying
admin(returns (address)
changeAdmin(address newAdmin
implementation(returns (address)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
bid(uint256 amountOutMinuint256 deadlineaddress refpayable 
callIncomeDailyTokensTrigger(uint256 amount
callIncomeWeeklyTokensTrigger(uint256 amount
grantRole(bytes32 roleaddress account
init(uint256 _stepTimestampaddress _mainTokenAddressaddress _stakingAddressaddress _uniswapAddressaddress _recipientAddressaddress _nativeSwapAddressaddress _foreignSwapAddressaddress _subbalancesAddressaddress _auctionV1Address
initialize(address _manageraddress _migrator
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setAuctionBidOf(uint256 sessionIdaddress[] userAddressesuint256[] ethsaddress[] refs
setAuctionsOf(address[] _userAddressesuint256[] _sessionPerAddressCountsuint256[] _sessionIds
setAutoStakeDays(uint256 _autoStakeDays
setDiscountPercent(uint256 percent
setExistAuctionsOf(uint256 sessionIdaddress[] userAddressesbool[] exists
setNormalVariables(uint256 _lastAuctionEventIduint256 _start
setPremiumPercent(uint256 percent
setReferralsOn(bool _referralsOn
setReferredPercentage(uint256 percent
setReferrerPercentage(uint256 percent
setReservesOf(uint256[] sessionIdsuint256[] ethsuint256[] tokensuint256[] uniswapLastPricesuint256[] uniswapMiddlePrices
withdraw(uint256 auctionId
withdrawV1(uint256 auctionId
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
AuctionIsOver(uint256 ethuint256 tokenuint256 indexed auctionId
Bid(address indexed accountuint256 valueuint256 indexed auctionIduint256 indexed time
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Withdraval(address indexed accountuint256 valueuint256 indexed auctionIduint256 indexed time
Constructor
constructor(address _logicaddress _adminbytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.