Skip to content

ITradingRewards

Description

Source: contracts/interfaces/ITradingRewards.sol

Views

getAvailableRewards

Source

Details

Signature

getAvailableRewards() returns (uint256)

Visibility

external

State Mutability

view

getAvailableRewardsForAccountForPeriod

Source

Details

Signature

getAvailableRewardsForAccountForPeriod(address account, uint256 periodID) returns (uint256)

Visibility

external

State Mutability

view

getAvailableRewardsForAccountForPeriods

Source

Details

Signature

getAvailableRewardsForAccountForPeriods(address account, uint256[] periodIDs) returns (uint256)

Visibility

external

State Mutability

view

getCurrentPeriod

Source

Details

Signature

getCurrentPeriod() returns (uint256)

Visibility

external

State Mutability

view

getPeriodAvailableRewards

Source

Details

Signature

getPeriodAvailableRewards(uint256 periodID) returns (uint256)

Visibility

external

State Mutability

view

getPeriodController

Source

Details

Signature

getPeriodController() returns (address)

Visibility

external

State Mutability

view

getPeriodIsClaimable

Source

Details

Signature

getPeriodIsClaimable(uint256 periodID) returns (bool)

Visibility

external

State Mutability

view

getPeriodIsFinalized

Source

Details

Signature

getPeriodIsFinalized(uint256 periodID) returns (bool)

Visibility

external

State Mutability

view

getPeriodRecordedFees

Source

Details

Signature

getPeriodRecordedFees(uint256 periodID) returns (uint256)

Visibility

external

State Mutability

view

getPeriodTotalRewards

Source

Details

Signature

getPeriodTotalRewards(uint256 periodID) returns (uint256)

Visibility

external

State Mutability

view

getRewardsToken

Source

Details

Signature

getRewardsToken() returns (address)

Visibility

external

State Mutability

view

getUnaccountedFeesForAccountForPeriod

Source

Details

Signature

getUnaccountedFeesForAccountForPeriod(address account, uint256 periodID) returns (uint256)

Visibility

external

State Mutability

view

getUnassignedRewards

Source

Details

Signature

getUnassignedRewards() returns (uint256)

Visibility

external

State Mutability

view

External Functions

claimRewardsForPeriod

Source

Details

Signature

claimRewardsForPeriod(uint256 periodID)

Visibility

external

State Mutability

nonpayable

claimRewardsForPeriods

Source

Details

Signature

claimRewardsForPeriods(uint256[] periodIDs)

Visibility

external

State Mutability

nonpayable

closeCurrentPeriodWithRewards

Source

Details

Signature

closeCurrentPeriodWithRewards(uint256 rewards)

Visibility

external

State Mutability

nonpayable

recordExchangeFeeForAccount

Source

Details

Signature

recordExchangeFeeForAccount(uint256 usdFeeAmount, address account)

Visibility

external

State Mutability

nonpayable

recoverAssignedRewardTokensAndDestroyPeriod

Source

Details

Signature

recoverAssignedRewardTokensAndDestroyPeriod(address recoverAddress, uint256 periodID)

Visibility

external

State Mutability

nonpayable

recoverEther

Source

Details

Signature

recoverEther(address payable recoverAddress)

Visibility

external

State Mutability

nonpayable

recoverTokens

Source

Details

Signature

recoverTokens(address tokenAddress, address recoverAddress)

Visibility

external

State Mutability

nonpayable

recoverUnassignedRewardTokens

Source

Details

Signature

recoverUnassignedRewardTokens(address recoverAddress)

Visibility

external

State Mutability

nonpayable

setPeriodController

Source

Details

Signature

setPeriodController(address newPeriodController)

Visibility

external

State Mutability

nonpayable