UNPKG

@chainlink/contracts

Version:

Chainlink smart contracts

251 lines (250 loc) 5.07 kB
[ { "inputs": [ { "internalType": "address", "name": "subscriber", "type": "address" }, { "internalType": "bytes", "name": "report", "type": "bytes" }, { "internalType": "address", "name": "quoteAddress", "type": "address" } ], "name": "getFeeAndReward", "outputs": [ { "components": [ { "internalType": "address", "name": "assetAddress", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "internalType": "struct Common.Asset", "name": "", "type": "tuple" }, { "components": [ { "internalType": "address", "name": "assetAddress", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "internalType": "struct Common.Asset", "name": "", "type": "tuple" }, { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "linkAvailableForPayment", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "configDigest", "type": "bytes32" } ], "name": "payLinkDeficit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "payload", "type": "bytes" }, { "internalType": "bytes", "name": "parameterPayload", "type": "bytes" }, { "internalType": "address", "name": "subscriber", "type": "address" } ], "name": "processFee", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "bytes[]", "name": "payloads", "type": "bytes[]" }, { "internalType": "bytes", "name": "parameterPayload", "type": "bytes" }, { "internalType": "address", "name": "subscriber", "type": "address" } ], "name": "processFeeBulk", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "configDigest", "type": "bytes32" }, { "components": [ { "internalType": "address", "name": "addr", "type": "address" }, { "internalType": "uint64", "name": "weight", "type": "uint64" } ], "internalType": "struct Common.AddressAndWeight[]", "name": "rewardRecipientAndWeights", "type": "tuple[]" } ], "name": "setFeeRecipients", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "surcharge", "type": "uint64" } ], "name": "setNativeSurcharge", "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": "address", "name": "subscriber", "type": "address" }, { "internalType": "bytes32", "name": "feedId", "type": "bytes32" }, { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint64", "name": "discount", "type": "uint64" } ], "name": "updateSubscriberDiscount", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "assetAddress", "type": "address" }, { "internalType": "address", "name": "recipientAddress", "type": "address" }, { "internalType": "uint192", "name": "quantity", "type": "uint192" } ], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]