basememe-v4-contracts-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 +165 -0
- package/chainConfigs.d.ts.map +1 -1
- package/index.js +746 -29
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/wagmiGenerated.d.ts +1626 -172
- package/wagmiGenerated.d.ts.map +1 -1
package/wagmiGenerated.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ export declare const basememeFactoryConfig: {
|
|
|
114
114
|
};
|
|
115
115
|
/**
|
|
116
116
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
117
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
117
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xA77f20116d3386b46105ea2623c50ffF53594ec7)
|
|
118
118
|
*/
|
|
119
119
|
export declare const basememeFactoryImplABI: readonly [{
|
|
120
120
|
readonly stateMutability: "nonpayable";
|
|
@@ -161,6 +161,76 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
161
161
|
}];
|
|
162
162
|
readonly name: "buyExactIn";
|
|
163
163
|
readonly outputs: readonly [];
|
|
164
|
+
}, {
|
|
165
|
+
readonly stateMutability: "payable";
|
|
166
|
+
readonly type: "function";
|
|
167
|
+
readonly inputs: readonly [{
|
|
168
|
+
readonly name: "_token";
|
|
169
|
+
readonly internalType: "address";
|
|
170
|
+
readonly type: "address";
|
|
171
|
+
}, {
|
|
172
|
+
readonly name: "_amountOutMin";
|
|
173
|
+
readonly internalType: "uint256";
|
|
174
|
+
readonly type: "uint256";
|
|
175
|
+
}, {
|
|
176
|
+
readonly name: "_tradeReferrer";
|
|
177
|
+
readonly internalType: "address";
|
|
178
|
+
readonly type: "address";
|
|
179
|
+
}, {
|
|
180
|
+
readonly name: "_to";
|
|
181
|
+
readonly internalType: "address";
|
|
182
|
+
readonly type: "address";
|
|
183
|
+
}];
|
|
184
|
+
readonly name: "buyExactInTo";
|
|
185
|
+
readonly outputs: readonly [];
|
|
186
|
+
}, {
|
|
187
|
+
readonly stateMutability: "payable";
|
|
188
|
+
readonly type: "function";
|
|
189
|
+
readonly inputs: readonly [{
|
|
190
|
+
readonly name: "_token";
|
|
191
|
+
readonly internalType: "address";
|
|
192
|
+
readonly type: "address";
|
|
193
|
+
}, {
|
|
194
|
+
readonly name: "_collateralAmountIn";
|
|
195
|
+
readonly internalType: "uint256";
|
|
196
|
+
readonly type: "uint256";
|
|
197
|
+
}, {
|
|
198
|
+
readonly name: "_amountOutMin";
|
|
199
|
+
readonly internalType: "uint256";
|
|
200
|
+
readonly type: "uint256";
|
|
201
|
+
}, {
|
|
202
|
+
readonly name: "_tradeReferrer";
|
|
203
|
+
readonly internalType: "address";
|
|
204
|
+
readonly type: "address";
|
|
205
|
+
}];
|
|
206
|
+
readonly name: "buyExactInWithCollateral";
|
|
207
|
+
readonly outputs: readonly [];
|
|
208
|
+
}, {
|
|
209
|
+
readonly stateMutability: "payable";
|
|
210
|
+
readonly type: "function";
|
|
211
|
+
readonly inputs: readonly [{
|
|
212
|
+
readonly name: "_token";
|
|
213
|
+
readonly internalType: "address";
|
|
214
|
+
readonly type: "address";
|
|
215
|
+
}, {
|
|
216
|
+
readonly name: "_collateralAmountIn";
|
|
217
|
+
readonly internalType: "uint256";
|
|
218
|
+
readonly type: "uint256";
|
|
219
|
+
}, {
|
|
220
|
+
readonly name: "_amountOutMin";
|
|
221
|
+
readonly internalType: "uint256";
|
|
222
|
+
readonly type: "uint256";
|
|
223
|
+
}, {
|
|
224
|
+
readonly name: "_tradeReferrer";
|
|
225
|
+
readonly internalType: "address";
|
|
226
|
+
readonly type: "address";
|
|
227
|
+
}, {
|
|
228
|
+
readonly name: "_to";
|
|
229
|
+
readonly internalType: "address";
|
|
230
|
+
readonly type: "address";
|
|
231
|
+
}];
|
|
232
|
+
readonly name: "buyExactInWithCollateralTo";
|
|
233
|
+
readonly outputs: readonly [];
|
|
164
234
|
}, {
|
|
165
235
|
readonly stateMutability: "payable";
|
|
166
236
|
readonly type: "function";
|
|
@@ -183,6 +253,32 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
183
253
|
}];
|
|
184
254
|
readonly name: "buyExactOut";
|
|
185
255
|
readonly outputs: readonly [];
|
|
256
|
+
}, {
|
|
257
|
+
readonly stateMutability: "payable";
|
|
258
|
+
readonly type: "function";
|
|
259
|
+
readonly inputs: readonly [{
|
|
260
|
+
readonly name: "_token";
|
|
261
|
+
readonly internalType: "address";
|
|
262
|
+
readonly type: "address";
|
|
263
|
+
}, {
|
|
264
|
+
readonly name: "_tokenAmount";
|
|
265
|
+
readonly internalType: "uint256";
|
|
266
|
+
readonly type: "uint256";
|
|
267
|
+
}, {
|
|
268
|
+
readonly name: "_maxCollateralAmount";
|
|
269
|
+
readonly internalType: "uint256";
|
|
270
|
+
readonly type: "uint256";
|
|
271
|
+
}, {
|
|
272
|
+
readonly name: "_tradeReferrer";
|
|
273
|
+
readonly internalType: "address";
|
|
274
|
+
readonly type: "address";
|
|
275
|
+
}, {
|
|
276
|
+
readonly name: "_to";
|
|
277
|
+
readonly internalType: "address";
|
|
278
|
+
readonly type: "address";
|
|
279
|
+
}];
|
|
280
|
+
readonly name: "buyExactOutTo";
|
|
281
|
+
readonly outputs: readonly [];
|
|
186
282
|
}, {
|
|
187
283
|
readonly stateMutability: "view";
|
|
188
284
|
readonly type: "function";
|
|
@@ -203,6 +299,95 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
203
299
|
readonly internalType: "bytes";
|
|
204
300
|
readonly type: "bytes";
|
|
205
301
|
}];
|
|
302
|
+
}, {
|
|
303
|
+
readonly stateMutability: "view";
|
|
304
|
+
readonly type: "function";
|
|
305
|
+
readonly inputs: readonly [{
|
|
306
|
+
readonly name: "";
|
|
307
|
+
readonly internalType: "address";
|
|
308
|
+
readonly type: "address";
|
|
309
|
+
}];
|
|
310
|
+
readonly name: "collateralConfigs";
|
|
311
|
+
readonly outputs: readonly [{
|
|
312
|
+
readonly name: "curveParams";
|
|
313
|
+
readonly internalType: "struct IBondingCurve.CurveParams";
|
|
314
|
+
readonly type: "tuple";
|
|
315
|
+
readonly components: readonly [{
|
|
316
|
+
readonly name: "initialTokenSupply";
|
|
317
|
+
readonly internalType: "uint256";
|
|
318
|
+
readonly type: "uint256";
|
|
319
|
+
}, {
|
|
320
|
+
readonly name: "virtualCollateralReservesInitial";
|
|
321
|
+
readonly internalType: "uint256";
|
|
322
|
+
readonly type: "uint256";
|
|
323
|
+
}, {
|
|
324
|
+
readonly name: "virtualTokenReservesInitial";
|
|
325
|
+
readonly internalType: "uint256";
|
|
326
|
+
readonly type: "uint256";
|
|
327
|
+
}, {
|
|
328
|
+
readonly name: "feeBPS";
|
|
329
|
+
readonly internalType: "uint256";
|
|
330
|
+
readonly type: "uint256";
|
|
331
|
+
}, {
|
|
332
|
+
readonly name: "mcLowerLimit";
|
|
333
|
+
readonly internalType: "uint256";
|
|
334
|
+
readonly type: "uint256";
|
|
335
|
+
}, {
|
|
336
|
+
readonly name: "mcUpperLimit";
|
|
337
|
+
readonly internalType: "uint256";
|
|
338
|
+
readonly type: "uint256";
|
|
339
|
+
}, {
|
|
340
|
+
readonly name: "tokensMigrationThreshold";
|
|
341
|
+
readonly internalType: "uint256";
|
|
342
|
+
readonly type: "uint256";
|
|
343
|
+
}, {
|
|
344
|
+
readonly name: "fixedMigrationFee";
|
|
345
|
+
readonly internalType: "uint256";
|
|
346
|
+
readonly type: "uint256";
|
|
347
|
+
}, {
|
|
348
|
+
readonly name: "poolCreationFee";
|
|
349
|
+
readonly internalType: "uint256";
|
|
350
|
+
readonly type: "uint256";
|
|
351
|
+
}, {
|
|
352
|
+
readonly name: "firstBuyFee";
|
|
353
|
+
readonly internalType: "uint256";
|
|
354
|
+
readonly type: "uint256";
|
|
355
|
+
}, {
|
|
356
|
+
readonly name: "targetCollectionAmount";
|
|
357
|
+
readonly internalType: "uint256";
|
|
358
|
+
readonly type: "uint256";
|
|
359
|
+
}, {
|
|
360
|
+
readonly name: "collateralToken";
|
|
361
|
+
readonly internalType: "address";
|
|
362
|
+
readonly type: "address";
|
|
363
|
+
}, {
|
|
364
|
+
readonly name: "v4LpFee";
|
|
365
|
+
readonly internalType: "uint24";
|
|
366
|
+
readonly type: "uint24";
|
|
367
|
+
}];
|
|
368
|
+
}, {
|
|
369
|
+
readonly name: "v4LiquidityConfig";
|
|
370
|
+
readonly internalType: "bytes";
|
|
371
|
+
readonly type: "bytes";
|
|
372
|
+
}, {
|
|
373
|
+
readonly name: "v4ConfigVersion";
|
|
374
|
+
readonly internalType: "uint8";
|
|
375
|
+
readonly type: "uint8";
|
|
376
|
+
}];
|
|
377
|
+
}, {
|
|
378
|
+
readonly stateMutability: "view";
|
|
379
|
+
readonly type: "function";
|
|
380
|
+
readonly inputs: readonly [{
|
|
381
|
+
readonly name: "";
|
|
382
|
+
readonly internalType: "address";
|
|
383
|
+
readonly type: "address";
|
|
384
|
+
}];
|
|
385
|
+
readonly name: "collateralEnabled";
|
|
386
|
+
readonly outputs: readonly [{
|
|
387
|
+
readonly name: "";
|
|
388
|
+
readonly internalType: "bool";
|
|
389
|
+
readonly type: "bool";
|
|
390
|
+
}];
|
|
206
391
|
}, {
|
|
207
392
|
readonly stateMutability: "pure";
|
|
208
393
|
readonly type: "function";
|
|
@@ -389,6 +574,106 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
389
574
|
readonly internalType: "address";
|
|
390
575
|
readonly type: "address";
|
|
391
576
|
}];
|
|
577
|
+
}, {
|
|
578
|
+
readonly stateMutability: "payable";
|
|
579
|
+
readonly type: "function";
|
|
580
|
+
readonly inputs: readonly [{
|
|
581
|
+
readonly name: "_name";
|
|
582
|
+
readonly internalType: "string";
|
|
583
|
+
readonly type: "string";
|
|
584
|
+
}, {
|
|
585
|
+
readonly name: "_symbol";
|
|
586
|
+
readonly internalType: "string";
|
|
587
|
+
readonly type: "string";
|
|
588
|
+
}, {
|
|
589
|
+
readonly name: "_tokenURI";
|
|
590
|
+
readonly internalType: "string";
|
|
591
|
+
readonly type: "string";
|
|
592
|
+
}, {
|
|
593
|
+
readonly name: "_nonce";
|
|
594
|
+
readonly internalType: "uint256";
|
|
595
|
+
readonly type: "uint256";
|
|
596
|
+
}, {
|
|
597
|
+
readonly name: "_collateralAmountIn";
|
|
598
|
+
readonly internalType: "uint256";
|
|
599
|
+
readonly type: "uint256";
|
|
600
|
+
}, {
|
|
601
|
+
readonly name: "_tokenAmountMin";
|
|
602
|
+
readonly internalType: "uint256";
|
|
603
|
+
readonly type: "uint256";
|
|
604
|
+
}, {
|
|
605
|
+
readonly name: "_signature";
|
|
606
|
+
readonly internalType: "bytes";
|
|
607
|
+
readonly type: "bytes";
|
|
608
|
+
}, {
|
|
609
|
+
readonly name: "_platformReferrer";
|
|
610
|
+
readonly internalType: "address";
|
|
611
|
+
readonly type: "address";
|
|
612
|
+
}, {
|
|
613
|
+
readonly name: "_payoutRecipient";
|
|
614
|
+
readonly internalType: "address";
|
|
615
|
+
readonly type: "address";
|
|
616
|
+
}, {
|
|
617
|
+
readonly name: "_tokenSalt";
|
|
618
|
+
readonly internalType: "bytes32";
|
|
619
|
+
readonly type: "bytes32";
|
|
620
|
+
}, {
|
|
621
|
+
readonly name: "_collateralToken";
|
|
622
|
+
readonly internalType: "address";
|
|
623
|
+
readonly type: "address";
|
|
624
|
+
}];
|
|
625
|
+
readonly name: "createBasememeTokenAndBuyWithCollateral";
|
|
626
|
+
readonly outputs: readonly [{
|
|
627
|
+
readonly name: "";
|
|
628
|
+
readonly internalType: "address";
|
|
629
|
+
readonly type: "address";
|
|
630
|
+
}];
|
|
631
|
+
}, {
|
|
632
|
+
readonly stateMutability: "nonpayable";
|
|
633
|
+
readonly type: "function";
|
|
634
|
+
readonly inputs: readonly [{
|
|
635
|
+
readonly name: "_name";
|
|
636
|
+
readonly internalType: "string";
|
|
637
|
+
readonly type: "string";
|
|
638
|
+
}, {
|
|
639
|
+
readonly name: "_symbol";
|
|
640
|
+
readonly internalType: "string";
|
|
641
|
+
readonly type: "string";
|
|
642
|
+
}, {
|
|
643
|
+
readonly name: "_tokenURI";
|
|
644
|
+
readonly internalType: "string";
|
|
645
|
+
readonly type: "string";
|
|
646
|
+
}, {
|
|
647
|
+
readonly name: "_nonce";
|
|
648
|
+
readonly internalType: "uint256";
|
|
649
|
+
readonly type: "uint256";
|
|
650
|
+
}, {
|
|
651
|
+
readonly name: "_signature";
|
|
652
|
+
readonly internalType: "bytes";
|
|
653
|
+
readonly type: "bytes";
|
|
654
|
+
}, {
|
|
655
|
+
readonly name: "_platformReferrer";
|
|
656
|
+
readonly internalType: "address";
|
|
657
|
+
readonly type: "address";
|
|
658
|
+
}, {
|
|
659
|
+
readonly name: "_payoutRecipient";
|
|
660
|
+
readonly internalType: "address";
|
|
661
|
+
readonly type: "address";
|
|
662
|
+
}, {
|
|
663
|
+
readonly name: "_tokenSalt";
|
|
664
|
+
readonly internalType: "bytes32";
|
|
665
|
+
readonly type: "bytes32";
|
|
666
|
+
}, {
|
|
667
|
+
readonly name: "_collateralToken";
|
|
668
|
+
readonly internalType: "address";
|
|
669
|
+
readonly type: "address";
|
|
670
|
+
}];
|
|
671
|
+
readonly name: "createBasememeTokenWithCollateral";
|
|
672
|
+
readonly outputs: readonly [{
|
|
673
|
+
readonly name: "";
|
|
674
|
+
readonly internalType: "address";
|
|
675
|
+
readonly type: "address";
|
|
676
|
+
}];
|
|
392
677
|
}, {
|
|
393
678
|
readonly stateMutability: "view";
|
|
394
679
|
readonly type: "function";
|
|
@@ -418,14 +703,36 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
418
703
|
readonly name: "_bondingCurveImplementation";
|
|
419
704
|
readonly internalType: "address";
|
|
420
705
|
readonly type: "address";
|
|
706
|
+
}, {
|
|
707
|
+
readonly name: "_chainV4LiquidityConfig";
|
|
708
|
+
readonly internalType: "bytes";
|
|
709
|
+
readonly type: "bytes";
|
|
710
|
+
}, {
|
|
711
|
+
readonly name: "_chainV4ConfigVersion";
|
|
712
|
+
readonly internalType: "uint8";
|
|
713
|
+
readonly type: "uint8";
|
|
421
714
|
}];
|
|
422
715
|
readonly name: "initialize";
|
|
423
716
|
readonly outputs: readonly [];
|
|
424
717
|
}, {
|
|
425
718
|
readonly stateMutability: "view";
|
|
426
719
|
readonly type: "function";
|
|
427
|
-
readonly inputs: readonly [];
|
|
428
|
-
readonly name: "isSignatureEnabled";
|
|
720
|
+
readonly inputs: readonly [];
|
|
721
|
+
readonly name: "isSignatureEnabled";
|
|
722
|
+
readonly outputs: readonly [{
|
|
723
|
+
readonly name: "";
|
|
724
|
+
readonly internalType: "bool";
|
|
725
|
+
readonly type: "bool";
|
|
726
|
+
}];
|
|
727
|
+
}, {
|
|
728
|
+
readonly stateMutability: "view";
|
|
729
|
+
readonly type: "function";
|
|
730
|
+
readonly inputs: readonly [{
|
|
731
|
+
readonly name: "";
|
|
732
|
+
readonly internalType: "address";
|
|
733
|
+
readonly type: "address";
|
|
734
|
+
}];
|
|
735
|
+
readonly name: "isTrustedCaller";
|
|
429
736
|
readonly outputs: readonly [{
|
|
430
737
|
readonly name: "";
|
|
431
738
|
readonly internalType: "bool";
|
|
@@ -517,6 +824,32 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
517
824
|
}];
|
|
518
825
|
readonly name: "sellExactIn";
|
|
519
826
|
readonly outputs: readonly [];
|
|
827
|
+
}, {
|
|
828
|
+
readonly stateMutability: "nonpayable";
|
|
829
|
+
readonly type: "function";
|
|
830
|
+
readonly inputs: readonly [{
|
|
831
|
+
readonly name: "_token";
|
|
832
|
+
readonly internalType: "address";
|
|
833
|
+
readonly type: "address";
|
|
834
|
+
}, {
|
|
835
|
+
readonly name: "_from";
|
|
836
|
+
readonly internalType: "address";
|
|
837
|
+
readonly type: "address";
|
|
838
|
+
}, {
|
|
839
|
+
readonly name: "_tokenAmount";
|
|
840
|
+
readonly internalType: "uint256";
|
|
841
|
+
readonly type: "uint256";
|
|
842
|
+
}, {
|
|
843
|
+
readonly name: "_amountCollateralMin";
|
|
844
|
+
readonly internalType: "uint256";
|
|
845
|
+
readonly type: "uint256";
|
|
846
|
+
}, {
|
|
847
|
+
readonly name: "_tradeReferrer";
|
|
848
|
+
readonly internalType: "address";
|
|
849
|
+
readonly type: "address";
|
|
850
|
+
}];
|
|
851
|
+
readonly name: "sellExactInFrom";
|
|
852
|
+
readonly outputs: readonly [];
|
|
520
853
|
}, {
|
|
521
854
|
readonly stateMutability: "nonpayable";
|
|
522
855
|
readonly type: "function";
|
|
@@ -539,6 +872,32 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
539
872
|
}];
|
|
540
873
|
readonly name: "sellExactOut";
|
|
541
874
|
readonly outputs: readonly [];
|
|
875
|
+
}, {
|
|
876
|
+
readonly stateMutability: "nonpayable";
|
|
877
|
+
readonly type: "function";
|
|
878
|
+
readonly inputs: readonly [{
|
|
879
|
+
readonly name: "_token";
|
|
880
|
+
readonly internalType: "address";
|
|
881
|
+
readonly type: "address";
|
|
882
|
+
}, {
|
|
883
|
+
readonly name: "_from";
|
|
884
|
+
readonly internalType: "address";
|
|
885
|
+
readonly type: "address";
|
|
886
|
+
}, {
|
|
887
|
+
readonly name: "_tokenAmountMax";
|
|
888
|
+
readonly internalType: "uint256";
|
|
889
|
+
readonly type: "uint256";
|
|
890
|
+
}, {
|
|
891
|
+
readonly name: "_amountCollateral";
|
|
892
|
+
readonly internalType: "uint256";
|
|
893
|
+
readonly type: "uint256";
|
|
894
|
+
}, {
|
|
895
|
+
readonly name: "_tradeReferrer";
|
|
896
|
+
readonly internalType: "address";
|
|
897
|
+
readonly type: "address";
|
|
898
|
+
}];
|
|
899
|
+
readonly name: "sellExactOutFrom";
|
|
900
|
+
readonly outputs: readonly [];
|
|
542
901
|
}, {
|
|
543
902
|
readonly stateMutability: "nonpayable";
|
|
544
903
|
readonly type: "function";
|
|
@@ -549,6 +908,95 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
549
908
|
}];
|
|
550
909
|
readonly name: "setBondingCurveImplementation";
|
|
551
910
|
readonly outputs: readonly [];
|
|
911
|
+
}, {
|
|
912
|
+
readonly stateMutability: "nonpayable";
|
|
913
|
+
readonly type: "function";
|
|
914
|
+
readonly inputs: readonly [{
|
|
915
|
+
readonly name: "_collateralToken";
|
|
916
|
+
readonly internalType: "address";
|
|
917
|
+
readonly type: "address";
|
|
918
|
+
}, {
|
|
919
|
+
readonly name: "params";
|
|
920
|
+
readonly internalType: "struct IBondingCurve.CurveParams";
|
|
921
|
+
readonly type: "tuple";
|
|
922
|
+
readonly components: readonly [{
|
|
923
|
+
readonly name: "initialTokenSupply";
|
|
924
|
+
readonly internalType: "uint256";
|
|
925
|
+
readonly type: "uint256";
|
|
926
|
+
}, {
|
|
927
|
+
readonly name: "virtualCollateralReservesInitial";
|
|
928
|
+
readonly internalType: "uint256";
|
|
929
|
+
readonly type: "uint256";
|
|
930
|
+
}, {
|
|
931
|
+
readonly name: "virtualTokenReservesInitial";
|
|
932
|
+
readonly internalType: "uint256";
|
|
933
|
+
readonly type: "uint256";
|
|
934
|
+
}, {
|
|
935
|
+
readonly name: "feeBPS";
|
|
936
|
+
readonly internalType: "uint256";
|
|
937
|
+
readonly type: "uint256";
|
|
938
|
+
}, {
|
|
939
|
+
readonly name: "mcLowerLimit";
|
|
940
|
+
readonly internalType: "uint256";
|
|
941
|
+
readonly type: "uint256";
|
|
942
|
+
}, {
|
|
943
|
+
readonly name: "mcUpperLimit";
|
|
944
|
+
readonly internalType: "uint256";
|
|
945
|
+
readonly type: "uint256";
|
|
946
|
+
}, {
|
|
947
|
+
readonly name: "tokensMigrationThreshold";
|
|
948
|
+
readonly internalType: "uint256";
|
|
949
|
+
readonly type: "uint256";
|
|
950
|
+
}, {
|
|
951
|
+
readonly name: "fixedMigrationFee";
|
|
952
|
+
readonly internalType: "uint256";
|
|
953
|
+
readonly type: "uint256";
|
|
954
|
+
}, {
|
|
955
|
+
readonly name: "poolCreationFee";
|
|
956
|
+
readonly internalType: "uint256";
|
|
957
|
+
readonly type: "uint256";
|
|
958
|
+
}, {
|
|
959
|
+
readonly name: "firstBuyFee";
|
|
960
|
+
readonly internalType: "uint256";
|
|
961
|
+
readonly type: "uint256";
|
|
962
|
+
}, {
|
|
963
|
+
readonly name: "targetCollectionAmount";
|
|
964
|
+
readonly internalType: "uint256";
|
|
965
|
+
readonly type: "uint256";
|
|
966
|
+
}, {
|
|
967
|
+
readonly name: "collateralToken";
|
|
968
|
+
readonly internalType: "address";
|
|
969
|
+
readonly type: "address";
|
|
970
|
+
}, {
|
|
971
|
+
readonly name: "v4LpFee";
|
|
972
|
+
readonly internalType: "uint24";
|
|
973
|
+
readonly type: "uint24";
|
|
974
|
+
}];
|
|
975
|
+
}, {
|
|
976
|
+
readonly name: "v4LiquidityConfig";
|
|
977
|
+
readonly internalType: "bytes";
|
|
978
|
+
readonly type: "bytes";
|
|
979
|
+
}, {
|
|
980
|
+
readonly name: "v4ConfigVersion";
|
|
981
|
+
readonly internalType: "uint8";
|
|
982
|
+
readonly type: "uint8";
|
|
983
|
+
}];
|
|
984
|
+
readonly name: "setCollateralConfig";
|
|
985
|
+
readonly outputs: readonly [];
|
|
986
|
+
}, {
|
|
987
|
+
readonly stateMutability: "nonpayable";
|
|
988
|
+
readonly type: "function";
|
|
989
|
+
readonly inputs: readonly [{
|
|
990
|
+
readonly name: "_collateralToken";
|
|
991
|
+
readonly internalType: "address";
|
|
992
|
+
readonly type: "address";
|
|
993
|
+
}, {
|
|
994
|
+
readonly name: "enabled";
|
|
995
|
+
readonly internalType: "bool";
|
|
996
|
+
readonly type: "bool";
|
|
997
|
+
}];
|
|
998
|
+
readonly name: "setCollateralEnabled";
|
|
999
|
+
readonly outputs: readonly [];
|
|
552
1000
|
}, {
|
|
553
1001
|
readonly stateMutability: "nonpayable";
|
|
554
1002
|
readonly type: "function";
|
|
@@ -569,6 +1017,20 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
569
1017
|
}];
|
|
570
1018
|
readonly name: "setSigner";
|
|
571
1019
|
readonly outputs: readonly [];
|
|
1020
|
+
}, {
|
|
1021
|
+
readonly stateMutability: "nonpayable";
|
|
1022
|
+
readonly type: "function";
|
|
1023
|
+
readonly inputs: readonly [{
|
|
1024
|
+
readonly name: "caller";
|
|
1025
|
+
readonly internalType: "address";
|
|
1026
|
+
readonly type: "address";
|
|
1027
|
+
}, {
|
|
1028
|
+
readonly name: "allowed";
|
|
1029
|
+
readonly internalType: "bool";
|
|
1030
|
+
readonly type: "bool";
|
|
1031
|
+
}];
|
|
1032
|
+
readonly name: "setTrustedCaller";
|
|
1033
|
+
readonly outputs: readonly [];
|
|
572
1034
|
}, {
|
|
573
1035
|
readonly stateMutability: "nonpayable";
|
|
574
1036
|
readonly type: "function";
|
|
@@ -607,6 +1069,20 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
607
1069
|
readonly internalType: "address";
|
|
608
1070
|
readonly type: "address";
|
|
609
1071
|
}];
|
|
1072
|
+
}, {
|
|
1073
|
+
readonly stateMutability: "view";
|
|
1074
|
+
readonly type: "function";
|
|
1075
|
+
readonly inputs: readonly [{
|
|
1076
|
+
readonly name: "";
|
|
1077
|
+
readonly internalType: "address";
|
|
1078
|
+
readonly type: "address";
|
|
1079
|
+
}];
|
|
1080
|
+
readonly name: "tokenToCollateralToken";
|
|
1081
|
+
readonly outputs: readonly [{
|
|
1082
|
+
readonly name: "";
|
|
1083
|
+
readonly internalType: "address";
|
|
1084
|
+
readonly type: "address";
|
|
1085
|
+
}];
|
|
610
1086
|
}, {
|
|
611
1087
|
readonly stateMutability: "nonpayable";
|
|
612
1088
|
readonly type: "function";
|
|
@@ -691,6 +1167,41 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
691
1167
|
readonly indexed: false;
|
|
692
1168
|
}];
|
|
693
1169
|
readonly name: "Buy";
|
|
1170
|
+
}, {
|
|
1171
|
+
readonly type: "event";
|
|
1172
|
+
readonly anonymous: false;
|
|
1173
|
+
readonly inputs: readonly [{
|
|
1174
|
+
readonly name: "caller";
|
|
1175
|
+
readonly internalType: "address";
|
|
1176
|
+
readonly type: "address";
|
|
1177
|
+
readonly indexed: true;
|
|
1178
|
+
}, {
|
|
1179
|
+
readonly name: "recipient";
|
|
1180
|
+
readonly internalType: "address";
|
|
1181
|
+
readonly type: "address";
|
|
1182
|
+
readonly indexed: true;
|
|
1183
|
+
}, {
|
|
1184
|
+
readonly name: "token";
|
|
1185
|
+
readonly internalType: "address";
|
|
1186
|
+
readonly type: "address";
|
|
1187
|
+
readonly indexed: true;
|
|
1188
|
+
}];
|
|
1189
|
+
readonly name: "BuyRecipient";
|
|
1190
|
+
}, {
|
|
1191
|
+
readonly type: "event";
|
|
1192
|
+
readonly anonymous: false;
|
|
1193
|
+
readonly inputs: readonly [{
|
|
1194
|
+
readonly name: "collateralToken";
|
|
1195
|
+
readonly internalType: "address";
|
|
1196
|
+
readonly type: "address";
|
|
1197
|
+
readonly indexed: true;
|
|
1198
|
+
}, {
|
|
1199
|
+
readonly name: "enabled";
|
|
1200
|
+
readonly internalType: "bool";
|
|
1201
|
+
readonly type: "bool";
|
|
1202
|
+
readonly indexed: false;
|
|
1203
|
+
}];
|
|
1204
|
+
readonly name: "CollateralEnabledUpdated";
|
|
694
1205
|
}, {
|
|
695
1206
|
readonly type: "event";
|
|
696
1207
|
readonly anonymous: false;
|
|
@@ -755,62 +1266,142 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
755
1266
|
readonly type: "address";
|
|
756
1267
|
readonly indexed: false;
|
|
757
1268
|
}, {
|
|
758
|
-
readonly name: "bondingCurve";
|
|
759
|
-
readonly internalType: "address";
|
|
760
|
-
readonly type: "address";
|
|
1269
|
+
readonly name: "bondingCurve";
|
|
1270
|
+
readonly internalType: "address";
|
|
1271
|
+
readonly type: "address";
|
|
1272
|
+
readonly indexed: false;
|
|
1273
|
+
}, {
|
|
1274
|
+
readonly name: "creator";
|
|
1275
|
+
readonly internalType: "address";
|
|
1276
|
+
readonly type: "address";
|
|
1277
|
+
readonly indexed: false;
|
|
1278
|
+
}, {
|
|
1279
|
+
readonly name: "signature";
|
|
1280
|
+
readonly internalType: "bytes";
|
|
1281
|
+
readonly type: "bytes";
|
|
1282
|
+
readonly indexed: false;
|
|
1283
|
+
}, {
|
|
1284
|
+
readonly name: "platformReferrer";
|
|
1285
|
+
readonly internalType: "address";
|
|
1286
|
+
readonly type: "address";
|
|
1287
|
+
readonly indexed: false;
|
|
1288
|
+
}, {
|
|
1289
|
+
readonly name: "payoutRecipient";
|
|
1290
|
+
readonly internalType: "address";
|
|
1291
|
+
readonly type: "address";
|
|
1292
|
+
readonly indexed: false;
|
|
1293
|
+
}, {
|
|
1294
|
+
readonly name: "owner";
|
|
1295
|
+
readonly internalType: "address";
|
|
1296
|
+
readonly type: "address";
|
|
1297
|
+
readonly indexed: false;
|
|
1298
|
+
}, {
|
|
1299
|
+
readonly name: "nonce";
|
|
1300
|
+
readonly internalType: "uint256";
|
|
1301
|
+
readonly type: "uint256";
|
|
1302
|
+
readonly indexed: false;
|
|
1303
|
+
}, {
|
|
1304
|
+
readonly name: "name";
|
|
1305
|
+
readonly internalType: "string";
|
|
1306
|
+
readonly type: "string";
|
|
1307
|
+
readonly indexed: false;
|
|
1308
|
+
}, {
|
|
1309
|
+
readonly name: "symbol";
|
|
1310
|
+
readonly internalType: "string";
|
|
1311
|
+
readonly type: "string";
|
|
1312
|
+
readonly indexed: false;
|
|
1313
|
+
}, {
|
|
1314
|
+
readonly name: "tokenURI";
|
|
1315
|
+
readonly internalType: "string";
|
|
1316
|
+
readonly type: "string";
|
|
1317
|
+
readonly indexed: false;
|
|
1318
|
+
}, {
|
|
1319
|
+
readonly name: "version";
|
|
1320
|
+
readonly internalType: "string";
|
|
1321
|
+
readonly type: "string";
|
|
1322
|
+
readonly indexed: false;
|
|
1323
|
+
}];
|
|
1324
|
+
readonly name: "NewBasememeToken";
|
|
1325
|
+
}, {
|
|
1326
|
+
readonly type: "event";
|
|
1327
|
+
readonly anonymous: false;
|
|
1328
|
+
readonly inputs: readonly [{
|
|
1329
|
+
readonly name: "addr";
|
|
1330
|
+
readonly internalType: "address";
|
|
1331
|
+
readonly type: "address";
|
|
1332
|
+
readonly indexed: true;
|
|
1333
|
+
}, {
|
|
1334
|
+
readonly name: "bondingCurve";
|
|
1335
|
+
readonly internalType: "address";
|
|
1336
|
+
readonly type: "address";
|
|
1337
|
+
readonly indexed: true;
|
|
1338
|
+
}, {
|
|
1339
|
+
readonly name: "initialTokenSupply";
|
|
1340
|
+
readonly internalType: "uint256";
|
|
1341
|
+
readonly type: "uint256";
|
|
1342
|
+
readonly indexed: false;
|
|
1343
|
+
}, {
|
|
1344
|
+
readonly name: "virtualCollateralReservesInitial";
|
|
1345
|
+
readonly internalType: "uint256";
|
|
1346
|
+
readonly type: "uint256";
|
|
1347
|
+
readonly indexed: false;
|
|
1348
|
+
}, {
|
|
1349
|
+
readonly name: "virtualTokenReservesInitial";
|
|
1350
|
+
readonly internalType: "uint256";
|
|
1351
|
+
readonly type: "uint256";
|
|
761
1352
|
readonly indexed: false;
|
|
762
1353
|
}, {
|
|
763
|
-
readonly name: "
|
|
764
|
-
readonly internalType: "
|
|
765
|
-
readonly type: "
|
|
1354
|
+
readonly name: "feeBPS";
|
|
1355
|
+
readonly internalType: "uint256";
|
|
1356
|
+
readonly type: "uint256";
|
|
766
1357
|
readonly indexed: false;
|
|
767
1358
|
}, {
|
|
768
|
-
readonly name: "
|
|
769
|
-
readonly internalType: "
|
|
770
|
-
readonly type: "
|
|
1359
|
+
readonly name: "mcLowerLimit";
|
|
1360
|
+
readonly internalType: "uint256";
|
|
1361
|
+
readonly type: "uint256";
|
|
771
1362
|
readonly indexed: false;
|
|
772
1363
|
}, {
|
|
773
|
-
readonly name: "
|
|
774
|
-
readonly internalType: "
|
|
775
|
-
readonly type: "
|
|
1364
|
+
readonly name: "mcUpperLimit";
|
|
1365
|
+
readonly internalType: "uint256";
|
|
1366
|
+
readonly type: "uint256";
|
|
776
1367
|
readonly indexed: false;
|
|
777
1368
|
}, {
|
|
778
|
-
readonly name: "
|
|
779
|
-
readonly internalType: "
|
|
780
|
-
readonly type: "
|
|
1369
|
+
readonly name: "tokensMigrationThreshold";
|
|
1370
|
+
readonly internalType: "uint256";
|
|
1371
|
+
readonly type: "uint256";
|
|
781
1372
|
readonly indexed: false;
|
|
782
1373
|
}, {
|
|
783
|
-
readonly name: "
|
|
784
|
-
readonly internalType: "
|
|
785
|
-
readonly type: "
|
|
1374
|
+
readonly name: "fixedMigrationFee";
|
|
1375
|
+
readonly internalType: "uint256";
|
|
1376
|
+
readonly type: "uint256";
|
|
786
1377
|
readonly indexed: false;
|
|
787
1378
|
}, {
|
|
788
|
-
readonly name: "
|
|
1379
|
+
readonly name: "poolCreationFee";
|
|
789
1380
|
readonly internalType: "uint256";
|
|
790
1381
|
readonly type: "uint256";
|
|
791
1382
|
readonly indexed: false;
|
|
792
1383
|
}, {
|
|
793
|
-
readonly name: "
|
|
794
|
-
readonly internalType: "
|
|
795
|
-
readonly type: "
|
|
1384
|
+
readonly name: "firstBuyFee";
|
|
1385
|
+
readonly internalType: "uint256";
|
|
1386
|
+
readonly type: "uint256";
|
|
796
1387
|
readonly indexed: false;
|
|
797
1388
|
}, {
|
|
798
|
-
readonly name: "
|
|
799
|
-
readonly internalType: "
|
|
800
|
-
readonly type: "
|
|
1389
|
+
readonly name: "targetCollectionAmount";
|
|
1390
|
+
readonly internalType: "uint256";
|
|
1391
|
+
readonly type: "uint256";
|
|
801
1392
|
readonly indexed: false;
|
|
802
1393
|
}, {
|
|
803
|
-
readonly name: "
|
|
804
|
-
readonly internalType: "
|
|
805
|
-
readonly type: "
|
|
1394
|
+
readonly name: "collateralToken";
|
|
1395
|
+
readonly internalType: "address";
|
|
1396
|
+
readonly type: "address";
|
|
806
1397
|
readonly indexed: false;
|
|
807
1398
|
}, {
|
|
808
|
-
readonly name: "
|
|
809
|
-
readonly internalType: "
|
|
810
|
-
readonly type: "
|
|
1399
|
+
readonly name: "v4LpFee";
|
|
1400
|
+
readonly internalType: "uint24";
|
|
1401
|
+
readonly type: "uint24";
|
|
811
1402
|
readonly indexed: false;
|
|
812
1403
|
}];
|
|
813
|
-
readonly name: "
|
|
1404
|
+
readonly name: "NewBasememeTokenCurveParams";
|
|
814
1405
|
}, {
|
|
815
1406
|
readonly type: "event";
|
|
816
1407
|
readonly anonymous: false;
|
|
@@ -881,6 +1472,41 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
881
1472
|
readonly indexed: false;
|
|
882
1473
|
}];
|
|
883
1474
|
readonly name: "Sell";
|
|
1475
|
+
}, {
|
|
1476
|
+
readonly type: "event";
|
|
1477
|
+
readonly anonymous: false;
|
|
1478
|
+
readonly inputs: readonly [{
|
|
1479
|
+
readonly name: "caller";
|
|
1480
|
+
readonly internalType: "address";
|
|
1481
|
+
readonly type: "address";
|
|
1482
|
+
readonly indexed: true;
|
|
1483
|
+
}, {
|
|
1484
|
+
readonly name: "recipient";
|
|
1485
|
+
readonly internalType: "address";
|
|
1486
|
+
readonly type: "address";
|
|
1487
|
+
readonly indexed: true;
|
|
1488
|
+
}, {
|
|
1489
|
+
readonly name: "token";
|
|
1490
|
+
readonly internalType: "address";
|
|
1491
|
+
readonly type: "address";
|
|
1492
|
+
readonly indexed: true;
|
|
1493
|
+
}];
|
|
1494
|
+
readonly name: "SellRecipient";
|
|
1495
|
+
}, {
|
|
1496
|
+
readonly type: "event";
|
|
1497
|
+
readonly anonymous: false;
|
|
1498
|
+
readonly inputs: readonly [{
|
|
1499
|
+
readonly name: "caller";
|
|
1500
|
+
readonly internalType: "address";
|
|
1501
|
+
readonly type: "address";
|
|
1502
|
+
readonly indexed: true;
|
|
1503
|
+
}, {
|
|
1504
|
+
readonly name: "allowed";
|
|
1505
|
+
readonly internalType: "bool";
|
|
1506
|
+
readonly type: "bool";
|
|
1507
|
+
readonly indexed: false;
|
|
1508
|
+
}];
|
|
1509
|
+
readonly name: "TrustedCallerUpdated";
|
|
884
1510
|
}, {
|
|
885
1511
|
readonly type: "event";
|
|
886
1512
|
readonly anonymous: false;
|
|
@@ -975,6 +1601,18 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
975
1601
|
readonly type: "address";
|
|
976
1602
|
}];
|
|
977
1603
|
readonly name: "AddressEmptyCode";
|
|
1604
|
+
}, {
|
|
1605
|
+
readonly type: "error";
|
|
1606
|
+
readonly inputs: readonly [];
|
|
1607
|
+
readonly name: "BuyExactInUnsupportedForErc20Collateral";
|
|
1608
|
+
}, {
|
|
1609
|
+
readonly type: "error";
|
|
1610
|
+
readonly inputs: readonly [];
|
|
1611
|
+
readonly name: "CollateralDisabled";
|
|
1612
|
+
}, {
|
|
1613
|
+
readonly type: "error";
|
|
1614
|
+
readonly inputs: readonly [];
|
|
1615
|
+
readonly name: "CurveParamsNotSet";
|
|
978
1616
|
}, {
|
|
979
1617
|
readonly type: "error";
|
|
980
1618
|
readonly inputs: readonly [];
|
|
@@ -1019,6 +1657,10 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
1019
1657
|
readonly type: "uint256";
|
|
1020
1658
|
}];
|
|
1021
1659
|
readonly name: "InsufficientBalance";
|
|
1660
|
+
}, {
|
|
1661
|
+
readonly type: "error";
|
|
1662
|
+
readonly inputs: readonly [];
|
|
1663
|
+
readonly name: "InvalidExactInCollateralAmount";
|
|
1022
1664
|
}, {
|
|
1023
1665
|
readonly type: "error";
|
|
1024
1666
|
readonly inputs: readonly [];
|
|
@@ -1063,6 +1705,10 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
1063
1705
|
readonly type: "error";
|
|
1064
1706
|
readonly inputs: readonly [];
|
|
1065
1707
|
readonly name: "NotReadyForMigration";
|
|
1708
|
+
}, {
|
|
1709
|
+
readonly type: "error";
|
|
1710
|
+
readonly inputs: readonly [];
|
|
1711
|
+
readonly name: "NotTrustedCaller";
|
|
1066
1712
|
}, {
|
|
1067
1713
|
readonly type: "error";
|
|
1068
1714
|
readonly inputs: readonly [{
|
|
@@ -1130,20 +1776,20 @@ export declare const basememeFactoryImplABI: readonly [{
|
|
|
1130
1776
|
}];
|
|
1131
1777
|
/**
|
|
1132
1778
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
1133
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
1779
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xA77f20116d3386b46105ea2623c50ffF53594ec7)
|
|
1134
1780
|
*/
|
|
1135
1781
|
export declare const basememeFactoryImplAddress: {
|
|
1136
1782
|
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
1137
|
-
readonly 84532: "
|
|
1783
|
+
readonly 84532: "0xA77f20116d3386b46105ea2623c50ffF53594ec7";
|
|
1138
1784
|
};
|
|
1139
1785
|
/**
|
|
1140
1786
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
1141
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
1787
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0xA77f20116d3386b46105ea2623c50ffF53594ec7)
|
|
1142
1788
|
*/
|
|
1143
1789
|
export declare const basememeFactoryImplConfig: {
|
|
1144
1790
|
readonly address: {
|
|
1145
1791
|
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
1146
|
-
readonly 84532: "
|
|
1792
|
+
readonly 84532: "0xA77f20116d3386b46105ea2623c50ffF53594ec7";
|
|
1147
1793
|
};
|
|
1148
1794
|
readonly abi: readonly [{
|
|
1149
1795
|
readonly stateMutability: "nonpayable";
|
|
@@ -1190,6 +1836,76 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1190
1836
|
}];
|
|
1191
1837
|
readonly name: "buyExactIn";
|
|
1192
1838
|
readonly outputs: readonly [];
|
|
1839
|
+
}, {
|
|
1840
|
+
readonly stateMutability: "payable";
|
|
1841
|
+
readonly type: "function";
|
|
1842
|
+
readonly inputs: readonly [{
|
|
1843
|
+
readonly name: "_token";
|
|
1844
|
+
readonly internalType: "address";
|
|
1845
|
+
readonly type: "address";
|
|
1846
|
+
}, {
|
|
1847
|
+
readonly name: "_amountOutMin";
|
|
1848
|
+
readonly internalType: "uint256";
|
|
1849
|
+
readonly type: "uint256";
|
|
1850
|
+
}, {
|
|
1851
|
+
readonly name: "_tradeReferrer";
|
|
1852
|
+
readonly internalType: "address";
|
|
1853
|
+
readonly type: "address";
|
|
1854
|
+
}, {
|
|
1855
|
+
readonly name: "_to";
|
|
1856
|
+
readonly internalType: "address";
|
|
1857
|
+
readonly type: "address";
|
|
1858
|
+
}];
|
|
1859
|
+
readonly name: "buyExactInTo";
|
|
1860
|
+
readonly outputs: readonly [];
|
|
1861
|
+
}, {
|
|
1862
|
+
readonly stateMutability: "payable";
|
|
1863
|
+
readonly type: "function";
|
|
1864
|
+
readonly inputs: readonly [{
|
|
1865
|
+
readonly name: "_token";
|
|
1866
|
+
readonly internalType: "address";
|
|
1867
|
+
readonly type: "address";
|
|
1868
|
+
}, {
|
|
1869
|
+
readonly name: "_collateralAmountIn";
|
|
1870
|
+
readonly internalType: "uint256";
|
|
1871
|
+
readonly type: "uint256";
|
|
1872
|
+
}, {
|
|
1873
|
+
readonly name: "_amountOutMin";
|
|
1874
|
+
readonly internalType: "uint256";
|
|
1875
|
+
readonly type: "uint256";
|
|
1876
|
+
}, {
|
|
1877
|
+
readonly name: "_tradeReferrer";
|
|
1878
|
+
readonly internalType: "address";
|
|
1879
|
+
readonly type: "address";
|
|
1880
|
+
}];
|
|
1881
|
+
readonly name: "buyExactInWithCollateral";
|
|
1882
|
+
readonly outputs: readonly [];
|
|
1883
|
+
}, {
|
|
1884
|
+
readonly stateMutability: "payable";
|
|
1885
|
+
readonly type: "function";
|
|
1886
|
+
readonly inputs: readonly [{
|
|
1887
|
+
readonly name: "_token";
|
|
1888
|
+
readonly internalType: "address";
|
|
1889
|
+
readonly type: "address";
|
|
1890
|
+
}, {
|
|
1891
|
+
readonly name: "_collateralAmountIn";
|
|
1892
|
+
readonly internalType: "uint256";
|
|
1893
|
+
readonly type: "uint256";
|
|
1894
|
+
}, {
|
|
1895
|
+
readonly name: "_amountOutMin";
|
|
1896
|
+
readonly internalType: "uint256";
|
|
1897
|
+
readonly type: "uint256";
|
|
1898
|
+
}, {
|
|
1899
|
+
readonly name: "_tradeReferrer";
|
|
1900
|
+
readonly internalType: "address";
|
|
1901
|
+
readonly type: "address";
|
|
1902
|
+
}, {
|
|
1903
|
+
readonly name: "_to";
|
|
1904
|
+
readonly internalType: "address";
|
|
1905
|
+
readonly type: "address";
|
|
1906
|
+
}];
|
|
1907
|
+
readonly name: "buyExactInWithCollateralTo";
|
|
1908
|
+
readonly outputs: readonly [];
|
|
1193
1909
|
}, {
|
|
1194
1910
|
readonly stateMutability: "payable";
|
|
1195
1911
|
readonly type: "function";
|
|
@@ -1212,6 +1928,32 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1212
1928
|
}];
|
|
1213
1929
|
readonly name: "buyExactOut";
|
|
1214
1930
|
readonly outputs: readonly [];
|
|
1931
|
+
}, {
|
|
1932
|
+
readonly stateMutability: "payable";
|
|
1933
|
+
readonly type: "function";
|
|
1934
|
+
readonly inputs: readonly [{
|
|
1935
|
+
readonly name: "_token";
|
|
1936
|
+
readonly internalType: "address";
|
|
1937
|
+
readonly type: "address";
|
|
1938
|
+
}, {
|
|
1939
|
+
readonly name: "_tokenAmount";
|
|
1940
|
+
readonly internalType: "uint256";
|
|
1941
|
+
readonly type: "uint256";
|
|
1942
|
+
}, {
|
|
1943
|
+
readonly name: "_maxCollateralAmount";
|
|
1944
|
+
readonly internalType: "uint256";
|
|
1945
|
+
readonly type: "uint256";
|
|
1946
|
+
}, {
|
|
1947
|
+
readonly name: "_tradeReferrer";
|
|
1948
|
+
readonly internalType: "address";
|
|
1949
|
+
readonly type: "address";
|
|
1950
|
+
}, {
|
|
1951
|
+
readonly name: "_to";
|
|
1952
|
+
readonly internalType: "address";
|
|
1953
|
+
readonly type: "address";
|
|
1954
|
+
}];
|
|
1955
|
+
readonly name: "buyExactOutTo";
|
|
1956
|
+
readonly outputs: readonly [];
|
|
1215
1957
|
}, {
|
|
1216
1958
|
readonly stateMutability: "view";
|
|
1217
1959
|
readonly type: "function";
|
|
@@ -1225,12 +1967,101 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1225
1967
|
}, {
|
|
1226
1968
|
readonly stateMutability: "view";
|
|
1227
1969
|
readonly type: "function";
|
|
1228
|
-
readonly inputs: readonly [];
|
|
1229
|
-
readonly name: "chainV4LiquidityConfig";
|
|
1970
|
+
readonly inputs: readonly [];
|
|
1971
|
+
readonly name: "chainV4LiquidityConfig";
|
|
1972
|
+
readonly outputs: readonly [{
|
|
1973
|
+
readonly name: "";
|
|
1974
|
+
readonly internalType: "bytes";
|
|
1975
|
+
readonly type: "bytes";
|
|
1976
|
+
}];
|
|
1977
|
+
}, {
|
|
1978
|
+
readonly stateMutability: "view";
|
|
1979
|
+
readonly type: "function";
|
|
1980
|
+
readonly inputs: readonly [{
|
|
1981
|
+
readonly name: "";
|
|
1982
|
+
readonly internalType: "address";
|
|
1983
|
+
readonly type: "address";
|
|
1984
|
+
}];
|
|
1985
|
+
readonly name: "collateralConfigs";
|
|
1986
|
+
readonly outputs: readonly [{
|
|
1987
|
+
readonly name: "curveParams";
|
|
1988
|
+
readonly internalType: "struct IBondingCurve.CurveParams";
|
|
1989
|
+
readonly type: "tuple";
|
|
1990
|
+
readonly components: readonly [{
|
|
1991
|
+
readonly name: "initialTokenSupply";
|
|
1992
|
+
readonly internalType: "uint256";
|
|
1993
|
+
readonly type: "uint256";
|
|
1994
|
+
}, {
|
|
1995
|
+
readonly name: "virtualCollateralReservesInitial";
|
|
1996
|
+
readonly internalType: "uint256";
|
|
1997
|
+
readonly type: "uint256";
|
|
1998
|
+
}, {
|
|
1999
|
+
readonly name: "virtualTokenReservesInitial";
|
|
2000
|
+
readonly internalType: "uint256";
|
|
2001
|
+
readonly type: "uint256";
|
|
2002
|
+
}, {
|
|
2003
|
+
readonly name: "feeBPS";
|
|
2004
|
+
readonly internalType: "uint256";
|
|
2005
|
+
readonly type: "uint256";
|
|
2006
|
+
}, {
|
|
2007
|
+
readonly name: "mcLowerLimit";
|
|
2008
|
+
readonly internalType: "uint256";
|
|
2009
|
+
readonly type: "uint256";
|
|
2010
|
+
}, {
|
|
2011
|
+
readonly name: "mcUpperLimit";
|
|
2012
|
+
readonly internalType: "uint256";
|
|
2013
|
+
readonly type: "uint256";
|
|
2014
|
+
}, {
|
|
2015
|
+
readonly name: "tokensMigrationThreshold";
|
|
2016
|
+
readonly internalType: "uint256";
|
|
2017
|
+
readonly type: "uint256";
|
|
2018
|
+
}, {
|
|
2019
|
+
readonly name: "fixedMigrationFee";
|
|
2020
|
+
readonly internalType: "uint256";
|
|
2021
|
+
readonly type: "uint256";
|
|
2022
|
+
}, {
|
|
2023
|
+
readonly name: "poolCreationFee";
|
|
2024
|
+
readonly internalType: "uint256";
|
|
2025
|
+
readonly type: "uint256";
|
|
2026
|
+
}, {
|
|
2027
|
+
readonly name: "firstBuyFee";
|
|
2028
|
+
readonly internalType: "uint256";
|
|
2029
|
+
readonly type: "uint256";
|
|
2030
|
+
}, {
|
|
2031
|
+
readonly name: "targetCollectionAmount";
|
|
2032
|
+
readonly internalType: "uint256";
|
|
2033
|
+
readonly type: "uint256";
|
|
2034
|
+
}, {
|
|
2035
|
+
readonly name: "collateralToken";
|
|
2036
|
+
readonly internalType: "address";
|
|
2037
|
+
readonly type: "address";
|
|
2038
|
+
}, {
|
|
2039
|
+
readonly name: "v4LpFee";
|
|
2040
|
+
readonly internalType: "uint24";
|
|
2041
|
+
readonly type: "uint24";
|
|
2042
|
+
}];
|
|
2043
|
+
}, {
|
|
2044
|
+
readonly name: "v4LiquidityConfig";
|
|
2045
|
+
readonly internalType: "bytes";
|
|
2046
|
+
readonly type: "bytes";
|
|
2047
|
+
}, {
|
|
2048
|
+
readonly name: "v4ConfigVersion";
|
|
2049
|
+
readonly internalType: "uint8";
|
|
2050
|
+
readonly type: "uint8";
|
|
2051
|
+
}];
|
|
2052
|
+
}, {
|
|
2053
|
+
readonly stateMutability: "view";
|
|
2054
|
+
readonly type: "function";
|
|
2055
|
+
readonly inputs: readonly [{
|
|
2056
|
+
readonly name: "";
|
|
2057
|
+
readonly internalType: "address";
|
|
2058
|
+
readonly type: "address";
|
|
2059
|
+
}];
|
|
2060
|
+
readonly name: "collateralEnabled";
|
|
1230
2061
|
readonly outputs: readonly [{
|
|
1231
2062
|
readonly name: "";
|
|
1232
|
-
readonly internalType: "
|
|
1233
|
-
readonly type: "
|
|
2063
|
+
readonly internalType: "bool";
|
|
2064
|
+
readonly type: "bool";
|
|
1234
2065
|
}];
|
|
1235
2066
|
}, {
|
|
1236
2067
|
readonly stateMutability: "pure";
|
|
@@ -1418,6 +2249,106 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1418
2249
|
readonly internalType: "address";
|
|
1419
2250
|
readonly type: "address";
|
|
1420
2251
|
}];
|
|
2252
|
+
}, {
|
|
2253
|
+
readonly stateMutability: "payable";
|
|
2254
|
+
readonly type: "function";
|
|
2255
|
+
readonly inputs: readonly [{
|
|
2256
|
+
readonly name: "_name";
|
|
2257
|
+
readonly internalType: "string";
|
|
2258
|
+
readonly type: "string";
|
|
2259
|
+
}, {
|
|
2260
|
+
readonly name: "_symbol";
|
|
2261
|
+
readonly internalType: "string";
|
|
2262
|
+
readonly type: "string";
|
|
2263
|
+
}, {
|
|
2264
|
+
readonly name: "_tokenURI";
|
|
2265
|
+
readonly internalType: "string";
|
|
2266
|
+
readonly type: "string";
|
|
2267
|
+
}, {
|
|
2268
|
+
readonly name: "_nonce";
|
|
2269
|
+
readonly internalType: "uint256";
|
|
2270
|
+
readonly type: "uint256";
|
|
2271
|
+
}, {
|
|
2272
|
+
readonly name: "_collateralAmountIn";
|
|
2273
|
+
readonly internalType: "uint256";
|
|
2274
|
+
readonly type: "uint256";
|
|
2275
|
+
}, {
|
|
2276
|
+
readonly name: "_tokenAmountMin";
|
|
2277
|
+
readonly internalType: "uint256";
|
|
2278
|
+
readonly type: "uint256";
|
|
2279
|
+
}, {
|
|
2280
|
+
readonly name: "_signature";
|
|
2281
|
+
readonly internalType: "bytes";
|
|
2282
|
+
readonly type: "bytes";
|
|
2283
|
+
}, {
|
|
2284
|
+
readonly name: "_platformReferrer";
|
|
2285
|
+
readonly internalType: "address";
|
|
2286
|
+
readonly type: "address";
|
|
2287
|
+
}, {
|
|
2288
|
+
readonly name: "_payoutRecipient";
|
|
2289
|
+
readonly internalType: "address";
|
|
2290
|
+
readonly type: "address";
|
|
2291
|
+
}, {
|
|
2292
|
+
readonly name: "_tokenSalt";
|
|
2293
|
+
readonly internalType: "bytes32";
|
|
2294
|
+
readonly type: "bytes32";
|
|
2295
|
+
}, {
|
|
2296
|
+
readonly name: "_collateralToken";
|
|
2297
|
+
readonly internalType: "address";
|
|
2298
|
+
readonly type: "address";
|
|
2299
|
+
}];
|
|
2300
|
+
readonly name: "createBasememeTokenAndBuyWithCollateral";
|
|
2301
|
+
readonly outputs: readonly [{
|
|
2302
|
+
readonly name: "";
|
|
2303
|
+
readonly internalType: "address";
|
|
2304
|
+
readonly type: "address";
|
|
2305
|
+
}];
|
|
2306
|
+
}, {
|
|
2307
|
+
readonly stateMutability: "nonpayable";
|
|
2308
|
+
readonly type: "function";
|
|
2309
|
+
readonly inputs: readonly [{
|
|
2310
|
+
readonly name: "_name";
|
|
2311
|
+
readonly internalType: "string";
|
|
2312
|
+
readonly type: "string";
|
|
2313
|
+
}, {
|
|
2314
|
+
readonly name: "_symbol";
|
|
2315
|
+
readonly internalType: "string";
|
|
2316
|
+
readonly type: "string";
|
|
2317
|
+
}, {
|
|
2318
|
+
readonly name: "_tokenURI";
|
|
2319
|
+
readonly internalType: "string";
|
|
2320
|
+
readonly type: "string";
|
|
2321
|
+
}, {
|
|
2322
|
+
readonly name: "_nonce";
|
|
2323
|
+
readonly internalType: "uint256";
|
|
2324
|
+
readonly type: "uint256";
|
|
2325
|
+
}, {
|
|
2326
|
+
readonly name: "_signature";
|
|
2327
|
+
readonly internalType: "bytes";
|
|
2328
|
+
readonly type: "bytes";
|
|
2329
|
+
}, {
|
|
2330
|
+
readonly name: "_platformReferrer";
|
|
2331
|
+
readonly internalType: "address";
|
|
2332
|
+
readonly type: "address";
|
|
2333
|
+
}, {
|
|
2334
|
+
readonly name: "_payoutRecipient";
|
|
2335
|
+
readonly internalType: "address";
|
|
2336
|
+
readonly type: "address";
|
|
2337
|
+
}, {
|
|
2338
|
+
readonly name: "_tokenSalt";
|
|
2339
|
+
readonly internalType: "bytes32";
|
|
2340
|
+
readonly type: "bytes32";
|
|
2341
|
+
}, {
|
|
2342
|
+
readonly name: "_collateralToken";
|
|
2343
|
+
readonly internalType: "address";
|
|
2344
|
+
readonly type: "address";
|
|
2345
|
+
}];
|
|
2346
|
+
readonly name: "createBasememeTokenWithCollateral";
|
|
2347
|
+
readonly outputs: readonly [{
|
|
2348
|
+
readonly name: "";
|
|
2349
|
+
readonly internalType: "address";
|
|
2350
|
+
readonly type: "address";
|
|
2351
|
+
}];
|
|
1421
2352
|
}, {
|
|
1422
2353
|
readonly stateMutability: "view";
|
|
1423
2354
|
readonly type: "function";
|
|
@@ -1447,6 +2378,14 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1447
2378
|
readonly name: "_bondingCurveImplementation";
|
|
1448
2379
|
readonly internalType: "address";
|
|
1449
2380
|
readonly type: "address";
|
|
2381
|
+
}, {
|
|
2382
|
+
readonly name: "_chainV4LiquidityConfig";
|
|
2383
|
+
readonly internalType: "bytes";
|
|
2384
|
+
readonly type: "bytes";
|
|
2385
|
+
}, {
|
|
2386
|
+
readonly name: "_chainV4ConfigVersion";
|
|
2387
|
+
readonly internalType: "uint8";
|
|
2388
|
+
readonly type: "uint8";
|
|
1450
2389
|
}];
|
|
1451
2390
|
readonly name: "initialize";
|
|
1452
2391
|
readonly outputs: readonly [];
|
|
@@ -1460,6 +2399,20 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1460
2399
|
readonly internalType: "bool";
|
|
1461
2400
|
readonly type: "bool";
|
|
1462
2401
|
}];
|
|
2402
|
+
}, {
|
|
2403
|
+
readonly stateMutability: "view";
|
|
2404
|
+
readonly type: "function";
|
|
2405
|
+
readonly inputs: readonly [{
|
|
2406
|
+
readonly name: "";
|
|
2407
|
+
readonly internalType: "address";
|
|
2408
|
+
readonly type: "address";
|
|
2409
|
+
}];
|
|
2410
|
+
readonly name: "isTrustedCaller";
|
|
2411
|
+
readonly outputs: readonly [{
|
|
2412
|
+
readonly name: "";
|
|
2413
|
+
readonly internalType: "bool";
|
|
2414
|
+
readonly type: "bool";
|
|
2415
|
+
}];
|
|
1463
2416
|
}, {
|
|
1464
2417
|
readonly stateMutability: "nonpayable";
|
|
1465
2418
|
readonly type: "function";
|
|
@@ -1536,47 +2489,188 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1536
2489
|
readonly internalType: "uint256";
|
|
1537
2490
|
readonly type: "uint256";
|
|
1538
2491
|
}, {
|
|
1539
|
-
readonly name: "_amountCollateralMin";
|
|
1540
|
-
readonly internalType: "uint256";
|
|
1541
|
-
readonly type: "uint256";
|
|
2492
|
+
readonly name: "_amountCollateralMin";
|
|
2493
|
+
readonly internalType: "uint256";
|
|
2494
|
+
readonly type: "uint256";
|
|
2495
|
+
}, {
|
|
2496
|
+
readonly name: "_tradeReferrer";
|
|
2497
|
+
readonly internalType: "address";
|
|
2498
|
+
readonly type: "address";
|
|
2499
|
+
}];
|
|
2500
|
+
readonly name: "sellExactIn";
|
|
2501
|
+
readonly outputs: readonly [];
|
|
2502
|
+
}, {
|
|
2503
|
+
readonly stateMutability: "nonpayable";
|
|
2504
|
+
readonly type: "function";
|
|
2505
|
+
readonly inputs: readonly [{
|
|
2506
|
+
readonly name: "_token";
|
|
2507
|
+
readonly internalType: "address";
|
|
2508
|
+
readonly type: "address";
|
|
2509
|
+
}, {
|
|
2510
|
+
readonly name: "_from";
|
|
2511
|
+
readonly internalType: "address";
|
|
2512
|
+
readonly type: "address";
|
|
2513
|
+
}, {
|
|
2514
|
+
readonly name: "_tokenAmount";
|
|
2515
|
+
readonly internalType: "uint256";
|
|
2516
|
+
readonly type: "uint256";
|
|
2517
|
+
}, {
|
|
2518
|
+
readonly name: "_amountCollateralMin";
|
|
2519
|
+
readonly internalType: "uint256";
|
|
2520
|
+
readonly type: "uint256";
|
|
2521
|
+
}, {
|
|
2522
|
+
readonly name: "_tradeReferrer";
|
|
2523
|
+
readonly internalType: "address";
|
|
2524
|
+
readonly type: "address";
|
|
2525
|
+
}];
|
|
2526
|
+
readonly name: "sellExactInFrom";
|
|
2527
|
+
readonly outputs: readonly [];
|
|
2528
|
+
}, {
|
|
2529
|
+
readonly stateMutability: "nonpayable";
|
|
2530
|
+
readonly type: "function";
|
|
2531
|
+
readonly inputs: readonly [{
|
|
2532
|
+
readonly name: "_token";
|
|
2533
|
+
readonly internalType: "address";
|
|
2534
|
+
readonly type: "address";
|
|
2535
|
+
}, {
|
|
2536
|
+
readonly name: "_tokenAmountMax";
|
|
2537
|
+
readonly internalType: "uint256";
|
|
2538
|
+
readonly type: "uint256";
|
|
2539
|
+
}, {
|
|
2540
|
+
readonly name: "_amountCollateral";
|
|
2541
|
+
readonly internalType: "uint256";
|
|
2542
|
+
readonly type: "uint256";
|
|
2543
|
+
}, {
|
|
2544
|
+
readonly name: "_tradeReferrer";
|
|
2545
|
+
readonly internalType: "address";
|
|
2546
|
+
readonly type: "address";
|
|
2547
|
+
}];
|
|
2548
|
+
readonly name: "sellExactOut";
|
|
2549
|
+
readonly outputs: readonly [];
|
|
2550
|
+
}, {
|
|
2551
|
+
readonly stateMutability: "nonpayable";
|
|
2552
|
+
readonly type: "function";
|
|
2553
|
+
readonly inputs: readonly [{
|
|
2554
|
+
readonly name: "_token";
|
|
2555
|
+
readonly internalType: "address";
|
|
2556
|
+
readonly type: "address";
|
|
2557
|
+
}, {
|
|
2558
|
+
readonly name: "_from";
|
|
2559
|
+
readonly internalType: "address";
|
|
2560
|
+
readonly type: "address";
|
|
2561
|
+
}, {
|
|
2562
|
+
readonly name: "_tokenAmountMax";
|
|
2563
|
+
readonly internalType: "uint256";
|
|
2564
|
+
readonly type: "uint256";
|
|
2565
|
+
}, {
|
|
2566
|
+
readonly name: "_amountCollateral";
|
|
2567
|
+
readonly internalType: "uint256";
|
|
2568
|
+
readonly type: "uint256";
|
|
2569
|
+
}, {
|
|
2570
|
+
readonly name: "_tradeReferrer";
|
|
2571
|
+
readonly internalType: "address";
|
|
2572
|
+
readonly type: "address";
|
|
2573
|
+
}];
|
|
2574
|
+
readonly name: "sellExactOutFrom";
|
|
2575
|
+
readonly outputs: readonly [];
|
|
2576
|
+
}, {
|
|
2577
|
+
readonly stateMutability: "nonpayable";
|
|
2578
|
+
readonly type: "function";
|
|
2579
|
+
readonly inputs: readonly [{
|
|
2580
|
+
readonly name: "_bondingCurveImplementation";
|
|
2581
|
+
readonly internalType: "address";
|
|
2582
|
+
readonly type: "address";
|
|
2583
|
+
}];
|
|
2584
|
+
readonly name: "setBondingCurveImplementation";
|
|
2585
|
+
readonly outputs: readonly [];
|
|
2586
|
+
}, {
|
|
2587
|
+
readonly stateMutability: "nonpayable";
|
|
2588
|
+
readonly type: "function";
|
|
2589
|
+
readonly inputs: readonly [{
|
|
2590
|
+
readonly name: "_collateralToken";
|
|
2591
|
+
readonly internalType: "address";
|
|
2592
|
+
readonly type: "address";
|
|
2593
|
+
}, {
|
|
2594
|
+
readonly name: "params";
|
|
2595
|
+
readonly internalType: "struct IBondingCurve.CurveParams";
|
|
2596
|
+
readonly type: "tuple";
|
|
2597
|
+
readonly components: readonly [{
|
|
2598
|
+
readonly name: "initialTokenSupply";
|
|
2599
|
+
readonly internalType: "uint256";
|
|
2600
|
+
readonly type: "uint256";
|
|
2601
|
+
}, {
|
|
2602
|
+
readonly name: "virtualCollateralReservesInitial";
|
|
2603
|
+
readonly internalType: "uint256";
|
|
2604
|
+
readonly type: "uint256";
|
|
2605
|
+
}, {
|
|
2606
|
+
readonly name: "virtualTokenReservesInitial";
|
|
2607
|
+
readonly internalType: "uint256";
|
|
2608
|
+
readonly type: "uint256";
|
|
2609
|
+
}, {
|
|
2610
|
+
readonly name: "feeBPS";
|
|
2611
|
+
readonly internalType: "uint256";
|
|
2612
|
+
readonly type: "uint256";
|
|
2613
|
+
}, {
|
|
2614
|
+
readonly name: "mcLowerLimit";
|
|
2615
|
+
readonly internalType: "uint256";
|
|
2616
|
+
readonly type: "uint256";
|
|
2617
|
+
}, {
|
|
2618
|
+
readonly name: "mcUpperLimit";
|
|
2619
|
+
readonly internalType: "uint256";
|
|
2620
|
+
readonly type: "uint256";
|
|
2621
|
+
}, {
|
|
2622
|
+
readonly name: "tokensMigrationThreshold";
|
|
2623
|
+
readonly internalType: "uint256";
|
|
2624
|
+
readonly type: "uint256";
|
|
2625
|
+
}, {
|
|
2626
|
+
readonly name: "fixedMigrationFee";
|
|
2627
|
+
readonly internalType: "uint256";
|
|
2628
|
+
readonly type: "uint256";
|
|
2629
|
+
}, {
|
|
2630
|
+
readonly name: "poolCreationFee";
|
|
2631
|
+
readonly internalType: "uint256";
|
|
2632
|
+
readonly type: "uint256";
|
|
2633
|
+
}, {
|
|
2634
|
+
readonly name: "firstBuyFee";
|
|
2635
|
+
readonly internalType: "uint256";
|
|
2636
|
+
readonly type: "uint256";
|
|
2637
|
+
}, {
|
|
2638
|
+
readonly name: "targetCollectionAmount";
|
|
2639
|
+
readonly internalType: "uint256";
|
|
2640
|
+
readonly type: "uint256";
|
|
2641
|
+
}, {
|
|
2642
|
+
readonly name: "collateralToken";
|
|
2643
|
+
readonly internalType: "address";
|
|
2644
|
+
readonly type: "address";
|
|
2645
|
+
}, {
|
|
2646
|
+
readonly name: "v4LpFee";
|
|
2647
|
+
readonly internalType: "uint24";
|
|
2648
|
+
readonly type: "uint24";
|
|
2649
|
+
}];
|
|
2650
|
+
}, {
|
|
2651
|
+
readonly name: "v4LiquidityConfig";
|
|
2652
|
+
readonly internalType: "bytes";
|
|
2653
|
+
readonly type: "bytes";
|
|
1542
2654
|
}, {
|
|
1543
|
-
readonly name: "
|
|
1544
|
-
readonly internalType: "
|
|
1545
|
-
readonly type: "
|
|
2655
|
+
readonly name: "v4ConfigVersion";
|
|
2656
|
+
readonly internalType: "uint8";
|
|
2657
|
+
readonly type: "uint8";
|
|
1546
2658
|
}];
|
|
1547
|
-
readonly name: "
|
|
2659
|
+
readonly name: "setCollateralConfig";
|
|
1548
2660
|
readonly outputs: readonly [];
|
|
1549
2661
|
}, {
|
|
1550
2662
|
readonly stateMutability: "nonpayable";
|
|
1551
2663
|
readonly type: "function";
|
|
1552
2664
|
readonly inputs: readonly [{
|
|
1553
|
-
readonly name: "
|
|
2665
|
+
readonly name: "_collateralToken";
|
|
1554
2666
|
readonly internalType: "address";
|
|
1555
2667
|
readonly type: "address";
|
|
1556
2668
|
}, {
|
|
1557
|
-
readonly name: "
|
|
1558
|
-
readonly internalType: "
|
|
1559
|
-
readonly type: "
|
|
1560
|
-
}, {
|
|
1561
|
-
readonly name: "_amountCollateral";
|
|
1562
|
-
readonly internalType: "uint256";
|
|
1563
|
-
readonly type: "uint256";
|
|
1564
|
-
}, {
|
|
1565
|
-
readonly name: "_tradeReferrer";
|
|
1566
|
-
readonly internalType: "address";
|
|
1567
|
-
readonly type: "address";
|
|
1568
|
-
}];
|
|
1569
|
-
readonly name: "sellExactOut";
|
|
1570
|
-
readonly outputs: readonly [];
|
|
1571
|
-
}, {
|
|
1572
|
-
readonly stateMutability: "nonpayable";
|
|
1573
|
-
readonly type: "function";
|
|
1574
|
-
readonly inputs: readonly [{
|
|
1575
|
-
readonly name: "_bondingCurveImplementation";
|
|
1576
|
-
readonly internalType: "address";
|
|
1577
|
-
readonly type: "address";
|
|
2669
|
+
readonly name: "enabled";
|
|
2670
|
+
readonly internalType: "bool";
|
|
2671
|
+
readonly type: "bool";
|
|
1578
2672
|
}];
|
|
1579
|
-
readonly name: "
|
|
2673
|
+
readonly name: "setCollateralEnabled";
|
|
1580
2674
|
readonly outputs: readonly [];
|
|
1581
2675
|
}, {
|
|
1582
2676
|
readonly stateMutability: "nonpayable";
|
|
@@ -1598,6 +2692,20 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1598
2692
|
}];
|
|
1599
2693
|
readonly name: "setSigner";
|
|
1600
2694
|
readonly outputs: readonly [];
|
|
2695
|
+
}, {
|
|
2696
|
+
readonly stateMutability: "nonpayable";
|
|
2697
|
+
readonly type: "function";
|
|
2698
|
+
readonly inputs: readonly [{
|
|
2699
|
+
readonly name: "caller";
|
|
2700
|
+
readonly internalType: "address";
|
|
2701
|
+
readonly type: "address";
|
|
2702
|
+
}, {
|
|
2703
|
+
readonly name: "allowed";
|
|
2704
|
+
readonly internalType: "bool";
|
|
2705
|
+
readonly type: "bool";
|
|
2706
|
+
}];
|
|
2707
|
+
readonly name: "setTrustedCaller";
|
|
2708
|
+
readonly outputs: readonly [];
|
|
1601
2709
|
}, {
|
|
1602
2710
|
readonly stateMutability: "nonpayable";
|
|
1603
2711
|
readonly type: "function";
|
|
@@ -1636,6 +2744,20 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1636
2744
|
readonly internalType: "address";
|
|
1637
2745
|
readonly type: "address";
|
|
1638
2746
|
}];
|
|
2747
|
+
}, {
|
|
2748
|
+
readonly stateMutability: "view";
|
|
2749
|
+
readonly type: "function";
|
|
2750
|
+
readonly inputs: readonly [{
|
|
2751
|
+
readonly name: "";
|
|
2752
|
+
readonly internalType: "address";
|
|
2753
|
+
readonly type: "address";
|
|
2754
|
+
}];
|
|
2755
|
+
readonly name: "tokenToCollateralToken";
|
|
2756
|
+
readonly outputs: readonly [{
|
|
2757
|
+
readonly name: "";
|
|
2758
|
+
readonly internalType: "address";
|
|
2759
|
+
readonly type: "address";
|
|
2760
|
+
}];
|
|
1639
2761
|
}, {
|
|
1640
2762
|
readonly stateMutability: "nonpayable";
|
|
1641
2763
|
readonly type: "function";
|
|
@@ -1720,6 +2842,41 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1720
2842
|
readonly indexed: false;
|
|
1721
2843
|
}];
|
|
1722
2844
|
readonly name: "Buy";
|
|
2845
|
+
}, {
|
|
2846
|
+
readonly type: "event";
|
|
2847
|
+
readonly anonymous: false;
|
|
2848
|
+
readonly inputs: readonly [{
|
|
2849
|
+
readonly name: "caller";
|
|
2850
|
+
readonly internalType: "address";
|
|
2851
|
+
readonly type: "address";
|
|
2852
|
+
readonly indexed: true;
|
|
2853
|
+
}, {
|
|
2854
|
+
readonly name: "recipient";
|
|
2855
|
+
readonly internalType: "address";
|
|
2856
|
+
readonly type: "address";
|
|
2857
|
+
readonly indexed: true;
|
|
2858
|
+
}, {
|
|
2859
|
+
readonly name: "token";
|
|
2860
|
+
readonly internalType: "address";
|
|
2861
|
+
readonly type: "address";
|
|
2862
|
+
readonly indexed: true;
|
|
2863
|
+
}];
|
|
2864
|
+
readonly name: "BuyRecipient";
|
|
2865
|
+
}, {
|
|
2866
|
+
readonly type: "event";
|
|
2867
|
+
readonly anonymous: false;
|
|
2868
|
+
readonly inputs: readonly [{
|
|
2869
|
+
readonly name: "collateralToken";
|
|
2870
|
+
readonly internalType: "address";
|
|
2871
|
+
readonly type: "address";
|
|
2872
|
+
readonly indexed: true;
|
|
2873
|
+
}, {
|
|
2874
|
+
readonly name: "enabled";
|
|
2875
|
+
readonly internalType: "bool";
|
|
2876
|
+
readonly type: "bool";
|
|
2877
|
+
readonly indexed: false;
|
|
2878
|
+
}];
|
|
2879
|
+
readonly name: "CollateralEnabledUpdated";
|
|
1723
2880
|
}, {
|
|
1724
2881
|
readonly type: "event";
|
|
1725
2882
|
readonly anonymous: false;
|
|
@@ -1840,6 +2997,86 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1840
2997
|
readonly indexed: false;
|
|
1841
2998
|
}];
|
|
1842
2999
|
readonly name: "NewBasememeToken";
|
|
3000
|
+
}, {
|
|
3001
|
+
readonly type: "event";
|
|
3002
|
+
readonly anonymous: false;
|
|
3003
|
+
readonly inputs: readonly [{
|
|
3004
|
+
readonly name: "addr";
|
|
3005
|
+
readonly internalType: "address";
|
|
3006
|
+
readonly type: "address";
|
|
3007
|
+
readonly indexed: true;
|
|
3008
|
+
}, {
|
|
3009
|
+
readonly name: "bondingCurve";
|
|
3010
|
+
readonly internalType: "address";
|
|
3011
|
+
readonly type: "address";
|
|
3012
|
+
readonly indexed: true;
|
|
3013
|
+
}, {
|
|
3014
|
+
readonly name: "initialTokenSupply";
|
|
3015
|
+
readonly internalType: "uint256";
|
|
3016
|
+
readonly type: "uint256";
|
|
3017
|
+
readonly indexed: false;
|
|
3018
|
+
}, {
|
|
3019
|
+
readonly name: "virtualCollateralReservesInitial";
|
|
3020
|
+
readonly internalType: "uint256";
|
|
3021
|
+
readonly type: "uint256";
|
|
3022
|
+
readonly indexed: false;
|
|
3023
|
+
}, {
|
|
3024
|
+
readonly name: "virtualTokenReservesInitial";
|
|
3025
|
+
readonly internalType: "uint256";
|
|
3026
|
+
readonly type: "uint256";
|
|
3027
|
+
readonly indexed: false;
|
|
3028
|
+
}, {
|
|
3029
|
+
readonly name: "feeBPS";
|
|
3030
|
+
readonly internalType: "uint256";
|
|
3031
|
+
readonly type: "uint256";
|
|
3032
|
+
readonly indexed: false;
|
|
3033
|
+
}, {
|
|
3034
|
+
readonly name: "mcLowerLimit";
|
|
3035
|
+
readonly internalType: "uint256";
|
|
3036
|
+
readonly type: "uint256";
|
|
3037
|
+
readonly indexed: false;
|
|
3038
|
+
}, {
|
|
3039
|
+
readonly name: "mcUpperLimit";
|
|
3040
|
+
readonly internalType: "uint256";
|
|
3041
|
+
readonly type: "uint256";
|
|
3042
|
+
readonly indexed: false;
|
|
3043
|
+
}, {
|
|
3044
|
+
readonly name: "tokensMigrationThreshold";
|
|
3045
|
+
readonly internalType: "uint256";
|
|
3046
|
+
readonly type: "uint256";
|
|
3047
|
+
readonly indexed: false;
|
|
3048
|
+
}, {
|
|
3049
|
+
readonly name: "fixedMigrationFee";
|
|
3050
|
+
readonly internalType: "uint256";
|
|
3051
|
+
readonly type: "uint256";
|
|
3052
|
+
readonly indexed: false;
|
|
3053
|
+
}, {
|
|
3054
|
+
readonly name: "poolCreationFee";
|
|
3055
|
+
readonly internalType: "uint256";
|
|
3056
|
+
readonly type: "uint256";
|
|
3057
|
+
readonly indexed: false;
|
|
3058
|
+
}, {
|
|
3059
|
+
readonly name: "firstBuyFee";
|
|
3060
|
+
readonly internalType: "uint256";
|
|
3061
|
+
readonly type: "uint256";
|
|
3062
|
+
readonly indexed: false;
|
|
3063
|
+
}, {
|
|
3064
|
+
readonly name: "targetCollectionAmount";
|
|
3065
|
+
readonly internalType: "uint256";
|
|
3066
|
+
readonly type: "uint256";
|
|
3067
|
+
readonly indexed: false;
|
|
3068
|
+
}, {
|
|
3069
|
+
readonly name: "collateralToken";
|
|
3070
|
+
readonly internalType: "address";
|
|
3071
|
+
readonly type: "address";
|
|
3072
|
+
readonly indexed: false;
|
|
3073
|
+
}, {
|
|
3074
|
+
readonly name: "v4LpFee";
|
|
3075
|
+
readonly internalType: "uint24";
|
|
3076
|
+
readonly type: "uint24";
|
|
3077
|
+
readonly indexed: false;
|
|
3078
|
+
}];
|
|
3079
|
+
readonly name: "NewBasememeTokenCurveParams";
|
|
1843
3080
|
}, {
|
|
1844
3081
|
readonly type: "event";
|
|
1845
3082
|
readonly anonymous: false;
|
|
@@ -1910,6 +3147,41 @@ export declare const basememeFactoryImplConfig: {
|
|
|
1910
3147
|
readonly indexed: false;
|
|
1911
3148
|
}];
|
|
1912
3149
|
readonly name: "Sell";
|
|
3150
|
+
}, {
|
|
3151
|
+
readonly type: "event";
|
|
3152
|
+
readonly anonymous: false;
|
|
3153
|
+
readonly inputs: readonly [{
|
|
3154
|
+
readonly name: "caller";
|
|
3155
|
+
readonly internalType: "address";
|
|
3156
|
+
readonly type: "address";
|
|
3157
|
+
readonly indexed: true;
|
|
3158
|
+
}, {
|
|
3159
|
+
readonly name: "recipient";
|
|
3160
|
+
readonly internalType: "address";
|
|
3161
|
+
readonly type: "address";
|
|
3162
|
+
readonly indexed: true;
|
|
3163
|
+
}, {
|
|
3164
|
+
readonly name: "token";
|
|
3165
|
+
readonly internalType: "address";
|
|
3166
|
+
readonly type: "address";
|
|
3167
|
+
readonly indexed: true;
|
|
3168
|
+
}];
|
|
3169
|
+
readonly name: "SellRecipient";
|
|
3170
|
+
}, {
|
|
3171
|
+
readonly type: "event";
|
|
3172
|
+
readonly anonymous: false;
|
|
3173
|
+
readonly inputs: readonly [{
|
|
3174
|
+
readonly name: "caller";
|
|
3175
|
+
readonly internalType: "address";
|
|
3176
|
+
readonly type: "address";
|
|
3177
|
+
readonly indexed: true;
|
|
3178
|
+
}, {
|
|
3179
|
+
readonly name: "allowed";
|
|
3180
|
+
readonly internalType: "bool";
|
|
3181
|
+
readonly type: "bool";
|
|
3182
|
+
readonly indexed: false;
|
|
3183
|
+
}];
|
|
3184
|
+
readonly name: "TrustedCallerUpdated";
|
|
1913
3185
|
}, {
|
|
1914
3186
|
readonly type: "event";
|
|
1915
3187
|
readonly anonymous: false;
|
|
@@ -2004,6 +3276,18 @@ export declare const basememeFactoryImplConfig: {
|
|
|
2004
3276
|
readonly type: "address";
|
|
2005
3277
|
}];
|
|
2006
3278
|
readonly name: "AddressEmptyCode";
|
|
3279
|
+
}, {
|
|
3280
|
+
readonly type: "error";
|
|
3281
|
+
readonly inputs: readonly [];
|
|
3282
|
+
readonly name: "BuyExactInUnsupportedForErc20Collateral";
|
|
3283
|
+
}, {
|
|
3284
|
+
readonly type: "error";
|
|
3285
|
+
readonly inputs: readonly [];
|
|
3286
|
+
readonly name: "CollateralDisabled";
|
|
3287
|
+
}, {
|
|
3288
|
+
readonly type: "error";
|
|
3289
|
+
readonly inputs: readonly [];
|
|
3290
|
+
readonly name: "CurveParamsNotSet";
|
|
2007
3291
|
}, {
|
|
2008
3292
|
readonly type: "error";
|
|
2009
3293
|
readonly inputs: readonly [];
|
|
@@ -2048,6 +3332,10 @@ export declare const basememeFactoryImplConfig: {
|
|
|
2048
3332
|
readonly type: "uint256";
|
|
2049
3333
|
}];
|
|
2050
3334
|
readonly name: "InsufficientBalance";
|
|
3335
|
+
}, {
|
|
3336
|
+
readonly type: "error";
|
|
3337
|
+
readonly inputs: readonly [];
|
|
3338
|
+
readonly name: "InvalidExactInCollateralAmount";
|
|
2051
3339
|
}, {
|
|
2052
3340
|
readonly type: "error";
|
|
2053
3341
|
readonly inputs: readonly [];
|
|
@@ -2092,6 +3380,10 @@ export declare const basememeFactoryImplConfig: {
|
|
|
2092
3380
|
readonly type: "error";
|
|
2093
3381
|
readonly inputs: readonly [];
|
|
2094
3382
|
readonly name: "NotReadyForMigration";
|
|
3383
|
+
}, {
|
|
3384
|
+
readonly type: "error";
|
|
3385
|
+
readonly inputs: readonly [];
|
|
3386
|
+
readonly name: "NotTrustedCaller";
|
|
2095
3387
|
}, {
|
|
2096
3388
|
readonly type: "error";
|
|
2097
3389
|
readonly inputs: readonly [{
|
|
@@ -3162,67 +4454,23 @@ export declare const basememeTokenConfig: {
|
|
|
3162
4454
|
};
|
|
3163
4455
|
/**
|
|
3164
4456
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
3165
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
4457
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x227F6D11D054a1F606dBC9D555fa58538208cc3c)
|
|
3166
4458
|
*/
|
|
3167
4459
|
export declare const bondingCurveABI: readonly [{
|
|
3168
4460
|
readonly stateMutability: "nonpayable";
|
|
3169
4461
|
readonly type: "constructor";
|
|
3170
4462
|
readonly inputs: readonly [{
|
|
3171
|
-
readonly name: "_protocolRewardRecipient";
|
|
3172
|
-
readonly internalType: "address";
|
|
3173
|
-
readonly type: "address";
|
|
3174
|
-
}, {
|
|
3175
|
-
readonly name: "_protocolRewards";
|
|
3176
|
-
readonly internalType: "address";
|
|
3177
|
-
readonly type: "address";
|
|
3178
|
-
}, {
|
|
3179
|
-
readonly name: "_initialTokenSupply";
|
|
3180
|
-
readonly internalType: "uint256";
|
|
3181
|
-
readonly type: "uint256";
|
|
3182
|
-
}, {
|
|
3183
|
-
readonly name: "_virtualCollateralReservesInitial";
|
|
3184
|
-
readonly internalType: "uint256";
|
|
3185
|
-
readonly type: "uint256";
|
|
3186
|
-
}, {
|
|
3187
|
-
readonly name: "_virtualTokenReservesInitial";
|
|
3188
|
-
readonly internalType: "uint256";
|
|
3189
|
-
readonly type: "uint256";
|
|
3190
|
-
}, {
|
|
3191
|
-
readonly name: "_feeBasisPoints";
|
|
3192
|
-
readonly internalType: "uint256";
|
|
3193
|
-
readonly type: "uint256";
|
|
3194
|
-
}, {
|
|
3195
|
-
readonly name: "_fixedMigrationFee";
|
|
3196
|
-
readonly internalType: "uint256";
|
|
3197
|
-
readonly type: "uint256";
|
|
3198
|
-
}, {
|
|
3199
|
-
readonly name: "_poolCreationFee";
|
|
3200
|
-
readonly internalType: "uint256";
|
|
3201
|
-
readonly type: "uint256";
|
|
3202
|
-
}, {
|
|
3203
|
-
readonly name: "_firstBuyFee";
|
|
3204
|
-
readonly internalType: "uint256";
|
|
3205
|
-
readonly type: "uint256";
|
|
3206
|
-
}, {
|
|
3207
|
-
readonly name: "_mcLowerLimit";
|
|
3208
|
-
readonly internalType: "uint256";
|
|
3209
|
-
readonly type: "uint256";
|
|
3210
|
-
}, {
|
|
3211
|
-
readonly name: "_mcUpperLimit";
|
|
3212
|
-
readonly internalType: "uint256";
|
|
3213
|
-
readonly type: "uint256";
|
|
4463
|
+
readonly name: "_protocolRewardRecipient";
|
|
4464
|
+
readonly internalType: "address";
|
|
4465
|
+
readonly type: "address";
|
|
3214
4466
|
}, {
|
|
3215
|
-
readonly name: "
|
|
3216
|
-
readonly internalType: "
|
|
3217
|
-
readonly type: "
|
|
4467
|
+
readonly name: "_protocolRewards";
|
|
4468
|
+
readonly internalType: "address";
|
|
4469
|
+
readonly type: "address";
|
|
3218
4470
|
}, {
|
|
3219
4471
|
readonly name: "_weth";
|
|
3220
4472
|
readonly internalType: "address";
|
|
3221
4473
|
readonly type: "address";
|
|
3222
|
-
}, {
|
|
3223
|
-
readonly name: "_v4LpFee";
|
|
3224
|
-
readonly internalType: "uint24";
|
|
3225
|
-
readonly type: "uint24";
|
|
3226
4474
|
}, {
|
|
3227
4475
|
readonly name: "_tokenImplementation";
|
|
3228
4476
|
readonly internalType: "address";
|
|
@@ -3437,6 +4685,36 @@ export declare const bondingCurveABI: readonly [{
|
|
|
3437
4685
|
readonly internalType: "uint256";
|
|
3438
4686
|
readonly type: "uint256";
|
|
3439
4687
|
}];
|
|
4688
|
+
}, {
|
|
4689
|
+
readonly stateMutability: "payable";
|
|
4690
|
+
readonly type: "function";
|
|
4691
|
+
readonly inputs: readonly [{
|
|
4692
|
+
readonly name: "_collateralAmountIn";
|
|
4693
|
+
readonly internalType: "uint256";
|
|
4694
|
+
readonly type: "uint256";
|
|
4695
|
+
}, {
|
|
4696
|
+
readonly name: "_amountOutMin";
|
|
4697
|
+
readonly internalType: "uint256";
|
|
4698
|
+
readonly type: "uint256";
|
|
4699
|
+
}, {
|
|
4700
|
+
readonly name: "_tradeReferrer";
|
|
4701
|
+
readonly internalType: "address";
|
|
4702
|
+
readonly type: "address";
|
|
4703
|
+
}];
|
|
4704
|
+
readonly name: "buyExactInWithAmount";
|
|
4705
|
+
readonly outputs: readonly [{
|
|
4706
|
+
readonly name: "collateralToPayWithFee";
|
|
4707
|
+
readonly internalType: "uint256";
|
|
4708
|
+
readonly type: "uint256";
|
|
4709
|
+
}, {
|
|
4710
|
+
readonly name: "tradeFee";
|
|
4711
|
+
readonly internalType: "uint256";
|
|
4712
|
+
readonly type: "uint256";
|
|
4713
|
+
}, {
|
|
4714
|
+
readonly name: "firstFee";
|
|
4715
|
+
readonly internalType: "uint256";
|
|
4716
|
+
readonly type: "uint256";
|
|
4717
|
+
}];
|
|
3440
4718
|
}, {
|
|
3441
4719
|
readonly stateMutability: "payable";
|
|
3442
4720
|
readonly type: "function";
|
|
@@ -3467,6 +4745,16 @@ export declare const bondingCurveABI: readonly [{
|
|
|
3467
4745
|
readonly internalType: "uint256";
|
|
3468
4746
|
readonly type: "uint256";
|
|
3469
4747
|
}];
|
|
4748
|
+
}, {
|
|
4749
|
+
readonly stateMutability: "view";
|
|
4750
|
+
readonly type: "function";
|
|
4751
|
+
readonly inputs: readonly [];
|
|
4752
|
+
readonly name: "collateralToken";
|
|
4753
|
+
readonly outputs: readonly [{
|
|
4754
|
+
readonly name: "";
|
|
4755
|
+
readonly internalType: "address";
|
|
4756
|
+
readonly type: "address";
|
|
4757
|
+
}];
|
|
3470
4758
|
}, {
|
|
3471
4759
|
readonly stateMutability: "nonpayable";
|
|
3472
4760
|
readonly type: "function";
|
|
@@ -3698,6 +4986,63 @@ export declare const bondingCurveABI: readonly [{
|
|
|
3698
4986
|
readonly name: "_token";
|
|
3699
4987
|
readonly internalType: "address";
|
|
3700
4988
|
readonly type: "address";
|
|
4989
|
+
}, {
|
|
4990
|
+
readonly name: "_params";
|
|
4991
|
+
readonly internalType: "struct IBondingCurve.CurveParams";
|
|
4992
|
+
readonly type: "tuple";
|
|
4993
|
+
readonly components: readonly [{
|
|
4994
|
+
readonly name: "initialTokenSupply";
|
|
4995
|
+
readonly internalType: "uint256";
|
|
4996
|
+
readonly type: "uint256";
|
|
4997
|
+
}, {
|
|
4998
|
+
readonly name: "virtualCollateralReservesInitial";
|
|
4999
|
+
readonly internalType: "uint256";
|
|
5000
|
+
readonly type: "uint256";
|
|
5001
|
+
}, {
|
|
5002
|
+
readonly name: "virtualTokenReservesInitial";
|
|
5003
|
+
readonly internalType: "uint256";
|
|
5004
|
+
readonly type: "uint256";
|
|
5005
|
+
}, {
|
|
5006
|
+
readonly name: "feeBPS";
|
|
5007
|
+
readonly internalType: "uint256";
|
|
5008
|
+
readonly type: "uint256";
|
|
5009
|
+
}, {
|
|
5010
|
+
readonly name: "mcLowerLimit";
|
|
5011
|
+
readonly internalType: "uint256";
|
|
5012
|
+
readonly type: "uint256";
|
|
5013
|
+
}, {
|
|
5014
|
+
readonly name: "mcUpperLimit";
|
|
5015
|
+
readonly internalType: "uint256";
|
|
5016
|
+
readonly type: "uint256";
|
|
5017
|
+
}, {
|
|
5018
|
+
readonly name: "tokensMigrationThreshold";
|
|
5019
|
+
readonly internalType: "uint256";
|
|
5020
|
+
readonly type: "uint256";
|
|
5021
|
+
}, {
|
|
5022
|
+
readonly name: "fixedMigrationFee";
|
|
5023
|
+
readonly internalType: "uint256";
|
|
5024
|
+
readonly type: "uint256";
|
|
5025
|
+
}, {
|
|
5026
|
+
readonly name: "poolCreationFee";
|
|
5027
|
+
readonly internalType: "uint256";
|
|
5028
|
+
readonly type: "uint256";
|
|
5029
|
+
}, {
|
|
5030
|
+
readonly name: "firstBuyFee";
|
|
5031
|
+
readonly internalType: "uint256";
|
|
5032
|
+
readonly type: "uint256";
|
|
5033
|
+
}, {
|
|
5034
|
+
readonly name: "targetCollectionAmount";
|
|
5035
|
+
readonly internalType: "uint256";
|
|
5036
|
+
readonly type: "uint256";
|
|
5037
|
+
}, {
|
|
5038
|
+
readonly name: "collateralToken";
|
|
5039
|
+
readonly internalType: "address";
|
|
5040
|
+
readonly type: "address";
|
|
5041
|
+
}, {
|
|
5042
|
+
readonly name: "v4LpFee";
|
|
5043
|
+
readonly internalType: "uint24";
|
|
5044
|
+
readonly type: "uint24";
|
|
5045
|
+
}];
|
|
3701
5046
|
}];
|
|
3702
5047
|
readonly name: "initialize";
|
|
3703
5048
|
readonly outputs: readonly [];
|
|
@@ -3929,6 +5274,16 @@ export declare const bondingCurveABI: readonly [{
|
|
|
3929
5274
|
readonly internalType: "bool";
|
|
3930
5275
|
readonly type: "bool";
|
|
3931
5276
|
}];
|
|
5277
|
+
}, {
|
|
5278
|
+
readonly stateMutability: "view";
|
|
5279
|
+
readonly type: "function";
|
|
5280
|
+
readonly inputs: readonly [];
|
|
5281
|
+
readonly name: "targetCollectionAmount";
|
|
5282
|
+
readonly outputs: readonly [{
|
|
5283
|
+
readonly name: "";
|
|
5284
|
+
readonly internalType: "uint256";
|
|
5285
|
+
readonly type: "uint256";
|
|
5286
|
+
}];
|
|
3932
5287
|
}, {
|
|
3933
5288
|
readonly stateMutability: "view";
|
|
3934
5289
|
readonly type: "function";
|
|
@@ -4059,6 +5414,16 @@ export declare const bondingCurveABI: readonly [{
|
|
|
4059
5414
|
readonly internalType: "uint256";
|
|
4060
5415
|
readonly type: "uint256";
|
|
4061
5416
|
}];
|
|
5417
|
+
}, {
|
|
5418
|
+
readonly stateMutability: "view";
|
|
5419
|
+
readonly type: "function";
|
|
5420
|
+
readonly inputs: readonly [];
|
|
5421
|
+
readonly name: "virtualCollateralReservesTarget";
|
|
5422
|
+
readonly outputs: readonly [{
|
|
5423
|
+
readonly name: "";
|
|
5424
|
+
readonly internalType: "uint256";
|
|
5425
|
+
readonly type: "uint256";
|
|
5426
|
+
}];
|
|
4062
5427
|
}, {
|
|
4063
5428
|
readonly stateMutability: "view";
|
|
4064
5429
|
readonly type: "function";
|
|
@@ -4216,6 +5581,14 @@ export declare const bondingCurveABI: readonly [{
|
|
|
4216
5581
|
readonly type: "error";
|
|
4217
5582
|
readonly inputs: readonly [];
|
|
4218
5583
|
readonly name: "AmountOutZero";
|
|
5584
|
+
}, {
|
|
5585
|
+
readonly type: "error";
|
|
5586
|
+
readonly inputs: readonly [{
|
|
5587
|
+
readonly name: "recommendedTokenOut";
|
|
5588
|
+
readonly internalType: "uint256";
|
|
5589
|
+
readonly type: "uint256";
|
|
5590
|
+
}];
|
|
5591
|
+
readonly name: "CollectionTargetExceeded";
|
|
4219
5592
|
}, {
|
|
4220
5593
|
readonly type: "error";
|
|
4221
5594
|
readonly inputs: readonly [];
|
|
@@ -4431,20 +5804,20 @@ export declare const bondingCurveABI: readonly [{
|
|
|
4431
5804
|
}];
|
|
4432
5805
|
/**
|
|
4433
5806
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
4434
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
5807
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x227F6D11D054a1F606dBC9D555fa58538208cc3c)
|
|
4435
5808
|
*/
|
|
4436
5809
|
export declare const bondingCurveAddress: {
|
|
4437
5810
|
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
4438
|
-
readonly 84532: "
|
|
5811
|
+
readonly 84532: "0x227F6D11D054a1F606dBC9D555fa58538208cc3c";
|
|
4439
5812
|
};
|
|
4440
5813
|
/**
|
|
4441
5814
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x0000000000000000000000000000000000000000)
|
|
4442
|
-
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/
|
|
5815
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x227F6D11D054a1F606dBC9D555fa58538208cc3c)
|
|
4443
5816
|
*/
|
|
4444
5817
|
export declare const bondingCurveConfig: {
|
|
4445
5818
|
readonly address: {
|
|
4446
5819
|
readonly 8453: "0x0000000000000000000000000000000000000000";
|
|
4447
|
-
readonly 84532: "
|
|
5820
|
+
readonly 84532: "0x227F6D11D054a1F606dBC9D555fa58538208cc3c";
|
|
4448
5821
|
};
|
|
4449
5822
|
readonly abi: readonly [{
|
|
4450
5823
|
readonly stateMutability: "nonpayable";
|
|
@@ -4457,54 +5830,10 @@ export declare const bondingCurveConfig: {
|
|
|
4457
5830
|
readonly name: "_protocolRewards";
|
|
4458
5831
|
readonly internalType: "address";
|
|
4459
5832
|
readonly type: "address";
|
|
4460
|
-
}, {
|
|
4461
|
-
readonly name: "_initialTokenSupply";
|
|
4462
|
-
readonly internalType: "uint256";
|
|
4463
|
-
readonly type: "uint256";
|
|
4464
|
-
}, {
|
|
4465
|
-
readonly name: "_virtualCollateralReservesInitial";
|
|
4466
|
-
readonly internalType: "uint256";
|
|
4467
|
-
readonly type: "uint256";
|
|
4468
|
-
}, {
|
|
4469
|
-
readonly name: "_virtualTokenReservesInitial";
|
|
4470
|
-
readonly internalType: "uint256";
|
|
4471
|
-
readonly type: "uint256";
|
|
4472
|
-
}, {
|
|
4473
|
-
readonly name: "_feeBasisPoints";
|
|
4474
|
-
readonly internalType: "uint256";
|
|
4475
|
-
readonly type: "uint256";
|
|
4476
|
-
}, {
|
|
4477
|
-
readonly name: "_fixedMigrationFee";
|
|
4478
|
-
readonly internalType: "uint256";
|
|
4479
|
-
readonly type: "uint256";
|
|
4480
|
-
}, {
|
|
4481
|
-
readonly name: "_poolCreationFee";
|
|
4482
|
-
readonly internalType: "uint256";
|
|
4483
|
-
readonly type: "uint256";
|
|
4484
|
-
}, {
|
|
4485
|
-
readonly name: "_firstBuyFee";
|
|
4486
|
-
readonly internalType: "uint256";
|
|
4487
|
-
readonly type: "uint256";
|
|
4488
|
-
}, {
|
|
4489
|
-
readonly name: "_mcLowerLimit";
|
|
4490
|
-
readonly internalType: "uint256";
|
|
4491
|
-
readonly type: "uint256";
|
|
4492
|
-
}, {
|
|
4493
|
-
readonly name: "_mcUpperLimit";
|
|
4494
|
-
readonly internalType: "uint256";
|
|
4495
|
-
readonly type: "uint256";
|
|
4496
|
-
}, {
|
|
4497
|
-
readonly name: "_tokensMigrationThreshold";
|
|
4498
|
-
readonly internalType: "uint256";
|
|
4499
|
-
readonly type: "uint256";
|
|
4500
5833
|
}, {
|
|
4501
5834
|
readonly name: "_weth";
|
|
4502
5835
|
readonly internalType: "address";
|
|
4503
5836
|
readonly type: "address";
|
|
4504
|
-
}, {
|
|
4505
|
-
readonly name: "_v4LpFee";
|
|
4506
|
-
readonly internalType: "uint24";
|
|
4507
|
-
readonly type: "uint24";
|
|
4508
5837
|
}, {
|
|
4509
5838
|
readonly name: "_tokenImplementation";
|
|
4510
5839
|
readonly internalType: "address";
|
|
@@ -4719,6 +6048,36 @@ export declare const bondingCurveConfig: {
|
|
|
4719
6048
|
readonly internalType: "uint256";
|
|
4720
6049
|
readonly type: "uint256";
|
|
4721
6050
|
}];
|
|
6051
|
+
}, {
|
|
6052
|
+
readonly stateMutability: "payable";
|
|
6053
|
+
readonly type: "function";
|
|
6054
|
+
readonly inputs: readonly [{
|
|
6055
|
+
readonly name: "_collateralAmountIn";
|
|
6056
|
+
readonly internalType: "uint256";
|
|
6057
|
+
readonly type: "uint256";
|
|
6058
|
+
}, {
|
|
6059
|
+
readonly name: "_amountOutMin";
|
|
6060
|
+
readonly internalType: "uint256";
|
|
6061
|
+
readonly type: "uint256";
|
|
6062
|
+
}, {
|
|
6063
|
+
readonly name: "_tradeReferrer";
|
|
6064
|
+
readonly internalType: "address";
|
|
6065
|
+
readonly type: "address";
|
|
6066
|
+
}];
|
|
6067
|
+
readonly name: "buyExactInWithAmount";
|
|
6068
|
+
readonly outputs: readonly [{
|
|
6069
|
+
readonly name: "collateralToPayWithFee";
|
|
6070
|
+
readonly internalType: "uint256";
|
|
6071
|
+
readonly type: "uint256";
|
|
6072
|
+
}, {
|
|
6073
|
+
readonly name: "tradeFee";
|
|
6074
|
+
readonly internalType: "uint256";
|
|
6075
|
+
readonly type: "uint256";
|
|
6076
|
+
}, {
|
|
6077
|
+
readonly name: "firstFee";
|
|
6078
|
+
readonly internalType: "uint256";
|
|
6079
|
+
readonly type: "uint256";
|
|
6080
|
+
}];
|
|
4722
6081
|
}, {
|
|
4723
6082
|
readonly stateMutability: "payable";
|
|
4724
6083
|
readonly type: "function";
|
|
@@ -4749,6 +6108,16 @@ export declare const bondingCurveConfig: {
|
|
|
4749
6108
|
readonly internalType: "uint256";
|
|
4750
6109
|
readonly type: "uint256";
|
|
4751
6110
|
}];
|
|
6111
|
+
}, {
|
|
6112
|
+
readonly stateMutability: "view";
|
|
6113
|
+
readonly type: "function";
|
|
6114
|
+
readonly inputs: readonly [];
|
|
6115
|
+
readonly name: "collateralToken";
|
|
6116
|
+
readonly outputs: readonly [{
|
|
6117
|
+
readonly name: "";
|
|
6118
|
+
readonly internalType: "address";
|
|
6119
|
+
readonly type: "address";
|
|
6120
|
+
}];
|
|
4752
6121
|
}, {
|
|
4753
6122
|
readonly stateMutability: "nonpayable";
|
|
4754
6123
|
readonly type: "function";
|
|
@@ -4980,6 +6349,63 @@ export declare const bondingCurveConfig: {
|
|
|
4980
6349
|
readonly name: "_token";
|
|
4981
6350
|
readonly internalType: "address";
|
|
4982
6351
|
readonly type: "address";
|
|
6352
|
+
}, {
|
|
6353
|
+
readonly name: "_params";
|
|
6354
|
+
readonly internalType: "struct IBondingCurve.CurveParams";
|
|
6355
|
+
readonly type: "tuple";
|
|
6356
|
+
readonly components: readonly [{
|
|
6357
|
+
readonly name: "initialTokenSupply";
|
|
6358
|
+
readonly internalType: "uint256";
|
|
6359
|
+
readonly type: "uint256";
|
|
6360
|
+
}, {
|
|
6361
|
+
readonly name: "virtualCollateralReservesInitial";
|
|
6362
|
+
readonly internalType: "uint256";
|
|
6363
|
+
readonly type: "uint256";
|
|
6364
|
+
}, {
|
|
6365
|
+
readonly name: "virtualTokenReservesInitial";
|
|
6366
|
+
readonly internalType: "uint256";
|
|
6367
|
+
readonly type: "uint256";
|
|
6368
|
+
}, {
|
|
6369
|
+
readonly name: "feeBPS";
|
|
6370
|
+
readonly internalType: "uint256";
|
|
6371
|
+
readonly type: "uint256";
|
|
6372
|
+
}, {
|
|
6373
|
+
readonly name: "mcLowerLimit";
|
|
6374
|
+
readonly internalType: "uint256";
|
|
6375
|
+
readonly type: "uint256";
|
|
6376
|
+
}, {
|
|
6377
|
+
readonly name: "mcUpperLimit";
|
|
6378
|
+
readonly internalType: "uint256";
|
|
6379
|
+
readonly type: "uint256";
|
|
6380
|
+
}, {
|
|
6381
|
+
readonly name: "tokensMigrationThreshold";
|
|
6382
|
+
readonly internalType: "uint256";
|
|
6383
|
+
readonly type: "uint256";
|
|
6384
|
+
}, {
|
|
6385
|
+
readonly name: "fixedMigrationFee";
|
|
6386
|
+
readonly internalType: "uint256";
|
|
6387
|
+
readonly type: "uint256";
|
|
6388
|
+
}, {
|
|
6389
|
+
readonly name: "poolCreationFee";
|
|
6390
|
+
readonly internalType: "uint256";
|
|
6391
|
+
readonly type: "uint256";
|
|
6392
|
+
}, {
|
|
6393
|
+
readonly name: "firstBuyFee";
|
|
6394
|
+
readonly internalType: "uint256";
|
|
6395
|
+
readonly type: "uint256";
|
|
6396
|
+
}, {
|
|
6397
|
+
readonly name: "targetCollectionAmount";
|
|
6398
|
+
readonly internalType: "uint256";
|
|
6399
|
+
readonly type: "uint256";
|
|
6400
|
+
}, {
|
|
6401
|
+
readonly name: "collateralToken";
|
|
6402
|
+
readonly internalType: "address";
|
|
6403
|
+
readonly type: "address";
|
|
6404
|
+
}, {
|
|
6405
|
+
readonly name: "v4LpFee";
|
|
6406
|
+
readonly internalType: "uint24";
|
|
6407
|
+
readonly type: "uint24";
|
|
6408
|
+
}];
|
|
4983
6409
|
}];
|
|
4984
6410
|
readonly name: "initialize";
|
|
4985
6411
|
readonly outputs: readonly [];
|
|
@@ -5211,6 +6637,16 @@ export declare const bondingCurveConfig: {
|
|
|
5211
6637
|
readonly internalType: "bool";
|
|
5212
6638
|
readonly type: "bool";
|
|
5213
6639
|
}];
|
|
6640
|
+
}, {
|
|
6641
|
+
readonly stateMutability: "view";
|
|
6642
|
+
readonly type: "function";
|
|
6643
|
+
readonly inputs: readonly [];
|
|
6644
|
+
readonly name: "targetCollectionAmount";
|
|
6645
|
+
readonly outputs: readonly [{
|
|
6646
|
+
readonly name: "";
|
|
6647
|
+
readonly internalType: "uint256";
|
|
6648
|
+
readonly type: "uint256";
|
|
6649
|
+
}];
|
|
5214
6650
|
}, {
|
|
5215
6651
|
readonly stateMutability: "view";
|
|
5216
6652
|
readonly type: "function";
|
|
@@ -5341,6 +6777,16 @@ export declare const bondingCurveConfig: {
|
|
|
5341
6777
|
readonly internalType: "uint256";
|
|
5342
6778
|
readonly type: "uint256";
|
|
5343
6779
|
}];
|
|
6780
|
+
}, {
|
|
6781
|
+
readonly stateMutability: "view";
|
|
6782
|
+
readonly type: "function";
|
|
6783
|
+
readonly inputs: readonly [];
|
|
6784
|
+
readonly name: "virtualCollateralReservesTarget";
|
|
6785
|
+
readonly outputs: readonly [{
|
|
6786
|
+
readonly name: "";
|
|
6787
|
+
readonly internalType: "uint256";
|
|
6788
|
+
readonly type: "uint256";
|
|
6789
|
+
}];
|
|
5344
6790
|
}, {
|
|
5345
6791
|
readonly stateMutability: "view";
|
|
5346
6792
|
readonly type: "function";
|
|
@@ -5498,6 +6944,14 @@ export declare const bondingCurveConfig: {
|
|
|
5498
6944
|
readonly type: "error";
|
|
5499
6945
|
readonly inputs: readonly [];
|
|
5500
6946
|
readonly name: "AmountOutZero";
|
|
6947
|
+
}, {
|
|
6948
|
+
readonly type: "error";
|
|
6949
|
+
readonly inputs: readonly [{
|
|
6950
|
+
readonly name: "recommendedTokenOut";
|
|
6951
|
+
readonly internalType: "uint256";
|
|
6952
|
+
readonly type: "uint256";
|
|
6953
|
+
}];
|
|
6954
|
+
readonly name: "CollectionTargetExceeded";
|
|
5501
6955
|
}, {
|
|
5502
6956
|
readonly type: "error";
|
|
5503
6957
|
readonly inputs: readonly [];
|