@ripe-finance/sdk 1.8.1 → 1.9.2
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.
- package/dist/contracts/AeroClassicLego.d.ts +2017 -0
- package/dist/contracts/AeroClassicLego.d.ts.map +1 -0
- package/dist/contracts/AeroClassicLego.js +2567 -0
- package/dist/contracts/Endaoment.js +1 -1
- package/dist/contracts/RipePoolAero.d.ts.map +1 -1
- package/dist/contracts/RipePoolAero.js +904 -904
- package/dist/contracts/SwitchboardAlpha.js +1 -1
- package/dist/contracts/SwitchboardBravo.js +1 -1
- package/dist/contracts/SwitchboardDelta.js +1 -1
- package/dist/contracts/index.d.ts +1 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +1 -0
- package/dist/contracts/sdk.d.ts +2 -0
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +2 -0
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +65 -91
- package/package.json +1 -1
|
@@ -5,1360 +5,1360 @@
|
|
|
5
5
|
import { singleQuery, mutate } from '@dappql/async';
|
|
6
6
|
export const abi = [
|
|
7
7
|
{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
inputs: [],
|
|
9
|
+
stateMutability: 'nonpayable',
|
|
10
|
+
type: 'constructor',
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
inputs: [],
|
|
14
|
+
name: 'BelowMinimumK',
|
|
15
|
+
type: 'error',
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
inputs: [],
|
|
19
|
+
name: 'DepositsNotEqual',
|
|
20
|
+
type: 'error',
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
inputs: [],
|
|
24
|
+
name: 'FactoryAlreadySet',
|
|
25
|
+
type: 'error',
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
inputs: [],
|
|
29
|
+
name: 'InsufficientInputAmount',
|
|
30
|
+
type: 'error',
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
inputs: [],
|
|
34
|
+
name: 'InsufficientLiquidity',
|
|
35
|
+
type: 'error',
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
inputs: [],
|
|
39
|
+
name: 'InsufficientLiquidityBurned',
|
|
40
|
+
type: 'error',
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
inputs: [],
|
|
44
|
+
name: 'InsufficientLiquidityMinted',
|
|
45
|
+
type: 'error',
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
inputs: [],
|
|
49
|
+
name: 'InsufficientOutputAmount',
|
|
50
|
+
type: 'error',
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
inputs: [],
|
|
54
|
+
name: 'InvalidTo',
|
|
55
|
+
type: 'error',
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
inputs: [],
|
|
59
|
+
name: 'IsPaused',
|
|
60
|
+
type: 'error',
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
inputs: [],
|
|
64
|
+
name: 'K',
|
|
65
|
+
type: 'error',
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
inputs: [],
|
|
69
|
+
name: 'NotEmergencyCouncil',
|
|
70
|
+
type: 'error',
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
|
-
|
|
73
|
+
inputs: [
|
|
74
74
|
{
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}
|
|
75
|
+
internalType: 'string',
|
|
76
|
+
name: 'str',
|
|
77
|
+
type: 'string',
|
|
78
|
+
},
|
|
79
79
|
],
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
name: 'StringTooLong',
|
|
81
|
+
type: 'error',
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
anonymous: false,
|
|
85
|
+
inputs: [
|
|
86
86
|
{
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
indexed: true,
|
|
88
|
+
internalType: 'address',
|
|
89
|
+
name: 'owner',
|
|
90
|
+
type: 'address',
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
indexed: true,
|
|
94
|
+
internalType: 'address',
|
|
95
|
+
name: 'spender',
|
|
96
|
+
type: 'address',
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
99
|
+
indexed: false,
|
|
100
|
+
internalType: 'uint256',
|
|
101
|
+
name: 'value',
|
|
102
|
+
type: 'uint256',
|
|
103
|
+
},
|
|
104
104
|
],
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
name: 'Approval',
|
|
106
|
+
type: 'event',
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
anonymous: false,
|
|
110
|
+
inputs: [
|
|
111
111
|
{
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
112
|
+
indexed: true,
|
|
113
|
+
internalType: 'address',
|
|
114
|
+
name: 'sender',
|
|
115
|
+
type: 'address',
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
118
|
+
indexed: true,
|
|
119
|
+
internalType: 'address',
|
|
120
|
+
name: 'to',
|
|
121
|
+
type: 'address',
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
124
|
+
indexed: false,
|
|
125
|
+
internalType: 'uint256',
|
|
126
|
+
name: 'amount0',
|
|
127
|
+
type: 'uint256',
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
130
|
+
indexed: false,
|
|
131
|
+
internalType: 'uint256',
|
|
132
|
+
name: 'amount1',
|
|
133
|
+
type: 'uint256',
|
|
134
|
+
},
|
|
135
135
|
],
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
name: 'Burn',
|
|
137
|
+
type: 'event',
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
anonymous: false,
|
|
141
|
+
inputs: [
|
|
142
142
|
{
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
indexed: true,
|
|
144
|
+
internalType: 'address',
|
|
145
|
+
name: 'sender',
|
|
146
|
+
type: 'address',
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
149
|
+
indexed: true,
|
|
150
|
+
internalType: 'address',
|
|
151
|
+
name: 'recipient',
|
|
152
|
+
type: 'address',
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
155
|
+
indexed: false,
|
|
156
|
+
internalType: 'uint256',
|
|
157
|
+
name: 'amount0',
|
|
158
|
+
type: 'uint256',
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
}
|
|
161
|
+
indexed: false,
|
|
162
|
+
internalType: 'uint256',
|
|
163
|
+
name: 'amount1',
|
|
164
|
+
type: 'uint256',
|
|
165
|
+
},
|
|
166
166
|
],
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
name: 'Claim',
|
|
168
|
+
type: 'event',
|
|
169
169
|
},
|
|
170
170
|
{
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
171
|
+
anonymous: false,
|
|
172
|
+
inputs: [],
|
|
173
|
+
name: 'EIP712DomainChanged',
|
|
174
|
+
type: 'event',
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
|
-
|
|
178
|
-
|
|
177
|
+
anonymous: false,
|
|
178
|
+
inputs: [
|
|
179
179
|
{
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
180
|
+
indexed: true,
|
|
181
|
+
internalType: 'address',
|
|
182
|
+
name: 'sender',
|
|
183
|
+
type: 'address',
|
|
184
184
|
},
|
|
185
185
|
{
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
186
|
+
indexed: false,
|
|
187
|
+
internalType: 'uint256',
|
|
188
|
+
name: 'amount0',
|
|
189
|
+
type: 'uint256',
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
192
|
+
indexed: false,
|
|
193
|
+
internalType: 'uint256',
|
|
194
|
+
name: 'amount1',
|
|
195
|
+
type: 'uint256',
|
|
196
|
+
},
|
|
197
197
|
],
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
name: 'Fees',
|
|
199
|
+
type: 'event',
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
anonymous: false,
|
|
203
|
+
inputs: [
|
|
204
204
|
{
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
205
|
+
indexed: true,
|
|
206
|
+
internalType: 'address',
|
|
207
|
+
name: 'sender',
|
|
208
|
+
type: 'address',
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
211
|
+
indexed: false,
|
|
212
|
+
internalType: 'uint256',
|
|
213
|
+
name: 'amount0',
|
|
214
|
+
type: 'uint256',
|
|
215
215
|
},
|
|
216
216
|
{
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
}
|
|
217
|
+
indexed: false,
|
|
218
|
+
internalType: 'uint256',
|
|
219
|
+
name: 'amount1',
|
|
220
|
+
type: 'uint256',
|
|
221
|
+
},
|
|
222
222
|
],
|
|
223
|
-
|
|
224
|
-
|
|
223
|
+
name: 'Mint',
|
|
224
|
+
type: 'event',
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
anonymous: false,
|
|
228
|
+
inputs: [
|
|
229
229
|
{
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
230
|
+
indexed: true,
|
|
231
|
+
internalType: 'address',
|
|
232
|
+
name: 'sender',
|
|
233
|
+
type: 'address',
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
236
|
+
indexed: true,
|
|
237
|
+
internalType: 'address',
|
|
238
|
+
name: 'to',
|
|
239
|
+
type: 'address',
|
|
240
240
|
},
|
|
241
241
|
{
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
242
|
+
indexed: false,
|
|
243
|
+
internalType: 'uint256',
|
|
244
|
+
name: 'amount0In',
|
|
245
|
+
type: 'uint256',
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
248
|
+
indexed: false,
|
|
249
|
+
internalType: 'uint256',
|
|
250
|
+
name: 'amount1In',
|
|
251
|
+
type: 'uint256',
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
254
|
+
indexed: false,
|
|
255
|
+
internalType: 'uint256',
|
|
256
|
+
name: 'amount0Out',
|
|
257
|
+
type: 'uint256',
|
|
258
258
|
},
|
|
259
259
|
{
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
}
|
|
260
|
+
indexed: false,
|
|
261
|
+
internalType: 'uint256',
|
|
262
|
+
name: 'amount1Out',
|
|
263
|
+
type: 'uint256',
|
|
264
|
+
},
|
|
265
265
|
],
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
name: 'Swap',
|
|
267
|
+
type: 'event',
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
anonymous: false,
|
|
271
|
+
inputs: [
|
|
272
272
|
{
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
273
|
+
indexed: false,
|
|
274
|
+
internalType: 'uint256',
|
|
275
|
+
name: 'reserve0',
|
|
276
|
+
type: 'uint256',
|
|
277
277
|
},
|
|
278
278
|
{
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
}
|
|
279
|
+
indexed: false,
|
|
280
|
+
internalType: 'uint256',
|
|
281
|
+
name: 'reserve1',
|
|
282
|
+
type: 'uint256',
|
|
283
|
+
},
|
|
284
284
|
],
|
|
285
|
-
|
|
286
|
-
|
|
285
|
+
name: 'Sync',
|
|
286
|
+
type: 'event',
|
|
287
287
|
},
|
|
288
288
|
{
|
|
289
|
-
|
|
290
|
-
|
|
289
|
+
anonymous: false,
|
|
290
|
+
inputs: [
|
|
291
291
|
{
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
292
|
+
indexed: true,
|
|
293
|
+
internalType: 'address',
|
|
294
|
+
name: 'from',
|
|
295
|
+
type: 'address',
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
298
|
+
indexed: true,
|
|
299
|
+
internalType: 'address',
|
|
300
|
+
name: 'to',
|
|
301
|
+
type: 'address',
|
|
302
302
|
},
|
|
303
303
|
{
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
}
|
|
304
|
+
indexed: false,
|
|
305
|
+
internalType: 'uint256',
|
|
306
|
+
name: 'value',
|
|
307
|
+
type: 'uint256',
|
|
308
|
+
},
|
|
309
309
|
],
|
|
310
|
-
|
|
311
|
-
|
|
310
|
+
name: 'Transfer',
|
|
311
|
+
type: 'event',
|
|
312
312
|
},
|
|
313
313
|
{
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
314
|
+
inputs: [],
|
|
315
|
+
name: 'DOMAIN_SEPARATOR',
|
|
316
|
+
outputs: [
|
|
317
317
|
{
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
}
|
|
318
|
+
internalType: 'bytes32',
|
|
319
|
+
name: '',
|
|
320
|
+
type: 'bytes32',
|
|
321
|
+
},
|
|
322
322
|
],
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
stateMutability: 'view',
|
|
324
|
+
type: 'function',
|
|
325
325
|
},
|
|
326
326
|
{
|
|
327
|
-
|
|
327
|
+
inputs: [
|
|
328
328
|
{
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
329
|
+
internalType: 'address',
|
|
330
|
+
name: 'owner',
|
|
331
|
+
type: 'address',
|
|
332
332
|
},
|
|
333
333
|
{
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
}
|
|
334
|
+
internalType: 'address',
|
|
335
|
+
name: 'spender',
|
|
336
|
+
type: 'address',
|
|
337
|
+
},
|
|
338
338
|
],
|
|
339
|
-
|
|
340
|
-
|
|
339
|
+
name: 'allowance',
|
|
340
|
+
outputs: [
|
|
341
341
|
{
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
}
|
|
342
|
+
internalType: 'uint256',
|
|
343
|
+
name: '',
|
|
344
|
+
type: 'uint256',
|
|
345
|
+
},
|
|
346
346
|
],
|
|
347
|
-
|
|
348
|
-
|
|
347
|
+
stateMutability: 'view',
|
|
348
|
+
type: 'function',
|
|
349
349
|
},
|
|
350
350
|
{
|
|
351
|
-
|
|
351
|
+
inputs: [
|
|
352
352
|
{
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
353
|
+
internalType: 'address',
|
|
354
|
+
name: 'spender',
|
|
355
|
+
type: 'address',
|
|
356
356
|
},
|
|
357
357
|
{
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
}
|
|
358
|
+
internalType: 'uint256',
|
|
359
|
+
name: 'amount',
|
|
360
|
+
type: 'uint256',
|
|
361
|
+
},
|
|
362
362
|
],
|
|
363
|
-
|
|
364
|
-
|
|
363
|
+
name: 'approve',
|
|
364
|
+
outputs: [
|
|
365
365
|
{
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
}
|
|
366
|
+
internalType: 'bool',
|
|
367
|
+
name: '',
|
|
368
|
+
type: 'bool',
|
|
369
|
+
},
|
|
370
370
|
],
|
|
371
|
-
|
|
372
|
-
|
|
371
|
+
stateMutability: 'nonpayable',
|
|
372
|
+
type: 'function',
|
|
373
373
|
},
|
|
374
374
|
{
|
|
375
|
-
|
|
375
|
+
inputs: [
|
|
376
376
|
{
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
}
|
|
377
|
+
internalType: 'address',
|
|
378
|
+
name: 'account',
|
|
379
|
+
type: 'address',
|
|
380
|
+
},
|
|
381
381
|
],
|
|
382
|
-
|
|
383
|
-
|
|
382
|
+
name: 'balanceOf',
|
|
383
|
+
outputs: [
|
|
384
384
|
{
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
}
|
|
385
|
+
internalType: 'uint256',
|
|
386
|
+
name: '',
|
|
387
|
+
type: 'uint256',
|
|
388
|
+
},
|
|
389
389
|
],
|
|
390
|
-
|
|
391
|
-
|
|
390
|
+
stateMutability: 'view',
|
|
391
|
+
type: 'function',
|
|
392
392
|
},
|
|
393
393
|
{
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
394
|
+
inputs: [],
|
|
395
|
+
name: 'blockTimestampLast',
|
|
396
|
+
outputs: [
|
|
397
397
|
{
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
}
|
|
398
|
+
internalType: 'uint256',
|
|
399
|
+
name: '',
|
|
400
|
+
type: 'uint256',
|
|
401
|
+
},
|
|
402
402
|
],
|
|
403
|
-
|
|
404
|
-
|
|
403
|
+
stateMutability: 'view',
|
|
404
|
+
type: 'function',
|
|
405
405
|
},
|
|
406
406
|
{
|
|
407
|
-
|
|
407
|
+
inputs: [
|
|
408
408
|
{
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
}
|
|
409
|
+
internalType: 'address',
|
|
410
|
+
name: 'to',
|
|
411
|
+
type: 'address',
|
|
412
|
+
},
|
|
413
413
|
],
|
|
414
|
-
|
|
415
|
-
|
|
414
|
+
name: 'burn',
|
|
415
|
+
outputs: [
|
|
416
416
|
{
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
417
|
+
internalType: 'uint256',
|
|
418
|
+
name: 'amount0',
|
|
419
|
+
type: 'uint256',
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
}
|
|
422
|
+
internalType: 'uint256',
|
|
423
|
+
name: 'amount1',
|
|
424
|
+
type: 'uint256',
|
|
425
|
+
},
|
|
426
426
|
],
|
|
427
|
-
|
|
428
|
-
|
|
427
|
+
stateMutability: 'nonpayable',
|
|
428
|
+
type: 'function',
|
|
429
429
|
},
|
|
430
430
|
{
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
431
|
+
inputs: [],
|
|
432
|
+
name: 'claimFees',
|
|
433
|
+
outputs: [
|
|
434
434
|
{
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
435
|
+
internalType: 'uint256',
|
|
436
|
+
name: 'claimed0',
|
|
437
|
+
type: 'uint256',
|
|
438
438
|
},
|
|
439
439
|
{
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
}
|
|
440
|
+
internalType: 'uint256',
|
|
441
|
+
name: 'claimed1',
|
|
442
|
+
type: 'uint256',
|
|
443
|
+
},
|
|
444
444
|
],
|
|
445
|
-
|
|
446
|
-
|
|
445
|
+
stateMutability: 'nonpayable',
|
|
446
|
+
type: 'function',
|
|
447
447
|
},
|
|
448
448
|
{
|
|
449
|
-
|
|
449
|
+
inputs: [
|
|
450
450
|
{
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
}
|
|
451
|
+
internalType: 'address',
|
|
452
|
+
name: '',
|
|
453
|
+
type: 'address',
|
|
454
|
+
},
|
|
455
455
|
],
|
|
456
|
-
|
|
457
|
-
|
|
456
|
+
name: 'claimable0',
|
|
457
|
+
outputs: [
|
|
458
458
|
{
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
}
|
|
459
|
+
internalType: 'uint256',
|
|
460
|
+
name: '',
|
|
461
|
+
type: 'uint256',
|
|
462
|
+
},
|
|
463
463
|
],
|
|
464
|
-
|
|
465
|
-
|
|
464
|
+
stateMutability: 'view',
|
|
465
|
+
type: 'function',
|
|
466
466
|
},
|
|
467
467
|
{
|
|
468
|
-
|
|
468
|
+
inputs: [
|
|
469
469
|
{
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
}
|
|
470
|
+
internalType: 'address',
|
|
471
|
+
name: '',
|
|
472
|
+
type: 'address',
|
|
473
|
+
},
|
|
474
474
|
],
|
|
475
|
-
|
|
476
|
-
|
|
475
|
+
name: 'claimable1',
|
|
476
|
+
outputs: [
|
|
477
477
|
{
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
}
|
|
478
|
+
internalType: 'uint256',
|
|
479
|
+
name: '',
|
|
480
|
+
type: 'uint256',
|
|
481
|
+
},
|
|
482
482
|
],
|
|
483
|
-
|
|
484
|
-
|
|
483
|
+
stateMutability: 'view',
|
|
484
|
+
type: 'function',
|
|
485
485
|
},
|
|
486
486
|
{
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
487
|
+
inputs: [],
|
|
488
|
+
name: 'currentCumulativePrices',
|
|
489
|
+
outputs: [
|
|
490
490
|
{
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
491
|
+
internalType: 'uint256',
|
|
492
|
+
name: 'reserve0Cumulative',
|
|
493
|
+
type: 'uint256',
|
|
494
494
|
},
|
|
495
495
|
{
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
496
|
+
internalType: 'uint256',
|
|
497
|
+
name: 'reserve1Cumulative',
|
|
498
|
+
type: 'uint256',
|
|
499
499
|
},
|
|
500
500
|
{
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
}
|
|
501
|
+
internalType: 'uint256',
|
|
502
|
+
name: 'blockTimestamp',
|
|
503
|
+
type: 'uint256',
|
|
504
|
+
},
|
|
505
505
|
],
|
|
506
|
-
|
|
507
|
-
|
|
506
|
+
stateMutability: 'view',
|
|
507
|
+
type: 'function',
|
|
508
508
|
},
|
|
509
509
|
{
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
510
|
+
inputs: [],
|
|
511
|
+
name: 'decimals',
|
|
512
|
+
outputs: [
|
|
513
513
|
{
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
}
|
|
514
|
+
internalType: 'uint8',
|
|
515
|
+
name: '',
|
|
516
|
+
type: 'uint8',
|
|
517
|
+
},
|
|
518
518
|
],
|
|
519
|
-
|
|
520
|
-
|
|
519
|
+
stateMutability: 'view',
|
|
520
|
+
type: 'function',
|
|
521
521
|
},
|
|
522
522
|
{
|
|
523
|
-
|
|
523
|
+
inputs: [
|
|
524
524
|
{
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
525
|
+
internalType: 'address',
|
|
526
|
+
name: 'spender',
|
|
527
|
+
type: 'address',
|
|
528
528
|
},
|
|
529
529
|
{
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
}
|
|
530
|
+
internalType: 'uint256',
|
|
531
|
+
name: 'subtractedValue',
|
|
532
|
+
type: 'uint256',
|
|
533
|
+
},
|
|
534
534
|
],
|
|
535
|
-
|
|
536
|
-
|
|
535
|
+
name: 'decreaseAllowance',
|
|
536
|
+
outputs: [
|
|
537
537
|
{
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
}
|
|
538
|
+
internalType: 'bool',
|
|
539
|
+
name: '',
|
|
540
|
+
type: 'bool',
|
|
541
|
+
},
|
|
542
542
|
],
|
|
543
|
-
|
|
544
|
-
|
|
543
|
+
stateMutability: 'nonpayable',
|
|
544
|
+
type: 'function',
|
|
545
545
|
},
|
|
546
546
|
{
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
547
|
+
inputs: [],
|
|
548
|
+
name: 'eip712Domain',
|
|
549
|
+
outputs: [
|
|
550
550
|
{
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
551
|
+
internalType: 'bytes1',
|
|
552
|
+
name: 'fields',
|
|
553
|
+
type: 'bytes1',
|
|
554
554
|
},
|
|
555
555
|
{
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
556
|
+
internalType: 'string',
|
|
557
|
+
name: 'name',
|
|
558
|
+
type: 'string',
|
|
559
559
|
},
|
|
560
560
|
{
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
561
|
+
internalType: 'string',
|
|
562
|
+
name: 'version',
|
|
563
|
+
type: 'string',
|
|
564
564
|
},
|
|
565
565
|
{
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
566
|
+
internalType: 'uint256',
|
|
567
|
+
name: 'chainId',
|
|
568
|
+
type: 'uint256',
|
|
569
569
|
},
|
|
570
570
|
{
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
571
|
+
internalType: 'address',
|
|
572
|
+
name: 'verifyingContract',
|
|
573
|
+
type: 'address',
|
|
574
574
|
},
|
|
575
575
|
{
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
576
|
+
internalType: 'bytes32',
|
|
577
|
+
name: 'salt',
|
|
578
|
+
type: 'bytes32',
|
|
579
579
|
},
|
|
580
580
|
{
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
}
|
|
581
|
+
internalType: 'uint256[]',
|
|
582
|
+
name: 'extensions',
|
|
583
|
+
type: 'uint256[]',
|
|
584
|
+
},
|
|
585
585
|
],
|
|
586
|
-
|
|
587
|
-
|
|
586
|
+
stateMutability: 'view',
|
|
587
|
+
type: 'function',
|
|
588
588
|
},
|
|
589
589
|
{
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
590
|
+
inputs: [],
|
|
591
|
+
name: 'factory',
|
|
592
|
+
outputs: [
|
|
593
593
|
{
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
}
|
|
594
|
+
internalType: 'address',
|
|
595
|
+
name: '',
|
|
596
|
+
type: 'address',
|
|
597
|
+
},
|
|
598
598
|
],
|
|
599
|
-
|
|
600
|
-
|
|
599
|
+
stateMutability: 'view',
|
|
600
|
+
type: 'function',
|
|
601
601
|
},
|
|
602
602
|
{
|
|
603
|
-
|
|
603
|
+
inputs: [
|
|
604
604
|
{
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
605
|
+
internalType: 'uint256',
|
|
606
|
+
name: 'amountIn',
|
|
607
|
+
type: 'uint256',
|
|
608
608
|
},
|
|
609
609
|
{
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
}
|
|
610
|
+
internalType: 'address',
|
|
611
|
+
name: 'tokenIn',
|
|
612
|
+
type: 'address',
|
|
613
|
+
},
|
|
614
614
|
],
|
|
615
|
-
|
|
616
|
-
|
|
615
|
+
name: 'getAmountOut',
|
|
616
|
+
outputs: [
|
|
617
617
|
{
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
}
|
|
618
|
+
internalType: 'uint256',
|
|
619
|
+
name: '',
|
|
620
|
+
type: 'uint256',
|
|
621
|
+
},
|
|
622
622
|
],
|
|
623
|
-
|
|
624
|
-
|
|
623
|
+
stateMutability: 'view',
|
|
624
|
+
type: 'function',
|
|
625
625
|
},
|
|
626
626
|
{
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
627
|
+
inputs: [],
|
|
628
|
+
name: 'getK',
|
|
629
|
+
outputs: [
|
|
630
630
|
{
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
}
|
|
631
|
+
internalType: 'uint256',
|
|
632
|
+
name: '',
|
|
633
|
+
type: 'uint256',
|
|
634
|
+
},
|
|
635
635
|
],
|
|
636
|
-
|
|
637
|
-
|
|
636
|
+
stateMutability: 'nonpayable',
|
|
637
|
+
type: 'function',
|
|
638
638
|
},
|
|
639
639
|
{
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
640
|
+
inputs: [],
|
|
641
|
+
name: 'getReserves',
|
|
642
|
+
outputs: [
|
|
643
643
|
{
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
644
|
+
internalType: 'uint256',
|
|
645
|
+
name: '_reserve0',
|
|
646
|
+
type: 'uint256',
|
|
647
647
|
},
|
|
648
648
|
{
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
649
|
+
internalType: 'uint256',
|
|
650
|
+
name: '_reserve1',
|
|
651
|
+
type: 'uint256',
|
|
652
652
|
},
|
|
653
653
|
{
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
}
|
|
654
|
+
internalType: 'uint256',
|
|
655
|
+
name: '_blockTimestampLast',
|
|
656
|
+
type: 'uint256',
|
|
657
|
+
},
|
|
658
658
|
],
|
|
659
|
-
|
|
660
|
-
|
|
659
|
+
stateMutability: 'view',
|
|
660
|
+
type: 'function',
|
|
661
661
|
},
|
|
662
662
|
{
|
|
663
|
-
|
|
663
|
+
inputs: [
|
|
664
664
|
{
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
665
|
+
internalType: 'address',
|
|
666
|
+
name: 'spender',
|
|
667
|
+
type: 'address',
|
|
668
668
|
},
|
|
669
669
|
{
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
}
|
|
670
|
+
internalType: 'uint256',
|
|
671
|
+
name: 'addedValue',
|
|
672
|
+
type: 'uint256',
|
|
673
|
+
},
|
|
674
674
|
],
|
|
675
|
-
|
|
676
|
-
|
|
675
|
+
name: 'increaseAllowance',
|
|
676
|
+
outputs: [
|
|
677
677
|
{
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
}
|
|
678
|
+
internalType: 'bool',
|
|
679
|
+
name: '',
|
|
680
|
+
type: 'bool',
|
|
681
|
+
},
|
|
682
682
|
],
|
|
683
|
-
|
|
684
|
-
|
|
683
|
+
stateMutability: 'nonpayable',
|
|
684
|
+
type: 'function',
|
|
685
685
|
},
|
|
686
686
|
{
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
687
|
+
inputs: [],
|
|
688
|
+
name: 'index0',
|
|
689
|
+
outputs: [
|
|
690
690
|
{
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
}
|
|
691
|
+
internalType: 'uint256',
|
|
692
|
+
name: '',
|
|
693
|
+
type: 'uint256',
|
|
694
|
+
},
|
|
695
695
|
],
|
|
696
|
-
|
|
697
|
-
|
|
696
|
+
stateMutability: 'view',
|
|
697
|
+
type: 'function',
|
|
698
698
|
},
|
|
699
699
|
{
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
700
|
+
inputs: [],
|
|
701
|
+
name: 'index1',
|
|
702
|
+
outputs: [
|
|
703
703
|
{
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
}
|
|
704
|
+
internalType: 'uint256',
|
|
705
|
+
name: '',
|
|
706
|
+
type: 'uint256',
|
|
707
|
+
},
|
|
708
708
|
],
|
|
709
|
-
|
|
710
|
-
|
|
709
|
+
stateMutability: 'view',
|
|
710
|
+
type: 'function',
|
|
711
711
|
},
|
|
712
712
|
{
|
|
713
|
-
|
|
713
|
+
inputs: [
|
|
714
714
|
{
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
715
|
+
internalType: 'address',
|
|
716
|
+
name: '_token0',
|
|
717
|
+
type: 'address',
|
|
718
718
|
},
|
|
719
719
|
{
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
720
|
+
internalType: 'address',
|
|
721
|
+
name: '_token1',
|
|
722
|
+
type: 'address',
|
|
723
723
|
},
|
|
724
724
|
{
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
}
|
|
725
|
+
internalType: 'bool',
|
|
726
|
+
name: '_stable',
|
|
727
|
+
type: 'bool',
|
|
728
|
+
},
|
|
729
729
|
],
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
730
|
+
name: 'initialize',
|
|
731
|
+
outputs: [],
|
|
732
|
+
stateMutability: 'nonpayable',
|
|
733
|
+
type: 'function',
|
|
734
734
|
},
|
|
735
735
|
{
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
736
|
+
inputs: [],
|
|
737
|
+
name: 'lastObservation',
|
|
738
|
+
outputs: [
|
|
739
739
|
{
|
|
740
|
-
|
|
740
|
+
components: [
|
|
741
741
|
{
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
742
|
+
internalType: 'uint256',
|
|
743
|
+
name: 'timestamp',
|
|
744
|
+
type: 'uint256',
|
|
745
745
|
},
|
|
746
746
|
{
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
747
|
+
internalType: 'uint256',
|
|
748
|
+
name: 'reserve0Cumulative',
|
|
749
|
+
type: 'uint256',
|
|
750
750
|
},
|
|
751
751
|
{
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
}
|
|
752
|
+
internalType: 'uint256',
|
|
753
|
+
name: 'reserve1Cumulative',
|
|
754
|
+
type: 'uint256',
|
|
755
|
+
},
|
|
756
756
|
],
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
}
|
|
757
|
+
internalType: 'struct IPool.Observation',
|
|
758
|
+
name: '',
|
|
759
|
+
type: 'tuple',
|
|
760
|
+
},
|
|
761
761
|
],
|
|
762
|
-
|
|
763
|
-
|
|
762
|
+
stateMutability: 'view',
|
|
763
|
+
type: 'function',
|
|
764
764
|
},
|
|
765
765
|
{
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
766
|
+
inputs: [],
|
|
767
|
+
name: 'metadata',
|
|
768
|
+
outputs: [
|
|
769
769
|
{
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
770
|
+
internalType: 'uint256',
|
|
771
|
+
name: 'dec0',
|
|
772
|
+
type: 'uint256',
|
|
773
773
|
},
|
|
774
774
|
{
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
775
|
+
internalType: 'uint256',
|
|
776
|
+
name: 'dec1',
|
|
777
|
+
type: 'uint256',
|
|
778
778
|
},
|
|
779
779
|
{
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
780
|
+
internalType: 'uint256',
|
|
781
|
+
name: 'r0',
|
|
782
|
+
type: 'uint256',
|
|
783
783
|
},
|
|
784
784
|
{
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
785
|
+
internalType: 'uint256',
|
|
786
|
+
name: 'r1',
|
|
787
|
+
type: 'uint256',
|
|
788
788
|
},
|
|
789
789
|
{
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
790
|
+
internalType: 'bool',
|
|
791
|
+
name: 'st',
|
|
792
|
+
type: 'bool',
|
|
793
793
|
},
|
|
794
794
|
{
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
795
|
+
internalType: 'address',
|
|
796
|
+
name: 't0',
|
|
797
|
+
type: 'address',
|
|
798
798
|
},
|
|
799
799
|
{
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
}
|
|
800
|
+
internalType: 'address',
|
|
801
|
+
name: 't1',
|
|
802
|
+
type: 'address',
|
|
803
|
+
},
|
|
804
804
|
],
|
|
805
|
-
|
|
806
|
-
|
|
805
|
+
stateMutability: 'view',
|
|
806
|
+
type: 'function',
|
|
807
807
|
},
|
|
808
808
|
{
|
|
809
|
-
|
|
809
|
+
inputs: [
|
|
810
810
|
{
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
}
|
|
811
|
+
internalType: 'address',
|
|
812
|
+
name: 'to',
|
|
813
|
+
type: 'address',
|
|
814
|
+
},
|
|
815
815
|
],
|
|
816
|
-
|
|
817
|
-
|
|
816
|
+
name: 'mint',
|
|
817
|
+
outputs: [
|
|
818
818
|
{
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
}
|
|
819
|
+
internalType: 'uint256',
|
|
820
|
+
name: 'liquidity',
|
|
821
|
+
type: 'uint256',
|
|
822
|
+
},
|
|
823
823
|
],
|
|
824
|
-
|
|
825
|
-
|
|
824
|
+
stateMutability: 'nonpayable',
|
|
825
|
+
type: 'function',
|
|
826
826
|
},
|
|
827
827
|
{
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
828
|
+
inputs: [],
|
|
829
|
+
name: 'name',
|
|
830
|
+
outputs: [
|
|
831
831
|
{
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
}
|
|
832
|
+
internalType: 'string',
|
|
833
|
+
name: '',
|
|
834
|
+
type: 'string',
|
|
835
|
+
},
|
|
836
836
|
],
|
|
837
|
-
|
|
838
|
-
|
|
837
|
+
stateMutability: 'view',
|
|
838
|
+
type: 'function',
|
|
839
839
|
},
|
|
840
840
|
{
|
|
841
|
-
|
|
841
|
+
inputs: [
|
|
842
842
|
{
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
}
|
|
843
|
+
internalType: 'address',
|
|
844
|
+
name: 'owner',
|
|
845
|
+
type: 'address',
|
|
846
|
+
},
|
|
847
847
|
],
|
|
848
|
-
|
|
849
|
-
|
|
848
|
+
name: 'nonces',
|
|
849
|
+
outputs: [
|
|
850
850
|
{
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
}
|
|
851
|
+
internalType: 'uint256',
|
|
852
|
+
name: '',
|
|
853
|
+
type: 'uint256',
|
|
854
|
+
},
|
|
855
855
|
],
|
|
856
|
-
|
|
857
|
-
|
|
856
|
+
stateMutability: 'view',
|
|
857
|
+
type: 'function',
|
|
858
858
|
},
|
|
859
859
|
{
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
860
|
+
inputs: [],
|
|
861
|
+
name: 'observationLength',
|
|
862
|
+
outputs: [
|
|
863
863
|
{
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
}
|
|
864
|
+
internalType: 'uint256',
|
|
865
|
+
name: '',
|
|
866
|
+
type: 'uint256',
|
|
867
|
+
},
|
|
868
868
|
],
|
|
869
|
-
|
|
870
|
-
|
|
869
|
+
stateMutability: 'view',
|
|
870
|
+
type: 'function',
|
|
871
871
|
},
|
|
872
872
|
{
|
|
873
|
-
|
|
873
|
+
inputs: [
|
|
874
874
|
{
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
}
|
|
875
|
+
internalType: 'uint256',
|
|
876
|
+
name: '',
|
|
877
|
+
type: 'uint256',
|
|
878
|
+
},
|
|
879
879
|
],
|
|
880
|
-
|
|
881
|
-
|
|
880
|
+
name: 'observations',
|
|
881
|
+
outputs: [
|
|
882
882
|
{
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
883
|
+
internalType: 'uint256',
|
|
884
|
+
name: 'timestamp',
|
|
885
|
+
type: 'uint256',
|
|
886
886
|
},
|
|
887
887
|
{
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
888
|
+
internalType: 'uint256',
|
|
889
|
+
name: 'reserve0Cumulative',
|
|
890
|
+
type: 'uint256',
|
|
891
891
|
},
|
|
892
892
|
{
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
}
|
|
893
|
+
internalType: 'uint256',
|
|
894
|
+
name: 'reserve1Cumulative',
|
|
895
|
+
type: 'uint256',
|
|
896
|
+
},
|
|
897
897
|
],
|
|
898
|
-
|
|
899
|
-
|
|
898
|
+
stateMutability: 'view',
|
|
899
|
+
type: 'function',
|
|
900
900
|
},
|
|
901
901
|
{
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
902
|
+
inputs: [],
|
|
903
|
+
name: 'periodSize',
|
|
904
|
+
outputs: [
|
|
905
905
|
{
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
}
|
|
906
|
+
internalType: 'uint256',
|
|
907
|
+
name: '',
|
|
908
|
+
type: 'uint256',
|
|
909
|
+
},
|
|
910
910
|
],
|
|
911
|
-
|
|
912
|
-
|
|
911
|
+
stateMutability: 'view',
|
|
912
|
+
type: 'function',
|
|
913
913
|
},
|
|
914
914
|
{
|
|
915
|
-
|
|
915
|
+
inputs: [
|
|
916
916
|
{
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
917
|
+
internalType: 'address',
|
|
918
|
+
name: 'owner',
|
|
919
|
+
type: 'address',
|
|
920
920
|
},
|
|
921
921
|
{
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
922
|
+
internalType: 'address',
|
|
923
|
+
name: 'spender',
|
|
924
|
+
type: 'address',
|
|
925
925
|
},
|
|
926
926
|
{
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
927
|
+
internalType: 'uint256',
|
|
928
|
+
name: 'value',
|
|
929
|
+
type: 'uint256',
|
|
930
930
|
},
|
|
931
931
|
{
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
932
|
+
internalType: 'uint256',
|
|
933
|
+
name: 'deadline',
|
|
934
|
+
type: 'uint256',
|
|
935
935
|
},
|
|
936
936
|
{
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
937
|
+
internalType: 'uint8',
|
|
938
|
+
name: 'v',
|
|
939
|
+
type: 'uint8',
|
|
940
940
|
},
|
|
941
941
|
{
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
942
|
+
internalType: 'bytes32',
|
|
943
|
+
name: 'r',
|
|
944
|
+
type: 'bytes32',
|
|
945
945
|
},
|
|
946
946
|
{
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
}
|
|
947
|
+
internalType: 'bytes32',
|
|
948
|
+
name: 's',
|
|
949
|
+
type: 'bytes32',
|
|
950
|
+
},
|
|
951
951
|
],
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
952
|
+
name: 'permit',
|
|
953
|
+
outputs: [],
|
|
954
|
+
stateMutability: 'nonpayable',
|
|
955
|
+
type: 'function',
|
|
956
956
|
},
|
|
957
957
|
{
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
958
|
+
inputs: [],
|
|
959
|
+
name: 'poolFees',
|
|
960
|
+
outputs: [
|
|
961
961
|
{
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
}
|
|
962
|
+
internalType: 'address',
|
|
963
|
+
name: '',
|
|
964
|
+
type: 'address',
|
|
965
|
+
},
|
|
966
966
|
],
|
|
967
|
-
|
|
968
|
-
|
|
967
|
+
stateMutability: 'view',
|
|
968
|
+
type: 'function',
|
|
969
969
|
},
|
|
970
970
|
{
|
|
971
|
-
|
|
971
|
+
inputs: [
|
|
972
972
|
{
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
973
|
+
internalType: 'address',
|
|
974
|
+
name: 'tokenIn',
|
|
975
|
+
type: 'address',
|
|
976
976
|
},
|
|
977
977
|
{
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
978
|
+
internalType: 'uint256',
|
|
979
|
+
name: 'amountIn',
|
|
980
|
+
type: 'uint256',
|
|
981
981
|
},
|
|
982
982
|
{
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
}
|
|
983
|
+
internalType: 'uint256',
|
|
984
|
+
name: 'points',
|
|
985
|
+
type: 'uint256',
|
|
986
|
+
},
|
|
987
987
|
],
|
|
988
|
-
|
|
989
|
-
|
|
988
|
+
name: 'prices',
|
|
989
|
+
outputs: [
|
|
990
990
|
{
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
}
|
|
991
|
+
internalType: 'uint256[]',
|
|
992
|
+
name: '',
|
|
993
|
+
type: 'uint256[]',
|
|
994
|
+
},
|
|
995
995
|
],
|
|
996
|
-
|
|
997
|
-
|
|
996
|
+
stateMutability: 'view',
|
|
997
|
+
type: 'function',
|
|
998
998
|
},
|
|
999
999
|
{
|
|
1000
|
-
|
|
1000
|
+
inputs: [
|
|
1001
1001
|
{
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1002
|
+
internalType: 'address',
|
|
1003
|
+
name: 'tokenIn',
|
|
1004
|
+
type: 'address',
|
|
1005
1005
|
},
|
|
1006
1006
|
{
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1007
|
+
internalType: 'uint256',
|
|
1008
|
+
name: 'amountIn',
|
|
1009
|
+
type: 'uint256',
|
|
1010
1010
|
},
|
|
1011
1011
|
{
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
}
|
|
1012
|
+
internalType: 'uint256',
|
|
1013
|
+
name: 'granularity',
|
|
1014
|
+
type: 'uint256',
|
|
1015
|
+
},
|
|
1016
1016
|
],
|
|
1017
|
-
|
|
1018
|
-
|
|
1017
|
+
name: 'quote',
|
|
1018
|
+
outputs: [
|
|
1019
1019
|
{
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
}
|
|
1020
|
+
internalType: 'uint256',
|
|
1021
|
+
name: 'amountOut',
|
|
1022
|
+
type: 'uint256',
|
|
1023
|
+
},
|
|
1024
1024
|
],
|
|
1025
|
-
|
|
1026
|
-
|
|
1025
|
+
stateMutability: 'view',
|
|
1026
|
+
type: 'function',
|
|
1027
1027
|
},
|
|
1028
1028
|
{
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1029
|
+
inputs: [],
|
|
1030
|
+
name: 'reserve0',
|
|
1031
|
+
outputs: [
|
|
1032
1032
|
{
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
}
|
|
1033
|
+
internalType: 'uint256',
|
|
1034
|
+
name: '',
|
|
1035
|
+
type: 'uint256',
|
|
1036
|
+
},
|
|
1037
1037
|
],
|
|
1038
|
-
|
|
1039
|
-
|
|
1038
|
+
stateMutability: 'view',
|
|
1039
|
+
type: 'function',
|
|
1040
1040
|
},
|
|
1041
1041
|
{
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1042
|
+
inputs: [],
|
|
1043
|
+
name: 'reserve0CumulativeLast',
|
|
1044
|
+
outputs: [
|
|
1045
1045
|
{
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
}
|
|
1046
|
+
internalType: 'uint256',
|
|
1047
|
+
name: '',
|
|
1048
|
+
type: 'uint256',
|
|
1049
|
+
},
|
|
1050
1050
|
],
|
|
1051
|
-
|
|
1052
|
-
|
|
1051
|
+
stateMutability: 'view',
|
|
1052
|
+
type: 'function',
|
|
1053
1053
|
},
|
|
1054
1054
|
{
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1055
|
+
inputs: [],
|
|
1056
|
+
name: 'reserve1',
|
|
1057
|
+
outputs: [
|
|
1058
1058
|
{
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
}
|
|
1059
|
+
internalType: 'uint256',
|
|
1060
|
+
name: '',
|
|
1061
|
+
type: 'uint256',
|
|
1062
|
+
},
|
|
1063
1063
|
],
|
|
1064
|
-
|
|
1065
|
-
|
|
1064
|
+
stateMutability: 'view',
|
|
1065
|
+
type: 'function',
|
|
1066
1066
|
},
|
|
1067
1067
|
{
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1068
|
+
inputs: [],
|
|
1069
|
+
name: 'reserve1CumulativeLast',
|
|
1070
|
+
outputs: [
|
|
1071
1071
|
{
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
}
|
|
1072
|
+
internalType: 'uint256',
|
|
1073
|
+
name: '',
|
|
1074
|
+
type: 'uint256',
|
|
1075
|
+
},
|
|
1076
1076
|
],
|
|
1077
|
-
|
|
1078
|
-
|
|
1077
|
+
stateMutability: 'view',
|
|
1078
|
+
type: 'function',
|
|
1079
1079
|
},
|
|
1080
1080
|
{
|
|
1081
|
-
|
|
1081
|
+
inputs: [
|
|
1082
1082
|
{
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1083
|
+
internalType: 'address',
|
|
1084
|
+
name: 'tokenIn',
|
|
1085
|
+
type: 'address',
|
|
1086
1086
|
},
|
|
1087
1087
|
{
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1088
|
+
internalType: 'uint256',
|
|
1089
|
+
name: 'amountIn',
|
|
1090
|
+
type: 'uint256',
|
|
1091
1091
|
},
|
|
1092
1092
|
{
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1093
|
+
internalType: 'uint256',
|
|
1094
|
+
name: 'points',
|
|
1095
|
+
type: 'uint256',
|
|
1096
1096
|
},
|
|
1097
1097
|
{
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
}
|
|
1098
|
+
internalType: 'uint256',
|
|
1099
|
+
name: 'window',
|
|
1100
|
+
type: 'uint256',
|
|
1101
|
+
},
|
|
1102
1102
|
],
|
|
1103
|
-
|
|
1104
|
-
|
|
1103
|
+
name: 'sample',
|
|
1104
|
+
outputs: [
|
|
1105
1105
|
{
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
}
|
|
1106
|
+
internalType: 'uint256[]',
|
|
1107
|
+
name: '',
|
|
1108
|
+
type: 'uint256[]',
|
|
1109
|
+
},
|
|
1110
1110
|
],
|
|
1111
|
-
|
|
1112
|
-
|
|
1111
|
+
stateMutability: 'view',
|
|
1112
|
+
type: 'function',
|
|
1113
1113
|
},
|
|
1114
1114
|
{
|
|
1115
|
-
|
|
1115
|
+
inputs: [
|
|
1116
1116
|
{
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
}
|
|
1117
|
+
internalType: 'string',
|
|
1118
|
+
name: '__name',
|
|
1119
|
+
type: 'string',
|
|
1120
|
+
},
|
|
1121
1121
|
],
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1122
|
+
name: 'setName',
|
|
1123
|
+
outputs: [],
|
|
1124
|
+
stateMutability: 'nonpayable',
|
|
1125
|
+
type: 'function',
|
|
1126
1126
|
},
|
|
1127
1127
|
{
|
|
1128
|
-
|
|
1128
|
+
inputs: [
|
|
1129
1129
|
{
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
}
|
|
1130
|
+
internalType: 'string',
|
|
1131
|
+
name: '__symbol',
|
|
1132
|
+
type: 'string',
|
|
1133
|
+
},
|
|
1134
1134
|
],
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1135
|
+
name: 'setSymbol',
|
|
1136
|
+
outputs: [],
|
|
1137
|
+
stateMutability: 'nonpayable',
|
|
1138
|
+
type: 'function',
|
|
1139
1139
|
},
|
|
1140
1140
|
{
|
|
1141
|
-
|
|
1141
|
+
inputs: [
|
|
1142
1142
|
{
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
}
|
|
1143
|
+
internalType: 'address',
|
|
1144
|
+
name: 'to',
|
|
1145
|
+
type: 'address',
|
|
1146
|
+
},
|
|
1147
1147
|
],
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1148
|
+
name: 'skim',
|
|
1149
|
+
outputs: [],
|
|
1150
|
+
stateMutability: 'nonpayable',
|
|
1151
|
+
type: 'function',
|
|
1152
1152
|
},
|
|
1153
1153
|
{
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1154
|
+
inputs: [],
|
|
1155
|
+
name: 'stable',
|
|
1156
|
+
outputs: [
|
|
1157
1157
|
{
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
}
|
|
1158
|
+
internalType: 'bool',
|
|
1159
|
+
name: '',
|
|
1160
|
+
type: 'bool',
|
|
1161
|
+
},
|
|
1162
1162
|
],
|
|
1163
|
-
|
|
1164
|
-
|
|
1163
|
+
stateMutability: 'view',
|
|
1164
|
+
type: 'function',
|
|
1165
1165
|
},
|
|
1166
1166
|
{
|
|
1167
|
-
|
|
1167
|
+
inputs: [
|
|
1168
1168
|
{
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
}
|
|
1169
|
+
internalType: 'address',
|
|
1170
|
+
name: '',
|
|
1171
|
+
type: 'address',
|
|
1172
|
+
},
|
|
1173
1173
|
],
|
|
1174
|
-
|
|
1175
|
-
|
|
1174
|
+
name: 'supplyIndex0',
|
|
1175
|
+
outputs: [
|
|
1176
1176
|
{
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
}
|
|
1177
|
+
internalType: 'uint256',
|
|
1178
|
+
name: '',
|
|
1179
|
+
type: 'uint256',
|
|
1180
|
+
},
|
|
1181
1181
|
],
|
|
1182
|
-
|
|
1183
|
-
|
|
1182
|
+
stateMutability: 'view',
|
|
1183
|
+
type: 'function',
|
|
1184
1184
|
},
|
|
1185
1185
|
{
|
|
1186
|
-
|
|
1186
|
+
inputs: [
|
|
1187
1187
|
{
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
}
|
|
1188
|
+
internalType: 'address',
|
|
1189
|
+
name: '',
|
|
1190
|
+
type: 'address',
|
|
1191
|
+
},
|
|
1192
1192
|
],
|
|
1193
|
-
|
|
1194
|
-
|
|
1193
|
+
name: 'supplyIndex1',
|
|
1194
|
+
outputs: [
|
|
1195
1195
|
{
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
}
|
|
1196
|
+
internalType: 'uint256',
|
|
1197
|
+
name: '',
|
|
1198
|
+
type: 'uint256',
|
|
1199
|
+
},
|
|
1200
1200
|
],
|
|
1201
|
-
|
|
1202
|
-
|
|
1201
|
+
stateMutability: 'view',
|
|
1202
|
+
type: 'function',
|
|
1203
1203
|
},
|
|
1204
1204
|
{
|
|
1205
|
-
|
|
1205
|
+
inputs: [
|
|
1206
1206
|
{
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1207
|
+
internalType: 'uint256',
|
|
1208
|
+
name: 'amount0Out',
|
|
1209
|
+
type: 'uint256',
|
|
1210
1210
|
},
|
|
1211
1211
|
{
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1212
|
+
internalType: 'uint256',
|
|
1213
|
+
name: 'amount1Out',
|
|
1214
|
+
type: 'uint256',
|
|
1215
1215
|
},
|
|
1216
1216
|
{
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1217
|
+
internalType: 'address',
|
|
1218
|
+
name: 'to',
|
|
1219
|
+
type: 'address',
|
|
1220
1220
|
},
|
|
1221
1221
|
{
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
}
|
|
1222
|
+
internalType: 'bytes',
|
|
1223
|
+
name: 'data',
|
|
1224
|
+
type: 'bytes',
|
|
1225
|
+
},
|
|
1226
1226
|
],
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1227
|
+
name: 'swap',
|
|
1228
|
+
outputs: [],
|
|
1229
|
+
stateMutability: 'nonpayable',
|
|
1230
|
+
type: 'function',
|
|
1231
1231
|
},
|
|
1232
1232
|
{
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1233
|
+
inputs: [],
|
|
1234
|
+
name: 'symbol',
|
|
1235
|
+
outputs: [
|
|
1236
1236
|
{
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
}
|
|
1237
|
+
internalType: 'string',
|
|
1238
|
+
name: '',
|
|
1239
|
+
type: 'string',
|
|
1240
|
+
},
|
|
1241
1241
|
],
|
|
1242
|
-
|
|
1243
|
-
|
|
1242
|
+
stateMutability: 'view',
|
|
1243
|
+
type: 'function',
|
|
1244
1244
|
},
|
|
1245
1245
|
{
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1246
|
+
inputs: [],
|
|
1247
|
+
name: 'sync',
|
|
1248
|
+
outputs: [],
|
|
1249
|
+
stateMutability: 'nonpayable',
|
|
1250
|
+
type: 'function',
|
|
1251
1251
|
},
|
|
1252
1252
|
{
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1253
|
+
inputs: [],
|
|
1254
|
+
name: 'token0',
|
|
1255
|
+
outputs: [
|
|
1256
1256
|
{
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
}
|
|
1257
|
+
internalType: 'address',
|
|
1258
|
+
name: '',
|
|
1259
|
+
type: 'address',
|
|
1260
|
+
},
|
|
1261
1261
|
],
|
|
1262
|
-
|
|
1263
|
-
|
|
1262
|
+
stateMutability: 'view',
|
|
1263
|
+
type: 'function',
|
|
1264
1264
|
},
|
|
1265
1265
|
{
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1266
|
+
inputs: [],
|
|
1267
|
+
name: 'token1',
|
|
1268
|
+
outputs: [
|
|
1269
1269
|
{
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
}
|
|
1270
|
+
internalType: 'address',
|
|
1271
|
+
name: '',
|
|
1272
|
+
type: 'address',
|
|
1273
|
+
},
|
|
1274
1274
|
],
|
|
1275
|
-
|
|
1276
|
-
|
|
1275
|
+
stateMutability: 'view',
|
|
1276
|
+
type: 'function',
|
|
1277
1277
|
},
|
|
1278
1278
|
{
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1279
|
+
inputs: [],
|
|
1280
|
+
name: 'tokens',
|
|
1281
|
+
outputs: [
|
|
1282
1282
|
{
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1283
|
+
internalType: 'address',
|
|
1284
|
+
name: '',
|
|
1285
|
+
type: 'address',
|
|
1286
1286
|
},
|
|
1287
1287
|
{
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
}
|
|
1288
|
+
internalType: 'address',
|
|
1289
|
+
name: '',
|
|
1290
|
+
type: 'address',
|
|
1291
|
+
},
|
|
1292
1292
|
],
|
|
1293
|
-
|
|
1294
|
-
|
|
1293
|
+
stateMutability: 'view',
|
|
1294
|
+
type: 'function',
|
|
1295
1295
|
},
|
|
1296
1296
|
{
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1297
|
+
inputs: [],
|
|
1298
|
+
name: 'totalSupply',
|
|
1299
|
+
outputs: [
|
|
1300
1300
|
{
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
}
|
|
1301
|
+
internalType: 'uint256',
|
|
1302
|
+
name: '',
|
|
1303
|
+
type: 'uint256',
|
|
1304
|
+
},
|
|
1305
1305
|
],
|
|
1306
|
-
|
|
1307
|
-
|
|
1306
|
+
stateMutability: 'view',
|
|
1307
|
+
type: 'function',
|
|
1308
1308
|
},
|
|
1309
1309
|
{
|
|
1310
|
-
|
|
1310
|
+
inputs: [
|
|
1311
1311
|
{
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1312
|
+
internalType: 'address',
|
|
1313
|
+
name: 'to',
|
|
1314
|
+
type: 'address',
|
|
1315
1315
|
},
|
|
1316
1316
|
{
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
}
|
|
1317
|
+
internalType: 'uint256',
|
|
1318
|
+
name: 'amount',
|
|
1319
|
+
type: 'uint256',
|
|
1320
|
+
},
|
|
1321
1321
|
],
|
|
1322
|
-
|
|
1323
|
-
|
|
1322
|
+
name: 'transfer',
|
|
1323
|
+
outputs: [
|
|
1324
1324
|
{
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
}
|
|
1325
|
+
internalType: 'bool',
|
|
1326
|
+
name: '',
|
|
1327
|
+
type: 'bool',
|
|
1328
|
+
},
|
|
1329
1329
|
],
|
|
1330
|
-
|
|
1331
|
-
|
|
1330
|
+
stateMutability: 'nonpayable',
|
|
1331
|
+
type: 'function',
|
|
1332
1332
|
},
|
|
1333
1333
|
{
|
|
1334
|
-
|
|
1334
|
+
inputs: [
|
|
1335
1335
|
{
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1336
|
+
internalType: 'address',
|
|
1337
|
+
name: 'from',
|
|
1338
|
+
type: 'address',
|
|
1339
1339
|
},
|
|
1340
1340
|
{
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1341
|
+
internalType: 'address',
|
|
1342
|
+
name: 'to',
|
|
1343
|
+
type: 'address',
|
|
1344
1344
|
},
|
|
1345
1345
|
{
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
}
|
|
1346
|
+
internalType: 'uint256',
|
|
1347
|
+
name: 'amount',
|
|
1348
|
+
type: 'uint256',
|
|
1349
|
+
},
|
|
1350
1350
|
],
|
|
1351
|
-
|
|
1352
|
-
|
|
1351
|
+
name: 'transferFrom',
|
|
1352
|
+
outputs: [
|
|
1353
1353
|
{
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
}
|
|
1354
|
+
internalType: 'bool',
|
|
1355
|
+
name: '',
|
|
1356
|
+
type: 'bool',
|
|
1357
|
+
},
|
|
1358
1358
|
],
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
}
|
|
1359
|
+
stateMutability: 'nonpayable',
|
|
1360
|
+
type: 'function',
|
|
1361
|
+
},
|
|
1362
1362
|
];
|
|
1363
1363
|
export const deployAddress = '0x765824aD2eD0ECB70ECc25B0Cf285832b335d6A9';
|
|
1364
1364
|
function getRequest(method, args, contractAddressOrOptions) {
|