AdminUpgradeabilityProxy

Verified contract

Proxy

Active on Ethereum with 7 txns
Deployed by via 0x58a8e0ea at 11472318
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
--
0x93d23002a47021b086005a3e54c3f417ccf6241c5b553e655e933255777a0d69
0xfc99eac960ec3bb92246a85d0843b58e4ad0767b05a8490e780e34b4e3438c2b
0x79389fbdc33365c8d75dbed7defef1cdd135e81be36ae7663ce657b267c6c257
0x8f53bfec31eb6e319b73a5c9112a9df39d522d91d66088ca4f0cab6bd2e3d2f1
0x25921dc1a8eab20ca666a21e827afa8b3e3a2458b581c4e3db6f7b4ca1b5b0fa
0x3abbbe58b1ee0fad8e26a27a8f45417c81247d010d1b7c433278a1a71581ab25
0x62af2efd665a196e2db0bdedbfb0cee57fe4fb64bce70f6ac2562a8318e96885

Functions
Getter at block 20917978
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=0x0d3516183b8a7f6af742cae6d8d06ceabc4a1d6d, staking=0x67db05ae28bb340782d725e66ff05aa2b1d0ddb1, uniswap=0x7a250d5630b4cf539739df2c5dacb4c659f2488d, recipient=0x75424f0bfbed93e9103b007f2ab5c3bb6868d9a2)
auctionV1(view returns (address)
0xb1475c18ea63f025308eed9950b9f954acc742c0
calculateNearestWeeklyAuction(view returns (uint256)
1428
calculateStepsFromStart(view returns (uint256)
1424
 
getUniswapLastPrice(view returns (uint256)
 
getUniswapMiddlePriceForSevenDays(view returns (uint256)
init_(view returns (bool)
true
lastAuctionEventId(view returns (uint256)
34
lastAuctionEventIdV1(view returns (uint256)
34
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.