Files
assetxContracts/abis/IYTPoolManager.json

142 lines
2.6 KiB
JSON
Raw Permalink Normal View History

2025-12-18 13:07:35 +08:00
[
{
"inputs": [
{
"internalType": "address",
"name": "_fundingAccount",
"type": "address"
},
{
"internalType": "address",
"name": "_account",
"type": "address"
},
{
"internalType": "address",
"name": "_token",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_minUsdy",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_minYtLP",
"type": "uint256"
}
],
"name": "addLiquidityForAccount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
2026-01-12 14:33:16 +08:00
{
"inputs": [
{
"internalType": "bool",
"name": "_maximise",
"type": "bool"
}
],
"name": "getAumInUsdy",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
2025-12-18 13:07:35 +08:00
{
"inputs": [
{
"internalType": "bool",
"name": "_maximise",
"type": "bool"
}
],
"name": "getPrice",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
2026-01-12 14:33:16 +08:00
{
"inputs": [
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "address",
"name": "_to",
"type": "address"
}
],
"name": "onLPTransfer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
2025-12-18 13:07:35 +08:00
{
"inputs": [
{
"internalType": "address",
"name": "_account",
"type": "address"
},
{
"internalType": "address",
"name": "_tokenOut",
"type": "address"
},
{
"internalType": "uint256",
"name": "_ytLPAmount",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_minOut",
"type": "uint256"
},
{
"internalType": "address",
"name": "_receiver",
"type": "address"
}
],
"name": "removeLiquidityForAccount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]