baluni-contracts
Version:
Smart Contracts for Baluni
85 lines (84 loc) • 1.82 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "IClearingV2",
"sourceName": "contracts/managers/BaluniV1HyperPoolZap.sol",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "pos",
"type": "address"
},
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "uint256",
"name": "total0",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "total1",
"type": "uint256"
}
],
"name": "applyRatio",
"outputs": [
{
"internalType": "uint256",
"name": "ratioStart",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "ratioEnd",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "pos",
"type": "address"
},
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "uint256",
"name": "_deposit",
"type": "uint256"
}
],
"name": "getDepositAmount",
"outputs": [
{
"internalType": "uint256",
"name": "amountStart",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "amountEnd",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}