UNPKG

@chainlink/contracts

Version:

Chainlink smart contracts

840 lines (839 loc) 17.3 kB
[ { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address[]", "name": "senders", "type": "address[]" }, { "indexed": false, "internalType": "address", "name": "changedBy", "type": "address" } ], "name": "AuthorizedSendersChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "requestId", "type": "bytes32" }, { "indexed": false, "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "indexed": false, "internalType": "uint96", "name": "signerPayment", "type": "uint96" }, { "indexed": false, "internalType": "uint96", "name": "transmitterPayment", "type": "uint96" }, { "indexed": false, "internalType": "uint96", "name": "totalCost", "type": "uint96" }, { "indexed": false, "internalType": "bool", "name": "success", "type": "bool" } ], "name": "BillingEnd", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "requestId", "type": "bytes32" }, { "components": [ { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "address", "name": "client", "type": "address" }, { "internalType": "uint32", "name": "gasLimit", "type": "uint32" }, { "internalType": "uint256", "name": "gasPrice", "type": "uint256" }, { "internalType": "address", "name": "don", "type": "address" }, { "internalType": "uint96", "name": "donFee", "type": "uint96" }, { "internalType": "uint96", "name": "registryFee", "type": "uint96" }, { "internalType": "uint96", "name": "estimatedCost", "type": "uint96" }, { "internalType": "uint256", "name": "timestamp", "type": "uint256" } ], "indexed": false, "internalType": "struct FunctionsBillingRegistryEventsMock.Commitment", "name": "commitment", "type": "tuple" } ], "name": "BillingStart", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint32", "name": "maxGasLimit", "type": "uint32" }, { "indexed": false, "internalType": "uint32", "name": "stalenessSeconds", "type": "uint32" }, { "indexed": false, "internalType": "uint256", "name": "gasAfterPaymentCalculation", "type": "uint256" }, { "indexed": false, "internalType": "int256", "name": "fallbackWeiPerUnitLink", "type": "int256" }, { "indexed": false, "internalType": "uint32", "name": "gasOverhead", "type": "uint32" } ], "name": "ConfigSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "FundsRecovered", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint8", "name": "version", "type": "uint8" } ], "name": "Initialized", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" } ], "name": "OwnershipTransferRequested", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "account", "type": "address" } ], "name": "Paused", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "requestId", "type": "bytes32" } ], "name": "RequestTimedOut", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "indexed": false, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "SubscriptionCanceled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "indexed": false, "internalType": "address", "name": "consumer", "type": "address" } ], "name": "SubscriptionConsumerAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "indexed": false, "internalType": "address", "name": "consumer", "type": "address" } ], "name": "SubscriptionConsumerRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "indexed": false, "internalType": "address", "name": "owner", "type": "address" } ], "name": "SubscriptionCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "indexed": false, "internalType": "uint256", "name": "oldBalance", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "newBalance", "type": "uint256" } ], "name": "SubscriptionFunded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "indexed": false, "internalType": "address", "name": "from", "type": "address" }, { "indexed": false, "internalType": "address", "name": "to", "type": "address" } ], "name": "SubscriptionOwnerTransferRequested", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "indexed": false, "internalType": "address", "name": "from", "type": "address" }, { "indexed": false, "internalType": "address", "name": "to", "type": "address" } ], "name": "SubscriptionOwnerTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "account", "type": "address" } ], "name": "Unpaused", "type": "event" }, { "inputs": [ { "internalType": "address[]", "name": "senders", "type": "address[]" }, { "internalType": "address", "name": "changedBy", "type": "address" } ], "name": "emitAuthorizedSendersChanged", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "requestId", "type": "bytes32" }, { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "uint96", "name": "signerPayment", "type": "uint96" }, { "internalType": "uint96", "name": "transmitterPayment", "type": "uint96" }, { "internalType": "uint96", "name": "totalCost", "type": "uint96" }, { "internalType": "bool", "name": "success", "type": "bool" } ], "name": "emitBillingEnd", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "requestId", "type": "bytes32" }, { "components": [ { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "address", "name": "client", "type": "address" }, { "internalType": "uint32", "name": "gasLimit", "type": "uint32" }, { "internalType": "uint256", "name": "gasPrice", "type": "uint256" }, { "internalType": "address", "name": "don", "type": "address" }, { "internalType": "uint96", "name": "donFee", "type": "uint96" }, { "internalType": "uint96", "name": "registryFee", "type": "uint96" }, { "internalType": "uint96", "name": "estimatedCost", "type": "uint96" }, { "internalType": "uint256", "name": "timestamp", "type": "uint256" } ], "internalType": "struct FunctionsBillingRegistryEventsMock.Commitment", "name": "commitment", "type": "tuple" } ], "name": "emitBillingStart", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "maxGasLimit", "type": "uint32" }, { "internalType": "uint32", "name": "stalenessSeconds", "type": "uint32" }, { "internalType": "uint256", "name": "gasAfterPaymentCalculation", "type": "uint256" }, { "internalType": "int256", "name": "fallbackWeiPerUnitLink", "type": "int256" }, { "internalType": "uint32", "name": "gasOverhead", "type": "uint32" } ], "name": "emitConfigSet", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "emitFundsRecovered", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint8", "name": "version", "type": "uint8" } ], "name": "emitInitialized", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" } ], "name": "emitOwnershipTransferRequested", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" } ], "name": "emitOwnershipTransferred", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "emitPaused", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "requestId", "type": "bytes32" } ], "name": "emitRequestTimedOut", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "emitSubscriptionCanceled", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "address", "name": "consumer", "type": "address" } ], "name": "emitSubscriptionConsumerAdded", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "address", "name": "consumer", "type": "address" } ], "name": "emitSubscriptionConsumerRemoved", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "address", "name": "owner", "type": "address" } ], "name": "emitSubscriptionCreated", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "uint256", "name": "oldBalance", "type": "uint256" }, { "internalType": "uint256", "name": "newBalance", "type": "uint256" } ], "name": "emitSubscriptionFunded", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" } ], "name": "emitSubscriptionOwnerTransferRequested", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }, { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" } ], "name": "emitSubscriptionOwnerTransferred", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "emitUnpaused", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]