@chainlink/contracts
Version:
Chainlink smart contracts
397 lines (396 loc) • 7.65 kB
JSON
[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "expected",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "actual",
"type": "bytes32"
}
],
"name": "ConfigDigestMismatch",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "expected",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "actual",
"type": "uint256"
}
],
"name": "ForkedChain",
"type": "error"
},
{
"inputs": [
{
"internalType": "string",
"name": "message",
"type": "string"
}
],
"name": "InvalidConfig",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint64",
"name": "sequenceNumber",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "latestSequenceNumber",
"type": "uint64"
}
],
"name": "NonIncreasingSequenceNumber",
"type": "error"
},
{
"inputs": [],
"name": "NonUniqueSignatures",
"type": "error"
},
{
"inputs": [],
"name": "OracleCannotBeZeroAddress",
"type": "error"
},
{
"inputs": [],
"name": "SignaturesOutOfRegistration",
"type": "error"
},
{
"inputs": [],
"name": "UnauthorizedSigner",
"type": "error"
},
{
"inputs": [],
"name": "UnauthorizedTransmitter",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "expected",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "actual",
"type": "uint256"
}
],
"name": "WrongMessageLength",
"type": "error"
},
{
"inputs": [],
"name": "WrongNumberOfSignatures",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint32",
"name": "previousConfigBlockNumber",
"type": "uint32"
},
{
"indexed": false,
"internalType": "bytes32",
"name": "configDigest",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint64",
"name": "configCount",
"type": "uint64"
},
{
"indexed": false,
"internalType": "address[]",
"name": "signers",
"type": "address[]"
},
{
"indexed": false,
"internalType": "address[]",
"name": "transmitters",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint8",
"name": "f",
"type": "uint8"
},
{
"indexed": false,
"internalType": "bytes",
"name": "onchainConfig",
"type": "bytes"
},
{
"indexed": false,
"internalType": "uint64",
"name": "offchainConfigVersion",
"type": "uint64"
},
{
"indexed": false,
"internalType": "bytes",
"name": "offchainConfig",
"type": "bytes"
}
],
"name": "ConfigSet",
"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": "bytes32",
"name": "configDigest",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint64",
"name": "sequenceNumber",
"type": "uint64"
}
],
"name": "Transmitted",
"type": "event"
},
{
"inputs": [],
"name": "acceptOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getTransmitters",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "latestConfigDetails",
"outputs": [
{
"internalType": "uint32",
"name": "configCount",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "blockNumber",
"type": "uint32"
},
{
"internalType": "bytes32",
"name": "configDigest",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "latestSequenceNumber",
"outputs": [
{
"internalType": "uint64",
"name": "sequenceNumber",
"type": "uint64"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "signers",
"type": "address[]"
},
{
"internalType": "address[]",
"name": "transmitters",
"type": "address[]"
},
{
"internalType": "uint8",
"name": "f",
"type": "uint8"
},
{
"internalType": "bytes",
"name": "onchainConfig",
"type": "bytes"
},
{
"internalType": "uint64",
"name": "offchainConfigVersion",
"type": "uint64"
},
{
"internalType": "bytes",
"name": "offchainConfig",
"type": "bytes"
}
],
"name": "setOCR3Config",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32[3]",
"name": "reportContext",
"type": "bytes32[3]"
},
{
"internalType": "bytes",
"name": "report",
"type": "bytes"
},
{
"internalType": "bytes32[]",
"name": "rs",
"type": "bytes32[]"
},
{
"internalType": "bytes32[]",
"name": "ss",
"type": "bytes32[]"
},
{
"internalType": "bytes32",
"name": "rawVs",
"type": "bytes32"
}
],
"name": "transmit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "typeAndVersion",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
}
]