base-meme-v4-configs 0.0.4 → 0.0.6
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/chainConfigs.d.ts +783 -0
- package/chainConfigs.d.ts.map +1 -1
- package/index.js +2968 -553
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/wagmiGenerated.d.ts +6911 -1889
- package/wagmiGenerated.d.ts.map +1 -1
package/index.js
CHANGED
|
@@ -26,9 +26,18 @@ __export(package_exports, {
|
|
|
26
26
|
basememeFactoryImplABI: () => basememeFactoryImplABI,
|
|
27
27
|
basememeFactoryImplAddress: () => basememeFactoryImplAddress,
|
|
28
28
|
basememeFactoryImplConfig: () => basememeFactoryImplConfig,
|
|
29
|
+
basememeFactoryTradeHelperABI: () => basememeFactoryTradeHelperABI,
|
|
30
|
+
basememeFactoryTradeHelperAddress: () => basememeFactoryTradeHelperAddress,
|
|
31
|
+
basememeFactoryTradeHelperConfig: () => basememeFactoryTradeHelperConfig,
|
|
32
|
+
basememeLockVaultABI: () => basememeLockVaultABI,
|
|
33
|
+
basememeLockVaultAddress: () => basememeLockVaultAddress,
|
|
34
|
+
basememeLockVaultConfig: () => basememeLockVaultConfig,
|
|
29
35
|
basememeTokenABI: () => basememeTokenABI,
|
|
30
36
|
basememeTokenAddress: () => basememeTokenAddress,
|
|
31
37
|
basememeTokenConfig: () => basememeTokenConfig,
|
|
38
|
+
basememeTokenSwapABI: () => basememeTokenSwapABI,
|
|
39
|
+
basememeTokenSwapAddress: () => basememeTokenSwapAddress,
|
|
40
|
+
basememeTokenSwapConfig: () => basememeTokenSwapConfig,
|
|
32
41
|
bondingCurveABI: () => bondingCurveABI,
|
|
33
42
|
bondingCurveAddress: () => bondingCurveAddress,
|
|
34
43
|
bondingCurveConfig: () => bondingCurveConfig,
|
|
@@ -84,7 +93,16 @@ var basememeFactoryConfig = {
|
|
|
84
93
|
abi: basememeFactoryABI
|
|
85
94
|
};
|
|
86
95
|
var basememeFactoryImplABI = [
|
|
87
|
-
{
|
|
96
|
+
{
|
|
97
|
+
stateMutability: "nonpayable",
|
|
98
|
+
type: "constructor",
|
|
99
|
+
inputs: [
|
|
100
|
+
{ name: "createModule", internalType: "address", type: "address" },
|
|
101
|
+
{ name: "configModule", internalType: "address", type: "address" },
|
|
102
|
+
{ name: "tradeModule", internalType: "address", type: "address" },
|
|
103
|
+
{ name: "migrationModule", internalType: "address", type: "address" }
|
|
104
|
+
]
|
|
105
|
+
},
|
|
88
106
|
{ stateMutability: "payable", type: "receive" },
|
|
89
107
|
{
|
|
90
108
|
stateMutability: "view",
|
|
@@ -104,9 +122,9 @@ var basememeFactoryImplABI = [
|
|
|
104
122
|
stateMutability: "payable",
|
|
105
123
|
type: "function",
|
|
106
124
|
inputs: [
|
|
107
|
-
{ name: "
|
|
108
|
-
{ name: "
|
|
109
|
-
{ name: "
|
|
125
|
+
{ name: "", internalType: "address", type: "address" },
|
|
126
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
127
|
+
{ name: "", internalType: "address", type: "address" }
|
|
110
128
|
],
|
|
111
129
|
name: "buyExactIn",
|
|
112
130
|
outputs: []
|
|
@@ -115,18 +133,64 @@ var basememeFactoryImplABI = [
|
|
|
115
133
|
stateMutability: "payable",
|
|
116
134
|
type: "function",
|
|
117
135
|
inputs: [
|
|
118
|
-
{ name: "
|
|
119
|
-
{ name: "
|
|
120
|
-
{
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
136
|
+
{ name: "", internalType: "address", type: "address" },
|
|
137
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
138
|
+
{ name: "", internalType: "address", type: "address" },
|
|
139
|
+
{ name: "", internalType: "address", type: "address" }
|
|
140
|
+
],
|
|
141
|
+
name: "buyExactInTo",
|
|
142
|
+
outputs: []
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
stateMutability: "payable",
|
|
146
|
+
type: "function",
|
|
147
|
+
inputs: [
|
|
148
|
+
{ name: "", internalType: "address", type: "address" },
|
|
149
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
150
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
151
|
+
{ name: "", internalType: "address", type: "address" }
|
|
152
|
+
],
|
|
153
|
+
name: "buyExactInWithCollateral",
|
|
154
|
+
outputs: []
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
stateMutability: "payable",
|
|
158
|
+
type: "function",
|
|
159
|
+
inputs: [
|
|
160
|
+
{ name: "", internalType: "address", type: "address" },
|
|
161
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
162
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
163
|
+
{ name: "", internalType: "address", type: "address" },
|
|
164
|
+
{ name: "", internalType: "address", type: "address" }
|
|
165
|
+
],
|
|
166
|
+
name: "buyExactInWithCollateralTo",
|
|
167
|
+
outputs: []
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
stateMutability: "payable",
|
|
171
|
+
type: "function",
|
|
172
|
+
inputs: [
|
|
173
|
+
{ name: "", internalType: "address", type: "address" },
|
|
174
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
175
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
176
|
+
{ name: "", internalType: "address", type: "address" }
|
|
126
177
|
],
|
|
127
178
|
name: "buyExactOut",
|
|
128
179
|
outputs: []
|
|
129
180
|
},
|
|
181
|
+
{
|
|
182
|
+
stateMutability: "payable",
|
|
183
|
+
type: "function",
|
|
184
|
+
inputs: [
|
|
185
|
+
{ name: "", internalType: "address", type: "address" },
|
|
186
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
187
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
188
|
+
{ name: "", internalType: "address", type: "address" },
|
|
189
|
+
{ name: "", internalType: "address", type: "address" }
|
|
190
|
+
],
|
|
191
|
+
name: "buyExactOutTo",
|
|
192
|
+
outputs: []
|
|
193
|
+
},
|
|
130
194
|
{
|
|
131
195
|
stateMutability: "view",
|
|
132
196
|
type: "function",
|
|
@@ -141,6 +205,90 @@ var basememeFactoryImplABI = [
|
|
|
141
205
|
name: "chainV4LiquidityConfig",
|
|
142
206
|
outputs: [{ name: "", internalType: "bytes", type: "bytes" }]
|
|
143
207
|
},
|
|
208
|
+
{
|
|
209
|
+
stateMutability: "view",
|
|
210
|
+
type: "function",
|
|
211
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
212
|
+
name: "collateralConfigs",
|
|
213
|
+
outputs: [
|
|
214
|
+
{
|
|
215
|
+
name: "",
|
|
216
|
+
internalType: "struct IBasememeFactoryImpl.CollateralConfig",
|
|
217
|
+
type: "tuple",
|
|
218
|
+
components: [
|
|
219
|
+
{
|
|
220
|
+
name: "curveParams",
|
|
221
|
+
internalType: "struct IBondingCurve.CurveParams",
|
|
222
|
+
type: "tuple",
|
|
223
|
+
components: [
|
|
224
|
+
{
|
|
225
|
+
name: "initialTokenSupply",
|
|
226
|
+
internalType: "uint256",
|
|
227
|
+
type: "uint256"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
name: "virtualCollateralReservesInitial",
|
|
231
|
+
internalType: "uint256",
|
|
232
|
+
type: "uint256"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
name: "virtualTokenReservesInitial",
|
|
236
|
+
internalType: "uint256",
|
|
237
|
+
type: "uint256"
|
|
238
|
+
},
|
|
239
|
+
{ name: "feeBPS", internalType: "uint256", type: "uint256" },
|
|
240
|
+
{
|
|
241
|
+
name: "mcLowerLimit",
|
|
242
|
+
internalType: "uint256",
|
|
243
|
+
type: "uint256"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
name: "mcUpperLimit",
|
|
247
|
+
internalType: "uint256",
|
|
248
|
+
type: "uint256"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
name: "tokensMigrationThreshold",
|
|
252
|
+
internalType: "uint256",
|
|
253
|
+
type: "uint256"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
name: "fixedMigrationFee",
|
|
257
|
+
internalType: "uint256",
|
|
258
|
+
type: "uint256"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
name: "poolCreationFee",
|
|
262
|
+
internalType: "uint256",
|
|
263
|
+
type: "uint256"
|
|
264
|
+
},
|
|
265
|
+
{ name: "firstBuyFee", internalType: "uint256", type: "uint256" },
|
|
266
|
+
{
|
|
267
|
+
name: "targetCollectionAmount",
|
|
268
|
+
internalType: "uint256",
|
|
269
|
+
type: "uint256"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
name: "collateralToken",
|
|
273
|
+
internalType: "address",
|
|
274
|
+
type: "address"
|
|
275
|
+
},
|
|
276
|
+
{ name: "v4LpFee", internalType: "uint24", type: "uint24" }
|
|
277
|
+
]
|
|
278
|
+
},
|
|
279
|
+
{ name: "v4LiquidityConfig", internalType: "bytes", type: "bytes" },
|
|
280
|
+
{ name: "v4ConfigVersion", internalType: "uint8", type: "uint8" }
|
|
281
|
+
]
|
|
282
|
+
}
|
|
283
|
+
]
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
stateMutability: "view",
|
|
287
|
+
type: "function",
|
|
288
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
289
|
+
name: "collateralEnabled",
|
|
290
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
291
|
+
},
|
|
144
292
|
{
|
|
145
293
|
stateMutability: "pure",
|
|
146
294
|
type: "function",
|
|
@@ -152,14 +300,30 @@ var basememeFactoryImplABI = [
|
|
|
152
300
|
stateMutability: "nonpayable",
|
|
153
301
|
type: "function",
|
|
154
302
|
inputs: [
|
|
155
|
-
{ name: "
|
|
156
|
-
{ name: "
|
|
157
|
-
{ name: "
|
|
158
|
-
{ name: "
|
|
159
|
-
{ name: "
|
|
160
|
-
{ name: "
|
|
161
|
-
{ name: "
|
|
162
|
-
{ name: "
|
|
303
|
+
{ name: "", internalType: "string", type: "string" },
|
|
304
|
+
{ name: "", internalType: "string", type: "string" },
|
|
305
|
+
{ name: "", internalType: "string", type: "string" },
|
|
306
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
307
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
308
|
+
{ name: "", internalType: "address", type: "address" },
|
|
309
|
+
{ name: "", internalType: "address", type: "address" },
|
|
310
|
+
{ name: "", internalType: "bytes32", type: "bytes32" }
|
|
311
|
+
],
|
|
312
|
+
name: "createBasememeToken",
|
|
313
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
stateMutability: "nonpayable",
|
|
317
|
+
type: "function",
|
|
318
|
+
inputs: [
|
|
319
|
+
{ name: "", internalType: "string", type: "string" },
|
|
320
|
+
{ name: "", internalType: "string", type: "string" },
|
|
321
|
+
{ name: "", internalType: "string", type: "string" },
|
|
322
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
323
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
324
|
+
{ name: "", internalType: "address", type: "address" },
|
|
325
|
+
{ name: "", internalType: "address", type: "address" },
|
|
326
|
+
{ name: "", internalType: "address", type: "address" }
|
|
163
327
|
],
|
|
164
328
|
name: "createBasememeToken",
|
|
165
329
|
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
@@ -168,46 +332,321 @@ var basememeFactoryImplABI = [
|
|
|
168
332
|
stateMutability: "payable",
|
|
169
333
|
type: "function",
|
|
170
334
|
inputs: [
|
|
171
|
-
{ name: "
|
|
172
|
-
{ name: "
|
|
173
|
-
{ name: "
|
|
174
|
-
{ name: "
|
|
175
|
-
{ name: "
|
|
176
|
-
{ name: "
|
|
177
|
-
{ name: "
|
|
178
|
-
{ name: "
|
|
179
|
-
{ name: "
|
|
335
|
+
{ name: "", internalType: "string", type: "string" },
|
|
336
|
+
{ name: "", internalType: "string", type: "string" },
|
|
337
|
+
{ name: "", internalType: "string", type: "string" },
|
|
338
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
339
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
340
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
341
|
+
{ name: "", internalType: "address", type: "address" },
|
|
342
|
+
{ name: "", internalType: "address", type: "address" },
|
|
343
|
+
{ name: "", internalType: "bytes32", type: "bytes32" }
|
|
344
|
+
],
|
|
345
|
+
name: "createBasememeTokenAndBuy",
|
|
346
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
stateMutability: "payable",
|
|
350
|
+
type: "function",
|
|
351
|
+
inputs: [
|
|
352
|
+
{ name: "", internalType: "string", type: "string" },
|
|
353
|
+
{ name: "", internalType: "string", type: "string" },
|
|
354
|
+
{ name: "", internalType: "string", type: "string" },
|
|
355
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
356
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
357
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
358
|
+
{ name: "", internalType: "address", type: "address" },
|
|
359
|
+
{ name: "", internalType: "address", type: "address" },
|
|
360
|
+
{ name: "", internalType: "address", type: "address" }
|
|
180
361
|
],
|
|
181
362
|
name: "createBasememeTokenAndBuy",
|
|
182
363
|
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
183
364
|
},
|
|
365
|
+
{
|
|
366
|
+
stateMutability: "payable",
|
|
367
|
+
type: "function",
|
|
368
|
+
inputs: [
|
|
369
|
+
{ name: "", internalType: "string", type: "string" },
|
|
370
|
+
{ name: "", internalType: "string", type: "string" },
|
|
371
|
+
{ name: "", internalType: "string", type: "string" },
|
|
372
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
373
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
374
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
375
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
376
|
+
{ name: "", internalType: "address", type: "address" },
|
|
377
|
+
{ name: "", internalType: "address", type: "address" },
|
|
378
|
+
{ name: "", internalType: "bytes32", type: "bytes32" },
|
|
379
|
+
{ name: "", internalType: "address", type: "address" }
|
|
380
|
+
],
|
|
381
|
+
name: "createBasememeTokenAndBuyWithCollateral",
|
|
382
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
stateMutability: "nonpayable",
|
|
386
|
+
type: "function",
|
|
387
|
+
inputs: [
|
|
388
|
+
{ name: "", internalType: "string", type: "string" },
|
|
389
|
+
{ name: "", internalType: "string", type: "string" },
|
|
390
|
+
{ name: "", internalType: "string", type: "string" },
|
|
391
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
392
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
393
|
+
{ name: "", internalType: "address", type: "address" },
|
|
394
|
+
{ name: "", internalType: "address", type: "address" },
|
|
395
|
+
{ name: "", internalType: "bytes32", type: "bytes32" },
|
|
396
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
397
|
+
{ name: "", internalType: "uint16", type: "uint16" },
|
|
398
|
+
{ name: "", internalType: "uint64", type: "uint64" },
|
|
399
|
+
{ name: "", internalType: "uint64", type: "uint64" },
|
|
400
|
+
{ name: "", internalType: "address", type: "address" }
|
|
401
|
+
],
|
|
402
|
+
name: "createBasememeTokenDynamic",
|
|
403
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
stateMutability: "nonpayable",
|
|
407
|
+
type: "function",
|
|
408
|
+
inputs: [
|
|
409
|
+
{ name: "", internalType: "string", type: "string" },
|
|
410
|
+
{ name: "", internalType: "string", type: "string" },
|
|
411
|
+
{ name: "", internalType: "string", type: "string" },
|
|
412
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
413
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
414
|
+
{ name: "", internalType: "address", type: "address" },
|
|
415
|
+
{ name: "", internalType: "address", type: "address" },
|
|
416
|
+
{ name: "", internalType: "bytes32", type: "bytes32" },
|
|
417
|
+
{ name: "", internalType: "uint256", type: "uint256" }
|
|
418
|
+
],
|
|
419
|
+
name: "createBasememeTokenDynamic",
|
|
420
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
stateMutability: "payable",
|
|
424
|
+
type: "function",
|
|
425
|
+
inputs: [
|
|
426
|
+
{ name: "", internalType: "string", type: "string" },
|
|
427
|
+
{ name: "", internalType: "string", type: "string" },
|
|
428
|
+
{ name: "", internalType: "string", type: "string" },
|
|
429
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
430
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
431
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
432
|
+
{ name: "", internalType: "address", type: "address" },
|
|
433
|
+
{ name: "", internalType: "address", type: "address" },
|
|
434
|
+
{ name: "", internalType: "bytes32", type: "bytes32" },
|
|
435
|
+
{ name: "", internalType: "uint256", type: "uint256" }
|
|
436
|
+
],
|
|
437
|
+
name: "createBasememeTokenDynamicAndBuy",
|
|
438
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
stateMutability: "payable",
|
|
442
|
+
type: "function",
|
|
443
|
+
inputs: [
|
|
444
|
+
{ name: "", internalType: "string", type: "string" },
|
|
445
|
+
{ name: "", internalType: "string", type: "string" },
|
|
446
|
+
{ name: "", internalType: "string", type: "string" },
|
|
447
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
448
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
449
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
450
|
+
{ name: "", internalType: "address", type: "address" },
|
|
451
|
+
{ name: "", internalType: "address", type: "address" },
|
|
452
|
+
{ name: "", internalType: "bytes32", type: "bytes32" },
|
|
453
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
454
|
+
{ name: "", internalType: "uint16", type: "uint16" },
|
|
455
|
+
{ name: "", internalType: "uint64", type: "uint64" },
|
|
456
|
+
{ name: "", internalType: "uint64", type: "uint64" },
|
|
457
|
+
{ name: "", internalType: "address", type: "address" }
|
|
458
|
+
],
|
|
459
|
+
name: "createBasememeTokenDynamicAndBuy",
|
|
460
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
stateMutability: "payable",
|
|
464
|
+
type: "function",
|
|
465
|
+
inputs: [
|
|
466
|
+
{ name: "", internalType: "string", type: "string" },
|
|
467
|
+
{ name: "", internalType: "string", type: "string" },
|
|
468
|
+
{ name: "", internalType: "string", type: "string" },
|
|
469
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
470
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
471
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
472
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
473
|
+
{ name: "", internalType: "address", type: "address" },
|
|
474
|
+
{ name: "", internalType: "address", type: "address" },
|
|
475
|
+
{ name: "", internalType: "bytes32", type: "bytes32" },
|
|
476
|
+
{ name: "", internalType: "address", type: "address" },
|
|
477
|
+
{ name: "", internalType: "uint256", type: "uint256" }
|
|
478
|
+
],
|
|
479
|
+
name: "createBasememeTokenDynamicAndBuyWithCollateral",
|
|
480
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
stateMutability: "payable",
|
|
484
|
+
type: "function",
|
|
485
|
+
inputs: [
|
|
486
|
+
{ name: "", internalType: "string", type: "string" },
|
|
487
|
+
{ name: "", internalType: "string", type: "string" },
|
|
488
|
+
{ name: "", internalType: "string", type: "string" },
|
|
489
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
490
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
491
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
492
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
493
|
+
{ name: "", internalType: "address", type: "address" },
|
|
494
|
+
{ name: "", internalType: "address", type: "address" },
|
|
495
|
+
{ name: "", internalType: "bytes32", type: "bytes32" },
|
|
496
|
+
{ name: "", internalType: "address", type: "address" },
|
|
497
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
498
|
+
{ name: "", internalType: "uint16", type: "uint16" },
|
|
499
|
+
{ name: "", internalType: "uint64", type: "uint64" },
|
|
500
|
+
{ name: "", internalType: "uint64", type: "uint64" },
|
|
501
|
+
{ name: "", internalType: "address", type: "address" }
|
|
502
|
+
],
|
|
503
|
+
name: "createBasememeTokenDynamicAndBuyWithCollateral",
|
|
504
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
stateMutability: "nonpayable",
|
|
508
|
+
type: "function",
|
|
509
|
+
inputs: [
|
|
510
|
+
{ name: "", internalType: "string", type: "string" },
|
|
511
|
+
{ name: "", internalType: "string", type: "string" },
|
|
512
|
+
{ name: "", internalType: "string", type: "string" },
|
|
513
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
514
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
515
|
+
{ name: "", internalType: "address", type: "address" },
|
|
516
|
+
{ name: "", internalType: "address", type: "address" },
|
|
517
|
+
{ name: "", internalType: "bytes32", type: "bytes32" },
|
|
518
|
+
{ name: "", internalType: "address", type: "address" },
|
|
519
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
520
|
+
{ name: "", internalType: "uint16", type: "uint16" },
|
|
521
|
+
{ name: "", internalType: "uint64", type: "uint64" },
|
|
522
|
+
{ name: "", internalType: "uint64", type: "uint64" },
|
|
523
|
+
{ name: "", internalType: "address", type: "address" }
|
|
524
|
+
],
|
|
525
|
+
name: "createBasememeTokenDynamicWithCollateral",
|
|
526
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
stateMutability: "nonpayable",
|
|
530
|
+
type: "function",
|
|
531
|
+
inputs: [
|
|
532
|
+
{ name: "", internalType: "string", type: "string" },
|
|
533
|
+
{ name: "", internalType: "string", type: "string" },
|
|
534
|
+
{ name: "", internalType: "string", type: "string" },
|
|
535
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
536
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
537
|
+
{ name: "", internalType: "address", type: "address" },
|
|
538
|
+
{ name: "", internalType: "address", type: "address" },
|
|
539
|
+
{ name: "", internalType: "bytes32", type: "bytes32" },
|
|
540
|
+
{ name: "", internalType: "address", type: "address" },
|
|
541
|
+
{ name: "", internalType: "uint256", type: "uint256" }
|
|
542
|
+
],
|
|
543
|
+
name: "createBasememeTokenDynamicWithCollateral",
|
|
544
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
stateMutability: "nonpayable",
|
|
548
|
+
type: "function",
|
|
549
|
+
inputs: [
|
|
550
|
+
{ name: "", internalType: "string", type: "string" },
|
|
551
|
+
{ name: "", internalType: "string", type: "string" },
|
|
552
|
+
{ name: "", internalType: "string", type: "string" },
|
|
553
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
554
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
555
|
+
{ name: "", internalType: "address", type: "address" },
|
|
556
|
+
{ name: "", internalType: "address", type: "address" },
|
|
557
|
+
{ name: "", internalType: "bytes32", type: "bytes32" },
|
|
558
|
+
{ name: "", internalType: "address", type: "address" }
|
|
559
|
+
],
|
|
560
|
+
name: "createBasememeTokenWithCollateral",
|
|
561
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
stateMutability: "view",
|
|
565
|
+
type: "function",
|
|
566
|
+
inputs: [],
|
|
567
|
+
name: "defaultLockVault",
|
|
568
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
stateMutability: "view",
|
|
572
|
+
type: "function",
|
|
573
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
574
|
+
name: "getDynamicCreateCollateralConfig",
|
|
575
|
+
outputs: [
|
|
576
|
+
{
|
|
577
|
+
name: "",
|
|
578
|
+
internalType: "struct IBasememeFactoryImpl.DynamicCreateCollateralConfig",
|
|
579
|
+
type: "tuple",
|
|
580
|
+
components: [
|
|
581
|
+
{
|
|
582
|
+
name: "defaultProfileId",
|
|
583
|
+
internalType: "bytes32",
|
|
584
|
+
type: "bytes32"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
name: "defaultTargetRaise",
|
|
588
|
+
internalType: "uint256",
|
|
589
|
+
type: "uint256"
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
name: "initialTokenSupply",
|
|
593
|
+
internalType: "uint256",
|
|
594
|
+
type: "uint256"
|
|
595
|
+
},
|
|
596
|
+
{ name: "firstBuyFee", internalType: "uint256", type: "uint256" },
|
|
597
|
+
{ name: "tradeFeeBps", internalType: "uint16", type: "uint16" },
|
|
598
|
+
{ name: "migrationFeeBps", internalType: "uint16", type: "uint16" },
|
|
599
|
+
{ name: "defaultSellBps", internalType: "uint16", type: "uint16" },
|
|
600
|
+
{ name: "v4LpFee", internalType: "uint24", type: "uint24" }
|
|
601
|
+
]
|
|
602
|
+
}
|
|
603
|
+
]
|
|
604
|
+
},
|
|
184
605
|
{
|
|
185
606
|
stateMutability: "view",
|
|
186
607
|
type: "function",
|
|
187
608
|
inputs: [],
|
|
188
609
|
name: "getV4LiquidityConfig",
|
|
189
610
|
outputs: [
|
|
190
|
-
{ name: "
|
|
191
|
-
{ name: "
|
|
611
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
612
|
+
{ name: "", internalType: "uint8", type: "uint8" }
|
|
613
|
+
]
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
stateMutability: "view",
|
|
617
|
+
type: "function",
|
|
618
|
+
inputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
619
|
+
name: "getV4LiquidityProfile",
|
|
620
|
+
outputs: [
|
|
621
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
622
|
+
{ name: "", internalType: "uint8", type: "uint8" },
|
|
623
|
+
{ name: "", internalType: "bytes32", type: "bytes32" }
|
|
192
624
|
]
|
|
193
625
|
},
|
|
194
626
|
{
|
|
195
627
|
stateMutability: "nonpayable",
|
|
196
628
|
type: "function",
|
|
197
629
|
inputs: [
|
|
198
|
-
{ name: "
|
|
199
|
-
{ name: "
|
|
630
|
+
{ name: "factoryOwner", internalType: "address", type: "address" },
|
|
631
|
+
{ name: "signer_", internalType: "address", type: "address" },
|
|
200
632
|
{
|
|
201
|
-
name: "
|
|
633
|
+
name: "bondingCurveImplementation_",
|
|
202
634
|
internalType: "address",
|
|
203
635
|
type: "address"
|
|
204
636
|
},
|
|
205
|
-
{ name: "
|
|
206
|
-
{ name: "
|
|
637
|
+
{ name: "chainV4LiquidityConfig_", internalType: "bytes", type: "bytes" },
|
|
638
|
+
{ name: "chainV4ConfigVersion_", internalType: "uint8", type: "uint8" }
|
|
207
639
|
],
|
|
208
640
|
name: "initialize",
|
|
209
641
|
outputs: []
|
|
210
642
|
},
|
|
643
|
+
{
|
|
644
|
+
stateMutability: "nonpayable",
|
|
645
|
+
type: "function",
|
|
646
|
+
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
647
|
+
name: "inspect",
|
|
648
|
+
outputs: [{ name: "result", internalType: "bytes", type: "bytes" }]
|
|
649
|
+
},
|
|
211
650
|
{
|
|
212
651
|
stateMutability: "view",
|
|
213
652
|
type: "function",
|
|
@@ -215,10 +654,17 @@ var basememeFactoryImplABI = [
|
|
|
215
654
|
name: "isSignatureEnabled",
|
|
216
655
|
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
217
656
|
},
|
|
657
|
+
{
|
|
658
|
+
stateMutability: "view",
|
|
659
|
+
type: "function",
|
|
660
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
661
|
+
name: "isTrustedCaller",
|
|
662
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
663
|
+
},
|
|
218
664
|
{
|
|
219
665
|
stateMutability: "nonpayable",
|
|
220
666
|
type: "function",
|
|
221
|
-
inputs: [{ name: "
|
|
667
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
222
668
|
name: "migrate",
|
|
223
669
|
outputs: []
|
|
224
670
|
},
|
|
@@ -261,14 +707,10 @@ var basememeFactoryImplABI = [
|
|
|
261
707
|
stateMutability: "nonpayable",
|
|
262
708
|
type: "function",
|
|
263
709
|
inputs: [
|
|
264
|
-
{ name: "
|
|
265
|
-
{ name: "
|
|
266
|
-
{
|
|
267
|
-
|
|
268
|
-
internalType: "uint256",
|
|
269
|
-
type: "uint256"
|
|
270
|
-
},
|
|
271
|
-
{ name: "_tradeReferrer", internalType: "address", type: "address" }
|
|
710
|
+
{ name: "", internalType: "address", type: "address" },
|
|
711
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
712
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
713
|
+
{ name: "", internalType: "address", type: "address" }
|
|
272
714
|
],
|
|
273
715
|
name: "sellExactIn",
|
|
274
716
|
outputs: []
|
|
@@ -277,10 +719,23 @@ var basememeFactoryImplABI = [
|
|
|
277
719
|
stateMutability: "nonpayable",
|
|
278
720
|
type: "function",
|
|
279
721
|
inputs: [
|
|
280
|
-
{ name: "
|
|
281
|
-
{ name: "
|
|
282
|
-
{ name: "
|
|
283
|
-
{ name: "
|
|
722
|
+
{ name: "", internalType: "address", type: "address" },
|
|
723
|
+
{ name: "", internalType: "address", type: "address" },
|
|
724
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
725
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
726
|
+
{ name: "", internalType: "address", type: "address" }
|
|
727
|
+
],
|
|
728
|
+
name: "sellExactInFrom",
|
|
729
|
+
outputs: []
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
stateMutability: "nonpayable",
|
|
733
|
+
type: "function",
|
|
734
|
+
inputs: [
|
|
735
|
+
{ name: "", internalType: "address", type: "address" },
|
|
736
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
737
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
738
|
+
{ name: "", internalType: "address", type: "address" }
|
|
284
739
|
],
|
|
285
740
|
name: "sellExactOut",
|
|
286
741
|
outputs: []
|
|
@@ -289,28 +744,223 @@ var basememeFactoryImplABI = [
|
|
|
289
744
|
stateMutability: "nonpayable",
|
|
290
745
|
type: "function",
|
|
291
746
|
inputs: [
|
|
747
|
+
{ name: "", internalType: "address", type: "address" },
|
|
748
|
+
{ name: "", internalType: "address", type: "address" },
|
|
749
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
750
|
+
{ name: "", internalType: "uint256", type: "uint256" },
|
|
751
|
+
{ name: "", internalType: "address", type: "address" }
|
|
752
|
+
],
|
|
753
|
+
name: "sellExactOutFrom",
|
|
754
|
+
outputs: []
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
stateMutability: "nonpayable",
|
|
758
|
+
type: "function",
|
|
759
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
760
|
+
name: "setBondingCurveImplementation",
|
|
761
|
+
outputs: []
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
stateMutability: "nonpayable",
|
|
765
|
+
type: "function",
|
|
766
|
+
inputs: [
|
|
767
|
+
{ name: "", internalType: "address", type: "address" },
|
|
292
768
|
{
|
|
293
|
-
name: "
|
|
294
|
-
internalType: "
|
|
295
|
-
type: "
|
|
769
|
+
name: "",
|
|
770
|
+
internalType: "struct IBondingCurve.CurveParams",
|
|
771
|
+
type: "tuple",
|
|
772
|
+
components: [
|
|
773
|
+
{
|
|
774
|
+
name: "initialTokenSupply",
|
|
775
|
+
internalType: "uint256",
|
|
776
|
+
type: "uint256"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
name: "virtualCollateralReservesInitial",
|
|
780
|
+
internalType: "uint256",
|
|
781
|
+
type: "uint256"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
name: "virtualTokenReservesInitial",
|
|
785
|
+
internalType: "uint256",
|
|
786
|
+
type: "uint256"
|
|
787
|
+
},
|
|
788
|
+
{ name: "feeBPS", internalType: "uint256", type: "uint256" },
|
|
789
|
+
{ name: "mcLowerLimit", internalType: "uint256", type: "uint256" },
|
|
790
|
+
{ name: "mcUpperLimit", internalType: "uint256", type: "uint256" },
|
|
791
|
+
{
|
|
792
|
+
name: "tokensMigrationThreshold",
|
|
793
|
+
internalType: "uint256",
|
|
794
|
+
type: "uint256"
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
name: "fixedMigrationFee",
|
|
798
|
+
internalType: "uint256",
|
|
799
|
+
type: "uint256"
|
|
800
|
+
},
|
|
801
|
+
{ name: "poolCreationFee", internalType: "uint256", type: "uint256" },
|
|
802
|
+
{ name: "firstBuyFee", internalType: "uint256", type: "uint256" },
|
|
803
|
+
{
|
|
804
|
+
name: "targetCollectionAmount",
|
|
805
|
+
internalType: "uint256",
|
|
806
|
+
type: "uint256"
|
|
807
|
+
},
|
|
808
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
809
|
+
{ name: "v4LpFee", internalType: "uint24", type: "uint24" }
|
|
810
|
+
]
|
|
811
|
+
},
|
|
812
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
813
|
+
{ name: "", internalType: "uint8", type: "uint8" },
|
|
814
|
+
{
|
|
815
|
+
name: "",
|
|
816
|
+
internalType: "struct IBasememeFactoryImpl.DynamicCreateCollateralConfig",
|
|
817
|
+
type: "tuple",
|
|
818
|
+
components: [
|
|
819
|
+
{
|
|
820
|
+
name: "defaultProfileId",
|
|
821
|
+
internalType: "bytes32",
|
|
822
|
+
type: "bytes32"
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
name: "defaultTargetRaise",
|
|
826
|
+
internalType: "uint256",
|
|
827
|
+
type: "uint256"
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
name: "initialTokenSupply",
|
|
831
|
+
internalType: "uint256",
|
|
832
|
+
type: "uint256"
|
|
833
|
+
},
|
|
834
|
+
{ name: "firstBuyFee", internalType: "uint256", type: "uint256" },
|
|
835
|
+
{ name: "tradeFeeBps", internalType: "uint16", type: "uint16" },
|
|
836
|
+
{ name: "migrationFeeBps", internalType: "uint16", type: "uint16" },
|
|
837
|
+
{ name: "defaultSellBps", internalType: "uint16", type: "uint16" },
|
|
838
|
+
{ name: "v4LpFee", internalType: "uint24", type: "uint24" }
|
|
839
|
+
]
|
|
296
840
|
}
|
|
297
841
|
],
|
|
298
|
-
name: "
|
|
842
|
+
name: "setCollateralAllConfigs",
|
|
843
|
+
outputs: []
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
stateMutability: "nonpayable",
|
|
847
|
+
type: "function",
|
|
848
|
+
inputs: [
|
|
849
|
+
{ name: "", internalType: "address", type: "address" },
|
|
850
|
+
{
|
|
851
|
+
name: "",
|
|
852
|
+
internalType: "struct IBondingCurve.CurveParams",
|
|
853
|
+
type: "tuple",
|
|
854
|
+
components: [
|
|
855
|
+
{
|
|
856
|
+
name: "initialTokenSupply",
|
|
857
|
+
internalType: "uint256",
|
|
858
|
+
type: "uint256"
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
name: "virtualCollateralReservesInitial",
|
|
862
|
+
internalType: "uint256",
|
|
863
|
+
type: "uint256"
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
name: "virtualTokenReservesInitial",
|
|
867
|
+
internalType: "uint256",
|
|
868
|
+
type: "uint256"
|
|
869
|
+
},
|
|
870
|
+
{ name: "feeBPS", internalType: "uint256", type: "uint256" },
|
|
871
|
+
{ name: "mcLowerLimit", internalType: "uint256", type: "uint256" },
|
|
872
|
+
{ name: "mcUpperLimit", internalType: "uint256", type: "uint256" },
|
|
873
|
+
{
|
|
874
|
+
name: "tokensMigrationThreshold",
|
|
875
|
+
internalType: "uint256",
|
|
876
|
+
type: "uint256"
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
name: "fixedMigrationFee",
|
|
880
|
+
internalType: "uint256",
|
|
881
|
+
type: "uint256"
|
|
882
|
+
},
|
|
883
|
+
{ name: "poolCreationFee", internalType: "uint256", type: "uint256" },
|
|
884
|
+
{ name: "firstBuyFee", internalType: "uint256", type: "uint256" },
|
|
885
|
+
{
|
|
886
|
+
name: "targetCollectionAmount",
|
|
887
|
+
internalType: "uint256",
|
|
888
|
+
type: "uint256"
|
|
889
|
+
},
|
|
890
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
891
|
+
{ name: "v4LpFee", internalType: "uint24", type: "uint24" }
|
|
892
|
+
]
|
|
893
|
+
},
|
|
894
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
895
|
+
{ name: "", internalType: "uint8", type: "uint8" }
|
|
896
|
+
],
|
|
897
|
+
name: "setCollateralConfig",
|
|
898
|
+
outputs: []
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
stateMutability: "nonpayable",
|
|
902
|
+
type: "function",
|
|
903
|
+
inputs: [
|
|
904
|
+
{ name: "", internalType: "address", type: "address" },
|
|
905
|
+
{ name: "", internalType: "bool", type: "bool" }
|
|
906
|
+
],
|
|
907
|
+
name: "setCollateralEnabled",
|
|
908
|
+
outputs: []
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
stateMutability: "nonpayable",
|
|
912
|
+
type: "function",
|
|
913
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
914
|
+
name: "setDefaultLockVault",
|
|
299
915
|
outputs: []
|
|
300
916
|
},
|
|
301
917
|
{
|
|
302
918
|
stateMutability: "nonpayable",
|
|
303
919
|
type: "function",
|
|
304
920
|
inputs: [
|
|
305
|
-
{ name: "
|
|
921
|
+
{ name: "", internalType: "address", type: "address" },
|
|
922
|
+
{
|
|
923
|
+
name: "",
|
|
924
|
+
internalType: "struct IBasememeFactoryImpl.DynamicCreateCollateralConfig",
|
|
925
|
+
type: "tuple",
|
|
926
|
+
components: [
|
|
927
|
+
{
|
|
928
|
+
name: "defaultProfileId",
|
|
929
|
+
internalType: "bytes32",
|
|
930
|
+
type: "bytes32"
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
name: "defaultTargetRaise",
|
|
934
|
+
internalType: "uint256",
|
|
935
|
+
type: "uint256"
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
name: "initialTokenSupply",
|
|
939
|
+
internalType: "uint256",
|
|
940
|
+
type: "uint256"
|
|
941
|
+
},
|
|
942
|
+
{ name: "firstBuyFee", internalType: "uint256", type: "uint256" },
|
|
943
|
+
{ name: "tradeFeeBps", internalType: "uint16", type: "uint16" },
|
|
944
|
+
{ name: "migrationFeeBps", internalType: "uint16", type: "uint16" },
|
|
945
|
+
{ name: "defaultSellBps", internalType: "uint16", type: "uint16" },
|
|
946
|
+
{ name: "v4LpFee", internalType: "uint24", type: "uint24" }
|
|
947
|
+
]
|
|
948
|
+
}
|
|
306
949
|
],
|
|
950
|
+
name: "setDynamicCreateCollateralConfig",
|
|
951
|
+
outputs: []
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
stateMutability: "nonpayable",
|
|
955
|
+
type: "function",
|
|
956
|
+
inputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
307
957
|
name: "setIsSignatureEnabled",
|
|
308
958
|
outputs: []
|
|
309
959
|
},
|
|
310
960
|
{
|
|
311
961
|
stateMutability: "nonpayable",
|
|
312
962
|
type: "function",
|
|
313
|
-
inputs: [{ name: "
|
|
963
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
314
964
|
name: "setSigner",
|
|
315
965
|
outputs: []
|
|
316
966
|
},
|
|
@@ -318,12 +968,32 @@ var basememeFactoryImplABI = [
|
|
|
318
968
|
stateMutability: "nonpayable",
|
|
319
969
|
type: "function",
|
|
320
970
|
inputs: [
|
|
321
|
-
{ name: "
|
|
322
|
-
{ name: "
|
|
971
|
+
{ name: "", internalType: "address", type: "address" },
|
|
972
|
+
{ name: "", internalType: "bool", type: "bool" }
|
|
973
|
+
],
|
|
974
|
+
name: "setTrustedCaller",
|
|
975
|
+
outputs: []
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
stateMutability: "nonpayable",
|
|
979
|
+
type: "function",
|
|
980
|
+
inputs: [
|
|
981
|
+
{ name: "", internalType: "bytes", type: "bytes" },
|
|
982
|
+
{ name: "", internalType: "uint8", type: "uint8" }
|
|
323
983
|
],
|
|
324
984
|
name: "setV4LiquidityConfig",
|
|
325
985
|
outputs: []
|
|
326
986
|
},
|
|
987
|
+
{
|
|
988
|
+
stateMutability: "nonpayable",
|
|
989
|
+
type: "function",
|
|
990
|
+
inputs: [
|
|
991
|
+
{ name: "", internalType: "bytes32", type: "bytes32" },
|
|
992
|
+
{ name: "", internalType: "bytes", type: "bytes" }
|
|
993
|
+
],
|
|
994
|
+
name: "setV4LiquidityProfile",
|
|
995
|
+
outputs: []
|
|
996
|
+
},
|
|
327
997
|
{
|
|
328
998
|
stateMutability: "view",
|
|
329
999
|
type: "function",
|
|
@@ -338,6 +1008,13 @@ var basememeFactoryImplABI = [
|
|
|
338
1008
|
name: "tokenToBondingCurve",
|
|
339
1009
|
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
340
1010
|
},
|
|
1011
|
+
{
|
|
1012
|
+
stateMutability: "view",
|
|
1013
|
+
type: "function",
|
|
1014
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
1015
|
+
name: "tokenToCollateralToken",
|
|
1016
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
1017
|
+
},
|
|
341
1018
|
{
|
|
342
1019
|
stateMutability: "nonpayable",
|
|
343
1020
|
type: "function",
|
|
@@ -356,77 +1033,18 @@ var basememeFactoryImplABI = [
|
|
|
356
1033
|
outputs: []
|
|
357
1034
|
},
|
|
358
1035
|
{
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
inputs: [
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
type: "address",
|
|
372
|
-
indexed: true
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
name: "tokenAmount",
|
|
376
|
-
internalType: "uint256",
|
|
377
|
-
type: "uint256",
|
|
378
|
-
indexed: false
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
name: "collateralAmount",
|
|
382
|
-
internalType: "uint256",
|
|
383
|
-
type: "uint256",
|
|
384
|
-
indexed: false
|
|
385
|
-
},
|
|
386
|
-
{
|
|
387
|
-
name: "refund",
|
|
388
|
-
internalType: "uint256",
|
|
389
|
-
type: "uint256",
|
|
390
|
-
indexed: false
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
name: "tradeFee",
|
|
394
|
-
internalType: "uint256",
|
|
395
|
-
type: "uint256",
|
|
396
|
-
indexed: false
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
name: "curveProgressBps",
|
|
400
|
-
internalType: "uint256",
|
|
401
|
-
type: "uint256",
|
|
402
|
-
indexed: false
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
name: "virtualCollateralReserves",
|
|
406
|
-
internalType: "uint256",
|
|
407
|
-
type: "uint256",
|
|
408
|
-
indexed: false
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
name: "virtualTokenReserves",
|
|
412
|
-
internalType: "uint256",
|
|
413
|
-
type: "uint256",
|
|
414
|
-
indexed: false
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
name: "collateralReserves",
|
|
418
|
-
internalType: "uint256",
|
|
419
|
-
type: "uint256",
|
|
420
|
-
indexed: false
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
name: "tokenReserves",
|
|
424
|
-
internalType: "uint256",
|
|
425
|
-
type: "uint256",
|
|
426
|
-
indexed: false
|
|
427
|
-
}
|
|
428
|
-
],
|
|
429
|
-
name: "Buy"
|
|
1036
|
+
stateMutability: "view",
|
|
1037
|
+
type: "function",
|
|
1038
|
+
inputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
1039
|
+
name: "v4LiquidityProfileVersions",
|
|
1040
|
+
outputs: [{ name: "", internalType: "uint8", type: "uint8" }]
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
stateMutability: "view",
|
|
1044
|
+
type: "function",
|
|
1045
|
+
inputs: [{ name: "", internalType: "bytes32", type: "bytes32" }],
|
|
1046
|
+
name: "v4LiquidityProfiles",
|
|
1047
|
+
outputs: [{ name: "", internalType: "bytes", type: "bytes" }]
|
|
430
1048
|
},
|
|
431
1049
|
{
|
|
432
1050
|
type: "event",
|
|
@@ -446,130 +1064,937 @@ var basememeFactoryImplABI = [
|
|
|
446
1064
|
anonymous: false,
|
|
447
1065
|
inputs: [
|
|
448
1066
|
{
|
|
449
|
-
name: "
|
|
1067
|
+
name: "previousOwner",
|
|
450
1068
|
internalType: "address",
|
|
451
1069
|
type: "address",
|
|
452
|
-
indexed:
|
|
1070
|
+
indexed: true
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
name: "newOwner",
|
|
1074
|
+
internalType: "address",
|
|
1075
|
+
type: "address",
|
|
1076
|
+
indexed: true
|
|
453
1077
|
}
|
|
454
1078
|
],
|
|
455
|
-
name: "
|
|
1079
|
+
name: "OwnershipTransferred"
|
|
456
1080
|
},
|
|
457
1081
|
{
|
|
458
1082
|
type: "event",
|
|
459
1083
|
anonymous: false,
|
|
460
1084
|
inputs: [
|
|
461
1085
|
{
|
|
462
|
-
name: "
|
|
1086
|
+
name: "implementation",
|
|
463
1087
|
internalType: "address",
|
|
464
1088
|
type: "address",
|
|
465
|
-
indexed:
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
1089
|
+
indexed: true
|
|
1090
|
+
}
|
|
1091
|
+
],
|
|
1092
|
+
name: "Upgraded"
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
type: "event",
|
|
1096
|
+
anonymous: false,
|
|
1097
|
+
inputs: [
|
|
473
1098
|
{
|
|
474
|
-
name: "
|
|
475
|
-
internalType: "
|
|
476
|
-
type: "
|
|
1099
|
+
name: "cfgHash",
|
|
1100
|
+
internalType: "bytes32",
|
|
1101
|
+
type: "bytes32",
|
|
1102
|
+
indexed: false
|
|
1103
|
+
},
|
|
1104
|
+
{ name: "version", internalType: "uint8", type: "uint8", indexed: false }
|
|
1105
|
+
],
|
|
1106
|
+
name: "V4ChainConfigUpdated"
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
type: "error",
|
|
1110
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
1111
|
+
name: "AddressEmptyCode"
|
|
1112
|
+
},
|
|
1113
|
+
{ type: "error", inputs: [], name: "CallReverted" },
|
|
1114
|
+
{
|
|
1115
|
+
type: "error",
|
|
1116
|
+
inputs: [
|
|
1117
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
1118
|
+
],
|
|
1119
|
+
name: "ERC1967InvalidImplementation"
|
|
1120
|
+
},
|
|
1121
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
1122
|
+
{ type: "error", inputs: [], name: "FailedCall" },
|
|
1123
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
1124
|
+
{ type: "error", inputs: [], name: "ModuleNotSet" },
|
|
1125
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
1126
|
+
{
|
|
1127
|
+
type: "error",
|
|
1128
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
1129
|
+
name: "OwnableInvalidOwner"
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
type: "error",
|
|
1133
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
1134
|
+
name: "OwnableUnauthorizedAccount"
|
|
1135
|
+
},
|
|
1136
|
+
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
1137
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
1138
|
+
{
|
|
1139
|
+
type: "error",
|
|
1140
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
1141
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
1142
|
+
},
|
|
1143
|
+
{ type: "error", inputs: [], name: "UnsupportedSelector" }
|
|
1144
|
+
];
|
|
1145
|
+
var basememeFactoryImplAddress = {
|
|
1146
|
+
8453: "0x560bAAF627b58bA34e68b88Ae562b192119b6C03",
|
|
1147
|
+
84532: "0xF8EF28FcaEe95C0d0A88700807E1e44C78E93062"
|
|
1148
|
+
};
|
|
1149
|
+
var basememeFactoryImplConfig = {
|
|
1150
|
+
address: basememeFactoryImplAddress,
|
|
1151
|
+
abi: basememeFactoryImplABI
|
|
1152
|
+
};
|
|
1153
|
+
var basememeFactoryTradeHelperABI = [
|
|
1154
|
+
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
1155
|
+
{ stateMutability: "payable", type: "receive" },
|
|
1156
|
+
{
|
|
1157
|
+
stateMutability: "view",
|
|
1158
|
+
type: "function",
|
|
1159
|
+
inputs: [],
|
|
1160
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
1161
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
stateMutability: "payable",
|
|
1165
|
+
type: "function",
|
|
1166
|
+
inputs: [
|
|
1167
|
+
{ name: "token", internalType: "address", type: "address" },
|
|
1168
|
+
{ name: "funds", internalType: "uint256", type: "uint256" },
|
|
1169
|
+
{ name: "minTokenOut", internalType: "uint256", type: "uint256" },
|
|
1170
|
+
{ name: "tradeReferrer", internalType: "address", type: "address" }
|
|
1171
|
+
],
|
|
1172
|
+
name: "buyWithEth",
|
|
1173
|
+
outputs: [
|
|
1174
|
+
{ name: "tokenOut", internalType: "uint256", type: "uint256" },
|
|
1175
|
+
{ name: "refundOut", internalType: "uint256", type: "uint256" }
|
|
1176
|
+
]
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
stateMutability: "view",
|
|
1180
|
+
type: "function",
|
|
1181
|
+
inputs: [],
|
|
1182
|
+
name: "factory",
|
|
1183
|
+
outputs: [
|
|
1184
|
+
{
|
|
1185
|
+
name: "",
|
|
1186
|
+
internalType: "contract IBasememeFactoryImpl",
|
|
1187
|
+
type: "address"
|
|
1188
|
+
}
|
|
1189
|
+
]
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
stateMutability: "nonpayable",
|
|
1193
|
+
type: "function",
|
|
1194
|
+
inputs: [
|
|
1195
|
+
{ name: "owner_", internalType: "address", type: "address" },
|
|
1196
|
+
{ name: "factory_", internalType: "address", type: "address" },
|
|
1197
|
+
{ name: "tokenSwap_", internalType: "address", type: "address" }
|
|
1198
|
+
],
|
|
1199
|
+
name: "initialize",
|
|
1200
|
+
outputs: []
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
stateMutability: "view",
|
|
1204
|
+
type: "function",
|
|
1205
|
+
inputs: [],
|
|
1206
|
+
name: "owner",
|
|
1207
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
stateMutability: "view",
|
|
1211
|
+
type: "function",
|
|
1212
|
+
inputs: [],
|
|
1213
|
+
name: "proxiableUUID",
|
|
1214
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
stateMutability: "nonpayable",
|
|
1218
|
+
type: "function",
|
|
1219
|
+
inputs: [
|
|
1220
|
+
{ name: "token", internalType: "address", type: "address" },
|
|
1221
|
+
{ name: "collateralIn", internalType: "uint256", type: "uint256" }
|
|
1222
|
+
],
|
|
1223
|
+
name: "quoteCollateralToEthForToken",
|
|
1224
|
+
outputs: [
|
|
1225
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
1226
|
+
{ name: "ethOut", internalType: "uint256", type: "uint256" }
|
|
1227
|
+
]
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
stateMutability: "nonpayable",
|
|
1231
|
+
type: "function",
|
|
1232
|
+
inputs: [
|
|
1233
|
+
{ name: "token", internalType: "address", type: "address" },
|
|
1234
|
+
{ name: "ethIn", internalType: "uint256", type: "uint256" }
|
|
1235
|
+
],
|
|
1236
|
+
name: "quoteEthToCollateralForToken",
|
|
1237
|
+
outputs: [
|
|
1238
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
1239
|
+
{ name: "collateralOut", internalType: "uint256", type: "uint256" }
|
|
1240
|
+
]
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
stateMutability: "nonpayable",
|
|
1244
|
+
type: "function",
|
|
1245
|
+
inputs: [],
|
|
1246
|
+
name: "renounceOwnership",
|
|
1247
|
+
outputs: []
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
stateMutability: "nonpayable",
|
|
1251
|
+
type: "function",
|
|
1252
|
+
inputs: [
|
|
1253
|
+
{ name: "token", internalType: "address", type: "address" },
|
|
1254
|
+
{ name: "tokenAmountIn", internalType: "uint256", type: "uint256" },
|
|
1255
|
+
{ name: "minEthOut", internalType: "uint256", type: "uint256" },
|
|
1256
|
+
{ name: "tradeReferrer", internalType: "address", type: "address" }
|
|
1257
|
+
],
|
|
1258
|
+
name: "sellForEth",
|
|
1259
|
+
outputs: [{ name: "ethOut", internalType: "uint256", type: "uint256" }]
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
stateMutability: "nonpayable",
|
|
1263
|
+
type: "function",
|
|
1264
|
+
inputs: [{ name: "tokenSwap_", internalType: "address", type: "address" }],
|
|
1265
|
+
name: "setTokenSwap",
|
|
1266
|
+
outputs: []
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
stateMutability: "view",
|
|
1270
|
+
type: "function",
|
|
1271
|
+
inputs: [],
|
|
1272
|
+
name: "tokenSwap",
|
|
1273
|
+
outputs: [
|
|
1274
|
+
{
|
|
1275
|
+
name: "",
|
|
1276
|
+
internalType: "contract IBasememeTokenSwap",
|
|
1277
|
+
type: "address"
|
|
1278
|
+
}
|
|
1279
|
+
]
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
stateMutability: "nonpayable",
|
|
1283
|
+
type: "function",
|
|
1284
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
1285
|
+
name: "transferOwnership",
|
|
1286
|
+
outputs: []
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
stateMutability: "payable",
|
|
1290
|
+
type: "function",
|
|
1291
|
+
inputs: [
|
|
1292
|
+
{ name: "newImplementation", internalType: "address", type: "address" },
|
|
1293
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
1294
|
+
],
|
|
1295
|
+
name: "upgradeToAndCall",
|
|
1296
|
+
outputs: []
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
type: "event",
|
|
1300
|
+
anonymous: false,
|
|
1301
|
+
inputs: [
|
|
1302
|
+
{
|
|
1303
|
+
name: "caller",
|
|
1304
|
+
internalType: "address",
|
|
1305
|
+
type: "address",
|
|
1306
|
+
indexed: true
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
name: "token",
|
|
1310
|
+
internalType: "address",
|
|
1311
|
+
type: "address",
|
|
1312
|
+
indexed: true
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
name: "recipient",
|
|
1316
|
+
internalType: "address",
|
|
1317
|
+
type: "address",
|
|
1318
|
+
indexed: true
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
name: "fundsIn",
|
|
1322
|
+
internalType: "uint256",
|
|
1323
|
+
type: "uint256",
|
|
477
1324
|
indexed: false
|
|
478
1325
|
},
|
|
479
1326
|
{
|
|
480
|
-
name: "
|
|
1327
|
+
name: "minTokenOut",
|
|
481
1328
|
internalType: "uint256",
|
|
482
1329
|
type: "uint256",
|
|
483
1330
|
indexed: false
|
|
484
1331
|
},
|
|
485
1332
|
{
|
|
486
|
-
name: "
|
|
1333
|
+
name: "tradeReferrer",
|
|
1334
|
+
internalType: "address",
|
|
1335
|
+
type: "address",
|
|
1336
|
+
indexed: false
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
name: "collateralToken",
|
|
1340
|
+
internalType: "address",
|
|
1341
|
+
type: "address",
|
|
1342
|
+
indexed: false
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
name: "tokenOut",
|
|
487
1346
|
internalType: "uint256",
|
|
488
1347
|
type: "uint256",
|
|
489
1348
|
indexed: false
|
|
490
1349
|
},
|
|
491
1350
|
{
|
|
492
|
-
name: "
|
|
1351
|
+
name: "refundOut",
|
|
493
1352
|
internalType: "uint256",
|
|
494
1353
|
type: "uint256",
|
|
495
1354
|
indexed: false
|
|
496
1355
|
}
|
|
497
1356
|
],
|
|
498
|
-
name: "
|
|
1357
|
+
name: "BuyWithEth"
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
type: "event",
|
|
1361
|
+
anonymous: false,
|
|
1362
|
+
inputs: [
|
|
1363
|
+
{
|
|
1364
|
+
name: "version",
|
|
1365
|
+
internalType: "uint64",
|
|
1366
|
+
type: "uint64",
|
|
1367
|
+
indexed: false
|
|
1368
|
+
}
|
|
1369
|
+
],
|
|
1370
|
+
name: "Initialized"
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
type: "event",
|
|
1374
|
+
anonymous: false,
|
|
1375
|
+
inputs: [
|
|
1376
|
+
{
|
|
1377
|
+
name: "previousOwner",
|
|
1378
|
+
internalType: "address",
|
|
1379
|
+
type: "address",
|
|
1380
|
+
indexed: true
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
name: "newOwner",
|
|
1384
|
+
internalType: "address",
|
|
1385
|
+
type: "address",
|
|
1386
|
+
indexed: true
|
|
1387
|
+
}
|
|
1388
|
+
],
|
|
1389
|
+
name: "OwnershipTransferred"
|
|
499
1390
|
},
|
|
500
1391
|
{
|
|
501
1392
|
type: "event",
|
|
502
1393
|
anonymous: false,
|
|
503
1394
|
inputs: [
|
|
504
1395
|
{
|
|
505
|
-
name: "
|
|
1396
|
+
name: "caller",
|
|
1397
|
+
internalType: "address",
|
|
1398
|
+
type: "address",
|
|
1399
|
+
indexed: true
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
name: "token",
|
|
1403
|
+
internalType: "address",
|
|
1404
|
+
type: "address",
|
|
1405
|
+
indexed: true
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
name: "from",
|
|
506
1409
|
internalType: "address",
|
|
507
1410
|
type: "address",
|
|
508
1411
|
indexed: false
|
|
509
1412
|
},
|
|
510
1413
|
{
|
|
511
|
-
name: "
|
|
1414
|
+
name: "tokenIn",
|
|
1415
|
+
internalType: "uint256",
|
|
1416
|
+
type: "uint256",
|
|
1417
|
+
indexed: false
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
name: "minEthOut",
|
|
1421
|
+
internalType: "uint256",
|
|
1422
|
+
type: "uint256",
|
|
1423
|
+
indexed: false
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
name: "tradeReferrer",
|
|
512
1427
|
internalType: "address",
|
|
513
1428
|
type: "address",
|
|
514
1429
|
indexed: false
|
|
515
1430
|
},
|
|
516
1431
|
{
|
|
517
|
-
name: "
|
|
1432
|
+
name: "collateralToken",
|
|
518
1433
|
internalType: "address",
|
|
519
1434
|
type: "address",
|
|
520
1435
|
indexed: false
|
|
521
1436
|
},
|
|
522
1437
|
{
|
|
523
|
-
name: "
|
|
524
|
-
internalType: "
|
|
525
|
-
type: "
|
|
1438
|
+
name: "collateralOut",
|
|
1439
|
+
internalType: "uint256",
|
|
1440
|
+
type: "uint256",
|
|
526
1441
|
indexed: false
|
|
527
1442
|
},
|
|
528
1443
|
{
|
|
529
|
-
name: "
|
|
530
|
-
internalType: "
|
|
531
|
-
type: "
|
|
532
|
-
indexed: false
|
|
533
|
-
}
|
|
1444
|
+
name: "ethOut",
|
|
1445
|
+
internalType: "uint256",
|
|
1446
|
+
type: "uint256",
|
|
1447
|
+
indexed: false
|
|
1448
|
+
}
|
|
1449
|
+
],
|
|
1450
|
+
name: "SellForEth"
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
type: "event",
|
|
1454
|
+
anonymous: false,
|
|
1455
|
+
inputs: [
|
|
1456
|
+
{
|
|
1457
|
+
name: "implementation",
|
|
1458
|
+
internalType: "address",
|
|
1459
|
+
type: "address",
|
|
1460
|
+
indexed: true
|
|
1461
|
+
}
|
|
1462
|
+
],
|
|
1463
|
+
name: "Upgraded"
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
type: "error",
|
|
1467
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
1468
|
+
name: "AddressEmptyCode"
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
type: "error",
|
|
1472
|
+
inputs: [
|
|
1473
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
1474
|
+
],
|
|
1475
|
+
name: "ERC1967InvalidImplementation"
|
|
1476
|
+
},
|
|
1477
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
1478
|
+
{ type: "error", inputs: [], name: "FailedCall" },
|
|
1479
|
+
{
|
|
1480
|
+
type: "error",
|
|
1481
|
+
inputs: [
|
|
1482
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
1483
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
1484
|
+
],
|
|
1485
|
+
name: "InsufficientBalance"
|
|
1486
|
+
},
|
|
1487
|
+
{ type: "error", inputs: [], name: "InvalidFunds" },
|
|
1488
|
+
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
1489
|
+
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
1490
|
+
{
|
|
1491
|
+
type: "error",
|
|
1492
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
1493
|
+
name: "OwnableInvalidOwner"
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
type: "error",
|
|
1497
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
1498
|
+
name: "OwnableUnauthorizedAccount"
|
|
1499
|
+
},
|
|
1500
|
+
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
1501
|
+
{
|
|
1502
|
+
type: "error",
|
|
1503
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
1504
|
+
name: "SafeERC20FailedOperation"
|
|
1505
|
+
},
|
|
1506
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
1507
|
+
{
|
|
1508
|
+
type: "error",
|
|
1509
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
1510
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
1511
|
+
}
|
|
1512
|
+
];
|
|
1513
|
+
var basememeFactoryTradeHelperAddress = {
|
|
1514
|
+
8453: "0xBd6bc115a8c944305b341f294c57F4eB44C1E2F4",
|
|
1515
|
+
84532: "0x0993F0d51aaCaa059c5cC9EF2E285660837540C9"
|
|
1516
|
+
};
|
|
1517
|
+
var basememeFactoryTradeHelperConfig = {
|
|
1518
|
+
address: basememeFactoryTradeHelperAddress,
|
|
1519
|
+
abi: basememeFactoryTradeHelperABI
|
|
1520
|
+
};
|
|
1521
|
+
var basememeLockVaultABI = [
|
|
1522
|
+
{
|
|
1523
|
+
stateMutability: "nonpayable",
|
|
1524
|
+
type: "constructor",
|
|
1525
|
+
inputs: [{ name: "factory_", internalType: "address", type: "address" }]
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
stateMutability: "view",
|
|
1529
|
+
type: "function",
|
|
1530
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
1531
|
+
name: "allocation",
|
|
1532
|
+
outputs: [
|
|
1533
|
+
{ name: "token", internalType: "address", type: "address" },
|
|
1534
|
+
{ name: "amountTotal", internalType: "uint256", type: "uint256" },
|
|
1535
|
+
{ name: "amountClaimed", internalType: "uint256", type: "uint256" },
|
|
1536
|
+
{ name: "lockupDuration", internalType: "uint256", type: "uint256" },
|
|
1537
|
+
{ name: "vestingDuration", internalType: "uint256", type: "uint256" },
|
|
1538
|
+
{ name: "startTime", internalType: "uint256", type: "uint256" },
|
|
1539
|
+
{ name: "admin", internalType: "address", type: "address" },
|
|
1540
|
+
{ name: "lockBps", internalType: "uint16", type: "uint16" }
|
|
1541
|
+
]
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
stateMutability: "view",
|
|
1545
|
+
type: "function",
|
|
1546
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
1547
|
+
name: "amountAvailableToClaim",
|
|
1548
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
stateMutability: "nonpayable",
|
|
1552
|
+
type: "function",
|
|
1553
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
1554
|
+
name: "claim",
|
|
1555
|
+
outputs: []
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
stateMutability: "pure",
|
|
1559
|
+
type: "function",
|
|
1560
|
+
inputs: [],
|
|
1561
|
+
name: "contractVersion",
|
|
1562
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
stateMutability: "nonpayable",
|
|
1566
|
+
type: "function",
|
|
1567
|
+
inputs: [
|
|
1568
|
+
{ name: "token", internalType: "address", type: "address" },
|
|
1569
|
+
{ name: "admin", internalType: "address", type: "address" },
|
|
1570
|
+
{ name: "amountTotal", internalType: "uint256", type: "uint256" },
|
|
1571
|
+
{ name: "lockupDuration", internalType: "uint256", type: "uint256" },
|
|
1572
|
+
{ name: "vestingDuration", internalType: "uint256", type: "uint256" },
|
|
1573
|
+
{ name: "lockBps", internalType: "uint16", type: "uint16" }
|
|
1574
|
+
],
|
|
1575
|
+
name: "createAllocation",
|
|
1576
|
+
outputs: []
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
stateMutability: "nonpayable",
|
|
1580
|
+
type: "function",
|
|
1581
|
+
inputs: [
|
|
1582
|
+
{ name: "token", internalType: "address", type: "address" },
|
|
1583
|
+
{ name: "newAdmin", internalType: "address", type: "address" }
|
|
1584
|
+
],
|
|
1585
|
+
name: "editAllocationAdmin",
|
|
1586
|
+
outputs: []
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
stateMutability: "view",
|
|
1590
|
+
type: "function",
|
|
1591
|
+
inputs: [],
|
|
1592
|
+
name: "factory",
|
|
1593
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
stateMutability: "nonpayable",
|
|
1597
|
+
type: "function",
|
|
1598
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
1599
|
+
name: "start",
|
|
1600
|
+
outputs: []
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
type: "event",
|
|
1604
|
+
anonymous: false,
|
|
1605
|
+
inputs: [
|
|
1606
|
+
{
|
|
1607
|
+
name: "token",
|
|
1608
|
+
internalType: "address",
|
|
1609
|
+
type: "address",
|
|
1610
|
+
indexed: true
|
|
1611
|
+
},
|
|
1612
|
+
{
|
|
1613
|
+
name: "oldAdmin",
|
|
1614
|
+
internalType: "address",
|
|
1615
|
+
type: "address",
|
|
1616
|
+
indexed: true
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
name: "newAdmin",
|
|
1620
|
+
internalType: "address",
|
|
1621
|
+
type: "address",
|
|
1622
|
+
indexed: true
|
|
1623
|
+
}
|
|
1624
|
+
],
|
|
1625
|
+
name: "AllocationAdminUpdated"
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
type: "event",
|
|
1629
|
+
anonymous: false,
|
|
1630
|
+
inputs: [
|
|
1631
|
+
{
|
|
1632
|
+
name: "token",
|
|
1633
|
+
internalType: "address",
|
|
1634
|
+
type: "address",
|
|
1635
|
+
indexed: true
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
name: "admin",
|
|
1639
|
+
internalType: "address",
|
|
1640
|
+
type: "address",
|
|
1641
|
+
indexed: true
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
name: "amount",
|
|
1645
|
+
internalType: "uint256",
|
|
1646
|
+
type: "uint256",
|
|
1647
|
+
indexed: false
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
name: "remainingAmount",
|
|
1651
|
+
internalType: "uint256",
|
|
1652
|
+
type: "uint256",
|
|
1653
|
+
indexed: false
|
|
1654
|
+
}
|
|
1655
|
+
],
|
|
1656
|
+
name: "AllocationClaimed"
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
type: "event",
|
|
1660
|
+
anonymous: false,
|
|
1661
|
+
inputs: [
|
|
1662
|
+
{
|
|
1663
|
+
name: "token",
|
|
1664
|
+
internalType: "address",
|
|
1665
|
+
type: "address",
|
|
1666
|
+
indexed: true
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
name: "admin",
|
|
1670
|
+
internalType: "address",
|
|
1671
|
+
type: "address",
|
|
1672
|
+
indexed: true
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
name: "amountTotal",
|
|
1676
|
+
internalType: "uint256",
|
|
1677
|
+
type: "uint256",
|
|
1678
|
+
indexed: false
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
name: "lockupDuration",
|
|
1682
|
+
internalType: "uint256",
|
|
1683
|
+
type: "uint256",
|
|
1684
|
+
indexed: false
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
name: "vestingDuration",
|
|
1688
|
+
internalType: "uint256",
|
|
1689
|
+
type: "uint256",
|
|
1690
|
+
indexed: false
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
name: "lockBps",
|
|
1694
|
+
internalType: "uint16",
|
|
1695
|
+
type: "uint16",
|
|
1696
|
+
indexed: false
|
|
1697
|
+
}
|
|
1698
|
+
],
|
|
1699
|
+
name: "AllocationCreated"
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
type: "event",
|
|
1703
|
+
anonymous: false,
|
|
1704
|
+
inputs: [
|
|
1705
|
+
{
|
|
1706
|
+
name: "token",
|
|
1707
|
+
internalType: "address",
|
|
1708
|
+
type: "address",
|
|
1709
|
+
indexed: true
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
name: "startTime",
|
|
1713
|
+
internalType: "uint256",
|
|
1714
|
+
type: "uint256",
|
|
1715
|
+
indexed: false
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
name: "lockupEndTime",
|
|
1719
|
+
internalType: "uint256",
|
|
1720
|
+
type: "uint256",
|
|
1721
|
+
indexed: false
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
name: "vestingEndTime",
|
|
1725
|
+
internalType: "uint256",
|
|
1726
|
+
type: "uint256",
|
|
1727
|
+
indexed: false
|
|
1728
|
+
}
|
|
1729
|
+
],
|
|
1730
|
+
name: "AllocationStarted"
|
|
1731
|
+
},
|
|
1732
|
+
{ type: "error", inputs: [], name: "AllocationAlreadyExists" },
|
|
1733
|
+
{ type: "error", inputs: [], name: "AllocationAlreadyStarted" },
|
|
1734
|
+
{ type: "error", inputs: [], name: "AllocationNotFound" },
|
|
1735
|
+
{ type: "error", inputs: [], name: "AllocationNotStarted" },
|
|
1736
|
+
{ type: "error", inputs: [], name: "AllocationNotUnlocked" },
|
|
1737
|
+
{ type: "error", inputs: [], name: "InvalidAdmin" },
|
|
1738
|
+
{ type: "error", inputs: [], name: "InvalidAmount" },
|
|
1739
|
+
{ type: "error", inputs: [], name: "InvalidDuration" },
|
|
1740
|
+
{ type: "error", inputs: [], name: "InvalidToken" },
|
|
1741
|
+
{ type: "error", inputs: [], name: "NoBalanceToClaim" },
|
|
1742
|
+
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
1743
|
+
{
|
|
1744
|
+
type: "error",
|
|
1745
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
1746
|
+
name: "SafeERC20FailedOperation"
|
|
1747
|
+
},
|
|
1748
|
+
{ type: "error", inputs: [], name: "Unauthorized" }
|
|
1749
|
+
];
|
|
1750
|
+
var basememeLockVaultAddress = {
|
|
1751
|
+
8453: "0x9De3B446cd40487A02af244C8ab3B3c561C4Aaf1",
|
|
1752
|
+
84532: "0x4b76688E3017Dc6BF2372a52e57595e339899bf9"
|
|
1753
|
+
};
|
|
1754
|
+
var basememeLockVaultConfig = {
|
|
1755
|
+
address: basememeLockVaultAddress,
|
|
1756
|
+
abi: basememeLockVaultABI
|
|
1757
|
+
};
|
|
1758
|
+
var basememeTokenABI = [
|
|
1759
|
+
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
1760
|
+
{
|
|
1761
|
+
stateMutability: "view",
|
|
1762
|
+
type: "function",
|
|
1763
|
+
inputs: [
|
|
1764
|
+
{ name: "owner", internalType: "address", type: "address" },
|
|
1765
|
+
{ name: "spender", internalType: "address", type: "address" }
|
|
1766
|
+
],
|
|
1767
|
+
name: "allowance",
|
|
1768
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
stateMutability: "nonpayable",
|
|
1772
|
+
type: "function",
|
|
1773
|
+
inputs: [
|
|
1774
|
+
{ name: "spender", internalType: "address", type: "address" },
|
|
1775
|
+
{ name: "value", internalType: "uint256", type: "uint256" }
|
|
1776
|
+
],
|
|
1777
|
+
name: "approve",
|
|
1778
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
stateMutability: "view",
|
|
1782
|
+
type: "function",
|
|
1783
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
1784
|
+
name: "balanceOf",
|
|
1785
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1786
|
+
},
|
|
1787
|
+
{
|
|
1788
|
+
stateMutability: "nonpayable",
|
|
1789
|
+
type: "function",
|
|
1790
|
+
inputs: [{ name: "value", internalType: "uint256", type: "uint256" }],
|
|
1791
|
+
name: "burn",
|
|
1792
|
+
outputs: []
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
stateMutability: "nonpayable",
|
|
1796
|
+
type: "function",
|
|
1797
|
+
inputs: [
|
|
1798
|
+
{ name: "account", internalType: "address", type: "address" },
|
|
1799
|
+
{ name: "value", internalType: "uint256", type: "uint256" }
|
|
1800
|
+
],
|
|
1801
|
+
name: "burnFrom",
|
|
1802
|
+
outputs: []
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
stateMutability: "view",
|
|
1806
|
+
type: "function",
|
|
1807
|
+
inputs: [],
|
|
1808
|
+
name: "contractURI",
|
|
1809
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1810
|
+
},
|
|
1811
|
+
{
|
|
1812
|
+
stateMutability: "pure",
|
|
1813
|
+
type: "function",
|
|
1814
|
+
inputs: [],
|
|
1815
|
+
name: "contractVersion",
|
|
1816
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1817
|
+
},
|
|
1818
|
+
{
|
|
1819
|
+
stateMutability: "view",
|
|
1820
|
+
type: "function",
|
|
1821
|
+
inputs: [],
|
|
1822
|
+
name: "decimals",
|
|
1823
|
+
outputs: [{ name: "", internalType: "uint8", type: "uint8" }]
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
stateMutability: "view",
|
|
1827
|
+
type: "function",
|
|
1828
|
+
inputs: [],
|
|
1829
|
+
name: "factory",
|
|
1830
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
1831
|
+
},
|
|
1832
|
+
{
|
|
1833
|
+
stateMutability: "nonpayable",
|
|
1834
|
+
type: "function",
|
|
1835
|
+
inputs: [
|
|
1836
|
+
{
|
|
1837
|
+
name: "_params",
|
|
1838
|
+
internalType: "struct IBasememeToken.ConstructorParams",
|
|
1839
|
+
type: "tuple",
|
|
1840
|
+
components: [
|
|
1841
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
1842
|
+
{ name: "symbol", internalType: "string", type: "string" },
|
|
1843
|
+
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
1844
|
+
{ name: "factory", internalType: "address", type: "address" },
|
|
1845
|
+
{ name: "bondingCurve", internalType: "address", type: "address" },
|
|
1846
|
+
{
|
|
1847
|
+
name: "initialTokenSupply",
|
|
1848
|
+
internalType: "uint256",
|
|
1849
|
+
type: "uint256"
|
|
1850
|
+
}
|
|
1851
|
+
]
|
|
1852
|
+
}
|
|
1853
|
+
],
|
|
1854
|
+
name: "initialize",
|
|
1855
|
+
outputs: []
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
stateMutability: "view",
|
|
1859
|
+
type: "function",
|
|
1860
|
+
inputs: [],
|
|
1861
|
+
name: "name",
|
|
1862
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
stateMutability: "view",
|
|
1866
|
+
type: "function",
|
|
1867
|
+
inputs: [],
|
|
1868
|
+
name: "owner",
|
|
1869
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
stateMutability: "nonpayable",
|
|
1873
|
+
type: "function",
|
|
1874
|
+
inputs: [],
|
|
1875
|
+
name: "renounceOwnership",
|
|
1876
|
+
outputs: []
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
stateMutability: "nonpayable",
|
|
1880
|
+
type: "function",
|
|
1881
|
+
inputs: [
|
|
1882
|
+
{
|
|
1883
|
+
name: "mode",
|
|
1884
|
+
internalType: "enum IBasememeToken.TransferMode",
|
|
1885
|
+
type: "uint8"
|
|
1886
|
+
}
|
|
1887
|
+
],
|
|
1888
|
+
name: "setTransferMode",
|
|
1889
|
+
outputs: []
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
stateMutability: "pure",
|
|
1893
|
+
type: "function",
|
|
1894
|
+
inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
|
|
1895
|
+
name: "supportsInterface",
|
|
1896
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
stateMutability: "view",
|
|
1900
|
+
type: "function",
|
|
1901
|
+
inputs: [],
|
|
1902
|
+
name: "symbol",
|
|
1903
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1904
|
+
},
|
|
1905
|
+
{
|
|
1906
|
+
stateMutability: "view",
|
|
1907
|
+
type: "function",
|
|
1908
|
+
inputs: [],
|
|
1909
|
+
name: "tokenURI",
|
|
1910
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
1911
|
+
},
|
|
1912
|
+
{
|
|
1913
|
+
stateMutability: "view",
|
|
1914
|
+
type: "function",
|
|
1915
|
+
inputs: [],
|
|
1916
|
+
name: "totalSupply",
|
|
1917
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1918
|
+
},
|
|
1919
|
+
{
|
|
1920
|
+
stateMutability: "nonpayable",
|
|
1921
|
+
type: "function",
|
|
1922
|
+
inputs: [
|
|
1923
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
1924
|
+
{ name: "value", internalType: "uint256", type: "uint256" }
|
|
1925
|
+
],
|
|
1926
|
+
name: "transfer",
|
|
1927
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
stateMutability: "nonpayable",
|
|
1931
|
+
type: "function",
|
|
1932
|
+
inputs: [
|
|
1933
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
1934
|
+
{ name: "to", internalType: "address", type: "address" },
|
|
1935
|
+
{ name: "value", internalType: "uint256", type: "uint256" }
|
|
1936
|
+
],
|
|
1937
|
+
name: "transferFrom",
|
|
1938
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
stateMutability: "view",
|
|
1942
|
+
type: "function",
|
|
1943
|
+
inputs: [],
|
|
1944
|
+
name: "transferMode",
|
|
1945
|
+
outputs: [
|
|
1946
|
+
{
|
|
1947
|
+
name: "",
|
|
1948
|
+
internalType: "enum IBasememeToken.TransferMode",
|
|
1949
|
+
type: "uint8"
|
|
1950
|
+
}
|
|
1951
|
+
]
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
stateMutability: "nonpayable",
|
|
1955
|
+
type: "function",
|
|
1956
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
1957
|
+
name: "transferOwnership",
|
|
1958
|
+
outputs: []
|
|
1959
|
+
},
|
|
1960
|
+
{
|
|
1961
|
+
type: "event",
|
|
1962
|
+
anonymous: false,
|
|
1963
|
+
inputs: [
|
|
534
1964
|
{
|
|
535
|
-
name: "
|
|
1965
|
+
name: "owner",
|
|
536
1966
|
internalType: "address",
|
|
537
1967
|
type: "address",
|
|
538
|
-
indexed:
|
|
1968
|
+
indexed: true
|
|
539
1969
|
},
|
|
540
1970
|
{
|
|
541
|
-
name: "
|
|
1971
|
+
name: "spender",
|
|
542
1972
|
internalType: "address",
|
|
543
1973
|
type: "address",
|
|
544
|
-
indexed:
|
|
1974
|
+
indexed: true
|
|
545
1975
|
},
|
|
546
1976
|
{
|
|
547
|
-
name: "
|
|
1977
|
+
name: "value",
|
|
548
1978
|
internalType: "uint256",
|
|
549
1979
|
type: "uint256",
|
|
550
1980
|
indexed: false
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
name: "tokenURI",
|
|
561
|
-
internalType: "string",
|
|
562
|
-
type: "string",
|
|
563
|
-
indexed: false
|
|
564
|
-
},
|
|
1981
|
+
}
|
|
1982
|
+
],
|
|
1983
|
+
name: "Approval"
|
|
1984
|
+
},
|
|
1985
|
+
{ type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
|
|
1986
|
+
{
|
|
1987
|
+
type: "event",
|
|
1988
|
+
anonymous: false,
|
|
1989
|
+
inputs: [
|
|
565
1990
|
{
|
|
566
1991
|
name: "version",
|
|
567
|
-
internalType: "
|
|
568
|
-
type: "
|
|
1992
|
+
internalType: "uint64",
|
|
1993
|
+
type: "uint64",
|
|
569
1994
|
indexed: false
|
|
570
1995
|
}
|
|
571
1996
|
],
|
|
572
|
-
name: "
|
|
1997
|
+
name: "Initialized"
|
|
573
1998
|
},
|
|
574
1999
|
{
|
|
575
2000
|
type: "event",
|
|
@@ -595,188 +2020,93 @@ var basememeFactoryImplABI = [
|
|
|
595
2020
|
anonymous: false,
|
|
596
2021
|
inputs: [
|
|
597
2022
|
{
|
|
598
|
-
name: "
|
|
2023
|
+
name: "sender",
|
|
599
2024
|
internalType: "address",
|
|
600
2025
|
type: "address",
|
|
601
2026
|
indexed: true
|
|
602
2027
|
},
|
|
603
2028
|
{
|
|
604
|
-
name: "
|
|
2029
|
+
name: "recipient",
|
|
605
2030
|
internalType: "address",
|
|
606
2031
|
type: "address",
|
|
607
2032
|
indexed: true
|
|
608
2033
|
},
|
|
609
2034
|
{
|
|
610
|
-
name: "
|
|
611
|
-
internalType: "uint256",
|
|
612
|
-
type: "uint256",
|
|
613
|
-
indexed: false
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
name: "collateralAmount",
|
|
617
|
-
internalType: "uint256",
|
|
618
|
-
type: "uint256",
|
|
619
|
-
indexed: false
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
name: "tradeFee",
|
|
623
|
-
internalType: "uint256",
|
|
624
|
-
type: "uint256",
|
|
625
|
-
indexed: false
|
|
626
|
-
},
|
|
627
|
-
{
|
|
628
|
-
name: "curveProgressBps",
|
|
629
|
-
internalType: "uint256",
|
|
630
|
-
type: "uint256",
|
|
631
|
-
indexed: false
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
name: "virtualCollateralReserves",
|
|
635
|
-
internalType: "uint256",
|
|
636
|
-
type: "uint256",
|
|
637
|
-
indexed: false
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
name: "virtualTokenReserves",
|
|
2035
|
+
name: "amount",
|
|
641
2036
|
internalType: "uint256",
|
|
642
2037
|
type: "uint256",
|
|
643
2038
|
indexed: false
|
|
644
2039
|
},
|
|
645
2040
|
{
|
|
646
|
-
name: "
|
|
2041
|
+
name: "senderBalance",
|
|
647
2042
|
internalType: "uint256",
|
|
648
2043
|
type: "uint256",
|
|
649
2044
|
indexed: false
|
|
650
2045
|
},
|
|
651
2046
|
{
|
|
652
|
-
name: "
|
|
2047
|
+
name: "recipientBalance",
|
|
653
2048
|
internalType: "uint256",
|
|
654
2049
|
type: "uint256",
|
|
655
2050
|
indexed: false
|
|
656
2051
|
}
|
|
657
2052
|
],
|
|
658
|
-
name: "
|
|
2053
|
+
name: "TokensTransferred"
|
|
659
2054
|
},
|
|
660
2055
|
{
|
|
661
2056
|
type: "event",
|
|
662
2057
|
anonymous: false,
|
|
663
2058
|
inputs: [
|
|
2059
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
2060
|
+
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
664
2061
|
{
|
|
665
|
-
name: "
|
|
666
|
-
internalType: "
|
|
667
|
-
type: "
|
|
668
|
-
indexed:
|
|
2062
|
+
name: "value",
|
|
2063
|
+
internalType: "uint256",
|
|
2064
|
+
type: "uint256",
|
|
2065
|
+
indexed: false
|
|
669
2066
|
}
|
|
670
2067
|
],
|
|
671
|
-
name: "
|
|
2068
|
+
name: "Transfer"
|
|
672
2069
|
},
|
|
673
2070
|
{
|
|
674
|
-
type: "
|
|
675
|
-
anonymous: false,
|
|
2071
|
+
type: "error",
|
|
676
2072
|
inputs: [
|
|
677
|
-
{
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
type: "bytes32",
|
|
681
|
-
indexed: false
|
|
682
|
-
},
|
|
683
|
-
{ name: "version", internalType: "uint8", type: "uint8", indexed: false }
|
|
2073
|
+
{ name: "spender", internalType: "address", type: "address" },
|
|
2074
|
+
{ name: "allowance", internalType: "uint256", type: "uint256" },
|
|
2075
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
684
2076
|
],
|
|
685
|
-
name: "
|
|
2077
|
+
name: "ERC20InsufficientAllowance"
|
|
686
2078
|
},
|
|
687
2079
|
{
|
|
688
|
-
type: "
|
|
689
|
-
anonymous: false,
|
|
2080
|
+
type: "error",
|
|
690
2081
|
inputs: [
|
|
691
|
-
{
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
type: "address",
|
|
695
|
-
indexed: false
|
|
696
|
-
},
|
|
697
|
-
{
|
|
698
|
-
name: "pairedToken",
|
|
699
|
-
internalType: "address",
|
|
700
|
-
type: "address",
|
|
701
|
-
indexed: false
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
name: "tokensToMigrate",
|
|
705
|
-
internalType: "uint256",
|
|
706
|
-
type: "uint256",
|
|
707
|
-
indexed: false
|
|
708
|
-
},
|
|
709
|
-
{
|
|
710
|
-
name: "tokensToBurn",
|
|
711
|
-
internalType: "uint256",
|
|
712
|
-
type: "uint256",
|
|
713
|
-
indexed: false
|
|
714
|
-
},
|
|
715
|
-
{
|
|
716
|
-
name: "collateralAmount",
|
|
717
|
-
internalType: "uint256",
|
|
718
|
-
type: "uint256",
|
|
719
|
-
indexed: false
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
name: "positionId",
|
|
723
|
-
internalType: "uint256",
|
|
724
|
-
type: "uint256",
|
|
725
|
-
indexed: false
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
name: "poolkey",
|
|
729
|
-
internalType: "struct PoolKey",
|
|
730
|
-
type: "tuple",
|
|
731
|
-
components: [
|
|
732
|
-
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
733
|
-
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
734
|
-
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
735
|
-
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
736
|
-
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
737
|
-
],
|
|
738
|
-
indexed: false
|
|
739
|
-
}
|
|
2082
|
+
{ name: "sender", internalType: "address", type: "address" },
|
|
2083
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
2084
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
740
2085
|
],
|
|
741
|
-
name: "
|
|
2086
|
+
name: "ERC20InsufficientBalance"
|
|
742
2087
|
},
|
|
743
2088
|
{
|
|
744
2089
|
type: "error",
|
|
745
|
-
inputs: [{ name: "
|
|
746
|
-
name: "
|
|
2090
|
+
inputs: [{ name: "approver", internalType: "address", type: "address" }],
|
|
2091
|
+
name: "ERC20InvalidApprover"
|
|
747
2092
|
},
|
|
748
|
-
{ type: "error", inputs: [], name: "DexTreasuryZeroValue" },
|
|
749
2093
|
{
|
|
750
2094
|
type: "error",
|
|
751
|
-
inputs: [
|
|
752
|
-
|
|
753
|
-
],
|
|
754
|
-
name: "ERC1967InvalidImplementation"
|
|
2095
|
+
inputs: [{ name: "receiver", internalType: "address", type: "address" }],
|
|
2096
|
+
name: "ERC20InvalidReceiver"
|
|
755
2097
|
},
|
|
756
|
-
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
757
|
-
{ type: "error", inputs: [], name: "FailedCall" },
|
|
758
|
-
{ type: "error", inputs: [], name: "FailedDeployment" },
|
|
759
|
-
{ type: "error", inputs: [], name: "FailedToSendETH" },
|
|
760
|
-
{ type: "error", inputs: [], name: "FeeBPSCheckFailed" },
|
|
761
2098
|
{
|
|
762
2099
|
type: "error",
|
|
763
|
-
inputs: [
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
2100
|
+
inputs: [{ name: "sender", internalType: "address", type: "address" }],
|
|
2101
|
+
name: "ERC20InvalidSender"
|
|
2102
|
+
},
|
|
2103
|
+
{
|
|
2104
|
+
type: "error",
|
|
2105
|
+
inputs: [{ name: "spender", internalType: "address", type: "address" }],
|
|
2106
|
+
name: "ERC20InvalidSpender"
|
|
768
2107
|
},
|
|
769
2108
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
770
|
-
{ type: "error", inputs: [], name: "InvalidNonce" },
|
|
771
|
-
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
772
|
-
{ type: "error", inputs: [], name: "InvalidV4Contracts" },
|
|
773
|
-
{ type: "error", inputs: [], name: "McLowerLimitGreaterThanUpperLimit" },
|
|
774
|
-
{ type: "error", inputs: [], name: "McLowerLimitZeroValue" },
|
|
775
|
-
{ type: "error", inputs: [], name: "McUpperLimitZeroValue" },
|
|
776
|
-
{ type: "error", inputs: [], name: "MigrationFeeTooHigh" },
|
|
777
|
-
{ type: "error", inputs: [], name: "NotBasememeToken" },
|
|
778
2109
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
779
|
-
{ type: "error", inputs: [], name: "NotReadyForMigration" },
|
|
780
2110
|
{
|
|
781
2111
|
type: "error",
|
|
782
2112
|
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
@@ -787,224 +2117,250 @@ var basememeFactoryImplABI = [
|
|
|
787
2117
|
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
788
2118
|
name: "OwnableUnauthorizedAccount"
|
|
789
2119
|
},
|
|
790
|
-
{ type: "error", inputs: [], name: "
|
|
791
|
-
{ type: "error", inputs: [], name: "
|
|
792
|
-
{ type: "error", inputs: [], name: "TokensMigrationThresholdZeroValue" },
|
|
793
|
-
{ type: "error", inputs: [], name: "TotalSupplyWrongValue" },
|
|
794
|
-
{ type: "error", inputs: [], name: "TotalSupplyZeroValue" },
|
|
795
|
-
{ type: "error", inputs: [], name: "TreasuryZeroValue" },
|
|
796
|
-
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
797
|
-
{
|
|
798
|
-
type: "error",
|
|
799
|
-
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
800
|
-
name: "UUPSUnsupportedProxiableUUID"
|
|
801
|
-
},
|
|
802
|
-
{ type: "error", inputs: [], name: "V4ConfigNotSet" },
|
|
803
|
-
{ type: "error", inputs: [], name: "VirtualCollateralReservesZeroValue" },
|
|
804
|
-
{ type: "error", inputs: [], name: "VirtualTokenReservesZeroValue" }
|
|
2120
|
+
{ type: "error", inputs: [], name: "TransfersControlled" },
|
|
2121
|
+
{ type: "error", inputs: [], name: "TransfersRestricted" }
|
|
805
2122
|
];
|
|
806
|
-
var
|
|
807
|
-
8453: "
|
|
808
|
-
84532: "
|
|
2123
|
+
var basememeTokenAddress = {
|
|
2124
|
+
8453: "0xBbD5C86CcFAD9914B269647f80aD829D2cfA406e",
|
|
2125
|
+
84532: "0x0DCCB05a4FF9C97370Ce954EA4ac1D1d9330408B"
|
|
809
2126
|
};
|
|
810
|
-
var
|
|
811
|
-
address:
|
|
812
|
-
abi:
|
|
2127
|
+
var basememeTokenConfig = {
|
|
2128
|
+
address: basememeTokenAddress,
|
|
2129
|
+
abi: basememeTokenABI
|
|
813
2130
|
};
|
|
814
|
-
var
|
|
2131
|
+
var basememeTokenSwapABI = [
|
|
815
2132
|
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
2133
|
+
{ stateMutability: "payable", type: "receive" },
|
|
816
2134
|
{
|
|
817
2135
|
stateMutability: "view",
|
|
818
2136
|
type: "function",
|
|
819
|
-
inputs: [
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
],
|
|
823
|
-
name: "allowance",
|
|
824
|
-
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
2137
|
+
inputs: [],
|
|
2138
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
2139
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
825
2140
|
},
|
|
826
2141
|
{
|
|
827
|
-
stateMutability: "
|
|
2142
|
+
stateMutability: "view",
|
|
828
2143
|
type: "function",
|
|
829
2144
|
inputs: [
|
|
830
|
-
{ name: "
|
|
831
|
-
{ name: "value", internalType: "uint256", type: "uint256" }
|
|
2145
|
+
{ name: "collateralToken", internalType: "address", type: "address" }
|
|
832
2146
|
],
|
|
833
|
-
name: "
|
|
834
|
-
outputs: [
|
|
2147
|
+
name: "getCollateralDex",
|
|
2148
|
+
outputs: [
|
|
2149
|
+
{ name: "dexId", internalType: "uint8", type: "uint8" },
|
|
2150
|
+
{ name: "enabled", internalType: "bool", type: "bool" }
|
|
2151
|
+
]
|
|
835
2152
|
},
|
|
836
2153
|
{
|
|
837
2154
|
stateMutability: "view",
|
|
838
2155
|
type: "function",
|
|
839
|
-
inputs: [
|
|
840
|
-
|
|
841
|
-
|
|
2156
|
+
inputs: [
|
|
2157
|
+
{ name: "collateralToken", internalType: "address", type: "address" }
|
|
2158
|
+
],
|
|
2159
|
+
name: "getCollateralV2Paths",
|
|
2160
|
+
outputs: [
|
|
2161
|
+
{ name: "wethToCollateral", internalType: "bytes", type: "bytes" },
|
|
2162
|
+
{ name: "collateralToWeth", internalType: "bytes", type: "bytes" }
|
|
2163
|
+
]
|
|
842
2164
|
},
|
|
843
2165
|
{
|
|
844
|
-
stateMutability: "
|
|
2166
|
+
stateMutability: "view",
|
|
845
2167
|
type: "function",
|
|
846
|
-
inputs: [
|
|
847
|
-
|
|
848
|
-
|
|
2168
|
+
inputs: [
|
|
2169
|
+
{ name: "collateralToken", internalType: "address", type: "address" }
|
|
2170
|
+
],
|
|
2171
|
+
name: "getCollateralV3Paths",
|
|
2172
|
+
outputs: [
|
|
2173
|
+
{ name: "wethToCollateral", internalType: "bytes", type: "bytes" },
|
|
2174
|
+
{ name: "collateralToWeth", internalType: "bytes", type: "bytes" }
|
|
2175
|
+
]
|
|
849
2176
|
},
|
|
850
2177
|
{
|
|
851
|
-
stateMutability: "
|
|
2178
|
+
stateMutability: "view",
|
|
852
2179
|
type: "function",
|
|
853
|
-
inputs: [
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
2180
|
+
inputs: [{ name: "dexId", internalType: "uint8", type: "uint8" }],
|
|
2181
|
+
name: "getDexConfig",
|
|
2182
|
+
outputs: [
|
|
2183
|
+
{
|
|
2184
|
+
name: "dexType",
|
|
2185
|
+
internalType: "enum IBasememeTokenSwap.DexType",
|
|
2186
|
+
type: "uint8"
|
|
2187
|
+
},
|
|
2188
|
+
{ name: "enabled", internalType: "bool", type: "bool" },
|
|
2189
|
+
{ name: "router", internalType: "address", type: "address" },
|
|
2190
|
+
{ name: "quoter", internalType: "address", type: "address" },
|
|
2191
|
+
{ name: "quoterKind", internalType: "uint8", type: "uint8" }
|
|
2192
|
+
]
|
|
859
2193
|
},
|
|
860
2194
|
{
|
|
861
2195
|
stateMutability: "view",
|
|
862
2196
|
type: "function",
|
|
863
|
-
inputs: [
|
|
864
|
-
|
|
865
|
-
|
|
2197
|
+
inputs: [
|
|
2198
|
+
{ name: "collateralToken", internalType: "address", type: "address" }
|
|
2199
|
+
],
|
|
2200
|
+
name: "getRouteDexType",
|
|
2201
|
+
outputs: [
|
|
2202
|
+
{
|
|
2203
|
+
name: "",
|
|
2204
|
+
internalType: "enum IBasememeTokenSwap.DexType",
|
|
2205
|
+
type: "uint8"
|
|
2206
|
+
}
|
|
2207
|
+
]
|
|
866
2208
|
},
|
|
867
2209
|
{
|
|
868
|
-
stateMutability: "
|
|
2210
|
+
stateMutability: "nonpayable",
|
|
869
2211
|
type: "function",
|
|
870
|
-
inputs: [
|
|
871
|
-
|
|
872
|
-
|
|
2212
|
+
inputs: [
|
|
2213
|
+
{ name: "owner_", internalType: "address", type: "address" },
|
|
2214
|
+
{ name: "weth_", internalType: "address", type: "address" }
|
|
2215
|
+
],
|
|
2216
|
+
name: "initialize",
|
|
2217
|
+
outputs: []
|
|
873
2218
|
},
|
|
874
2219
|
{
|
|
875
2220
|
stateMutability: "view",
|
|
876
2221
|
type: "function",
|
|
877
2222
|
inputs: [],
|
|
878
|
-
name: "
|
|
879
|
-
outputs: [{ name: "", internalType: "
|
|
2223
|
+
name: "owner",
|
|
2224
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
880
2225
|
},
|
|
881
2226
|
{
|
|
882
2227
|
stateMutability: "view",
|
|
883
2228
|
type: "function",
|
|
884
2229
|
inputs: [],
|
|
885
|
-
name: "
|
|
886
|
-
outputs: [{ name: "", internalType: "
|
|
2230
|
+
name: "proxiableUUID",
|
|
2231
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
887
2232
|
},
|
|
888
2233
|
{
|
|
889
2234
|
stateMutability: "nonpayable",
|
|
890
2235
|
type: "function",
|
|
891
2236
|
inputs: [
|
|
892
|
-
{
|
|
893
|
-
|
|
894
|
-
internalType: "struct IBasememeToken.ConstructorParams",
|
|
895
|
-
type: "tuple",
|
|
896
|
-
components: [
|
|
897
|
-
{ name: "name", internalType: "string", type: "string" },
|
|
898
|
-
{ name: "symbol", internalType: "string", type: "string" },
|
|
899
|
-
{ name: "tokenURI", internalType: "string", type: "string" },
|
|
900
|
-
{ name: "factory", internalType: "address", type: "address" },
|
|
901
|
-
{ name: "bondingCurve", internalType: "address", type: "address" },
|
|
902
|
-
{
|
|
903
|
-
name: "initialTokenSupply",
|
|
904
|
-
internalType: "uint256",
|
|
905
|
-
type: "uint256"
|
|
906
|
-
}
|
|
907
|
-
]
|
|
908
|
-
}
|
|
2237
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2238
|
+
{ name: "amountInCollateral", internalType: "uint256", type: "uint256" }
|
|
909
2239
|
],
|
|
910
|
-
name: "
|
|
911
|
-
outputs: []
|
|
2240
|
+
name: "quoteCollateralToEth",
|
|
2241
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
|
|
912
2242
|
},
|
|
913
2243
|
{
|
|
914
|
-
stateMutability: "
|
|
2244
|
+
stateMutability: "nonpayable",
|
|
915
2245
|
type: "function",
|
|
916
|
-
inputs: [
|
|
917
|
-
|
|
918
|
-
|
|
2246
|
+
inputs: [
|
|
2247
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2248
|
+
{ name: "amountInEth", internalType: "uint256", type: "uint256" }
|
|
2249
|
+
],
|
|
2250
|
+
name: "quoteEthToCollateral",
|
|
2251
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
|
|
919
2252
|
},
|
|
920
2253
|
{
|
|
921
|
-
stateMutability: "
|
|
2254
|
+
stateMutability: "nonpayable",
|
|
922
2255
|
type: "function",
|
|
923
2256
|
inputs: [],
|
|
924
|
-
name: "
|
|
925
|
-
outputs: [
|
|
2257
|
+
name: "renounceOwnership",
|
|
2258
|
+
outputs: []
|
|
926
2259
|
},
|
|
927
2260
|
{
|
|
928
2261
|
stateMutability: "nonpayable",
|
|
929
2262
|
type: "function",
|
|
930
|
-
inputs: [
|
|
931
|
-
|
|
2263
|
+
inputs: [
|
|
2264
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2265
|
+
{ name: "dexId", internalType: "uint8", type: "uint8" },
|
|
2266
|
+
{ name: "enabled", internalType: "bool", type: "bool" },
|
|
2267
|
+
{ name: "v2PathWethToCollateral", internalType: "bytes", type: "bytes" },
|
|
2268
|
+
{ name: "v2PathCollateralToWeth", internalType: "bytes", type: "bytes" },
|
|
2269
|
+
{ name: "v3PathWethToCollateral", internalType: "bytes", type: "bytes" },
|
|
2270
|
+
{ name: "v3PathCollateralToWeth", internalType: "bytes", type: "bytes" }
|
|
2271
|
+
],
|
|
2272
|
+
name: "setCollateralConfig",
|
|
932
2273
|
outputs: []
|
|
933
2274
|
},
|
|
934
2275
|
{
|
|
935
2276
|
stateMutability: "nonpayable",
|
|
936
2277
|
type: "function",
|
|
937
2278
|
inputs: [
|
|
938
|
-
{
|
|
939
|
-
|
|
940
|
-
internalType: "enum IBasememeToken.TransferMode",
|
|
941
|
-
type: "uint8"
|
|
942
|
-
}
|
|
2279
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2280
|
+
{ name: "dexId", internalType: "uint8", type: "uint8" }
|
|
943
2281
|
],
|
|
944
|
-
name: "
|
|
2282
|
+
name: "setCollateralDex",
|
|
945
2283
|
outputs: []
|
|
946
2284
|
},
|
|
947
2285
|
{
|
|
948
|
-
stateMutability: "
|
|
2286
|
+
stateMutability: "nonpayable",
|
|
949
2287
|
type: "function",
|
|
950
|
-
inputs: [
|
|
951
|
-
|
|
952
|
-
|
|
2288
|
+
inputs: [
|
|
2289
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2290
|
+
{ name: "enabled", internalType: "bool", type: "bool" }
|
|
2291
|
+
],
|
|
2292
|
+
name: "setCollateralEnabled",
|
|
2293
|
+
outputs: []
|
|
953
2294
|
},
|
|
954
2295
|
{
|
|
955
|
-
stateMutability: "
|
|
2296
|
+
stateMutability: "nonpayable",
|
|
956
2297
|
type: "function",
|
|
957
|
-
inputs: [
|
|
958
|
-
|
|
959
|
-
|
|
2298
|
+
inputs: [
|
|
2299
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2300
|
+
{ name: "wethToCollateral", internalType: "bytes", type: "bytes" },
|
|
2301
|
+
{ name: "collateralToWeth", internalType: "bytes", type: "bytes" }
|
|
2302
|
+
],
|
|
2303
|
+
name: "setCollateralV2Paths",
|
|
2304
|
+
outputs: []
|
|
960
2305
|
},
|
|
961
2306
|
{
|
|
962
|
-
stateMutability: "
|
|
2307
|
+
stateMutability: "nonpayable",
|
|
963
2308
|
type: "function",
|
|
964
|
-
inputs: [
|
|
965
|
-
|
|
966
|
-
|
|
2309
|
+
inputs: [
|
|
2310
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2311
|
+
{ name: "wethToCollateral", internalType: "bytes", type: "bytes" },
|
|
2312
|
+
{ name: "collateralToWeth", internalType: "bytes", type: "bytes" }
|
|
2313
|
+
],
|
|
2314
|
+
name: "setCollateralV3Paths",
|
|
2315
|
+
outputs: []
|
|
967
2316
|
},
|
|
968
2317
|
{
|
|
969
|
-
stateMutability: "
|
|
2318
|
+
stateMutability: "nonpayable",
|
|
970
2319
|
type: "function",
|
|
971
|
-
inputs: [
|
|
972
|
-
|
|
973
|
-
|
|
2320
|
+
inputs: [
|
|
2321
|
+
{ name: "dexId", internalType: "uint8", type: "uint8" },
|
|
2322
|
+
{ name: "router", internalType: "address", type: "address" },
|
|
2323
|
+
{ name: "enabled", internalType: "bool", type: "bool" }
|
|
2324
|
+
],
|
|
2325
|
+
name: "setDexConfigV2",
|
|
2326
|
+
outputs: []
|
|
974
2327
|
},
|
|
975
2328
|
{
|
|
976
2329
|
stateMutability: "nonpayable",
|
|
977
2330
|
type: "function",
|
|
978
2331
|
inputs: [
|
|
979
|
-
{ name: "
|
|
980
|
-
{ name: "
|
|
2332
|
+
{ name: "dexId", internalType: "uint8", type: "uint8" },
|
|
2333
|
+
{ name: "swapRouter", internalType: "address", type: "address" },
|
|
2334
|
+
{ name: "quoter", internalType: "address", type: "address" },
|
|
2335
|
+
{ name: "enabled", internalType: "bool", type: "bool" },
|
|
2336
|
+
{ name: "quoterKind", internalType: "uint8", type: "uint8" }
|
|
981
2337
|
],
|
|
982
|
-
name: "
|
|
983
|
-
outputs: [
|
|
2338
|
+
name: "setDexConfigV3",
|
|
2339
|
+
outputs: []
|
|
984
2340
|
},
|
|
985
2341
|
{
|
|
986
2342
|
stateMutability: "nonpayable",
|
|
987
2343
|
type: "function",
|
|
988
2344
|
inputs: [
|
|
989
|
-
{ name: "
|
|
990
|
-
{ name: "
|
|
991
|
-
{ name: "
|
|
2345
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2346
|
+
{ name: "amountIn", internalType: "uint256", type: "uint256" },
|
|
2347
|
+
{ name: "amountOutMin", internalType: "uint256", type: "uint256" },
|
|
2348
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" },
|
|
2349
|
+
{ name: "recipient", internalType: "address", type: "address" }
|
|
992
2350
|
],
|
|
993
|
-
name: "
|
|
994
|
-
outputs: [{ name: "", internalType: "
|
|
2351
|
+
name: "swapExactCollateralToEth",
|
|
2352
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
|
|
995
2353
|
},
|
|
996
2354
|
{
|
|
997
|
-
stateMutability: "
|
|
2355
|
+
stateMutability: "payable",
|
|
998
2356
|
type: "function",
|
|
999
|
-
inputs: [
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
{
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
}
|
|
1007
|
-
]
|
|
2357
|
+
inputs: [
|
|
2358
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2359
|
+
{ name: "amountOutMin", internalType: "uint256", type: "uint256" },
|
|
2360
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" }
|
|
2361
|
+
],
|
|
2362
|
+
name: "swapExactEthToCollateral",
|
|
2363
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }]
|
|
1008
2364
|
},
|
|
1009
2365
|
{
|
|
1010
2366
|
stateMutability: "nonpayable",
|
|
@@ -1013,32 +2369,100 @@ var basememeTokenABI = [
|
|
|
1013
2369
|
name: "transferOwnership",
|
|
1014
2370
|
outputs: []
|
|
1015
2371
|
},
|
|
2372
|
+
{
|
|
2373
|
+
stateMutability: "payable",
|
|
2374
|
+
type: "function",
|
|
2375
|
+
inputs: [
|
|
2376
|
+
{ name: "newImplementation", internalType: "address", type: "address" },
|
|
2377
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
2378
|
+
],
|
|
2379
|
+
name: "upgradeToAndCall",
|
|
2380
|
+
outputs: []
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
stateMutability: "view",
|
|
2384
|
+
type: "function",
|
|
2385
|
+
inputs: [],
|
|
2386
|
+
name: "weth",
|
|
2387
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
2388
|
+
},
|
|
1016
2389
|
{
|
|
1017
2390
|
type: "event",
|
|
1018
2391
|
anonymous: false,
|
|
1019
2392
|
inputs: [
|
|
1020
2393
|
{
|
|
1021
|
-
name: "
|
|
2394
|
+
name: "collateralToken",
|
|
1022
2395
|
internalType: "address",
|
|
1023
2396
|
type: "address",
|
|
1024
2397
|
indexed: true
|
|
1025
2398
|
},
|
|
2399
|
+
{ name: "dexId", internalType: "uint8", type: "uint8", indexed: true }
|
|
2400
|
+
],
|
|
2401
|
+
name: "CollateralDexSet"
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
type: "event",
|
|
2405
|
+
anonymous: false,
|
|
2406
|
+
inputs: [
|
|
1026
2407
|
{
|
|
1027
|
-
name: "
|
|
2408
|
+
name: "collateralToken",
|
|
1028
2409
|
internalType: "address",
|
|
1029
2410
|
type: "address",
|
|
1030
2411
|
indexed: true
|
|
1031
2412
|
},
|
|
2413
|
+
{ name: "enabled", internalType: "bool", type: "bool", indexed: false }
|
|
2414
|
+
],
|
|
2415
|
+
name: "CollateralEnabled"
|
|
2416
|
+
},
|
|
2417
|
+
{
|
|
2418
|
+
type: "event",
|
|
2419
|
+
anonymous: false,
|
|
2420
|
+
inputs: [
|
|
1032
2421
|
{
|
|
1033
|
-
name: "
|
|
1034
|
-
internalType: "
|
|
1035
|
-
type: "
|
|
2422
|
+
name: "collateralToken",
|
|
2423
|
+
internalType: "address",
|
|
2424
|
+
type: "address",
|
|
2425
|
+
indexed: true
|
|
2426
|
+
}
|
|
2427
|
+
],
|
|
2428
|
+
name: "CollateralV2PathsSet"
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
type: "event",
|
|
2432
|
+
anonymous: false,
|
|
2433
|
+
inputs: [
|
|
2434
|
+
{
|
|
2435
|
+
name: "collateralToken",
|
|
2436
|
+
internalType: "address",
|
|
2437
|
+
type: "address",
|
|
2438
|
+
indexed: true
|
|
2439
|
+
}
|
|
2440
|
+
],
|
|
2441
|
+
name: "CollateralV3PathsSet"
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
type: "event",
|
|
2445
|
+
anonymous: false,
|
|
2446
|
+
inputs: [
|
|
2447
|
+
{ name: "dexId", internalType: "uint8", type: "uint8", indexed: true },
|
|
2448
|
+
{
|
|
2449
|
+
name: "dexType",
|
|
2450
|
+
internalType: "enum IBasememeTokenSwap.DexType",
|
|
2451
|
+
type: "uint8",
|
|
1036
2452
|
indexed: false
|
|
1037
2453
|
}
|
|
1038
2454
|
],
|
|
1039
|
-
name: "
|
|
2455
|
+
name: "DexConfigured"
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
type: "event",
|
|
2459
|
+
anonymous: false,
|
|
2460
|
+
inputs: [
|
|
2461
|
+
{ name: "dexId", internalType: "uint8", type: "uint8", indexed: true },
|
|
2462
|
+
{ name: "enabled", internalType: "bool", type: "bool", indexed: false }
|
|
2463
|
+
],
|
|
2464
|
+
name: "DexEnabled"
|
|
1040
2465
|
},
|
|
1041
|
-
{ type: "event", anonymous: false, inputs: [], name: "ContractURIUpdated" },
|
|
1042
2466
|
{
|
|
1043
2467
|
type: "event",
|
|
1044
2468
|
anonymous: false,
|
|
@@ -1076,92 +2500,47 @@ var basememeTokenABI = [
|
|
|
1076
2500
|
anonymous: false,
|
|
1077
2501
|
inputs: [
|
|
1078
2502
|
{
|
|
1079
|
-
name: "
|
|
1080
|
-
internalType: "address",
|
|
1081
|
-
type: "address",
|
|
1082
|
-
indexed: true
|
|
1083
|
-
},
|
|
1084
|
-
{
|
|
1085
|
-
name: "recipient",
|
|
2503
|
+
name: "implementation",
|
|
1086
2504
|
internalType: "address",
|
|
1087
2505
|
type: "address",
|
|
1088
2506
|
indexed: true
|
|
1089
|
-
},
|
|
1090
|
-
{
|
|
1091
|
-
name: "amount",
|
|
1092
|
-
internalType: "uint256",
|
|
1093
|
-
type: "uint256",
|
|
1094
|
-
indexed: false
|
|
1095
|
-
},
|
|
1096
|
-
{
|
|
1097
|
-
name: "senderBalance",
|
|
1098
|
-
internalType: "uint256",
|
|
1099
|
-
type: "uint256",
|
|
1100
|
-
indexed: false
|
|
1101
|
-
},
|
|
1102
|
-
{
|
|
1103
|
-
name: "recipientBalance",
|
|
1104
|
-
internalType: "uint256",
|
|
1105
|
-
type: "uint256",
|
|
1106
|
-
indexed: false
|
|
1107
|
-
}
|
|
1108
|
-
],
|
|
1109
|
-
name: "TokensTransferred"
|
|
1110
|
-
},
|
|
1111
|
-
{
|
|
1112
|
-
type: "event",
|
|
1113
|
-
anonymous: false,
|
|
1114
|
-
inputs: [
|
|
1115
|
-
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
1116
|
-
{ name: "to", internalType: "address", type: "address", indexed: true },
|
|
1117
|
-
{
|
|
1118
|
-
name: "value",
|
|
1119
|
-
internalType: "uint256",
|
|
1120
|
-
type: "uint256",
|
|
1121
|
-
indexed: false
|
|
1122
2507
|
}
|
|
1123
2508
|
],
|
|
1124
|
-
name: "
|
|
2509
|
+
name: "Upgraded"
|
|
1125
2510
|
},
|
|
1126
2511
|
{
|
|
1127
2512
|
type: "error",
|
|
1128
|
-
inputs: [
|
|
1129
|
-
|
|
1130
|
-
{ name: "allowance", internalType: "uint256", type: "uint256" },
|
|
1131
|
-
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
1132
|
-
],
|
|
1133
|
-
name: "ERC20InsufficientAllowance"
|
|
2513
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
2514
|
+
name: "AddressEmptyCode"
|
|
1134
2515
|
},
|
|
2516
|
+
{ type: "error", inputs: [], name: "CollateralMustBeDisabled" },
|
|
2517
|
+
{ type: "error", inputs: [], name: "DeadlineExpired" },
|
|
2518
|
+
{ type: "error", inputs: [], name: "DexDisabled" },
|
|
2519
|
+
{ type: "error", inputs: [], name: "DexNotConfigured" },
|
|
2520
|
+
{ type: "error", inputs: [], name: "DexTypeImmutable" },
|
|
1135
2521
|
{
|
|
1136
2522
|
type: "error",
|
|
1137
2523
|
inputs: [
|
|
1138
|
-
{ name: "
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
],
|
|
1142
|
-
name: "ERC20InsufficientBalance"
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
type: "error",
|
|
1146
|
-
inputs: [{ name: "approver", internalType: "address", type: "address" }],
|
|
1147
|
-
name: "ERC20InvalidApprover"
|
|
1148
|
-
},
|
|
1149
|
-
{
|
|
1150
|
-
type: "error",
|
|
1151
|
-
inputs: [{ name: "receiver", internalType: "address", type: "address" }],
|
|
1152
|
-
name: "ERC20InvalidReceiver"
|
|
1153
|
-
},
|
|
1154
|
-
{
|
|
1155
|
-
type: "error",
|
|
1156
|
-
inputs: [{ name: "sender", internalType: "address", type: "address" }],
|
|
1157
|
-
name: "ERC20InvalidSender"
|
|
2524
|
+
{ name: "implementation", internalType: "address", type: "address" }
|
|
2525
|
+
],
|
|
2526
|
+
name: "ERC1967InvalidImplementation"
|
|
1158
2527
|
},
|
|
2528
|
+
{ type: "error", inputs: [], name: "ERC1967NonPayable" },
|
|
2529
|
+
{ type: "error", inputs: [], name: "EthAmountMismatch" },
|
|
2530
|
+
{ type: "error", inputs: [], name: "FailedCall" },
|
|
1159
2531
|
{
|
|
1160
2532
|
type: "error",
|
|
1161
|
-
inputs: [
|
|
1162
|
-
|
|
2533
|
+
inputs: [
|
|
2534
|
+
{ name: "balance", internalType: "uint256", type: "uint256" },
|
|
2535
|
+
{ name: "needed", internalType: "uint256", type: "uint256" }
|
|
2536
|
+
],
|
|
2537
|
+
name: "InsufficientBalance"
|
|
1163
2538
|
},
|
|
2539
|
+
{ type: "error", inputs: [], name: "InvalidDexId" },
|
|
1164
2540
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
2541
|
+
{ type: "error", inputs: [], name: "InvalidPath" },
|
|
2542
|
+
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
2543
|
+
{ type: "error", inputs: [], name: "InvalidRouteConfig" },
|
|
1165
2544
|
{ type: "error", inputs: [], name: "NotInitializing" },
|
|
1166
2545
|
{
|
|
1167
2546
|
type: "error",
|
|
@@ -1173,16 +2552,29 @@ var basememeTokenABI = [
|
|
|
1173
2552
|
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
1174
2553
|
name: "OwnableUnauthorizedAccount"
|
|
1175
2554
|
},
|
|
1176
|
-
{ type: "error", inputs: [], name: "
|
|
1177
|
-
{ type: "error", inputs: [], name: "
|
|
2555
|
+
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
2556
|
+
{ type: "error", inputs: [], name: "RouteDisabled" },
|
|
2557
|
+
{ type: "error", inputs: [], name: "RouteNotConfigured" },
|
|
2558
|
+
{
|
|
2559
|
+
type: "error",
|
|
2560
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
2561
|
+
name: "SafeERC20FailedOperation"
|
|
2562
|
+
},
|
|
2563
|
+
{ type: "error", inputs: [], name: "UUPSUnauthorizedCallContext" },
|
|
2564
|
+
{
|
|
2565
|
+
type: "error",
|
|
2566
|
+
inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
|
|
2567
|
+
name: "UUPSUnsupportedProxiableUUID"
|
|
2568
|
+
},
|
|
2569
|
+
{ type: "error", inputs: [], name: "UnsupportedDexType" }
|
|
1178
2570
|
];
|
|
1179
|
-
var
|
|
1180
|
-
8453: "
|
|
1181
|
-
84532: "
|
|
2571
|
+
var basememeTokenSwapAddress = {
|
|
2572
|
+
8453: "0x2c8E47a09196505Dbc96229510A4B9ff91a8534b",
|
|
2573
|
+
84532: "0x08b523EF90E056778EF8c0D2F68ff7Df88fCcbB4"
|
|
1182
2574
|
};
|
|
1183
|
-
var
|
|
1184
|
-
address:
|
|
1185
|
-
abi:
|
|
2575
|
+
var basememeTokenSwapConfig = {
|
|
2576
|
+
address: basememeTokenSwapAddress,
|
|
2577
|
+
abi: basememeTokenSwapABI
|
|
1186
2578
|
};
|
|
1187
2579
|
var bondingCurveABI = [
|
|
1188
2580
|
{
|
|
@@ -1195,30 +2587,7 @@ var bondingCurveABI = [
|
|
|
1195
2587
|
type: "address"
|
|
1196
2588
|
},
|
|
1197
2589
|
{ name: "_protocolRewards", internalType: "address", type: "address" },
|
|
1198
|
-
{ name: "_initialTokenSupply", internalType: "uint256", type: "uint256" },
|
|
1199
|
-
{
|
|
1200
|
-
name: "_virtualCollateralReservesInitial",
|
|
1201
|
-
internalType: "uint256",
|
|
1202
|
-
type: "uint256"
|
|
1203
|
-
},
|
|
1204
|
-
{
|
|
1205
|
-
name: "_virtualTokenReservesInitial",
|
|
1206
|
-
internalType: "uint256",
|
|
1207
|
-
type: "uint256"
|
|
1208
|
-
},
|
|
1209
|
-
{ name: "_feeBasisPoints", internalType: "uint256", type: "uint256" },
|
|
1210
|
-
{ name: "_fixedMigrationFee", internalType: "uint256", type: "uint256" },
|
|
1211
|
-
{ name: "_poolCreationFee", internalType: "uint256", type: "uint256" },
|
|
1212
|
-
{ name: "_firstBuyFee", internalType: "uint256", type: "uint256" },
|
|
1213
|
-
{ name: "_mcLowerLimit", internalType: "uint256", type: "uint256" },
|
|
1214
|
-
{ name: "_mcUpperLimit", internalType: "uint256", type: "uint256" },
|
|
1215
|
-
{
|
|
1216
|
-
name: "_tokensMigrationThreshold",
|
|
1217
|
-
internalType: "uint256",
|
|
1218
|
-
type: "uint256"
|
|
1219
|
-
},
|
|
1220
2590
|
{ name: "_weth", internalType: "address", type: "address" },
|
|
1221
|
-
{ name: "_v4LpFee", internalType: "uint24", type: "uint24" },
|
|
1222
2591
|
{
|
|
1223
2592
|
name: "_tokenImplementation",
|
|
1224
2593
|
internalType: "address",
|
|
@@ -1308,6 +2677,16 @@ var bondingCurveABI = [
|
|
|
1308
2677
|
name: "V4_MAX_POSITIONS",
|
|
1309
2678
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1310
2679
|
},
|
|
2680
|
+
{
|
|
2681
|
+
stateMutability: "nonpayable",
|
|
2682
|
+
type: "function",
|
|
2683
|
+
inputs: [
|
|
2684
|
+
{ name: "vault", internalType: "address", type: "address" },
|
|
2685
|
+
{ name: "amount", internalType: "uint256", type: "uint256" }
|
|
2686
|
+
],
|
|
2687
|
+
name: "allocateLockedTokens",
|
|
2688
|
+
outputs: []
|
|
2689
|
+
},
|
|
1311
2690
|
{
|
|
1312
2691
|
stateMutability: "nonpayable",
|
|
1313
2692
|
type: "function",
|
|
@@ -1367,6 +2746,25 @@ var bondingCurveABI = [
|
|
|
1367
2746
|
{ name: "tradeFee", internalType: "uint256", type: "uint256" }
|
|
1368
2747
|
]
|
|
1369
2748
|
},
|
|
2749
|
+
{
|
|
2750
|
+
stateMutability: "payable",
|
|
2751
|
+
type: "function",
|
|
2752
|
+
inputs: [
|
|
2753
|
+
{ name: "_collateralAmountIn", internalType: "uint256", type: "uint256" },
|
|
2754
|
+
{ name: "_amountOutMin", internalType: "uint256", type: "uint256" },
|
|
2755
|
+
{ name: "_tradeReferrer", internalType: "address", type: "address" }
|
|
2756
|
+
],
|
|
2757
|
+
name: "buyExactInWithAmount",
|
|
2758
|
+
outputs: [
|
|
2759
|
+
{
|
|
2760
|
+
name: "collateralToPayWithFee",
|
|
2761
|
+
internalType: "uint256",
|
|
2762
|
+
type: "uint256"
|
|
2763
|
+
},
|
|
2764
|
+
{ name: "tradeFee", internalType: "uint256", type: "uint256" },
|
|
2765
|
+
{ name: "firstFee", internalType: "uint256", type: "uint256" }
|
|
2766
|
+
]
|
|
2767
|
+
},
|
|
1370
2768
|
{
|
|
1371
2769
|
stateMutability: "payable",
|
|
1372
2770
|
type: "function",
|
|
@@ -1390,6 +2788,13 @@ var bondingCurveABI = [
|
|
|
1390
2788
|
{ name: "firstFee", internalType: "uint256", type: "uint256" }
|
|
1391
2789
|
]
|
|
1392
2790
|
},
|
|
2791
|
+
{
|
|
2792
|
+
stateMutability: "view",
|
|
2793
|
+
type: "function",
|
|
2794
|
+
inputs: [],
|
|
2795
|
+
name: "collateralToken",
|
|
2796
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
2797
|
+
},
|
|
1393
2798
|
{
|
|
1394
2799
|
stateMutability: "nonpayable",
|
|
1395
2800
|
type: "function",
|
|
@@ -1538,7 +2943,51 @@ var bondingCurveABI = [
|
|
|
1538
2943
|
inputs: [
|
|
1539
2944
|
{ name: "_platformReferrer", internalType: "address", type: "address" },
|
|
1540
2945
|
{ name: "_payoutRecipient", internalType: "address", type: "address" },
|
|
1541
|
-
{ name: "_token", internalType: "address", type: "address" }
|
|
2946
|
+
{ name: "_token", internalType: "address", type: "address" },
|
|
2947
|
+
{
|
|
2948
|
+
name: "_params",
|
|
2949
|
+
internalType: "struct IBondingCurve.CurveParams",
|
|
2950
|
+
type: "tuple",
|
|
2951
|
+
components: [
|
|
2952
|
+
{
|
|
2953
|
+
name: "initialTokenSupply",
|
|
2954
|
+
internalType: "uint256",
|
|
2955
|
+
type: "uint256"
|
|
2956
|
+
},
|
|
2957
|
+
{
|
|
2958
|
+
name: "virtualCollateralReservesInitial",
|
|
2959
|
+
internalType: "uint256",
|
|
2960
|
+
type: "uint256"
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
name: "virtualTokenReservesInitial",
|
|
2964
|
+
internalType: "uint256",
|
|
2965
|
+
type: "uint256"
|
|
2966
|
+
},
|
|
2967
|
+
{ name: "feeBPS", internalType: "uint256", type: "uint256" },
|
|
2968
|
+
{ name: "mcLowerLimit", internalType: "uint256", type: "uint256" },
|
|
2969
|
+
{ name: "mcUpperLimit", internalType: "uint256", type: "uint256" },
|
|
2970
|
+
{
|
|
2971
|
+
name: "tokensMigrationThreshold",
|
|
2972
|
+
internalType: "uint256",
|
|
2973
|
+
type: "uint256"
|
|
2974
|
+
},
|
|
2975
|
+
{
|
|
2976
|
+
name: "fixedMigrationFee",
|
|
2977
|
+
internalType: "uint256",
|
|
2978
|
+
type: "uint256"
|
|
2979
|
+
},
|
|
2980
|
+
{ name: "poolCreationFee", internalType: "uint256", type: "uint256" },
|
|
2981
|
+
{ name: "firstBuyFee", internalType: "uint256", type: "uint256" },
|
|
2982
|
+
{
|
|
2983
|
+
name: "targetCollectionAmount",
|
|
2984
|
+
internalType: "uint256",
|
|
2985
|
+
type: "uint256"
|
|
2986
|
+
},
|
|
2987
|
+
{ name: "collateralToken", internalType: "address", type: "address" },
|
|
2988
|
+
{ name: "v4LpFee", internalType: "uint24", type: "uint24" }
|
|
2989
|
+
]
|
|
2990
|
+
}
|
|
1542
2991
|
],
|
|
1543
2992
|
name: "initialize",
|
|
1544
2993
|
outputs: []
|
|
@@ -1560,6 +3009,20 @@ var bondingCurveABI = [
|
|
|
1560
3009
|
{ name: "hook", internalType: "address", type: "address" }
|
|
1561
3010
|
]
|
|
1562
3011
|
},
|
|
3012
|
+
{
|
|
3013
|
+
stateMutability: "view",
|
|
3014
|
+
type: "function",
|
|
3015
|
+
inputs: [],
|
|
3016
|
+
name: "lockVault",
|
|
3017
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
3018
|
+
},
|
|
3019
|
+
{
|
|
3020
|
+
stateMutability: "view",
|
|
3021
|
+
type: "function",
|
|
3022
|
+
inputs: [],
|
|
3023
|
+
name: "lockedTokenAmount",
|
|
3024
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3025
|
+
},
|
|
1563
3026
|
{
|
|
1564
3027
|
stateMutability: "view",
|
|
1565
3028
|
type: "function",
|
|
@@ -1697,6 +3160,13 @@ var bondingCurveABI = [
|
|
|
1697
3160
|
name: "sendingToPairForbidden",
|
|
1698
3161
|
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
1699
3162
|
},
|
|
3163
|
+
{
|
|
3164
|
+
stateMutability: "view",
|
|
3165
|
+
type: "function",
|
|
3166
|
+
inputs: [],
|
|
3167
|
+
name: "targetCollectionAmount",
|
|
3168
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3169
|
+
},
|
|
1700
3170
|
{
|
|
1701
3171
|
stateMutability: "view",
|
|
1702
3172
|
type: "function",
|
|
@@ -1788,6 +3258,13 @@ var bondingCurveABI = [
|
|
|
1788
3258
|
name: "virtualCollateralReservesInitial",
|
|
1789
3259
|
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
1790
3260
|
},
|
|
3261
|
+
{
|
|
3262
|
+
stateMutability: "view",
|
|
3263
|
+
type: "function",
|
|
3264
|
+
inputs: [],
|
|
3265
|
+
name: "virtualCollateralReservesTarget",
|
|
3266
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
3267
|
+
},
|
|
1791
3268
|
{
|
|
1792
3269
|
stateMutability: "view",
|
|
1793
3270
|
type: "function",
|
|
@@ -1841,6 +3318,31 @@ var bondingCurveABI = [
|
|
|
1841
3318
|
],
|
|
1842
3319
|
name: "Initialized"
|
|
1843
3320
|
},
|
|
3321
|
+
{
|
|
3322
|
+
type: "event",
|
|
3323
|
+
anonymous: false,
|
|
3324
|
+
inputs: [
|
|
3325
|
+
{
|
|
3326
|
+
name: "token",
|
|
3327
|
+
internalType: "address",
|
|
3328
|
+
type: "address",
|
|
3329
|
+
indexed: true
|
|
3330
|
+
},
|
|
3331
|
+
{
|
|
3332
|
+
name: "lockVault",
|
|
3333
|
+
internalType: "address",
|
|
3334
|
+
type: "address",
|
|
3335
|
+
indexed: true
|
|
3336
|
+
},
|
|
3337
|
+
{
|
|
3338
|
+
name: "amount",
|
|
3339
|
+
internalType: "uint256",
|
|
3340
|
+
type: "uint256",
|
|
3341
|
+
indexed: false
|
|
3342
|
+
}
|
|
3343
|
+
],
|
|
3344
|
+
name: "LockVaultBound"
|
|
3345
|
+
},
|
|
1844
3346
|
{
|
|
1845
3347
|
type: "event",
|
|
1846
3348
|
anonymous: false,
|
|
@@ -1945,6 +3447,14 @@ var bondingCurveABI = [
|
|
|
1945
3447
|
{ type: "error", inputs: [], name: "AlreadyMigrated" },
|
|
1946
3448
|
{ type: "error", inputs: [], name: "AmountInZero" },
|
|
1947
3449
|
{ type: "error", inputs: [], name: "AmountOutZero" },
|
|
3450
|
+
{
|
|
3451
|
+
type: "error",
|
|
3452
|
+
inputs: [
|
|
3453
|
+
{ name: "recommendedTokenOut", internalType: "uint256", type: "uint256" }
|
|
3454
|
+
],
|
|
3455
|
+
name: "CollectionTargetExceeded"
|
|
3456
|
+
},
|
|
3457
|
+
{ type: "error", inputs: [], name: "ETHNotAllowedForERC20Market" },
|
|
1948
3458
|
{ type: "error", inputs: [], name: "FailedCall" },
|
|
1949
3459
|
{ type: "error", inputs: [], name: "FailedToSendETH" },
|
|
1950
3460
|
{ type: "error", inputs: [], name: "InitialTokenSupplyNotSet" },
|
|
@@ -1961,8 +3471,12 @@ var bondingCurveABI = [
|
|
|
1961
3471
|
{ type: "error", inputs: [], name: "InsufficientTokenReserves" },
|
|
1962
3472
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
1963
3473
|
{ type: "error", inputs: [], name: "InvalidLiquidity" },
|
|
3474
|
+
{ type: "error", inputs: [], name: "InvalidLockAllocation" },
|
|
3475
|
+
{ type: "error", inputs: [], name: "InvalidLockVault" },
|
|
1964
3476
|
{ type: "error", inputs: [], name: "InvalidPairedToken" },
|
|
3477
|
+
{ type: "error", inputs: [], name: "InvalidRatio" },
|
|
1965
3478
|
{ type: "error", inputs: [], name: "LegacyMigrationDisabled" },
|
|
3479
|
+
{ type: "error", inputs: [], name: "LockedTokensAlreadyAllocated" },
|
|
1966
3480
|
{ type: "error", inputs: [], name: "MarketCapNotAvailableAfterMigration" },
|
|
1967
3481
|
{
|
|
1968
3482
|
type: "error",
|
|
@@ -1997,6 +3511,11 @@ var bondingCurveABI = [
|
|
|
1997
3511
|
{ type: "error", inputs: [], name: "PoolNotDeployed" },
|
|
1998
3512
|
{ type: "error", inputs: [], name: "PoolNotPreCreated" },
|
|
1999
3513
|
{ type: "error", inputs: [], name: "ReentrancyGuardReentrantCall" },
|
|
3514
|
+
{
|
|
3515
|
+
type: "error",
|
|
3516
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
3517
|
+
name: "SafeERC20FailedOperation"
|
|
3518
|
+
},
|
|
2000
3519
|
{ type: "error", inputs: [], name: "SlippageCheckFailed" },
|
|
2001
3520
|
{ type: "error", inputs: [], name: "TokenNotInitialized" },
|
|
2002
3521
|
{ type: "error", inputs: [], name: "TradingStopped" },
|
|
@@ -2021,8 +3540,8 @@ var bondingCurveABI = [
|
|
|
2021
3540
|
{ type: "error", inputs: [], name: "V4TooManyPositions" }
|
|
2022
3541
|
];
|
|
2023
3542
|
var bondingCurveAddress = {
|
|
2024
|
-
8453: "
|
|
2025
|
-
84532: "
|
|
3543
|
+
8453: "0xB10059567fA4538b80525442dF8881602a6c86a8",
|
|
3544
|
+
84532: "0x45Fd2C5f123235F636CE77851F8cF158140f77ad"
|
|
2026
3545
|
};
|
|
2027
3546
|
var bondingCurveConfig = {
|
|
2028
3547
|
address: bondingCurveAddress,
|
|
@@ -2301,8 +3820,9 @@ var chainConfigs = {
|
|
|
2301
3820
|
"FIRST_BUY_FEE": "1500000000000000",
|
|
2302
3821
|
"MC_UPPER_LIMIT": "11835000000000000000",
|
|
2303
3822
|
"MC_LOWER_LIMIT": "11795000000000000000",
|
|
2304
|
-
"TOKENS_MIGRATION_THRESHOLD": "
|
|
2305
|
-
"TARGET_ETH_COLLECTION_AMOUNT": "
|
|
3823
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
3824
|
+
"TARGET_ETH_COLLECTION_AMOUNT": "2500000000000000000",
|
|
3825
|
+
"TARGET_COLLECTION_AMOUNT": "2500000000000000000",
|
|
2306
3826
|
"SIGNER": "0x0000000000000000000000000000000000000000",
|
|
2307
3827
|
"DEPLOYER": "0x34527950b5dDe5039139Fd4fE8944dD392941F1f",
|
|
2308
3828
|
"FACTORY_OWNER": "0x3851F305EcC728c3e78c2F6Ff0BAC9B9fF1BF0ff",
|
|
@@ -2310,18 +3830,157 @@ var chainConfigs = {
|
|
|
2310
3830
|
"UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
|
|
2311
3831
|
"QUOTER_V2": "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
|
|
2312
3832
|
"SWAP_ROUTER_V2": "0x2626664c2603336E57B271c5C0b26F421741e481",
|
|
3833
|
+
"TOKEN_SWAP_DEXES": [
|
|
3834
|
+
{
|
|
3835
|
+
"KEY": "UNISWAP_V3",
|
|
3836
|
+
"TYPE": "V3",
|
|
3837
|
+
"ROUTER": "0x2626664c2603336E57B271c5C0b26F421741e481",
|
|
3838
|
+
"QUOTER": "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
|
|
3839
|
+
"QUOTER_KIND": 0,
|
|
3840
|
+
"ENABLED": true
|
|
3841
|
+
}
|
|
3842
|
+
],
|
|
2313
3843
|
"UNISWAP_V2_ROUTER": "0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",
|
|
2314
3844
|
"WETH": "0x4200000000000000000000000000000000000006",
|
|
2315
3845
|
"V3_POOL_FEE": "10000",
|
|
2316
3846
|
"TRADE_REFERRER_FEE_BPS": "1000",
|
|
2317
|
-
"CONTRACT_VERSION": "2.
|
|
3847
|
+
"CONTRACT_VERSION": "2.1.0",
|
|
2318
3848
|
"V4_POOL_MANAGER": "0x498581fF718922c3f8e6A244956aF099B2652b2b",
|
|
2319
3849
|
"V4_POSITION_MANAGER": "0x7C5f5A4bBd8fD63184577525326123B519429bDc",
|
|
2320
3850
|
"QUOTER_V4": "0x0d5e0F971ED27FBfF6c2837bf31316121532048D",
|
|
2321
3851
|
"PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
2322
3852
|
"UNIVERSAL_ROUTER": "0x6fF5693b99212Da76ad316178A184AB56D299b43",
|
|
2323
3853
|
"V4_LP_FEE": "20000",
|
|
2324
|
-
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
3854
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
3855
|
+
"V4_LIQUIDITY_PROFILES": {
|
|
3856
|
+
"0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814": {
|
|
3857
|
+
"NAME": "U10_SINGLE_SIDED_OVERLAP_V1_SP200",
|
|
3858
|
+
"VERSION": 1,
|
|
3859
|
+
"ENCODED_PROFILE": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000027060000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002af80000000000000000000000000000000000000000000000000000000000005b68000000000000000000000000000000000000000000000000000000000001130000000000000000000000000000000000000000000000000000000000000149b000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000002af80000000000000000000000000000000000000000000000000000000000011300000000000000000000000000000000000000000000000000000000000001130000000000000000000000000000000000000000000000000000000000000197d000000000000000000000000000000000000000000000000000000000000197d0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f4",
|
|
3860
|
+
"TICK_SPACING": 200,
|
|
3861
|
+
"TOKEN_ONLY_TICK_LOWER_DELTA": [
|
|
3862
|
+
0,
|
|
3863
|
+
11e3,
|
|
3864
|
+
23400,
|
|
3865
|
+
70400,
|
|
3866
|
+
84400
|
|
3867
|
+
],
|
|
3868
|
+
"TOKEN_ONLY_TICK_UPPER_DELTA": [
|
|
3869
|
+
11e3,
|
|
3870
|
+
70400,
|
|
3871
|
+
70400,
|
|
3872
|
+
104400,
|
|
3873
|
+
104400
|
|
3874
|
+
],
|
|
3875
|
+
"TOKEN_ONLY_POSITION_TOKEN_BPS": [
|
|
3876
|
+
1e3,
|
|
3877
|
+
5e3,
|
|
3878
|
+
1500,
|
|
3879
|
+
2e3,
|
|
3880
|
+
500
|
|
3881
|
+
],
|
|
3882
|
+
"PAIRED_POSITION_BPS": {
|
|
3883
|
+
"deep": 10,
|
|
3884
|
+
"main": 9990
|
|
3885
|
+
},
|
|
3886
|
+
"LABELS": [
|
|
3887
|
+
"lowerAbove\u2192130k",
|
|
3888
|
+
"130k\u219250m",
|
|
3889
|
+
"450k\u219250m",
|
|
3890
|
+
"50m\u21921p5b",
|
|
3891
|
+
"200m\u21921p5b"
|
|
3892
|
+
]
|
|
3893
|
+
}
|
|
3894
|
+
},
|
|
3895
|
+
"COLLATERAL_TEMPLATES": {
|
|
3896
|
+
"ETH": {
|
|
3897
|
+
"ID": "ETH_DEFAULT",
|
|
3898
|
+
"MODE": "DYNAMIC_ONLY",
|
|
3899
|
+
"COLLATERAL_TOKEN": "0x0000000000000000000000000000000000000000",
|
|
3900
|
+
"SYMBOL": "ETH",
|
|
3901
|
+
"DECIMALS": 18,
|
|
3902
|
+
"ENABLED": true,
|
|
3903
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
3904
|
+
"VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
|
|
3905
|
+
"VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
|
|
3906
|
+
"FEE_BASIS_POINTS": "200",
|
|
3907
|
+
"FIXED_MIGRATION_FEE": "100000000000000000",
|
|
3908
|
+
"POOL_CREATION_FEE": "50000000000000000",
|
|
3909
|
+
"MIGRATION_FEE_BPS": 600,
|
|
3910
|
+
"FIRST_BUY_FEE": "1500000000000000",
|
|
3911
|
+
"MC_UPPER_LIMIT": "11835000000000000000",
|
|
3912
|
+
"MC_LOWER_LIMIT": "11795000000000000000",
|
|
3913
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
3914
|
+
"TARGET_ETH_COLLECTION_AMOUNT": "2500000000000000000",
|
|
3915
|
+
"TARGET_COLLECTION_AMOUNT": "2500000000000000000",
|
|
3916
|
+
"V4_LP_FEE": "20000",
|
|
3917
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
3918
|
+
"DEFAULT_TARGET_RAISE": "2500000000000000000",
|
|
3919
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
3920
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
3921
|
+
},
|
|
3922
|
+
"USDC": {
|
|
3923
|
+
"ID": "USDC_DEFAULT",
|
|
3924
|
+
"MODE": "DYNAMIC_ONLY",
|
|
3925
|
+
"COLLATERAL_TOKEN": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
|
|
3926
|
+
"SYMBOL": "USDC",
|
|
3927
|
+
"DECIMALS": 6,
|
|
3928
|
+
"TOKEN_SWAP": {
|
|
3929
|
+
"ENABLED": true,
|
|
3930
|
+
"DEX_KEY": "UNISWAP_V3",
|
|
3931
|
+
"V3_FEE": 500
|
|
3932
|
+
},
|
|
3933
|
+
"ENABLED": true,
|
|
3934
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
3935
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
|
|
3936
|
+
"VIRTUAL_COLLATERAL_RESERVES": "2909090909",
|
|
3937
|
+
"FEE_BASIS_POINTS": "200",
|
|
3938
|
+
"FIXED_MIGRATION_FEE": "300000000",
|
|
3939
|
+
"POOL_CREATION_FEE": "200000000",
|
|
3940
|
+
"MIGRATION_FEE_BPS": 600,
|
|
3941
|
+
"FIRST_BUY_FEE": "5000000",
|
|
3942
|
+
"MC_UPPER_LIMIT": "37560000000",
|
|
3943
|
+
"MC_LOWER_LIMIT": "37500000000",
|
|
3944
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
3945
|
+
"TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
|
|
3946
|
+
"TARGET_COLLECTION_AMOUNT": "8000000000",
|
|
3947
|
+
"V4_LP_FEE": "20000",
|
|
3948
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
3949
|
+
"DEFAULT_TARGET_RAISE": "8000000000",
|
|
3950
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
3951
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
3952
|
+
},
|
|
3953
|
+
"SOL": {
|
|
3954
|
+
"ID": "SOL_DEFAULT",
|
|
3955
|
+
"MODE": "DYNAMIC_ONLY",
|
|
3956
|
+
"COLLATERAL_TOKEN": "0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82",
|
|
3957
|
+
"SYMBOL": "SOL",
|
|
3958
|
+
"DECIMALS": 9,
|
|
3959
|
+
"TOKEN_SWAP": {
|
|
3960
|
+
"ENABLED": false,
|
|
3961
|
+
"DEX_KEY": "UNISWAP_V3",
|
|
3962
|
+
"V3_FEE": 500
|
|
3963
|
+
},
|
|
3964
|
+
"ENABLED": true,
|
|
3965
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
3966
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
|
|
3967
|
+
"VIRTUAL_COLLATERAL_RESERVES": "23272727272",
|
|
3968
|
+
"FEE_BASIS_POINTS": "200",
|
|
3969
|
+
"FIXED_MIGRATION_FEE": "2400000000",
|
|
3970
|
+
"POOL_CREATION_FEE": "1600000000",
|
|
3971
|
+
"MIGRATION_FEE_BPS": 600,
|
|
3972
|
+
"FIRST_BUY_FEE": "40000000",
|
|
3973
|
+
"MC_UPPER_LIMIT": "300480000003",
|
|
3974
|
+
"MC_LOWER_LIMIT": "300000000003",
|
|
3975
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
3976
|
+
"TARGET_COLLECTION_AMOUNT": "64000000000",
|
|
3977
|
+
"V4_LP_FEE": "20000",
|
|
3978
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
3979
|
+
"DEFAULT_TARGET_RAISE": "64000000000",
|
|
3980
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
3981
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
3982
|
+
}
|
|
3983
|
+
}
|
|
2325
3984
|
},
|
|
2326
3985
|
"1.0.12": {
|
|
2327
3986
|
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
@@ -2433,6 +4092,179 @@ var chainConfigs = {
|
|
|
2433
4092
|
"UNIVERSAL_ROUTER": "0x6fF5693b99212Da76ad316178A184AB56D299b43",
|
|
2434
4093
|
"V4_LP_FEE": "20000",
|
|
2435
4094
|
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4095
|
+
},
|
|
4096
|
+
"2.1.0": {
|
|
4097
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4098
|
+
"VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
|
|
4099
|
+
"VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
|
|
4100
|
+
"FEE_BASIS_POINTS": "200",
|
|
4101
|
+
"DEX_FEE_BASIS_POINTS": "5000",
|
|
4102
|
+
"FIXED_MIGRATION_FEE": "100000000000000000",
|
|
4103
|
+
"POOL_CREATION_FEE": "50000000000000000",
|
|
4104
|
+
"FIRST_BUY_FEE": "1500000000000000",
|
|
4105
|
+
"MC_UPPER_LIMIT": "11835000000000000000",
|
|
4106
|
+
"MC_LOWER_LIMIT": "11795000000000000000",
|
|
4107
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4108
|
+
"TARGET_ETH_COLLECTION_AMOUNT": "2500000000000000000",
|
|
4109
|
+
"TARGET_COLLECTION_AMOUNT": "2500000000000000000",
|
|
4110
|
+
"SIGNER": "0x0000000000000000000000000000000000000000",
|
|
4111
|
+
"DEPLOYER": "0x34527950b5dDe5039139Fd4fE8944dD392941F1f",
|
|
4112
|
+
"FACTORY_OWNER": "0x3851F305EcC728c3e78c2F6Ff0BAC9B9fF1BF0ff",
|
|
4113
|
+
"PROTOCOL_REWARD_RECIPIENT": "0x3851F305EcC728c3e78c2F6Ff0BAC9B9fF1BF0ff",
|
|
4114
|
+
"UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
|
|
4115
|
+
"QUOTER_V2": "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
|
|
4116
|
+
"SWAP_ROUTER_V2": "0x2626664c2603336E57B271c5C0b26F421741e481",
|
|
4117
|
+
"TOKEN_SWAP_DEXES": [
|
|
4118
|
+
{
|
|
4119
|
+
"KEY": "UNISWAP_V3",
|
|
4120
|
+
"TYPE": "V3",
|
|
4121
|
+
"ROUTER": "0x2626664c2603336E57B271c5C0b26F421741e481",
|
|
4122
|
+
"QUOTER": "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
|
|
4123
|
+
"QUOTER_KIND": 0,
|
|
4124
|
+
"ENABLED": true
|
|
4125
|
+
}
|
|
4126
|
+
],
|
|
4127
|
+
"UNISWAP_V2_ROUTER": "0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24",
|
|
4128
|
+
"WETH": "0x4200000000000000000000000000000000000006",
|
|
4129
|
+
"V3_POOL_FEE": "10000",
|
|
4130
|
+
"TRADE_REFERRER_FEE_BPS": "1000",
|
|
4131
|
+
"CONTRACT_VERSION": "2.1.0",
|
|
4132
|
+
"V4_POOL_MANAGER": "0x498581fF718922c3f8e6A244956aF099B2652b2b",
|
|
4133
|
+
"V4_POSITION_MANAGER": "0x7C5f5A4bBd8fD63184577525326123B519429bDc",
|
|
4134
|
+
"QUOTER_V4": "0x0d5e0F971ED27FBfF6c2837bf31316121532048D",
|
|
4135
|
+
"PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
4136
|
+
"UNIVERSAL_ROUTER": "0x6fF5693b99212Da76ad316178A184AB56D299b43",
|
|
4137
|
+
"V4_LP_FEE": "20000",
|
|
4138
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
4139
|
+
"V4_LIQUIDITY_PROFILES": {
|
|
4140
|
+
"0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814": {
|
|
4141
|
+
"NAME": "U10_SINGLE_SIDED_OVERLAP_V1_SP200",
|
|
4142
|
+
"VERSION": 1,
|
|
4143
|
+
"ENCODED_PROFILE": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000027060000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002af80000000000000000000000000000000000000000000000000000000000005b68000000000000000000000000000000000000000000000000000000000001130000000000000000000000000000000000000000000000000000000000000149b000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000002af80000000000000000000000000000000000000000000000000000000000011300000000000000000000000000000000000000000000000000000000000001130000000000000000000000000000000000000000000000000000000000000197d000000000000000000000000000000000000000000000000000000000000197d0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f4",
|
|
4144
|
+
"TICK_SPACING": 200,
|
|
4145
|
+
"TOKEN_ONLY_TICK_LOWER_DELTA": [
|
|
4146
|
+
0,
|
|
4147
|
+
11e3,
|
|
4148
|
+
23400,
|
|
4149
|
+
70400,
|
|
4150
|
+
84400
|
|
4151
|
+
],
|
|
4152
|
+
"TOKEN_ONLY_TICK_UPPER_DELTA": [
|
|
4153
|
+
11e3,
|
|
4154
|
+
70400,
|
|
4155
|
+
70400,
|
|
4156
|
+
104400,
|
|
4157
|
+
104400
|
|
4158
|
+
],
|
|
4159
|
+
"TOKEN_ONLY_POSITION_TOKEN_BPS": [
|
|
4160
|
+
1e3,
|
|
4161
|
+
5e3,
|
|
4162
|
+
1500,
|
|
4163
|
+
2e3,
|
|
4164
|
+
500
|
|
4165
|
+
],
|
|
4166
|
+
"PAIRED_POSITION_BPS": {
|
|
4167
|
+
"deep": 10,
|
|
4168
|
+
"main": 9990
|
|
4169
|
+
},
|
|
4170
|
+
"LABELS": [
|
|
4171
|
+
"lowerAbove\u2192130k",
|
|
4172
|
+
"130k\u219250m",
|
|
4173
|
+
"450k\u219250m",
|
|
4174
|
+
"50m\u21921p5b",
|
|
4175
|
+
"200m\u21921p5b"
|
|
4176
|
+
]
|
|
4177
|
+
}
|
|
4178
|
+
},
|
|
4179
|
+
"COLLATERAL_TEMPLATES": {
|
|
4180
|
+
"ETH": {
|
|
4181
|
+
"ID": "ETH_DEFAULT",
|
|
4182
|
+
"MODE": "DYNAMIC_ONLY",
|
|
4183
|
+
"COLLATERAL_TOKEN": "0x0000000000000000000000000000000000000000",
|
|
4184
|
+
"SYMBOL": "ETH",
|
|
4185
|
+
"DECIMALS": 18,
|
|
4186
|
+
"ENABLED": true,
|
|
4187
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4188
|
+
"VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
|
|
4189
|
+
"VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
|
|
4190
|
+
"FEE_BASIS_POINTS": "200",
|
|
4191
|
+
"FIXED_MIGRATION_FEE": "100000000000000000",
|
|
4192
|
+
"POOL_CREATION_FEE": "50000000000000000",
|
|
4193
|
+
"MIGRATION_FEE_BPS": 600,
|
|
4194
|
+
"FIRST_BUY_FEE": "1500000000000000",
|
|
4195
|
+
"MC_UPPER_LIMIT": "11835000000000000000",
|
|
4196
|
+
"MC_LOWER_LIMIT": "11795000000000000000",
|
|
4197
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4198
|
+
"TARGET_ETH_COLLECTION_AMOUNT": "2500000000000000000",
|
|
4199
|
+
"TARGET_COLLECTION_AMOUNT": "2500000000000000000",
|
|
4200
|
+
"V4_LP_FEE": "20000",
|
|
4201
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
4202
|
+
"DEFAULT_TARGET_RAISE": "2500000000000000000",
|
|
4203
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
4204
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4205
|
+
},
|
|
4206
|
+
"USDC": {
|
|
4207
|
+
"ID": "USDC_DEFAULT",
|
|
4208
|
+
"MODE": "DYNAMIC_ONLY",
|
|
4209
|
+
"COLLATERAL_TOKEN": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
|
|
4210
|
+
"SYMBOL": "USDC",
|
|
4211
|
+
"DECIMALS": 6,
|
|
4212
|
+
"TOKEN_SWAP": {
|
|
4213
|
+
"ENABLED": true,
|
|
4214
|
+
"DEX_KEY": "UNISWAP_V3",
|
|
4215
|
+
"V3_FEE": 500
|
|
4216
|
+
},
|
|
4217
|
+
"ENABLED": true,
|
|
4218
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4219
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
|
|
4220
|
+
"VIRTUAL_COLLATERAL_RESERVES": "2909090909",
|
|
4221
|
+
"FEE_BASIS_POINTS": "200",
|
|
4222
|
+
"FIXED_MIGRATION_FEE": "300000000",
|
|
4223
|
+
"POOL_CREATION_FEE": "200000000",
|
|
4224
|
+
"MIGRATION_FEE_BPS": 600,
|
|
4225
|
+
"FIRST_BUY_FEE": "5000000",
|
|
4226
|
+
"MC_UPPER_LIMIT": "37560000000",
|
|
4227
|
+
"MC_LOWER_LIMIT": "37500000000",
|
|
4228
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4229
|
+
"TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
|
|
4230
|
+
"TARGET_COLLECTION_AMOUNT": "8000000000",
|
|
4231
|
+
"V4_LP_FEE": "20000",
|
|
4232
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
4233
|
+
"DEFAULT_TARGET_RAISE": "8000000000",
|
|
4234
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
4235
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4236
|
+
},
|
|
4237
|
+
"SOL": {
|
|
4238
|
+
"ID": "SOL_DEFAULT",
|
|
4239
|
+
"MODE": "DYNAMIC_ONLY",
|
|
4240
|
+
"COLLATERAL_TOKEN": "0x311935Cd80B76769bF2ecC9D8Ab7635b2139cf82",
|
|
4241
|
+
"SYMBOL": "SOL",
|
|
4242
|
+
"DECIMALS": 9,
|
|
4243
|
+
"TOKEN_SWAP": {
|
|
4244
|
+
"ENABLED": false,
|
|
4245
|
+
"DEX_KEY": "UNISWAP_V3",
|
|
4246
|
+
"V3_FEE": 500
|
|
4247
|
+
},
|
|
4248
|
+
"ENABLED": true,
|
|
4249
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4250
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
|
|
4251
|
+
"VIRTUAL_COLLATERAL_RESERVES": "23272727272",
|
|
4252
|
+
"FEE_BASIS_POINTS": "200",
|
|
4253
|
+
"FIXED_MIGRATION_FEE": "2400000000",
|
|
4254
|
+
"POOL_CREATION_FEE": "1600000000",
|
|
4255
|
+
"MIGRATION_FEE_BPS": 600,
|
|
4256
|
+
"FIRST_BUY_FEE": "40000000",
|
|
4257
|
+
"MC_UPPER_LIMIT": "300480000003",
|
|
4258
|
+
"MC_LOWER_LIMIT": "300000000003",
|
|
4259
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4260
|
+
"TARGET_COLLECTION_AMOUNT": "64000000000",
|
|
4261
|
+
"V4_LP_FEE": "20000",
|
|
4262
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
4263
|
+
"DEFAULT_TARGET_RAISE": "64000000000",
|
|
4264
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
4265
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4266
|
+
}
|
|
4267
|
+
}
|
|
2436
4268
|
}
|
|
2437
4269
|
},
|
|
2438
4270
|
[84532]: {
|
|
@@ -2448,7 +4280,8 @@ var chainConfigs = {
|
|
|
2448
4280
|
"MC_UPPER_LIMIT": "11835000000000000000",
|
|
2449
4281
|
"MC_LOWER_LIMIT": "11795000000000000000",
|
|
2450
4282
|
"TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
|
|
2451
|
-
"TARGET_ETH_COLLECTION_AMOUNT": "
|
|
4283
|
+
"TARGET_ETH_COLLECTION_AMOUNT": "2500000000000000000",
|
|
4284
|
+
"TARGET_COLLECTION_AMOUNT": "2500000000000000000",
|
|
2452
4285
|
"SIGNER": "0x0000000000000000000000000000000000000000",
|
|
2453
4286
|
"DEPLOYER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
|
|
2454
4287
|
"FACTORY_OWNER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
|
|
@@ -2456,18 +4289,218 @@ var chainConfigs = {
|
|
|
2456
4289
|
"UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2",
|
|
2457
4290
|
"QUOTER_V2": "0xC5290058841028F1614F3A6F0F5816cAd0df5E27",
|
|
2458
4291
|
"SWAP_ROUTER_V2": "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
4292
|
+
"TOKEN_SWAP_DEXES": [
|
|
4293
|
+
{
|
|
4294
|
+
"KEY": "UNISWAP_V3",
|
|
4295
|
+
"TYPE": "V3",
|
|
4296
|
+
"ROUTER": "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
4297
|
+
"QUOTER": "0xC5290058841028F1614F3A6F0F5816cAd0df5E27",
|
|
4298
|
+
"QUOTER_KIND": 0,
|
|
4299
|
+
"ENABLED": true
|
|
4300
|
+
}
|
|
4301
|
+
],
|
|
2459
4302
|
"UNISWAP_V2_ROUTER": "0x0000000000000000000000000000000000000000",
|
|
2460
4303
|
"WETH": "0x4200000000000000000000000000000000000006",
|
|
2461
4304
|
"V3_POOL_FEE": "10000",
|
|
2462
4305
|
"TRADE_REFERRER_FEE_BPS": "1000",
|
|
2463
|
-
"CONTRACT_VERSION": "2.
|
|
4306
|
+
"CONTRACT_VERSION": "2.2.0",
|
|
2464
4307
|
"V4_POOL_MANAGER": "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408",
|
|
2465
4308
|
"V4_POSITION_MANAGER": "0x4B2C77d209D3405F41a037Ec6c77F7F5b8e2ca80",
|
|
2466
4309
|
"QUOTER_V4": "0x4A6513c898fe1B2d0E78d3b0e0A4a151589B1cBa",
|
|
2467
4310
|
"PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
2468
4311
|
"UNIVERSAL_ROUTER": "0x492E6456D9528771018DeB9E87ef7750EF184104",
|
|
2469
4312
|
"V4_LP_FEE": "20000",
|
|
2470
|
-
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4313
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
4314
|
+
"V4_LIQUIDITY_PROFILES": {
|
|
4315
|
+
"0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814": {
|
|
4316
|
+
"NAME": "U10_SINGLE_SIDED_OVERLAP_V1_SP200",
|
|
4317
|
+
"VERSION": 1,
|
|
4318
|
+
"ENCODED_PROFILE": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000027060000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002af80000000000000000000000000000000000000000000000000000000000005b68000000000000000000000000000000000000000000000000000000000001130000000000000000000000000000000000000000000000000000000000000149b000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000002af80000000000000000000000000000000000000000000000000000000000011300000000000000000000000000000000000000000000000000000000000001130000000000000000000000000000000000000000000000000000000000000197d000000000000000000000000000000000000000000000000000000000000197d0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f4",
|
|
4319
|
+
"TICK_SPACING": 200,
|
|
4320
|
+
"TOKEN_ONLY_TICK_LOWER_DELTA": [
|
|
4321
|
+
0,
|
|
4322
|
+
11e3,
|
|
4323
|
+
23400,
|
|
4324
|
+
70400,
|
|
4325
|
+
84400
|
|
4326
|
+
],
|
|
4327
|
+
"TOKEN_ONLY_TICK_UPPER_DELTA": [
|
|
4328
|
+
11e3,
|
|
4329
|
+
70400,
|
|
4330
|
+
70400,
|
|
4331
|
+
104400,
|
|
4332
|
+
104400
|
|
4333
|
+
],
|
|
4334
|
+
"TOKEN_ONLY_POSITION_TOKEN_BPS": [
|
|
4335
|
+
1e3,
|
|
4336
|
+
5e3,
|
|
4337
|
+
1500,
|
|
4338
|
+
2e3,
|
|
4339
|
+
500
|
|
4340
|
+
],
|
|
4341
|
+
"PAIRED_POSITION_BPS": {
|
|
4342
|
+
"deep": 10,
|
|
4343
|
+
"main": 9990
|
|
4344
|
+
},
|
|
4345
|
+
"LABELS": [
|
|
4346
|
+
"lowerAbove\u2192130k",
|
|
4347
|
+
"130k\u219250m",
|
|
4348
|
+
"450k\u219250m",
|
|
4349
|
+
"50m\u21921p5b",
|
|
4350
|
+
"200m\u21921p5b"
|
|
4351
|
+
]
|
|
4352
|
+
}
|
|
4353
|
+
},
|
|
4354
|
+
"COLLATERAL_TEMPLATES": {
|
|
4355
|
+
"ETH": {
|
|
4356
|
+
"ID": "ETH_DEFAULT",
|
|
4357
|
+
"MODE": "DYNAMIC_ONLY",
|
|
4358
|
+
"COLLATERAL_TOKEN": "0x0000000000000000000000000000000000000000",
|
|
4359
|
+
"SYMBOL": "ETH",
|
|
4360
|
+
"DECIMALS": 18,
|
|
4361
|
+
"ENABLED": true,
|
|
4362
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4363
|
+
"VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
|
|
4364
|
+
"VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
|
|
4365
|
+
"FEE_BASIS_POINTS": "200",
|
|
4366
|
+
"FIXED_MIGRATION_FEE": "100000000000000000",
|
|
4367
|
+
"POOL_CREATION_FEE": "50000000000000000",
|
|
4368
|
+
"MIGRATION_FEE_BPS": 600,
|
|
4369
|
+
"FIRST_BUY_FEE": "1500000000000000",
|
|
4370
|
+
"MC_UPPER_LIMIT": "11835000000000000000",
|
|
4371
|
+
"MC_LOWER_LIMIT": "11795000000000000000",
|
|
4372
|
+
"TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
|
|
4373
|
+
"TARGET_ETH_COLLECTION_AMOUNT": "2500000000000000000",
|
|
4374
|
+
"TARGET_COLLECTION_AMOUNT": "2500000000000000000",
|
|
4375
|
+
"V4_LP_FEE": "20000",
|
|
4376
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
4377
|
+
"DEFAULT_TARGET_RAISE": "2500000000000000000",
|
|
4378
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
4379
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4380
|
+
},
|
|
4381
|
+
"USDC": {
|
|
4382
|
+
"ID": "USDC_DEFAULT",
|
|
4383
|
+
"MODE": "DYNAMIC_ONLY",
|
|
4384
|
+
"COLLATERAL_TOKEN": "0x108219E8D6A004A5B15D922FE1A42fd282601DcC",
|
|
4385
|
+
"SYMBOL": "USDC",
|
|
4386
|
+
"DECIMALS": 6,
|
|
4387
|
+
"TOKEN_SWAP": {
|
|
4388
|
+
"ENABLED": true,
|
|
4389
|
+
"DEX_KEY": "UNISWAP_V3",
|
|
4390
|
+
"V3_FEE": 500
|
|
4391
|
+
},
|
|
4392
|
+
"ENABLED": true,
|
|
4393
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4394
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
|
|
4395
|
+
"VIRTUAL_COLLATERAL_RESERVES": "2909090909",
|
|
4396
|
+
"FEE_BASIS_POINTS": "200",
|
|
4397
|
+
"FIXED_MIGRATION_FEE": "300000000",
|
|
4398
|
+
"POOL_CREATION_FEE": "200000000",
|
|
4399
|
+
"MIGRATION_FEE_BPS": 600,
|
|
4400
|
+
"FIRST_BUY_FEE": "5000000",
|
|
4401
|
+
"MC_UPPER_LIMIT": "37560000000",
|
|
4402
|
+
"MC_LOWER_LIMIT": "37500000000",
|
|
4403
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4404
|
+
"TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
|
|
4405
|
+
"TARGET_COLLECTION_AMOUNT": "8000000000",
|
|
4406
|
+
"V4_LP_FEE": "20000",
|
|
4407
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
4408
|
+
"DEFAULT_TARGET_RAISE": "8000000000",
|
|
4409
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
4410
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4411
|
+
},
|
|
4412
|
+
"SOL": {
|
|
4413
|
+
"ID": "SOL_DEFAULT",
|
|
4414
|
+
"MODE": "DYNAMIC_ONLY",
|
|
4415
|
+
"COLLATERAL_TOKEN": "0x62458b06DdD0E886dc26837dcd8C386ADD548317",
|
|
4416
|
+
"SYMBOL": "SOL",
|
|
4417
|
+
"DECIMALS": 9,
|
|
4418
|
+
"TOKEN_SWAP": {
|
|
4419
|
+
"ENABLED": true,
|
|
4420
|
+
"DEX_KEY": "UNISWAP_V3",
|
|
4421
|
+
"V3_FEE": 500
|
|
4422
|
+
},
|
|
4423
|
+
"ENABLED": true,
|
|
4424
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4425
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
|
|
4426
|
+
"VIRTUAL_COLLATERAL_RESERVES": "23272727272",
|
|
4427
|
+
"FEE_BASIS_POINTS": "200",
|
|
4428
|
+
"FIXED_MIGRATION_FEE": "2400000000",
|
|
4429
|
+
"POOL_CREATION_FEE": "1600000000",
|
|
4430
|
+
"MIGRATION_FEE_BPS": 600,
|
|
4431
|
+
"FIRST_BUY_FEE": "40000000",
|
|
4432
|
+
"MC_UPPER_LIMIT": "300480000003",
|
|
4433
|
+
"MC_LOWER_LIMIT": "300000000003",
|
|
4434
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4435
|
+
"TARGET_COLLECTION_AMOUNT": "64000000000",
|
|
4436
|
+
"V4_LP_FEE": "20000",
|
|
4437
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
4438
|
+
"DEFAULT_TARGET_RAISE": "64000000000",
|
|
4439
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
4440
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4441
|
+
},
|
|
4442
|
+
"MUSDC": {
|
|
4443
|
+
"ID": "MUSDC_DEFAULT",
|
|
4444
|
+
"MODE": "DYNAMIC_ONLY",
|
|
4445
|
+
"COLLATERAL_TOKEN": "0x4967BC4b61B3259856D1A925900263AB2B64F6de",
|
|
4446
|
+
"SYMBOL": "USDC",
|
|
4447
|
+
"DECIMALS": 6,
|
|
4448
|
+
"TOKEN_SWAP": {
|
|
4449
|
+
"ENABLED": true,
|
|
4450
|
+
"DEX": "V3",
|
|
4451
|
+
"V3_FEE": 500
|
|
4452
|
+
},
|
|
4453
|
+
"ENABLED": true,
|
|
4454
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4455
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
|
|
4456
|
+
"VIRTUAL_COLLATERAL_RESERVES": "2909090909",
|
|
4457
|
+
"FEE_BASIS_POINTS": "200",
|
|
4458
|
+
"FIXED_MIGRATION_FEE": "300000000",
|
|
4459
|
+
"POOL_CREATION_FEE": "200000000",
|
|
4460
|
+
"MIGRATION_FEE_BPS": 600,
|
|
4461
|
+
"FIRST_BUY_FEE": "5000000",
|
|
4462
|
+
"MC_UPPER_LIMIT": "37560000000",
|
|
4463
|
+
"MC_LOWER_LIMIT": "37500000000",
|
|
4464
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4465
|
+
"TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
|
|
4466
|
+
"TARGET_COLLECTION_AMOUNT": "8000000000",
|
|
4467
|
+
"V4_LP_FEE": "20000",
|
|
4468
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
4469
|
+
"DEFAULT_TARGET_RAISE": "8000000000",
|
|
4470
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
4471
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4472
|
+
},
|
|
4473
|
+
"MSOL": {
|
|
4474
|
+
"ID": "MSOL_DEFAULT",
|
|
4475
|
+
"MODE": "DYNAMIC_ONLY",
|
|
4476
|
+
"COLLATERAL_TOKEN": "0x887847e42F068df9D9C248B355ad84DbC7527070",
|
|
4477
|
+
"SYMBOL": "SOL",
|
|
4478
|
+
"DECIMALS": 9,
|
|
4479
|
+
"TOKEN_SWAP": {
|
|
4480
|
+
"ENABLED": true,
|
|
4481
|
+
"DEX": "V3",
|
|
4482
|
+
"V3_FEE": 500
|
|
4483
|
+
},
|
|
4484
|
+
"ENABLED": true,
|
|
4485
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4486
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
|
|
4487
|
+
"VIRTUAL_COLLATERAL_RESERVES": "23272727272",
|
|
4488
|
+
"FEE_BASIS_POINTS": "200",
|
|
4489
|
+
"FIXED_MIGRATION_FEE": "2400000000",
|
|
4490
|
+
"POOL_CREATION_FEE": "1600000000",
|
|
4491
|
+
"MIGRATION_FEE_BPS": 600,
|
|
4492
|
+
"FIRST_BUY_FEE": "40000000",
|
|
4493
|
+
"MC_UPPER_LIMIT": "300480000003",
|
|
4494
|
+
"MC_LOWER_LIMIT": "300000000003",
|
|
4495
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4496
|
+
"TARGET_COLLECTION_AMOUNT": "64000000000",
|
|
4497
|
+
"V4_LP_FEE": "20000",
|
|
4498
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
4499
|
+
"DEFAULT_TARGET_RAISE": "64000000000",
|
|
4500
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
4501
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4502
|
+
}
|
|
4503
|
+
}
|
|
2471
4504
|
},
|
|
2472
4505
|
"1.0.12": {
|
|
2473
4506
|
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
@@ -2527,6 +4560,379 @@ var chainConfigs = {
|
|
|
2527
4560
|
"UNIVERSAL_ROUTER": "0x492E6456D9528771018DeB9E87ef7750EF184104",
|
|
2528
4561
|
"V4_LP_FEE": "20000",
|
|
2529
4562
|
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4563
|
+
},
|
|
4564
|
+
"2.1.0": {
|
|
4565
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4566
|
+
"VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
|
|
4567
|
+
"VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
|
|
4568
|
+
"FEE_BASIS_POINTS": "200",
|
|
4569
|
+
"DEX_FEE_BASIS_POINTS": "5000",
|
|
4570
|
+
"FIXED_MIGRATION_FEE": "100000000000000000",
|
|
4571
|
+
"POOL_CREATION_FEE": "50000000000000000",
|
|
4572
|
+
"FIRST_BUY_FEE": "1500000000000000",
|
|
4573
|
+
"MC_UPPER_LIMIT": "11835000000000000000",
|
|
4574
|
+
"MC_LOWER_LIMIT": "11795000000000000000",
|
|
4575
|
+
"TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
|
|
4576
|
+
"TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
|
|
4577
|
+
"TARGET_COLLECTION_AMOUNT": "2500759732077910169",
|
|
4578
|
+
"SIGNER": "0x0000000000000000000000000000000000000000",
|
|
4579
|
+
"DEPLOYER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
|
|
4580
|
+
"FACTORY_OWNER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
|
|
4581
|
+
"PROTOCOL_REWARD_RECIPIENT": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
|
|
4582
|
+
"UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2",
|
|
4583
|
+
"QUOTER_V2": "0xC5290058841028F1614F3A6F0F5816cAd0df5E27",
|
|
4584
|
+
"SWAP_ROUTER_V2": "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
4585
|
+
"UNISWAP_V2_ROUTER": "0x0000000000000000000000000000000000000000",
|
|
4586
|
+
"WETH": "0x4200000000000000000000000000000000000006",
|
|
4587
|
+
"V3_POOL_FEE": "10000",
|
|
4588
|
+
"TRADE_REFERRER_FEE_BPS": "1000",
|
|
4589
|
+
"CONTRACT_VERSION": "2.1.0",
|
|
4590
|
+
"V4_POOL_MANAGER": "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408",
|
|
4591
|
+
"V4_POSITION_MANAGER": "0x4B2C77d209D3405F41a037Ec6c77F7F5b8e2ca80",
|
|
4592
|
+
"QUOTER_V4": "0x4A6513c898fe1B2d0E78d3b0e0A4a151589B1cBa",
|
|
4593
|
+
"PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
4594
|
+
"UNIVERSAL_ROUTER": "0x492E6456D9528771018DeB9E87ef7750EF184104",
|
|
4595
|
+
"V4_LP_FEE": "20000",
|
|
4596
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
4597
|
+
"COLLATERAL_TEMPLATES": {
|
|
4598
|
+
"ETH": {
|
|
4599
|
+
"ID": "ETH_DEFAULT",
|
|
4600
|
+
"COLLATERAL_TOKEN": "0x0000000000000000000000000000000000000000",
|
|
4601
|
+
"SYMBOL": "ETH",
|
|
4602
|
+
"DECIMALS": 18,
|
|
4603
|
+
"ENABLED": true,
|
|
4604
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4605
|
+
"VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
|
|
4606
|
+
"VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
|
|
4607
|
+
"FEE_BASIS_POINTS": "200",
|
|
4608
|
+
"FIXED_MIGRATION_FEE": "100000000000000000",
|
|
4609
|
+
"POOL_CREATION_FEE": "50000000000000000",
|
|
4610
|
+
"FIRST_BUY_FEE": "1500000000000000",
|
|
4611
|
+
"MC_UPPER_LIMIT": "11835000000000000000",
|
|
4612
|
+
"MC_LOWER_LIMIT": "11795000000000000000",
|
|
4613
|
+
"TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
|
|
4614
|
+
"TARGET_ETH_COLLECTION_AMOUNT": "2500759732077910169",
|
|
4615
|
+
"TARGET_COLLECTION_AMOUNT": "2500759732077910169",
|
|
4616
|
+
"V4_LP_FEE": "20000",
|
|
4617
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4618
|
+
},
|
|
4619
|
+
"USDC": {
|
|
4620
|
+
"ID": "USDC_DEFAULT",
|
|
4621
|
+
"COLLATERAL_TOKEN": "0x108219E8D6A004A5B15D922FE1A42fd282601DcC",
|
|
4622
|
+
"SYMBOL": "USDC",
|
|
4623
|
+
"DECIMALS": 6,
|
|
4624
|
+
"ENABLED": true,
|
|
4625
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4626
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
|
|
4627
|
+
"VIRTUAL_COLLATERAL_RESERVES": "2909090909",
|
|
4628
|
+
"FEE_BASIS_POINTS": "200",
|
|
4629
|
+
"FIXED_MIGRATION_FEE": "300000000",
|
|
4630
|
+
"POOL_CREATION_FEE": "200000000",
|
|
4631
|
+
"FIRST_BUY_FEE": "5000000",
|
|
4632
|
+
"MC_UPPER_LIMIT": "37560000000",
|
|
4633
|
+
"MC_LOWER_LIMIT": "37500000000",
|
|
4634
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4635
|
+
"TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
|
|
4636
|
+
"TARGET_COLLECTION_AMOUNT": "8000000000",
|
|
4637
|
+
"V4_LP_FEE": "20000",
|
|
4638
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4639
|
+
},
|
|
4640
|
+
"SOL": {
|
|
4641
|
+
"ID": "SOL_DEFAULT",
|
|
4642
|
+
"COLLATERAL_TOKEN": "0x62458b06DdD0E886dc26837dcd8C386ADD548317",
|
|
4643
|
+
"SYMBOL": "SOL",
|
|
4644
|
+
"DECIMALS": 9,
|
|
4645
|
+
"ENABLED": true,
|
|
4646
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4647
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
|
|
4648
|
+
"VIRTUAL_COLLATERAL_RESERVES": "23272727272",
|
|
4649
|
+
"FEE_BASIS_POINTS": "200",
|
|
4650
|
+
"FIXED_MIGRATION_FEE": "2400000000",
|
|
4651
|
+
"POOL_CREATION_FEE": "1600000000",
|
|
4652
|
+
"FIRST_BUY_FEE": "40000000",
|
|
4653
|
+
"MC_UPPER_LIMIT": "300480000003",
|
|
4654
|
+
"MC_LOWER_LIMIT": "300000000003",
|
|
4655
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4656
|
+
"TARGET_COLLECTION_AMOUNT": "64000000000",
|
|
4657
|
+
"V4_LP_FEE": "20000",
|
|
4658
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4659
|
+
},
|
|
4660
|
+
"MUSDC": {
|
|
4661
|
+
"ID": "MUSDC_DEFAULT",
|
|
4662
|
+
"COLLATERAL_TOKEN": "0x4967BC4b61B3259856D1A925900263AB2B64F6de",
|
|
4663
|
+
"SYMBOL": "USDC",
|
|
4664
|
+
"DECIMALS": 6,
|
|
4665
|
+
"ENABLED": true,
|
|
4666
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4667
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
|
|
4668
|
+
"VIRTUAL_COLLATERAL_RESERVES": "2909090909",
|
|
4669
|
+
"FEE_BASIS_POINTS": "200",
|
|
4670
|
+
"FIXED_MIGRATION_FEE": "300000000",
|
|
4671
|
+
"POOL_CREATION_FEE": "200000000",
|
|
4672
|
+
"FIRST_BUY_FEE": "5000000",
|
|
4673
|
+
"MC_UPPER_LIMIT": "37560000000",
|
|
4674
|
+
"MC_LOWER_LIMIT": "37500000000",
|
|
4675
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4676
|
+
"TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
|
|
4677
|
+
"TARGET_COLLECTION_AMOUNT": "8000000000",
|
|
4678
|
+
"V4_LP_FEE": "20000",
|
|
4679
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4680
|
+
},
|
|
4681
|
+
"MSOL": {
|
|
4682
|
+
"ID": "MSOL_DEFAULT",
|
|
4683
|
+
"COLLATERAL_TOKEN": "0x887847e42F068df9D9C248B355ad84DbC7527070",
|
|
4684
|
+
"SYMBOL": "SOL",
|
|
4685
|
+
"DECIMALS": 9,
|
|
4686
|
+
"ENABLED": true,
|
|
4687
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4688
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
|
|
4689
|
+
"VIRTUAL_COLLATERAL_RESERVES": "23272727272",
|
|
4690
|
+
"FEE_BASIS_POINTS": "200",
|
|
4691
|
+
"FIXED_MIGRATION_FEE": "2400000000",
|
|
4692
|
+
"POOL_CREATION_FEE": "1600000000",
|
|
4693
|
+
"FIRST_BUY_FEE": "40000000",
|
|
4694
|
+
"MC_UPPER_LIMIT": "300480000003",
|
|
4695
|
+
"MC_LOWER_LIMIT": "300000000003",
|
|
4696
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4697
|
+
"TARGET_COLLECTION_AMOUNT": "64000000000",
|
|
4698
|
+
"V4_LP_FEE": "20000",
|
|
4699
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4700
|
+
}
|
|
4701
|
+
}
|
|
4702
|
+
},
|
|
4703
|
+
"2.2.0": {
|
|
4704
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4705
|
+
"VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
|
|
4706
|
+
"VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
|
|
4707
|
+
"FEE_BASIS_POINTS": "200",
|
|
4708
|
+
"DEX_FEE_BASIS_POINTS": "5000",
|
|
4709
|
+
"FIXED_MIGRATION_FEE": "100000000000000000",
|
|
4710
|
+
"POOL_CREATION_FEE": "50000000000000000",
|
|
4711
|
+
"FIRST_BUY_FEE": "1500000000000000",
|
|
4712
|
+
"MC_UPPER_LIMIT": "11835000000000000000",
|
|
4713
|
+
"MC_LOWER_LIMIT": "11795000000000000000",
|
|
4714
|
+
"TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
|
|
4715
|
+
"TARGET_ETH_COLLECTION_AMOUNT": "2500000000000000000",
|
|
4716
|
+
"TARGET_COLLECTION_AMOUNT": "2500000000000000000",
|
|
4717
|
+
"SIGNER": "0x0000000000000000000000000000000000000000",
|
|
4718
|
+
"DEPLOYER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
|
|
4719
|
+
"FACTORY_OWNER": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
|
|
4720
|
+
"PROTOCOL_REWARD_RECIPIENT": "0x9575b2d4eeb082f777af9dae93702aea6d2769d3",
|
|
4721
|
+
"UNISWAP_V3_NONFUNGIBLE_POSITION_MANAGER": "0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2",
|
|
4722
|
+
"QUOTER_V2": "0xC5290058841028F1614F3A6F0F5816cAd0df5E27",
|
|
4723
|
+
"SWAP_ROUTER_V2": "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
4724
|
+
"TOKEN_SWAP_DEXES": [
|
|
4725
|
+
{
|
|
4726
|
+
"KEY": "UNISWAP_V3",
|
|
4727
|
+
"TYPE": "V3",
|
|
4728
|
+
"ROUTER": "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
4729
|
+
"QUOTER": "0xC5290058841028F1614F3A6F0F5816cAd0df5E27",
|
|
4730
|
+
"QUOTER_KIND": 0,
|
|
4731
|
+
"ENABLED": true
|
|
4732
|
+
}
|
|
4733
|
+
],
|
|
4734
|
+
"UNISWAP_V2_ROUTER": "0x0000000000000000000000000000000000000000",
|
|
4735
|
+
"WETH": "0x4200000000000000000000000000000000000006",
|
|
4736
|
+
"V3_POOL_FEE": "10000",
|
|
4737
|
+
"TRADE_REFERRER_FEE_BPS": "1000",
|
|
4738
|
+
"CONTRACT_VERSION": "2.2.0",
|
|
4739
|
+
"V4_POOL_MANAGER": "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408",
|
|
4740
|
+
"V4_POSITION_MANAGER": "0x4B2C77d209D3405F41a037Ec6c77F7F5b8e2ca80",
|
|
4741
|
+
"QUOTER_V4": "0x4A6513c898fe1B2d0E78d3b0e0A4a151589B1cBa",
|
|
4742
|
+
"PERMIT2": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
4743
|
+
"UNIVERSAL_ROUTER": "0x492E6456D9528771018DeB9E87ef7750EF184104",
|
|
4744
|
+
"V4_LP_FEE": "20000",
|
|
4745
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
4746
|
+
"V4_LIQUIDITY_PROFILES": {
|
|
4747
|
+
"0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814": {
|
|
4748
|
+
"NAME": "U10_SINGLE_SIDED_OVERLAP_V1_SP200",
|
|
4749
|
+
"VERSION": 1,
|
|
4750
|
+
"ENCODED_PROFILE": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000027060000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002af80000000000000000000000000000000000000000000000000000000000005b68000000000000000000000000000000000000000000000000000000000001130000000000000000000000000000000000000000000000000000000000000149b000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000002af80000000000000000000000000000000000000000000000000000000000011300000000000000000000000000000000000000000000000000000000000001130000000000000000000000000000000000000000000000000000000000000197d000000000000000000000000000000000000000000000000000000000000197d0000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f4",
|
|
4751
|
+
"TICK_SPACING": 200,
|
|
4752
|
+
"TOKEN_ONLY_TICK_LOWER_DELTA": [
|
|
4753
|
+
0,
|
|
4754
|
+
11e3,
|
|
4755
|
+
23400,
|
|
4756
|
+
70400,
|
|
4757
|
+
84400
|
|
4758
|
+
],
|
|
4759
|
+
"TOKEN_ONLY_TICK_UPPER_DELTA": [
|
|
4760
|
+
11e3,
|
|
4761
|
+
70400,
|
|
4762
|
+
70400,
|
|
4763
|
+
104400,
|
|
4764
|
+
104400
|
|
4765
|
+
],
|
|
4766
|
+
"TOKEN_ONLY_POSITION_TOKEN_BPS": [
|
|
4767
|
+
1e3,
|
|
4768
|
+
5e3,
|
|
4769
|
+
1500,
|
|
4770
|
+
2e3,
|
|
4771
|
+
500
|
|
4772
|
+
],
|
|
4773
|
+
"PAIRED_POSITION_BPS": {
|
|
4774
|
+
"deep": 10,
|
|
4775
|
+
"main": 9990
|
|
4776
|
+
},
|
|
4777
|
+
"LABELS": [
|
|
4778
|
+
"lowerAbove\u2192130k",
|
|
4779
|
+
"130k\u219250m",
|
|
4780
|
+
"450k\u219250m",
|
|
4781
|
+
"50m\u21921p5b",
|
|
4782
|
+
"200m\u21921p5b"
|
|
4783
|
+
]
|
|
4784
|
+
}
|
|
4785
|
+
},
|
|
4786
|
+
"COLLATERAL_TEMPLATES": {
|
|
4787
|
+
"ETH": {
|
|
4788
|
+
"ID": "ETH_DEFAULT",
|
|
4789
|
+
"MODE": "DYNAMIC_ONLY",
|
|
4790
|
+
"COLLATERAL_TOKEN": "0x0000000000000000000000000000000000000000",
|
|
4791
|
+
"SYMBOL": "ETH",
|
|
4792
|
+
"DECIMALS": 18,
|
|
4793
|
+
"ENABLED": true,
|
|
4794
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4795
|
+
"VIRTUAL_TOKEN_RESERVES": "1088264899999999783900020736",
|
|
4796
|
+
"VIRTUAL_COLLATERAL_RESERVES": "902103736559999872",
|
|
4797
|
+
"FEE_BASIS_POINTS": "200",
|
|
4798
|
+
"FIXED_MIGRATION_FEE": "100000000000000000",
|
|
4799
|
+
"POOL_CREATION_FEE": "50000000000000000",
|
|
4800
|
+
"MIGRATION_FEE_BPS": 600,
|
|
4801
|
+
"FIRST_BUY_FEE": "1500000000000000",
|
|
4802
|
+
"MC_UPPER_LIMIT": "11835000000000000000",
|
|
4803
|
+
"MC_LOWER_LIMIT": "11795000000000000000",
|
|
4804
|
+
"TOKENS_MIGRATION_THRESHOLD": "799764393968807750154100378",
|
|
4805
|
+
"TARGET_ETH_COLLECTION_AMOUNT": "2500000000000000000",
|
|
4806
|
+
"TARGET_COLLECTION_AMOUNT": "2500000000000000000",
|
|
4807
|
+
"V4_LP_FEE": "20000",
|
|
4808
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
4809
|
+
"DEFAULT_TARGET_RAISE": "2500000000000000000",
|
|
4810
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
4811
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd3780fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd92e8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe81300000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffcced0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd36b8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffd6278fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe4a80fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecf5000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4812
|
+
},
|
|
4813
|
+
"USDC": {
|
|
4814
|
+
"ID": "USDC_DEFAULT",
|
|
4815
|
+
"MODE": "DYNAMIC_ONLY",
|
|
4816
|
+
"COLLATERAL_TOKEN": "0x108219E8D6A004A5B15D922FE1A42fd282601DcC",
|
|
4817
|
+
"SYMBOL": "USDC",
|
|
4818
|
+
"DECIMALS": 6,
|
|
4819
|
+
"TOKEN_SWAP": {
|
|
4820
|
+
"ENABLED": true,
|
|
4821
|
+
"DEX_KEY": "UNISWAP_V3",
|
|
4822
|
+
"V3_FEE": 500
|
|
4823
|
+
},
|
|
4824
|
+
"ENABLED": true,
|
|
4825
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4826
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
|
|
4827
|
+
"VIRTUAL_COLLATERAL_RESERVES": "2909090909",
|
|
4828
|
+
"FEE_BASIS_POINTS": "200",
|
|
4829
|
+
"FIXED_MIGRATION_FEE": "300000000",
|
|
4830
|
+
"POOL_CREATION_FEE": "200000000",
|
|
4831
|
+
"MIGRATION_FEE_BPS": 600,
|
|
4832
|
+
"FIRST_BUY_FEE": "5000000",
|
|
4833
|
+
"MC_UPPER_LIMIT": "37560000000",
|
|
4834
|
+
"MC_LOWER_LIMIT": "37500000000",
|
|
4835
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4836
|
+
"TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
|
|
4837
|
+
"TARGET_COLLECTION_AMOUNT": "8000000000",
|
|
4838
|
+
"V4_LP_FEE": "20000",
|
|
4839
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
4840
|
+
"DEFAULT_TARGET_RAISE": "8000000000",
|
|
4841
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
4842
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4843
|
+
},
|
|
4844
|
+
"SOL": {
|
|
4845
|
+
"ID": "SOL_DEFAULT",
|
|
4846
|
+
"MODE": "DYNAMIC_ONLY",
|
|
4847
|
+
"COLLATERAL_TOKEN": "0x62458b06DdD0E886dc26837dcd8C386ADD548317",
|
|
4848
|
+
"SYMBOL": "SOL",
|
|
4849
|
+
"DECIMALS": 9,
|
|
4850
|
+
"TOKEN_SWAP": {
|
|
4851
|
+
"ENABLED": true,
|
|
4852
|
+
"DEX_KEY": "UNISWAP_V3",
|
|
4853
|
+
"V3_FEE": 500
|
|
4854
|
+
},
|
|
4855
|
+
"ENABLED": true,
|
|
4856
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4857
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
|
|
4858
|
+
"VIRTUAL_COLLATERAL_RESERVES": "23272727272",
|
|
4859
|
+
"FEE_BASIS_POINTS": "200",
|
|
4860
|
+
"FIXED_MIGRATION_FEE": "2400000000",
|
|
4861
|
+
"POOL_CREATION_FEE": "1600000000",
|
|
4862
|
+
"MIGRATION_FEE_BPS": 600,
|
|
4863
|
+
"FIRST_BUY_FEE": "40000000",
|
|
4864
|
+
"MC_UPPER_LIMIT": "300480000003",
|
|
4865
|
+
"MC_LOWER_LIMIT": "300000000003",
|
|
4866
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4867
|
+
"TARGET_COLLECTION_AMOUNT": "64000000000",
|
|
4868
|
+
"V4_LP_FEE": "20000",
|
|
4869
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
4870
|
+
"DEFAULT_TARGET_RAISE": "64000000000",
|
|
4871
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
4872
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4873
|
+
},
|
|
4874
|
+
"MUSDC": {
|
|
4875
|
+
"ID": "MUSDC_DEFAULT",
|
|
4876
|
+
"MODE": "DYNAMIC_ONLY",
|
|
4877
|
+
"COLLATERAL_TOKEN": "0x4967BC4b61B3259856D1A925900263AB2B64F6de",
|
|
4878
|
+
"SYMBOL": "USDC",
|
|
4879
|
+
"DECIMALS": 6,
|
|
4880
|
+
"TOKEN_SWAP": {
|
|
4881
|
+
"ENABLED": true,
|
|
4882
|
+
"DEX": "V3",
|
|
4883
|
+
"V3_FEE": 500
|
|
4884
|
+
},
|
|
4885
|
+
"ENABLED": true,
|
|
4886
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4887
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022918",
|
|
4888
|
+
"VIRTUAL_COLLATERAL_RESERVES": "2909090909",
|
|
4889
|
+
"FEE_BASIS_POINTS": "200",
|
|
4890
|
+
"FIXED_MIGRATION_FEE": "300000000",
|
|
4891
|
+
"POOL_CREATION_FEE": "200000000",
|
|
4892
|
+
"MIGRATION_FEE_BPS": 600,
|
|
4893
|
+
"FIRST_BUY_FEE": "5000000",
|
|
4894
|
+
"MC_UPPER_LIMIT": "37560000000",
|
|
4895
|
+
"MC_LOWER_LIMIT": "37500000000",
|
|
4896
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4897
|
+
"TARGET_USDC_COLLECTION_AMOUNT": "8000000000",
|
|
4898
|
+
"TARGET_COLLECTION_AMOUNT": "8000000000",
|
|
4899
|
+
"V4_LP_FEE": "20000",
|
|
4900
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
4901
|
+
"DEFAULT_TARGET_RAISE": "8000000000",
|
|
4902
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
4903
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa3aa8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa9b88fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb89080000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9d2c0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa39e0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa6a50fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffb5320fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbd7f000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4904
|
+
},
|
|
4905
|
+
"MSOL": {
|
|
4906
|
+
"ID": "MSOL_DEFAULT",
|
|
4907
|
+
"MODE": "DYNAMIC_ONLY",
|
|
4908
|
+
"COLLATERAL_TOKEN": "0x887847e42F068df9D9C248B355ad84DbC7527070",
|
|
4909
|
+
"SYMBOL": "SOL",
|
|
4910
|
+
"DECIMALS": 9,
|
|
4911
|
+
"TOKEN_SWAP": {
|
|
4912
|
+
"ENABLED": true,
|
|
4913
|
+
"DEX": "V3",
|
|
4914
|
+
"V3_FEE": 500
|
|
4915
|
+
},
|
|
4916
|
+
"ENABLED": true,
|
|
4917
|
+
"TOTAL_SUPPLY": "1000000000000000000000000000",
|
|
4918
|
+
"VIRTUAL_TOKEN_RESERVES": "1090909090905000000000022917",
|
|
4919
|
+
"VIRTUAL_COLLATERAL_RESERVES": "23272727272",
|
|
4920
|
+
"FEE_BASIS_POINTS": "200",
|
|
4921
|
+
"FIXED_MIGRATION_FEE": "2400000000",
|
|
4922
|
+
"POOL_CREATION_FEE": "1600000000",
|
|
4923
|
+
"MIGRATION_FEE_BPS": 600,
|
|
4924
|
+
"FIRST_BUY_FEE": "40000000",
|
|
4925
|
+
"MC_UPPER_LIMIT": "300480000003",
|
|
4926
|
+
"MC_LOWER_LIMIT": "300000000003",
|
|
4927
|
+
"TOKENS_MIGRATION_THRESHOLD": "800000000000000000000000000",
|
|
4928
|
+
"TARGET_COLLECTION_AMOUNT": "64000000000",
|
|
4929
|
+
"V4_LP_FEE": "20000",
|
|
4930
|
+
"DEFAULT_PROFILE_ID": "0x56cc40852adcac48f8a9dd4a79fcfb3699ec8841c3a94fa5accc4a7d804b7814",
|
|
4931
|
+
"DEFAULT_TARGET_RAISE": "64000000000",
|
|
4932
|
+
"DEFAULT_SELL_BPS": 8e3,
|
|
4933
|
+
"V4_LIQUIDITY_CONFIG": "0x00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff27660fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8be8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffaecc8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbda480000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa2400fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa8b20fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffabb90fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffba460fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc2930fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc293000000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000138800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
|
4934
|
+
}
|
|
4935
|
+
}
|
|
2530
4936
|
}
|
|
2531
4937
|
}
|
|
2532
4938
|
};
|
|
@@ -2538,9 +4944,18 @@ var chainConfigs = {
|
|
|
2538
4944
|
basememeFactoryImplABI,
|
|
2539
4945
|
basememeFactoryImplAddress,
|
|
2540
4946
|
basememeFactoryImplConfig,
|
|
4947
|
+
basememeFactoryTradeHelperABI,
|
|
4948
|
+
basememeFactoryTradeHelperAddress,
|
|
4949
|
+
basememeFactoryTradeHelperConfig,
|
|
4950
|
+
basememeLockVaultABI,
|
|
4951
|
+
basememeLockVaultAddress,
|
|
4952
|
+
basememeLockVaultConfig,
|
|
2541
4953
|
basememeTokenABI,
|
|
2542
4954
|
basememeTokenAddress,
|
|
2543
4955
|
basememeTokenConfig,
|
|
4956
|
+
basememeTokenSwapABI,
|
|
4957
|
+
basememeTokenSwapAddress,
|
|
4958
|
+
basememeTokenSwapConfig,
|
|
2544
4959
|
bondingCurveABI,
|
|
2545
4960
|
bondingCurveAddress,
|
|
2546
4961
|
bondingCurveConfig,
|