MockRewardManager v0.2.5 API Reference
MockRewardManager
Mock reward manager.
Variables
i_linkAddress
address i_linkAddress
s_feeManagerAddress
address s_feeManagerAddress
Errors
Unauthorized
error Unauthorized()
Events
FeePaid
event FeePaid(struct IRewardManager.FeePayment[] payments, address payer)
Functions
claimRewards
function claimRewards(bytes32[]) external pure
constructor
constructor(address linkAddress) public
onFeePaid
function onFeePaid(struct IRewardManager.FeePayment[] payments, address payer) external
setFeeManager
function setFeeManager(address newFeeManager) external
supportsInterface
function supportsInterface(bytes4 interfaceId) external pure returns (bool)
_Returns true if this contract implements the interface defined by
interfaceId. See the corresponding
https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP
section] to learn more about how these ids are created.
This function call must use less than 30 000 gas._