UNPKG

@chainlink/contracts

Version:

Chainlink smart contracts

198 lines (197 loc) 4.03 kB
[ { "inputs": [ { "internalType": "address", "name": "newFeeManager", "type": "address" } ], "name": "addFeeManager", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32[]", "name": "poolIds", "type": "bytes32[]" } ], "name": "claimRewards", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "startIndex", "type": "uint256" }, { "internalType": "uint256", "name": "endIndex", "type": "uint256" } ], "name": "getAvailableRewardPoolIds", "outputs": [ { "internalType": "bytes32[]", "name": "", "type": "bytes32[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "bytes32", "name": "poolId", "type": "bytes32" }, { "internalType": "uint192", "name": "amount", "type": "uint192" } ], "internalType": "struct IDestinationRewardManager.FeePayment[]", "name": "payments", "type": "tuple[]" }, { "internalType": "address", "name": "payee", "type": "address" } ], "name": "onFeePaid", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "poolId", "type": "bytes32" }, { "internalType": "address[]", "name": "recipients", "type": "address[]" } ], "name": "payRecipients", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "feeManager", "type": "address" } ], "name": "removeFeeManager", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "poolId", "type": "bytes32" }, { "components": [ { "internalType": "address", "name": "addr", "type": "address" }, { "internalType": "uint64", "name": "weight", "type": "uint64" } ], "internalType": "struct Common.AddressAndWeight[]", "name": "rewardRecipientAndWeights", "type": "tuple[]" } ], "name": "setRewardRecipients", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "poolId", "type": "bytes32" }, { "components": [ { "internalType": "address", "name": "addr", "type": "address" }, { "internalType": "uint64", "name": "weight", "type": "uint64" } ], "internalType": "struct Common.AddressAndWeight[]", "name": "newRewardRecipients", "type": "tuple[]" } ], "name": "updateRewardRecipients", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]