@paraswap/dex-lib 4.7.20-native-insert-amount.2 → 4.7.20-native-insert-amount.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/build/dex/idle-dao/idle-dao.d.ts +1 -0
  2. package/build/dex/idle-dao/idle-dao.js +23 -11
  3. package/build/dex/idle-dao/idle-dao.js.map +1 -1
  4. package/build/dex/index.js +12 -15
  5. package/build/dex/index.js.map +1 -1
  6. package/build/dex/maker-psm/maker-psm.d.ts +4 -41
  7. package/build/dex/maker-psm/maker-psm.js +40 -143
  8. package/build/dex/maker-psm/maker-psm.js.map +1 -1
  9. package/build/dex/native/native.js +9 -11
  10. package/build/dex/native/native.js.map +1 -1
  11. package/build/dex/uniswap-v2/constants.js +1 -0
  12. package/build/dex/uniswap-v2/constants.js.map +1 -1
  13. package/build/executor/Executor02BytecodeBuilderMultiRoute.d.ts +101 -0
  14. package/build/executor/Executor02BytecodeBuilderMultiRoute.js +878 -0
  15. package/build/executor/Executor02BytecodeBuilderMultiRoute.js.map +1 -0
  16. package/package.json +1 -1
  17. package/build/abi/PendleRouterStatic.json +0 -19
  18. package/build/abi/apex-defi/ApexDefiFactory.abi.json +0 -1749
  19. package/build/abi/apex-defi/ApexDefiRouter.abi.json +0 -1120
  20. package/build/abi/apex-defi/ApexDefiToken.abi.json +0 -229
  21. package/build/abi/apex-defi/ApexDefiWrapper.abi.json +0 -92
  22. package/build/abi/apex-defi/ApexDefiWrapperFactory.abi.json +0 -1107
  23. package/build/abi/pangolin-v3/PangolinV3StateMulticall.abi.json +0 -796
  24. package/build/abi/pendle/pendle-deployer.abi.json +0 -520
  25. package/build/abi/pendle/pendle-oracle.abi.json +0 -413
  26. package/build/abi/ring-v2/few-wrapped-token.json +0 -587
  27. package/build/abi/ring-v2/ring-v2-factory.json +0 -125
  28. package/build/abi/ring-v2/ring-v2-pool.json +0 -461
  29. package/build/abi/ring-v2/ring-v2-router.json +0 -332
  30. package/build/abi/stabull/stabull-curve.json +0 -738
  31. package/build/abi/stabull/stabull-router.json +0 -76
  32. package/build/abi/uniswap-v4/hooks/SpotDynamicFeeManager.json +0 -26
  33. package/build/abi/uniswap-v4/hooks/SpotHook.json +0 -54
  34. package/build/abi/uniswap-v4/hooks/SpotPolicyManager.json +0 -45
  35. package/build/abi/uniswap-v4/hooks/cabalcoin-hook.abi.json +0 -682
  36. package/build/abi/uniswap-v4/hooks/fee-hook.abi.json +0 -1335
  37. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.d.ts +0 -29
  38. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js +0 -153
  39. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying-factory.js.map +0 -1
  40. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.d.ts +0 -40
  41. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js +0 -323
  42. package/build/dex/aave-pt-to-underlying/aave-pt-to-underlying.js.map +0 -1
  43. package/build/dex/aave-pt-to-underlying/config.d.ts +0 -3
  44. package/build/dex/aave-pt-to-underlying/config.js +0 -24
  45. package/build/dex/aave-pt-to-underlying/config.js.map +0 -1
  46. package/build/dex/aave-pt-to-underlying/constants.d.ts +0 -2
  47. package/build/dex/aave-pt-to-underlying/constants.js +0 -6
  48. package/build/dex/aave-pt-to-underlying/constants.js.map +0 -1
  49. package/build/dex/aave-pt-to-underlying/types.d.ts +0 -24
  50. package/build/dex/aave-pt-to-underlying/types.js +0 -3
  51. package/build/dex/aave-pt-to-underlying/types.js.map +0 -1
  52. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.d.ts +0 -39
  53. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js +0 -244
  54. package/build/dex/aave-pt-to-usdc/aave-pt-to-usdc.js.map +0 -1
  55. package/build/dex/aave-pt-to-usdc/config.d.ts +0 -3
  56. package/build/dex/aave-pt-to-usdc/config.js +0 -47
  57. package/build/dex/aave-pt-to-usdc/config.js.map +0 -1
  58. package/build/dex/aave-pt-to-usdc/constants.d.ts +0 -2
  59. package/build/dex/aave-pt-to-usdc/constants.js +0 -6
  60. package/build/dex/aave-pt-to-usdc/constants.js.map +0 -1
  61. package/build/dex/aave-pt-to-usdc/types.d.ts +0 -22
  62. package/build/dex/aave-pt-to-usdc/types.js +0 -3
  63. package/build/dex/aave-pt-to-usdc/types.js.map +0 -1
  64. package/build/dex/apex-defi/apex-defi-factory.d.ts +0 -26
  65. package/build/dex/apex-defi/apex-defi-factory.js +0 -53
  66. package/build/dex/apex-defi/apex-defi-factory.js.map +0 -1
  67. package/build/dex/apex-defi/apex-defi-pool.d.ts +0 -55
  68. package/build/dex/apex-defi/apex-defi-pool.js +0 -247
  69. package/build/dex/apex-defi/apex-defi-pool.js.map +0 -1
  70. package/build/dex/apex-defi/apex-defi-wrapper-factory.d.ts +0 -57
  71. package/build/dex/apex-defi/apex-defi-wrapper-factory.js +0 -250
  72. package/build/dex/apex-defi/apex-defi-wrapper-factory.js.map +0 -1
  73. package/build/dex/apex-defi/apex-defi.d.ts +0 -97
  74. package/build/dex/apex-defi/apex-defi.js +0 -1021
  75. package/build/dex/apex-defi/apex-defi.js.map +0 -1
  76. package/build/dex/apex-defi/config.d.ts +0 -4
  77. package/build/dex/apex-defi/config.js +0 -138
  78. package/build/dex/apex-defi/config.js.map +0 -1
  79. package/build/dex/apex-defi/types.d.ts +0 -32
  80. package/build/dex/apex-defi/types.js +0 -3
  81. package/build/dex/apex-defi/types.js.map +0 -1
  82. package/build/dex/apex-defi/utils.d.ts +0 -46
  83. package/build/dex/apex-defi/utils.js +0 -133
  84. package/build/dex/apex-defi/utils.js.map +0 -1
  85. package/build/dex/miro-migrator/miro-migrator-state.d.ts +0 -27
  86. package/build/dex/miro-migrator/miro-migrator-state.js +0 -89
  87. package/build/dex/miro-migrator/miro-migrator-state.js.map +0 -1
  88. package/build/dex/stabull/config.d.ts +0 -3
  89. package/build/dex/stabull/config.js +0 -177
  90. package/build/dex/stabull/config.js.map +0 -1
  91. package/build/dex/stabull/stabull-pool.d.ts +0 -46
  92. package/build/dex/stabull/stabull-pool.js +0 -113
  93. package/build/dex/stabull/stabull-pool.js.map +0 -1
  94. package/build/dex/stabull/stabull.d.ts +0 -55
  95. package/build/dex/stabull/stabull.js +0 -286
  96. package/build/dex/stabull/stabull.js.map +0 -1
  97. package/build/dex/stabull/types.d.ts +0 -21
  98. package/build/dex/stabull/types.js +0 -3
  99. package/build/dex/stabull/types.js.map +0 -1
  100. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.d.ts +0 -4
  101. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js +0 -56
  102. package/build/dex/uniswap-v3/forks/pangolin-v3/utils.js.map +0 -1
  103. package/build/dex/uniswap-v4/hooks/arena.d.ts +0 -6
  104. package/build/dex/uniswap-v4/hooks/arena.js +0 -10
  105. package/build/dex/uniswap-v4/hooks/arena.js.map +0 -1
  106. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.d.ts +0 -0
  107. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js +0 -2
  108. package/build/dex/uniswap-v4/hooks/base-fee/base-fee-hook.js.map +0 -1
  109. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.d.ts +0 -7
  110. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js +0 -28
  111. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/cabalcoin-hook-pool.js.map +0 -1
  112. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.d.ts +0 -0
  113. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js +0 -2
  114. package/build/dex/uniswap-v4/hooks/cabalcoin-hook/types.js.map +0 -1
  115. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.d.ts +0 -7
  116. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js +0 -28
  117. package/build/dex/uniswap-v4/hooks/fee-hook/fee-hook-pool.js.map +0 -1
  118. package/build/dex/uniswap-v4/hooks/fee-hook/types.d.ts +0 -0
  119. package/build/dex/uniswap-v4/hooks/fee-hook/types.js +0 -2
  120. package/build/dex/uniswap-v4/hooks/fee-hook/types.js.map +0 -1
  121. package/build/dex/uniswap-v4/hooks/index.d.ts +0 -1
  122. package/build/dex/uniswap-v4/hooks/index.js +0 -18
  123. package/build/dex/uniswap-v4/hooks/index.js.map +0 -1
  124. package/build/dex/uniswap-v4/hooks/spot.d.ts +0 -15
  125. package/build/dex/uniswap-v4/hooks/spot.js +0 -109
  126. package/build/dex/uniswap-v4/hooks/spot.js.map +0 -1
  127. package/build/dex/uniswap-v4/hooks/template.d.ts +0 -150
  128. package/build/dex/uniswap-v4/hooks/template.js +0 -104
  129. package/build/dex/uniswap-v4/hooks/template.js.map +0 -1
  130. package/build/dex/usdc-transmuter/usdc-transmuter-pool.d.ts +0 -26
  131. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js +0 -75
  132. package/build/dex/usdc-transmuter/usdc-transmuter-pool.js.map +0 -1
  133. package/build/dex/usual/usual-usdc-usdc.d.ts +0 -17
  134. package/build/dex/usual/usual-usdc-usdc.js +0 -59
  135. package/build/dex/usual/usual-usdc-usdc.js.map +0 -1
  136. package/build/dex/yo/config.d.ts +0 -3
  137. package/build/dex/yo/config.js +0 -21
  138. package/build/dex/yo/config.js.map +0 -1
  139. package/build/dex/yo/types.d.ts +0 -13
  140. package/build/dex/yo/types.js +0 -3
  141. package/build/dex/yo/types.js.map +0 -1
  142. package/build/dex/yo/yo-pool.d.ts +0 -13
  143. package/build/dex/yo/yo-pool.js +0 -26
  144. package/build/dex/yo/yo-pool.js.map +0 -1
  145. package/build/dex/yo/yo.d.ts +0 -39
  146. package/build/dex/yo/yo.js +0 -248
  147. package/build/dex/yo/yo.js.map +0 -1
  148. package/build/implementations/api-paraswap-sdk.d.ts +0 -25
  149. package/build/implementations/api-paraswap-sdk.js +0 -102
  150. package/build/implementations/api-paraswap-sdk.js.map +0 -1
@@ -1,125 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- { "internalType": "address", "name": "_feeToSetter", "type": "address" }
5
- ],
6
- "payable": false,
7
- "stateMutability": "nonpayable",
8
- "type": "constructor"
9
- },
10
- {
11
- "anonymous": false,
12
- "inputs": [
13
- {
14
- "indexed": true,
15
- "internalType": "address",
16
- "name": "token0",
17
- "type": "address"
18
- },
19
- {
20
- "indexed": true,
21
- "internalType": "address",
22
- "name": "token1",
23
- "type": "address"
24
- },
25
- {
26
- "indexed": false,
27
- "internalType": "address",
28
- "name": "pair",
29
- "type": "address"
30
- },
31
- {
32
- "indexed": false,
33
- "internalType": "uint256",
34
- "name": "",
35
- "type": "uint256"
36
- }
37
- ],
38
- "name": "PairCreated",
39
- "type": "event"
40
- },
41
- {
42
- "constant": true,
43
- "inputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
44
- "name": "allPairs",
45
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
46
- "payable": false,
47
- "stateMutability": "view",
48
- "type": "function"
49
- },
50
- {
51
- "constant": true,
52
- "inputs": [],
53
- "name": "allPairsLength",
54
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
55
- "payable": false,
56
- "stateMutability": "view",
57
- "type": "function"
58
- },
59
- {
60
- "constant": false,
61
- "inputs": [
62
- { "internalType": "address", "name": "tokenA", "type": "address" },
63
- { "internalType": "address", "name": "tokenB", "type": "address" }
64
- ],
65
- "name": "createPair",
66
- "outputs": [
67
- { "internalType": "address", "name": "pair", "type": "address" }
68
- ],
69
- "payable": false,
70
- "stateMutability": "nonpayable",
71
- "type": "function"
72
- },
73
- {
74
- "constant": true,
75
- "inputs": [],
76
- "name": "feeTo",
77
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
78
- "payable": false,
79
- "stateMutability": "view",
80
- "type": "function"
81
- },
82
- {
83
- "constant": true,
84
- "inputs": [],
85
- "name": "feeToSetter",
86
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
87
- "payable": false,
88
- "stateMutability": "view",
89
- "type": "function"
90
- },
91
- {
92
- "constant": true,
93
- "inputs": [
94
- { "internalType": "address", "name": "", "type": "address" },
95
- { "internalType": "address", "name": "", "type": "address" }
96
- ],
97
- "name": "getPair",
98
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
99
- "payable": false,
100
- "stateMutability": "view",
101
- "type": "function"
102
- },
103
- {
104
- "constant": false,
105
- "inputs": [
106
- { "internalType": "address", "name": "_feeTo", "type": "address" }
107
- ],
108
- "name": "setFeeTo",
109
- "outputs": [],
110
- "payable": false,
111
- "stateMutability": "nonpayable",
112
- "type": "function"
113
- },
114
- {
115
- "constant": false,
116
- "inputs": [
117
- { "internalType": "address", "name": "_feeToSetter", "type": "address" }
118
- ],
119
- "name": "setFeeToSetter",
120
- "outputs": [],
121
- "payable": false,
122
- "stateMutability": "nonpayable",
123
- "type": "function"
124
- }
125
- ]
@@ -1,461 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "payable": false,
5
- "stateMutability": "nonpayable",
6
- "type": "constructor"
7
- },
8
- {
9
- "anonymous": false,
10
- "inputs": [
11
- {
12
- "indexed": true,
13
- "internalType": "address",
14
- "name": "owner",
15
- "type": "address"
16
- },
17
- {
18
- "indexed": true,
19
- "internalType": "address",
20
- "name": "spender",
21
- "type": "address"
22
- },
23
- {
24
- "indexed": false,
25
- "internalType": "uint256",
26
- "name": "value",
27
- "type": "uint256"
28
- }
29
- ],
30
- "name": "Approval",
31
- "type": "event"
32
- },
33
- {
34
- "anonymous": false,
35
- "inputs": [
36
- {
37
- "indexed": true,
38
- "internalType": "address",
39
- "name": "sender",
40
- "type": "address"
41
- },
42
- {
43
- "indexed": false,
44
- "internalType": "uint256",
45
- "name": "amount0",
46
- "type": "uint256"
47
- },
48
- {
49
- "indexed": false,
50
- "internalType": "uint256",
51
- "name": "amount1",
52
- "type": "uint256"
53
- },
54
- {
55
- "indexed": true,
56
- "internalType": "address",
57
- "name": "to",
58
- "type": "address"
59
- }
60
- ],
61
- "name": "Burn",
62
- "type": "event"
63
- },
64
- {
65
- "anonymous": false,
66
- "inputs": [
67
- {
68
- "indexed": true,
69
- "internalType": "address",
70
- "name": "sender",
71
- "type": "address"
72
- },
73
- {
74
- "indexed": false,
75
- "internalType": "uint256",
76
- "name": "amount0",
77
- "type": "uint256"
78
- },
79
- {
80
- "indexed": false,
81
- "internalType": "uint256",
82
- "name": "amount1",
83
- "type": "uint256"
84
- }
85
- ],
86
- "name": "Mint",
87
- "type": "event"
88
- },
89
- {
90
- "anonymous": false,
91
- "inputs": [
92
- {
93
- "indexed": true,
94
- "internalType": "address",
95
- "name": "sender",
96
- "type": "address"
97
- },
98
- {
99
- "indexed": false,
100
- "internalType": "uint256",
101
- "name": "amount0In",
102
- "type": "uint256"
103
- },
104
- {
105
- "indexed": false,
106
- "internalType": "uint256",
107
- "name": "amount1In",
108
- "type": "uint256"
109
- },
110
- {
111
- "indexed": false,
112
- "internalType": "uint256",
113
- "name": "amount0Out",
114
- "type": "uint256"
115
- },
116
- {
117
- "indexed": false,
118
- "internalType": "uint256",
119
- "name": "amount1Out",
120
- "type": "uint256"
121
- },
122
- {
123
- "indexed": true,
124
- "internalType": "address",
125
- "name": "to",
126
- "type": "address"
127
- }
128
- ],
129
- "name": "Swap",
130
- "type": "event"
131
- },
132
- {
133
- "anonymous": false,
134
- "inputs": [
135
- {
136
- "indexed": false,
137
- "internalType": "uint112",
138
- "name": "reserve0",
139
- "type": "uint112"
140
- },
141
- {
142
- "indexed": false,
143
- "internalType": "uint112",
144
- "name": "reserve1",
145
- "type": "uint112"
146
- }
147
- ],
148
- "name": "Sync",
149
- "type": "event"
150
- },
151
- {
152
- "anonymous": false,
153
- "inputs": [
154
- {
155
- "indexed": true,
156
- "internalType": "address",
157
- "name": "from",
158
- "type": "address"
159
- },
160
- {
161
- "indexed": true,
162
- "internalType": "address",
163
- "name": "to",
164
- "type": "address"
165
- },
166
- {
167
- "indexed": false,
168
- "internalType": "uint256",
169
- "name": "value",
170
- "type": "uint256"
171
- }
172
- ],
173
- "name": "Transfer",
174
- "type": "event"
175
- },
176
- {
177
- "constant": true,
178
- "inputs": [],
179
- "name": "DOMAIN_SEPARATOR",
180
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
181
- "payable": false,
182
- "stateMutability": "view",
183
- "type": "function"
184
- },
185
- {
186
- "constant": true,
187
- "inputs": [],
188
- "name": "MINIMUM_LIQUIDITY",
189
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
190
- "payable": false,
191
- "stateMutability": "view",
192
- "type": "function"
193
- },
194
- {
195
- "constant": true,
196
- "inputs": [],
197
- "name": "PERMIT_TYPEHASH",
198
- "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
199
- "payable": false,
200
- "stateMutability": "view",
201
- "type": "function"
202
- },
203
- {
204
- "constant": true,
205
- "inputs": [
206
- { "internalType": "address", "name": "", "type": "address" },
207
- { "internalType": "address", "name": "", "type": "address" }
208
- ],
209
- "name": "allowance",
210
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
211
- "payable": false,
212
- "stateMutability": "view",
213
- "type": "function"
214
- },
215
- {
216
- "constant": false,
217
- "inputs": [
218
- { "internalType": "address", "name": "spender", "type": "address" },
219
- { "internalType": "uint256", "name": "value", "type": "uint256" }
220
- ],
221
- "name": "approve",
222
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
223
- "payable": false,
224
- "stateMutability": "nonpayable",
225
- "type": "function"
226
- },
227
- {
228
- "constant": true,
229
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
230
- "name": "balanceOf",
231
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
232
- "payable": false,
233
- "stateMutability": "view",
234
- "type": "function"
235
- },
236
- {
237
- "constant": false,
238
- "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
239
- "name": "burn",
240
- "outputs": [
241
- { "internalType": "uint256", "name": "amount0", "type": "uint256" },
242
- { "internalType": "uint256", "name": "amount1", "type": "uint256" }
243
- ],
244
- "payable": false,
245
- "stateMutability": "nonpayable",
246
- "type": "function"
247
- },
248
- {
249
- "constant": true,
250
- "inputs": [],
251
- "name": "decimals",
252
- "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }],
253
- "payable": false,
254
- "stateMutability": "view",
255
- "type": "function"
256
- },
257
- {
258
- "constant": true,
259
- "inputs": [],
260
- "name": "factory",
261
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
262
- "payable": false,
263
- "stateMutability": "view",
264
- "type": "function"
265
- },
266
- {
267
- "constant": true,
268
- "inputs": [],
269
- "name": "getReserves",
270
- "outputs": [
271
- { "internalType": "uint112", "name": "_reserve0", "type": "uint112" },
272
- { "internalType": "uint112", "name": "_reserve1", "type": "uint112" },
273
- {
274
- "internalType": "uint32",
275
- "name": "_blockTimestampLast",
276
- "type": "uint32"
277
- }
278
- ],
279
- "payable": false,
280
- "stateMutability": "view",
281
- "type": "function"
282
- },
283
- {
284
- "constant": false,
285
- "inputs": [
286
- { "internalType": "address", "name": "_token0", "type": "address" },
287
- { "internalType": "address", "name": "_token1", "type": "address" }
288
- ],
289
- "name": "initialize",
290
- "outputs": [],
291
- "payable": false,
292
- "stateMutability": "nonpayable",
293
- "type": "function"
294
- },
295
- {
296
- "constant": true,
297
- "inputs": [],
298
- "name": "kLast",
299
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
300
- "payable": false,
301
- "stateMutability": "view",
302
- "type": "function"
303
- },
304
- {
305
- "constant": false,
306
- "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
307
- "name": "mint",
308
- "outputs": [
309
- { "internalType": "uint256", "name": "liquidity", "type": "uint256" }
310
- ],
311
- "payable": false,
312
- "stateMutability": "nonpayable",
313
- "type": "function"
314
- },
315
- {
316
- "constant": true,
317
- "inputs": [],
318
- "name": "name",
319
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
320
- "payable": false,
321
- "stateMutability": "view",
322
- "type": "function"
323
- },
324
- {
325
- "constant": true,
326
- "inputs": [{ "internalType": "address", "name": "", "type": "address" }],
327
- "name": "nonces",
328
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
329
- "payable": false,
330
- "stateMutability": "view",
331
- "type": "function"
332
- },
333
- {
334
- "constant": false,
335
- "inputs": [
336
- { "internalType": "address", "name": "owner", "type": "address" },
337
- { "internalType": "address", "name": "spender", "type": "address" },
338
- { "internalType": "uint256", "name": "value", "type": "uint256" },
339
- { "internalType": "uint256", "name": "deadline", "type": "uint256" },
340
- { "internalType": "uint8", "name": "v", "type": "uint8" },
341
- { "internalType": "bytes32", "name": "r", "type": "bytes32" },
342
- { "internalType": "bytes32", "name": "s", "type": "bytes32" }
343
- ],
344
- "name": "permit",
345
- "outputs": [],
346
- "payable": false,
347
- "stateMutability": "nonpayable",
348
- "type": "function"
349
- },
350
- {
351
- "constant": true,
352
- "inputs": [],
353
- "name": "price0CumulativeLast",
354
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
355
- "payable": false,
356
- "stateMutability": "view",
357
- "type": "function"
358
- },
359
- {
360
- "constant": true,
361
- "inputs": [],
362
- "name": "price1CumulativeLast",
363
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
364
- "payable": false,
365
- "stateMutability": "view",
366
- "type": "function"
367
- },
368
- {
369
- "constant": false,
370
- "inputs": [{ "internalType": "address", "name": "to", "type": "address" }],
371
- "name": "skim",
372
- "outputs": [],
373
- "payable": false,
374
- "stateMutability": "nonpayable",
375
- "type": "function"
376
- },
377
- {
378
- "constant": false,
379
- "inputs": [
380
- { "internalType": "uint256", "name": "amount0Out", "type": "uint256" },
381
- { "internalType": "uint256", "name": "amount1Out", "type": "uint256" },
382
- { "internalType": "address", "name": "to", "type": "address" },
383
- { "internalType": "bytes", "name": "data", "type": "bytes" }
384
- ],
385
- "name": "swap",
386
- "outputs": [],
387
- "payable": false,
388
- "stateMutability": "nonpayable",
389
- "type": "function"
390
- },
391
- {
392
- "constant": true,
393
- "inputs": [],
394
- "name": "symbol",
395
- "outputs": [{ "internalType": "string", "name": "", "type": "string" }],
396
- "payable": false,
397
- "stateMutability": "view",
398
- "type": "function"
399
- },
400
- {
401
- "constant": false,
402
- "inputs": [],
403
- "name": "sync",
404
- "outputs": [],
405
- "payable": false,
406
- "stateMutability": "nonpayable",
407
- "type": "function"
408
- },
409
- {
410
- "constant": true,
411
- "inputs": [],
412
- "name": "token0",
413
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
414
- "payable": false,
415
- "stateMutability": "view",
416
- "type": "function"
417
- },
418
- {
419
- "constant": true,
420
- "inputs": [],
421
- "name": "token1",
422
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
423
- "payable": false,
424
- "stateMutability": "view",
425
- "type": "function"
426
- },
427
- {
428
- "constant": true,
429
- "inputs": [],
430
- "name": "totalSupply",
431
- "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
432
- "payable": false,
433
- "stateMutability": "view",
434
- "type": "function"
435
- },
436
- {
437
- "constant": false,
438
- "inputs": [
439
- { "internalType": "address", "name": "to", "type": "address" },
440
- { "internalType": "uint256", "name": "value", "type": "uint256" }
441
- ],
442
- "name": "transfer",
443
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
444
- "payable": false,
445
- "stateMutability": "nonpayable",
446
- "type": "function"
447
- },
448
- {
449
- "constant": false,
450
- "inputs": [
451
- { "internalType": "address", "name": "from", "type": "address" },
452
- { "internalType": "address", "name": "to", "type": "address" },
453
- { "internalType": "uint256", "name": "value", "type": "uint256" }
454
- ],
455
- "name": "transferFrom",
456
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
457
- "payable": false,
458
- "stateMutability": "nonpayable",
459
- "type": "function"
460
- }
461
- ]