@pump-fun/pump-sdk 1.20.0-devnet.2 → 1.20.0-devnet.3
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/esm/index.js +96 -3244
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +76 -3224
- package/package.json +1 -1
- package/src/onlineSdk.ts +0 -10
- package/src/sdk.ts +1 -1
- package/src/idl/mayhem_program.json +0 -3138
- package/src/idl/mayhem_program.ts +0 -3144
package/package.json
CHANGED
package/src/onlineSdk.ts
CHANGED
|
@@ -39,18 +39,8 @@ import {
|
|
|
39
39
|
} from "./state";
|
|
40
40
|
import { currentDayTokens, totalUnclaimedTokens } from "./tokenIncentives";
|
|
41
41
|
import { getPumpProgram, PUMP_SDK, PUMP_TOKEN_MINT } from "./sdk";
|
|
42
|
-
import { MayhemProgram } from "./idl/mayhem_program";
|
|
43
|
-
import mayhemIdl from "./idl/mayhem_program.json";
|
|
44
|
-
|
|
45
|
-
function getMayhemProgram(connection: Connection): Program<MayhemProgram> {
|
|
46
|
-
return new Program(
|
|
47
|
-
mayhemIdl as MayhemProgram,
|
|
48
|
-
new AnchorProvider(connection, null as any, {}),
|
|
49
|
-
);
|
|
50
|
-
}
|
|
51
42
|
|
|
52
43
|
export const OFFLINE_PUMP_PROGRAM = getPumpProgram(null as any as Connection);
|
|
53
|
-
export const OFFLINE_MAYHEM_PROGRAM = getMayhemProgram(null as any as Connection);
|
|
54
44
|
|
|
55
45
|
export class OnlinePumpSdk {
|
|
56
46
|
private readonly connection: Connection;
|
package/src/sdk.ts
CHANGED
|
@@ -50,7 +50,7 @@ export const PUMP_FEE_PROGRAM_ID = new PublicKey(
|
|
|
50
50
|
"pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ",
|
|
51
51
|
);
|
|
52
52
|
|
|
53
|
-
export const BONDING_CURVE_NEW_SIZE =
|
|
53
|
+
export const BONDING_CURVE_NEW_SIZE = 151;
|
|
54
54
|
|
|
55
55
|
export const PUMP_TOKEN_MINT = new PublicKey(
|
|
56
56
|
"pumpCmXqMfrsAkQ5r49WcJnRayYRqmXz6ae8H7H9Dfn",
|