StandardRewards

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xd562c7c3 at 14623884
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 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 41 additional slots

No balances found for "StandardRewards"

No transactions found for "StandardRewards"


Functions
Getter at block 21216590
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
 
programIds(view returns (uint256[])
roleAdmin(pure returns (bytes32)
0x2172861495e7b85edac73e3cd5fbb42dd675baadf627720e687bcfdaca025096
version(pure returns (uint16)
3
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isProgramActive(uint256 idview returns (bool)
isProgramEnabled(uint256 idview returns (bool)
latestProgramId(address poolview returns (uint256)
pendingRewards(address provideruint256[] idsview returns (uint256)
programRewards(uint256 idview returns (struct Rewards)
programStake(uint256 idview returns (uint256)
programs(uint256[] idsview returns (struct ProgramData[])
providerProgramIds(address providerview returns (uint256[])
providerRewards(address provideruint256 idview returns (struct ProviderRewards)
providerStake(address provideruint256 idview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
claimRewards(uint256[] idsreturns (uint256)
createProgram(address pooladdress rewardsTokenuint256 totalRewardsuint32 startTimeuint32 endTimereturns (uint256)
depositAndJoin(uint256 iduint256 tokenAmountpayable 
depositAndJoinPermitted(uint256 iduint256 tokenAmountuint256 deadlineuint8 vbytes32 rbytes32 s
enableProgram(uint256 idbool status
grantRole(bytes32 roleaddress account
initialize(
join(uint256 iduint256 poolTokenAmount
joinPermitted(uint256 iduint256 poolTokenAmountuint256 deadlineuint8 vbytes32 rbytes32 s
leave(uint256 iduint256 poolTokenAmount
postUpgrade(bytes data
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
stakeRewards(uint256[] idsreturns (struct StakeAmounts)
terminateProgram(uint256 id
transferProviderVBNT(address[] providersuint256[] amounts
Events
ProgramCreated(address indexed pooluint256 indexed programIdaddress indexed rewardsTokenuint256 totalRewardsuint32 startTimeuint32 endTime
ProgramEnabled(address indexed pooluint256 indexed programIdbool statusuint256 remainingRewards
ProgramTerminated(address indexed pooluint256 indexed programIduint32 endTimeuint256 remainingRewards
ProviderJoined(address indexed pooluint256 indexed programIdaddress indexed provideruint256 poolTokenAmountuint256 prevStake
ProviderLeft(address indexed pooluint256 indexed programIdaddress indexed provideruint256 poolTokenAmountuint256 remainingStake
RewardsClaimed(address indexed pooluint256 indexed programIdaddress indexed provideruint256 amount
RewardsStaked(address indexed pooluint256 indexed programIdaddress indexed provideruint256 amount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor
constructor(address initNetworkaddress initNetworkSettingsaddress initBNTGovernanceaddress initVBNTaddress initBNTPooladdress initExternalRewardsVault
Fallback and receive
receive(
Errors
AccessDenied(
AlreadyExists(
AlreadyInitialized(
ArrayNotUnique(
DoesNotExist(
InsufficientFunds(
InvalidAddress(
InvalidParam(
NativeTokenAmountMismatch(
NotWhitelisted(
PermitUnsupported(
PoolMismatch(
ProgramDisabled(
ProgramInactive(
RewardsTokenMismatch(
RewardsTooHigh(
ZeroValue(