assembly/abis/read/universe.json

189 lines
3.8 KiB
JSON
Raw Normal View History

2021-12-03 08:45:02 +00:00
[
{
"inputs": [
{
"internalType": "address",
"name": "universeVault",
"type": "address"
}
],
"name": "getVaultDetail",
"outputs": [
{
"components": [
{
"internalType": "address",
"name": "token0",
"type": "address"
},
{
"internalType": "address",
"name": "token1",
"type": "address"
},
{
"internalType": "uint256",
"name": "maxShare0",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxShare1",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxSingeDepositAmt0",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "maxSingeDepositAmt1",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "total0",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "total1",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "utilizationRate0",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "utilizationRate1",
"type": "uint256"
}
],
"internalType": "struct Helpers.VaultData",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "universeVault",
"type": "address"
},
{
"internalType": "address",
"name": "user",
"type": "address"
}
],
"name": "getUserShareAmount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "universeVaults",
"type": "address[]"
},
{
"internalType": "address",
"name": "user",
"type": "address"
}
],
"name": "getUserShareAmountList",
"outputs": [
{
"internalType": "uint256[2][]",
"name": "data",
"type": "uint256[2][]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "universeVault",
"type": "address"
},
{
"internalType": "address",
"name": "user",
"type": "address"
}
],
"name": "getUserWithdrawAmount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "universeVault",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount0",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "amount1",
"type": "uint256"
}
],
"name": "getUserDepositAmount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
]