forgex-cli 1.0.6 → 1.0.7
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.
|
@@ -402,41 +402,8 @@ export type PumpFun = {
|
|
|
402
402
|
path: 'bondingCurve';
|
|
403
403
|
},
|
|
404
404
|
{
|
|
405
|
-
kind: '
|
|
406
|
-
|
|
407
|
-
6,
|
|
408
|
-
221,
|
|
409
|
-
246,
|
|
410
|
-
225,
|
|
411
|
-
215,
|
|
412
|
-
101,
|
|
413
|
-
161,
|
|
414
|
-
147,
|
|
415
|
-
217,
|
|
416
|
-
203,
|
|
417
|
-
225,
|
|
418
|
-
70,
|
|
419
|
-
206,
|
|
420
|
-
235,
|
|
421
|
-
121,
|
|
422
|
-
172,
|
|
423
|
-
28,
|
|
424
|
-
180,
|
|
425
|
-
133,
|
|
426
|
-
237,
|
|
427
|
-
95,
|
|
428
|
-
91,
|
|
429
|
-
55,
|
|
430
|
-
145,
|
|
431
|
-
58,
|
|
432
|
-
140,
|
|
433
|
-
245,
|
|
434
|
-
133,
|
|
435
|
-
126,
|
|
436
|
-
255,
|
|
437
|
-
0,
|
|
438
|
-
169
|
|
439
|
-
];
|
|
405
|
+
kind: 'account';
|
|
406
|
+
path: 'tokenProgram';
|
|
440
407
|
},
|
|
441
408
|
{
|
|
442
409
|
kind: 'account';
|
|
@@ -1377,6 +1344,343 @@ export type PumpFun = {
|
|
|
1377
1344
|
}
|
|
1378
1345
|
];
|
|
1379
1346
|
},
|
|
1347
|
+
{
|
|
1348
|
+
name: 'createV2';
|
|
1349
|
+
docs: ['Creates a new spl-22 coin and bonding curve.'];
|
|
1350
|
+
discriminator: [214, 144, 76, 236, 95, 139, 49, 180];
|
|
1351
|
+
accounts: [
|
|
1352
|
+
{
|
|
1353
|
+
name: 'mint';
|
|
1354
|
+
writable: true;
|
|
1355
|
+
signer: true;
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
name: 'mintAuthority';
|
|
1359
|
+
pda: {
|
|
1360
|
+
seeds: [
|
|
1361
|
+
{
|
|
1362
|
+
kind: 'const';
|
|
1363
|
+
value: [109, 105, 110, 116, 45, 97, 117, 116, 104, 111, 114, 105, 116, 121];
|
|
1364
|
+
}
|
|
1365
|
+
];
|
|
1366
|
+
};
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
name: 'bondingCurve';
|
|
1370
|
+
writable: true;
|
|
1371
|
+
pda: {
|
|
1372
|
+
seeds: [
|
|
1373
|
+
{
|
|
1374
|
+
kind: 'const';
|
|
1375
|
+
value: [98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101];
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
kind: 'account';
|
|
1379
|
+
path: 'mint';
|
|
1380
|
+
}
|
|
1381
|
+
];
|
|
1382
|
+
};
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
name: 'associatedBondingCurve';
|
|
1386
|
+
writable: true;
|
|
1387
|
+
pda: {
|
|
1388
|
+
seeds: [
|
|
1389
|
+
{
|
|
1390
|
+
kind: 'account';
|
|
1391
|
+
path: 'bondingCurve';
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
kind: 'account';
|
|
1395
|
+
path: 'tokenProgram';
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
kind: 'account';
|
|
1399
|
+
path: 'mint';
|
|
1400
|
+
}
|
|
1401
|
+
];
|
|
1402
|
+
program: {
|
|
1403
|
+
kind: 'const';
|
|
1404
|
+
value: [
|
|
1405
|
+
140,
|
|
1406
|
+
151,
|
|
1407
|
+
37,
|
|
1408
|
+
143,
|
|
1409
|
+
78,
|
|
1410
|
+
36,
|
|
1411
|
+
137,
|
|
1412
|
+
241,
|
|
1413
|
+
187,
|
|
1414
|
+
61,
|
|
1415
|
+
16,
|
|
1416
|
+
41,
|
|
1417
|
+
20,
|
|
1418
|
+
142,
|
|
1419
|
+
13,
|
|
1420
|
+
131,
|
|
1421
|
+
11,
|
|
1422
|
+
90,
|
|
1423
|
+
19,
|
|
1424
|
+
153,
|
|
1425
|
+
218,
|
|
1426
|
+
255,
|
|
1427
|
+
16,
|
|
1428
|
+
132,
|
|
1429
|
+
4,
|
|
1430
|
+
142,
|
|
1431
|
+
123,
|
|
1432
|
+
216,
|
|
1433
|
+
219,
|
|
1434
|
+
233,
|
|
1435
|
+
248,
|
|
1436
|
+
89
|
|
1437
|
+
];
|
|
1438
|
+
};
|
|
1439
|
+
};
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
name: 'global';
|
|
1443
|
+
pda: {
|
|
1444
|
+
seeds: [
|
|
1445
|
+
{
|
|
1446
|
+
kind: 'const';
|
|
1447
|
+
value: [103, 108, 111, 98, 97, 108];
|
|
1448
|
+
}
|
|
1449
|
+
];
|
|
1450
|
+
};
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
name: 'user';
|
|
1454
|
+
writable: true;
|
|
1455
|
+
signer: true;
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
name: 'systemProgram';
|
|
1459
|
+
address: '11111111111111111111111111111111';
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
name: 'tokenProgram';
|
|
1463
|
+
address: 'TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb';
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
name: 'associatedTokenProgram';
|
|
1467
|
+
address: 'ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL';
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
name: 'mayhemProgramId';
|
|
1471
|
+
writable: true;
|
|
1472
|
+
address: 'MAyhSmzXzV1pTf7LsNkrNwkWKTo4ougAJ1PPg47MD4e';
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
name: 'globalParams';
|
|
1476
|
+
pda: {
|
|
1477
|
+
seeds: [
|
|
1478
|
+
{
|
|
1479
|
+
kind: 'const';
|
|
1480
|
+
value: [103, 108, 111, 98, 97, 108, 45, 112, 97, 114, 97, 109, 115];
|
|
1481
|
+
}
|
|
1482
|
+
];
|
|
1483
|
+
program: {
|
|
1484
|
+
kind: 'const';
|
|
1485
|
+
value: [
|
|
1486
|
+
5,
|
|
1487
|
+
42,
|
|
1488
|
+
229,
|
|
1489
|
+
215,
|
|
1490
|
+
167,
|
|
1491
|
+
218,
|
|
1492
|
+
167,
|
|
1493
|
+
36,
|
|
1494
|
+
166,
|
|
1495
|
+
234,
|
|
1496
|
+
176,
|
|
1497
|
+
167,
|
|
1498
|
+
41,
|
|
1499
|
+
84,
|
|
1500
|
+
145,
|
|
1501
|
+
133,
|
|
1502
|
+
90,
|
|
1503
|
+
212,
|
|
1504
|
+
160,
|
|
1505
|
+
103,
|
|
1506
|
+
22,
|
|
1507
|
+
96,
|
|
1508
|
+
103,
|
|
1509
|
+
76,
|
|
1510
|
+
78,
|
|
1511
|
+
3,
|
|
1512
|
+
69,
|
|
1513
|
+
89,
|
|
1514
|
+
128,
|
|
1515
|
+
61,
|
|
1516
|
+
101,
|
|
1517
|
+
163
|
|
1518
|
+
];
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
name: 'solVault';
|
|
1524
|
+
writable: true;
|
|
1525
|
+
pda: {
|
|
1526
|
+
seeds: [
|
|
1527
|
+
{
|
|
1528
|
+
kind: 'const';
|
|
1529
|
+
value: [115, 111, 108, 45, 118, 97, 117, 108, 116];
|
|
1530
|
+
}
|
|
1531
|
+
];
|
|
1532
|
+
program: {
|
|
1533
|
+
kind: 'const';
|
|
1534
|
+
value: [
|
|
1535
|
+
5,
|
|
1536
|
+
42,
|
|
1537
|
+
229,
|
|
1538
|
+
215,
|
|
1539
|
+
167,
|
|
1540
|
+
218,
|
|
1541
|
+
167,
|
|
1542
|
+
36,
|
|
1543
|
+
166,
|
|
1544
|
+
234,
|
|
1545
|
+
176,
|
|
1546
|
+
167,
|
|
1547
|
+
41,
|
|
1548
|
+
84,
|
|
1549
|
+
145,
|
|
1550
|
+
133,
|
|
1551
|
+
90,
|
|
1552
|
+
212,
|
|
1553
|
+
160,
|
|
1554
|
+
103,
|
|
1555
|
+
22,
|
|
1556
|
+
96,
|
|
1557
|
+
103,
|
|
1558
|
+
76,
|
|
1559
|
+
78,
|
|
1560
|
+
3,
|
|
1561
|
+
69,
|
|
1562
|
+
89,
|
|
1563
|
+
128,
|
|
1564
|
+
61,
|
|
1565
|
+
101,
|
|
1566
|
+
163
|
|
1567
|
+
];
|
|
1568
|
+
};
|
|
1569
|
+
};
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
name: 'mayhemState';
|
|
1573
|
+
writable: true;
|
|
1574
|
+
pda: {
|
|
1575
|
+
seeds: [
|
|
1576
|
+
{
|
|
1577
|
+
kind: 'const';
|
|
1578
|
+
value: [109, 97, 121, 104, 101, 109, 45, 115, 116, 97, 116, 101];
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
kind: 'account';
|
|
1582
|
+
path: 'mint';
|
|
1583
|
+
}
|
|
1584
|
+
];
|
|
1585
|
+
program: {
|
|
1586
|
+
kind: 'const';
|
|
1587
|
+
value: [
|
|
1588
|
+
5,
|
|
1589
|
+
42,
|
|
1590
|
+
229,
|
|
1591
|
+
215,
|
|
1592
|
+
167,
|
|
1593
|
+
218,
|
|
1594
|
+
167,
|
|
1595
|
+
36,
|
|
1596
|
+
166,
|
|
1597
|
+
234,
|
|
1598
|
+
176,
|
|
1599
|
+
167,
|
|
1600
|
+
41,
|
|
1601
|
+
84,
|
|
1602
|
+
145,
|
|
1603
|
+
133,
|
|
1604
|
+
90,
|
|
1605
|
+
212,
|
|
1606
|
+
160,
|
|
1607
|
+
103,
|
|
1608
|
+
22,
|
|
1609
|
+
96,
|
|
1610
|
+
103,
|
|
1611
|
+
76,
|
|
1612
|
+
78,
|
|
1613
|
+
3,
|
|
1614
|
+
69,
|
|
1615
|
+
89,
|
|
1616
|
+
128,
|
|
1617
|
+
61,
|
|
1618
|
+
101,
|
|
1619
|
+
163
|
|
1620
|
+
];
|
|
1621
|
+
};
|
|
1622
|
+
};
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
name: 'mayhemTokenVault';
|
|
1626
|
+
writable: true;
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
name: 'eventAuthority';
|
|
1630
|
+
pda: {
|
|
1631
|
+
seeds: [
|
|
1632
|
+
{
|
|
1633
|
+
kind: 'const';
|
|
1634
|
+
value: [
|
|
1635
|
+
95,
|
|
1636
|
+
95,
|
|
1637
|
+
101,
|
|
1638
|
+
118,
|
|
1639
|
+
101,
|
|
1640
|
+
110,
|
|
1641
|
+
116,
|
|
1642
|
+
95,
|
|
1643
|
+
97,
|
|
1644
|
+
117,
|
|
1645
|
+
116,
|
|
1646
|
+
104,
|
|
1647
|
+
111,
|
|
1648
|
+
114,
|
|
1649
|
+
105,
|
|
1650
|
+
116,
|
|
1651
|
+
121
|
|
1652
|
+
];
|
|
1653
|
+
}
|
|
1654
|
+
];
|
|
1655
|
+
};
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
name: 'program';
|
|
1659
|
+
}
|
|
1660
|
+
];
|
|
1661
|
+
args: [
|
|
1662
|
+
{
|
|
1663
|
+
name: 'name';
|
|
1664
|
+
type: 'string';
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
name: 'symbol';
|
|
1668
|
+
type: 'string';
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
name: 'uri';
|
|
1672
|
+
type: 'string';
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
name: 'creator';
|
|
1676
|
+
type: 'pubkey';
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
name: 'isMayhemMode';
|
|
1680
|
+
type: 'bool';
|
|
1681
|
+
}
|
|
1682
|
+
];
|
|
1683
|
+
},
|
|
1380
1684
|
{
|
|
1381
1685
|
name: 'extendAccount';
|
|
1382
1686
|
docs: ['Extends the size of program-owned accounts'];
|
|
@@ -4415,6 +4719,109 @@ export declare const IDL: {
|
|
|
4415
4719
|
name: string;
|
|
4416
4720
|
type: string;
|
|
4417
4721
|
}[];
|
|
4722
|
+
} | {
|
|
4723
|
+
name: string;
|
|
4724
|
+
docs: string[];
|
|
4725
|
+
discriminator: number[];
|
|
4726
|
+
accounts: ({
|
|
4727
|
+
name: string;
|
|
4728
|
+
writable: boolean;
|
|
4729
|
+
signer: boolean;
|
|
4730
|
+
pda?: undefined;
|
|
4731
|
+
address?: undefined;
|
|
4732
|
+
} | {
|
|
4733
|
+
name: string;
|
|
4734
|
+
pda: {
|
|
4735
|
+
seeds: {
|
|
4736
|
+
kind: string;
|
|
4737
|
+
value: number[];
|
|
4738
|
+
}[];
|
|
4739
|
+
program?: undefined;
|
|
4740
|
+
};
|
|
4741
|
+
writable?: undefined;
|
|
4742
|
+
signer?: undefined;
|
|
4743
|
+
address?: undefined;
|
|
4744
|
+
} | {
|
|
4745
|
+
name: string;
|
|
4746
|
+
writable: boolean;
|
|
4747
|
+
pda: {
|
|
4748
|
+
seeds: ({
|
|
4749
|
+
kind: string;
|
|
4750
|
+
value: number[];
|
|
4751
|
+
path?: undefined;
|
|
4752
|
+
} | {
|
|
4753
|
+
kind: string;
|
|
4754
|
+
path: string;
|
|
4755
|
+
value?: undefined;
|
|
4756
|
+
})[];
|
|
4757
|
+
program?: undefined;
|
|
4758
|
+
};
|
|
4759
|
+
signer?: undefined;
|
|
4760
|
+
address?: undefined;
|
|
4761
|
+
} | {
|
|
4762
|
+
name: string;
|
|
4763
|
+
address: string;
|
|
4764
|
+
writable?: undefined;
|
|
4765
|
+
signer?: undefined;
|
|
4766
|
+
pda?: undefined;
|
|
4767
|
+
} | {
|
|
4768
|
+
name: string;
|
|
4769
|
+
writable: boolean;
|
|
4770
|
+
address: string;
|
|
4771
|
+
signer?: undefined;
|
|
4772
|
+
pda?: undefined;
|
|
4773
|
+
} | {
|
|
4774
|
+
name: string;
|
|
4775
|
+
pda: {
|
|
4776
|
+
seeds: {
|
|
4777
|
+
kind: string;
|
|
4778
|
+
value: number[];
|
|
4779
|
+
}[];
|
|
4780
|
+
program: {
|
|
4781
|
+
kind: string;
|
|
4782
|
+
value: number[];
|
|
4783
|
+
};
|
|
4784
|
+
};
|
|
4785
|
+
writable?: undefined;
|
|
4786
|
+
signer?: undefined;
|
|
4787
|
+
address?: undefined;
|
|
4788
|
+
} | {
|
|
4789
|
+
name: string;
|
|
4790
|
+
writable: boolean;
|
|
4791
|
+
pda: {
|
|
4792
|
+
seeds: ({
|
|
4793
|
+
kind: string;
|
|
4794
|
+
value: number[];
|
|
4795
|
+
path?: undefined;
|
|
4796
|
+
} | {
|
|
4797
|
+
kind: string;
|
|
4798
|
+
path: string;
|
|
4799
|
+
value?: undefined;
|
|
4800
|
+
})[];
|
|
4801
|
+
program: {
|
|
4802
|
+
kind: string;
|
|
4803
|
+
value: number[];
|
|
4804
|
+
};
|
|
4805
|
+
};
|
|
4806
|
+
signer?: undefined;
|
|
4807
|
+
address?: undefined;
|
|
4808
|
+
} | {
|
|
4809
|
+
name: string;
|
|
4810
|
+
writable: boolean;
|
|
4811
|
+
signer?: undefined;
|
|
4812
|
+
pda?: undefined;
|
|
4813
|
+
address?: undefined;
|
|
4814
|
+
} | {
|
|
4815
|
+
name: string;
|
|
4816
|
+
writable?: undefined;
|
|
4817
|
+
signer?: undefined;
|
|
4818
|
+
pda?: undefined;
|
|
4819
|
+
address?: undefined;
|
|
4820
|
+
})[];
|
|
4821
|
+
args: {
|
|
4822
|
+
name: string;
|
|
4823
|
+
type: string;
|
|
4824
|
+
}[];
|
|
4418
4825
|
} | {
|
|
4419
4826
|
name: string;
|
|
4420
4827
|
docs: string[];
|