@lightprotocol/compressed-token 0.10.1 → 0.11.0

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.
@@ -1559,120 +1559,23 @@ const IDL = {
1559
1559
  errors: [
1560
1560
  {
1561
1561
  code: 6000,
1562
- name: 'PublicKeyAmountMissmatch',
1563
- msg: 'public keys and amounts must be of same length',
1562
+ name: 'SignerCheckFailed',
1563
+ msg: 'Signer check failed',
1564
1564
  },
1565
1565
  {
1566
1566
  code: 6001,
1567
- name: 'ComputeInputSumFailed',
1568
- msg: 'ComputeInputSumFailed',
1567
+ name: 'CreateTransferInstructionFailed',
1568
+ msg: 'Create transfer instruction failed',
1569
1569
  },
1570
1570
  {
1571
1571
  code: 6002,
1572
- name: 'ComputeOutputSumFailed',
1573
- msg: 'ComputeOutputSumFailed',
1572
+ name: 'AccountNotFound',
1573
+ msg: 'Account not found',
1574
1574
  },
1575
1575
  {
1576
1576
  code: 6003,
1577
- name: 'ComputeCompressSumFailed',
1578
- msg: 'ComputeCompressSumFailed',
1579
- },
1580
- {
1581
- code: 6004,
1582
- name: 'ComputeDecompressSumFailed',
1583
- msg: 'ComputeDecompressSumFailed',
1584
- },
1585
- {
1586
- code: 6005,
1587
- name: 'SumCheckFailed',
1588
- msg: 'SumCheckFailed',
1589
- },
1590
- {
1591
- code: 6006,
1592
- name: 'DecompressRecipientUndefinedForDecompress',
1593
- msg: 'DecompressRecipientUndefinedForDecompress',
1594
- },
1595
- {
1596
- code: 6007,
1597
- name: 'CompressedPdaUndefinedForDecompress',
1598
- msg: 'CompressedPdaUndefinedForDecompress',
1599
- },
1600
- {
1601
- code: 6008,
1602
- name: 'DeCompressAmountUndefinedForDecompress',
1603
- msg: 'DeCompressAmountUndefinedForDecompress',
1604
- },
1605
- {
1606
- code: 6009,
1607
- name: 'CompressedPdaUndefinedForCompress',
1608
- msg: 'CompressedPdaUndefinedForCompress',
1609
- },
1610
- {
1611
- code: 6010,
1612
- name: 'DeCompressAmountUndefinedForCompress',
1613
- msg: 'DeCompressAmountUndefinedForCompress',
1614
- },
1615
- {
1616
- code: 6011,
1617
- name: 'DelegateSignerCheckFailed',
1618
- msg: 'DelegateSignerCheckFailed',
1619
- },
1620
- {
1621
- code: 6012,
1622
- name: 'MintTooLarge',
1623
- msg: 'Minted amount greater than u64::MAX',
1624
- },
1625
- {
1626
- code: 6013,
1627
- name: 'SplTokenSupplyMismatch',
1628
- msg: 'SplTokenSupplyMismatch',
1629
- },
1630
- {
1631
- code: 6014,
1632
- name: 'HeapMemoryCheckFailed',
1633
- msg: 'HeapMemoryCheckFailed',
1634
- },
1635
- {
1636
- code: 6015,
1637
- name: 'InstructionNotCallable',
1638
- msg: 'The instruction is not callable',
1639
- },
1640
- {
1641
- code: 6016,
1642
- name: 'ArithmeticUnderflow',
1643
- msg: 'ArithmeticUnderflow',
1644
- },
1645
- {
1646
- code: 6017,
1647
- name: 'HashToFieldError',
1648
- msg: 'HashToFieldError',
1649
- },
1650
- {
1651
- code: 6018,
1652
- name: 'InvalidAuthorityMint',
1653
- msg: 'Expected the authority to be also a mint authority',
1654
- },
1655
- {
1656
- code: 6019,
1657
- name: 'InvalidFreezeAuthority',
1658
- msg: 'Provided authority is not the freeze authority',
1659
- },
1660
- {
1661
- code: 6020,
1662
- name: 'InvalidDelegateIndex',
1663
- },
1664
- {
1665
- code: 6021,
1666
- name: 'TokenPoolPdaUndefined',
1667
- },
1668
- {
1669
- code: 6022,
1670
- name: 'IsTokenPoolPda',
1671
- msg: 'Compress or decompress recipient is the same account as the token pool pda.',
1672
- },
1673
- {
1674
- code: 6023,
1675
- name: 'InvalidTokenPoolPda',
1577
+ name: 'SerializationError',
1578
+ msg: 'Serialization error',
1676
1579
  },
1677
1580
  ],
1678
1581
  };
@@ -6680,7 +6583,7 @@ class CompressedTokenProgram {
6680
6583
  /**
6681
6584
  * Public key that identifies the CompressedPda program
6682
6585
  */
6683
- static programId = new PublicKey('HXVfQ44ATEi9WBKLSCCwM54KokdkzqXci9xCQ7ST9SYN');
6586
+ static programId = new PublicKey('cTokenmWW8bLPjZEBAUgYy3zKxQZW6VKi7bqNFEVv3m');
6684
6587
  static _program = null;
6685
6588
  /** @internal */
6686
6589
  static get program() {