@pump-fun/pump-sdk 1.20.0-devnet.1 → 1.20.0-devnet.2

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/index.js CHANGED
@@ -1827,8 +1827,12 @@ __export(index_exports, {
1827
1827
  currentDayTokens: () => currentDayTokens,
1828
1828
  getBuySolAmountFromTokenAmount: () => getBuySolAmountFromTokenAmount,
1829
1829
  getBuyTokenAmountFromSolAmount: () => getBuyTokenAmountFromSolAmount,
1830
+ getGlobalParamsPda: () => getGlobalParamsPda,
1831
+ getMayhemStatePda: () => getMayhemStatePda,
1830
1832
  getPumpProgram: () => getPumpProgram,
1831
1833
  getSellSolAmountFromTokenAmount: () => getSellSolAmountFromTokenAmount,
1834
+ getSolVaultPda: () => getSolVaultPda,
1835
+ getTokenVaultPda: () => getTokenVaultPda,
1832
1836
  newBondingCurve: () => newBondingCurve,
1833
1837
  pumpIdl: () => pump_default,
1834
1838
  pumpPoolAuthorityPda: () => pumpPoolAuthorityPda,
@@ -3956,6 +3960,26 @@ var pump_default = {
3956
3960
  name: "associated_token_program",
3957
3961
  address: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
3958
3962
  },
3963
+ {
3964
+ name: "mayhem_program_id",
3965
+ writable: true
3966
+ },
3967
+ {
3968
+ name: "global_params",
3969
+ writable: true
3970
+ },
3971
+ {
3972
+ name: "sol_vault",
3973
+ writable: true
3974
+ },
3975
+ {
3976
+ name: "mayhem_state",
3977
+ writable: true
3978
+ },
3979
+ {
3980
+ name: "mayhem_token_vault",
3981
+ writable: true
3982
+ },
3959
3983
  {
3960
3984
  name: "event_authority",
3961
3985
  pda: {
@@ -4005,6 +4029,10 @@ var pump_default = {
4005
4029
  {
4006
4030
  name: "creator",
4007
4031
  type: "pubkey"
4032
+ },
4033
+ {
4034
+ name: "is_mayhem_mode",
4035
+ type: "bool"
4008
4036
  }
4009
4037
  ]
4010
4038
  },
@@ -5502,6 +5530,90 @@ var pump_default = {
5502
5530
  }
5503
5531
  ]
5504
5532
  },
5533
+ {
5534
+ name: "set_reserved_fee_recipient",
5535
+ discriminator: [
5536
+ 207,
5537
+ 189,
5538
+ 178,
5539
+ 71,
5540
+ 167,
5541
+ 122,
5542
+ 68,
5543
+ 180
5544
+ ],
5545
+ accounts: [
5546
+ {
5547
+ name: "global",
5548
+ writable: true,
5549
+ pda: {
5550
+ seeds: [
5551
+ {
5552
+ kind: "const",
5553
+ value: [
5554
+ 103,
5555
+ 108,
5556
+ 111,
5557
+ 98,
5558
+ 97,
5559
+ 108
5560
+ ]
5561
+ }
5562
+ ]
5563
+ }
5564
+ },
5565
+ {
5566
+ name: "authority",
5567
+ writable: true,
5568
+ signer: true,
5569
+ relations: [
5570
+ "global"
5571
+ ]
5572
+ },
5573
+ {
5574
+ name: "event_authority",
5575
+ pda: {
5576
+ seeds: [
5577
+ {
5578
+ kind: "const",
5579
+ value: [
5580
+ 95,
5581
+ 95,
5582
+ 101,
5583
+ 118,
5584
+ 101,
5585
+ 110,
5586
+ 116,
5587
+ 95,
5588
+ 97,
5589
+ 117,
5590
+ 116,
5591
+ 104,
5592
+ 111,
5593
+ 114,
5594
+ 105,
5595
+ 116,
5596
+ 121
5597
+ ]
5598
+ }
5599
+ ]
5600
+ }
5601
+ },
5602
+ {
5603
+ name: "program"
5604
+ }
5605
+ ],
5606
+ args: [
5607
+ {
5608
+ name: "reserved_fee_recipient",
5609
+ type: "pubkey"
5610
+ },
5611
+ {
5612
+ name: "whitelist_pda",
5613
+ type: "pubkey"
5614
+ }
5615
+ ]
5616
+ },
5505
5617
  {
5506
5618
  name: "sync_user_volume_accumulator",
5507
5619
  discriminator: [
@@ -5710,6 +5822,86 @@ var pump_default = {
5710
5822
  }
5711
5823
  ]
5712
5824
  },
5825
+ {
5826
+ name: "toggle_mayhem_mode",
5827
+ discriminator: [
5828
+ 1,
5829
+ 9,
5830
+ 111,
5831
+ 208,
5832
+ 100,
5833
+ 31,
5834
+ 255,
5835
+ 163
5836
+ ],
5837
+ accounts: [
5838
+ {
5839
+ name: "global",
5840
+ writable: true,
5841
+ pda: {
5842
+ seeds: [
5843
+ {
5844
+ kind: "const",
5845
+ value: [
5846
+ 103,
5847
+ 108,
5848
+ 111,
5849
+ 98,
5850
+ 97,
5851
+ 108
5852
+ ]
5853
+ }
5854
+ ]
5855
+ }
5856
+ },
5857
+ {
5858
+ name: "authority",
5859
+ writable: true,
5860
+ signer: true,
5861
+ relations: [
5862
+ "global"
5863
+ ]
5864
+ },
5865
+ {
5866
+ name: "event_authority",
5867
+ pda: {
5868
+ seeds: [
5869
+ {
5870
+ kind: "const",
5871
+ value: [
5872
+ 95,
5873
+ 95,
5874
+ 101,
5875
+ 118,
5876
+ 101,
5877
+ 110,
5878
+ 116,
5879
+ 95,
5880
+ 97,
5881
+ 117,
5882
+ 116,
5883
+ 104,
5884
+ 111,
5885
+ 114,
5886
+ 105,
5887
+ 116,
5888
+ 121
5889
+ ]
5890
+ }
5891
+ ]
5892
+ }
5893
+ },
5894
+ {
5895
+ name: "program"
5896
+ }
5897
+ ],
5898
+ args: [
5899
+ {
5900
+ name: "enabled",
5901
+ type: "bool"
5902
+ }
5903
+ ]
5904
+ },
5713
5905
  {
5714
5906
  name: "update_global_authority",
5715
5907
  discriminator: [
@@ -6300,6 +6492,14 @@ var pump_default = {
6300
6492
  {
6301
6493
  code: 6046,
6302
6494
  name: "CreateV2Disabled"
6495
+ },
6496
+ {
6497
+ code: 6047,
6498
+ name: "CpitializeMayhemFailed"
6499
+ },
6500
+ {
6501
+ code: 6048,
6502
+ name: "MayhemModeDisabled"
6303
6503
  }
6304
6504
  ],
6305
6505
  types: [
@@ -6415,6 +6615,10 @@ var pump_default = {
6415
6615
  {
6416
6616
  name: "creator",
6417
6617
  type: "pubkey"
6618
+ },
6619
+ {
6620
+ name: "is_mayhem_mode",
6621
+ type: "bool"
6418
6622
  }
6419
6623
  ]
6420
6624
  }
@@ -6623,6 +6827,10 @@ var pump_default = {
6623
6827
  {
6624
6828
  name: "token_program",
6625
6829
  type: "pubkey"
6830
+ },
6831
+ {
6832
+ name: "is_mayhem_mode",
6833
+ type: "bool"
6626
6834
  }
6627
6835
  ]
6628
6836
  }
@@ -6808,6 +7016,18 @@ var pump_default = {
6808
7016
  {
6809
7017
  name: "create_v2_enabled",
6810
7018
  type: "bool"
7019
+ },
7020
+ {
7021
+ name: "whitelist_pda",
7022
+ type: "pubkey"
7023
+ },
7024
+ {
7025
+ name: "reserved_fee_recipient",
7026
+ type: "pubkey"
7027
+ },
7028
+ {
7029
+ name: "mayhem_mode_enabled",
7030
+ type: "bool"
6811
7031
  }
6812
7032
  ]
6813
7033
  }
@@ -7271,7 +7491,8 @@ function newBondingCurve(global) {
7271
7491
  realSolReserves: new import_bn2.default(0),
7272
7492
  tokenTotalSupply: global.tokenTotalSupply,
7273
7493
  complete: false,
7274
- creator: import_web32.PublicKey.default
7494
+ creator: import_web32.PublicKey.default,
7495
+ isMayhemMode: global.mayhemModeEnabled
7275
7496
  };
7276
7497
  }
7277
7498
  function getBuySolAmountFromTokenAmountQuote({
@@ -7429,13 +7650,14 @@ var import_spl_token3 = require("@solana/spl-token");
7429
7650
  var import_pump_swap_sdk3 = require("@pump-fun/pump-swap-sdk");
7430
7651
 
7431
7652
  // src/sdk.ts
7432
- var import_anchor = require("@coral-xyz/anchor");
7653
+ var import_anchor2 = require("@coral-xyz/anchor");
7433
7654
  var import_pump_swap_sdk2 = require("@pump-fun/pump-swap-sdk");
7434
7655
  var import_spl_token2 = require("@solana/spl-token");
7435
7656
  var import_web34 = require("@solana/web3.js");
7436
7657
  var import_bn5 = __toESM(require("bn.js"));
7437
7658
 
7438
7659
  // src/onlineSdk.ts
7660
+ var import_anchor = require("@coral-xyz/anchor");
7439
7661
  var import_pump_swap_sdk = require("@pump-fun/pump-swap-sdk");
7440
7662
  var import_spl_token = require("@solana/spl-token");
7441
7663
  var import_web33 = require("@solana/web3.js");
@@ -7504,68 +7726,3215 @@ function currentDayTokens(globalVolumeAccumulator, userVolumeAccumulator, curren
7504
7726
  return currentSolVolume.mul(currentDayTokenSupply).div(currentDaySolVolume);
7505
7727
  }
7506
7728
 
7507
- // src/onlineSdk.ts
7508
- var OFFLINE_PUMP_PROGRAM = getPumpProgram(null);
7509
- var OnlinePumpSdk = class {
7510
- constructor(connection) {
7511
- this.connection = connection;
7512
- this.pumpProgram = getPumpProgram(connection);
7513
- this.offlinePumpProgram = OFFLINE_PUMP_PROGRAM;
7514
- this.pumpAmmSdk = new import_pump_swap_sdk.OnlinePumpAmmSdk(connection);
7515
- this.pumpAmmAdminSdk = new import_pump_swap_sdk.PumpAmmAdminSdk(connection);
7516
- }
7517
- async fetchGlobal() {
7518
- return await this.pumpProgram.account.global.fetch(GLOBAL_PDA);
7519
- }
7520
- async fetchFeeConfig() {
7521
- return await this.pumpProgram.account.feeConfig.fetch(PUMP_FEE_CONFIG_PDA);
7522
- }
7523
- async fetchBondingCurve(mint) {
7524
- return await this.pumpProgram.account.bondingCurve.fetch(
7525
- bondingCurvePda(mint)
7526
- );
7527
- }
7528
- async fetchBuyState(mint, user, tokenProgram = import_spl_token.TOKEN_PROGRAM_ID) {
7529
- const [bondingCurveAccountInfo, associatedUserAccountInfo] = await this.connection.getMultipleAccountsInfo([
7530
- bondingCurvePda(mint),
7531
- (0, import_spl_token.getAssociatedTokenAddressSync)(mint, user, true, tokenProgram)
7532
- ]);
7533
- if (!bondingCurveAccountInfo) {
7534
- throw new Error(
7535
- `Bonding curve account not found for mint: ${mint.toBase58()}`
7536
- );
7537
- }
7538
- const bondingCurve = PUMP_SDK.decodeBondingCurve(bondingCurveAccountInfo);
7539
- return { bondingCurveAccountInfo, bondingCurve, associatedUserAccountInfo };
7540
- }
7541
- async fetchSellState(mint, user, tokenProgram = import_spl_token.TOKEN_PROGRAM_ID) {
7542
- const [bondingCurveAccountInfo, associatedUserAccountInfo] = await this.connection.getMultipleAccountsInfo([
7543
- bondingCurvePda(mint),
7544
- (0, import_spl_token.getAssociatedTokenAddressSync)(mint, user, true, tokenProgram)
7545
- ]);
7546
- if (!bondingCurveAccountInfo) {
7547
- throw new Error(
7548
- `Bonding curve account not found for mint: ${mint.toBase58()}`
7549
- );
7550
- }
7551
- if (!associatedUserAccountInfo) {
7552
- throw new Error(
7553
- `Associated token account not found for mint: ${mint.toBase58()} and user: ${user.toBase58()}`
7554
- );
7555
- }
7556
- const bondingCurve = PUMP_SDK.decodeBondingCurve(bondingCurveAccountInfo);
7557
- return { bondingCurveAccountInfo, bondingCurve };
7558
- }
7559
- async fetchGlobalVolumeAccumulator() {
7560
- return await this.pumpProgram.account.globalVolumeAccumulator.fetch(
7561
- GLOBAL_VOLUME_ACCUMULATOR_PDA
7562
- );
7563
- }
7564
- async fetchUserVolumeAccumulator(user) {
7565
- return await this.pumpProgram.account.userVolumeAccumulator.fetchNullable(
7566
- userVolumeAccumulatorPda(user)
7567
- );
7568
- }
7729
+ // src/idl/mayhem_program.json
7730
+ var mayhem_program_default = {
7731
+ address: "MAyhSmzXzV1pTf7LsNkrNwkWKTo4ougAJ1PPg47MD4e",
7732
+ metadata: {
7733
+ name: "mayhem_program",
7734
+ version: "0.1.0",
7735
+ spec: "0.1.0",
7736
+ description: "Created with Anchor"
7737
+ },
7738
+ instructions: [
7739
+ {
7740
+ name: "burn_tokens",
7741
+ discriminator: [
7742
+ 76,
7743
+ 15,
7744
+ 51,
7745
+ 254,
7746
+ 229,
7747
+ 215,
7748
+ 121,
7749
+ 66
7750
+ ],
7751
+ accounts: [
7752
+ {
7753
+ name: "mayhem_state",
7754
+ writable: true,
7755
+ pda: {
7756
+ seeds: [
7757
+ {
7758
+ kind: "const",
7759
+ value: [
7760
+ 109,
7761
+ 97,
7762
+ 121,
7763
+ 104,
7764
+ 101,
7765
+ 109,
7766
+ 45,
7767
+ 115,
7768
+ 116,
7769
+ 97,
7770
+ 116,
7771
+ 101
7772
+ ]
7773
+ },
7774
+ {
7775
+ kind: "account",
7776
+ path: "mint"
7777
+ }
7778
+ ]
7779
+ }
7780
+ },
7781
+ {
7782
+ name: "mint"
7783
+ },
7784
+ {
7785
+ name: "mayhem_token_vault",
7786
+ writable: true,
7787
+ pda: {
7788
+ seeds: [
7789
+ {
7790
+ kind: "account",
7791
+ path: "sol_vault"
7792
+ },
7793
+ {
7794
+ kind: "account",
7795
+ path: "mint"
7796
+ },
7797
+ {
7798
+ kind: "account",
7799
+ path: "mint"
7800
+ }
7801
+ ],
7802
+ program: {
7803
+ kind: "const",
7804
+ value: [
7805
+ 140,
7806
+ 151,
7807
+ 37,
7808
+ 143,
7809
+ 78,
7810
+ 36,
7811
+ 137,
7812
+ 241,
7813
+ 187,
7814
+ 61,
7815
+ 16,
7816
+ 41,
7817
+ 20,
7818
+ 142,
7819
+ 13,
7820
+ 131,
7821
+ 11,
7822
+ 90,
7823
+ 19,
7824
+ 153,
7825
+ 218,
7826
+ 255,
7827
+ 16,
7828
+ 132,
7829
+ 4,
7830
+ 142,
7831
+ 123,
7832
+ 216,
7833
+ 219,
7834
+ 233,
7835
+ 248,
7836
+ 89
7837
+ ]
7838
+ }
7839
+ }
7840
+ },
7841
+ {
7842
+ name: "sol_vault",
7843
+ writable: true,
7844
+ pda: {
7845
+ seeds: [
7846
+ {
7847
+ kind: "const",
7848
+ value: [
7849
+ 115,
7850
+ 111,
7851
+ 108,
7852
+ 45,
7853
+ 118,
7854
+ 97,
7855
+ 117,
7856
+ 108,
7857
+ 116
7858
+ ]
7859
+ }
7860
+ ]
7861
+ }
7862
+ },
7863
+ {
7864
+ name: "system_program",
7865
+ address: "11111111111111111111111111111111"
7866
+ },
7867
+ {
7868
+ name: "token_program"
7869
+ },
7870
+ {
7871
+ name: "event_authority",
7872
+ pda: {
7873
+ seeds: [
7874
+ {
7875
+ kind: "const",
7876
+ value: [
7877
+ 95,
7878
+ 95,
7879
+ 101,
7880
+ 118,
7881
+ 101,
7882
+ 110,
7883
+ 116,
7884
+ 95,
7885
+ 97,
7886
+ 117,
7887
+ 116,
7888
+ 104,
7889
+ 111,
7890
+ 114,
7891
+ 105,
7892
+ 116,
7893
+ 121
7894
+ ]
7895
+ }
7896
+ ]
7897
+ }
7898
+ },
7899
+ {
7900
+ name: "program"
7901
+ }
7902
+ ],
7903
+ args: []
7904
+ },
7905
+ {
7906
+ name: "buy",
7907
+ discriminator: [
7908
+ 102,
7909
+ 6,
7910
+ 61,
7911
+ 18,
7912
+ 1,
7913
+ 218,
7914
+ 235,
7915
+ 234
7916
+ ],
7917
+ accounts: [
7918
+ {
7919
+ name: "trader",
7920
+ writable: true,
7921
+ signer: true,
7922
+ relations: [
7923
+ "global_params"
7924
+ ]
7925
+ },
7926
+ {
7927
+ name: "global_params",
7928
+ writable: true,
7929
+ pda: {
7930
+ seeds: [
7931
+ {
7932
+ kind: "const",
7933
+ value: [
7934
+ 103,
7935
+ 108,
7936
+ 111,
7937
+ 98,
7938
+ 97,
7939
+ 108,
7940
+ 45,
7941
+ 112,
7942
+ 97,
7943
+ 114,
7944
+ 97,
7945
+ 109,
7946
+ 115
7947
+ ]
7948
+ }
7949
+ ]
7950
+ }
7951
+ },
7952
+ {
7953
+ name: "mayhem_state",
7954
+ writable: true,
7955
+ pda: {
7956
+ seeds: [
7957
+ {
7958
+ kind: "const",
7959
+ value: [
7960
+ 109,
7961
+ 97,
7962
+ 121,
7963
+ 104,
7964
+ 101,
7965
+ 109,
7966
+ 45,
7967
+ 115,
7968
+ 116,
7969
+ 97,
7970
+ 116,
7971
+ 101
7972
+ ]
7973
+ },
7974
+ {
7975
+ kind: "account",
7976
+ path: "mint"
7977
+ }
7978
+ ]
7979
+ }
7980
+ },
7981
+ {
7982
+ name: "mint"
7983
+ },
7984
+ {
7985
+ name: "mayhem_token_vault",
7986
+ writable: true,
7987
+ pda: {
7988
+ seeds: [
7989
+ {
7990
+ kind: "account",
7991
+ path: "sol_vault"
7992
+ },
7993
+ {
7994
+ kind: "account",
7995
+ path: "mint"
7996
+ },
7997
+ {
7998
+ kind: "account",
7999
+ path: "mint"
8000
+ }
8001
+ ],
8002
+ program: {
8003
+ kind: "const",
8004
+ value: [
8005
+ 140,
8006
+ 151,
8007
+ 37,
8008
+ 143,
8009
+ 78,
8010
+ 36,
8011
+ 137,
8012
+ 241,
8013
+ 187,
8014
+ 61,
8015
+ 16,
8016
+ 41,
8017
+ 20,
8018
+ 142,
8019
+ 13,
8020
+ 131,
8021
+ 11,
8022
+ 90,
8023
+ 19,
8024
+ 153,
8025
+ 218,
8026
+ 255,
8027
+ 16,
8028
+ 132,
8029
+ 4,
8030
+ 142,
8031
+ 123,
8032
+ 216,
8033
+ 219,
8034
+ 233,
8035
+ 248,
8036
+ 89
8037
+ ]
8038
+ }
8039
+ }
8040
+ },
8041
+ {
8042
+ name: "sol_vault",
8043
+ writable: true,
8044
+ pda: {
8045
+ seeds: [
8046
+ {
8047
+ kind: "const",
8048
+ value: [
8049
+ 115,
8050
+ 111,
8051
+ 108,
8052
+ 45,
8053
+ 118,
8054
+ 97,
8055
+ 117,
8056
+ 108,
8057
+ 116
8058
+ ]
8059
+ }
8060
+ ]
8061
+ }
8062
+ },
8063
+ {
8064
+ name: "system_program",
8065
+ address: "11111111111111111111111111111111"
8066
+ },
8067
+ {
8068
+ name: "token_program"
8069
+ },
8070
+ {
8071
+ name: "global"
8072
+ },
8073
+ {
8074
+ name: "bonding_curve",
8075
+ writable: true,
8076
+ pda: {
8077
+ seeds: [
8078
+ {
8079
+ kind: "const",
8080
+ value: [
8081
+ 98,
8082
+ 111,
8083
+ 110,
8084
+ 100,
8085
+ 105,
8086
+ 110,
8087
+ 103,
8088
+ 45,
8089
+ 99,
8090
+ 117,
8091
+ 114,
8092
+ 118,
8093
+ 101
8094
+ ]
8095
+ },
8096
+ {
8097
+ kind: "account",
8098
+ path: "mint"
8099
+ }
8100
+ ],
8101
+ program: {
8102
+ kind: "const",
8103
+ value: [
8104
+ 1,
8105
+ 86,
8106
+ 224,
8107
+ 246,
8108
+ 147,
8109
+ 102,
8110
+ 90,
8111
+ 207,
8112
+ 68,
8113
+ 219,
8114
+ 21,
8115
+ 104,
8116
+ 191,
8117
+ 23,
8118
+ 91,
8119
+ 170,
8120
+ 81,
8121
+ 137,
8122
+ 203,
8123
+ 151,
8124
+ 245,
8125
+ 210,
8126
+ 255,
8127
+ 59,
8128
+ 101,
8129
+ 93,
8130
+ 43,
8131
+ 182,
8132
+ 253,
8133
+ 109,
8134
+ 24,
8135
+ 176
8136
+ ]
8137
+ }
8138
+ }
8139
+ },
8140
+ {
8141
+ name: "fee_recipient",
8142
+ writable: true
8143
+ },
8144
+ {
8145
+ name: "associated_bonding_curve",
8146
+ writable: true,
8147
+ pda: {
8148
+ seeds: [
8149
+ {
8150
+ kind: "account",
8151
+ path: "bonding_curve"
8152
+ },
8153
+ {
8154
+ kind: "account",
8155
+ path: "mint"
8156
+ },
8157
+ {
8158
+ kind: "account",
8159
+ path: "mint"
8160
+ }
8161
+ ],
8162
+ program: {
8163
+ kind: "const",
8164
+ value: [
8165
+ 140,
8166
+ 151,
8167
+ 37,
8168
+ 143,
8169
+ 78,
8170
+ 36,
8171
+ 137,
8172
+ 241,
8173
+ 187,
8174
+ 61,
8175
+ 16,
8176
+ 41,
8177
+ 20,
8178
+ 142,
8179
+ 13,
8180
+ 131,
8181
+ 11,
8182
+ 90,
8183
+ 19,
8184
+ 153,
8185
+ 218,
8186
+ 255,
8187
+ 16,
8188
+ 132,
8189
+ 4,
8190
+ 142,
8191
+ 123,
8192
+ 216,
8193
+ 219,
8194
+ 233,
8195
+ 248,
8196
+ 89
8197
+ ]
8198
+ }
8199
+ }
8200
+ },
8201
+ {
8202
+ name: "creator_vault",
8203
+ writable: true
8204
+ },
8205
+ {
8206
+ name: "pump_event_authority"
8207
+ },
8208
+ {
8209
+ name: "pump_program"
8210
+ },
8211
+ {
8212
+ name: "global_volume_accumulator",
8213
+ writable: true
8214
+ },
8215
+ {
8216
+ name: "user_volume_accumulator",
8217
+ writable: true
8218
+ },
8219
+ {
8220
+ name: "fee_config"
8221
+ },
8222
+ {
8223
+ name: "fee_program"
8224
+ },
8225
+ {
8226
+ name: "event_authority",
8227
+ pda: {
8228
+ seeds: [
8229
+ {
8230
+ kind: "const",
8231
+ value: [
8232
+ 95,
8233
+ 95,
8234
+ 101,
8235
+ 118,
8236
+ 101,
8237
+ 110,
8238
+ 116,
8239
+ 95,
8240
+ 97,
8241
+ 117,
8242
+ 116,
8243
+ 104,
8244
+ 111,
8245
+ 114,
8246
+ 105,
8247
+ 116,
8248
+ 121
8249
+ ]
8250
+ }
8251
+ ]
8252
+ }
8253
+ },
8254
+ {
8255
+ name: "program"
8256
+ }
8257
+ ],
8258
+ args: [
8259
+ {
8260
+ name: "market_cap",
8261
+ type: "u128"
8262
+ },
8263
+ {
8264
+ name: "slippage_bps",
8265
+ type: "u16"
8266
+ }
8267
+ ]
8268
+ },
8269
+ {
8270
+ name: "buy_pump_swap",
8271
+ discriminator: [
8272
+ 222,
8273
+ 147,
8274
+ 157,
8275
+ 7,
8276
+ 108,
8277
+ 8,
8278
+ 145,
8279
+ 81
8280
+ ],
8281
+ accounts: [
8282
+ {
8283
+ name: "trader",
8284
+ writable: true,
8285
+ signer: true,
8286
+ relations: [
8287
+ "global_params"
8288
+ ]
8289
+ },
8290
+ {
8291
+ name: "global_params",
8292
+ writable: true,
8293
+ pda: {
8294
+ seeds: [
8295
+ {
8296
+ kind: "const",
8297
+ value: [
8298
+ 103,
8299
+ 108,
8300
+ 111,
8301
+ 98,
8302
+ 97,
8303
+ 108,
8304
+ 45,
8305
+ 112,
8306
+ 97,
8307
+ 114,
8308
+ 97,
8309
+ 109,
8310
+ 115
8311
+ ]
8312
+ }
8313
+ ]
8314
+ }
8315
+ },
8316
+ {
8317
+ name: "mayhem_state",
8318
+ writable: true,
8319
+ pda: {
8320
+ seeds: [
8321
+ {
8322
+ kind: "const",
8323
+ value: [
8324
+ 109,
8325
+ 97,
8326
+ 121,
8327
+ 104,
8328
+ 101,
8329
+ 109,
8330
+ 45,
8331
+ 115,
8332
+ 116,
8333
+ 97,
8334
+ 116,
8335
+ 101
8336
+ ]
8337
+ },
8338
+ {
8339
+ kind: "account",
8340
+ path: "mint"
8341
+ }
8342
+ ]
8343
+ }
8344
+ },
8345
+ {
8346
+ name: "mint"
8347
+ },
8348
+ {
8349
+ name: "mayhem_token_vault",
8350
+ writable: true,
8351
+ pda: {
8352
+ seeds: [
8353
+ {
8354
+ kind: "account",
8355
+ path: "sol_vault"
8356
+ },
8357
+ {
8358
+ kind: "account",
8359
+ path: "mint"
8360
+ },
8361
+ {
8362
+ kind: "account",
8363
+ path: "mint"
8364
+ }
8365
+ ],
8366
+ program: {
8367
+ kind: "const",
8368
+ value: [
8369
+ 140,
8370
+ 151,
8371
+ 37,
8372
+ 143,
8373
+ 78,
8374
+ 36,
8375
+ 137,
8376
+ 241,
8377
+ 187,
8378
+ 61,
8379
+ 16,
8380
+ 41,
8381
+ 20,
8382
+ 142,
8383
+ 13,
8384
+ 131,
8385
+ 11,
8386
+ 90,
8387
+ 19,
8388
+ 153,
8389
+ 218,
8390
+ 255,
8391
+ 16,
8392
+ 132,
8393
+ 4,
8394
+ 142,
8395
+ 123,
8396
+ 216,
8397
+ 219,
8398
+ 233,
8399
+ 248,
8400
+ 89
8401
+ ]
8402
+ }
8403
+ }
8404
+ },
8405
+ {
8406
+ name: "mayhem_wsol_vault",
8407
+ writable: true,
8408
+ pda: {
8409
+ seeds: [
8410
+ {
8411
+ kind: "account",
8412
+ path: "sol_vault"
8413
+ },
8414
+ {
8415
+ kind: "account",
8416
+ path: "quote_token_program"
8417
+ },
8418
+ {
8419
+ kind: "account",
8420
+ path: "wsol_mint"
8421
+ }
8422
+ ],
8423
+ program: {
8424
+ kind: "const",
8425
+ value: [
8426
+ 140,
8427
+ 151,
8428
+ 37,
8429
+ 143,
8430
+ 78,
8431
+ 36,
8432
+ 137,
8433
+ 241,
8434
+ 187,
8435
+ 61,
8436
+ 16,
8437
+ 41,
8438
+ 20,
8439
+ 142,
8440
+ 13,
8441
+ 131,
8442
+ 11,
8443
+ 90,
8444
+ 19,
8445
+ 153,
8446
+ 218,
8447
+ 255,
8448
+ 16,
8449
+ 132,
8450
+ 4,
8451
+ 142,
8452
+ 123,
8453
+ 216,
8454
+ 219,
8455
+ 233,
8456
+ 248,
8457
+ 89
8458
+ ]
8459
+ }
8460
+ }
8461
+ },
8462
+ {
8463
+ name: "sol_vault",
8464
+ writable: true,
8465
+ pda: {
8466
+ seeds: [
8467
+ {
8468
+ kind: "const",
8469
+ value: [
8470
+ 115,
8471
+ 111,
8472
+ 108,
8473
+ 45,
8474
+ 118,
8475
+ 97,
8476
+ 117,
8477
+ 108,
8478
+ 116
8479
+ ]
8480
+ }
8481
+ ]
8482
+ }
8483
+ },
8484
+ {
8485
+ name: "system_program",
8486
+ address: "11111111111111111111111111111111"
8487
+ },
8488
+ {
8489
+ name: "quote_token_program"
8490
+ },
8491
+ {
8492
+ name: "base_token_program"
8493
+ },
8494
+ {
8495
+ name: "associated_token_program",
8496
+ address: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
8497
+ },
8498
+ {
8499
+ name: "pool",
8500
+ writable: true
8501
+ },
8502
+ {
8503
+ name: "global_config"
8504
+ },
8505
+ {
8506
+ name: "wsol_mint"
8507
+ },
8508
+ {
8509
+ name: "pool_base_token_account",
8510
+ writable: true
8511
+ },
8512
+ {
8513
+ name: "pool_quote_token_account",
8514
+ writable: true
8515
+ },
8516
+ {
8517
+ name: "protocol_fee_recipient",
8518
+ writable: true
8519
+ },
8520
+ {
8521
+ name: "protocol_fee_recipient_token_account",
8522
+ pda: {
8523
+ seeds: [
8524
+ {
8525
+ kind: "account",
8526
+ path: "protocol_fee_recipient"
8527
+ },
8528
+ {
8529
+ kind: "account",
8530
+ path: "quote_token_program"
8531
+ },
8532
+ {
8533
+ kind: "account",
8534
+ path: "wsol_mint"
8535
+ }
8536
+ ],
8537
+ program: {
8538
+ kind: "const",
8539
+ value: [
8540
+ 140,
8541
+ 151,
8542
+ 37,
8543
+ 143,
8544
+ 78,
8545
+ 36,
8546
+ 137,
8547
+ 241,
8548
+ 187,
8549
+ 61,
8550
+ 16,
8551
+ 41,
8552
+ 20,
8553
+ 142,
8554
+ 13,
8555
+ 131,
8556
+ 11,
8557
+ 90,
8558
+ 19,
8559
+ 153,
8560
+ 218,
8561
+ 255,
8562
+ 16,
8563
+ 132,
8564
+ 4,
8565
+ 142,
8566
+ 123,
8567
+ 216,
8568
+ 219,
8569
+ 233,
8570
+ 248,
8571
+ 89
8572
+ ]
8573
+ }
8574
+ }
8575
+ },
8576
+ {
8577
+ name: "creator_vault",
8578
+ writable: true
8579
+ },
8580
+ {
8581
+ name: "pump_swap_event_authority"
8582
+ },
8583
+ {
8584
+ name: "pump_swap_program"
8585
+ },
8586
+ {
8587
+ name: "coin_creator_vault_ata",
8588
+ pda: {
8589
+ seeds: [
8590
+ {
8591
+ kind: "account",
8592
+ path: "coin_creator_vault_authority"
8593
+ },
8594
+ {
8595
+ kind: "account",
8596
+ path: "quote_token_program"
8597
+ },
8598
+ {
8599
+ kind: "account",
8600
+ path: "wsol_mint"
8601
+ }
8602
+ ],
8603
+ program: {
8604
+ kind: "const",
8605
+ value: [
8606
+ 140,
8607
+ 151,
8608
+ 37,
8609
+ 143,
8610
+ 78,
8611
+ 36,
8612
+ 137,
8613
+ 241,
8614
+ 187,
8615
+ 61,
8616
+ 16,
8617
+ 41,
8618
+ 20,
8619
+ 142,
8620
+ 13,
8621
+ 131,
8622
+ 11,
8623
+ 90,
8624
+ 19,
8625
+ 153,
8626
+ 218,
8627
+ 255,
8628
+ 16,
8629
+ 132,
8630
+ 4,
8631
+ 142,
8632
+ 123,
8633
+ 216,
8634
+ 219,
8635
+ 233,
8636
+ 248,
8637
+ 89
8638
+ ]
8639
+ }
8640
+ }
8641
+ },
8642
+ {
8643
+ name: "coin_creator_vault_authority"
8644
+ },
8645
+ {
8646
+ name: "global_volume_accumulator",
8647
+ writable: true
8648
+ },
8649
+ {
8650
+ name: "user_volume_accumulator",
8651
+ writable: true
8652
+ },
8653
+ {
8654
+ name: "fee_config"
8655
+ },
8656
+ {
8657
+ name: "fee_program"
8658
+ },
8659
+ {
8660
+ name: "event_authority",
8661
+ pda: {
8662
+ seeds: [
8663
+ {
8664
+ kind: "const",
8665
+ value: [
8666
+ 95,
8667
+ 95,
8668
+ 101,
8669
+ 118,
8670
+ 101,
8671
+ 110,
8672
+ 116,
8673
+ 95,
8674
+ 97,
8675
+ 117,
8676
+ 116,
8677
+ 104,
8678
+ 111,
8679
+ 114,
8680
+ 105,
8681
+ 116,
8682
+ 121
8683
+ ]
8684
+ }
8685
+ ]
8686
+ }
8687
+ },
8688
+ {
8689
+ name: "program"
8690
+ }
8691
+ ],
8692
+ args: [
8693
+ {
8694
+ name: "market_cap",
8695
+ type: "u128"
8696
+ },
8697
+ {
8698
+ name: "slippage_bps",
8699
+ type: "u16"
8700
+ }
8701
+ ]
8702
+ },
8703
+ {
8704
+ name: "extend_account",
8705
+ discriminator: [
8706
+ 234,
8707
+ 102,
8708
+ 194,
8709
+ 203,
8710
+ 150,
8711
+ 72,
8712
+ 62,
8713
+ 229
8714
+ ],
8715
+ accounts: [
8716
+ {
8717
+ name: "account",
8718
+ writable: true
8719
+ },
8720
+ {
8721
+ name: "user",
8722
+ signer: true
8723
+ },
8724
+ {
8725
+ name: "system_program",
8726
+ address: "11111111111111111111111111111111"
8727
+ },
8728
+ {
8729
+ name: "event_authority",
8730
+ pda: {
8731
+ seeds: [
8732
+ {
8733
+ kind: "const",
8734
+ value: [
8735
+ 95,
8736
+ 95,
8737
+ 101,
8738
+ 118,
8739
+ 101,
8740
+ 110,
8741
+ 116,
8742
+ 95,
8743
+ 97,
8744
+ 117,
8745
+ 116,
8746
+ 104,
8747
+ 111,
8748
+ 114,
8749
+ 105,
8750
+ 116,
8751
+ 121
8752
+ ]
8753
+ }
8754
+ ]
8755
+ }
8756
+ },
8757
+ {
8758
+ name: "program"
8759
+ }
8760
+ ],
8761
+ args: []
8762
+ },
8763
+ {
8764
+ name: "initialize_global_params",
8765
+ discriminator: [
8766
+ 13,
8767
+ 18,
8768
+ 127,
8769
+ 234,
8770
+ 59,
8771
+ 40,
8772
+ 204,
8773
+ 218
8774
+ ],
8775
+ accounts: [
8776
+ {
8777
+ name: "admin",
8778
+ writable: true,
8779
+ signer: true
8780
+ },
8781
+ {
8782
+ name: "global_params",
8783
+ writable: true,
8784
+ pda: {
8785
+ seeds: [
8786
+ {
8787
+ kind: "const",
8788
+ value: [
8789
+ 103,
8790
+ 108,
8791
+ 111,
8792
+ 98,
8793
+ 97,
8794
+ 108,
8795
+ 45,
8796
+ 112,
8797
+ 97,
8798
+ 114,
8799
+ 97,
8800
+ 109,
8801
+ 115
8802
+ ]
8803
+ }
8804
+ ]
8805
+ }
8806
+ },
8807
+ {
8808
+ name: "system_program",
8809
+ address: "11111111111111111111111111111111"
8810
+ }
8811
+ ],
8812
+ args: []
8813
+ },
8814
+ {
8815
+ name: "initialize_mayhem_state",
8816
+ discriminator: [
8817
+ 157,
8818
+ 189,
8819
+ 94,
8820
+ 72,
8821
+ 85,
8822
+ 69,
8823
+ 204,
8824
+ 45
8825
+ ],
8826
+ accounts: [
8827
+ {
8828
+ name: "payer",
8829
+ writable: true,
8830
+ signer: true
8831
+ },
8832
+ {
8833
+ name: "global_params",
8834
+ pda: {
8835
+ seeds: [
8836
+ {
8837
+ kind: "const",
8838
+ value: [
8839
+ 103,
8840
+ 108,
8841
+ 111,
8842
+ 98,
8843
+ 97,
8844
+ 108,
8845
+ 45,
8846
+ 112,
8847
+ 97,
8848
+ 114,
8849
+ 97,
8850
+ 109,
8851
+ 115
8852
+ ]
8853
+ }
8854
+ ]
8855
+ }
8856
+ },
8857
+ {
8858
+ name: "mint_authority",
8859
+ pda: {
8860
+ seeds: [
8861
+ {
8862
+ kind: "const",
8863
+ value: [
8864
+ 109,
8865
+ 105,
8866
+ 110,
8867
+ 116,
8868
+ 45,
8869
+ 97,
8870
+ 117,
8871
+ 116,
8872
+ 104,
8873
+ 111,
8874
+ 114,
8875
+ 105,
8876
+ 116,
8877
+ 121
8878
+ ]
8879
+ }
8880
+ ],
8881
+ program: {
8882
+ kind: "const",
8883
+ value: [
8884
+ 1,
8885
+ 86,
8886
+ 224,
8887
+ 246,
8888
+ 147,
8889
+ 102,
8890
+ 90,
8891
+ 207,
8892
+ 68,
8893
+ 219,
8894
+ 21,
8895
+ 104,
8896
+ 191,
8897
+ 23,
8898
+ 91,
8899
+ 170,
8900
+ 81,
8901
+ 137,
8902
+ 203,
8903
+ 151,
8904
+ 245,
8905
+ 210,
8906
+ 255,
8907
+ 59,
8908
+ 101,
8909
+ 93,
8910
+ 43,
8911
+ 182,
8912
+ 253,
8913
+ 109,
8914
+ 24,
8915
+ 176
8916
+ ]
8917
+ }
8918
+ }
8919
+ },
8920
+ {
8921
+ name: "sol_vault",
8922
+ writable: true,
8923
+ pda: {
8924
+ seeds: [
8925
+ {
8926
+ kind: "const",
8927
+ value: [
8928
+ 115,
8929
+ 111,
8930
+ 108,
8931
+ 45,
8932
+ 118,
8933
+ 97,
8934
+ 117,
8935
+ 108,
8936
+ 116
8937
+ ]
8938
+ }
8939
+ ]
8940
+ }
8941
+ },
8942
+ {
8943
+ name: "mint"
8944
+ },
8945
+ {
8946
+ name: "mayhem_token_vault",
8947
+ writable: true,
8948
+ pda: {
8949
+ seeds: [
8950
+ {
8951
+ kind: "account",
8952
+ path: "sol_vault"
8953
+ },
8954
+ {
8955
+ kind: "account",
8956
+ path: "token_program"
8957
+ },
8958
+ {
8959
+ kind: "account",
8960
+ path: "mint"
8961
+ }
8962
+ ],
8963
+ program: {
8964
+ kind: "const",
8965
+ value: [
8966
+ 140,
8967
+ 151,
8968
+ 37,
8969
+ 143,
8970
+ 78,
8971
+ 36,
8972
+ 137,
8973
+ 241,
8974
+ 187,
8975
+ 61,
8976
+ 16,
8977
+ 41,
8978
+ 20,
8979
+ 142,
8980
+ 13,
8981
+ 131,
8982
+ 11,
8983
+ 90,
8984
+ 19,
8985
+ 153,
8986
+ 218,
8987
+ 255,
8988
+ 16,
8989
+ 132,
8990
+ 4,
8991
+ 142,
8992
+ 123,
8993
+ 216,
8994
+ 219,
8995
+ 233,
8996
+ 248,
8997
+ 89
8998
+ ]
8999
+ }
9000
+ }
9001
+ },
9002
+ {
9003
+ name: "mayhem_state",
9004
+ writable: true,
9005
+ pda: {
9006
+ seeds: [
9007
+ {
9008
+ kind: "const",
9009
+ value: [
9010
+ 109,
9011
+ 97,
9012
+ 121,
9013
+ 104,
9014
+ 101,
9015
+ 109,
9016
+ 45,
9017
+ 115,
9018
+ 116,
9019
+ 97,
9020
+ 116,
9021
+ 101
9022
+ ]
9023
+ },
9024
+ {
9025
+ kind: "account",
9026
+ path: "mint"
9027
+ }
9028
+ ]
9029
+ }
9030
+ },
9031
+ {
9032
+ name: "system_program",
9033
+ address: "11111111111111111111111111111111"
9034
+ },
9035
+ {
9036
+ name: "token_program",
9037
+ address: "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
9038
+ },
9039
+ {
9040
+ name: "associated_token_program",
9041
+ address: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
9042
+ }
9043
+ ],
9044
+ args: []
9045
+ },
9046
+ {
9047
+ name: "resume_trading",
9048
+ discriminator: [
9049
+ 146,
9050
+ 46,
9051
+ 212,
9052
+ 86,
9053
+ 69,
9054
+ 159,
9055
+ 30,
9056
+ 65
9057
+ ],
9058
+ accounts: [
9059
+ {
9060
+ name: "admin",
9061
+ writable: true,
9062
+ signer: true,
9063
+ relations: [
9064
+ "global_params"
9065
+ ]
9066
+ },
9067
+ {
9068
+ name: "global_params",
9069
+ writable: true,
9070
+ pda: {
9071
+ seeds: [
9072
+ {
9073
+ kind: "const",
9074
+ value: [
9075
+ 103,
9076
+ 108,
9077
+ 111,
9078
+ 98,
9079
+ 97,
9080
+ 108,
9081
+ 45,
9082
+ 112,
9083
+ 97,
9084
+ 114,
9085
+ 97,
9086
+ 109,
9087
+ 115
9088
+ ]
9089
+ }
9090
+ ]
9091
+ }
9092
+ },
9093
+ {
9094
+ name: "system_program",
9095
+ address: "11111111111111111111111111111111"
9096
+ }
9097
+ ],
9098
+ args: []
9099
+ },
9100
+ {
9101
+ name: "sell",
9102
+ discriminator: [
9103
+ 51,
9104
+ 230,
9105
+ 133,
9106
+ 164,
9107
+ 1,
9108
+ 127,
9109
+ 131,
9110
+ 173
9111
+ ],
9112
+ accounts: [
9113
+ {
9114
+ name: "trader",
9115
+ writable: true,
9116
+ signer: true,
9117
+ relations: [
9118
+ "global_params"
9119
+ ]
9120
+ },
9121
+ {
9122
+ name: "global_params",
9123
+ writable: true,
9124
+ pda: {
9125
+ seeds: [
9126
+ {
9127
+ kind: "const",
9128
+ value: [
9129
+ 103,
9130
+ 108,
9131
+ 111,
9132
+ 98,
9133
+ 97,
9134
+ 108,
9135
+ 45,
9136
+ 112,
9137
+ 97,
9138
+ 114,
9139
+ 97,
9140
+ 109,
9141
+ 115
9142
+ ]
9143
+ }
9144
+ ]
9145
+ }
9146
+ },
9147
+ {
9148
+ name: "mayhem_state",
9149
+ writable: true,
9150
+ pda: {
9151
+ seeds: [
9152
+ {
9153
+ kind: "const",
9154
+ value: [
9155
+ 109,
9156
+ 97,
9157
+ 121,
9158
+ 104,
9159
+ 101,
9160
+ 109,
9161
+ 45,
9162
+ 115,
9163
+ 116,
9164
+ 97,
9165
+ 116,
9166
+ 101
9167
+ ]
9168
+ },
9169
+ {
9170
+ kind: "account",
9171
+ path: "mint"
9172
+ }
9173
+ ]
9174
+ }
9175
+ },
9176
+ {
9177
+ name: "sol_vault",
9178
+ writable: true,
9179
+ pda: {
9180
+ seeds: [
9181
+ {
9182
+ kind: "const",
9183
+ value: [
9184
+ 115,
9185
+ 111,
9186
+ 108,
9187
+ 45,
9188
+ 118,
9189
+ 97,
9190
+ 117,
9191
+ 108,
9192
+ 116
9193
+ ]
9194
+ }
9195
+ ]
9196
+ }
9197
+ },
9198
+ {
9199
+ name: "mint"
9200
+ },
9201
+ {
9202
+ name: "mayhem_token_vault",
9203
+ writable: true,
9204
+ pda: {
9205
+ seeds: [
9206
+ {
9207
+ kind: "account",
9208
+ path: "sol_vault"
9209
+ },
9210
+ {
9211
+ kind: "account",
9212
+ path: "mint"
9213
+ },
9214
+ {
9215
+ kind: "account",
9216
+ path: "mint"
9217
+ }
9218
+ ],
9219
+ program: {
9220
+ kind: "const",
9221
+ value: [
9222
+ 140,
9223
+ 151,
9224
+ 37,
9225
+ 143,
9226
+ 78,
9227
+ 36,
9228
+ 137,
9229
+ 241,
9230
+ 187,
9231
+ 61,
9232
+ 16,
9233
+ 41,
9234
+ 20,
9235
+ 142,
9236
+ 13,
9237
+ 131,
9238
+ 11,
9239
+ 90,
9240
+ 19,
9241
+ 153,
9242
+ 218,
9243
+ 255,
9244
+ 16,
9245
+ 132,
9246
+ 4,
9247
+ 142,
9248
+ 123,
9249
+ 216,
9250
+ 219,
9251
+ 233,
9252
+ 248,
9253
+ 89
9254
+ ]
9255
+ }
9256
+ }
9257
+ },
9258
+ {
9259
+ name: "token_program",
9260
+ address: "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
9261
+ },
9262
+ {
9263
+ name: "system_program",
9264
+ address: "11111111111111111111111111111111"
9265
+ },
9266
+ {
9267
+ name: "global"
9268
+ },
9269
+ {
9270
+ name: "bonding_curve",
9271
+ writable: true,
9272
+ pda: {
9273
+ seeds: [
9274
+ {
9275
+ kind: "const",
9276
+ value: [
9277
+ 98,
9278
+ 111,
9279
+ 110,
9280
+ 100,
9281
+ 105,
9282
+ 110,
9283
+ 103,
9284
+ 45,
9285
+ 99,
9286
+ 117,
9287
+ 114,
9288
+ 118,
9289
+ 101
9290
+ ]
9291
+ },
9292
+ {
9293
+ kind: "account",
9294
+ path: "mint"
9295
+ }
9296
+ ],
9297
+ program: {
9298
+ kind: "const",
9299
+ value: [
9300
+ 1,
9301
+ 86,
9302
+ 224,
9303
+ 246,
9304
+ 147,
9305
+ 102,
9306
+ 90,
9307
+ 207,
9308
+ 68,
9309
+ 219,
9310
+ 21,
9311
+ 104,
9312
+ 191,
9313
+ 23,
9314
+ 91,
9315
+ 170,
9316
+ 81,
9317
+ 137,
9318
+ 203,
9319
+ 151,
9320
+ 245,
9321
+ 210,
9322
+ 255,
9323
+ 59,
9324
+ 101,
9325
+ 93,
9326
+ 43,
9327
+ 182,
9328
+ 253,
9329
+ 109,
9330
+ 24,
9331
+ 176
9332
+ ]
9333
+ }
9334
+ }
9335
+ },
9336
+ {
9337
+ name: "fee_recipient",
9338
+ writable: true
9339
+ },
9340
+ {
9341
+ name: "associated_bonding_curve",
9342
+ writable: true,
9343
+ pda: {
9344
+ seeds: [
9345
+ {
9346
+ kind: "account",
9347
+ path: "bonding_curve"
9348
+ },
9349
+ {
9350
+ kind: "account",
9351
+ path: "mint"
9352
+ },
9353
+ {
9354
+ kind: "account",
9355
+ path: "mint"
9356
+ }
9357
+ ],
9358
+ program: {
9359
+ kind: "const",
9360
+ value: [
9361
+ 140,
9362
+ 151,
9363
+ 37,
9364
+ 143,
9365
+ 78,
9366
+ 36,
9367
+ 137,
9368
+ 241,
9369
+ 187,
9370
+ 61,
9371
+ 16,
9372
+ 41,
9373
+ 20,
9374
+ 142,
9375
+ 13,
9376
+ 131,
9377
+ 11,
9378
+ 90,
9379
+ 19,
9380
+ 153,
9381
+ 218,
9382
+ 255,
9383
+ 16,
9384
+ 132,
9385
+ 4,
9386
+ 142,
9387
+ 123,
9388
+ 216,
9389
+ 219,
9390
+ 233,
9391
+ 248,
9392
+ 89
9393
+ ]
9394
+ }
9395
+ }
9396
+ },
9397
+ {
9398
+ name: "creator_vault",
9399
+ writable: true
9400
+ },
9401
+ {
9402
+ name: "pump_event_authority"
9403
+ },
9404
+ {
9405
+ name: "pump_program",
9406
+ address: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"
9407
+ },
9408
+ {
9409
+ name: "fee_config"
9410
+ },
9411
+ {
9412
+ name: "fee_program"
9413
+ },
9414
+ {
9415
+ name: "event_authority",
9416
+ pda: {
9417
+ seeds: [
9418
+ {
9419
+ kind: "const",
9420
+ value: [
9421
+ 95,
9422
+ 95,
9423
+ 101,
9424
+ 118,
9425
+ 101,
9426
+ 110,
9427
+ 116,
9428
+ 95,
9429
+ 97,
9430
+ 117,
9431
+ 116,
9432
+ 104,
9433
+ 111,
9434
+ 114,
9435
+ 105,
9436
+ 116,
9437
+ 121
9438
+ ]
9439
+ }
9440
+ ]
9441
+ }
9442
+ },
9443
+ {
9444
+ name: "program"
9445
+ }
9446
+ ],
9447
+ args: [
9448
+ {
9449
+ name: "market_cap",
9450
+ type: "u128"
9451
+ },
9452
+ {
9453
+ name: "slippage_bps",
9454
+ type: "u16"
9455
+ }
9456
+ ]
9457
+ },
9458
+ {
9459
+ name: "sell_pump_swap",
9460
+ discriminator: [
9461
+ 16,
9462
+ 198,
9463
+ 145,
9464
+ 240,
9465
+ 238,
9466
+ 101,
9467
+ 137,
9468
+ 203
9469
+ ],
9470
+ accounts: [
9471
+ {
9472
+ name: "trader",
9473
+ writable: true,
9474
+ signer: true,
9475
+ relations: [
9476
+ "global_params"
9477
+ ]
9478
+ },
9479
+ {
9480
+ name: "global_params",
9481
+ writable: true,
9482
+ pda: {
9483
+ seeds: [
9484
+ {
9485
+ kind: "const",
9486
+ value: [
9487
+ 103,
9488
+ 108,
9489
+ 111,
9490
+ 98,
9491
+ 97,
9492
+ 108,
9493
+ 45,
9494
+ 112,
9495
+ 97,
9496
+ 114,
9497
+ 97,
9498
+ 109,
9499
+ 115
9500
+ ]
9501
+ }
9502
+ ]
9503
+ }
9504
+ },
9505
+ {
9506
+ name: "mayhem_state",
9507
+ writable: true,
9508
+ pda: {
9509
+ seeds: [
9510
+ {
9511
+ kind: "const",
9512
+ value: [
9513
+ 109,
9514
+ 97,
9515
+ 121,
9516
+ 104,
9517
+ 101,
9518
+ 109,
9519
+ 45,
9520
+ 115,
9521
+ 116,
9522
+ 97,
9523
+ 116,
9524
+ 101
9525
+ ]
9526
+ },
9527
+ {
9528
+ kind: "account",
9529
+ path: "mint"
9530
+ }
9531
+ ]
9532
+ }
9533
+ },
9534
+ {
9535
+ name: "mint"
9536
+ },
9537
+ {
9538
+ name: "mayhem_token_vault",
9539
+ writable: true,
9540
+ pda: {
9541
+ seeds: [
9542
+ {
9543
+ kind: "account",
9544
+ path: "sol_vault"
9545
+ },
9546
+ {
9547
+ kind: "account",
9548
+ path: "mint"
9549
+ },
9550
+ {
9551
+ kind: "account",
9552
+ path: "mint"
9553
+ }
9554
+ ],
9555
+ program: {
9556
+ kind: "const",
9557
+ value: [
9558
+ 140,
9559
+ 151,
9560
+ 37,
9561
+ 143,
9562
+ 78,
9563
+ 36,
9564
+ 137,
9565
+ 241,
9566
+ 187,
9567
+ 61,
9568
+ 16,
9569
+ 41,
9570
+ 20,
9571
+ 142,
9572
+ 13,
9573
+ 131,
9574
+ 11,
9575
+ 90,
9576
+ 19,
9577
+ 153,
9578
+ 218,
9579
+ 255,
9580
+ 16,
9581
+ 132,
9582
+ 4,
9583
+ 142,
9584
+ 123,
9585
+ 216,
9586
+ 219,
9587
+ 233,
9588
+ 248,
9589
+ 89
9590
+ ]
9591
+ }
9592
+ }
9593
+ },
9594
+ {
9595
+ name: "mayhem_wsol_vault",
9596
+ writable: true,
9597
+ pda: {
9598
+ seeds: [
9599
+ {
9600
+ kind: "account",
9601
+ path: "sol_vault"
9602
+ },
9603
+ {
9604
+ kind: "account",
9605
+ path: "quote_token_program"
9606
+ },
9607
+ {
9608
+ kind: "account",
9609
+ path: "wsol_mint"
9610
+ }
9611
+ ],
9612
+ program: {
9613
+ kind: "const",
9614
+ value: [
9615
+ 140,
9616
+ 151,
9617
+ 37,
9618
+ 143,
9619
+ 78,
9620
+ 36,
9621
+ 137,
9622
+ 241,
9623
+ 187,
9624
+ 61,
9625
+ 16,
9626
+ 41,
9627
+ 20,
9628
+ 142,
9629
+ 13,
9630
+ 131,
9631
+ 11,
9632
+ 90,
9633
+ 19,
9634
+ 153,
9635
+ 218,
9636
+ 255,
9637
+ 16,
9638
+ 132,
9639
+ 4,
9640
+ 142,
9641
+ 123,
9642
+ 216,
9643
+ 219,
9644
+ 233,
9645
+ 248,
9646
+ 89
9647
+ ]
9648
+ }
9649
+ }
9650
+ },
9651
+ {
9652
+ name: "sol_vault",
9653
+ writable: true,
9654
+ pda: {
9655
+ seeds: [
9656
+ {
9657
+ kind: "const",
9658
+ value: [
9659
+ 115,
9660
+ 111,
9661
+ 108,
9662
+ 45,
9663
+ 118,
9664
+ 97,
9665
+ 117,
9666
+ 108,
9667
+ 116
9668
+ ]
9669
+ }
9670
+ ]
9671
+ }
9672
+ },
9673
+ {
9674
+ name: "system_program",
9675
+ address: "11111111111111111111111111111111"
9676
+ },
9677
+ {
9678
+ name: "quote_token_program"
9679
+ },
9680
+ {
9681
+ name: "base_token_program"
9682
+ },
9683
+ {
9684
+ name: "associated_token_program",
9685
+ address: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
9686
+ },
9687
+ {
9688
+ name: "pool",
9689
+ writable: true
9690
+ },
9691
+ {
9692
+ name: "global_config"
9693
+ },
9694
+ {
9695
+ name: "wsol_mint"
9696
+ },
9697
+ {
9698
+ name: "pool_base_token_account",
9699
+ writable: true
9700
+ },
9701
+ {
9702
+ name: "pool_quote_token_account",
9703
+ writable: true
9704
+ },
9705
+ {
9706
+ name: "protocol_fee_recipient",
9707
+ writable: true
9708
+ },
9709
+ {
9710
+ name: "protocol_fee_recipient_token_account",
9711
+ pda: {
9712
+ seeds: [
9713
+ {
9714
+ kind: "account",
9715
+ path: "protocol_fee_recipient"
9716
+ },
9717
+ {
9718
+ kind: "account",
9719
+ path: "quote_token_program"
9720
+ },
9721
+ {
9722
+ kind: "account",
9723
+ path: "wsol_mint"
9724
+ }
9725
+ ],
9726
+ program: {
9727
+ kind: "const",
9728
+ value: [
9729
+ 140,
9730
+ 151,
9731
+ 37,
9732
+ 143,
9733
+ 78,
9734
+ 36,
9735
+ 137,
9736
+ 241,
9737
+ 187,
9738
+ 61,
9739
+ 16,
9740
+ 41,
9741
+ 20,
9742
+ 142,
9743
+ 13,
9744
+ 131,
9745
+ 11,
9746
+ 90,
9747
+ 19,
9748
+ 153,
9749
+ 218,
9750
+ 255,
9751
+ 16,
9752
+ 132,
9753
+ 4,
9754
+ 142,
9755
+ 123,
9756
+ 216,
9757
+ 219,
9758
+ 233,
9759
+ 248,
9760
+ 89
9761
+ ]
9762
+ }
9763
+ }
9764
+ },
9765
+ {
9766
+ name: "creator_vault",
9767
+ writable: true
9768
+ },
9769
+ {
9770
+ name: "pump_swap_event_authority"
9771
+ },
9772
+ {
9773
+ name: "pump_swap_program",
9774
+ address: "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"
9775
+ },
9776
+ {
9777
+ name: "coin_creator_vault_ata",
9778
+ pda: {
9779
+ seeds: [
9780
+ {
9781
+ kind: "account",
9782
+ path: "coin_creator_vault_authority"
9783
+ },
9784
+ {
9785
+ kind: "account",
9786
+ path: "quote_token_program"
9787
+ },
9788
+ {
9789
+ kind: "account",
9790
+ path: "wsol_mint"
9791
+ }
9792
+ ],
9793
+ program: {
9794
+ kind: "const",
9795
+ value: [
9796
+ 140,
9797
+ 151,
9798
+ 37,
9799
+ 143,
9800
+ 78,
9801
+ 36,
9802
+ 137,
9803
+ 241,
9804
+ 187,
9805
+ 61,
9806
+ 16,
9807
+ 41,
9808
+ 20,
9809
+ 142,
9810
+ 13,
9811
+ 131,
9812
+ 11,
9813
+ 90,
9814
+ 19,
9815
+ 153,
9816
+ 218,
9817
+ 255,
9818
+ 16,
9819
+ 132,
9820
+ 4,
9821
+ 142,
9822
+ 123,
9823
+ 216,
9824
+ 219,
9825
+ 233,
9826
+ 248,
9827
+ 89
9828
+ ]
9829
+ }
9830
+ }
9831
+ },
9832
+ {
9833
+ name: "coin_creator_vault_authority"
9834
+ },
9835
+ {
9836
+ name: "fee_config"
9837
+ },
9838
+ {
9839
+ name: "fee_program"
9840
+ },
9841
+ {
9842
+ name: "event_authority",
9843
+ pda: {
9844
+ seeds: [
9845
+ {
9846
+ kind: "const",
9847
+ value: [
9848
+ 95,
9849
+ 95,
9850
+ 101,
9851
+ 118,
9852
+ 101,
9853
+ 110,
9854
+ 116,
9855
+ 95,
9856
+ 97,
9857
+ 117,
9858
+ 116,
9859
+ 104,
9860
+ 111,
9861
+ 114,
9862
+ 105,
9863
+ 116,
9864
+ 121
9865
+ ]
9866
+ }
9867
+ ]
9868
+ }
9869
+ },
9870
+ {
9871
+ name: "program"
9872
+ }
9873
+ ],
9874
+ args: [
9875
+ {
9876
+ name: "market_cap",
9877
+ type: "u128"
9878
+ },
9879
+ {
9880
+ name: "slippage_bps",
9881
+ type: "u16"
9882
+ }
9883
+ ]
9884
+ },
9885
+ {
9886
+ name: "stop_trading",
9887
+ discriminator: [
9888
+ 127,
9889
+ 176,
9890
+ 106,
9891
+ 59,
9892
+ 242,
9893
+ 122,
9894
+ 114,
9895
+ 111
9896
+ ],
9897
+ accounts: [
9898
+ {
9899
+ name: "admin",
9900
+ writable: true,
9901
+ signer: true,
9902
+ relations: [
9903
+ "global_params"
9904
+ ]
9905
+ },
9906
+ {
9907
+ name: "global_params",
9908
+ writable: true,
9909
+ pda: {
9910
+ seeds: [
9911
+ {
9912
+ kind: "const",
9913
+ value: [
9914
+ 103,
9915
+ 108,
9916
+ 111,
9917
+ 98,
9918
+ 97,
9919
+ 108,
9920
+ 45,
9921
+ 112,
9922
+ 97,
9923
+ 114,
9924
+ 97,
9925
+ 109,
9926
+ 115
9927
+ ]
9928
+ }
9929
+ ]
9930
+ }
9931
+ },
9932
+ {
9933
+ name: "system_program",
9934
+ address: "11111111111111111111111111111111"
9935
+ }
9936
+ ],
9937
+ args: []
9938
+ },
9939
+ {
9940
+ name: "update_admin",
9941
+ discriminator: [
9942
+ 161,
9943
+ 176,
9944
+ 40,
9945
+ 213,
9946
+ 60,
9947
+ 184,
9948
+ 179,
9949
+ 228
9950
+ ],
9951
+ accounts: [
9952
+ {
9953
+ name: "admin",
9954
+ writable: true,
9955
+ signer: true,
9956
+ relations: [
9957
+ "global_params"
9958
+ ]
9959
+ },
9960
+ {
9961
+ name: "global_params",
9962
+ writable: true,
9963
+ pda: {
9964
+ seeds: [
9965
+ {
9966
+ kind: "const",
9967
+ value: [
9968
+ 103,
9969
+ 108,
9970
+ 111,
9971
+ 98,
9972
+ 97,
9973
+ 108,
9974
+ 45,
9975
+ 112,
9976
+ 97,
9977
+ 114,
9978
+ 97,
9979
+ 109,
9980
+ 115
9981
+ ]
9982
+ }
9983
+ ]
9984
+ }
9985
+ },
9986
+ {
9987
+ name: "system_program",
9988
+ address: "11111111111111111111111111111111"
9989
+ }
9990
+ ],
9991
+ args: [
9992
+ {
9993
+ name: "trader",
9994
+ type: "pubkey"
9995
+ }
9996
+ ]
9997
+ },
9998
+ {
9999
+ name: "update_global_params",
10000
+ discriminator: [
10001
+ 146,
10002
+ 36,
10003
+ 222,
10004
+ 108,
10005
+ 89,
10006
+ 226,
10007
+ 249,
10008
+ 126
10009
+ ],
10010
+ accounts: [
10011
+ {
10012
+ name: "admin",
10013
+ writable: true,
10014
+ signer: true,
10015
+ relations: [
10016
+ "global_params"
10017
+ ]
10018
+ },
10019
+ {
10020
+ name: "global_params",
10021
+ writable: true,
10022
+ pda: {
10023
+ seeds: [
10024
+ {
10025
+ kind: "const",
10026
+ value: [
10027
+ 103,
10028
+ 108,
10029
+ 111,
10030
+ 98,
10031
+ 97,
10032
+ 108,
10033
+ 45,
10034
+ 112,
10035
+ 97,
10036
+ 114,
10037
+ 97,
10038
+ 109,
10039
+ 115
10040
+ ]
10041
+ }
10042
+ ]
10043
+ }
10044
+ },
10045
+ {
10046
+ name: "system_program",
10047
+ address: "11111111111111111111111111111111"
10048
+ }
10049
+ ],
10050
+ args: [
10051
+ {
10052
+ name: "sell_discount",
10053
+ type: {
10054
+ option: "u32"
10055
+ }
10056
+ },
10057
+ {
10058
+ name: "buy_discount",
10059
+ type: {
10060
+ option: "u32"
10061
+ }
10062
+ },
10063
+ {
10064
+ name: "max_sol_per_sell",
10065
+ type: {
10066
+ option: "u64"
10067
+ }
10068
+ },
10069
+ {
10070
+ name: "max_sol_per_buy",
10071
+ type: {
10072
+ option: "u64"
10073
+ }
10074
+ },
10075
+ {
10076
+ name: "max_risk_allowed",
10077
+ type: {
10078
+ option: "u64"
10079
+ }
10080
+ },
10081
+ {
10082
+ name: "max_risk_per_coin",
10083
+ type: {
10084
+ option: "u64"
10085
+ }
10086
+ },
10087
+ {
10088
+ name: "duration",
10089
+ type: {
10090
+ option: "u8"
10091
+ }
10092
+ },
10093
+ {
10094
+ name: "trade_rate_limit",
10095
+ type: {
10096
+ option: "i64"
10097
+ }
10098
+ },
10099
+ {
10100
+ name: "withdraw_rate_limit",
10101
+ type: {
10102
+ option: "i64"
10103
+ }
10104
+ },
10105
+ {
10106
+ name: "minimum_sol_reserves",
10107
+ type: {
10108
+ option: "u64"
10109
+ }
10110
+ }
10111
+ ]
10112
+ },
10113
+ {
10114
+ name: "update_trader",
10115
+ discriminator: [
10116
+ 201,
10117
+ 207,
10118
+ 99,
10119
+ 64,
10120
+ 101,
10121
+ 86,
10122
+ 175,
10123
+ 96
10124
+ ],
10125
+ accounts: [
10126
+ {
10127
+ name: "admin",
10128
+ writable: true,
10129
+ signer: true,
10130
+ relations: [
10131
+ "global_params"
10132
+ ]
10133
+ },
10134
+ {
10135
+ name: "global_params",
10136
+ writable: true,
10137
+ pda: {
10138
+ seeds: [
10139
+ {
10140
+ kind: "const",
10141
+ value: [
10142
+ 103,
10143
+ 108,
10144
+ 111,
10145
+ 98,
10146
+ 97,
10147
+ 108,
10148
+ 45,
10149
+ 112,
10150
+ 97,
10151
+ 114,
10152
+ 97,
10153
+ 109,
10154
+ 115
10155
+ ]
10156
+ }
10157
+ ]
10158
+ }
10159
+ },
10160
+ {
10161
+ name: "system_program",
10162
+ address: "11111111111111111111111111111111"
10163
+ }
10164
+ ],
10165
+ args: [
10166
+ {
10167
+ name: "trader",
10168
+ type: "pubkey"
10169
+ }
10170
+ ]
10171
+ },
10172
+ {
10173
+ name: "withdraw_admin",
10174
+ discriminator: [
10175
+ 30,
10176
+ 27,
10177
+ 135,
10178
+ 188,
10179
+ 137,
10180
+ 158,
10181
+ 218,
10182
+ 107
10183
+ ],
10184
+ accounts: [
10185
+ {
10186
+ name: "admin",
10187
+ writable: true,
10188
+ signer: true,
10189
+ relations: [
10190
+ "global_params"
10191
+ ]
10192
+ },
10193
+ {
10194
+ name: "global_params",
10195
+ writable: true,
10196
+ pda: {
10197
+ seeds: [
10198
+ {
10199
+ kind: "const",
10200
+ value: [
10201
+ 103,
10202
+ 108,
10203
+ 111,
10204
+ 98,
10205
+ 97,
10206
+ 108,
10207
+ 45,
10208
+ 112,
10209
+ 97,
10210
+ 114,
10211
+ 97,
10212
+ 109,
10213
+ 115
10214
+ ]
10215
+ }
10216
+ ]
10217
+ }
10218
+ },
10219
+ {
10220
+ name: "sol_vault",
10221
+ writable: true,
10222
+ pda: {
10223
+ seeds: [
10224
+ {
10225
+ kind: "const",
10226
+ value: [
10227
+ 115,
10228
+ 111,
10229
+ 108,
10230
+ 45,
10231
+ 118,
10232
+ 97,
10233
+ 117,
10234
+ 108,
10235
+ 116
10236
+ ]
10237
+ }
10238
+ ]
10239
+ }
10240
+ },
10241
+ {
10242
+ name: "system_program",
10243
+ address: "11111111111111111111111111111111"
10244
+ }
10245
+ ],
10246
+ args: [
10247
+ {
10248
+ name: "amount",
10249
+ type: "u64"
10250
+ }
10251
+ ]
10252
+ }
10253
+ ],
10254
+ accounts: [
10255
+ {
10256
+ name: "BondingCurve",
10257
+ discriminator: [
10258
+ 23,
10259
+ 183,
10260
+ 248,
10261
+ 55,
10262
+ 96,
10263
+ 216,
10264
+ 172,
10265
+ 96
10266
+ ]
10267
+ },
10268
+ {
10269
+ name: "GlobalConfig",
10270
+ discriminator: [
10271
+ 149,
10272
+ 8,
10273
+ 156,
10274
+ 202,
10275
+ 160,
10276
+ 252,
10277
+ 176,
10278
+ 217
10279
+ ]
10280
+ },
10281
+ {
10282
+ name: "GlobalParams",
10283
+ discriminator: [
10284
+ 121,
10285
+ 193,
10286
+ 248,
10287
+ 87,
10288
+ 195,
10289
+ 56,
10290
+ 76,
10291
+ 11
10292
+ ]
10293
+ },
10294
+ {
10295
+ name: "MayhemState",
10296
+ discriminator: [
10297
+ 177,
10298
+ 253,
10299
+ 191,
10300
+ 125,
10301
+ 203,
10302
+ 22,
10303
+ 134,
10304
+ 107
10305
+ ]
10306
+ },
10307
+ {
10308
+ name: "Pool",
10309
+ discriminator: [
10310
+ 241,
10311
+ 154,
10312
+ 109,
10313
+ 4,
10314
+ 17,
10315
+ 177,
10316
+ 109,
10317
+ 188
10318
+ ]
10319
+ }
10320
+ ],
10321
+ events: [
10322
+ {
10323
+ name: "BurnEvent",
10324
+ discriminator: [
10325
+ 33,
10326
+ 89,
10327
+ 47,
10328
+ 117,
10329
+ 82,
10330
+ 124,
10331
+ 238,
10332
+ 250
10333
+ ]
10334
+ },
10335
+ {
10336
+ name: "ExtendAccountEvent",
10337
+ discriminator: [
10338
+ 97,
10339
+ 97,
10340
+ 215,
10341
+ 144,
10342
+ 93,
10343
+ 146,
10344
+ 22,
10345
+ 124
10346
+ ]
10347
+ },
10348
+ {
10349
+ name: "MayhemTradeEvent",
10350
+ discriminator: [
10351
+ 49,
10352
+ 72,
10353
+ 123,
10354
+ 45,
10355
+ 110,
10356
+ 64,
10357
+ 176,
10358
+ 133
10359
+ ]
10360
+ }
10361
+ ],
10362
+ errors: [
10363
+ {
10364
+ code: 6e3,
10365
+ name: "TradingPaused",
10366
+ msg: "Trading is paused"
10367
+ },
10368
+ {
10369
+ code: 6001,
10370
+ name: "TradingActive",
10371
+ msg: "Trading is active"
10372
+ },
10373
+ {
10374
+ code: 6002,
10375
+ name: "MathOverflow",
10376
+ msg: "Math overflow"
10377
+ },
10378
+ {
10379
+ code: 6003,
10380
+ name: "SolReservesTooLow",
10381
+ msg: "Too little sol reserves"
10382
+ },
10383
+ {
10384
+ code: 6004,
10385
+ name: "MayhemModeEnded",
10386
+ msg: "Mayhem mode ended"
10387
+ },
10388
+ {
10389
+ code: 6005,
10390
+ name: "MayhemModeNotEnded",
10391
+ msg: "Mayhem mode not ended"
10392
+ },
10393
+ {
10394
+ code: 6006,
10395
+ name: "OverallRiskExceeded",
10396
+ msg: "Overall risk tolerance exceeded"
10397
+ },
10398
+ {
10399
+ code: 6007,
10400
+ name: "CoinRiskExceeded",
10401
+ msg: "Per coin risk tolerance exceeded"
10402
+ },
10403
+ {
10404
+ code: 6008,
10405
+ name: "PumpCpiFailed",
10406
+ msg: "Pump CPI call failed"
10407
+ },
10408
+ {
10409
+ code: 6009,
10410
+ name: "PumpCpiMathOverflow",
10411
+ msg: "Math Overflow in Pump CPI call"
10412
+ },
10413
+ {
10414
+ code: 6010,
10415
+ name: "PumpSwapCpiFailed",
10416
+ msg: "Pump Swap CPI call failed"
10417
+ },
10418
+ {
10419
+ code: 6011,
10420
+ name: "PumpSwapCpiMathOverflow",
10421
+ msg: "Math Overflow in Pump Swap CPI call"
10422
+ },
10423
+ {
10424
+ code: 6012,
10425
+ name: "PumpCpiSlippage",
10426
+ msg: "Price impact exceeds slippage tolerance in Pump CPI call"
10427
+ },
10428
+ {
10429
+ code: 6013,
10430
+ name: "PumpSwapCpiSlippage",
10431
+ msg: "Price impact exceeds slippage tolerance in Pump Swap CPI call"
10432
+ },
10433
+ {
10434
+ code: 6014,
10435
+ name: "WithdrawRateLimit",
10436
+ msg: "Withdraw Rate limit"
10437
+ },
10438
+ {
10439
+ code: 6015,
10440
+ name: "TradeRateLimit",
10441
+ msg: "Trade Rate limit"
10442
+ },
10443
+ {
10444
+ code: 6016,
10445
+ name: "AccountTypeNotSupported",
10446
+ msg: "Account type not supported"
10447
+ }
10448
+ ],
10449
+ types: [
10450
+ {
10451
+ name: "BondingCurve",
10452
+ type: {
10453
+ kind: "struct",
10454
+ fields: [
10455
+ {
10456
+ name: "virtual_token_reserves",
10457
+ type: "u64"
10458
+ },
10459
+ {
10460
+ name: "virtual_sol_reserves",
10461
+ type: "u64"
10462
+ },
10463
+ {
10464
+ name: "real_token_reserves",
10465
+ type: "u64"
10466
+ },
10467
+ {
10468
+ name: "real_sol_reserves",
10469
+ type: "u64"
10470
+ },
10471
+ {
10472
+ name: "token_total_supply",
10473
+ type: "u64"
10474
+ },
10475
+ {
10476
+ name: "complete",
10477
+ type: "bool"
10478
+ },
10479
+ {
10480
+ name: "creator",
10481
+ type: "pubkey"
10482
+ },
10483
+ {
10484
+ name: "is_mayhem_mode",
10485
+ type: "bool"
10486
+ }
10487
+ ]
10488
+ }
10489
+ },
10490
+ {
10491
+ name: "BurnEvent",
10492
+ type: {
10493
+ kind: "struct",
10494
+ fields: [
10495
+ {
10496
+ name: "amount",
10497
+ type: "u64"
10498
+ },
10499
+ {
10500
+ name: "mint",
10501
+ type: "pubkey"
10502
+ },
10503
+ {
10504
+ name: "mayhem_state",
10505
+ type: "pubkey"
10506
+ },
10507
+ {
10508
+ name: "timestamp",
10509
+ type: "i64"
10510
+ }
10511
+ ]
10512
+ }
10513
+ },
10514
+ {
10515
+ name: "CoinState",
10516
+ type: {
10517
+ kind: "enum",
10518
+ variants: [
10519
+ {
10520
+ name: "INITIALIZED"
10521
+ },
10522
+ {
10523
+ name: "ACTIVE"
10524
+ },
10525
+ {
10526
+ name: "EXPIRED"
10527
+ }
10528
+ ]
10529
+ }
10530
+ },
10531
+ {
10532
+ name: "ExtendAccountEvent",
10533
+ type: {
10534
+ kind: "struct",
10535
+ fields: [
10536
+ {
10537
+ name: "account",
10538
+ type: "pubkey"
10539
+ },
10540
+ {
10541
+ name: "user",
10542
+ type: "pubkey"
10543
+ },
10544
+ {
10545
+ name: "current_size",
10546
+ type: "u64"
10547
+ },
10548
+ {
10549
+ name: "new_size",
10550
+ type: "u64"
10551
+ },
10552
+ {
10553
+ name: "timestamp",
10554
+ type: "i64"
10555
+ }
10556
+ ]
10557
+ }
10558
+ },
10559
+ {
10560
+ name: "GlobalConfig",
10561
+ type: {
10562
+ kind: "struct",
10563
+ fields: [
10564
+ {
10565
+ name: "admin",
10566
+ type: "pubkey"
10567
+ },
10568
+ {
10569
+ name: "lp_fee_basis_points",
10570
+ type: "u64"
10571
+ },
10572
+ {
10573
+ name: "protocol_fee_basis_points",
10574
+ type: "u64"
10575
+ },
10576
+ {
10577
+ name: "disable_flags",
10578
+ type: "u8"
10579
+ },
10580
+ {
10581
+ name: "protocol_fee_recipients",
10582
+ type: {
10583
+ array: [
10584
+ "pubkey",
10585
+ 8
10586
+ ]
10587
+ }
10588
+ },
10589
+ {
10590
+ name: "coin_creator_fee_basis_points",
10591
+ type: "u64"
10592
+ },
10593
+ {
10594
+ name: "admin_set_coin_creator_authority",
10595
+ type: "pubkey"
10596
+ },
10597
+ {
10598
+ name: "whitelist_pda",
10599
+ type: "pubkey"
10600
+ },
10601
+ {
10602
+ name: "reserved_fee_recipient",
10603
+ type: "pubkey"
10604
+ }
10605
+ ]
10606
+ }
10607
+ },
10608
+ {
10609
+ name: "GlobalParams",
10610
+ type: {
10611
+ kind: "struct",
10612
+ fields: [
10613
+ {
10614
+ name: "sell_discount",
10615
+ type: "u32"
10616
+ },
10617
+ {
10618
+ name: "buy_discount",
10619
+ type: "u32"
10620
+ },
10621
+ {
10622
+ name: "max_sol_per_sell",
10623
+ type: "u64"
10624
+ },
10625
+ {
10626
+ name: "max_sol_per_buy",
10627
+ type: "u64"
10628
+ },
10629
+ {
10630
+ name: "max_risk_allowed",
10631
+ type: "u64"
10632
+ },
10633
+ {
10634
+ name: "max_risk_per_coin",
10635
+ type: "u64"
10636
+ },
10637
+ {
10638
+ name: "trading_paused",
10639
+ type: "bool"
10640
+ },
10641
+ {
10642
+ name: "admin",
10643
+ type: "pubkey"
10644
+ },
10645
+ {
10646
+ name: "trader",
10647
+ type: "pubkey"
10648
+ },
10649
+ {
10650
+ name: "total_sol_deployed",
10651
+ type: "i128"
10652
+ },
10653
+ {
10654
+ name: "minimum_sol_reserves",
10655
+ type: "u64"
10656
+ },
10657
+ {
10658
+ name: "duration",
10659
+ type: "u8"
10660
+ },
10661
+ {
10662
+ name: "last_withdraw_timestamp",
10663
+ type: "i64"
10664
+ },
10665
+ {
10666
+ name: "trade_rate_limit",
10667
+ type: "i64"
10668
+ },
10669
+ {
10670
+ name: "withdraw_rate_limit",
10671
+ type: "i64"
10672
+ }
10673
+ ]
10674
+ }
10675
+ },
10676
+ {
10677
+ name: "MayhemState",
10678
+ type: {
10679
+ kind: "struct",
10680
+ fields: [
10681
+ {
10682
+ name: "creation_time",
10683
+ type: "i64"
10684
+ },
10685
+ {
10686
+ name: "expiration_time",
10687
+ type: "i64"
10688
+ },
10689
+ {
10690
+ name: "mint",
10691
+ type: "pubkey"
10692
+ },
10693
+ {
10694
+ name: "sol_deployed",
10695
+ type: "i128"
10696
+ },
10697
+ {
10698
+ name: "tokens_deployed",
10699
+ type: "i128"
10700
+ },
10701
+ {
10702
+ name: "trading_paused",
10703
+ type: "bool"
10704
+ },
10705
+ {
10706
+ name: "last_trade_timestamp",
10707
+ type: "i64"
10708
+ },
10709
+ {
10710
+ name: "coin_state",
10711
+ type: {
10712
+ defined: {
10713
+ name: "CoinState"
10714
+ }
10715
+ }
10716
+ },
10717
+ {
10718
+ name: "amount_burned",
10719
+ type: "u64"
10720
+ }
10721
+ ]
10722
+ }
10723
+ },
10724
+ {
10725
+ name: "MayhemTradeEvent",
10726
+ type: {
10727
+ kind: "struct",
10728
+ fields: [
10729
+ {
10730
+ name: "trade_type",
10731
+ type: {
10732
+ defined: {
10733
+ name: "TradeType"
10734
+ }
10735
+ }
10736
+ },
10737
+ {
10738
+ name: "trader",
10739
+ type: "pubkey"
10740
+ },
10741
+ {
10742
+ name: "mint",
10743
+ type: "pubkey"
10744
+ },
10745
+ {
10746
+ name: "sol_amount",
10747
+ type: "u64"
10748
+ },
10749
+ {
10750
+ name: "token_amount",
10751
+ type: "u64"
10752
+ },
10753
+ {
10754
+ name: "sol_vault_balance",
10755
+ type: "u64"
10756
+ },
10757
+ {
10758
+ name: "token_vault_balance",
10759
+ type: "u64"
10760
+ },
10761
+ {
10762
+ name: "sol_risk",
10763
+ type: "i128"
10764
+ },
10765
+ {
10766
+ name: "token_risk",
10767
+ type: "i128"
10768
+ },
10769
+ {
10770
+ name: "virtual_sol_reserves",
10771
+ type: "u64"
10772
+ },
10773
+ {
10774
+ name: "virtual_token_reserves",
10775
+ type: "u64"
10776
+ },
10777
+ {
10778
+ name: "total_sol_risk",
10779
+ type: "i128"
10780
+ },
10781
+ {
10782
+ name: "timestamp",
10783
+ type: "i64"
10784
+ },
10785
+ {
10786
+ name: "expiration_time",
10787
+ type: "i64"
10788
+ },
10789
+ {
10790
+ name: "real_sol_reserves",
10791
+ type: "u64"
10792
+ },
10793
+ {
10794
+ name: "real_token_reserves",
10795
+ type: "u64"
10796
+ }
10797
+ ]
10798
+ }
10799
+ },
10800
+ {
10801
+ name: "Pool",
10802
+ type: {
10803
+ kind: "struct",
10804
+ fields: [
10805
+ {
10806
+ name: "pool_bump",
10807
+ type: "u8"
10808
+ },
10809
+ {
10810
+ name: "index",
10811
+ type: "u16"
10812
+ },
10813
+ {
10814
+ name: "creator",
10815
+ type: "pubkey"
10816
+ },
10817
+ {
10818
+ name: "base_mint",
10819
+ type: "pubkey"
10820
+ },
10821
+ {
10822
+ name: "quote_mint",
10823
+ type: "pubkey"
10824
+ },
10825
+ {
10826
+ name: "lp_mint",
10827
+ type: "pubkey"
10828
+ },
10829
+ {
10830
+ name: "pool_base_token_account",
10831
+ type: "pubkey"
10832
+ },
10833
+ {
10834
+ name: "pool_quote_token_account",
10835
+ type: "pubkey"
10836
+ },
10837
+ {
10838
+ name: "lp_supply",
10839
+ type: "u64"
10840
+ },
10841
+ {
10842
+ name: "coin_creator",
10843
+ type: "pubkey"
10844
+ },
10845
+ {
10846
+ name: "is_mayhem_mode",
10847
+ type: "bool"
10848
+ }
10849
+ ]
10850
+ }
10851
+ },
10852
+ {
10853
+ name: "TradeType",
10854
+ type: {
10855
+ kind: "enum",
10856
+ variants: [
10857
+ {
10858
+ name: "Buy"
10859
+ },
10860
+ {
10861
+ name: "Sell"
10862
+ }
10863
+ ]
10864
+ }
10865
+ }
10866
+ ]
10867
+ };
10868
+
10869
+ // src/onlineSdk.ts
10870
+ function getMayhemProgram(connection) {
10871
+ return new import_anchor.Program(
10872
+ mayhem_program_default,
10873
+ new import_anchor.AnchorProvider(connection, null, {})
10874
+ );
10875
+ }
10876
+ var OFFLINE_PUMP_PROGRAM = getPumpProgram(null);
10877
+ var OFFLINE_MAYHEM_PROGRAM = getMayhemProgram(null);
10878
+ var OnlinePumpSdk = class {
10879
+ constructor(connection) {
10880
+ this.connection = connection;
10881
+ this.pumpProgram = getPumpProgram(connection);
10882
+ this.offlinePumpProgram = OFFLINE_PUMP_PROGRAM;
10883
+ this.pumpAmmSdk = new import_pump_swap_sdk.OnlinePumpAmmSdk(connection);
10884
+ this.pumpAmmAdminSdk = new import_pump_swap_sdk.PumpAmmAdminSdk(connection);
10885
+ }
10886
+ async fetchGlobal() {
10887
+ return await this.pumpProgram.account.global.fetch(GLOBAL_PDA);
10888
+ }
10889
+ async fetchFeeConfig() {
10890
+ return await this.pumpProgram.account.feeConfig.fetch(PUMP_FEE_CONFIG_PDA);
10891
+ }
10892
+ async fetchBondingCurve(mint) {
10893
+ return await this.pumpProgram.account.bondingCurve.fetch(
10894
+ bondingCurvePda(mint)
10895
+ );
10896
+ }
10897
+ async fetchBuyState(mint, user, tokenProgram = import_spl_token.TOKEN_PROGRAM_ID) {
10898
+ const [bondingCurveAccountInfo, associatedUserAccountInfo] = await this.connection.getMultipleAccountsInfo([
10899
+ bondingCurvePda(mint),
10900
+ (0, import_spl_token.getAssociatedTokenAddressSync)(mint, user, true, tokenProgram)
10901
+ ]);
10902
+ if (!bondingCurveAccountInfo) {
10903
+ throw new Error(
10904
+ `Bonding curve account not found for mint: ${mint.toBase58()}`
10905
+ );
10906
+ }
10907
+ const bondingCurve = PUMP_SDK.decodeBondingCurve(bondingCurveAccountInfo);
10908
+ return { bondingCurveAccountInfo, bondingCurve, associatedUserAccountInfo };
10909
+ }
10910
+ async fetchSellState(mint, user, tokenProgram = import_spl_token.TOKEN_PROGRAM_ID) {
10911
+ const [bondingCurveAccountInfo, associatedUserAccountInfo] = await this.connection.getMultipleAccountsInfo([
10912
+ bondingCurvePda(mint),
10913
+ (0, import_spl_token.getAssociatedTokenAddressSync)(mint, user, true, tokenProgram)
10914
+ ]);
10915
+ if (!bondingCurveAccountInfo) {
10916
+ throw new Error(
10917
+ `Bonding curve account not found for mint: ${mint.toBase58()}`
10918
+ );
10919
+ }
10920
+ if (!associatedUserAccountInfo) {
10921
+ throw new Error(
10922
+ `Associated token account not found for mint: ${mint.toBase58()} and user: ${user.toBase58()}`
10923
+ );
10924
+ }
10925
+ const bondingCurve = PUMP_SDK.decodeBondingCurve(bondingCurveAccountInfo);
10926
+ return { bondingCurveAccountInfo, bondingCurve };
10927
+ }
10928
+ async fetchGlobalVolumeAccumulator() {
10929
+ return await this.pumpProgram.account.globalVolumeAccumulator.fetch(
10930
+ GLOBAL_VOLUME_ACCUMULATOR_PDA
10931
+ );
10932
+ }
10933
+ async fetchUserVolumeAccumulator(user) {
10934
+ return await this.pumpProgram.account.userVolumeAccumulator.fetchNullable(
10935
+ userVolumeAccumulatorPda(user)
10936
+ );
10937
+ }
7569
10938
  async fetchUserVolumeAccumulatorTotalStats(user) {
7570
10939
  const userVolumeAccumulator = await this.fetchUserVolumeAccumulator(
7571
10940
  user
@@ -7779,9 +11148,9 @@ var OnlinePumpSdk = class {
7779
11148
 
7780
11149
  // src/sdk.ts
7781
11150
  function getPumpProgram(connection) {
7782
- return new import_anchor.Program(
11151
+ return new import_anchor2.Program(
7783
11152
  pump_default,
7784
- new import_anchor.AnchorProvider(connection, null, {})
11153
+ new import_anchor2.AnchorProvider(connection, null, {})
7785
11154
  );
7786
11155
  }
7787
11156
  var PUMP_PROGRAM_ID = new import_web34.PublicKey(
@@ -7790,6 +11159,9 @@ var PUMP_PROGRAM_ID = new import_web34.PublicKey(
7790
11159
  var PUMP_AMM_PROGRAM_ID = new import_web34.PublicKey(
7791
11160
  "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"
7792
11161
  );
11162
+ var MAYHEM_PROGRAM_ID = new import_web34.PublicKey(
11163
+ "MAyhSmzXzV1pTf7LsNkrNwkWKTo4ougAJ1PPg47MD4e"
11164
+ );
7793
11165
  var PUMP_FEE_PROGRAM_ID = new import_web34.PublicKey(
7794
11166
  "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"
7795
11167
  );
@@ -7870,12 +11242,18 @@ var PumpSdk = class {
7870
11242
  symbol,
7871
11243
  uri,
7872
11244
  creator,
7873
- user
11245
+ user,
11246
+ mayhemMode
7874
11247
  }) {
7875
- return await this.offlinePumpProgram.methods.createV2(name, symbol, uri, creator).accountsPartial({
11248
+ return await this.offlinePumpProgram.methods.createV2(name, symbol, uri, creator, mayhemMode).accountsPartial({
7876
11249
  mint,
7877
11250
  user,
7878
- tokenProgram: import_spl_token2.TOKEN_2022_PROGRAM_ID
11251
+ tokenProgram: import_spl_token2.TOKEN_2022_PROGRAM_ID,
11252
+ mayhemProgramId: MAYHEM_PROGRAM_ID,
11253
+ globalParams: getGlobalParamsPda(),
11254
+ solVault: getSolVaultPda(),
11255
+ mayhemState: getMayhemStatePda(mint),
11256
+ mayhemTokenVault: getTokenVaultPda(mint)
7879
11257
  }).instruction();
7880
11258
  }
7881
11259
  async buyInstructions({
@@ -7921,7 +11299,8 @@ var PumpSdk = class {
7921
11299
  amount,
7922
11300
  solAmount,
7923
11301
  slippage,
7924
- tokenProgram
11302
+ tokenProgram,
11303
+ mayhemMode: bondingCurve.isMayhemMode
7925
11304
  })
7926
11305
  );
7927
11306
  return instructions;
@@ -7935,11 +11314,12 @@ var PumpSdk = class {
7935
11314
  creator,
7936
11315
  user,
7937
11316
  amount,
7938
- solAmount
11317
+ solAmount,
11318
+ mayhemMode
7939
11319
  }) {
7940
11320
  const associatedUser = (0, import_spl_token2.getAssociatedTokenAddressSync)(mint, user, true, import_spl_token2.TOKEN_2022_PROGRAM_ID);
7941
11321
  return [
7942
- await this.createV2Instruction({ mint, name, symbol, uri, creator, user }),
11322
+ await this.createV2Instruction({ mint, name, symbol, uri, creator, user, mayhemMode }),
7943
11323
  await this.extendAccountInstruction({
7944
11324
  account: bondingCurvePda(mint),
7945
11325
  user
@@ -8012,14 +11392,15 @@ var PumpSdk = class {
8012
11392
  amount,
8013
11393
  solAmount,
8014
11394
  slippage,
8015
- tokenProgram
11395
+ tokenProgram,
11396
+ mayhemMode = false
8016
11397
  }) {
8017
11398
  return await this.getBuyInstructionInternal({
8018
11399
  user,
8019
11400
  associatedUser,
8020
11401
  mint,
8021
11402
  creator,
8022
- feeRecipient: getFeeRecipient(global),
11403
+ feeRecipient: getFeeRecipient(global, mayhemMode),
8023
11404
  amount,
8024
11405
  solAmount: solAmount.add(
8025
11406
  solAmount.mul(new import_bn5.default(Math.floor(slippage * 10))).div(new import_bn5.default(1e3))
@@ -8036,7 +11417,8 @@ var PumpSdk = class {
8036
11417
  amount,
8037
11418
  solAmount,
8038
11419
  slippage,
8039
- tokenProgram = import_spl_token2.TOKEN_PROGRAM_ID
11420
+ tokenProgram = import_spl_token2.TOKEN_PROGRAM_ID,
11421
+ mayhemMode = false
8040
11422
  }) {
8041
11423
  const instructions = [];
8042
11424
  if (bondingCurveAccountInfo.data.length < BONDING_CURVE_NEW_SIZE) {
@@ -8052,7 +11434,7 @@ var PumpSdk = class {
8052
11434
  user,
8053
11435
  mint,
8054
11436
  creator: bondingCurve.creator,
8055
- feeRecipient: getFeeRecipient(global),
11437
+ feeRecipient: getFeeRecipient(global, mayhemMode),
8056
11438
  amount,
8057
11439
  solAmount: solAmount.sub(
8058
11440
  solAmount.mul(new import_bn5.default(Math.floor(slippage * 10))).div(new import_bn5.default(1e3))
@@ -8197,9 +11579,13 @@ var PumpSdk = class {
8197
11579
  }
8198
11580
  };
8199
11581
  var PUMP_SDK = new PumpSdk();
8200
- function getFeeRecipient(global) {
8201
- const feeRecipients = [global.feeRecipient, ...global.feeRecipients];
8202
- return feeRecipients[Math.floor(Math.random() * feeRecipients.length)];
11582
+ function getFeeRecipient(global, mayhemMode) {
11583
+ if (!mayhemMode) {
11584
+ const feeRecipients = [global.feeRecipient, ...global.feeRecipients];
11585
+ return feeRecipients[Math.floor(Math.random() * feeRecipients.length)];
11586
+ } else {
11587
+ return global.reservedFeeRecipient;
11588
+ }
8203
11589
  }
8204
11590
 
8205
11591
  // src/pda.ts
@@ -8236,6 +11622,32 @@ function canonicalPumpPoolPda(mint) {
8236
11622
  function userVolumeAccumulatorPda(user) {
8237
11623
  return (0, import_pump_swap_sdk3.pumpPda)([import_buffer.Buffer.from("user_volume_accumulator"), user.toBuffer()]);
8238
11624
  }
11625
+ var getGlobalParamsPda = () => {
11626
+ return import_web35.PublicKey.findProgramAddressSync(
11627
+ [import_buffer.Buffer.from("global-params")],
11628
+ MAYHEM_PROGRAM_ID
11629
+ )[0];
11630
+ };
11631
+ var getMayhemStatePda = (mint) => {
11632
+ return import_web35.PublicKey.findProgramAddressSync(
11633
+ [import_buffer.Buffer.from("mayhem-state"), mint.toBuffer()],
11634
+ MAYHEM_PROGRAM_ID
11635
+ )[0];
11636
+ };
11637
+ var getSolVaultPda = () => {
11638
+ return import_web35.PublicKey.findProgramAddressSync(
11639
+ [import_buffer.Buffer.from("sol-vault")],
11640
+ MAYHEM_PROGRAM_ID
11641
+ )[0];
11642
+ };
11643
+ var getTokenVaultPda = (mintPubkey) => {
11644
+ return (0, import_spl_token3.getAssociatedTokenAddressSync)(
11645
+ mintPubkey,
11646
+ getSolVaultPda(),
11647
+ true,
11648
+ import_spl_token3.TOKEN_2022_PROGRAM_ID
11649
+ );
11650
+ };
8239
11651
  /*! Bundled license information:
8240
11652
 
8241
11653
  ieee754/index.js: