Skip to main content

ClaimlessRewardsTokenHandler

Reference

Contract: ClaimlessRewardsTokenHandler​

Inherits from:

  • ClaimlessRewardsState
  • ClaimlessRewardsEvents
  • Ownable
  • Context
  • Initializable


Functions​

registerToken (address _token) (external)​

Params

  • _token: The address of the token to be registered.

Adds tokens to be payable. Registration is pending until next cycle.


deregisterToken (address _token) (external)​

Params

  • _token: The address of the token to be deregistered.

Removes a token from the list of supported tokens. Deregistration is pending until next cycle.


getRegisteredTokens () → address[] (external)​

(external view) Returns the full list of registered tokens.


isRegistered (address _token) → bool (external)​

(external view) Returns whether a token is registered.


forward (address _token) (external)​

Params

  • _token: The token to forward. For ETH, this is 0xeeee... .

Forwards any balance held by this contract on to the store.