@flaunch/sdk 0.9.10 → 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 +6 -1
- package/dist/addresses/index.cjs.map +1 -1
- package/dist/addresses/index.js +6 -2
- package/dist/addresses/index.js.map +1 -1
- package/dist/addresses.d.ts +1 -0
- package/dist/addresses.d.ts.map +1 -1
- package/dist/clients/TokenImporter.d.ts +10 -0
- package/dist/clients/TokenImporter.d.ts.map +1 -1
- package/dist/helpers/index.cjs +1 -0
- package/dist/helpers/index.cjs.map +1 -1
- package/dist/helpers/index.js +1 -0
- package/dist/helpers/index.js.map +1 -1
- package/dist/index.cjs.js +370 -203
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +370 -204
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +3 -3
- 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/dist/types.d.ts +1 -0
- package/dist/types.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 = {
|
|
@@ -5778,6 +5778,10 @@ const DopplerVerifierAddress = {
|
|
|
5778
5778
|
[base.id]: "0xedd66b080b8e9425c39d349a3fb69f480580f993",
|
|
5779
5779
|
[baseSepolia.id]: "0x6428b5C4da36ecB070aBdcB5E1939244A3cC7fb5",
|
|
5780
5780
|
};
|
|
5781
|
+
const SolanaVerifierAddress = {
|
|
5782
|
+
[base.id]: "0xba28ac1540893a34476c24b2c4fa32e0506c9055",
|
|
5783
|
+
[baseSepolia.id]: "0x47226918e518f205584bd75bf81e0b532b0b3ea7",
|
|
5784
|
+
};
|
|
5781
5785
|
const VirtualsVerifierAddress = {
|
|
5782
5786
|
[base.id]: "0x06a089fa231aca48d2aa77365123ad9aca43d3a4",
|
|
5783
5787
|
[baseSepolia.id]: "0x6582d2bc6a7eba3b40bdf46b3868fc7ec2ff96ec",
|
|
@@ -11894,6 +11898,7 @@ exports.Verifier = void 0;
|
|
|
11894
11898
|
(function (Verifier) {
|
|
11895
11899
|
Verifier["CLANKER"] = "clanker";
|
|
11896
11900
|
Verifier["DOPPLER"] = "doppler";
|
|
11901
|
+
Verifier["SOLANA"] = "solana";
|
|
11897
11902
|
Verifier["VIRTUALS"] = "virtuals";
|
|
11898
11903
|
Verifier["WHITELIST"] = "whitelist";
|
|
11899
11904
|
Verifier["ZORA"] = "zora";
|
|
@@ -20400,279 +20405,406 @@ class ReadWriteAnyPositionManager extends ReadAnyPositionManager {
|
|
|
20400
20405
|
|
|
20401
20406
|
const TokenImporterAbi = [
|
|
20402
20407
|
{
|
|
20403
|
-
type: "constructor",
|
|
20404
|
-
inputs: [
|
|
20408
|
+
"type": "constructor",
|
|
20409
|
+
"inputs": [
|
|
20405
20410
|
{
|
|
20406
|
-
name: "_anyPositionManager",
|
|
20407
|
-
type: "address",
|
|
20408
|
-
internalType: "address payable"
|
|
20409
|
-
}
|
|
20411
|
+
"name": "_anyPositionManager",
|
|
20412
|
+
"type": "address",
|
|
20413
|
+
"internalType": "address payable"
|
|
20414
|
+
}
|
|
20410
20415
|
],
|
|
20411
|
-
stateMutability: "nonpayable"
|
|
20416
|
+
"stateMutability": "nonpayable"
|
|
20412
20417
|
},
|
|
20413
20418
|
{
|
|
20414
|
-
type: "function",
|
|
20415
|
-
name: "addVerifier",
|
|
20416
|
-
inputs: [
|
|
20417
|
-
|
|
20418
|
-
|
|
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"
|
|
20419
20430
|
},
|
|
20420
20431
|
{
|
|
20421
|
-
type: "function",
|
|
20422
|
-
name: "anyPositionManager",
|
|
20423
|
-
inputs: [],
|
|
20424
|
-
outputs: [
|
|
20432
|
+
"type": "function",
|
|
20433
|
+
"name": "anyPositionManager",
|
|
20434
|
+
"inputs": [],
|
|
20435
|
+
"outputs": [
|
|
20425
20436
|
{
|
|
20426
|
-
name: "",
|
|
20427
|
-
type: "address",
|
|
20428
|
-
internalType: "contract AnyPositionManager"
|
|
20429
|
-
}
|
|
20437
|
+
"name": "",
|
|
20438
|
+
"type": "address",
|
|
20439
|
+
"internalType": "contract AnyPositionManager"
|
|
20440
|
+
}
|
|
20430
20441
|
],
|
|
20431
|
-
stateMutability: "view"
|
|
20442
|
+
"stateMutability": "view"
|
|
20432
20443
|
},
|
|
20433
20444
|
{
|
|
20434
|
-
type: "function",
|
|
20435
|
-
name: "cancelOwnershipHandover",
|
|
20436
|
-
inputs: [],
|
|
20437
|
-
outputs: [],
|
|
20438
|
-
stateMutability: "payable"
|
|
20445
|
+
"type": "function",
|
|
20446
|
+
"name": "cancelOwnershipHandover",
|
|
20447
|
+
"inputs": [],
|
|
20448
|
+
"outputs": [],
|
|
20449
|
+
"stateMutability": "payable"
|
|
20439
20450
|
},
|
|
20440
20451
|
{
|
|
20441
|
-
type: "function",
|
|
20442
|
-
name: "completeOwnershipHandover",
|
|
20443
|
-
inputs: [
|
|
20444
|
-
{
|
|
20452
|
+
"type": "function",
|
|
20453
|
+
"name": "completeOwnershipHandover",
|
|
20454
|
+
"inputs": [
|
|
20455
|
+
{
|
|
20456
|
+
"name": "pendingOwner",
|
|
20457
|
+
"type": "address",
|
|
20458
|
+
"internalType": "address"
|
|
20459
|
+
}
|
|
20445
20460
|
],
|
|
20446
|
-
outputs: [],
|
|
20447
|
-
stateMutability: "payable"
|
|
20461
|
+
"outputs": [],
|
|
20462
|
+
"stateMutability": "payable"
|
|
20448
20463
|
},
|
|
20449
20464
|
{
|
|
20450
|
-
type: "function",
|
|
20451
|
-
name: "getAllVerifiers",
|
|
20452
|
-
inputs: [],
|
|
20453
|
-
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
|
+
},
|
|
20486
|
+
{
|
|
20487
|
+
"name": "_creatorFeeAllocation",
|
|
20488
|
+
"type": "uint24",
|
|
20489
|
+
"internalType": "uint24"
|
|
20490
|
+
},
|
|
20454
20491
|
{
|
|
20455
|
-
name: "
|
|
20456
|
-
type: "
|
|
20457
|
-
internalType: "
|
|
20492
|
+
"name": "_initialMarketCap",
|
|
20493
|
+
"type": "uint256",
|
|
20494
|
+
"internalType": "uint256"
|
|
20458
20495
|
},
|
|
20496
|
+
{
|
|
20497
|
+
"name": "_verifier",
|
|
20498
|
+
"type": "address",
|
|
20499
|
+
"internalType": "address"
|
|
20500
|
+
}
|
|
20459
20501
|
],
|
|
20460
|
-
|
|
20502
|
+
"outputs": [],
|
|
20503
|
+
"stateMutability": "nonpayable"
|
|
20461
20504
|
},
|
|
20462
20505
|
{
|
|
20463
|
-
type: "function",
|
|
20464
|
-
name: "initialize",
|
|
20465
|
-
inputs: [
|
|
20466
|
-
{ name: "_memecoin", type: "address", internalType: "address" },
|
|
20506
|
+
"type": "function",
|
|
20507
|
+
"name": "initialize",
|
|
20508
|
+
"inputs": [
|
|
20467
20509
|
{
|
|
20468
|
-
name: "
|
|
20469
|
-
type: "
|
|
20470
|
-
internalType: "
|
|
20510
|
+
"name": "_memecoin",
|
|
20511
|
+
"type": "address",
|
|
20512
|
+
"internalType": "address"
|
|
20471
20513
|
},
|
|
20472
20514
|
{
|
|
20473
|
-
name: "
|
|
20474
|
-
type: "
|
|
20475
|
-
internalType: "
|
|
20515
|
+
"name": "_creatorFeeAllocation",
|
|
20516
|
+
"type": "uint24",
|
|
20517
|
+
"internalType": "uint24"
|
|
20518
|
+
},
|
|
20519
|
+
{
|
|
20520
|
+
"name": "_initialMarketCap",
|
|
20521
|
+
"type": "uint256",
|
|
20522
|
+
"internalType": "uint256"
|
|
20476
20523
|
},
|
|
20477
|
-
{
|
|
20524
|
+
{
|
|
20525
|
+
"name": "_totalSupply",
|
|
20526
|
+
"type": "uint256",
|
|
20527
|
+
"internalType": "uint256"
|
|
20528
|
+
},
|
|
20529
|
+
{
|
|
20530
|
+
"name": "_verifier",
|
|
20531
|
+
"type": "address",
|
|
20532
|
+
"internalType": "address"
|
|
20533
|
+
}
|
|
20478
20534
|
],
|
|
20479
|
-
outputs: [],
|
|
20480
|
-
stateMutability: "nonpayable"
|
|
20535
|
+
"outputs": [],
|
|
20536
|
+
"stateMutability": "nonpayable"
|
|
20481
20537
|
},
|
|
20482
20538
|
{
|
|
20483
|
-
type: "function",
|
|
20484
|
-
name: "initialize",
|
|
20485
|
-
inputs: [
|
|
20486
|
-
{ name: "_memecoin", type: "address", internalType: "address" },
|
|
20539
|
+
"type": "function",
|
|
20540
|
+
"name": "initialize",
|
|
20541
|
+
"inputs": [
|
|
20487
20542
|
{
|
|
20488
|
-
name: "
|
|
20489
|
-
type: "
|
|
20490
|
-
internalType: "
|
|
20543
|
+
"name": "_memecoin",
|
|
20544
|
+
"type": "address",
|
|
20545
|
+
"internalType": "address"
|
|
20491
20546
|
},
|
|
20492
20547
|
{
|
|
20493
|
-
name: "
|
|
20494
|
-
type: "
|
|
20495
|
-
internalType: "
|
|
20548
|
+
"name": "_creatorFeeAllocation",
|
|
20549
|
+
"type": "uint24",
|
|
20550
|
+
"internalType": "uint24"
|
|
20496
20551
|
},
|
|
20552
|
+
{
|
|
20553
|
+
"name": "_initialMarketCap",
|
|
20554
|
+
"type": "uint256",
|
|
20555
|
+
"internalType": "uint256"
|
|
20556
|
+
}
|
|
20497
20557
|
],
|
|
20498
|
-
outputs: [],
|
|
20499
|
-
stateMutability: "nonpayable"
|
|
20558
|
+
"outputs": [],
|
|
20559
|
+
"stateMutability": "nonpayable"
|
|
20500
20560
|
},
|
|
20501
20561
|
{
|
|
20502
|
-
type: "function",
|
|
20503
|
-
name: "owner",
|
|
20504
|
-
inputs: [],
|
|
20505
|
-
outputs: [
|
|
20506
|
-
|
|
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"
|
|
20507
20573
|
},
|
|
20508
20574
|
{
|
|
20509
|
-
type: "function",
|
|
20510
|
-
name: "ownershipHandoverExpiresAt",
|
|
20511
|
-
inputs: [
|
|
20512
|
-
{
|
|
20575
|
+
"type": "function",
|
|
20576
|
+
"name": "ownershipHandoverExpiresAt",
|
|
20577
|
+
"inputs": [
|
|
20578
|
+
{
|
|
20579
|
+
"name": "pendingOwner",
|
|
20580
|
+
"type": "address",
|
|
20581
|
+
"internalType": "address"
|
|
20582
|
+
}
|
|
20513
20583
|
],
|
|
20514
|
-
outputs: [
|
|
20515
|
-
|
|
20584
|
+
"outputs": [
|
|
20585
|
+
{
|
|
20586
|
+
"name": "result",
|
|
20587
|
+
"type": "uint256",
|
|
20588
|
+
"internalType": "uint256"
|
|
20589
|
+
}
|
|
20590
|
+
],
|
|
20591
|
+
"stateMutability": "view"
|
|
20516
20592
|
},
|
|
20517
20593
|
{
|
|
20518
|
-
type: "function",
|
|
20519
|
-
name: "removeVerifier",
|
|
20520
|
-
inputs: [
|
|
20521
|
-
|
|
20522
|
-
|
|
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"
|
|
20523
20605
|
},
|
|
20524
20606
|
{
|
|
20525
|
-
type: "function",
|
|
20526
|
-
name: "renounceOwnership",
|
|
20527
|
-
inputs: [],
|
|
20528
|
-
outputs: [],
|
|
20529
|
-
stateMutability: "payable"
|
|
20607
|
+
"type": "function",
|
|
20608
|
+
"name": "renounceOwnership",
|
|
20609
|
+
"inputs": [],
|
|
20610
|
+
"outputs": [],
|
|
20611
|
+
"stateMutability": "payable"
|
|
20530
20612
|
},
|
|
20531
20613
|
{
|
|
20532
|
-
type: "function",
|
|
20533
|
-
name: "requestOwnershipHandover",
|
|
20534
|
-
inputs: [],
|
|
20535
|
-
outputs: [],
|
|
20536
|
-
stateMutability: "payable"
|
|
20614
|
+
"type": "function",
|
|
20615
|
+
"name": "requestOwnershipHandover",
|
|
20616
|
+
"inputs": [],
|
|
20617
|
+
"outputs": [],
|
|
20618
|
+
"stateMutability": "payable"
|
|
20537
20619
|
},
|
|
20538
20620
|
{
|
|
20539
|
-
type: "function",
|
|
20540
|
-
name: "setAnyPositionManager",
|
|
20541
|
-
inputs: [
|
|
20621
|
+
"type": "function",
|
|
20622
|
+
"name": "setAnyPositionManager",
|
|
20623
|
+
"inputs": [
|
|
20542
20624
|
{
|
|
20543
|
-
name: "_anyPositionManager",
|
|
20544
|
-
type: "address",
|
|
20545
|
-
internalType: "address payable"
|
|
20546
|
-
}
|
|
20625
|
+
"name": "_anyPositionManager",
|
|
20626
|
+
"type": "address",
|
|
20627
|
+
"internalType": "address payable"
|
|
20628
|
+
}
|
|
20547
20629
|
],
|
|
20548
|
-
outputs: [],
|
|
20549
|
-
stateMutability: "nonpayable"
|
|
20630
|
+
"outputs": [],
|
|
20631
|
+
"stateMutability": "nonpayable"
|
|
20550
20632
|
},
|
|
20551
20633
|
{
|
|
20552
|
-
type: "function",
|
|
20553
|
-
name: "transferOwnership",
|
|
20554
|
-
inputs: [
|
|
20555
|
-
|
|
20556
|
-
|
|
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"
|
|
20557
20645
|
},
|
|
20558
20646
|
{
|
|
20559
|
-
type: "function",
|
|
20560
|
-
name: "verifyMemecoin",
|
|
20561
|
-
inputs: [
|
|
20562
|
-
|
|
20563
|
-
|
|
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"
|
|
20564
20664
|
},
|
|
20565
20665
|
{
|
|
20566
|
-
type: "event",
|
|
20567
|
-
name: "AnyPositionManagerSet",
|
|
20568
|
-
inputs: [
|
|
20666
|
+
"type": "event",
|
|
20667
|
+
"name": "AnyPositionManagerSet",
|
|
20668
|
+
"inputs": [
|
|
20569
20669
|
{
|
|
20570
|
-
name: "_anyPositionManager",
|
|
20571
|
-
type: "address",
|
|
20572
|
-
indexed: true,
|
|
20573
|
-
internalType: "address"
|
|
20574
|
-
}
|
|
20670
|
+
"name": "_anyPositionManager",
|
|
20671
|
+
"type": "address",
|
|
20672
|
+
"indexed": true,
|
|
20673
|
+
"internalType": "address"
|
|
20674
|
+
}
|
|
20575
20675
|
],
|
|
20576
|
-
anonymous: false
|
|
20676
|
+
"anonymous": false
|
|
20577
20677
|
},
|
|
20578
20678
|
{
|
|
20579
|
-
type: "event",
|
|
20580
|
-
name: "OwnershipHandoverCanceled",
|
|
20581
|
-
inputs: [
|
|
20679
|
+
"type": "event",
|
|
20680
|
+
"name": "OwnershipHandoverCanceled",
|
|
20681
|
+
"inputs": [
|
|
20582
20682
|
{
|
|
20583
|
-
name: "pendingOwner",
|
|
20584
|
-
type: "address",
|
|
20585
|
-
indexed: true,
|
|
20586
|
-
internalType: "address"
|
|
20587
|
-
}
|
|
20683
|
+
"name": "pendingOwner",
|
|
20684
|
+
"type": "address",
|
|
20685
|
+
"indexed": true,
|
|
20686
|
+
"internalType": "address"
|
|
20687
|
+
}
|
|
20588
20688
|
],
|
|
20589
|
-
anonymous: false
|
|
20689
|
+
"anonymous": false
|
|
20590
20690
|
},
|
|
20591
20691
|
{
|
|
20592
|
-
type: "event",
|
|
20593
|
-
name: "OwnershipHandoverRequested",
|
|
20594
|
-
inputs: [
|
|
20692
|
+
"type": "event",
|
|
20693
|
+
"name": "OwnershipHandoverRequested",
|
|
20694
|
+
"inputs": [
|
|
20595
20695
|
{
|
|
20596
|
-
name: "pendingOwner",
|
|
20597
|
-
type: "address",
|
|
20598
|
-
indexed: true,
|
|
20599
|
-
internalType: "address"
|
|
20600
|
-
}
|
|
20696
|
+
"name": "pendingOwner",
|
|
20697
|
+
"type": "address",
|
|
20698
|
+
"indexed": true,
|
|
20699
|
+
"internalType": "address"
|
|
20700
|
+
}
|
|
20601
20701
|
],
|
|
20602
|
-
anonymous: false
|
|
20702
|
+
"anonymous": false
|
|
20603
20703
|
},
|
|
20604
20704
|
{
|
|
20605
|
-
type: "event",
|
|
20606
|
-
name: "OwnershipTransferred",
|
|
20607
|
-
inputs: [
|
|
20705
|
+
"type": "event",
|
|
20706
|
+
"name": "OwnershipTransferred",
|
|
20707
|
+
"inputs": [
|
|
20608
20708
|
{
|
|
20609
|
-
name: "oldOwner",
|
|
20610
|
-
type: "address",
|
|
20611
|
-
indexed: true,
|
|
20612
|
-
internalType: "address"
|
|
20709
|
+
"name": "oldOwner",
|
|
20710
|
+
"type": "address",
|
|
20711
|
+
"indexed": true,
|
|
20712
|
+
"internalType": "address"
|
|
20613
20713
|
},
|
|
20614
20714
|
{
|
|
20615
|
-
name: "newOwner",
|
|
20616
|
-
type: "address",
|
|
20617
|
-
indexed: true,
|
|
20618
|
-
internalType: "address"
|
|
20619
|
-
}
|
|
20715
|
+
"name": "newOwner",
|
|
20716
|
+
"type": "address",
|
|
20717
|
+
"indexed": true,
|
|
20718
|
+
"internalType": "address"
|
|
20719
|
+
}
|
|
20620
20720
|
],
|
|
20621
|
-
anonymous: false
|
|
20721
|
+
"anonymous": false
|
|
20622
20722
|
},
|
|
20623
20723
|
{
|
|
20624
|
-
type: "event",
|
|
20625
|
-
name: "TokenImported",
|
|
20626
|
-
inputs: [
|
|
20724
|
+
"type": "event",
|
|
20725
|
+
"name": "TokenImported",
|
|
20726
|
+
"inputs": [
|
|
20627
20727
|
{
|
|
20628
|
-
name: "_memecoin",
|
|
20629
|
-
type: "address",
|
|
20630
|
-
indexed: true,
|
|
20631
|
-
internalType: "address"
|
|
20728
|
+
"name": "_memecoin",
|
|
20729
|
+
"type": "address",
|
|
20730
|
+
"indexed": true,
|
|
20731
|
+
"internalType": "address"
|
|
20632
20732
|
},
|
|
20633
20733
|
{
|
|
20634
|
-
name: "_verifier",
|
|
20635
|
-
type: "address",
|
|
20636
|
-
indexed: true,
|
|
20637
|
-
internalType: "address"
|
|
20638
|
-
}
|
|
20734
|
+
"name": "_verifier",
|
|
20735
|
+
"type": "address",
|
|
20736
|
+
"indexed": true,
|
|
20737
|
+
"internalType": "address"
|
|
20738
|
+
}
|
|
20639
20739
|
],
|
|
20640
|
-
anonymous: false
|
|
20740
|
+
"anonymous": false
|
|
20641
20741
|
},
|
|
20642
20742
|
{
|
|
20643
|
-
type: "event",
|
|
20644
|
-
name: "VerifierAdded",
|
|
20645
|
-
inputs: [
|
|
20743
|
+
"type": "event",
|
|
20744
|
+
"name": "VerifierAdded",
|
|
20745
|
+
"inputs": [
|
|
20646
20746
|
{
|
|
20647
|
-
name: "_verifier",
|
|
20648
|
-
type: "address",
|
|
20649
|
-
indexed: true,
|
|
20650
|
-
internalType: "address"
|
|
20651
|
-
}
|
|
20747
|
+
"name": "_verifier",
|
|
20748
|
+
"type": "address",
|
|
20749
|
+
"indexed": true,
|
|
20750
|
+
"internalType": "address"
|
|
20751
|
+
}
|
|
20652
20752
|
],
|
|
20653
|
-
anonymous: false
|
|
20753
|
+
"anonymous": false
|
|
20654
20754
|
},
|
|
20655
20755
|
{
|
|
20656
|
-
type: "event",
|
|
20657
|
-
name: "VerifierRemoved",
|
|
20658
|
-
inputs: [
|
|
20756
|
+
"type": "event",
|
|
20757
|
+
"name": "VerifierRemoved",
|
|
20758
|
+
"inputs": [
|
|
20659
20759
|
{
|
|
20660
|
-
name: "_verifier",
|
|
20661
|
-
type: "address",
|
|
20662
|
-
indexed: true,
|
|
20663
|
-
internalType: "address"
|
|
20664
|
-
}
|
|
20760
|
+
"name": "_verifier",
|
|
20761
|
+
"type": "address",
|
|
20762
|
+
"indexed": true,
|
|
20763
|
+
"internalType": "address"
|
|
20764
|
+
}
|
|
20665
20765
|
],
|
|
20666
|
-
anonymous: false
|
|
20766
|
+
"anonymous": false
|
|
20667
20767
|
},
|
|
20668
|
-
{
|
|
20669
|
-
|
|
20670
|
-
|
|
20671
|
-
|
|
20672
|
-
|
|
20673
|
-
{
|
|
20674
|
-
|
|
20675
|
-
|
|
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
|
+
}
|
|
20676
20808
|
];
|
|
20677
20809
|
|
|
20678
20810
|
/**
|
|
@@ -20711,6 +20843,8 @@ class ReadTokenImporter {
|
|
|
20711
20843
|
return ClankerWorldVerifierAddress[this.chainId];
|
|
20712
20844
|
case exports.Verifier.DOPPLER:
|
|
20713
20845
|
return DopplerVerifierAddress[this.chainId];
|
|
20846
|
+
case exports.Verifier.SOLANA:
|
|
20847
|
+
return SolanaVerifierAddress[this.chainId];
|
|
20714
20848
|
case exports.Verifier.VIRTUALS:
|
|
20715
20849
|
return VirtualsVerifierAddress[this.chainId];
|
|
20716
20850
|
case exports.Verifier.WHITELIST:
|
|
@@ -20752,12 +20886,20 @@ class ReadWriteTokenImporter extends ReadTokenImporter {
|
|
|
20752
20886
|
: await this.contract.read("verifyMemecoin", {
|
|
20753
20887
|
_memecoin: params.coinAddress,
|
|
20754
20888
|
});
|
|
20755
|
-
|
|
20889
|
+
const baseParams = {
|
|
20756
20890
|
_memecoin: params.coinAddress,
|
|
20757
20891
|
_creatorFeeAllocation: creatorFeeAllocationInBps,
|
|
20758
20892
|
_initialMarketCap: initialMCapInUSDCWei,
|
|
20759
20893
|
_verifier,
|
|
20760
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;
|
|
20761
20903
|
}
|
|
20762
20904
|
}
|
|
20763
20905
|
|
|
@@ -28287,21 +28429,45 @@ class ReadWriteFlaunchSDK extends ReadFlaunchSDK {
|
|
|
28287
28429
|
let importParams;
|
|
28288
28430
|
if ("initialMarketCapUSD" in params) {
|
|
28289
28431
|
const paramsWithMarketCap = params;
|
|
28290
|
-
|
|
28291
|
-
|
|
28292
|
-
|
|
28293
|
-
|
|
28294
|
-
|
|
28295
|
-
|
|
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
|
+
}
|
|
28296
28450
|
}
|
|
28297
28451
|
else {
|
|
28298
28452
|
const paramsWithPrice = params;
|
|
28299
|
-
|
|
28300
|
-
|
|
28301
|
-
|
|
28302
|
-
|
|
28303
|
-
|
|
28304
|
-
|
|
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
|
+
}
|
|
28305
28471
|
}
|
|
28306
28472
|
const addLiquidityCalls = await this.getSingleSidedCoinAddLiquidityCalls({
|
|
28307
28473
|
...params,
|
|
@@ -32190,6 +32356,7 @@ exports.ReferralEscrowAbi = ReferralEscrowAbi;
|
|
|
32190
32356
|
exports.ReferralEscrowAddress = ReferralEscrowAddress;
|
|
32191
32357
|
exports.RevenueManagerAbi = RevenueManagerAbi;
|
|
32192
32358
|
exports.RevenueManagerAddress = RevenueManagerAddress;
|
|
32359
|
+
exports.SolanaVerifierAddress = SolanaVerifierAddress;
|
|
32193
32360
|
exports.StakingManagerAddress = StakingManagerAddress;
|
|
32194
32361
|
exports.StateViewAbi = StateViewAbi;
|
|
32195
32362
|
exports.StateViewAddress = StateViewAddress;
|