witnet-solidity-bridge
Version:
Witnet Solidity Bridge contracts for EVM-compatible chains
112 lines • 2.62 kB
JSON
{
"_format": "hh3-artifact-1",
"contractName": "WitPriceFeedsSolverBase",
"sourceName": "contracts/mockups/legacy/WitPriceFeedsSolverBase.sol",
"abi": [
{
"inputs": [],
"name": "class",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "delegator",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"name": "solve",
"outputs": [
{
"components": [
{
"internalType": "uint64",
"name": "value",
"type": "uint64"
},
{
"internalType": "Witnet.Timestamp",
"name": "timestamp",
"type": "uint64"
},
{
"internalType": "Witnet.TransactionHash",
"name": "drTxHash",
"type": "bytes32"
},
{
"internalType": "enum IWitPriceFeedsLegacySolver.LatestUpdateStatus",
"name": "latestStatus",
"type": "uint8"
}
],
"internalType": "struct IWitPriceFeedsLegacySolver.Price",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "specs",
"outputs": [
{
"internalType": "bytes4",
"name": "",
"type": "bytes4"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "feedId",
"type": "bytes4"
},
{
"internalType": "string[]",
"name": "deps",
"type": "string[]"
}
],
"name": "validate",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {},
"immutableReferences": {},
"inputSourceName": "project/contracts/mockups/legacy/WitPriceFeedsSolverBase.sol",
"buildInfoId": "solc-0_8_30-47301052af11a5aa5062e9b98ca44d5e142950cf"
}