@chainlink/contracts
Version:
Chainlink smart contracts
958 lines (957 loc) • 19.9 kB
JSON
[
{
"anonymous": false,
"inputs": [
{
"components": [
{
"internalType": "uint16",
"name": "maxConsumersPerSubscription",
"type": "uint16"
},
{
"internalType": "uint72",
"name": "adminFee",
"type": "uint72"
},
{
"internalType": "bytes4",
"name": "handleOracleFulfillmentSelector",
"type": "bytes4"
},
{
"internalType": "uint16",
"name": "gasForCallExactCheck",
"type": "uint16"
},
{
"internalType": "uint32[]",
"name": "maxCallbackGasLimits",
"type": "uint32[]"
}
],
"indexed": false,
"internalType": "struct FunctionsV1EventsMock.Config",
"name": "param1",
"type": "tuple"
}
],
"name": "ConfigUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bytes32",
"name": "proposedContractSetId",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "address",
"name": "proposedContractSetFromAddress",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "proposedContractSetToAddress",
"type": "address"
}
],
"name": "ContractProposed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bytes32",
"name": "id",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "to",
"type": "address"
}
],
"name": "ContractUpdated",
"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": 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"
},
{
"indexed": false,
"internalType": "address",
"name": "coordinator",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "transmitter",
"type": "address"
},
{
"indexed": false,
"internalType": "uint8",
"name": "resultCode",
"type": "uint8"
}
],
"name": "RequestNotProcessed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "requestId",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "uint64",
"name": "subscriptionId",
"type": "uint64"
},
{
"indexed": false,
"internalType": "uint96",
"name": "totalCostJuels",
"type": "uint96"
},
{
"indexed": false,
"internalType": "address",
"name": "transmitter",
"type": "address"
},
{
"indexed": false,
"internalType": "uint8",
"name": "resultCode",
"type": "uint8"
},
{
"indexed": false,
"internalType": "bytes",
"name": "response",
"type": "bytes"
},
{
"indexed": false,
"internalType": "bytes",
"name": "err",
"type": "bytes"
},
{
"indexed": false,
"internalType": "bytes",
"name": "callbackReturnData",
"type": "bytes"
}
],
"name": "RequestProcessed",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "requestId",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "donId",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "uint64",
"name": "subscriptionId",
"type": "uint64"
},
{
"indexed": false,
"internalType": "address",
"name": "subscriptionOwner",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "requestingContract",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "requestInitiator",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"indexed": false,
"internalType": "uint16",
"name": "dataVersion",
"type": "uint16"
},
{
"indexed": false,
"internalType": "uint32",
"name": "callbackGasLimit",
"type": "uint32"
},
{
"indexed": false,
"internalType": "uint96",
"name": "estimatedTotalCostJuels",
"type": "uint96"
}
],
"name": "RequestStart",
"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": "fundsRecipient",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "fundsAmount",
"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": [
{
"components": [
{
"internalType": "uint16",
"name": "maxConsumersPerSubscription",
"type": "uint16"
},
{
"internalType": "uint72",
"name": "adminFee",
"type": "uint72"
},
{
"internalType": "bytes4",
"name": "handleOracleFulfillmentSelector",
"type": "bytes4"
},
{
"internalType": "uint16",
"name": "gasForCallExactCheck",
"type": "uint16"
},
{
"internalType": "uint32[]",
"name": "maxCallbackGasLimits",
"type": "uint32[]"
}
],
"internalType": "struct FunctionsV1EventsMock.Config",
"name": "param1",
"type": "tuple"
}
],
"name": "emitConfigUpdated",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "proposedContractSetId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "proposedContractSetFromAddress",
"type": "address"
},
{
"internalType": "address",
"name": "proposedContractSetToAddress",
"type": "address"
}
],
"name": "emitContractProposed",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "id",
"type": "bytes32"
},
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
}
],
"name": "emitContractUpdated",
"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": "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"
},
{
"internalType": "address",
"name": "coordinator",
"type": "address"
},
{
"internalType": "address",
"name": "transmitter",
"type": "address"
},
{
"internalType": "uint8",
"name": "resultCode",
"type": "uint8"
}
],
"name": "emitRequestNotProcessed",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "requestId",
"type": "bytes32"
},
{
"internalType": "uint64",
"name": "subscriptionId",
"type": "uint64"
},
{
"internalType": "uint96",
"name": "totalCostJuels",
"type": "uint96"
},
{
"internalType": "address",
"name": "transmitter",
"type": "address"
},
{
"internalType": "uint8",
"name": "resultCode",
"type": "uint8"
},
{
"internalType": "bytes",
"name": "response",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "err",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "callbackReturnData",
"type": "bytes"
}
],
"name": "emitRequestProcessed",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "requestId",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "donId",
"type": "bytes32"
},
{
"internalType": "uint64",
"name": "subscriptionId",
"type": "uint64"
},
{
"internalType": "address",
"name": "subscriptionOwner",
"type": "address"
},
{
"internalType": "address",
"name": "requestingContract",
"type": "address"
},
{
"internalType": "address",
"name": "requestInitiator",
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"internalType": "uint16",
"name": "dataVersion",
"type": "uint16"
},
{
"internalType": "uint32",
"name": "callbackGasLimit",
"type": "uint32"
},
{
"internalType": "uint96",
"name": "estimatedTotalCostJuels",
"type": "uint96"
}
],
"name": "emitRequestStart",
"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": "fundsRecipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "fundsAmount",
"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"
}
]