@perp/perp-oracle-contract
Version:
Perpetual Protocol Curie (v2) oracle contracts - v0.5.0 is not an audited version
94 lines (93 loc) • 2.22 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "IStdReference",
"sourceName": "contracts/interface/bandProtocol/IStdReference.sol",
"abi": [
{
"inputs": [
{
"internalType": "string",
"name": "_base",
"type": "string"
},
{
"internalType": "string",
"name": "_quote",
"type": "string"
}
],
"name": "getReferenceData",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "rate",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "lastUpdatedBase",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "lastUpdatedQuote",
"type": "uint256"
}
],
"internalType": "struct IStdReference.ReferenceData",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string[]",
"name": "_bases",
"type": "string[]"
},
{
"internalType": "string[]",
"name": "_quotes",
"type": "string[]"
}
],
"name": "getReferenceDataBulk",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "rate",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "lastUpdatedBase",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "lastUpdatedQuote",
"type": "uint256"
}
],
"internalType": "struct IStdReference.ReferenceData[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}