@chainlink/contracts
Version:
Chainlink smart contracts
162 lines (161 loc) • 3.06 kB
JSON
[
{
"inputs": [
{
"internalType": "address",
"name": "router",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "EmptySource",
"type": "error"
},
{
"inputs": [],
"name": "NoInlineSecrets",
"type": "error"
},
{
"inputs": [],
"name": "OnlyRouterCanFulfill",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bytes32",
"name": "requestId",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "bytes",
"name": "response",
"type": "bytes"
},
{
"indexed": false,
"internalType": "bytes",
"name": "err",
"type": "bytes"
}
],
"name": "FulfillRequestInvoked",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "id",
"type": "bytes32"
}
],
"name": "RequestFulfilled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "id",
"type": "bytes32"
}
],
"name": "RequestSent",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "bytes32",
"name": "requestId",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "string",
"name": "sourceCode",
"type": "string"
},
{
"indexed": false,
"internalType": "uint64",
"name": "subscriptionId",
"type": "uint64"
}
],
"name": "SendRequestInvoked",
"type": "event"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "requestId",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "response",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "err",
"type": "bytes"
}
],
"name": "handleOracleFulfillment",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "sourceCode",
"type": "string"
},
{
"internalType": "uint64",
"name": "subscriptionId",
"type": "uint64"
},
{
"internalType": "bytes32",
"name": "donId",
"type": "bytes32"
},
{
"internalType": "uint32",
"name": "callbackGasLimit",
"type": "uint32"
}
],
"name": "sendSimpleRequestWithJavaScript",
"outputs": [
{
"internalType": "bytes32",
"name": "requestId",
"type": "bytes32"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]