assembly/constant/abi/read/reflexer.json

271 lines
6.0 KiB
JSON
Raw Normal View History

2021-08-27 21:16:37 +00:00
[
{
"inputs": [
{
"internalType": "string[]",
"name": "name",
"type": "string[]"
}
],
"name": "getColInfo",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "borrowRate",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "price",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "liquidationRatio",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "debtCeiling",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "debtFloor",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "totalDebt",
"type": "uint256"
}
],
"internalType": "struct Helpers.ColInfo[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getRedemptionRate",
"outputs": [
{
"internalType": "uint256",
"name": "redemptionRate",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getReflexerAddresses",
"outputs": [
{
"components": [
{
"internalType": "address",
"name": "manager",
"type": "address"
},
{
"internalType": "address",
"name": "safeEngine",
"type": "address"
},
{
"internalType": "address",
"name": "taxCollector",
"type": "address"
},
{
"internalType": "address",
"name": "oracleRelayer",
"type": "address"
},
{
"internalType": "address",
"name": "getSafes",
"type": "address"
}
],
"internalType": "struct Helpers.ReflexerAddresses",
"name": "",
"type": "tuple"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "getSafeById",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "string",
"name": "colType",
"type": "string"
},
{
"internalType": "uint256",
"name": "collateral",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "debt",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "adjustedDebt",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "liquidatedCol",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "borrowRate",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "colPrice",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "liquidationRatio",
"type": "uint256"
},
{
"internalType": "address",
"name": "safeAddress",
"type": "address"
}
],
"internalType": "struct Helpers.SafeData",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "getSafes",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "string",
"name": "colType",
"type": "string"
},
{
"internalType": "uint256",
"name": "collateral",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "debt",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "adjustedDebt",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "liquidatedCol",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "borrowRate",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "colPrice",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "liquidationRatio",
"type": "uint256"
},
{
"internalType": "address",
"name": "safeAddress",
"type": "address"
}
],
"internalType": "struct Helpers.SafeData[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
}
]