[
{
"name": "isEmpty",
"type": "function",
"stateMutability": "view",
"inputs": [{ "name": "isBid", "type": "bool" }],
"outputs": [{ "name": "", "type": "bool" }]
},
{
"name": "bestPriceIndex",
"type": "function",
"stateMutability": "view",
"inputs": [{ "name": "isBid", "type": "bool" }],
"outputs": [{ "name": "", "type": "uint16" }]
},
{
"name": "getDepth",
"type": "function",
"stateMutability": "view",
"inputs": [
{ "name": "isBid", "type": "bool" },
{ "name": "priceIndex", "type": "uint16" }
],
"outputs": [{ "name": "", "type": "uint64" }]
},
{
"name": "getOrder",
"type": "function",
"stateMutability": "view",
"inputs": [{
"name": "orderKey",
"type": "tuple",
"components": [
{ "name": "isBid", "type": "bool" },
{ "name": "priceIndex", "type": "uint16" },
{ "name": "orderIndex", "type": "uint256" }
]
}],
"outputs": [{
"name": "",
"type": "tuple",
"components": [
{ "name": "amount", "type": "uint64" },
{ "name": "claimBounty", "type": "uint32" },
{ "name": "owner", "type": "address" }
]
}]
},
{
"name": "getClaimable",
"type": "function",
"stateMutability": "view",
"inputs": [{
"name": "orderKey",
"type": "tuple",
"components": [
{ "name": "isBid", "type": "bool" },
{ "name": "priceIndex", "type": "uint16" },
{ "name": "orderIndex", "type": "uint256" }
]
}],
"outputs": [
{ "name": "claimableRawAmount", "type": "uint64" },
{ "name": "claimableAmount", "type": "uint256" },
{ "name": "feeAmount", "type": "uint256" },
{ "name": "rebateAmount", "type": "uint256" }
]
}
]