StandardRewards
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
14
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
Balances ($0.00)
No balances found for "StandardRewards"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "StandardRewards"
ABI
ABI objects
Getter at block 21262347 programIds() view returns (uint256[])
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
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 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)
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 initNetwork, address initNetworkSettings, address initBNTGovernance, address initVBNT, address initBNTPool)
This contract contains no fallback and receive objects.
AccessDenied()
AlreadyExists()
AlreadyInitialized()
ArrayNotUnique()
DoesNotExist()
InvalidAddress()
InvalidParam()
NativeTokenAmountMismatch()
NotWhitelisted()
ProgramInactive()
ProgramSuspended()
RewardsTooHigh()
ZeroValue()