AdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 7 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
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
0xb147…42c0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
PBJ-V2 | ERC-20 | 5.024109B | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11466527 | 4 years ago | | | 0 | 0.069246000 | |
| 11466505 | 4 years ago | | | 0 | 0.017749350 | |
| 11466504 | 4 years ago | | | 0 | 0.017749350 | |
| 11466502 | 4 years ago | | | 0 | 0.017749350 | |
| 11466501 | 4 years ago | | | 0 | 0.18586035 | |
| 11466499 | 4 years ago | | | 0 | 0.23803515 | |
| 11466496 | 4 years ago | | | 0 | 0.012980550 |
ABI
ABI objects
Getter at block 21102092 getUniswapLastPrice() view returns (uint256) getUniswapMiddlePriceForSevenDays() view returns (uint256)
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 mainToken, address staking, address uniswap, address recipient)
(mainToken=0x045ee2adf51f96f412810f2195b7a50612dcbe30, staking=0x70ae8178a6ed7629e62e4a6b2f75b36b843b0462, uniswap=0x7a250d5630b4cf539739df2c5dacb4c659f2488d, recipient=0x75424f0bfbed93e9103b007f2ab5c3bb6868d9a2)
auctionV1() view returns (address)
0xb1475c18ea63f025308eed9950b9f954acc742c0
calculateNearestWeeklyAuction() view returns (uint256)
1456
calculateStepsFromStart() view returns (uint256)
1450
init_() view returns (bool)
true
lastAuctionEventId() view returns (uint256)
33
lastAuctionEventIdV1() view returns (uint256)
33
options() view returns (uint256 autoStakeDays, uint256 referrerPercent, uint256 referredPercent, bool referralsOn, uint256 discountPercent, uint256 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(uint256, address) view returns (uint256 eth, address ref, bool withdrawn)
auctionsOf(address, uint256) view returns (uint256)
auctionsOf_(address account) view returns (uint256[])
existAuctionsOf(uint256, address) view returns (bool)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
reservesOf(uint256) view returns (uint256 eth, uint256 token, uint256 uniswapLastPrice, uint256 uniswapMiddlePrice)
State-modifying
Events admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
bid(uint256 amountOutMin, uint256 deadline, address ref) payable
callIncomeDailyTokensTrigger(uint256 amount)
callIncomeWeeklyTokensTrigger(uint256 amount)
grantRole(bytes32 role, address account)
init(uint256 _stepTimestamp, address _mainTokenAddress, address _stakingAddress, address _uniswapAddress, address _recipientAddress, address _nativeSwapAddress, address _foreignSwapAddress, address _subbalancesAddress, address _auctionV1Address)
initialize(address _manager, address _migrator)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setAuctionBidOf(uint256 sessionId, address[] userAddresses, uint256[] eths, address[] refs)
setAuctionsOf(address[] _userAddresses, uint256[] _sessionPerAddressCounts, uint256[] _sessionIds)
setAutoStakeDays(uint256 _autoStakeDays)
setDiscountPercent(uint256 percent)
setExistAuctionsOf(uint256 sessionId, address[] userAddresses, bool[] exists)
setNormalVariables(uint256 _lastAuctionEventId, uint256 _start)
setPremiumPercent(uint256 percent)
setReferralsOn(bool _referralsOn)
setReferredPercentage(uint256 percent)
setReferrerPercentage(uint256 percent)
setReservesOf(uint256[] sessionIds, uint256[] eths, uint256[] tokens, uint256[] uniswapLastPrices, uint256[] uniswapMiddlePrices)
withdraw(uint256 auctionId)
withdrawV1(uint256 auctionId)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
AuctionIsOver(uint256 eth, uint256 token, uint256 indexed auctionId)
Bid(address indexed account, uint256 value, uint256 indexed auctionId, uint256 indexed time)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Withdraval(address indexed account, uint256 value, uint256 indexed auctionId, uint256 indexed time)
constructor(address _logic, address _admin, bytes _data)
fallback()
receive()
This contract contains no error objects.