@chainlink/contracts
Version:
Chainlink smart contracts
301 lines (300 loc) • 6.13 kB
JSON
[
{
"inputs": [
{
"internalType": "bytes32",
"name": "feedId",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "configDigest",
"type": "bytes32"
}
],
"name": "activateConfig",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "feedId",
"type": "bytes32"
}
],
"name": "activateFeed",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "feedId",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "configDigest",
"type": "bytes32"
}
],
"name": "deactivateConfig",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "feedId",
"type": "bytes32"
}
],
"name": "deactivateFeed",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "feedId",
"type": "bytes32"
}
],
"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": [
{
"internalType": "bytes32",
"name": "feedId",
"type": "bytes32"
}
],
"name": "latestConfigDigestAndEpoch",
"outputs": [
{
"internalType": "bool",
"name": "scanLogs",
"type": "bool"
},
{
"internalType": "bytes32",
"name": "configDigest",
"type": "bytes32"
},
{
"internalType": "uint32",
"name": "epoch",
"type": "uint32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "feedId",
"type": "bytes32"
},
{
"internalType": "address[]",
"name": "signers",
"type": "address[]"
},
{
"internalType": "bytes32[]",
"name": "offchainTransmitters",
"type": "bytes32[]"
},
{
"internalType": "uint8",
"name": "f",
"type": "uint8"
},
{
"internalType": "bytes",
"name": "onchainConfig",
"type": "bytes"
},
{
"internalType": "uint64",
"name": "offchainConfigVersion",
"type": "uint64"
},
{
"internalType": "bytes",
"name": "offchainConfig",
"type": "bytes"
},
{
"components": [
{
"internalType": "address",
"name": "addr",
"type": "address"
},
{
"internalType": "uint64",
"name": "weight",
"type": "uint64"
}
],
"internalType": "struct Common.AddressAndWeight[]",
"name": "recipientAddressesAndWeights",
"type": "tuple[]"
}
],
"name": "setConfig",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "feedId",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "sourceChainId",
"type": "uint256"
},
{
"internalType": "address",
"name": "sourceAddress",
"type": "address"
},
{
"internalType": "uint32",
"name": "newConfigCount",
"type": "uint32"
},
{
"internalType": "address[]",
"name": "signers",
"type": "address[]"
},
{
"internalType": "bytes32[]",
"name": "offchainTransmitters",
"type": "bytes32[]"
},
{
"internalType": "uint8",
"name": "f",
"type": "uint8"
},
{
"internalType": "bytes",
"name": "onchainConfig",
"type": "bytes"
},
{
"internalType": "uint64",
"name": "offchainConfigVersion",
"type": "uint64"
},
{
"internalType": "bytes",
"name": "offchainConfig",
"type": "bytes"
},
{
"components": [
{
"internalType": "address",
"name": "addr",
"type": "address"
},
{
"internalType": "uint64",
"name": "weight",
"type": "uint64"
}
],
"internalType": "struct Common.AddressAndWeight[]",
"name": "recipientAddressesAndWeights",
"type": "tuple[]"
}
],
"name": "setConfigFromSource",
"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": "bytes",
"name": "signedReport",
"type": "bytes"
},
{
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "verify",
"outputs": [
{
"internalType": "bytes",
"name": "verifierResponse",
"type": "bytes"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]