@flaunch/sdk 0.9.11 → 0.9.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abi/TokenImporter.d.ts +26 -0
- package/dist/abi/TokenImporter.d.ts.map +1 -1
- package/dist/addresses/index.cjs +1 -1
- package/dist/addresses/index.js +1 -1
- package/dist/clients/TokenImporter.d.ts +10 -0
- package/dist/clients/TokenImporter.d.ts.map +1 -1
- package/dist/index.cjs.js +362 -203
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +362 -203
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/sdk/FlaunchSDK.d.ts +40 -0
- package/dist/sdk/FlaunchSDK.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -5767,7 +5767,7 @@ const BuyBackManagerAddress = {
|
|
|
5767
5767
|
};
|
|
5768
5768
|
/** Verifiers */
|
|
5769
5769
|
const TokenImporterAddress = {
|
|
5770
|
-
[base.id]: "
|
|
5770
|
+
[base.id]: "0x6fb66f4fc262dc86e12136c481ba7c411e668197",
|
|
5771
5771
|
[baseSepolia.id]: "0x7981369D21975F39773f289F759F7d7CE1097139",
|
|
5772
5772
|
};
|
|
5773
5773
|
const ClankerWorldVerifierAddress = {
|
|
@@ -20405,279 +20405,406 @@ class ReadWriteAnyPositionManager extends ReadAnyPositionManager {
|
|
|
20405
20405
|
|
|
20406
20406
|
const TokenImporterAbi = [
|
|
20407
20407
|
{
|
|
20408
|
-
type: "constructor",
|
|
20409
|
-
inputs: [
|
|
20408
|
+
"type": "constructor",
|
|
20409
|
+
"inputs": [
|
|
20410
20410
|
{
|
|
20411
|
-
name: "_anyPositionManager",
|
|
20412
|
-
type: "address",
|
|
20413
|
-
internalType: "address payable"
|
|
20414
|
-
}
|
|
20411
|
+
"name": "_anyPositionManager",
|
|
20412
|
+
"type": "address",
|
|
20413
|
+
"internalType": "address payable"
|
|
20414
|
+
}
|
|
20415
20415
|
],
|
|
20416
|
-
stateMutability: "nonpayable"
|
|
20416
|
+
"stateMutability": "nonpayable"
|
|
20417
20417
|
},
|
|
20418
20418
|
{
|
|
20419
|
-
type: "function",
|
|
20420
|
-
name: "addVerifier",
|
|
20421
|
-
inputs: [
|
|
20422
|
-
|
|
20423
|
-
|
|
20419
|
+
"type": "function",
|
|
20420
|
+
"name": "addVerifier",
|
|
20421
|
+
"inputs": [
|
|
20422
|
+
{
|
|
20423
|
+
"name": "_verifier",
|
|
20424
|
+
"type": "address",
|
|
20425
|
+
"internalType": "address"
|
|
20426
|
+
}
|
|
20427
|
+
],
|
|
20428
|
+
"outputs": [],
|
|
20429
|
+
"stateMutability": "nonpayable"
|
|
20424
20430
|
},
|
|
20425
20431
|
{
|
|
20426
|
-
type: "function",
|
|
20427
|
-
name: "anyPositionManager",
|
|
20428
|
-
inputs: [],
|
|
20429
|
-
outputs: [
|
|
20432
|
+
"type": "function",
|
|
20433
|
+
"name": "anyPositionManager",
|
|
20434
|
+
"inputs": [],
|
|
20435
|
+
"outputs": [
|
|
20430
20436
|
{
|
|
20431
|
-
name: "",
|
|
20432
|
-
type: "address",
|
|
20433
|
-
internalType: "contract AnyPositionManager"
|
|
20434
|
-
}
|
|
20437
|
+
"name": "",
|
|
20438
|
+
"type": "address",
|
|
20439
|
+
"internalType": "contract AnyPositionManager"
|
|
20440
|
+
}
|
|
20435
20441
|
],
|
|
20436
|
-
stateMutability: "view"
|
|
20442
|
+
"stateMutability": "view"
|
|
20437
20443
|
},
|
|
20438
20444
|
{
|
|
20439
|
-
type: "function",
|
|
20440
|
-
name: "cancelOwnershipHandover",
|
|
20441
|
-
inputs: [],
|
|
20442
|
-
outputs: [],
|
|
20443
|
-
stateMutability: "payable"
|
|
20445
|
+
"type": "function",
|
|
20446
|
+
"name": "cancelOwnershipHandover",
|
|
20447
|
+
"inputs": [],
|
|
20448
|
+
"outputs": [],
|
|
20449
|
+
"stateMutability": "payable"
|
|
20444
20450
|
},
|
|
20445
20451
|
{
|
|
20446
|
-
type: "function",
|
|
20447
|
-
name: "completeOwnershipHandover",
|
|
20448
|
-
inputs: [
|
|
20449
|
-
{
|
|
20452
|
+
"type": "function",
|
|
20453
|
+
"name": "completeOwnershipHandover",
|
|
20454
|
+
"inputs": [
|
|
20455
|
+
{
|
|
20456
|
+
"name": "pendingOwner",
|
|
20457
|
+
"type": "address",
|
|
20458
|
+
"internalType": "address"
|
|
20459
|
+
}
|
|
20450
20460
|
],
|
|
20451
|
-
outputs: [],
|
|
20452
|
-
stateMutability: "payable"
|
|
20461
|
+
"outputs": [],
|
|
20462
|
+
"stateMutability": "payable"
|
|
20453
20463
|
},
|
|
20454
20464
|
{
|
|
20455
|
-
type: "function",
|
|
20456
|
-
name: "getAllVerifiers",
|
|
20457
|
-
inputs: [],
|
|
20458
|
-
outputs: [
|
|
20465
|
+
"type": "function",
|
|
20466
|
+
"name": "getAllVerifiers",
|
|
20467
|
+
"inputs": [],
|
|
20468
|
+
"outputs": [
|
|
20469
|
+
{
|
|
20470
|
+
"name": "verifiers_",
|
|
20471
|
+
"type": "address[]",
|
|
20472
|
+
"internalType": "address[]"
|
|
20473
|
+
}
|
|
20474
|
+
],
|
|
20475
|
+
"stateMutability": "view"
|
|
20476
|
+
},
|
|
20477
|
+
{
|
|
20478
|
+
"type": "function",
|
|
20479
|
+
"name": "initialize",
|
|
20480
|
+
"inputs": [
|
|
20481
|
+
{
|
|
20482
|
+
"name": "_memecoin",
|
|
20483
|
+
"type": "address",
|
|
20484
|
+
"internalType": "address"
|
|
20485
|
+
},
|
|
20459
20486
|
{
|
|
20460
|
-
name: "
|
|
20461
|
-
type: "
|
|
20462
|
-
internalType: "
|
|
20487
|
+
"name": "_creatorFeeAllocation",
|
|
20488
|
+
"type": "uint24",
|
|
20489
|
+
"internalType": "uint24"
|
|
20463
20490
|
},
|
|
20491
|
+
{
|
|
20492
|
+
"name": "_initialMarketCap",
|
|
20493
|
+
"type": "uint256",
|
|
20494
|
+
"internalType": "uint256"
|
|
20495
|
+
},
|
|
20496
|
+
{
|
|
20497
|
+
"name": "_verifier",
|
|
20498
|
+
"type": "address",
|
|
20499
|
+
"internalType": "address"
|
|
20500
|
+
}
|
|
20464
20501
|
],
|
|
20465
|
-
|
|
20502
|
+
"outputs": [],
|
|
20503
|
+
"stateMutability": "nonpayable"
|
|
20466
20504
|
},
|
|
20467
20505
|
{
|
|
20468
|
-
type: "function",
|
|
20469
|
-
name: "initialize",
|
|
20470
|
-
inputs: [
|
|
20471
|
-
{ name: "_memecoin", type: "address", internalType: "address" },
|
|
20506
|
+
"type": "function",
|
|
20507
|
+
"name": "initialize",
|
|
20508
|
+
"inputs": [
|
|
20472
20509
|
{
|
|
20473
|
-
name: "
|
|
20474
|
-
type: "
|
|
20475
|
-
internalType: "
|
|
20510
|
+
"name": "_memecoin",
|
|
20511
|
+
"type": "address",
|
|
20512
|
+
"internalType": "address"
|
|
20476
20513
|
},
|
|
20477
20514
|
{
|
|
20478
|
-
name: "
|
|
20479
|
-
type: "
|
|
20480
|
-
internalType: "
|
|
20515
|
+
"name": "_creatorFeeAllocation",
|
|
20516
|
+
"type": "uint24",
|
|
20517
|
+
"internalType": "uint24"
|
|
20481
20518
|
},
|
|
20482
|
-
{
|
|
20519
|
+
{
|
|
20520
|
+
"name": "_initialMarketCap",
|
|
20521
|
+
"type": "uint256",
|
|
20522
|
+
"internalType": "uint256"
|
|
20523
|
+
},
|
|
20524
|
+
{
|
|
20525
|
+
"name": "_totalSupply",
|
|
20526
|
+
"type": "uint256",
|
|
20527
|
+
"internalType": "uint256"
|
|
20528
|
+
},
|
|
20529
|
+
{
|
|
20530
|
+
"name": "_verifier",
|
|
20531
|
+
"type": "address",
|
|
20532
|
+
"internalType": "address"
|
|
20533
|
+
}
|
|
20483
20534
|
],
|
|
20484
|
-
outputs: [],
|
|
20485
|
-
stateMutability: "nonpayable"
|
|
20535
|
+
"outputs": [],
|
|
20536
|
+
"stateMutability": "nonpayable"
|
|
20486
20537
|
},
|
|
20487
20538
|
{
|
|
20488
|
-
type: "function",
|
|
20489
|
-
name: "initialize",
|
|
20490
|
-
inputs: [
|
|
20491
|
-
{ name: "_memecoin", type: "address", internalType: "address" },
|
|
20539
|
+
"type": "function",
|
|
20540
|
+
"name": "initialize",
|
|
20541
|
+
"inputs": [
|
|
20492
20542
|
{
|
|
20493
|
-
name: "
|
|
20494
|
-
type: "
|
|
20495
|
-
internalType: "
|
|
20543
|
+
"name": "_memecoin",
|
|
20544
|
+
"type": "address",
|
|
20545
|
+
"internalType": "address"
|
|
20496
20546
|
},
|
|
20497
20547
|
{
|
|
20498
|
-
name: "
|
|
20499
|
-
type: "
|
|
20500
|
-
internalType: "
|
|
20548
|
+
"name": "_creatorFeeAllocation",
|
|
20549
|
+
"type": "uint24",
|
|
20550
|
+
"internalType": "uint24"
|
|
20501
20551
|
},
|
|
20552
|
+
{
|
|
20553
|
+
"name": "_initialMarketCap",
|
|
20554
|
+
"type": "uint256",
|
|
20555
|
+
"internalType": "uint256"
|
|
20556
|
+
}
|
|
20502
20557
|
],
|
|
20503
|
-
outputs: [],
|
|
20504
|
-
stateMutability: "nonpayable"
|
|
20558
|
+
"outputs": [],
|
|
20559
|
+
"stateMutability": "nonpayable"
|
|
20505
20560
|
},
|
|
20506
20561
|
{
|
|
20507
|
-
type: "function",
|
|
20508
|
-
name: "owner",
|
|
20509
|
-
inputs: [],
|
|
20510
|
-
outputs: [
|
|
20511
|
-
|
|
20562
|
+
"type": "function",
|
|
20563
|
+
"name": "owner",
|
|
20564
|
+
"inputs": [],
|
|
20565
|
+
"outputs": [
|
|
20566
|
+
{
|
|
20567
|
+
"name": "result",
|
|
20568
|
+
"type": "address",
|
|
20569
|
+
"internalType": "address"
|
|
20570
|
+
}
|
|
20571
|
+
],
|
|
20572
|
+
"stateMutability": "view"
|
|
20512
20573
|
},
|
|
20513
20574
|
{
|
|
20514
|
-
type: "function",
|
|
20515
|
-
name: "ownershipHandoverExpiresAt",
|
|
20516
|
-
inputs: [
|
|
20517
|
-
{
|
|
20575
|
+
"type": "function",
|
|
20576
|
+
"name": "ownershipHandoverExpiresAt",
|
|
20577
|
+
"inputs": [
|
|
20578
|
+
{
|
|
20579
|
+
"name": "pendingOwner",
|
|
20580
|
+
"type": "address",
|
|
20581
|
+
"internalType": "address"
|
|
20582
|
+
}
|
|
20518
20583
|
],
|
|
20519
|
-
outputs: [
|
|
20520
|
-
|
|
20584
|
+
"outputs": [
|
|
20585
|
+
{
|
|
20586
|
+
"name": "result",
|
|
20587
|
+
"type": "uint256",
|
|
20588
|
+
"internalType": "uint256"
|
|
20589
|
+
}
|
|
20590
|
+
],
|
|
20591
|
+
"stateMutability": "view"
|
|
20521
20592
|
},
|
|
20522
20593
|
{
|
|
20523
|
-
type: "function",
|
|
20524
|
-
name: "removeVerifier",
|
|
20525
|
-
inputs: [
|
|
20526
|
-
|
|
20527
|
-
|
|
20594
|
+
"type": "function",
|
|
20595
|
+
"name": "removeVerifier",
|
|
20596
|
+
"inputs": [
|
|
20597
|
+
{
|
|
20598
|
+
"name": "_verifier",
|
|
20599
|
+
"type": "address",
|
|
20600
|
+
"internalType": "address"
|
|
20601
|
+
}
|
|
20602
|
+
],
|
|
20603
|
+
"outputs": [],
|
|
20604
|
+
"stateMutability": "nonpayable"
|
|
20528
20605
|
},
|
|
20529
20606
|
{
|
|
20530
|
-
type: "function",
|
|
20531
|
-
name: "renounceOwnership",
|
|
20532
|
-
inputs: [],
|
|
20533
|
-
outputs: [],
|
|
20534
|
-
stateMutability: "payable"
|
|
20607
|
+
"type": "function",
|
|
20608
|
+
"name": "renounceOwnership",
|
|
20609
|
+
"inputs": [],
|
|
20610
|
+
"outputs": [],
|
|
20611
|
+
"stateMutability": "payable"
|
|
20535
20612
|
},
|
|
20536
20613
|
{
|
|
20537
|
-
type: "function",
|
|
20538
|
-
name: "requestOwnershipHandover",
|
|
20539
|
-
inputs: [],
|
|
20540
|
-
outputs: [],
|
|
20541
|
-
stateMutability: "payable"
|
|
20614
|
+
"type": "function",
|
|
20615
|
+
"name": "requestOwnershipHandover",
|
|
20616
|
+
"inputs": [],
|
|
20617
|
+
"outputs": [],
|
|
20618
|
+
"stateMutability": "payable"
|
|
20542
20619
|
},
|
|
20543
20620
|
{
|
|
20544
|
-
type: "function",
|
|
20545
|
-
name: "setAnyPositionManager",
|
|
20546
|
-
inputs: [
|
|
20621
|
+
"type": "function",
|
|
20622
|
+
"name": "setAnyPositionManager",
|
|
20623
|
+
"inputs": [
|
|
20547
20624
|
{
|
|
20548
|
-
name: "_anyPositionManager",
|
|
20549
|
-
type: "address",
|
|
20550
|
-
internalType: "address payable"
|
|
20551
|
-
}
|
|
20625
|
+
"name": "_anyPositionManager",
|
|
20626
|
+
"type": "address",
|
|
20627
|
+
"internalType": "address payable"
|
|
20628
|
+
}
|
|
20552
20629
|
],
|
|
20553
|
-
outputs: [],
|
|
20554
|
-
stateMutability: "nonpayable"
|
|
20630
|
+
"outputs": [],
|
|
20631
|
+
"stateMutability": "nonpayable"
|
|
20555
20632
|
},
|
|
20556
20633
|
{
|
|
20557
|
-
type: "function",
|
|
20558
|
-
name: "transferOwnership",
|
|
20559
|
-
inputs: [
|
|
20560
|
-
|
|
20561
|
-
|
|
20634
|
+
"type": "function",
|
|
20635
|
+
"name": "transferOwnership",
|
|
20636
|
+
"inputs": [
|
|
20637
|
+
{
|
|
20638
|
+
"name": "newOwner",
|
|
20639
|
+
"type": "address",
|
|
20640
|
+
"internalType": "address"
|
|
20641
|
+
}
|
|
20642
|
+
],
|
|
20643
|
+
"outputs": [],
|
|
20644
|
+
"stateMutability": "payable"
|
|
20562
20645
|
},
|
|
20563
20646
|
{
|
|
20564
|
-
type: "function",
|
|
20565
|
-
name: "verifyMemecoin",
|
|
20566
|
-
inputs: [
|
|
20567
|
-
|
|
20568
|
-
|
|
20647
|
+
"type": "function",
|
|
20648
|
+
"name": "verifyMemecoin",
|
|
20649
|
+
"inputs": [
|
|
20650
|
+
{
|
|
20651
|
+
"name": "_memecoin",
|
|
20652
|
+
"type": "address",
|
|
20653
|
+
"internalType": "address"
|
|
20654
|
+
}
|
|
20655
|
+
],
|
|
20656
|
+
"outputs": [
|
|
20657
|
+
{
|
|
20658
|
+
"name": "verifier_",
|
|
20659
|
+
"type": "address",
|
|
20660
|
+
"internalType": "address"
|
|
20661
|
+
}
|
|
20662
|
+
],
|
|
20663
|
+
"stateMutability": "view"
|
|
20569
20664
|
},
|
|
20570
20665
|
{
|
|
20571
|
-
type: "event",
|
|
20572
|
-
name: "AnyPositionManagerSet",
|
|
20573
|
-
inputs: [
|
|
20666
|
+
"type": "event",
|
|
20667
|
+
"name": "AnyPositionManagerSet",
|
|
20668
|
+
"inputs": [
|
|
20574
20669
|
{
|
|
20575
|
-
name: "_anyPositionManager",
|
|
20576
|
-
type: "address",
|
|
20577
|
-
indexed: true,
|
|
20578
|
-
internalType: "address"
|
|
20579
|
-
}
|
|
20670
|
+
"name": "_anyPositionManager",
|
|
20671
|
+
"type": "address",
|
|
20672
|
+
"indexed": true,
|
|
20673
|
+
"internalType": "address"
|
|
20674
|
+
}
|
|
20580
20675
|
],
|
|
20581
|
-
anonymous: false
|
|
20676
|
+
"anonymous": false
|
|
20582
20677
|
},
|
|
20583
20678
|
{
|
|
20584
|
-
type: "event",
|
|
20585
|
-
name: "OwnershipHandoverCanceled",
|
|
20586
|
-
inputs: [
|
|
20679
|
+
"type": "event",
|
|
20680
|
+
"name": "OwnershipHandoverCanceled",
|
|
20681
|
+
"inputs": [
|
|
20587
20682
|
{
|
|
20588
|
-
name: "pendingOwner",
|
|
20589
|
-
type: "address",
|
|
20590
|
-
indexed: true,
|
|
20591
|
-
internalType: "address"
|
|
20592
|
-
}
|
|
20683
|
+
"name": "pendingOwner",
|
|
20684
|
+
"type": "address",
|
|
20685
|
+
"indexed": true,
|
|
20686
|
+
"internalType": "address"
|
|
20687
|
+
}
|
|
20593
20688
|
],
|
|
20594
|
-
anonymous: false
|
|
20689
|
+
"anonymous": false
|
|
20595
20690
|
},
|
|
20596
20691
|
{
|
|
20597
|
-
type: "event",
|
|
20598
|
-
name: "OwnershipHandoverRequested",
|
|
20599
|
-
inputs: [
|
|
20692
|
+
"type": "event",
|
|
20693
|
+
"name": "OwnershipHandoverRequested",
|
|
20694
|
+
"inputs": [
|
|
20600
20695
|
{
|
|
20601
|
-
name: "pendingOwner",
|
|
20602
|
-
type: "address",
|
|
20603
|
-
indexed: true,
|
|
20604
|
-
internalType: "address"
|
|
20605
|
-
}
|
|
20696
|
+
"name": "pendingOwner",
|
|
20697
|
+
"type": "address",
|
|
20698
|
+
"indexed": true,
|
|
20699
|
+
"internalType": "address"
|
|
20700
|
+
}
|
|
20606
20701
|
],
|
|
20607
|
-
anonymous: false
|
|
20702
|
+
"anonymous": false
|
|
20608
20703
|
},
|
|
20609
20704
|
{
|
|
20610
|
-
type: "event",
|
|
20611
|
-
name: "OwnershipTransferred",
|
|
20612
|
-
inputs: [
|
|
20705
|
+
"type": "event",
|
|
20706
|
+
"name": "OwnershipTransferred",
|
|
20707
|
+
"inputs": [
|
|
20613
20708
|
{
|
|
20614
|
-
name: "oldOwner",
|
|
20615
|
-
type: "address",
|
|
20616
|
-
indexed: true,
|
|
20617
|
-
internalType: "address"
|
|
20709
|
+
"name": "oldOwner",
|
|
20710
|
+
"type": "address",
|
|
20711
|
+
"indexed": true,
|
|
20712
|
+
"internalType": "address"
|
|
20618
20713
|
},
|
|
20619
20714
|
{
|
|
20620
|
-
name: "newOwner",
|
|
20621
|
-
type: "address",
|
|
20622
|
-
indexed: true,
|
|
20623
|
-
internalType: "address"
|
|
20624
|
-
}
|
|
20715
|
+
"name": "newOwner",
|
|
20716
|
+
"type": "address",
|
|
20717
|
+
"indexed": true,
|
|
20718
|
+
"internalType": "address"
|
|
20719
|
+
}
|
|
20625
20720
|
],
|
|
20626
|
-
anonymous: false
|
|
20721
|
+
"anonymous": false
|
|
20627
20722
|
},
|
|
20628
20723
|
{
|
|
20629
|
-
type: "event",
|
|
20630
|
-
name: "TokenImported",
|
|
20631
|
-
inputs: [
|
|
20724
|
+
"type": "event",
|
|
20725
|
+
"name": "TokenImported",
|
|
20726
|
+
"inputs": [
|
|
20632
20727
|
{
|
|
20633
|
-
name: "_memecoin",
|
|
20634
|
-
type: "address",
|
|
20635
|
-
indexed: true,
|
|
20636
|
-
internalType: "address"
|
|
20728
|
+
"name": "_memecoin",
|
|
20729
|
+
"type": "address",
|
|
20730
|
+
"indexed": true,
|
|
20731
|
+
"internalType": "address"
|
|
20637
20732
|
},
|
|
20638
20733
|
{
|
|
20639
|
-
name: "_verifier",
|
|
20640
|
-
type: "address",
|
|
20641
|
-
indexed: true,
|
|
20642
|
-
internalType: "address"
|
|
20643
|
-
}
|
|
20734
|
+
"name": "_verifier",
|
|
20735
|
+
"type": "address",
|
|
20736
|
+
"indexed": true,
|
|
20737
|
+
"internalType": "address"
|
|
20738
|
+
}
|
|
20644
20739
|
],
|
|
20645
|
-
anonymous: false
|
|
20740
|
+
"anonymous": false
|
|
20646
20741
|
},
|
|
20647
20742
|
{
|
|
20648
|
-
type: "event",
|
|
20649
|
-
name: "VerifierAdded",
|
|
20650
|
-
inputs: [
|
|
20743
|
+
"type": "event",
|
|
20744
|
+
"name": "VerifierAdded",
|
|
20745
|
+
"inputs": [
|
|
20651
20746
|
{
|
|
20652
|
-
name: "_verifier",
|
|
20653
|
-
type: "address",
|
|
20654
|
-
indexed: true,
|
|
20655
|
-
internalType: "address"
|
|
20656
|
-
}
|
|
20747
|
+
"name": "_verifier",
|
|
20748
|
+
"type": "address",
|
|
20749
|
+
"indexed": true,
|
|
20750
|
+
"internalType": "address"
|
|
20751
|
+
}
|
|
20657
20752
|
],
|
|
20658
|
-
anonymous: false
|
|
20753
|
+
"anonymous": false
|
|
20659
20754
|
},
|
|
20660
20755
|
{
|
|
20661
|
-
type: "event",
|
|
20662
|
-
name: "VerifierRemoved",
|
|
20663
|
-
inputs: [
|
|
20756
|
+
"type": "event",
|
|
20757
|
+
"name": "VerifierRemoved",
|
|
20758
|
+
"inputs": [
|
|
20664
20759
|
{
|
|
20665
|
-
name: "_verifier",
|
|
20666
|
-
type: "address",
|
|
20667
|
-
indexed: true,
|
|
20668
|
-
internalType: "address"
|
|
20669
|
-
}
|
|
20760
|
+
"name": "_verifier",
|
|
20761
|
+
"type": "address",
|
|
20762
|
+
"indexed": true,
|
|
20763
|
+
"internalType": "address"
|
|
20764
|
+
}
|
|
20670
20765
|
],
|
|
20671
|
-
anonymous: false
|
|
20766
|
+
"anonymous": false
|
|
20672
20767
|
},
|
|
20673
|
-
{
|
|
20674
|
-
|
|
20675
|
-
|
|
20676
|
-
|
|
20677
|
-
|
|
20678
|
-
{
|
|
20679
|
-
|
|
20680
|
-
|
|
20768
|
+
{
|
|
20769
|
+
"type": "error",
|
|
20770
|
+
"name": "AlreadyInitialized",
|
|
20771
|
+
"inputs": []
|
|
20772
|
+
},
|
|
20773
|
+
{
|
|
20774
|
+
"type": "error",
|
|
20775
|
+
"name": "InvalidMemecoin",
|
|
20776
|
+
"inputs": []
|
|
20777
|
+
},
|
|
20778
|
+
{
|
|
20779
|
+
"type": "error",
|
|
20780
|
+
"name": "NewOwnerIsZeroAddress",
|
|
20781
|
+
"inputs": []
|
|
20782
|
+
},
|
|
20783
|
+
{
|
|
20784
|
+
"type": "error",
|
|
20785
|
+
"name": "NoHandoverRequest",
|
|
20786
|
+
"inputs": []
|
|
20787
|
+
},
|
|
20788
|
+
{
|
|
20789
|
+
"type": "error",
|
|
20790
|
+
"name": "Unauthorized",
|
|
20791
|
+
"inputs": []
|
|
20792
|
+
},
|
|
20793
|
+
{
|
|
20794
|
+
"type": "error",
|
|
20795
|
+
"name": "VerifierAlreadyAdded",
|
|
20796
|
+
"inputs": []
|
|
20797
|
+
},
|
|
20798
|
+
{
|
|
20799
|
+
"type": "error",
|
|
20800
|
+
"name": "VerifierNotAdded",
|
|
20801
|
+
"inputs": []
|
|
20802
|
+
},
|
|
20803
|
+
{
|
|
20804
|
+
"type": "error",
|
|
20805
|
+
"name": "ZeroAddress",
|
|
20806
|
+
"inputs": []
|
|
20807
|
+
}
|
|
20681
20808
|
];
|
|
20682
20809
|
|
|
20683
20810
|
/**
|
|
@@ -20759,12 +20886,20 @@ class ReadWriteTokenImporter extends ReadTokenImporter {
|
|
|
20759
20886
|
: await this.contract.read("verifyMemecoin", {
|
|
20760
20887
|
_memecoin: params.coinAddress,
|
|
20761
20888
|
});
|
|
20762
|
-
|
|
20889
|
+
const baseParams = {
|
|
20763
20890
|
_memecoin: params.coinAddress,
|
|
20764
20891
|
_creatorFeeAllocation: creatorFeeAllocationInBps,
|
|
20765
20892
|
_initialMarketCap: initialMCapInUSDCWei,
|
|
20766
20893
|
_verifier,
|
|
20767
20894
|
};
|
|
20895
|
+
// If tokenSupply is provided (even if 0n), include it to use the 5-parameter initialize overload
|
|
20896
|
+
if (params.tokenSupply !== undefined) {
|
|
20897
|
+
return {
|
|
20898
|
+
...baseParams,
|
|
20899
|
+
_totalSupply: params.tokenSupply,
|
|
20900
|
+
};
|
|
20901
|
+
}
|
|
20902
|
+
return baseParams;
|
|
20768
20903
|
}
|
|
20769
20904
|
}
|
|
20770
20905
|
|
|
@@ -28294,21 +28429,45 @@ class ReadWriteFlaunchSDK extends ReadFlaunchSDK {
|
|
|
28294
28429
|
let importParams;
|
|
28295
28430
|
if ("initialMarketCapUSD" in params) {
|
|
28296
28431
|
const paramsWithMarketCap = params;
|
|
28297
|
-
|
|
28298
|
-
|
|
28299
|
-
|
|
28300
|
-
|
|
28301
|
-
|
|
28302
|
-
|
|
28432
|
+
if ("tokenSupply" in paramsWithMarketCap &&
|
|
28433
|
+
paramsWithMarketCap.tokenSupply !== undefined) {
|
|
28434
|
+
importParams = await this.readWriteTokenImporter.getInitializeParams({
|
|
28435
|
+
coinAddress: paramsWithMarketCap.coinAddress,
|
|
28436
|
+
creatorFeeAllocationPercent: paramsWithMarketCap.creatorFeeAllocationPercent,
|
|
28437
|
+
initialMarketCapUSD: paramsWithMarketCap.initialMarketCapUSD,
|
|
28438
|
+
verifier: paramsWithMarketCap.verifier,
|
|
28439
|
+
tokenSupply: paramsWithMarketCap.tokenSupply,
|
|
28440
|
+
});
|
|
28441
|
+
}
|
|
28442
|
+
else {
|
|
28443
|
+
importParams = await this.readWriteTokenImporter.getInitializeParams({
|
|
28444
|
+
coinAddress: paramsWithMarketCap.coinAddress,
|
|
28445
|
+
creatorFeeAllocationPercent: paramsWithMarketCap.creatorFeeAllocationPercent,
|
|
28446
|
+
initialMarketCapUSD: paramsWithMarketCap.initialMarketCapUSD,
|
|
28447
|
+
verifier: paramsWithMarketCap.verifier,
|
|
28448
|
+
});
|
|
28449
|
+
}
|
|
28303
28450
|
}
|
|
28304
28451
|
else {
|
|
28305
28452
|
const paramsWithPrice = params;
|
|
28306
|
-
|
|
28307
|
-
|
|
28308
|
-
|
|
28309
|
-
|
|
28310
|
-
|
|
28311
|
-
|
|
28453
|
+
if ("tokenSupply" in paramsWithPrice &&
|
|
28454
|
+
paramsWithPrice.tokenSupply !== undefined) {
|
|
28455
|
+
importParams = await this.readWriteTokenImporter.getInitializeParams({
|
|
28456
|
+
coinAddress: paramsWithPrice.coinAddress,
|
|
28457
|
+
creatorFeeAllocationPercent: paramsWithPrice.creatorFeeAllocationPercent,
|
|
28458
|
+
initialPriceUSD: paramsWithPrice.initialPriceUSD,
|
|
28459
|
+
verifier: paramsWithPrice.verifier,
|
|
28460
|
+
tokenSupply: paramsWithPrice.tokenSupply,
|
|
28461
|
+
});
|
|
28462
|
+
}
|
|
28463
|
+
else {
|
|
28464
|
+
importParams = await this.readWriteTokenImporter.getInitializeParams({
|
|
28465
|
+
coinAddress: paramsWithPrice.coinAddress,
|
|
28466
|
+
creatorFeeAllocationPercent: paramsWithPrice.creatorFeeAllocationPercent,
|
|
28467
|
+
initialPriceUSD: paramsWithPrice.initialPriceUSD,
|
|
28468
|
+
verifier: paramsWithPrice.verifier,
|
|
28469
|
+
});
|
|
28470
|
+
}
|
|
28312
28471
|
}
|
|
28313
28472
|
const addLiquidityCalls = await this.getSingleSidedCoinAddLiquidityCalls({
|
|
28314
28473
|
...params,
|