TransparentUpgradeableProxyImmutable
Verified contract
Proxy
Active on
Ethereum with 11,012 txns
Unified storage
Map
Table
Raw
Constants and immutables
5
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 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 41 additional slots
1 additional
variable
Balances ($337.93)
Native
Value
$337.93
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.1 | $3,379.32 |
$337.93 | |
bnDAPP | ERC-20 | 42.760328M | -- | -- | |
bnCROWN | ERC-20 | 12.198743M | -- | -- | |
bnBNT | ERC-20 | 1.926865M | -- | -- | |
bnACRE | ERC-20 | 371.777347K | -- | -- | |
bnLINK | ERC-20 | 169.090828K | -- | -- | |
bnDAI | ERC-20 | 15.53253K | -- | -- | |
bnETH | ERC-20 | 1.479397K | -- | -- | |
HQG | ERC-20 | 0.0012 | -- | -- |
Transactions
ABI
ABI objects
Getter at block 21262347
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
programIds() view returns (uint256[])
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
roleAdmin() pure returns (bytes32)
0x2172861495e7b85edac73e3cd5fbb42dd675baadf627720e687bcfdaca025096
version() pure returns (uint16)
4
Read-only
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)
isProgramActive(uint256 id) view returns (bool)
isProgramPaused(uint256 id) view returns (bool)
latestProgramId(address pool) view returns (uint256)
pendingRewards(address provider, uint256[] ids) view returns (uint256)
programRewards(uint256 id) view returns (struct Rewards)
programStake(uint256 id) view returns (uint256)
programs(uint256[] ids) view returns (struct ProgramData[])
providerProgramIds(address provider) view returns (uint256[])
providerRewards(address provider, uint256 id) view returns (struct ProviderRewards)
providerStake(address provider, uint256 id) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events admin() returns (address)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
claimRewards(uint256[] ids) returns (uint256)
createProgram(address pool, uint256 totalRewards, uint32 startTime, uint32 endTime) returns (uint256)
depositAndJoin(uint256 id, uint256 tokenAmount) payable
grantRole(bytes32 role, address account)
initialize()
join(uint256 id, uint256 poolTokenAmount)
leave(uint256 id, uint256 poolTokenAmount)
pauseProgram(uint256 id, bool pause)
postUpgrade(bytes data)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
stakeRewards(uint256[] ids) returns (struct StakeAmounts)
terminateProgram(uint256 id)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
ProgramCreated(address indexed pool, uint256 indexed programId, address indexed rewardsToken, uint256 totalRewards, uint32 startTime, uint32 endTime)
ProgramPaused(address indexed pool, uint256 indexed programId, bool paused)
ProgramTerminated(address indexed pool, uint256 indexed programId, uint32 endTime)
ProviderJoined(address indexed pool, uint256 indexed programId, address indexed provider, uint256 poolTokenAmount, uint256 prevStake)
ProviderLeft(address indexed pool, uint256 indexed programId, address indexed provider, uint256 poolTokenAmount, uint256 remainingStake)
RewardsClaimed(address indexed pool, uint256 indexed programId, address indexed provider, uint256 amount)
RewardsStaked(address indexed pool, uint256 indexed programId, address indexed provider, uint256 amount)
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)
constructor(address logic, address initAdmin, bytes data)
fallback()
receive()
AccessDenied()
InvalidAddress()
AccessDenied()
AlreadyExists()
AlreadyInitialized()
ArrayNotUnique()
DoesNotExist()
InvalidAddress()
InvalidParam()
NativeTokenAmountMismatch()
NotWhitelisted()
ProgramInactive()
ProgramSuspended()
RewardsTooHigh()
ZeroValue()