UNPKG

@chainlink/contracts

Version:

Chainlink smart contracts

216 lines (215 loc) 4.04 kB
[ { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" } ], "name": "UnauthorizedSender", "type": "error" }, { "inputs": [ { "internalType": "bytes10", "name": "workflowName", "type": "bytes10" } ], "name": "UnauthorizedWorkflowName", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "workflowOwner", "type": "address" } ], "name": "UnauthorizedWorkflowOwner", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "feedId", "type": "bytes32" }, { "indexed": false, "internalType": "uint224", "name": "price", "type": "uint224" }, { "indexed": false, "internalType": "uint32", "name": "timestamp", "type": "uint32" } ], "name": "FeedReceived", "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" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "feedId", "type": "bytes32" } ], "name": "getPrice", "outputs": [ { "internalType": "uint224", "name": "", "type": "uint224" }, { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "metadata", "type": "bytes" }, { "internalType": "bytes", "name": "rawReport", "type": "bytes" } ], "name": "onReport", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "_allowedSendersList", "type": "address[]" }, { "internalType": "address[]", "name": "_allowedWorkflowOwnersList", "type": "address[]" }, { "internalType": "bytes10[]", "name": "_allowedWorkflowNamesList", "type": "bytes10[]" } ], "name": "setConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]