@glamsystems/glam-sdk 1.0.12 → 1.0.14-alpha.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.
Files changed (75) hide show
  1. package/README.md +1 -1
  2. package/index.cjs.js +23827 -26772
  3. package/index.esm.js +23795 -26716
  4. package/package.json +2 -2
  5. package/src/assets.d.ts +9 -15
  6. package/src/client/access.d.ts +13 -0
  7. package/src/client/base.d.ts +27 -6
  8. package/src/client/bridge.d.ts +184 -0
  9. package/src/client/bridgeRegistry.d.ts +32 -0
  10. package/src/client/epi.d.ts +78 -0
  11. package/src/client/fees.d.ts +4 -0
  12. package/src/client/invest.d.ts +1 -1
  13. package/src/client/jupiter.d.ts +22 -18
  14. package/src/client/mint.d.ts +54 -1
  15. package/src/client/price.d.ts +13 -37
  16. package/src/client.d.ts +6 -5
  17. package/src/constants.d.ts +10 -7
  18. package/src/deser/index.d.ts +1 -1
  19. package/src/deser/integrationPolicies.d.ts +23 -20
  20. package/src/deser/tokenAclLayouts.d.ts +67 -0
  21. package/src/error.d.ts +2 -1
  22. package/src/glamExports.d.ts +2344 -1758
  23. package/src/globalConfig.d.ts +22 -0
  24. package/src/index.d.ts +4 -1
  25. package/src/react/glam.d.ts +0 -4
  26. package/src/react/query-keys.d.ts +1 -3
  27. package/src/utils/accounts.d.ts +9 -1
  28. package/src/utils/bitmask.d.ts +3 -0
  29. package/src/utils/common.d.ts +2 -0
  30. package/src/utils/glamPDAs.d.ts +5 -0
  31. package/src/utils/index.d.ts +0 -1
  32. package/src/utils/positionCategorizer.d.ts +3 -21
  33. package/target/idl/ext_cctp.json +1 -1
  34. package/target/idl/ext_kamino-staging.json +1 -1
  35. package/target/idl/ext_kamino.json +109 -1
  36. package/target/idl/ext_spl-staging.json +1 -1
  37. package/target/idl/ext_spl.json +1 -1
  38. package/target/idl/glam_config.json +78 -9
  39. package/target/idl/glam_mint-staging.json +865 -0
  40. package/target/idl/glam_mint.json +227 -8
  41. package/target/idl/glam_policies.json +2 -7
  42. package/target/idl/glam_protocol-staging.json +176 -275
  43. package/target/idl/glam_protocol.json +212 -114
  44. package/target/types/ext_bridge.d.ts +2397 -0
  45. package/target/types/ext_cctp.d.ts +1 -1
  46. package/target/types/ext_cctp.ts +1 -1
  47. package/target/types/ext_epi.d.ts +2175 -0
  48. package/target/types/ext_kamino-staging.ts +1 -1
  49. package/target/types/ext_kamino.d.ts +109 -1
  50. package/target/types/ext_kamino.ts +109 -1
  51. package/target/types/ext_spl-staging.ts +1 -1
  52. package/target/types/ext_spl.d.ts +1 -1
  53. package/target/types/ext_spl.ts +1 -1
  54. package/target/types/glam_config.d.ts +78 -9
  55. package/target/types/glam_config.ts +78 -9
  56. package/target/types/glam_mint-staging.ts +865 -0
  57. package/target/types/glam_mint.d.ts +227 -8
  58. package/target/types/glam_mint.ts +227 -8
  59. package/target/types/glam_policies.ts +2 -7
  60. package/target/types/glam_protocol-staging.ts +176 -275
  61. package/target/types/glam_protocol.d.ts +212 -114
  62. package/target/types/glam_protocol.ts +212 -114
  63. package/src/client/drift/index.d.ts +0 -2
  64. package/src/client/drift/protocol-v2.d.ts +0 -93
  65. package/src/client/drift/vaults.d.ts +0 -60
  66. package/src/deser/driftLayouts.d.ts +0 -217
  67. package/src/utils/drift/index.d.ts +0 -2
  68. package/src/utils/drift/orderParams.d.ts +0 -28
  69. package/src/utils/drift/types.d.ts +0 -522
  70. package/target/idl/ext_drift-staging.json +0 -3993
  71. package/target/idl/ext_drift.json +0 -3993
  72. package/target/types/ext_drift-staging.ts +0 -3999
  73. package/target/types/ext_drift.d.ts +0 -3999
  74. package/target/types/ext_drift.ts +0 -3999
  75. package/target/types/ext_offchain.d.ts +0 -1074
@@ -8,7 +8,7 @@ export type GlamMint = {
8
8
  "address": "GM1NtvvnSXUptTrMCqbogAdZJydZSNv98DoU5AZVLmGh";
9
9
  "metadata": {
10
10
  "name": "glamMint";
11
- "version": "1.0.2";
11
+ "version": "1.0.3";
12
12
  "spec": "0.1.0";
13
13
  "description": "GLAM mint program";
14
14
  };
@@ -1886,7 +1886,12 @@ export type GlamMint = {
1886
1886
  "Extra accounts for pricing N drift users under the same user stats:",
1887
1887
  "- user_stats x 1",
1888
1888
  "- drift_user x N",
1889
- "- markets and oracles used by all drift users (no specific order)"
1889
+ "- markets and oracles used by all drift users (no specific order)",
1890
+ "",
1891
+ "Clients must pre-refresh any stale Drift spot market cumulative interest by",
1892
+ "prepending Drift `update_spot_market_cumulative_interest` instructions for the",
1893
+ "referenced spot markets. Calls will fail with `StaleDriftInterest` if a required",
1894
+ "spot market's cumulative interest is too old."
1890
1895
  ];
1891
1896
  "discriminator": [
1892
1897
  12,
@@ -2121,7 +2126,12 @@ export type GlamMint = {
2121
2126
  "- (vault_depositor, drift_vault, drift_user) x N",
2122
2127
  "- spot_market used by drift users of vaults (no specific order)",
2123
2128
  "- perp markets used by drift users of vaults (no specific order)",
2124
- "- oracles of spot markets and perp markets (no specific order)"
2129
+ "- oracles of spot markets and perp markets (no specific order)",
2130
+ "",
2131
+ "Clients must pre-refresh any stale Drift spot market cumulative interest by",
2132
+ "prepending Drift `update_spot_market_cumulative_interest` instructions for the",
2133
+ "referenced spot markets. Calls will fail with `StaleDriftInterest` if a required",
2134
+ "spot market's cumulative interest is too old."
2125
2135
  ];
2126
2136
  "discriminator": [
2127
2137
  234,
@@ -4420,6 +4430,19 @@ export type GlamMint = {
4420
4430
  }
4421
4431
  ];
4422
4432
  "accounts": [
4433
+ {
4434
+ "name": "globalConfig";
4435
+ "discriminator": [
4436
+ 149,
4437
+ 8,
4438
+ 156,
4439
+ 202,
4440
+ 160,
4441
+ 252,
4442
+ 176,
4443
+ 217
4444
+ ];
4445
+ },
4423
4446
  {
4424
4447
  "name": "requestQueue";
4425
4448
  "discriminator": [
@@ -4494,7 +4517,7 @@ export type GlamMint = {
4494
4517
  {
4495
4518
  "code": 6003;
4496
4519
  "name": "invalidAsset";
4497
- "msg": "Invalid asset";
4520
+ "msg": "Asset not allowed to subscribe";
4498
4521
  },
4499
4522
  {
4500
4523
  "code": 6004;
@@ -4548,18 +4571,33 @@ export type GlamMint = {
4548
4571
  },
4549
4572
  {
4550
4573
  "code": 6014;
4574
+ "name": "amountBelowMinimum";
4575
+ "msg": "Amount is below the minimum required";
4576
+ },
4577
+ {
4578
+ "code": 6015;
4551
4579
  "name": "managerFeesNotCrystallized";
4552
4580
  "msg": "Manager fees should be crystallized before updating";
4553
4581
  },
4554
4582
  {
4555
- "code": 6015;
4583
+ "code": 6016;
4584
+ "name": "amountAboveMaximum";
4585
+ "msg": "Amount exceeds maximum threshold";
4586
+ },
4587
+ {
4588
+ "code": 6017;
4556
4589
  "name": "insufficientEscrowBalance";
4557
4590
  "msg": "Insufficient escrow balance for fee burn";
4558
4591
  },
4559
4592
  {
4560
- "code": 6016;
4561
- "name": "amountBelowMinimum";
4562
- "msg": "Amount below minimum threshold";
4593
+ "code": 6018;
4594
+ "name": "tokenAclManagesFreezeThaw";
4595
+ "msg": "Token ACL is enabled; freeze/thaw is managed by the Token ACL program";
4596
+ },
4597
+ {
4598
+ "code": 6019;
4599
+ "name": "invalidMintState";
4600
+ "msg": "Invalid mint state";
4563
4601
  }
4564
4602
  ];
4565
4603
  "types": [
@@ -4623,6 +4661,51 @@ export type GlamMint = {
4623
4661
  ];
4624
4662
  };
4625
4663
  },
4664
+ {
4665
+ "name": "assetMeta";
4666
+ "type": {
4667
+ "kind": "struct";
4668
+ "fields": [
4669
+ {
4670
+ "name": "asset";
4671
+ "type": "pubkey";
4672
+ },
4673
+ {
4674
+ "name": "decimals";
4675
+ "type": "u8";
4676
+ },
4677
+ {
4678
+ "name": "oracle";
4679
+ "type": "pubkey";
4680
+ },
4681
+ {
4682
+ "name": "oracleSource";
4683
+ "type": {
4684
+ "defined": {
4685
+ "name": "oracleSource";
4686
+ };
4687
+ };
4688
+ },
4689
+ {
4690
+ "name": "maxAgeSeconds";
4691
+ "type": "u16";
4692
+ },
4693
+ {
4694
+ "name": "priority";
4695
+ "type": "u8";
4696
+ },
4697
+ {
4698
+ "name": "padding";
4699
+ "type": {
4700
+ "array": [
4701
+ "u8",
4702
+ 3
4703
+ ];
4704
+ };
4705
+ }
4706
+ ];
4707
+ };
4708
+ },
4626
4709
  {
4627
4710
  "name": "aumRecord";
4628
4711
  "type": {
@@ -5077,6 +5160,50 @@ export type GlamMint = {
5077
5160
  ];
5078
5161
  };
5079
5162
  },
5163
+ {
5164
+ "name": "globalConfig";
5165
+ "type": {
5166
+ "kind": "struct";
5167
+ "fields": [
5168
+ {
5169
+ "name": "admin";
5170
+ "docs": [
5171
+ "The authority that can modify the config"
5172
+ ];
5173
+ "type": "pubkey";
5174
+ },
5175
+ {
5176
+ "name": "feeAuthority";
5177
+ "docs": [
5178
+ "The authority that can modify fee structure of individual glam state and claim protocol fees"
5179
+ ];
5180
+ "type": "pubkey";
5181
+ },
5182
+ {
5183
+ "name": "referrer";
5184
+ "type": "pubkey";
5185
+ },
5186
+ {
5187
+ "name": "baseFeeBps";
5188
+ "type": "u16";
5189
+ },
5190
+ {
5191
+ "name": "flowFeeBps";
5192
+ "type": "u16";
5193
+ },
5194
+ {
5195
+ "name": "assetMetas";
5196
+ "type": {
5197
+ "vec": {
5198
+ "defined": {
5199
+ "name": "assetMeta";
5200
+ };
5201
+ };
5202
+ };
5203
+ }
5204
+ ];
5205
+ };
5206
+ },
5080
5207
  {
5081
5208
  "name": "hurdleType";
5082
5209
  "type": {
@@ -5433,6 +5560,83 @@ export type GlamMint = {
5433
5560
  ];
5434
5561
  };
5435
5562
  },
5563
+ {
5564
+ "name": "oracleSource";
5565
+ "type": {
5566
+ "kind": "enum";
5567
+ "variants": [
5568
+ {
5569
+ "name": "pyth";
5570
+ },
5571
+ {
5572
+ "name": "switchboard";
5573
+ },
5574
+ {
5575
+ "name": "quoteAsset";
5576
+ },
5577
+ {
5578
+ "name": "pyth1K";
5579
+ },
5580
+ {
5581
+ "name": "pyth1M";
5582
+ },
5583
+ {
5584
+ "name": "pythStableCoin";
5585
+ },
5586
+ {
5587
+ "name": "prelaunch";
5588
+ },
5589
+ {
5590
+ "name": "pythPull";
5591
+ },
5592
+ {
5593
+ "name": "pyth1KPull";
5594
+ },
5595
+ {
5596
+ "name": "pyth1MPull";
5597
+ },
5598
+ {
5599
+ "name": "pythStableCoinPull";
5600
+ },
5601
+ {
5602
+ "name": "switchboardOnDemand";
5603
+ },
5604
+ {
5605
+ "name": "pythLazer";
5606
+ },
5607
+ {
5608
+ "name": "pythLazer1K";
5609
+ },
5610
+ {
5611
+ "name": "pythLazer1M";
5612
+ },
5613
+ {
5614
+ "name": "pythLazerStableCoin";
5615
+ },
5616
+ {
5617
+ "name": "notSet";
5618
+ },
5619
+ {
5620
+ "name": "lstPoolState";
5621
+ },
5622
+ {
5623
+ "name": "marinadeState";
5624
+ },
5625
+ {
5626
+ "name": "baseAsset";
5627
+ },
5628
+ {
5629
+ "name": "chainlinkRwa";
5630
+ },
5631
+ {
5632
+ "name": "chainlinkX";
5633
+ },
5634
+ {
5635
+ "name": "kaminoReserve";
5636
+ }
5637
+ ];
5638
+ };
5639
+ },
5436
5640
  {
5437
5641
  "name": "pendingRequest";
5438
5642
  "type": {
@@ -5870,6 +6074,21 @@ export type GlamMint = {
5870
6074
  "name": "protoMintPermSetTokenAccountState";
5871
6075
  "type": "u64";
5872
6076
  "value": "8";
6077
+ },
6078
+ {
6079
+ "name": "protoMintPermTokenAclApplyList";
6080
+ "type": "u64";
6081
+ "value": "2048";
6082
+ },
6083
+ {
6084
+ "name": "protoMintPermTokenAclFreezeThaw";
6085
+ "type": "u64";
6086
+ "value": "512";
6087
+ },
6088
+ {
6089
+ "name": "protoMintPermTokenAclManageList";
6090
+ "type": "u64";
6091
+ "value": "1024";
5873
6092
  }
5874
6093
  ];
5875
6094
  };
@@ -8,7 +8,7 @@ export type GlamMint = {
8
8
  "address": "GM1NtvvnSXUptTrMCqbogAdZJydZSNv98DoU5AZVLmGh",
9
9
  "metadata": {
10
10
  "name": "glamMint",
11
- "version": "1.0.2",
11
+ "version": "1.0.3",
12
12
  "spec": "0.1.0",
13
13
  "description": "GLAM mint program"
14
14
  },
@@ -1886,7 +1886,12 @@ export type GlamMint = {
1886
1886
  "Extra accounts for pricing N drift users under the same user stats:",
1887
1887
  "- user_stats x 1",
1888
1888
  "- drift_user x N",
1889
- "- markets and oracles used by all drift users (no specific order)"
1889
+ "- markets and oracles used by all drift users (no specific order)",
1890
+ "",
1891
+ "Clients must pre-refresh any stale Drift spot market cumulative interest by",
1892
+ "prepending Drift `update_spot_market_cumulative_interest` instructions for the",
1893
+ "referenced spot markets. Calls will fail with `StaleDriftInterest` if a required",
1894
+ "spot market's cumulative interest is too old."
1890
1895
  ],
1891
1896
  "discriminator": [
1892
1897
  12,
@@ -2121,7 +2126,12 @@ export type GlamMint = {
2121
2126
  "- (vault_depositor, drift_vault, drift_user) x N",
2122
2127
  "- spot_market used by drift users of vaults (no specific order)",
2123
2128
  "- perp markets used by drift users of vaults (no specific order)",
2124
- "- oracles of spot markets and perp markets (no specific order)"
2129
+ "- oracles of spot markets and perp markets (no specific order)",
2130
+ "",
2131
+ "Clients must pre-refresh any stale Drift spot market cumulative interest by",
2132
+ "prepending Drift `update_spot_market_cumulative_interest` instructions for the",
2133
+ "referenced spot markets. Calls will fail with `StaleDriftInterest` if a required",
2134
+ "spot market's cumulative interest is too old."
2125
2135
  ],
2126
2136
  "discriminator": [
2127
2137
  234,
@@ -4420,6 +4430,19 @@ export type GlamMint = {
4420
4430
  }
4421
4431
  ],
4422
4432
  "accounts": [
4433
+ {
4434
+ "name": "globalConfig",
4435
+ "discriminator": [
4436
+ 149,
4437
+ 8,
4438
+ 156,
4439
+ 202,
4440
+ 160,
4441
+ 252,
4442
+ 176,
4443
+ 217
4444
+ ]
4445
+ },
4423
4446
  {
4424
4447
  "name": "requestQueue",
4425
4448
  "discriminator": [
@@ -4494,7 +4517,7 @@ export type GlamMint = {
4494
4517
  {
4495
4518
  "code": 6003,
4496
4519
  "name": "invalidAsset",
4497
- "msg": "Invalid asset"
4520
+ "msg": "Asset not allowed to subscribe"
4498
4521
  },
4499
4522
  {
4500
4523
  "code": 6004,
@@ -4548,18 +4571,33 @@ export type GlamMint = {
4548
4571
  },
4549
4572
  {
4550
4573
  "code": 6014,
4574
+ "name": "amountBelowMinimum",
4575
+ "msg": "Amount is below the minimum required"
4576
+ },
4577
+ {
4578
+ "code": 6015,
4551
4579
  "name": "managerFeesNotCrystallized",
4552
4580
  "msg": "Manager fees should be crystallized before updating"
4553
4581
  },
4554
4582
  {
4555
- "code": 6015,
4583
+ "code": 6016,
4584
+ "name": "amountAboveMaximum",
4585
+ "msg": "Amount exceeds maximum threshold"
4586
+ },
4587
+ {
4588
+ "code": 6017,
4556
4589
  "name": "insufficientEscrowBalance",
4557
4590
  "msg": "Insufficient escrow balance for fee burn"
4558
4591
  },
4559
4592
  {
4560
- "code": 6016,
4561
- "name": "amountBelowMinimum",
4562
- "msg": "Amount below minimum threshold"
4593
+ "code": 6018,
4594
+ "name": "tokenAclManagesFreezeThaw",
4595
+ "msg": "Token ACL is enabled; freeze/thaw is managed by the Token ACL program"
4596
+ },
4597
+ {
4598
+ "code": 6019,
4599
+ "name": "invalidMintState",
4600
+ "msg": "Invalid mint state"
4563
4601
  }
4564
4602
  ],
4565
4603
  "types": [
@@ -4623,6 +4661,51 @@ export type GlamMint = {
4623
4661
  ]
4624
4662
  }
4625
4663
  },
4664
+ {
4665
+ "name": "assetMeta",
4666
+ "type": {
4667
+ "kind": "struct",
4668
+ "fields": [
4669
+ {
4670
+ "name": "asset",
4671
+ "type": "pubkey"
4672
+ },
4673
+ {
4674
+ "name": "decimals",
4675
+ "type": "u8"
4676
+ },
4677
+ {
4678
+ "name": "oracle",
4679
+ "type": "pubkey"
4680
+ },
4681
+ {
4682
+ "name": "oracleSource",
4683
+ "type": {
4684
+ "defined": {
4685
+ "name": "oracleSource"
4686
+ }
4687
+ }
4688
+ },
4689
+ {
4690
+ "name": "maxAgeSeconds",
4691
+ "type": "u16"
4692
+ },
4693
+ {
4694
+ "name": "priority",
4695
+ "type": "u8"
4696
+ },
4697
+ {
4698
+ "name": "padding",
4699
+ "type": {
4700
+ "array": [
4701
+ "u8",
4702
+ 3
4703
+ ]
4704
+ }
4705
+ }
4706
+ ]
4707
+ }
4708
+ },
4626
4709
  {
4627
4710
  "name": "aumRecord",
4628
4711
  "type": {
@@ -5077,6 +5160,50 @@ export type GlamMint = {
5077
5160
  ]
5078
5161
  }
5079
5162
  },
5163
+ {
5164
+ "name": "globalConfig",
5165
+ "type": {
5166
+ "kind": "struct",
5167
+ "fields": [
5168
+ {
5169
+ "name": "admin",
5170
+ "docs": [
5171
+ "The authority that can modify the config"
5172
+ ],
5173
+ "type": "pubkey"
5174
+ },
5175
+ {
5176
+ "name": "feeAuthority",
5177
+ "docs": [
5178
+ "The authority that can modify fee structure of individual glam state and claim protocol fees"
5179
+ ],
5180
+ "type": "pubkey"
5181
+ },
5182
+ {
5183
+ "name": "referrer",
5184
+ "type": "pubkey"
5185
+ },
5186
+ {
5187
+ "name": "baseFeeBps",
5188
+ "type": "u16"
5189
+ },
5190
+ {
5191
+ "name": "flowFeeBps",
5192
+ "type": "u16"
5193
+ },
5194
+ {
5195
+ "name": "assetMetas",
5196
+ "type": {
5197
+ "vec": {
5198
+ "defined": {
5199
+ "name": "assetMeta"
5200
+ }
5201
+ }
5202
+ }
5203
+ }
5204
+ ]
5205
+ }
5206
+ },
5080
5207
  {
5081
5208
  "name": "hurdleType",
5082
5209
  "type": {
@@ -5433,6 +5560,83 @@ export type GlamMint = {
5433
5560
  ]
5434
5561
  }
5435
5562
  },
5563
+ {
5564
+ "name": "oracleSource",
5565
+ "type": {
5566
+ "kind": "enum",
5567
+ "variants": [
5568
+ {
5569
+ "name": "pyth"
5570
+ },
5571
+ {
5572
+ "name": "switchboard"
5573
+ },
5574
+ {
5575
+ "name": "quoteAsset"
5576
+ },
5577
+ {
5578
+ "name": "pyth1K"
5579
+ },
5580
+ {
5581
+ "name": "pyth1M"
5582
+ },
5583
+ {
5584
+ "name": "pythStableCoin"
5585
+ },
5586
+ {
5587
+ "name": "prelaunch"
5588
+ },
5589
+ {
5590
+ "name": "pythPull"
5591
+ },
5592
+ {
5593
+ "name": "pyth1KPull"
5594
+ },
5595
+ {
5596
+ "name": "pyth1MPull"
5597
+ },
5598
+ {
5599
+ "name": "pythStableCoinPull"
5600
+ },
5601
+ {
5602
+ "name": "switchboardOnDemand"
5603
+ },
5604
+ {
5605
+ "name": "pythLazer"
5606
+ },
5607
+ {
5608
+ "name": "pythLazer1K"
5609
+ },
5610
+ {
5611
+ "name": "pythLazer1M"
5612
+ },
5613
+ {
5614
+ "name": "pythLazerStableCoin"
5615
+ },
5616
+ {
5617
+ "name": "notSet"
5618
+ },
5619
+ {
5620
+ "name": "lstPoolState"
5621
+ },
5622
+ {
5623
+ "name": "marinadeState"
5624
+ },
5625
+ {
5626
+ "name": "baseAsset"
5627
+ },
5628
+ {
5629
+ "name": "chainlinkRwa"
5630
+ },
5631
+ {
5632
+ "name": "chainlinkX"
5633
+ },
5634
+ {
5635
+ "name": "kaminoReserve"
5636
+ }
5637
+ ]
5638
+ }
5639
+ },
5436
5640
  {
5437
5641
  "name": "pendingRequest",
5438
5642
  "type": {
@@ -5870,6 +6074,21 @@ export type GlamMint = {
5870
6074
  "name": "protoMintPermSetTokenAccountState",
5871
6075
  "type": "u64",
5872
6076
  "value": "8"
6077
+ },
6078
+ {
6079
+ "name": "protoMintPermTokenAclApplyList",
6080
+ "type": "u64",
6081
+ "value": "2048"
6082
+ },
6083
+ {
6084
+ "name": "protoMintPermTokenAclFreezeThaw",
6085
+ "type": "u64",
6086
+ "value": "512"
6087
+ },
6088
+ {
6089
+ "name": "protoMintPermTokenAclManageList",
6090
+ "type": "u64",
6091
+ "value": "1024"
5873
6092
  }
5874
6093
  ]
5875
6094
  };
@@ -8,7 +8,7 @@ export type GlamPolicies = {
8
8
  "address": "po1iCYakK3gHCLbuju4wGzFowTMpAJxkqK1iwUqMonY",
9
9
  "metadata": {
10
10
  "name": "glamPolicies",
11
- "version": "1.0.0",
11
+ "version": "1.0.1",
12
12
  "spec": "0.1.0",
13
13
  "description": "GLAM policies program"
14
14
  },
@@ -390,12 +390,7 @@ export type GlamPolicies = {
390
390
  {
391
391
  "code": 6002,
392
392
  "name": "notAuthorized",
393
- "msg": "Signer is not mint authority or permanent delegate"
394
- },
395
- {
396
- "code": 6003,
397
- "name": "missingPermanentDelegate",
398
- "msg": "Mint has no permanent delegate extension"
393
+ "msg": "Not authorized"
399
394
  }
400
395
  ],
401
396
  "types": [