Class: Staker
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• Protected
new Staker()
Defined in
Properties
INCENTIVE_KEY_ABI
▪ Static
Private
INCENTIVE_KEY_ABI: string
= 'tuple(address rewardToken, address pool, uint256 startTime, uint256 endTime, address refundee)'
Defined in
INTERFACE
▪ Static
INTERFACE: Interface
Defined in
Methods
_encodeIncentiveKey
▸ Static
Private
_encodeIncentiveKey(incentiveKey
): Object
Parameters
Name | Type | Description |
---|---|---|
incentiveKey | IncentiveKey | An IncentiveKey which represents a unique staking program. |
Returns
Object
An encoded IncentiveKey to be read by ethers