@flarenetwork/flare-periphery-contract-artifacts
Version:
Smart contract artifacts for all Flare chains
90 lines (89 loc) • 2.4 kB
JSON
[
{
"inputs": [
{
"components": [
{
"internalType": "bytes32[]",
"name": "merkleProof",
"type": "bytes32[]"
},
{
"components": [
{
"internalType": "bytes32",
"name": "attestationType",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "sourceId",
"type": "bytes32"
},
{
"internalType": "uint64",
"name": "votingRound",
"type": "uint64"
},
{
"internalType": "uint64",
"name": "lowestUsedTimestamp",
"type": "uint64"
},
{
"components": [
{
"internalType": "string",
"name": "url",
"type": "string"
},
{
"internalType": "string",
"name": "postprocessJq",
"type": "string"
},
{
"internalType": "string",
"name": "abi_signature",
"type": "string"
}
],
"internalType": "struct IJsonApi.RequestBody",
"name": "requestBody",
"type": "tuple"
},
{
"components": [
{
"internalType": "bytes",
"name": "abi_encoded_data",
"type": "bytes"
}
],
"internalType": "struct IJsonApi.ResponseBody",
"name": "responseBody",
"type": "tuple"
}
],
"internalType": "struct IJsonApi.Response",
"name": "data",
"type": "tuple"
}
],
"internalType": "struct IJsonApi.Proof",
"name": "_proof",
"type": "tuple"
}
],
"name": "verifyJsonApi",
"outputs": [
{
"internalType": "bool",
"name": "_proved",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]