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

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pump-fun/pump-sdk",
3
- "version": "1.19.0-devnet.1",
3
+ "version": "1.20.0-devnet.1",
4
4
  "description": "Pump Bonding Curve SDK",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/pump-fun/pump-sdk#readme",
package/src/idl/pump.json CHANGED
@@ -498,41 +498,8 @@
498
498
  "path": "bonding_curve"
499
499
  },
500
500
  {
501
- "kind": "const",
502
- "value": [
503
- 6,
504
- 221,
505
- 246,
506
- 225,
507
- 215,
508
- 101,
509
- 161,
510
- 147,
511
- 217,
512
- 203,
513
- 225,
514
- 70,
515
- 206,
516
- 235,
517
- 121,
518
- 172,
519
- 28,
520
- 180,
521
- 133,
522
- 237,
523
- 95,
524
- 91,
525
- 55,
526
- 145,
527
- 58,
528
- 140,
529
- 245,
530
- 133,
531
- 126,
532
- 255,
533
- 0,
534
- 169
535
- ]
501
+ "kind": "account",
502
+ "path": "token_program"
536
503
  },
537
504
  {
538
505
  "kind": "account",
@@ -592,8 +559,7 @@
592
559
  "address": "11111111111111111111111111111111"
593
560
  },
594
561
  {
595
- "name": "token_program",
596
- "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
562
+ "name": "token_program"
597
563
  },
598
564
  {
599
565
  "name": "creator_vault",
@@ -914,41 +880,8 @@
914
880
  "path": "bonding_curve"
915
881
  },
916
882
  {
917
- "kind": "const",
918
- "value": [
919
- 6,
920
- 221,
921
- 246,
922
- 225,
923
- 215,
924
- 101,
925
- 161,
926
- 147,
927
- 217,
928
- 203,
929
- 225,
930
- 70,
931
- 206,
932
- 235,
933
- 121,
934
- 172,
935
- 28,
936
- 180,
937
- 133,
938
- 237,
939
- 95,
940
- 91,
941
- 55,
942
- 145,
943
- 58,
944
- 140,
945
- 245,
946
- 133,
947
- 126,
948
- 255,
949
- 0,
950
- 169
951
- ]
883
+ "kind": "account",
884
+ "path": "token_program"
952
885
  },
953
886
  {
954
887
  "kind": "account",
@@ -1008,8 +941,7 @@
1008
941
  "address": "11111111111111111111111111111111"
1009
942
  },
1010
943
  {
1011
- "name": "token_program",
1012
- "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
944
+ "name": "token_program"
1013
945
  },
1014
946
  {
1015
947
  "name": "creator_vault",
@@ -2015,6 +1947,227 @@
2015
1947
  }
2016
1948
  ]
2017
1949
  },
1950
+ {
1951
+ "name": "create_v2",
1952
+ "docs": [
1953
+ "Creates a new spl-22 coin and bonding curve."
1954
+ ],
1955
+ "discriminator": [
1956
+ 214,
1957
+ 144,
1958
+ 76,
1959
+ 236,
1960
+ 95,
1961
+ 139,
1962
+ 49,
1963
+ 180
1964
+ ],
1965
+ "accounts": [
1966
+ {
1967
+ "name": "mint",
1968
+ "writable": true,
1969
+ "signer": true
1970
+ },
1971
+ {
1972
+ "name": "mint_authority",
1973
+ "pda": {
1974
+ "seeds": [
1975
+ {
1976
+ "kind": "const",
1977
+ "value": [
1978
+ 109,
1979
+ 105,
1980
+ 110,
1981
+ 116,
1982
+ 45,
1983
+ 97,
1984
+ 117,
1985
+ 116,
1986
+ 104,
1987
+ 111,
1988
+ 114,
1989
+ 105,
1990
+ 116,
1991
+ 121
1992
+ ]
1993
+ }
1994
+ ]
1995
+ }
1996
+ },
1997
+ {
1998
+ "name": "bonding_curve",
1999
+ "writable": true,
2000
+ "pda": {
2001
+ "seeds": [
2002
+ {
2003
+ "kind": "const",
2004
+ "value": [
2005
+ 98,
2006
+ 111,
2007
+ 110,
2008
+ 100,
2009
+ 105,
2010
+ 110,
2011
+ 103,
2012
+ 45,
2013
+ 99,
2014
+ 117,
2015
+ 114,
2016
+ 118,
2017
+ 101
2018
+ ]
2019
+ },
2020
+ {
2021
+ "kind": "account",
2022
+ "path": "mint"
2023
+ }
2024
+ ]
2025
+ }
2026
+ },
2027
+ {
2028
+ "name": "associated_bonding_curve",
2029
+ "writable": true,
2030
+ "pda": {
2031
+ "seeds": [
2032
+ {
2033
+ "kind": "account",
2034
+ "path": "bonding_curve"
2035
+ },
2036
+ {
2037
+ "kind": "account",
2038
+ "path": "token_program"
2039
+ },
2040
+ {
2041
+ "kind": "account",
2042
+ "path": "mint"
2043
+ }
2044
+ ],
2045
+ "program": {
2046
+ "kind": "const",
2047
+ "value": [
2048
+ 140,
2049
+ 151,
2050
+ 37,
2051
+ 143,
2052
+ 78,
2053
+ 36,
2054
+ 137,
2055
+ 241,
2056
+ 187,
2057
+ 61,
2058
+ 16,
2059
+ 41,
2060
+ 20,
2061
+ 142,
2062
+ 13,
2063
+ 131,
2064
+ 11,
2065
+ 90,
2066
+ 19,
2067
+ 153,
2068
+ 218,
2069
+ 255,
2070
+ 16,
2071
+ 132,
2072
+ 4,
2073
+ 142,
2074
+ 123,
2075
+ 216,
2076
+ 219,
2077
+ 233,
2078
+ 248,
2079
+ 89
2080
+ ]
2081
+ }
2082
+ }
2083
+ },
2084
+ {
2085
+ "name": "global",
2086
+ "pda": {
2087
+ "seeds": [
2088
+ {
2089
+ "kind": "const",
2090
+ "value": [
2091
+ 103,
2092
+ 108,
2093
+ 111,
2094
+ 98,
2095
+ 97,
2096
+ 108
2097
+ ]
2098
+ }
2099
+ ]
2100
+ }
2101
+ },
2102
+ {
2103
+ "name": "user",
2104
+ "writable": true,
2105
+ "signer": true
2106
+ },
2107
+ {
2108
+ "name": "system_program",
2109
+ "address": "11111111111111111111111111111111"
2110
+ },
2111
+ {
2112
+ "name": "token_program",
2113
+ "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
2114
+ },
2115
+ {
2116
+ "name": "associated_token_program",
2117
+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
2118
+ },
2119
+ {
2120
+ "name": "event_authority",
2121
+ "pda": {
2122
+ "seeds": [
2123
+ {
2124
+ "kind": "const",
2125
+ "value": [
2126
+ 95,
2127
+ 95,
2128
+ 101,
2129
+ 118,
2130
+ 101,
2131
+ 110,
2132
+ 116,
2133
+ 95,
2134
+ 97,
2135
+ 117,
2136
+ 116,
2137
+ 104,
2138
+ 111,
2139
+ 114,
2140
+ 105,
2141
+ 116,
2142
+ 121
2143
+ ]
2144
+ }
2145
+ ]
2146
+ }
2147
+ },
2148
+ {
2149
+ "name": "program"
2150
+ }
2151
+ ],
2152
+ "args": [
2153
+ {
2154
+ "name": "name",
2155
+ "type": "string"
2156
+ },
2157
+ {
2158
+ "name": "symbol",
2159
+ "type": "string"
2160
+ },
2161
+ {
2162
+ "name": "uri",
2163
+ "type": "string"
2164
+ },
2165
+ {
2166
+ "name": "creator",
2167
+ "type": "pubkey"
2168
+ }
2169
+ ]
2170
+ },
2018
2171
  {
2019
2172
  "name": "extend_account",
2020
2173
  "docs": [
@@ -2309,41 +2462,8 @@
2309
2462
  "path": "bonding_curve"
2310
2463
  },
2311
2464
  {
2312
- "kind": "const",
2313
- "value": [
2314
- 6,
2315
- 221,
2316
- 246,
2317
- 225,
2318
- 215,
2319
- 101,
2320
- 161,
2321
- 147,
2322
- 217,
2323
- 203,
2324
- 225,
2325
- 70,
2326
- 206,
2327
- 235,
2328
- 121,
2329
- 172,
2330
- 28,
2331
- 180,
2332
- 133,
2333
- 237,
2334
- 95,
2335
- 91,
2336
- 55,
2337
- 145,
2338
- 58,
2339
- 140,
2340
- 245,
2341
- 133,
2342
- 126,
2343
- 255,
2344
- 0,
2345
- 169
2346
- ]
2465
+ "kind": "account",
2466
+ "path": "mint"
2347
2467
  },
2348
2468
  {
2349
2469
  "kind": "account",
@@ -2487,7 +2607,7 @@
2487
2607
  },
2488
2608
  {
2489
2609
  "kind": "account",
2490
- "path": "token_program"
2610
+ "path": "mint"
2491
2611
  },
2492
2612
  {
2493
2613
  "kind": "account",
@@ -2625,7 +2745,7 @@
2625
2745
  },
2626
2746
  {
2627
2747
  "kind": "account",
2628
- "path": "token_program"
2748
+ "path": "mint"
2629
2749
  },
2630
2750
  {
2631
2751
  "kind": "account",
@@ -2819,41 +2939,8 @@
2819
2939
  "path": "bonding_curve"
2820
2940
  },
2821
2941
  {
2822
- "kind": "const",
2823
- "value": [
2824
- 6,
2825
- 221,
2826
- 246,
2827
- 225,
2828
- 215,
2829
- 101,
2830
- 161,
2831
- 147,
2832
- 217,
2833
- 203,
2834
- 225,
2835
- 70,
2836
- 206,
2837
- 235,
2838
- 121,
2839
- 172,
2840
- 28,
2841
- 180,
2842
- 133,
2843
- 237,
2844
- 95,
2845
- 91,
2846
- 55,
2847
- 145,
2848
- 58,
2849
- 140,
2850
- 245,
2851
- 133,
2852
- 126,
2853
- 255,
2854
- 0,
2855
- 169
2856
- ]
2942
+ "kind": "account",
2943
+ "path": "token_program"
2857
2944
  },
2858
2945
  {
2859
2946
  "kind": "account",
@@ -2944,8 +3031,7 @@
2944
3031
  }
2945
3032
  },
2946
3033
  {
2947
- "name": "token_program",
2948
- "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
3034
+ "name": "token_program"
2949
3035
  },
2950
3036
  {
2951
3037
  "name": "event_authority",
@@ -3704,6 +3790,86 @@
3704
3790
  ],
3705
3791
  "args": []
3706
3792
  },
3793
+ {
3794
+ "name": "toggle_create_v2",
3795
+ "discriminator": [
3796
+ 28,
3797
+ 255,
3798
+ 230,
3799
+ 240,
3800
+ 172,
3801
+ 107,
3802
+ 203,
3803
+ 171
3804
+ ],
3805
+ "accounts": [
3806
+ {
3807
+ "name": "global",
3808
+ "writable": true,
3809
+ "pda": {
3810
+ "seeds": [
3811
+ {
3812
+ "kind": "const",
3813
+ "value": [
3814
+ 103,
3815
+ 108,
3816
+ 111,
3817
+ 98,
3818
+ 97,
3819
+ 108
3820
+ ]
3821
+ }
3822
+ ]
3823
+ }
3824
+ },
3825
+ {
3826
+ "name": "authority",
3827
+ "writable": true,
3828
+ "signer": true,
3829
+ "relations": [
3830
+ "global"
3831
+ ]
3832
+ },
3833
+ {
3834
+ "name": "event_authority",
3835
+ "pda": {
3836
+ "seeds": [
3837
+ {
3838
+ "kind": "const",
3839
+ "value": [
3840
+ 95,
3841
+ 95,
3842
+ 101,
3843
+ 118,
3844
+ 101,
3845
+ 110,
3846
+ 116,
3847
+ 95,
3848
+ 97,
3849
+ 117,
3850
+ 116,
3851
+ 104,
3852
+ 111,
3853
+ 114,
3854
+ 105,
3855
+ 116,
3856
+ 121
3857
+ ]
3858
+ }
3859
+ ]
3860
+ }
3861
+ },
3862
+ {
3863
+ "name": "program"
3864
+ }
3865
+ ],
3866
+ "args": [
3867
+ {
3868
+ "name": "enabled",
3869
+ "type": "bool"
3870
+ }
3871
+ ]
3872
+ },
3707
3873
  {
3708
3874
  "name": "update_global_authority",
3709
3875
  "discriminator": [
@@ -4278,6 +4444,22 @@
4278
4444
  "code": 6042,
4279
4445
  "name": "BuySlippageBelowMinTokensOut",
4280
4446
  "msg": "Slippage: Would buy less tokens than expected min_tokens_out"
4447
+ },
4448
+ {
4449
+ "code": 6043,
4450
+ "name": "NameTooLong"
4451
+ },
4452
+ {
4453
+ "code": 6044,
4454
+ "name": "SymbolTooLong"
4455
+ },
4456
+ {
4457
+ "code": 6045,
4458
+ "name": "UriTooLong"
4459
+ },
4460
+ {
4461
+ "code": 6046,
4462
+ "name": "CreateV2Disabled"
4281
4463
  }
4282
4464
  ],
4283
4465
  "types": [
@@ -4597,6 +4779,10 @@
4597
4779
  {
4598
4780
  "name": "token_total_supply",
4599
4781
  "type": "u64"
4782
+ },
4783
+ {
4784
+ "name": "token_program",
4785
+ "type": "pubkey"
4600
4786
  }
4601
4787
  ]
4602
4788
  }
@@ -4778,6 +4964,10 @@
4778
4964
  {
4779
4965
  "name": "admin_set_creator_authority",
4780
4966
  "type": "pubkey"
4967
+ },
4968
+ {
4969
+ "name": "create_v2_enabled",
4970
+ "type": "bool"
4781
4971
  }
4782
4972
  ]
4783
4973
  }