Skip to content

ITradingRewards

Description

Source: contracts/interfaces/ITradingRewards.sol

Views

getAvailableRewards

Source

Details

Signature

getAvailableRewards() view returns (uint256)

Visibility

external

State Mutability

view

getAvailableRewardsForAccountForPeriod

Source

Details

Signature

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

Visibility

external

State Mutability

view

getAvailableRewardsForAccountForPeriods

Source

Details

Signature

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

Visibility

external

State Mutability

view

getCurrentPeriod

Source

Details

Signature

getCurrentPeriod() view returns (uint256)

Visibility

external

State Mutability

view

getPeriodAvailableRewards

Source

Details

Signature

getPeriodAvailableRewards(uint256 periodID) view returns (uint256)

Visibility

external

State Mutability

view

getPeriodController

Source

Details

Signature

getPeriodController() view returns (address)

Visibility

external

State Mutability

view

getPeriodIsClaimable

Source

Details

Signature

getPeriodIsClaimable(uint256 periodID) view returns (bool)

Visibility

external

State Mutability

view

getPeriodIsFinalized

Source

Details

Signature

getPeriodIsFinalized(uint256 periodID) view returns (bool)

Visibility

external

State Mutability

view

getPeriodRecordedFees

Source

Details

Signature

getPeriodRecordedFees(uint256 periodID) view returns (uint256)

Visibility

external

State Mutability

view

getPeriodTotalRewards

Source

Details

Signature

getPeriodTotalRewards(uint256 periodID) view returns (uint256)

Visibility

external

State Mutability

view

getRewardsToken

Source

Details

Signature

getRewardsToken() view returns (address)

Visibility

external

State Mutability

view

getUnaccountedFeesForAccountForPeriod

Source

Details

Signature

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

Visibility

external

State Mutability

view

getUnassignedRewards

Source

Details

Signature

getUnassignedRewards() view returns (uint256)

Visibility

external

State Mutability

view

External Functions

claimRewardsForPeriod

Source

Details

Signature

claimRewardsForPeriod(uint256 periodID)

Visibility

external

State Mutability

``

claimRewardsForPeriods

Source

Details

Signature

claimRewardsForPeriods(uint256[] periodIDs)

Visibility

external

State Mutability

``

closeCurrentPeriodWithRewards

Source

Details

Signature

closeCurrentPeriodWithRewards(uint256 rewards)

Visibility

external

State Mutability

``

recordExchangeFeeForAccount

Source

Details

Signature

recordExchangeFeeForAccount(uint256 usdFeeAmount, address account)

Visibility

external

State Mutability

``

recoverAssignedRewardTokensAndDestroyPeriod

Source

Details

Signature

recoverAssignedRewardTokensAndDestroyPeriod(address recoverAddress, uint256 periodID)

Visibility

external

State Mutability

``

recoverTokens

Source

Details

Signature

recoverTokens(address tokenAddress, address recoverAddress)

Visibility

external

State Mutability

``

recoverUnassignedRewardTokens

Source

Details

Signature

recoverUnassignedRewardTokens(address recoverAddress)

Visibility

external

State Mutability

``

setPeriodController

Source

Details

Signature

setPeriodController(address newPeriodController)

Visibility

external

State Mutability

``