gno.land/r/gnoswap/router/v1
README.md assert.gno base.gno consts.gno doc.gno errors.gno exact_in.gno exact_out.gno gnomod.toml init.gno instance.gno protocol_fee_swap.gno router.gno router_dry.gno swap_callback.gno swap_inner.gno swap_multi.gno swap_single.gno type.gno utils.gno
[
{
"FuncName": "NewExactInSwapOperation",
"Params": [
{
"Name": "r",
"Type": "*gno.land/r/gnoswap/router/v1.routerV1",
"Value": ""
},
{
"Name": "pp",
"Type": "struct{BaseSwapParams gno.land/r/gnoswap/router/v1.BaseSwapParams; AmountIn int64; AmountOutMin int64}",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/router/v1.ExactInSwapOperation",
"Value": ""
}
]
},
{
"FuncName": "NewExactOutSwapOperation",
"Params": [
{
"Name": "r",
"Type": "*gno.land/r/gnoswap/router/v1.routerV1",
"Value": ""
},
{
"Name": "pp",
"Type": "struct{BaseSwapParams gno.land/r/gnoswap/router/v1.BaseSwapParams; AmountOut int64; AmountInMax int64}",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/router/v1.ExactOutSwapOperation",
"Value": ""
}
]
},
{
"FuncName": "NewRouterV1",
"Params": [
{
"Name": "routerStore",
"Type": "interface {GetPendingProtocolFees func() map[string]int64; GetSwapFee func() uint64; HasPendingProtocolFeesKey func() bool; HasSwapFeeKey func() bool; SetPendingProtocolFees func(int, .uverse.realm, map[string]int64) .uverse.error; SetSwapFee func(int, .uverse.realm, uint64) .uverse.error}",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "interface {DrySwapRoute func(string, string, string, string, string, string, string) (string, string, bool); ExactInSingleSwapRoute func(int, .uverse.realm, string, string, string, string, string, string, int64, string) (string, string); ExactInSwapRoute func(int, .uverse.realm, string, string, string, string, string, string, int64, string) (string, string); ExactOutSingleSwapRoute func(int, .uverse.realm, string, string, string, string, string, string, int64, string) (string, string); ExactOutSwapRoute func(int, .uverse.realm, string, string, string, string, string, string, int64, string) (string, string); GetSwapFee func() uint64; SetSwapFee func(int, .uverse.realm, uint64); SwapCallback func(int, .uverse.realm, string, string, int64, int64, .uverse.address) .uverse.error}",
"Value": ""
}
]
},
{
"FuncName": "NewRouteParser",
"Params": null,
"Results": [
{
"Name": ".res.0",
"Type": "*gno.land/r/gnoswap/router/v1.RouteParser",
"Value": ""
}
]
},
{
"FuncName": "NewExactInParams",
"Params": [
{
"Name": "baseParams",
"Type": "struct{InputToken string; OutputToken string; RouteArr string; QuoteArr string; SqrtPriceLimitX96 *gno.land/p/gnoswap/uint256.Uint; Deadline int64}",
"Value": ""
},
{
"Name": "amountIn",
"Type": "int64",
"Value": ""
},
{
"Name": "amountOutMin",
"Type": "int64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "struct{BaseSwapParams gno.land/r/gnoswap/router/v1.BaseSwapParams; AmountIn int64; AmountOutMin int64}",
"Value": ""
}
]
},
{
"FuncName": "NewExactOutParams",
"Params": [
{
"Name": "baseParams",
"Type": "struct{InputToken string; OutputToken string; RouteArr string; QuoteArr string; SqrtPriceLimitX96 *gno.land/p/gnoswap/uint256.Uint; Deadline int64}",
"Value": ""
},
{
"Name": "amountOut",
"Type": "int64",
"Value": ""
},
{
"Name": "amountInMax",
"Type": "int64",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "struct{BaseSwapParams gno.land/r/gnoswap/router/v1.BaseSwapParams; AmountOut int64; AmountInMax int64}",
"Value": ""
}
]
},
{
"FuncName": "BuildSingleHopRoutePath",
"Params": [
{
"Name": "tokenA",
"Type": "string",
"Value": ""
},
{
"Name": "tokenB",
"Type": "string",
"Value": ""
},
{
"Name": "fee",
"Type": "uint32",
"Value": ""
}
],
"Results": [
{
"Name": ".res.0",
"Type": "string",
"Value": ""
}
]
}
](empty)