witnet-solidity-bridge
Version:
Witnet Solidity Bridge contracts for EVM-compatible chains
302 lines • 7.92 kB
JSON
{
"_format": "hh3-artifact-1",
"contractName": "IWitOracleQueriableTrustlessReporter",
"sourceName": "contracts/interfaces/IWitOracleQueriableTrustlessReporter.sol",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "Witnet.QueryId",
"name": "queryId",
"type": "uint64"
},
{
"indexed": false,
"internalType": "string",
"name": "reason",
"type": "string"
}
],
"name": "BatchQueryError",
"type": "event"
},
{
"inputs": [
{
"internalType": "Witnet.QueryId",
"name": "queryId",
"type": "uint64"
}
],
"name": "claimQueryReward",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "Witnet.QueryId[]",
"name": "queryIds",
"type": "uint64[]"
}
],
"name": "claimQueryRewardBatch",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "Witnet.QueryId",
"name": "queryId",
"type": "uint64"
}
],
"name": "disputeQueryResponse",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "Witnet.QueryId",
"name": "queryId",
"type": "uint64"
},
{
"internalType": "Witnet.QueryUUID",
"name": "queryHash",
"type": "bytes15"
},
{
"internalType": "bytes",
"name": "witDrRelayerSignature",
"type": "bytes"
},
{
"internalType": "Witnet.BlockNumber",
"name": "witDrResultEpoch",
"type": "uint64"
},
{
"internalType": "bytes",
"name": "witDrResultCborBytes",
"type": "bytes"
},
{
"internalType": "Witnet.TransactionHash",
"name": "witDrTxHash",
"type": "bytes32"
}
],
"internalType": "struct Witnet.DataPullReport",
"name": "report",
"type": "tuple"
}
],
"name": "reportQueryResponse",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "Witnet.QueryId",
"name": "queryId",
"type": "uint64"
},
{
"internalType": "Witnet.QueryUUID",
"name": "queryHash",
"type": "bytes15"
},
{
"internalType": "bytes",
"name": "witDrRelayerSignature",
"type": "bytes"
},
{
"internalType": "Witnet.BlockNumber",
"name": "witDrResultEpoch",
"type": "uint64"
},
{
"internalType": "bytes",
"name": "witDrResultCborBytes",
"type": "bytes"
},
{
"internalType": "Witnet.TransactionHash",
"name": "witDrTxHash",
"type": "bytes32"
}
],
"internalType": "struct Witnet.DataPullReport[]",
"name": "reports",
"type": "tuple[]"
}
],
"name": "reportQueryResponseBatch",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"components": [
{
"internalType": "uint32",
"name": "index",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "prevIndex",
"type": "uint32"
},
{
"internalType": "bytes24",
"name": "prevRoot",
"type": "bytes24"
},
{
"internalType": "bytes16",
"name": "ddrTalliesMerkleRoot",
"type": "bytes16"
},
{
"internalType": "bytes16",
"name": "droTalliesMerkleRoot",
"type": "bytes16"
},
{
"internalType": "uint256[4]",
"name": "nextCommitteeAggPubkey",
"type": "uint256[4]"
}
],
"internalType": "struct Witnet.Beacon",
"name": "beacon",
"type": "tuple"
},
{
"internalType": "uint256[2]",
"name": "committeeAggSignature",
"type": "uint256[2]"
},
{
"internalType": "uint256[4][]",
"name": "committeeMissingPubkeys",
"type": "uint256[4][]"
}
],
"internalType": "struct Witnet.FastForward[]",
"name": "witOracleRollup",
"type": "tuple[]"
},
{
"components": [
{
"internalType": "Witnet.QueryId",
"name": "queryId",
"type": "uint64"
},
{
"internalType": "Witnet.QueryUUID",
"name": "queryHash",
"type": "bytes15"
},
{
"internalType": "bytes",
"name": "witDrRelayerSignature",
"type": "bytes"
},
{
"internalType": "Witnet.BlockNumber",
"name": "witDrResultEpoch",
"type": "uint64"
},
{
"internalType": "bytes",
"name": "witDrResultCborBytes",
"type": "bytes"
},
{
"internalType": "Witnet.TransactionHash",
"name": "witDrTxHash",
"type": "bytes32"
}
],
"internalType": "struct Witnet.DataPullReport",
"name": "queryResponseReport",
"type": "tuple"
},
{
"internalType": "bytes32[]",
"name": "witOracleDdrTalliesProof",
"type": "bytes32[]"
}
],
"name": "rollupQueryResponseProof",
"outputs": [
{
"internalType": "uint256",
"name": "evmTotalReward",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {},
"immutableReferences": {},
"inputSourceName": "project/contracts/interfaces/IWitOracleQueriableTrustlessReporter.sol",
"buildInfoId": "solc-0_8_30-47301052af11a5aa5062e9b98ca44d5e142950cf"
}