witnet-solidity-bridge
Version:
Witnet Solidity Bridge contracts for EVM-compatible chains
70 lines • 1.7 kB
JSON
{
"_format": "hh3-artifact-1",
"contractName": "IWitPriceFeedsConsumer",
"sourceName": "contracts/interfaces/IWitPriceFeedsConsumer.sol",
"abi": [
{
"inputs": [
{
"internalType": "IWitPriceFeedsTypes.ID4",
"name": "id4",
"type": "bytes4"
},
{
"internalType": "Witnet.Timestamp",
"name": "timestamp",
"type": "uint64"
},
{
"internalType": "Witnet.TransactionHash",
"name": "trail",
"type": "bytes32"
},
{
"internalType": "uint64",
"name": "price",
"type": "uint64"
},
{
"internalType": "int56",
"name": "deltaPrice",
"type": "int56"
},
{
"internalType": "uint64",
"name": "deltaSecs",
"type": "uint64"
},
{
"internalType": "int8",
"name": "exponent",
"type": "int8"
}
],
"name": "reportUpdate",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "witPriceFeeds",
"outputs": [
{
"internalType": "contract IWitPriceFeeds",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {},
"immutableReferences": {},
"inputSourceName": "project/contracts/interfaces/IWitPriceFeedsConsumer.sol",
"buildInfoId": "solc-0_8_30-47301052af11a5aa5062e9b98ca44d5e142950cf"
}