Skip to main content

ClaimlessRewardsWithdrawHandler

Reference

Contract: ClaimlessRewardsWithdrawHandler​

Inherits from:

  • ClaimlessRewardsCycleHandler
  • ClaimlessRewardsState
  • ClaimlessRewardsEvents


Functions​

getNextEpochFromTimestamp (uint256 _target) → uint256 (public)​


darknodeBalances (address _node, address _token) → uint256 (external)​


withdrawToken (address[] _nodes, address _token) (public)​

Withdraw the provided asset for each node in the list.


withdrawMultiple (address[] _nodes, address[] _tokens) (public)​

Withdraw multiple assets for each darknode in the list. The interface has been kept the same as the DarknodePayment contract for backward-compatibility.


withdraw (address _node, address _token) (public)​

Withdraw the provided asset for the given darknode. The interface has been kept the same as the DarknodePayment contract for backward-compatibility.


withdrawToCommunityFund (address[] _tokens) (public)​


_calculateNewWithdrawable (address _node, address _token) → uint256, uint256 (internal)​