@chainlink/contracts
Version:
Chainlink smart contracts
586 lines (585 loc) • 11.2 kB
JSON
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "transmissionId",
"type": "bytes32"
}
],
"name": "AlreadyAttempted",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "signer",
"type": "address"
}
],
"name": "DuplicateSigner",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "numSigners",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxSigners",
"type": "uint256"
}
],
"name": "ExcessSigners",
"type": "error"
},
{
"inputs": [],
"name": "FaultToleranceMustBePositive",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "transmissionId",
"type": "bytes32"
}
],
"name": "InsufficientGasForRouting",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "numSigners",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "minSigners",
"type": "uint256"
}
],
"name": "InsufficientSigners",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint64",
"name": "configId",
"type": "uint64"
}
],
"name": "InvalidConfig",
"type": "error"
},
{
"inputs": [],
"name": "InvalidReport",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "signature",
"type": "bytes"
}
],
"name": "InvalidSignature",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "expected",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "received",
"type": "uint256"
}
],
"name": "InvalidSignatureCount",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "signer",
"type": "address"
}
],
"name": "InvalidSigner",
"type": "error"
},
{
"inputs": [],
"name": "UnauthorizedForwarder",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint32",
"name": "donId",
"type": "uint32"
},
{
"indexed": true,
"internalType": "uint32",
"name": "configVersion",
"type": "uint32"
},
{
"indexed": false,
"internalType": "uint8",
"name": "f",
"type": "uint8"
},
{
"indexed": false,
"internalType": "address[]",
"name": "signers",
"type": "address[]"
}
],
"name": "ConfigSet",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "forwarder",
"type": "address"
}
],
"name": "ForwarderAdded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "forwarder",
"type": "address"
}
],
"name": "ForwarderRemoved",
"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": true,
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "workflowExecutionId",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes2",
"name": "reportId",
"type": "bytes2"
},
{
"indexed": false,
"internalType": "bool",
"name": "result",
"type": "bool"
}
],
"name": "ReportProcessed",
"type": "event"
},
{
"inputs": [],
"name": "acceptOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "forwarder",
"type": "address"
}
],
"name": "addForwarder",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint32",
"name": "donId",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "configVersion",
"type": "uint32"
}
],
"name": "clearConfig",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"internalType": "bytes32",
"name": "workflowExecutionId",
"type": "bytes32"
},
{
"internalType": "bytes2",
"name": "reportId",
"type": "bytes2"
}
],
"name": "getTransmissionId",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"internalType": "bytes32",
"name": "workflowExecutionId",
"type": "bytes32"
},
{
"internalType": "bytes2",
"name": "reportId",
"type": "bytes2"
}
],
"name": "getTransmissionInfo",
"outputs": [
{
"components": [
{
"internalType": "bytes32",
"name": "transmissionId",
"type": "bytes32"
},
{
"internalType": "enum IRouter.TransmissionState",
"name": "state",
"type": "uint8"
},
{
"internalType": "address",
"name": "transmitter",
"type": "address"
},
{
"internalType": "bool",
"name": "invalidReceiver",
"type": "bool"
},
{
"internalType": "bool",
"name": "success",
"type": "bool"
},
{
"internalType": "uint80",
"name": "gasLimit",
"type": "uint80"
}
],
"internalType": "struct IRouter.TransmissionInfo",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"internalType": "bytes32",
"name": "workflowExecutionId",
"type": "bytes32"
},
{
"internalType": "bytes2",
"name": "reportId",
"type": "bytes2"
}
],
"name": "getTransmitter",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "forwarder",
"type": "address"
}
],
"name": "isForwarder",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "forwarder",
"type": "address"
}
],
"name": "removeForwarder",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"internalType": "bytes",
"name": "rawReport",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "reportContext",
"type": "bytes"
},
{
"internalType": "bytes[]",
"name": "signatures",
"type": "bytes[]"
}
],
"name": "report",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "transmissionId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "transmitter",
"type": "address"
},
{
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"internalType": "bytes",
"name": "metadata",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "validatedReport",
"type": "bytes"
}
],
"name": "route",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint32",
"name": "donId",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "configVersion",
"type": "uint32"
},
{
"internalType": "uint8",
"name": "f",
"type": "uint8"
},
{
"internalType": "address[]",
"name": "signers",
"type": "address[]"
}
],
"name": "setConfig",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "typeAndVersion",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
}
]