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

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.d.ts CHANGED
@@ -2130,18 +2130,194 @@ type Pump = {
2130
2130
  {
2131
2131
  "name": "mayhemProgramId";
2132
2132
  "writable": true;
2133
+ "address": "MAyhSmzXzV1pTf7LsNkrNwkWKTo4ougAJ1PPg47MD4e";
2133
2134
  },
2134
2135
  {
2135
2136
  "name": "globalParams";
2136
- "writable": true;
2137
+ "pda": {
2138
+ "seeds": [
2139
+ {
2140
+ "kind": "const";
2141
+ "value": [
2142
+ 103,
2143
+ 108,
2144
+ 111,
2145
+ 98,
2146
+ 97,
2147
+ 108,
2148
+ 45,
2149
+ 112,
2150
+ 97,
2151
+ 114,
2152
+ 97,
2153
+ 109,
2154
+ 115
2155
+ ];
2156
+ }
2157
+ ];
2158
+ "program": {
2159
+ "kind": "const";
2160
+ "value": [
2161
+ 5,
2162
+ 42,
2163
+ 229,
2164
+ 215,
2165
+ 167,
2166
+ 218,
2167
+ 167,
2168
+ 36,
2169
+ 166,
2170
+ 234,
2171
+ 176,
2172
+ 167,
2173
+ 41,
2174
+ 84,
2175
+ 145,
2176
+ 133,
2177
+ 90,
2178
+ 212,
2179
+ 160,
2180
+ 103,
2181
+ 22,
2182
+ 96,
2183
+ 103,
2184
+ 76,
2185
+ 78,
2186
+ 3,
2187
+ 69,
2188
+ 89,
2189
+ 128,
2190
+ 61,
2191
+ 101,
2192
+ 163
2193
+ ];
2194
+ };
2195
+ };
2137
2196
  },
2138
2197
  {
2139
2198
  "name": "solVault";
2140
2199
  "writable": true;
2200
+ "pda": {
2201
+ "seeds": [
2202
+ {
2203
+ "kind": "const";
2204
+ "value": [
2205
+ 115,
2206
+ 111,
2207
+ 108,
2208
+ 45,
2209
+ 118,
2210
+ 97,
2211
+ 117,
2212
+ 108,
2213
+ 116
2214
+ ];
2215
+ }
2216
+ ];
2217
+ "program": {
2218
+ "kind": "const";
2219
+ "value": [
2220
+ 5,
2221
+ 42,
2222
+ 229,
2223
+ 215,
2224
+ 167,
2225
+ 218,
2226
+ 167,
2227
+ 36,
2228
+ 166,
2229
+ 234,
2230
+ 176,
2231
+ 167,
2232
+ 41,
2233
+ 84,
2234
+ 145,
2235
+ 133,
2236
+ 90,
2237
+ 212,
2238
+ 160,
2239
+ 103,
2240
+ 22,
2241
+ 96,
2242
+ 103,
2243
+ 76,
2244
+ 78,
2245
+ 3,
2246
+ 69,
2247
+ 89,
2248
+ 128,
2249
+ 61,
2250
+ 101,
2251
+ 163
2252
+ ];
2253
+ };
2254
+ };
2141
2255
  },
2142
2256
  {
2143
2257
  "name": "mayhemState";
2144
2258
  "writable": true;
2259
+ "pda": {
2260
+ "seeds": [
2261
+ {
2262
+ "kind": "const";
2263
+ "value": [
2264
+ 109,
2265
+ 97,
2266
+ 121,
2267
+ 104,
2268
+ 101,
2269
+ 109,
2270
+ 45,
2271
+ 115,
2272
+ 116,
2273
+ 97,
2274
+ 116,
2275
+ 101
2276
+ ];
2277
+ },
2278
+ {
2279
+ "kind": "account";
2280
+ "path": "mint";
2281
+ }
2282
+ ];
2283
+ "program": {
2284
+ "kind": "const";
2285
+ "value": [
2286
+ 5,
2287
+ 42,
2288
+ 229,
2289
+ 215,
2290
+ 167,
2291
+ 218,
2292
+ 167,
2293
+ 36,
2294
+ 166,
2295
+ 234,
2296
+ 176,
2297
+ 167,
2298
+ 41,
2299
+ 84,
2300
+ 145,
2301
+ 133,
2302
+ 90,
2303
+ 212,
2304
+ 160,
2305
+ 103,
2306
+ 22,
2307
+ 96,
2308
+ 103,
2309
+ 76,
2310
+ 78,
2311
+ 3,
2312
+ 69,
2313
+ 89,
2314
+ 128,
2315
+ 61,
2316
+ 101,
2317
+ 163
2318
+ ];
2319
+ };
2320
+ };
2145
2321
  },
2146
2322
  {
2147
2323
  "name": "mayhemTokenVault";
@@ -4782,10 +4958,6 @@ type Pump = {
4782
4958
  {
4783
4959
  "name": "creator";
4784
4960
  "type": "pubkey";
4785
- },
4786
- {
4787
- "name": "isMayhemMode";
4788
- "type": "bool";
4789
4961
  }
4790
4962
  ];
4791
4963
  };
@@ -7700,19 +7872,195 @@ var instructions = [
7700
7872
  },
7701
7873
  {
7702
7874
  name: "mayhem_program_id",
7703
- writable: true
7875
+ writable: true,
7876
+ address: "MAyhSmzXzV1pTf7LsNkrNwkWKTo4ougAJ1PPg47MD4e"
7704
7877
  },
7705
7878
  {
7706
7879
  name: "global_params",
7707
- writable: true
7880
+ pda: {
7881
+ seeds: [
7882
+ {
7883
+ kind: "const",
7884
+ value: [
7885
+ 103,
7886
+ 108,
7887
+ 111,
7888
+ 98,
7889
+ 97,
7890
+ 108,
7891
+ 45,
7892
+ 112,
7893
+ 97,
7894
+ 114,
7895
+ 97,
7896
+ 109,
7897
+ 115
7898
+ ]
7899
+ }
7900
+ ],
7901
+ program: {
7902
+ kind: "const",
7903
+ value: [
7904
+ 5,
7905
+ 42,
7906
+ 229,
7907
+ 215,
7908
+ 167,
7909
+ 218,
7910
+ 167,
7911
+ 36,
7912
+ 166,
7913
+ 234,
7914
+ 176,
7915
+ 167,
7916
+ 41,
7917
+ 84,
7918
+ 145,
7919
+ 133,
7920
+ 90,
7921
+ 212,
7922
+ 160,
7923
+ 103,
7924
+ 22,
7925
+ 96,
7926
+ 103,
7927
+ 76,
7928
+ 78,
7929
+ 3,
7930
+ 69,
7931
+ 89,
7932
+ 128,
7933
+ 61,
7934
+ 101,
7935
+ 163
7936
+ ]
7937
+ }
7938
+ }
7708
7939
  },
7709
7940
  {
7710
7941
  name: "sol_vault",
7711
- writable: true
7942
+ writable: true,
7943
+ pda: {
7944
+ seeds: [
7945
+ {
7946
+ kind: "const",
7947
+ value: [
7948
+ 115,
7949
+ 111,
7950
+ 108,
7951
+ 45,
7952
+ 118,
7953
+ 97,
7954
+ 117,
7955
+ 108,
7956
+ 116
7957
+ ]
7958
+ }
7959
+ ],
7960
+ program: {
7961
+ kind: "const",
7962
+ value: [
7963
+ 5,
7964
+ 42,
7965
+ 229,
7966
+ 215,
7967
+ 167,
7968
+ 218,
7969
+ 167,
7970
+ 36,
7971
+ 166,
7972
+ 234,
7973
+ 176,
7974
+ 167,
7975
+ 41,
7976
+ 84,
7977
+ 145,
7978
+ 133,
7979
+ 90,
7980
+ 212,
7981
+ 160,
7982
+ 103,
7983
+ 22,
7984
+ 96,
7985
+ 103,
7986
+ 76,
7987
+ 78,
7988
+ 3,
7989
+ 69,
7990
+ 89,
7991
+ 128,
7992
+ 61,
7993
+ 101,
7994
+ 163
7995
+ ]
7996
+ }
7997
+ }
7712
7998
  },
7713
7999
  {
7714
8000
  name: "mayhem_state",
7715
- writable: true
8001
+ writable: true,
8002
+ pda: {
8003
+ seeds: [
8004
+ {
8005
+ kind: "const",
8006
+ value: [
8007
+ 109,
8008
+ 97,
8009
+ 121,
8010
+ 104,
8011
+ 101,
8012
+ 109,
8013
+ 45,
8014
+ 115,
8015
+ 116,
8016
+ 97,
8017
+ 116,
8018
+ 101
8019
+ ]
8020
+ },
8021
+ {
8022
+ kind: "account",
8023
+ path: "mint"
8024
+ }
8025
+ ],
8026
+ program: {
8027
+ kind: "const",
8028
+ value: [
8029
+ 5,
8030
+ 42,
8031
+ 229,
8032
+ 215,
8033
+ 167,
8034
+ 218,
8035
+ 167,
8036
+ 36,
8037
+ 166,
8038
+ 234,
8039
+ 176,
8040
+ 167,
8041
+ 41,
8042
+ 84,
8043
+ 145,
8044
+ 133,
8045
+ 90,
8046
+ 212,
8047
+ 160,
8048
+ 103,
8049
+ 22,
8050
+ 96,
8051
+ 103,
8052
+ 76,
8053
+ 78,
8054
+ 3,
8055
+ 69,
8056
+ 89,
8057
+ 128,
8058
+ 61,
8059
+ 101,
8060
+ 163
8061
+ ]
8062
+ }
8063
+ }
7716
8064
  },
7717
8065
  {
7718
8066
  name: "mayhem_token_vault",
@@ -10360,10 +10708,6 @@ var types = [
10360
10708
  {
10361
10709
  name: "creator",
10362
10710
  type: "pubkey"
10363
- },
10364
- {
10365
- name: "is_mayhem_mode",
10366
- type: "bool"
10367
10711
  }
10368
10712
  ]
10369
10713
  }
@@ -11192,7 +11536,6 @@ interface BondingCurve {
11192
11536
  tokenTotalSupply: BN;
11193
11537
  complete: boolean;
11194
11538
  creator: PublicKey;
11195
- isMayhemMode: boolean;
11196
11539
  }
11197
11540
  interface GlobalVolumeAccumulator {
11198
11541
  startTime: BN;
@@ -11275,7 +11618,7 @@ declare const getTokenVaultPda: (mintPubkey: PublicKey) => PublicKey;
11275
11618
  declare function getPumpProgram(connection: Connection): Program<Pump>;
11276
11619
  declare const PUMP_PROGRAM_ID: PublicKey;
11277
11620
  declare const PUMP_AMM_PROGRAM_ID: PublicKey;
11278
- declare const BONDING_CURVE_NEW_SIZE = 150;
11621
+ declare const BONDING_CURVE_NEW_SIZE = 151;
11279
11622
  declare class PumpSdk {
11280
11623
  private readonly offlinePumpProgram;
11281
11624
  constructor();