Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Object 0be14144…815233:2 state

Back to all declarations

2

func(routePaths string, inputToken string, outputToken string)
Open
OID
0be141…5233:6
2 details

Inspect func

3

func(routePaths string, inputToken string, outputToken string)
Open
OID
0be141…5233:7
3 details

Inspect func

6

int

Value

1

7

untyped string

Value

"*POOL*"

8

type

Value

v1.RouterOperation

9

func(int, rlm .uverse.realm, op v1.RouterOperation) (*v1.SwapResult, .uverse.error)
Open
OID
0be141…5233:10
9 details

Inspect func

10

type

Value

v1.BaseSwapParams

11

type

Value

v1.baseSwapOperation

12

type

Value

v1.SwapRouteParams

14

func(r *v1.routerV1, params v1.SwapRouteParams) (v1.RouterOperation, .uverse.error)
Open
OID
0be141…5233:13
14 details

Inspect func

17

untyped string

Value

"[GNOSWAP-ROUTER-001] slippage check failed"

18

untyped string

Value

"[GNOSWAP-ROUTER-002] invalid routes and quotes"

19

untyped string

Value

"[GNOSWAP-ROUTER-003] transaction expired"

20

untyped string

Value

"[GNOSWAP-ROUTER-004] invalid input data"

21

untyped string

Value

"[GNOSWAP-ROUTER-005] invalid pool fee tier"

22

untyped string

Value

"[GNOSWAP-ROUTER-006] invalid swap fee"

23

untyped string

Value

"[GNOSWAP-ROUTER-007] invalid swap type"

24

untyped string

Value

"[GNOSWAP-ROUTER-008] invalid pool path"

25

untyped string

Value

"[GNOSWAP-ROUTER-009] unauthorized caller"

26

untyped string

Value

"[GNOSWAP-ROUTER-010] number of hops must be 1~3"

27

untyped string

Value

"[GNOSWAP-ROUTER-011] cannot swap same token"

28

untyped string

Value

"[GNOSWAP-ROUTER-013] invalid route path"

29

untyped string

Value

"[GNOSWAP-ROUTER-014] invalid route first token"

30

untyped string

Value

"[GNOSWAP-ROUTER-015] invalid route last token"

31

untyped string

Value

"[GNOSWAP-ROUTER-016] invalid swap amount"

32

untyped string

Value

"[GNOSWAP-ROUTER-017] route hop disconnected"

33

untyped string

Value

"[GNOSWAP-ROUTER-018] insufficient balance for swap"

34

untyped string

Value

"[GNOSWAP-ROUTER-019] rlm does not match the current crossing frame"

35

func(message string, detail string) string
Open
OID
0be141…5233:17
35 details

Inspect func

36

func(message string, detail string) .uverse.error
Open
OID
0be141…5233:19
36 details

Inspect func

37

type

Value

v1.ExactInSwapOperation

38

func(r *v1.routerV1, pp v1.ExactInParams) *v1.ExactInSwapOperation
Open
OID
0be141…5233:20
38 details

Inspect func

39

type

Value

v1.ExactOutSwapOperation

40

func(r *v1.routerV1, pp v1.ExactOutParams) *v1.ExactOutSwapOperation
Open
OID
0be141…5233:22
40 details

Inspect func

41

uint64

Value

15

44

func(int, rlm .uverse.realm, routerStore router.IRouterStore) .uverse.error
Open
OID
0be141…5233:27
44 details

Inspect func

45

type

Value

v1.routerV1

46

func(routerStore router.IRouterStore) router.IRouter
Open
OID
0be141…5233:28
46 details

Inspect func

47

func(amount int64, swapFee uint64) int64
Open
OID
0be141…5233:30
47 details

Inspect func

48

func(amount int64, swapFee uint64) int64
Open
OID
0be141…5233:32
48 details

Inspect func

49

untyped string

Value

"received more than requested in requested=%d, actual=%d"

50

untyped string

Value

"route length(%d) must be 1~7"

51

untyped string

Value

"mismatch between routes(%d) and quotes(%d) length"

52

untyped string

Value

"invalid quote(%s) at index(%d)"

53

untyped string

Value

"quote(%s) at index(%d) must be positive value"

54

untyped string

Value

"quote(%s) at index(%d) must be less than or equal to %d"

55

untyped string

Value

"quote sum exceeds 100 at index(%d)"

56

untyped string

Value

"quote sum(%d) must be 100"

57

untyped string

Value

"ExactIn: too few received (min:%d, got:%d)"

58

untyped string

Value

"ExactOut: too much spent (max:%d, used:%d)"

59

untyped string

Value

"routes cannot be empty"

60

type

Value

v1.SwapValidator

61

type

Value

v1.RouteParser

63

func(routes string, quotes string) ([]string, []string, .uverse.error)
Open
OID
0be141…5233:35
63 details

Inspect func

64

untyped bigint

Value

(100 <untyped> bigint)

65

untyped bigint

Value

(0 <untyped> bigint)

66

int64

Value

100

67

untyped string

Value

"unknown swapType(%s)"

68

untyped string

Value

"invalid amount(%s), must be positive"

69

untyped string

Value

"invalid amountLimit(%s), should not be zero"

70

untyped string

Value

"quote(%d) must be %d~%d"

71

type

Value

v1.SwapProcessor

72

func(swapType v1.SwapType, numHops int) int
Open
OID
0be141…5233:36
72 details

Inspect func

73

string

Value

"4295128739"

74

string

Value

"1461446703485210103287273052203988822378723970342"

78

type

Value

v1.RealSwapExecutor

79

type

Value

v1.DrySwapExecutor

80

func(zeroForOne bool, fee uint32, sqrtPriceLimitX96 *uint256.Uint) *uint256.Uint
Open
OID
0be141…5233:44
80 details

Inspect func

81

func(limits map[uint32]*uint256.Uint, fee uint32) *uint256.Uint
Open
OID
0be141…5233:45
81 details

Inspect func

84

type

Value

v1.SwapDirection

85

v1.SwapDirection

Value

<zero>

86

v1.SwapDirection

Value

<zero>

87

type

Value

v1.MultiSwapExecutor

88

type

Value

v1.DryMultiSwapExecutor

89

type

Value

v1.RealMultiSwapExecutor

90

type

Value

v1.MultiSwapProcessor

91

func(int, rlm .uverse.realm, r *v1.routerV1, direction v1.SwapDirection, payer .uverse.address) *v1.MultiSwapProcessor
Open
OID
0be141…5233:48
91 details

Inspect func

92

func(r *v1.routerV1, direction v1.SwapDirection, payer .uverse.address) *v1.MultiSwapProcessor
Open
OID
0be141…5233:50
92 details

Inspect func

93

type

Value

v1.SwapExecutor

94

untyped string

Value

"UNKNOWN"

95

untyped string

Value

"EXACT_IN"

96

untyped string

Value

"EXACT_OUT"

97

type

Value

v1.SwapType

98

v1.SwapType

Value

<gnolang.StringValue>

99

v1.SwapType

Value

<gnolang.StringValue>

100

v1.SwapType

Value

<gnolang.StringValue>

101

func(swapType string) (v1.SwapType, .uverse.error)
Open
OID
0be141…5233:51
101 details

Inspect func

102

type

Value

v1.SingleSwapParams

103

type

Value

v1.SwapParams

104

func(tokenIn string, tokenOut string, fee uint32, recipient .uverse.address, amountSpecified int64) *v1.SwapParams
Open
OID
0be141…5233:53
104 details

Inspect func

105

type

Value

v1.SwapResult

106

type

Value

v1.SwapParamsI

107

type

Value

v1.SwapCallbackData

108

func(params v1.SwapParamsI, payer .uverse.address) v1.SwapCallbackData
Open
OID
0be141…5233:54
108 details

Inspect func

109

type

Value

v1.ExactInParams

110

func(baseParams v1.BaseSwapParams, amountIn int64, amountOutMin int64) v1.ExactInParams
Open
OID
0be141…5233:55
110 details

Inspect func

111

type

Value

v1.ExactOutParams

112

func(baseParams v1.BaseSwapParams, amountOut int64, amountInMax int64) v1.ExactOutParams
Open
OID
0be141…5233:56
112 details

Inspect func

113

func(amountSpecified int64, quote string) (int64, .uverse.error)
Open
OID
0be141…5233:57
113 details

Inspect func

115

func(poolPath string) (token0 string, token1 string, fee uint32)
Open
OID
0be141…5233:60
115 details

Inspect func

116

func(poolPath string) (string, string, uint32, .uverse.error)
Open
OID
0be141…5233:61
116 details

Inspect func

117

func(possiblePath string, poolIdx int) (token0 string, token1 string, fee uint32)
Open
OID
0be141…5233:62
117 details

Inspect func

118

func(x *int256.Int, y *int256.Int) (min *uint256.Uint, max *uint256.Uint)
Open
OID
0be141…5233:63
118 details

Inspect func

119

func(routePathArrString string, inputToken string, outputToken string) .uverse.error
Open
OID
0be141…5233:64
119 details

Inspect func

120

func(routePath string, inputToken string, outputToken string) .uverse.error
Open
OID
0be141…5233:65
120 details

Inspect func

121

func(routePoolPaths []string) .uverse.error
Open
OID
0be141…5233:66
121 details

Inspect func

122

func(s string, sep uint8) []string
Open
OID
0be141…5233:67
122 details

Inspect func

123

func(routePathArr string) ([]string, .uverse.error)
Open
OID
0be141…5233:68
123 details

Inspect func

124

func(tokenA string, tokenB string, fee uint32) string
Open
OID
0be141…5233:69
124 details

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