Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

impl syncswap v2 classic + stable + aqua #459

Merged
merged 14 commits into from
Dec 6, 2024
1,824 changes: 1,824 additions & 0 deletions pkg/liquidity-source/syncswapv2/aqua/abi/AquaPool.json

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions pkg/liquidity-source/syncswapv2/aqua/abi/FeeManagerV2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[
{
"inputs": [
{
"internalType": "address",
"name": "pool",
"type": "address"
},
{
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"internalType": "address",
"name": "tokenIn",
"type": "address"
},
{
"internalType": "address",
"name": "tokenOut",
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "getSwapFeeData",
"outputs": [
{
"components": [
{ "internalType": "uint64", "name": "gamma", "type": "uint64" },
{ "internalType": "uint24", "name": "minFee", "type": "uint24" },
{ "internalType": "uint24", "name": "maxFee", "type": "uint24" }
],
"internalType": "struct FeeData",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
}
]
Loading
Loading