0
func(deadline int64)- OID
- 0784cb…e33f:3
0 details
1
func(p *v2.SingleSwapParams)- OID
- 0784cb…e33f:5
1 details
2
func(sqrtPriceLimitX96 string)- OID
- 0784cb…e33f:6
2 details
3
func(routePaths string, inputToken string, outputToken string)- OID
- 0784cb…e33f:7
3 details
4
func(routePaths string, inputToken string, outputToken string)- OID
- 0784cb…e33f:8
4 details
5
func(routePathArr string)- OID
- 0784cb…e33f:9
5 details
6
func(caller .uverse.address)- OID
- 0784cb…e33f:10
6 details
7
func(int, rlm .uverse.realm)- OID
- 0784cb…e33f:11
7 details
8
func(hopIndex int, specifiedAmount int64, consumedAmount int64)- OID
- 0784cb…e33f:12
8 details
9
func(hopIndex int, specifiedAmount int64, consumedAmount int64) .uverse.error- OID
- 0784cb…e33f:13
9 details
10
intValue
1
11
untyped stringValue
"*POOL*"
12
typeValue
v2.RouterOperation
13
func(int, rlm .uverse.realm, op v2.RouterOperation) (*v2.SwapResult, .uverse.error)- OID
- 0784cb…e33f:14
13 details
14
typeValue
v2.BaseSwapParams
15
typeValue
v2.baseSwapOperation
16
typeValue
v2.SwapRouteParams
17
func(routeArr string) []string- OID
- 0784cb…e33f:16
17 details
18
func(r *v2.routerV1, params v2.SwapRouteParams) (v2.RouterOperation, .uverse.error)- OID
- 0784cb…e33f:17
18 details
19
untyped stringValue
"gno.land/r/gnoswap/router"
20
<gnolang.heapItemType>- OID
- 0784cb…e33f:18
20 details
21
func()- OID
- 0784cb…e33f:19
21 details
22
untyped stringValue
"[GNOSWAP-ROUTER-001] slippage check failed"
23
untyped stringValue
"[GNOSWAP-ROUTER-002] invalid routes and quotes"
24
untyped stringValue
"[GNOSWAP-ROUTER-003] transaction expired"
25
untyped stringValue
"[GNOSWAP-ROUTER-004] invalid input data"
26
untyped stringValue
"[GNOSWAP-ROUTER-005] invalid pool fee tier"
27
untyped stringValue
"[GNOSWAP-ROUTER-006] invalid swap fee"
28
untyped stringValue
"[GNOSWAP-ROUTER-007] invalid swap type"
29
untyped stringValue
"[GNOSWAP-ROUTER-008] invalid pool path"
30
untyped stringValue
"[GNOSWAP-ROUTER-009] unauthorized caller"
31
untyped stringValue
"[GNOSWAP-ROUTER-010] number of hops must be 1~3"
32
untyped stringValue
"[GNOSWAP-ROUTER-011] cannot swap same token"
33
untyped stringValue
"[GNOSWAP-ROUTER-013] invalid route path"
34
untyped stringValue
"[GNOSWAP-ROUTER-014] invalid route first token"
35
untyped stringValue
"[GNOSWAP-ROUTER-015] invalid route last token"
36
untyped stringValue
"[GNOSWAP-ROUTER-016] invalid swap amount"
37
untyped stringValue
"[GNOSWAP-ROUTER-017] route hop disconnected"
38
untyped stringValue
"[GNOSWAP-ROUTER-018] insufficient balance for swap"
39
untyped stringValue
"[GNOSWAP-ROUTER-019] rlm does not match the current crossing frame"
40
untyped stringValue
"[GNOSWAP-ROUTER-020] insufficient liquidity for swap"
41
func(message string, detail string) string- OID
- 0784cb…e33f:21
41 details
42
func(message string, detail string) .uverse.error- OID
- 0784cb…e33f:23
42 details
43
typeValue
v2.ExactInSwapOperation
44
func(r *v2.routerV1, pp v2.ExactInParams) *v2.ExactInSwapOperation- OID
- 0784cb…e33f:24
44 details
45
typeValue
v2.ExactOutSwapOperation
46
func(r *v2.routerV1, pp v2.ExactOutParams) *v2.ExactOutSwapOperation- OID
- 0784cb…e33f:26
46 details
47
uint64Value
15
48
func()- OID
- 0784cb…e33f:28
48 details
49
func()- OID
- 0784cb…e33f:30
49 details
50
func(int, rlm .uverse.realm, routerStore router.IRouterStore) .uverse.error- OID
- 0784cb…e33f:31
50 details
51
typeValue
v2.routerV1
52
func(routerStore router.IRouterStore) router.IRouter- OID
- 0784cb…e33f:32
52 details
53
func(amount int64, swapFee uint64) int64- OID
- 0784cb…e33f:34
53 details
54
func(amount int64, swapFee uint64) int64- OID
- 0784cb…e33f:36
54 details
55
uint64Value
1000
56
untyped stringValue
"consumed input does not match requested (requested=%d, consumed=%d)"
57
untyped stringValue
"received more than requested in requested=%d, actual=%d"
58
untyped stringValue
"route length(%d) must be 1~7"
59
untyped stringValue
"mismatch between routes(%d) and quotes(%d) length"
60
untyped stringValue
"invalid quote(%s) at index(%d)"
61
untyped stringValue
"quote(%s) at index(%d) must be positive value"
62
untyped stringValue
"quote(%s) at index(%d) must be less than or equal to %d"
63
untyped stringValue
"quote sum exceeds 100 at index(%d)"
64
untyped stringValue
"quote sum(%d) must be 100"
65
untyped stringValue
"ExactIn: too few received (min:%d, got:%d)"
66
untyped stringValue
"ExactOut: too much spent (max:%d, used:%d)"
67
untyped stringValue
"routes cannot be empty"
68
typeValue
v2.SwapValidator
69
typeValue
v2.RouteParser
70
func() *v2.RouteParser- OID
- 0784cb…e33f:37
70 details
71
func(routes string, quotes string) ([]string, []string, .uverse.error)- OID
- 0784cb…e33f:39
71 details
72
untyped bigintValue
(100 <untyped> bigint)
73
untyped bigintValue
(0 <untyped> bigint)
74
int64Value
100
75
untyped stringValue
"unknown swapType(%s)"
76
untyped stringValue
"invalid amount(%s), must be positive"
77
untyped stringValue
"quote(%d) must be %d~%d"
78
typeValue
v2.SwapProcessor
79
func(swapType v2.SwapType, numHops int) int- OID
- 0784cb…e33f:40
79 details
80
stringValue
"4295128740"
81
stringValue
"1461446703485210103287273052203988822378723970341"
82
func(zeroForOne bool, sqrtPriceLimitX96 *v1.Uint) string- OID
- 0784cb…e33f:42
82 details
83
untyped stringValue
"UNKNOWN"
84
untyped stringValue
"EXACT_IN"
85
untyped stringValue
"EXACT_OUT"
86
.uverse.addressValue
<gnolang.StringValue>
87
typeValue
v2.SwapType
88
v2.SwapTypeValue
<gnolang.StringValue>
89
v2.SwapTypeValue
<gnolang.StringValue>
90
v2.SwapTypeValue
<gnolang.StringValue>
91
func(swapType string) (v2.SwapType, .uverse.error)- OID
- 0784cb…e33f:44
91 details
92
typeValue
v2.SingleSwapParams
93
typeValue
v2.SwapParams
94
func(tokenIn string, tokenOut string, fee uint32, recipient .uverse.address, amountSpecified int64) *v2.SwapParams- OID
- 0784cb…e33f:46
94 details
95
typeValue
v2.SwapResult
96
typeValue
v2.SwapParamsI
97
typeValue
v2.SwapCallbackData
98
func(params v2.SwapParamsI, payer .uverse.address) v2.SwapCallbackData- OID
- 0784cb…e33f:47
98 details
99
func(params v2.SwapParamsI) v2.SwapCallbackData- OID
- 0784cb…e33f:48
99 details
100
typeValue
v2.ExactInParams
101
func(baseParams v2.BaseSwapParams, amountIn int64, amountOutMin int64) v2.ExactInParams- OID
- 0784cb…e33f:49
101 details
102
typeValue
v2.ExactOutParams
103
func(baseParams v2.BaseSwapParams, amountOut int64, amountInMax int64) v2.ExactOutParams- OID
- 0784cb…e33f:50
103 details
104
func(amountSpecified int64, quote string) (int64, .uverse.error)- OID
- 0784cb…e33f:51
104 details
105
func(hops int)- OID
- 0784cb…e33f:53
105 details
106
func(poolPath string) (token0 string, token1 string, fee uint32)- OID
- 0784cb…e33f:54
106 details
107
func(poolPath string) (string, string, uint32, .uverse.error)- OID
- 0784cb…e33f:55
107 details
108
func(possiblePath string, poolIdx int) (token0 string, token1 string, fee uint32)- OID
- 0784cb…e33f:56
108 details
109
func(x *v1.Int, y *v1.Int) (min *v1.Uint, max *v1.Uint)- OID
- 0784cb…e33f:57
109 details
110
func(routePathArrString string, inputToken string, outputToken string) .uverse.error- OID
- 0784cb…e33f:58
110 details
111
func(routePath string, inputToken string, outputToken string) .uverse.error- OID
- 0784cb…e33f:59
111 details
112
func(routePoolPaths []string) .uverse.error- OID
- 0784cb…e33f:60
112 details
113
func(s string, sep uint8) []string- OID
- 0784cb…e33f:61
113 details
114
func(routePathArr string) ([]string, .uverse.error)- OID
- 0784cb…e33f:62
114 details
115
func(tokenA string, tokenB string, fee uint32) string- OID
- 0784cb…e33f:63
115 details
0 : func(deadline int64) Inspect
1 : func(p *v2.SingleSwapParams) Inspect
2 : func(sqrtPriceLimitX96 string) Inspect
3 : func(routePaths string, inputToken string, outputToken string) Inspect
4 : func(routePaths string, inputToken string, outputToken string) Inspect
5 : func(routePathArr string) Inspect
6 : func(caller .uverse.address) Inspect
7 : func(int, rlm .uverse.realm) Inspect
8 : func(hopIndex int, specifiedAmount int64, consumedAmount int64) Inspect
9 : func(hopIndex int, specifiedAmount int64, consumedAmount int64) .uverse.error Inspect
10
:
int
=1
11
:
untyped string
="*POOL*"
12
:
type
=v2.RouterOperation
13 : func(int, rlm .uverse.realm, op v2.RouterOperation) (*v2.SwapResult, .uverse.error) Inspect
14
:
type
=v2.BaseSwapParams
15
:
type
=v2.baseSwapOperation
16
:
type
=v2.SwapRouteParams
17 : func(routeArr string) []string Inspect
18 : func(r *v2.routerV1, params v2.SwapRouteParams) (v2.RouterOperation, .uverse.error) Inspect
19
:
untyped string
="gno.land/r/gnoswap/router"
20 : <gnolang.heapItemType> Inspect
21 : func() Inspect
22
:
untyped string
="[GNOSWAP-ROUTER-001] slippage check failed"
23
:
untyped string
="[GNOSWAP-ROUTER-002] invalid routes and quotes"
24
:
untyped string
="[GNOSWAP-ROUTER-003] transaction expired"
25
:
untyped string
="[GNOSWAP-ROUTER-004] invalid input data"
26
:
untyped string
="[GNOSWAP-ROUTER-005] invalid pool fee tier"
27
:
untyped string
="[GNOSWAP-ROUTER-006] invalid swap fee"
28
:
untyped string
="[GNOSWAP-ROUTER-007] invalid swap type"
29
:
untyped string
="[GNOSWAP-ROUTER-008] invalid pool path"
30
:
untyped string
="[GNOSWAP-ROUTER-009] unauthorized caller"
31
:
untyped string
="[GNOSWAP-ROUTER-010] number of hops must be 1~3"
32
:
untyped string
="[GNOSWAP-ROUTER-011] cannot swap same token"
33
:
untyped string
="[GNOSWAP-ROUTER-013] invalid route path"
34
:
untyped string
="[GNOSWAP-ROUTER-014] invalid route first token"
35
:
untyped string
="[GNOSWAP-ROUTER-015] invalid route last token"
36
:
untyped string
="[GNOSWAP-ROUTER-016] invalid swap amount"
37
:
untyped string
="[GNOSWAP-ROUTER-017] route hop disconnected"
38
:
untyped string
="[GNOSWAP-ROUTER-018] insufficient balance for swap"
39
:
untyped string
="[GNOSWAP-ROUTER-019] rlm does not match the current crossing frame"
40
:
untyped string
="[GNOSWAP-ROUTER-020] insufficient liquidity for swap"
41 : func(message string, detail string) string Inspect
42 : func(message string, detail string) .uverse.error Inspect
43
:
type
=v2.ExactInSwapOperation
44 : func(r *v2.routerV1, pp v2.ExactInParams) *v2.ExactInSwapOperation Inspect
45
:
type
=v2.ExactOutSwapOperation
46 : func(r *v2.routerV1, pp v2.ExactOutParams) *v2.ExactOutSwapOperation Inspect
47
:
uint64
=15
48 : func() Inspect
49 : func() Inspect
50 : func(int, rlm .uverse.realm, routerStore router.IRouterStore) .uverse.error Inspect
51
:
type
=v2.routerV1
52 : func(routerStore router.IRouterStore) router.IRouter Inspect
53 : func(amount int64, swapFee uint64) int64 Inspect
54 : func(amount int64, swapFee uint64) int64 Inspect
55
:
uint64
=1000
56
:
untyped string
="consumed input does not match requested (requested=%d, consumed=%d)"
57
:
untyped string
="received more than requested in requested=%d, actual=%d"
58
:
untyped string
="route length(%d) must be 1~7"
59
:
untyped string
="mismatch between routes(%d) and quotes(%d) length"
60
:
untyped string
="invalid quote(%s) at index(%d)"
61
:
untyped string
="quote(%s) at index(%d) must be positive value"
62
:
untyped string
="quote(%s) at index(%d) must be less than or equal to %d"
63
:
untyped string
="quote sum exceeds 100 at index(%d)"
64
:
untyped string
="quote sum(%d) must be 100"
65
:
untyped string
="ExactIn: too few received (min:%d, got:%d)"
66
:
untyped string
="ExactOut: too much spent (max:%d, used:%d)"
67
:
untyped string
="routes cannot be empty"
68
:
type
=v2.SwapValidator
69
:
type
=v2.RouteParser
70 : func() *v2.RouteParser Inspect
71 : func(routes string, quotes string) ([]string, []string, .uverse.error) Inspect
72
:
untyped bigint
=(100 <untyped> bigint)
73
:
untyped bigint
=(0 <untyped> bigint)
74
:
int64
=100
75
:
untyped string
="unknown swapType(%s)"
76
:
untyped string
="invalid amount(%s), must be positive"
77
:
untyped string
="quote(%d) must be %d~%d"
78
:
type
=v2.SwapProcessor
79 : func(swapType v2.SwapType, numHops int) int Inspect
80
:
string
="4295128740"
81
:
string
="1461446703485210103287273052203988822378723970341"
82 : func(zeroForOne bool, sqrtPriceLimitX96 *v1.Uint) string Inspect
83
:
untyped string
="UNKNOWN"
84
:
untyped string
="EXACT_IN"
85
:
untyped string
="EXACT_OUT"
86
:
.uverse.address
=<gnolang.StringValue>
87
:
type
=v2.SwapType
88
:
v2.SwapType
=<gnolang.StringValue>
89
:
v2.SwapType
=<gnolang.StringValue>
90
:
v2.SwapType
=<gnolang.StringValue>
91 : func(swapType string) (v2.SwapType, .uverse.error) Inspect
92
:
type
=v2.SingleSwapParams
93
:
type
=v2.SwapParams
94 : func(tokenIn string, tokenOut string, fee uint32, recipient .uverse.address, amountSpecified int64) *v2.SwapParams Inspect
95
:
type
=v2.SwapResult
96
:
type
=v2.SwapParamsI
97
:
type
=v2.SwapCallbackData
98 : func(params v2.SwapParamsI, payer .uverse.address) v2.SwapCallbackData Inspect
99 : func(params v2.SwapParamsI) v2.SwapCallbackData Inspect
100
:
type
=v2.ExactInParams
101 : func(baseParams v2.BaseSwapParams, amountIn int64, amountOutMin int64) v2.ExactInParams Inspect
102
:
type
=v2.ExactOutParams