152 lines
3.2 KiB
JSON
152 lines
3.2 KiB
JSON
{
|
|
"_format": "hh-sol-artifact-1",
|
|
"contractName": "IReserveOracle",
|
|
"sourceName": "contracts/iso4217w/interfaces/IReserveOracle.sol",
|
|
"abi": [
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "string",
|
|
"name": "currencyCode",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "consensusReserve",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "QuorumMet",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "string",
|
|
"name": "currencyCode",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "reporter",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "reserveBalance",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "timestamp",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "ReserveReportSubmitted",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "currencyCode",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"name": "getConsensusReserve",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "consensusReserve",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "currencyCode",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"name": "getVerifiedReserve",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "reserveBalance",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "timestamp",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "currencyCode",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"name": "isQuorumMet",
|
|
"outputs": [
|
|
{
|
|
"internalType": "bool",
|
|
"name": "quorumMet",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "reportCount",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "string",
|
|
"name": "currencyCode",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "reserveBalance",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "bytes32",
|
|
"name": "attestationHash",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "submitReserveReport",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
}
|
|
],
|
|
"bytecode": "0x",
|
|
"deployedBytecode": "0x",
|
|
"linkReferences": {},
|
|
"deployedLinkReferences": {}
|
|
}
|