@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/dist/esm/index.js +460 -185
- package/dist/index.d.mts +1025 -615
- package/dist/index.d.ts +1025 -615
- package/dist/index.js +457 -184
- package/package.json +1 -1
- package/src/idl/pump.json +338 -148
- package/src/idl/pump.ts +338 -148
- package/src/onlineSdk.ts +4 -4
- package/src/sdk.ts +121 -4
package/dist/index.d.ts
CHANGED
|
@@ -509,41 +509,8 @@ type Pump = {
|
|
|
509
509
|
"path": "bondingCurve";
|
|
510
510
|
},
|
|
511
511
|
{
|
|
512
|
-
"kind": "
|
|
513
|
-
"
|
|
514
|
-
6,
|
|
515
|
-
221,
|
|
516
|
-
246,
|
|
517
|
-
225,
|
|
518
|
-
215,
|
|
519
|
-
101,
|
|
520
|
-
161,
|
|
521
|
-
147,
|
|
522
|
-
217,
|
|
523
|
-
203,
|
|
524
|
-
225,
|
|
525
|
-
70,
|
|
526
|
-
206,
|
|
527
|
-
235,
|
|
528
|
-
121,
|
|
529
|
-
172,
|
|
530
|
-
28,
|
|
531
|
-
180,
|
|
532
|
-
133,
|
|
533
|
-
237,
|
|
534
|
-
95,
|
|
535
|
-
91,
|
|
536
|
-
55,
|
|
537
|
-
145,
|
|
538
|
-
58,
|
|
539
|
-
140,
|
|
540
|
-
245,
|
|
541
|
-
133,
|
|
542
|
-
126,
|
|
543
|
-
255,
|
|
544
|
-
0,
|
|
545
|
-
169
|
|
546
|
-
];
|
|
512
|
+
"kind": "account";
|
|
513
|
+
"path": "tokenProgram";
|
|
547
514
|
},
|
|
548
515
|
{
|
|
549
516
|
"kind": "account";
|
|
@@ -604,7 +571,6 @@ type Pump = {
|
|
|
604
571
|
},
|
|
605
572
|
{
|
|
606
573
|
"name": "tokenProgram";
|
|
607
|
-
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
608
574
|
},
|
|
609
575
|
{
|
|
610
576
|
"name": "creatorVault";
|
|
@@ -925,41 +891,8 @@ type Pump = {
|
|
|
925
891
|
"path": "bondingCurve";
|
|
926
892
|
},
|
|
927
893
|
{
|
|
928
|
-
"kind": "
|
|
929
|
-
"
|
|
930
|
-
6,
|
|
931
|
-
221,
|
|
932
|
-
246,
|
|
933
|
-
225,
|
|
934
|
-
215,
|
|
935
|
-
101,
|
|
936
|
-
161,
|
|
937
|
-
147,
|
|
938
|
-
217,
|
|
939
|
-
203,
|
|
940
|
-
225,
|
|
941
|
-
70,
|
|
942
|
-
206,
|
|
943
|
-
235,
|
|
944
|
-
121,
|
|
945
|
-
172,
|
|
946
|
-
28,
|
|
947
|
-
180,
|
|
948
|
-
133,
|
|
949
|
-
237,
|
|
950
|
-
95,
|
|
951
|
-
91,
|
|
952
|
-
55,
|
|
953
|
-
145,
|
|
954
|
-
58,
|
|
955
|
-
140,
|
|
956
|
-
245,
|
|
957
|
-
133,
|
|
958
|
-
126,
|
|
959
|
-
255,
|
|
960
|
-
0,
|
|
961
|
-
169
|
|
962
|
-
];
|
|
894
|
+
"kind": "account";
|
|
895
|
+
"path": "tokenProgram";
|
|
963
896
|
},
|
|
964
897
|
{
|
|
965
898
|
"kind": "account";
|
|
@@ -1020,7 +953,6 @@ type Pump = {
|
|
|
1020
953
|
},
|
|
1021
954
|
{
|
|
1022
955
|
"name": "tokenProgram";
|
|
1023
|
-
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
1024
956
|
},
|
|
1025
957
|
{
|
|
1026
958
|
"name": "creatorVault";
|
|
@@ -2027,48 +1959,38 @@ type Pump = {
|
|
|
2027
1959
|
];
|
|
2028
1960
|
},
|
|
2029
1961
|
{
|
|
2030
|
-
"name": "
|
|
1962
|
+
"name": "createV2";
|
|
2031
1963
|
"docs": [
|
|
2032
|
-
"
|
|
1964
|
+
"Creates a new spl-22 coin and bonding curve."
|
|
2033
1965
|
];
|
|
2034
1966
|
"discriminator": [
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
1967
|
+
214,
|
|
1968
|
+
144,
|
|
1969
|
+
76,
|
|
1970
|
+
236,
|
|
1971
|
+
95,
|
|
1972
|
+
139,
|
|
1973
|
+
49,
|
|
1974
|
+
180
|
|
2043
1975
|
];
|
|
2044
1976
|
"accounts": [
|
|
2045
1977
|
{
|
|
2046
|
-
"name": "
|
|
1978
|
+
"name": "mint";
|
|
2047
1979
|
"writable": true;
|
|
2048
|
-
},
|
|
2049
|
-
{
|
|
2050
|
-
"name": "user";
|
|
2051
1980
|
"signer": true;
|
|
2052
1981
|
},
|
|
2053
1982
|
{
|
|
2054
|
-
"name": "
|
|
2055
|
-
"address": "11111111111111111111111111111111";
|
|
2056
|
-
},
|
|
2057
|
-
{
|
|
2058
|
-
"name": "eventAuthority";
|
|
1983
|
+
"name": "mintAuthority";
|
|
2059
1984
|
"pda": {
|
|
2060
1985
|
"seeds": [
|
|
2061
1986
|
{
|
|
2062
1987
|
"kind": "const";
|
|
2063
1988
|
"value": [
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
101,
|
|
2067
|
-
118,
|
|
2068
|
-
101,
|
|
1989
|
+
109,
|
|
1990
|
+
105,
|
|
2069
1991
|
110,
|
|
2070
1992
|
116,
|
|
2071
|
-
|
|
1993
|
+
45,
|
|
2072
1994
|
97,
|
|
2073
1995
|
117,
|
|
2074
1996
|
116,
|
|
@@ -2084,110 +2006,341 @@ type Pump = {
|
|
|
2084
2006
|
};
|
|
2085
2007
|
},
|
|
2086
2008
|
{
|
|
2087
|
-
"name": "
|
|
2088
|
-
}
|
|
2089
|
-
];
|
|
2090
|
-
"args": [];
|
|
2091
|
-
},
|
|
2092
|
-
{
|
|
2093
|
-
"name": "initUserVolumeAccumulator";
|
|
2094
|
-
"discriminator": [
|
|
2095
|
-
94,
|
|
2096
|
-
6,
|
|
2097
|
-
202,
|
|
2098
|
-
115,
|
|
2099
|
-
255,
|
|
2100
|
-
96,
|
|
2101
|
-
232,
|
|
2102
|
-
183
|
|
2103
|
-
];
|
|
2104
|
-
"accounts": [
|
|
2105
|
-
{
|
|
2106
|
-
"name": "payer";
|
|
2107
|
-
"writable": true;
|
|
2108
|
-
"signer": true;
|
|
2109
|
-
},
|
|
2110
|
-
{
|
|
2111
|
-
"name": "user";
|
|
2112
|
-
},
|
|
2113
|
-
{
|
|
2114
|
-
"name": "userVolumeAccumulator";
|
|
2009
|
+
"name": "bondingCurve";
|
|
2115
2010
|
"writable": true;
|
|
2116
2011
|
"pda": {
|
|
2117
2012
|
"seeds": [
|
|
2118
2013
|
{
|
|
2119
2014
|
"kind": "const";
|
|
2120
2015
|
"value": [
|
|
2121
|
-
|
|
2122
|
-
115,
|
|
2123
|
-
101,
|
|
2124
|
-
114,
|
|
2125
|
-
95,
|
|
2126
|
-
118,
|
|
2016
|
+
98,
|
|
2127
2017
|
111,
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
99,
|
|
2018
|
+
110,
|
|
2019
|
+
100,
|
|
2020
|
+
105,
|
|
2021
|
+
110,
|
|
2022
|
+
103,
|
|
2023
|
+
45,
|
|
2135
2024
|
99,
|
|
2136
2025
|
117,
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
97,
|
|
2141
|
-
116,
|
|
2142
|
-
111,
|
|
2143
|
-
114
|
|
2026
|
+
114,
|
|
2027
|
+
118,
|
|
2028
|
+
101
|
|
2144
2029
|
];
|
|
2145
2030
|
},
|
|
2146
2031
|
{
|
|
2147
2032
|
"kind": "account";
|
|
2148
|
-
"path": "
|
|
2033
|
+
"path": "mint";
|
|
2149
2034
|
}
|
|
2150
2035
|
];
|
|
2151
2036
|
};
|
|
2152
2037
|
},
|
|
2153
2038
|
{
|
|
2154
|
-
"name": "
|
|
2155
|
-
"
|
|
2039
|
+
"name": "associatedBondingCurve";
|
|
2040
|
+
"writable": true;
|
|
2041
|
+
"pda": {
|
|
2042
|
+
"seeds": [
|
|
2043
|
+
{
|
|
2044
|
+
"kind": "account";
|
|
2045
|
+
"path": "bondingCurve";
|
|
2046
|
+
},
|
|
2047
|
+
{
|
|
2048
|
+
"kind": "account";
|
|
2049
|
+
"path": "tokenProgram";
|
|
2050
|
+
},
|
|
2051
|
+
{
|
|
2052
|
+
"kind": "account";
|
|
2053
|
+
"path": "mint";
|
|
2054
|
+
}
|
|
2055
|
+
];
|
|
2056
|
+
"program": {
|
|
2057
|
+
"kind": "const";
|
|
2058
|
+
"value": [
|
|
2059
|
+
140,
|
|
2060
|
+
151,
|
|
2061
|
+
37,
|
|
2062
|
+
143,
|
|
2063
|
+
78,
|
|
2064
|
+
36,
|
|
2065
|
+
137,
|
|
2066
|
+
241,
|
|
2067
|
+
187,
|
|
2068
|
+
61,
|
|
2069
|
+
16,
|
|
2070
|
+
41,
|
|
2071
|
+
20,
|
|
2072
|
+
142,
|
|
2073
|
+
13,
|
|
2074
|
+
131,
|
|
2075
|
+
11,
|
|
2076
|
+
90,
|
|
2077
|
+
19,
|
|
2078
|
+
153,
|
|
2079
|
+
218,
|
|
2080
|
+
255,
|
|
2081
|
+
16,
|
|
2082
|
+
132,
|
|
2083
|
+
4,
|
|
2084
|
+
142,
|
|
2085
|
+
123,
|
|
2086
|
+
216,
|
|
2087
|
+
219,
|
|
2088
|
+
233,
|
|
2089
|
+
248,
|
|
2090
|
+
89
|
|
2091
|
+
];
|
|
2092
|
+
};
|
|
2093
|
+
};
|
|
2156
2094
|
},
|
|
2157
2095
|
{
|
|
2158
|
-
"name": "
|
|
2096
|
+
"name": "global";
|
|
2159
2097
|
"pda": {
|
|
2160
2098
|
"seeds": [
|
|
2161
2099
|
{
|
|
2162
2100
|
"kind": "const";
|
|
2163
2101
|
"value": [
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
101,
|
|
2167
|
-
118,
|
|
2168
|
-
101,
|
|
2169
|
-
110,
|
|
2170
|
-
116,
|
|
2171
|
-
95,
|
|
2172
|
-
97,
|
|
2173
|
-
117,
|
|
2174
|
-
116,
|
|
2175
|
-
104,
|
|
2102
|
+
103,
|
|
2103
|
+
108,
|
|
2176
2104
|
111,
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
121
|
|
2105
|
+
98,
|
|
2106
|
+
97,
|
|
2107
|
+
108
|
|
2181
2108
|
];
|
|
2182
2109
|
}
|
|
2183
2110
|
];
|
|
2184
2111
|
};
|
|
2185
2112
|
},
|
|
2186
2113
|
{
|
|
2187
|
-
"name": "
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2114
|
+
"name": "user";
|
|
2115
|
+
"writable": true;
|
|
2116
|
+
"signer": true;
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
"name": "systemProgram";
|
|
2120
|
+
"address": "11111111111111111111111111111111";
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
"name": "tokenProgram";
|
|
2124
|
+
"address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb";
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
"name": "associatedTokenProgram";
|
|
2128
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
|
|
2129
|
+
},
|
|
2130
|
+
{
|
|
2131
|
+
"name": "eventAuthority";
|
|
2132
|
+
"pda": {
|
|
2133
|
+
"seeds": [
|
|
2134
|
+
{
|
|
2135
|
+
"kind": "const";
|
|
2136
|
+
"value": [
|
|
2137
|
+
95,
|
|
2138
|
+
95,
|
|
2139
|
+
101,
|
|
2140
|
+
118,
|
|
2141
|
+
101,
|
|
2142
|
+
110,
|
|
2143
|
+
116,
|
|
2144
|
+
95,
|
|
2145
|
+
97,
|
|
2146
|
+
117,
|
|
2147
|
+
116,
|
|
2148
|
+
104,
|
|
2149
|
+
111,
|
|
2150
|
+
114,
|
|
2151
|
+
105,
|
|
2152
|
+
116,
|
|
2153
|
+
121
|
|
2154
|
+
];
|
|
2155
|
+
}
|
|
2156
|
+
];
|
|
2157
|
+
};
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
"name": "program";
|
|
2161
|
+
}
|
|
2162
|
+
];
|
|
2163
|
+
"args": [
|
|
2164
|
+
{
|
|
2165
|
+
"name": "name";
|
|
2166
|
+
"type": "string";
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
"name": "symbol";
|
|
2170
|
+
"type": "string";
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
"name": "uri";
|
|
2174
|
+
"type": "string";
|
|
2175
|
+
},
|
|
2176
|
+
{
|
|
2177
|
+
"name": "creator";
|
|
2178
|
+
"type": "pubkey";
|
|
2179
|
+
}
|
|
2180
|
+
];
|
|
2181
|
+
},
|
|
2182
|
+
{
|
|
2183
|
+
"name": "extendAccount";
|
|
2184
|
+
"docs": [
|
|
2185
|
+
"Extends the size of program-owned accounts"
|
|
2186
|
+
];
|
|
2187
|
+
"discriminator": [
|
|
2188
|
+
234,
|
|
2189
|
+
102,
|
|
2190
|
+
194,
|
|
2191
|
+
203,
|
|
2192
|
+
150,
|
|
2193
|
+
72,
|
|
2194
|
+
62,
|
|
2195
|
+
229
|
|
2196
|
+
];
|
|
2197
|
+
"accounts": [
|
|
2198
|
+
{
|
|
2199
|
+
"name": "account";
|
|
2200
|
+
"writable": true;
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"name": "user";
|
|
2204
|
+
"signer": true;
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
"name": "systemProgram";
|
|
2208
|
+
"address": "11111111111111111111111111111111";
|
|
2209
|
+
},
|
|
2210
|
+
{
|
|
2211
|
+
"name": "eventAuthority";
|
|
2212
|
+
"pda": {
|
|
2213
|
+
"seeds": [
|
|
2214
|
+
{
|
|
2215
|
+
"kind": "const";
|
|
2216
|
+
"value": [
|
|
2217
|
+
95,
|
|
2218
|
+
95,
|
|
2219
|
+
101,
|
|
2220
|
+
118,
|
|
2221
|
+
101,
|
|
2222
|
+
110,
|
|
2223
|
+
116,
|
|
2224
|
+
95,
|
|
2225
|
+
97,
|
|
2226
|
+
117,
|
|
2227
|
+
116,
|
|
2228
|
+
104,
|
|
2229
|
+
111,
|
|
2230
|
+
114,
|
|
2231
|
+
105,
|
|
2232
|
+
116,
|
|
2233
|
+
121
|
|
2234
|
+
];
|
|
2235
|
+
}
|
|
2236
|
+
];
|
|
2237
|
+
};
|
|
2238
|
+
},
|
|
2239
|
+
{
|
|
2240
|
+
"name": "program";
|
|
2241
|
+
}
|
|
2242
|
+
];
|
|
2243
|
+
"args": [];
|
|
2244
|
+
},
|
|
2245
|
+
{
|
|
2246
|
+
"name": "initUserVolumeAccumulator";
|
|
2247
|
+
"discriminator": [
|
|
2248
|
+
94,
|
|
2249
|
+
6,
|
|
2250
|
+
202,
|
|
2251
|
+
115,
|
|
2252
|
+
255,
|
|
2253
|
+
96,
|
|
2254
|
+
232,
|
|
2255
|
+
183
|
|
2256
|
+
];
|
|
2257
|
+
"accounts": [
|
|
2258
|
+
{
|
|
2259
|
+
"name": "payer";
|
|
2260
|
+
"writable": true;
|
|
2261
|
+
"signer": true;
|
|
2262
|
+
},
|
|
2263
|
+
{
|
|
2264
|
+
"name": "user";
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"name": "userVolumeAccumulator";
|
|
2268
|
+
"writable": true;
|
|
2269
|
+
"pda": {
|
|
2270
|
+
"seeds": [
|
|
2271
|
+
{
|
|
2272
|
+
"kind": "const";
|
|
2273
|
+
"value": [
|
|
2274
|
+
117,
|
|
2275
|
+
115,
|
|
2276
|
+
101,
|
|
2277
|
+
114,
|
|
2278
|
+
95,
|
|
2279
|
+
118,
|
|
2280
|
+
111,
|
|
2281
|
+
108,
|
|
2282
|
+
117,
|
|
2283
|
+
109,
|
|
2284
|
+
101,
|
|
2285
|
+
95,
|
|
2286
|
+
97,
|
|
2287
|
+
99,
|
|
2288
|
+
99,
|
|
2289
|
+
117,
|
|
2290
|
+
109,
|
|
2291
|
+
117,
|
|
2292
|
+
108,
|
|
2293
|
+
97,
|
|
2294
|
+
116,
|
|
2295
|
+
111,
|
|
2296
|
+
114
|
|
2297
|
+
];
|
|
2298
|
+
},
|
|
2299
|
+
{
|
|
2300
|
+
"kind": "account";
|
|
2301
|
+
"path": "user";
|
|
2302
|
+
}
|
|
2303
|
+
];
|
|
2304
|
+
};
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
"name": "systemProgram";
|
|
2308
|
+
"address": "11111111111111111111111111111111";
|
|
2309
|
+
},
|
|
2310
|
+
{
|
|
2311
|
+
"name": "eventAuthority";
|
|
2312
|
+
"pda": {
|
|
2313
|
+
"seeds": [
|
|
2314
|
+
{
|
|
2315
|
+
"kind": "const";
|
|
2316
|
+
"value": [
|
|
2317
|
+
95,
|
|
2318
|
+
95,
|
|
2319
|
+
101,
|
|
2320
|
+
118,
|
|
2321
|
+
101,
|
|
2322
|
+
110,
|
|
2323
|
+
116,
|
|
2324
|
+
95,
|
|
2325
|
+
97,
|
|
2326
|
+
117,
|
|
2327
|
+
116,
|
|
2328
|
+
104,
|
|
2329
|
+
111,
|
|
2330
|
+
114,
|
|
2331
|
+
105,
|
|
2332
|
+
116,
|
|
2333
|
+
121
|
|
2334
|
+
];
|
|
2335
|
+
}
|
|
2336
|
+
];
|
|
2337
|
+
};
|
|
2338
|
+
},
|
|
2339
|
+
{
|
|
2340
|
+
"name": "program";
|
|
2341
|
+
}
|
|
2342
|
+
];
|
|
2343
|
+
"args": [];
|
|
2191
2344
|
},
|
|
2192
2345
|
{
|
|
2193
2346
|
"name": "initialize";
|
|
@@ -2320,41 +2473,8 @@ type Pump = {
|
|
|
2320
2473
|
"path": "bondingCurve";
|
|
2321
2474
|
},
|
|
2322
2475
|
{
|
|
2323
|
-
"kind": "
|
|
2324
|
-
"
|
|
2325
|
-
6,
|
|
2326
|
-
221,
|
|
2327
|
-
246,
|
|
2328
|
-
225,
|
|
2329
|
-
215,
|
|
2330
|
-
101,
|
|
2331
|
-
161,
|
|
2332
|
-
147,
|
|
2333
|
-
217,
|
|
2334
|
-
203,
|
|
2335
|
-
225,
|
|
2336
|
-
70,
|
|
2337
|
-
206,
|
|
2338
|
-
235,
|
|
2339
|
-
121,
|
|
2340
|
-
172,
|
|
2341
|
-
28,
|
|
2342
|
-
180,
|
|
2343
|
-
133,
|
|
2344
|
-
237,
|
|
2345
|
-
95,
|
|
2346
|
-
91,
|
|
2347
|
-
55,
|
|
2348
|
-
145,
|
|
2349
|
-
58,
|
|
2350
|
-
140,
|
|
2351
|
-
245,
|
|
2352
|
-
133,
|
|
2353
|
-
126,
|
|
2354
|
-
255,
|
|
2355
|
-
0,
|
|
2356
|
-
169
|
|
2357
|
-
];
|
|
2476
|
+
"kind": "account";
|
|
2477
|
+
"path": "mint";
|
|
2358
2478
|
},
|
|
2359
2479
|
{
|
|
2360
2480
|
"kind": "account";
|
|
@@ -2498,7 +2618,7 @@ type Pump = {
|
|
|
2498
2618
|
},
|
|
2499
2619
|
{
|
|
2500
2620
|
"kind": "account";
|
|
2501
|
-
"path": "
|
|
2621
|
+
"path": "mint";
|
|
2502
2622
|
},
|
|
2503
2623
|
{
|
|
2504
2624
|
"kind": "account";
|
|
@@ -2636,7 +2756,7 @@ type Pump = {
|
|
|
2636
2756
|
},
|
|
2637
2757
|
{
|
|
2638
2758
|
"kind": "account";
|
|
2639
|
-
"path": "
|
|
2759
|
+
"path": "mint";
|
|
2640
2760
|
},
|
|
2641
2761
|
{
|
|
2642
2762
|
"kind": "account";
|
|
@@ -2830,41 +2950,8 @@ type Pump = {
|
|
|
2830
2950
|
"path": "bondingCurve";
|
|
2831
2951
|
},
|
|
2832
2952
|
{
|
|
2833
|
-
"kind": "
|
|
2834
|
-
"
|
|
2835
|
-
6,
|
|
2836
|
-
221,
|
|
2837
|
-
246,
|
|
2838
|
-
225,
|
|
2839
|
-
215,
|
|
2840
|
-
101,
|
|
2841
|
-
161,
|
|
2842
|
-
147,
|
|
2843
|
-
217,
|
|
2844
|
-
203,
|
|
2845
|
-
225,
|
|
2846
|
-
70,
|
|
2847
|
-
206,
|
|
2848
|
-
235,
|
|
2849
|
-
121,
|
|
2850
|
-
172,
|
|
2851
|
-
28,
|
|
2852
|
-
180,
|
|
2853
|
-
133,
|
|
2854
|
-
237,
|
|
2855
|
-
95,
|
|
2856
|
-
91,
|
|
2857
|
-
55,
|
|
2858
|
-
145,
|
|
2859
|
-
58,
|
|
2860
|
-
140,
|
|
2861
|
-
245,
|
|
2862
|
-
133,
|
|
2863
|
-
126,
|
|
2864
|
-
255,
|
|
2865
|
-
0,
|
|
2866
|
-
169
|
|
2867
|
-
];
|
|
2953
|
+
"kind": "account";
|
|
2954
|
+
"path": "tokenProgram";
|
|
2868
2955
|
},
|
|
2869
2956
|
{
|
|
2870
2957
|
"kind": "account";
|
|
@@ -2956,7 +3043,6 @@ type Pump = {
|
|
|
2956
3043
|
},
|
|
2957
3044
|
{
|
|
2958
3045
|
"name": "tokenProgram";
|
|
2959
|
-
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
2960
3046
|
},
|
|
2961
3047
|
{
|
|
2962
3048
|
"name": "eventAuthority";
|
|
@@ -3715,6 +3801,86 @@ type Pump = {
|
|
|
3715
3801
|
];
|
|
3716
3802
|
"args": [];
|
|
3717
3803
|
},
|
|
3804
|
+
{
|
|
3805
|
+
"name": "toggleCreateV2";
|
|
3806
|
+
"discriminator": [
|
|
3807
|
+
28,
|
|
3808
|
+
255,
|
|
3809
|
+
230,
|
|
3810
|
+
240,
|
|
3811
|
+
172,
|
|
3812
|
+
107,
|
|
3813
|
+
203,
|
|
3814
|
+
171
|
|
3815
|
+
];
|
|
3816
|
+
"accounts": [
|
|
3817
|
+
{
|
|
3818
|
+
"name": "global";
|
|
3819
|
+
"writable": true;
|
|
3820
|
+
"pda": {
|
|
3821
|
+
"seeds": [
|
|
3822
|
+
{
|
|
3823
|
+
"kind": "const";
|
|
3824
|
+
"value": [
|
|
3825
|
+
103,
|
|
3826
|
+
108,
|
|
3827
|
+
111,
|
|
3828
|
+
98,
|
|
3829
|
+
97,
|
|
3830
|
+
108
|
|
3831
|
+
];
|
|
3832
|
+
}
|
|
3833
|
+
];
|
|
3834
|
+
};
|
|
3835
|
+
},
|
|
3836
|
+
{
|
|
3837
|
+
"name": "authority";
|
|
3838
|
+
"writable": true;
|
|
3839
|
+
"signer": true;
|
|
3840
|
+
"relations": [
|
|
3841
|
+
"global"
|
|
3842
|
+
];
|
|
3843
|
+
},
|
|
3844
|
+
{
|
|
3845
|
+
"name": "eventAuthority";
|
|
3846
|
+
"pda": {
|
|
3847
|
+
"seeds": [
|
|
3848
|
+
{
|
|
3849
|
+
"kind": "const";
|
|
3850
|
+
"value": [
|
|
3851
|
+
95,
|
|
3852
|
+
95,
|
|
3853
|
+
101,
|
|
3854
|
+
118,
|
|
3855
|
+
101,
|
|
3856
|
+
110,
|
|
3857
|
+
116,
|
|
3858
|
+
95,
|
|
3859
|
+
97,
|
|
3860
|
+
117,
|
|
3861
|
+
116,
|
|
3862
|
+
104,
|
|
3863
|
+
111,
|
|
3864
|
+
114,
|
|
3865
|
+
105,
|
|
3866
|
+
116,
|
|
3867
|
+
121
|
|
3868
|
+
];
|
|
3869
|
+
}
|
|
3870
|
+
];
|
|
3871
|
+
};
|
|
3872
|
+
},
|
|
3873
|
+
{
|
|
3874
|
+
"name": "program";
|
|
3875
|
+
}
|
|
3876
|
+
];
|
|
3877
|
+
"args": [
|
|
3878
|
+
{
|
|
3879
|
+
"name": "enabled";
|
|
3880
|
+
"type": "bool";
|
|
3881
|
+
}
|
|
3882
|
+
];
|
|
3883
|
+
},
|
|
3718
3884
|
{
|
|
3719
3885
|
"name": "updateGlobalAuthority";
|
|
3720
3886
|
"discriminator": [
|
|
@@ -4289,6 +4455,22 @@ type Pump = {
|
|
|
4289
4455
|
"code": 6042;
|
|
4290
4456
|
"name": "buySlippageBelowMinTokensOut";
|
|
4291
4457
|
"msg": "Slippage: Would buy less tokens than expected min_tokens_out";
|
|
4458
|
+
},
|
|
4459
|
+
{
|
|
4460
|
+
"code": 6043;
|
|
4461
|
+
"name": "nameTooLong";
|
|
4462
|
+
},
|
|
4463
|
+
{
|
|
4464
|
+
"code": 6044;
|
|
4465
|
+
"name": "symbolTooLong";
|
|
4466
|
+
},
|
|
4467
|
+
{
|
|
4468
|
+
"code": 6045;
|
|
4469
|
+
"name": "uriTooLong";
|
|
4470
|
+
},
|
|
4471
|
+
{
|
|
4472
|
+
"code": 6046;
|
|
4473
|
+
"name": "createV2Disabled";
|
|
4292
4474
|
}
|
|
4293
4475
|
];
|
|
4294
4476
|
"types": [
|
|
@@ -4608,6 +4790,10 @@ type Pump = {
|
|
|
4608
4790
|
{
|
|
4609
4791
|
"name": "tokenTotalSupply";
|
|
4610
4792
|
"type": "u64";
|
|
4793
|
+
},
|
|
4794
|
+
{
|
|
4795
|
+
"name": "tokenProgram";
|
|
4796
|
+
"type": "pubkey";
|
|
4611
4797
|
}
|
|
4612
4798
|
];
|
|
4613
4799
|
};
|
|
@@ -4789,6 +4975,10 @@ type Pump = {
|
|
|
4789
4975
|
{
|
|
4790
4976
|
"name": "adminSetCreatorAuthority";
|
|
4791
4977
|
"type": "pubkey";
|
|
4978
|
+
},
|
|
4979
|
+
{
|
|
4980
|
+
"name": "createV2Enabled";
|
|
4981
|
+
"type": "bool";
|
|
4792
4982
|
}
|
|
4793
4983
|
];
|
|
4794
4984
|
};
|
|
@@ -5671,41 +5861,8 @@ var instructions = [
|
|
|
5671
5861
|
path: "bonding_curve"
|
|
5672
5862
|
},
|
|
5673
5863
|
{
|
|
5674
|
-
kind: "
|
|
5675
|
-
|
|
5676
|
-
6,
|
|
5677
|
-
221,
|
|
5678
|
-
246,
|
|
5679
|
-
225,
|
|
5680
|
-
215,
|
|
5681
|
-
101,
|
|
5682
|
-
161,
|
|
5683
|
-
147,
|
|
5684
|
-
217,
|
|
5685
|
-
203,
|
|
5686
|
-
225,
|
|
5687
|
-
70,
|
|
5688
|
-
206,
|
|
5689
|
-
235,
|
|
5690
|
-
121,
|
|
5691
|
-
172,
|
|
5692
|
-
28,
|
|
5693
|
-
180,
|
|
5694
|
-
133,
|
|
5695
|
-
237,
|
|
5696
|
-
95,
|
|
5697
|
-
91,
|
|
5698
|
-
55,
|
|
5699
|
-
145,
|
|
5700
|
-
58,
|
|
5701
|
-
140,
|
|
5702
|
-
245,
|
|
5703
|
-
133,
|
|
5704
|
-
126,
|
|
5705
|
-
255,
|
|
5706
|
-
0,
|
|
5707
|
-
169
|
|
5708
|
-
]
|
|
5864
|
+
kind: "account",
|
|
5865
|
+
path: "token_program"
|
|
5709
5866
|
},
|
|
5710
5867
|
{
|
|
5711
5868
|
kind: "account",
|
|
@@ -5765,8 +5922,7 @@ var instructions = [
|
|
|
5765
5922
|
address: "11111111111111111111111111111111"
|
|
5766
5923
|
},
|
|
5767
5924
|
{
|
|
5768
|
-
name: "token_program"
|
|
5769
|
-
address: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
5925
|
+
name: "token_program"
|
|
5770
5926
|
},
|
|
5771
5927
|
{
|
|
5772
5928
|
name: "creator_vault",
|
|
@@ -6087,41 +6243,8 @@ var instructions = [
|
|
|
6087
6243
|
path: "bonding_curve"
|
|
6088
6244
|
},
|
|
6089
6245
|
{
|
|
6090
|
-
kind: "
|
|
6091
|
-
|
|
6092
|
-
6,
|
|
6093
|
-
221,
|
|
6094
|
-
246,
|
|
6095
|
-
225,
|
|
6096
|
-
215,
|
|
6097
|
-
101,
|
|
6098
|
-
161,
|
|
6099
|
-
147,
|
|
6100
|
-
217,
|
|
6101
|
-
203,
|
|
6102
|
-
225,
|
|
6103
|
-
70,
|
|
6104
|
-
206,
|
|
6105
|
-
235,
|
|
6106
|
-
121,
|
|
6107
|
-
172,
|
|
6108
|
-
28,
|
|
6109
|
-
180,
|
|
6110
|
-
133,
|
|
6111
|
-
237,
|
|
6112
|
-
95,
|
|
6113
|
-
91,
|
|
6114
|
-
55,
|
|
6115
|
-
145,
|
|
6116
|
-
58,
|
|
6117
|
-
140,
|
|
6118
|
-
245,
|
|
6119
|
-
133,
|
|
6120
|
-
126,
|
|
6121
|
-
255,
|
|
6122
|
-
0,
|
|
6123
|
-
169
|
|
6124
|
-
]
|
|
6246
|
+
kind: "account",
|
|
6247
|
+
path: "token_program"
|
|
6125
6248
|
},
|
|
6126
6249
|
{
|
|
6127
6250
|
kind: "account",
|
|
@@ -6181,8 +6304,7 @@ var instructions = [
|
|
|
6181
6304
|
address: "11111111111111111111111111111111"
|
|
6182
6305
|
},
|
|
6183
6306
|
{
|
|
6184
|
-
name: "token_program"
|
|
6185
|
-
address: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
6307
|
+
name: "token_program"
|
|
6186
6308
|
},
|
|
6187
6309
|
{
|
|
6188
6310
|
name: "creator_vault",
|
|
@@ -6698,135 +6820,447 @@ var instructions = [
|
|
|
6698
6820
|
signer: true
|
|
6699
6821
|
},
|
|
6700
6822
|
{
|
|
6701
|
-
name: "user_volume_accumulator",
|
|
6702
|
-
writable: true,
|
|
6823
|
+
name: "user_volume_accumulator",
|
|
6824
|
+
writable: true,
|
|
6825
|
+
pda: {
|
|
6826
|
+
seeds: [
|
|
6827
|
+
{
|
|
6828
|
+
kind: "const",
|
|
6829
|
+
value: [
|
|
6830
|
+
117,
|
|
6831
|
+
115,
|
|
6832
|
+
101,
|
|
6833
|
+
114,
|
|
6834
|
+
95,
|
|
6835
|
+
118,
|
|
6836
|
+
111,
|
|
6837
|
+
108,
|
|
6838
|
+
117,
|
|
6839
|
+
109,
|
|
6840
|
+
101,
|
|
6841
|
+
95,
|
|
6842
|
+
97,
|
|
6843
|
+
99,
|
|
6844
|
+
99,
|
|
6845
|
+
117,
|
|
6846
|
+
109,
|
|
6847
|
+
117,
|
|
6848
|
+
108,
|
|
6849
|
+
97,
|
|
6850
|
+
116,
|
|
6851
|
+
111,
|
|
6852
|
+
114
|
|
6853
|
+
]
|
|
6854
|
+
},
|
|
6855
|
+
{
|
|
6856
|
+
kind: "account",
|
|
6857
|
+
path: "user"
|
|
6858
|
+
}
|
|
6859
|
+
]
|
|
6860
|
+
}
|
|
6861
|
+
},
|
|
6862
|
+
{
|
|
6863
|
+
name: "event_authority",
|
|
6864
|
+
pda: {
|
|
6865
|
+
seeds: [
|
|
6866
|
+
{
|
|
6867
|
+
kind: "const",
|
|
6868
|
+
value: [
|
|
6869
|
+
95,
|
|
6870
|
+
95,
|
|
6871
|
+
101,
|
|
6872
|
+
118,
|
|
6873
|
+
101,
|
|
6874
|
+
110,
|
|
6875
|
+
116,
|
|
6876
|
+
95,
|
|
6877
|
+
97,
|
|
6878
|
+
117,
|
|
6879
|
+
116,
|
|
6880
|
+
104,
|
|
6881
|
+
111,
|
|
6882
|
+
114,
|
|
6883
|
+
105,
|
|
6884
|
+
116,
|
|
6885
|
+
121
|
|
6886
|
+
]
|
|
6887
|
+
}
|
|
6888
|
+
]
|
|
6889
|
+
}
|
|
6890
|
+
},
|
|
6891
|
+
{
|
|
6892
|
+
name: "program"
|
|
6893
|
+
}
|
|
6894
|
+
],
|
|
6895
|
+
args: [
|
|
6896
|
+
]
|
|
6897
|
+
},
|
|
6898
|
+
{
|
|
6899
|
+
name: "collect_creator_fee",
|
|
6900
|
+
docs: [
|
|
6901
|
+
"Collects creator_fee from creator_vault to the coin creator account"
|
|
6902
|
+
],
|
|
6903
|
+
discriminator: [
|
|
6904
|
+
20,
|
|
6905
|
+
22,
|
|
6906
|
+
86,
|
|
6907
|
+
123,
|
|
6908
|
+
198,
|
|
6909
|
+
28,
|
|
6910
|
+
219,
|
|
6911
|
+
132
|
|
6912
|
+
],
|
|
6913
|
+
accounts: [
|
|
6914
|
+
{
|
|
6915
|
+
name: "creator",
|
|
6916
|
+
writable: true
|
|
6917
|
+
},
|
|
6918
|
+
{
|
|
6919
|
+
name: "creator_vault",
|
|
6920
|
+
writable: true,
|
|
6921
|
+
pda: {
|
|
6922
|
+
seeds: [
|
|
6923
|
+
{
|
|
6924
|
+
kind: "const",
|
|
6925
|
+
value: [
|
|
6926
|
+
99,
|
|
6927
|
+
114,
|
|
6928
|
+
101,
|
|
6929
|
+
97,
|
|
6930
|
+
116,
|
|
6931
|
+
111,
|
|
6932
|
+
114,
|
|
6933
|
+
45,
|
|
6934
|
+
118,
|
|
6935
|
+
97,
|
|
6936
|
+
117,
|
|
6937
|
+
108,
|
|
6938
|
+
116
|
|
6939
|
+
]
|
|
6940
|
+
},
|
|
6941
|
+
{
|
|
6942
|
+
kind: "account",
|
|
6943
|
+
path: "creator"
|
|
6944
|
+
}
|
|
6945
|
+
]
|
|
6946
|
+
}
|
|
6947
|
+
},
|
|
6948
|
+
{
|
|
6949
|
+
name: "system_program",
|
|
6950
|
+
address: "11111111111111111111111111111111"
|
|
6951
|
+
},
|
|
6952
|
+
{
|
|
6953
|
+
name: "event_authority",
|
|
6954
|
+
pda: {
|
|
6955
|
+
seeds: [
|
|
6956
|
+
{
|
|
6957
|
+
kind: "const",
|
|
6958
|
+
value: [
|
|
6959
|
+
95,
|
|
6960
|
+
95,
|
|
6961
|
+
101,
|
|
6962
|
+
118,
|
|
6963
|
+
101,
|
|
6964
|
+
110,
|
|
6965
|
+
116,
|
|
6966
|
+
95,
|
|
6967
|
+
97,
|
|
6968
|
+
117,
|
|
6969
|
+
116,
|
|
6970
|
+
104,
|
|
6971
|
+
111,
|
|
6972
|
+
114,
|
|
6973
|
+
105,
|
|
6974
|
+
116,
|
|
6975
|
+
121
|
|
6976
|
+
]
|
|
6977
|
+
}
|
|
6978
|
+
]
|
|
6979
|
+
}
|
|
6980
|
+
},
|
|
6981
|
+
{
|
|
6982
|
+
name: "program"
|
|
6983
|
+
}
|
|
6984
|
+
],
|
|
6985
|
+
args: [
|
|
6986
|
+
]
|
|
6987
|
+
},
|
|
6988
|
+
{
|
|
6989
|
+
name: "create",
|
|
6990
|
+
docs: [
|
|
6991
|
+
"Creates a new coin and bonding curve."
|
|
6992
|
+
],
|
|
6993
|
+
discriminator: [
|
|
6994
|
+
24,
|
|
6995
|
+
30,
|
|
6996
|
+
200,
|
|
6997
|
+
40,
|
|
6998
|
+
5,
|
|
6999
|
+
28,
|
|
7000
|
+
7,
|
|
7001
|
+
119
|
|
7002
|
+
],
|
|
7003
|
+
accounts: [
|
|
7004
|
+
{
|
|
7005
|
+
name: "mint",
|
|
7006
|
+
writable: true,
|
|
7007
|
+
signer: true
|
|
7008
|
+
},
|
|
7009
|
+
{
|
|
7010
|
+
name: "mint_authority",
|
|
7011
|
+
pda: {
|
|
7012
|
+
seeds: [
|
|
7013
|
+
{
|
|
7014
|
+
kind: "const",
|
|
7015
|
+
value: [
|
|
7016
|
+
109,
|
|
7017
|
+
105,
|
|
7018
|
+
110,
|
|
7019
|
+
116,
|
|
7020
|
+
45,
|
|
7021
|
+
97,
|
|
7022
|
+
117,
|
|
7023
|
+
116,
|
|
7024
|
+
104,
|
|
7025
|
+
111,
|
|
7026
|
+
114,
|
|
7027
|
+
105,
|
|
7028
|
+
116,
|
|
7029
|
+
121
|
|
7030
|
+
]
|
|
7031
|
+
}
|
|
7032
|
+
]
|
|
7033
|
+
}
|
|
7034
|
+
},
|
|
7035
|
+
{
|
|
7036
|
+
name: "bonding_curve",
|
|
7037
|
+
writable: true,
|
|
7038
|
+
pda: {
|
|
7039
|
+
seeds: [
|
|
7040
|
+
{
|
|
7041
|
+
kind: "const",
|
|
7042
|
+
value: [
|
|
7043
|
+
98,
|
|
7044
|
+
111,
|
|
7045
|
+
110,
|
|
7046
|
+
100,
|
|
7047
|
+
105,
|
|
7048
|
+
110,
|
|
7049
|
+
103,
|
|
7050
|
+
45,
|
|
7051
|
+
99,
|
|
7052
|
+
117,
|
|
7053
|
+
114,
|
|
7054
|
+
118,
|
|
7055
|
+
101
|
|
7056
|
+
]
|
|
7057
|
+
},
|
|
7058
|
+
{
|
|
7059
|
+
kind: "account",
|
|
7060
|
+
path: "mint"
|
|
7061
|
+
}
|
|
7062
|
+
]
|
|
7063
|
+
}
|
|
7064
|
+
},
|
|
7065
|
+
{
|
|
7066
|
+
name: "associated_bonding_curve",
|
|
7067
|
+
writable: true,
|
|
7068
|
+
pda: {
|
|
7069
|
+
seeds: [
|
|
7070
|
+
{
|
|
7071
|
+
kind: "account",
|
|
7072
|
+
path: "bonding_curve"
|
|
7073
|
+
},
|
|
7074
|
+
{
|
|
7075
|
+
kind: "const",
|
|
7076
|
+
value: [
|
|
7077
|
+
6,
|
|
7078
|
+
221,
|
|
7079
|
+
246,
|
|
7080
|
+
225,
|
|
7081
|
+
215,
|
|
7082
|
+
101,
|
|
7083
|
+
161,
|
|
7084
|
+
147,
|
|
7085
|
+
217,
|
|
7086
|
+
203,
|
|
7087
|
+
225,
|
|
7088
|
+
70,
|
|
7089
|
+
206,
|
|
7090
|
+
235,
|
|
7091
|
+
121,
|
|
7092
|
+
172,
|
|
7093
|
+
28,
|
|
7094
|
+
180,
|
|
7095
|
+
133,
|
|
7096
|
+
237,
|
|
7097
|
+
95,
|
|
7098
|
+
91,
|
|
7099
|
+
55,
|
|
7100
|
+
145,
|
|
7101
|
+
58,
|
|
7102
|
+
140,
|
|
7103
|
+
245,
|
|
7104
|
+
133,
|
|
7105
|
+
126,
|
|
7106
|
+
255,
|
|
7107
|
+
0,
|
|
7108
|
+
169
|
|
7109
|
+
]
|
|
7110
|
+
},
|
|
7111
|
+
{
|
|
7112
|
+
kind: "account",
|
|
7113
|
+
path: "mint"
|
|
7114
|
+
}
|
|
7115
|
+
],
|
|
7116
|
+
program: {
|
|
7117
|
+
kind: "const",
|
|
7118
|
+
value: [
|
|
7119
|
+
140,
|
|
7120
|
+
151,
|
|
7121
|
+
37,
|
|
7122
|
+
143,
|
|
7123
|
+
78,
|
|
7124
|
+
36,
|
|
7125
|
+
137,
|
|
7126
|
+
241,
|
|
7127
|
+
187,
|
|
7128
|
+
61,
|
|
7129
|
+
16,
|
|
7130
|
+
41,
|
|
7131
|
+
20,
|
|
7132
|
+
142,
|
|
7133
|
+
13,
|
|
7134
|
+
131,
|
|
7135
|
+
11,
|
|
7136
|
+
90,
|
|
7137
|
+
19,
|
|
7138
|
+
153,
|
|
7139
|
+
218,
|
|
7140
|
+
255,
|
|
7141
|
+
16,
|
|
7142
|
+
132,
|
|
7143
|
+
4,
|
|
7144
|
+
142,
|
|
7145
|
+
123,
|
|
7146
|
+
216,
|
|
7147
|
+
219,
|
|
7148
|
+
233,
|
|
7149
|
+
248,
|
|
7150
|
+
89
|
|
7151
|
+
]
|
|
7152
|
+
}
|
|
7153
|
+
}
|
|
7154
|
+
},
|
|
7155
|
+
{
|
|
7156
|
+
name: "global",
|
|
6703
7157
|
pda: {
|
|
6704
7158
|
seeds: [
|
|
6705
7159
|
{
|
|
6706
7160
|
kind: "const",
|
|
6707
7161
|
value: [
|
|
6708
|
-
|
|
6709
|
-
115,
|
|
6710
|
-
101,
|
|
6711
|
-
114,
|
|
6712
|
-
95,
|
|
6713
|
-
118,
|
|
6714
|
-
111,
|
|
6715
|
-
108,
|
|
6716
|
-
117,
|
|
6717
|
-
109,
|
|
6718
|
-
101,
|
|
6719
|
-
95,
|
|
6720
|
-
97,
|
|
6721
|
-
99,
|
|
6722
|
-
99,
|
|
6723
|
-
117,
|
|
6724
|
-
109,
|
|
6725
|
-
117,
|
|
7162
|
+
103,
|
|
6726
7163
|
108,
|
|
6727
|
-
97,
|
|
6728
|
-
116,
|
|
6729
7164
|
111,
|
|
6730
|
-
|
|
7165
|
+
98,
|
|
7166
|
+
97,
|
|
7167
|
+
108
|
|
6731
7168
|
]
|
|
6732
|
-
},
|
|
6733
|
-
{
|
|
6734
|
-
kind: "account",
|
|
6735
|
-
path: "user"
|
|
6736
7169
|
}
|
|
6737
7170
|
]
|
|
6738
7171
|
}
|
|
6739
7172
|
},
|
|
6740
7173
|
{
|
|
6741
|
-
name: "
|
|
7174
|
+
name: "mpl_token_metadata",
|
|
7175
|
+
address: "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"
|
|
7176
|
+
},
|
|
7177
|
+
{
|
|
7178
|
+
name: "metadata",
|
|
7179
|
+
writable: true,
|
|
6742
7180
|
pda: {
|
|
6743
7181
|
seeds: [
|
|
6744
7182
|
{
|
|
6745
7183
|
kind: "const",
|
|
6746
7184
|
value: [
|
|
6747
|
-
|
|
6748
|
-
95,
|
|
6749
|
-
101,
|
|
6750
|
-
118,
|
|
7185
|
+
109,
|
|
6751
7186
|
101,
|
|
6752
|
-
110,
|
|
6753
7187
|
116,
|
|
6754
|
-
95,
|
|
6755
7188
|
97,
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
104,
|
|
6759
|
-
111,
|
|
6760
|
-
114,
|
|
6761
|
-
105,
|
|
7189
|
+
100,
|
|
7190
|
+
97,
|
|
6762
7191
|
116,
|
|
6763
|
-
|
|
7192
|
+
97
|
|
6764
7193
|
]
|
|
6765
|
-
}
|
|
6766
|
-
]
|
|
6767
|
-
}
|
|
6768
|
-
},
|
|
6769
|
-
{
|
|
6770
|
-
name: "program"
|
|
6771
|
-
}
|
|
6772
|
-
],
|
|
6773
|
-
args: [
|
|
6774
|
-
]
|
|
6775
|
-
},
|
|
6776
|
-
{
|
|
6777
|
-
name: "collect_creator_fee",
|
|
6778
|
-
docs: [
|
|
6779
|
-
"Collects creator_fee from creator_vault to the coin creator account"
|
|
6780
|
-
],
|
|
6781
|
-
discriminator: [
|
|
6782
|
-
20,
|
|
6783
|
-
22,
|
|
6784
|
-
86,
|
|
6785
|
-
123,
|
|
6786
|
-
198,
|
|
6787
|
-
28,
|
|
6788
|
-
219,
|
|
6789
|
-
132
|
|
6790
|
-
],
|
|
6791
|
-
accounts: [
|
|
6792
|
-
{
|
|
6793
|
-
name: "creator",
|
|
6794
|
-
writable: true
|
|
6795
|
-
},
|
|
6796
|
-
{
|
|
6797
|
-
name: "creator_vault",
|
|
6798
|
-
writable: true,
|
|
6799
|
-
pda: {
|
|
6800
|
-
seeds: [
|
|
7194
|
+
},
|
|
6801
7195
|
{
|
|
6802
7196
|
kind: "const",
|
|
6803
7197
|
value: [
|
|
6804
|
-
|
|
6805
|
-
|
|
7198
|
+
11,
|
|
7199
|
+
112,
|
|
6806
7200
|
101,
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
|
|
7201
|
+
177,
|
|
7202
|
+
227,
|
|
7203
|
+
209,
|
|
7204
|
+
124,
|
|
7205
|
+
69,
|
|
7206
|
+
56,
|
|
7207
|
+
157,
|
|
7208
|
+
82,
|
|
7209
|
+
127,
|
|
7210
|
+
107,
|
|
7211
|
+
4,
|
|
7212
|
+
195,
|
|
7213
|
+
205,
|
|
7214
|
+
88,
|
|
7215
|
+
184,
|
|
6815
7216
|
108,
|
|
6816
|
-
|
|
7217
|
+
115,
|
|
7218
|
+
26,
|
|
7219
|
+
160,
|
|
7220
|
+
253,
|
|
7221
|
+
181,
|
|
7222
|
+
73,
|
|
7223
|
+
182,
|
|
7224
|
+
209,
|
|
7225
|
+
188,
|
|
7226
|
+
3,
|
|
7227
|
+
248,
|
|
7228
|
+
41,
|
|
7229
|
+
70
|
|
6817
7230
|
]
|
|
6818
7231
|
},
|
|
6819
7232
|
{
|
|
6820
7233
|
kind: "account",
|
|
6821
|
-
path: "
|
|
7234
|
+
path: "mint"
|
|
6822
7235
|
}
|
|
6823
|
-
]
|
|
7236
|
+
],
|
|
7237
|
+
program: {
|
|
7238
|
+
kind: "account",
|
|
7239
|
+
path: "mpl_token_metadata"
|
|
7240
|
+
}
|
|
6824
7241
|
}
|
|
6825
7242
|
},
|
|
7243
|
+
{
|
|
7244
|
+
name: "user",
|
|
7245
|
+
writable: true,
|
|
7246
|
+
signer: true
|
|
7247
|
+
},
|
|
6826
7248
|
{
|
|
6827
7249
|
name: "system_program",
|
|
6828
7250
|
address: "11111111111111111111111111111111"
|
|
6829
7251
|
},
|
|
7252
|
+
{
|
|
7253
|
+
name: "token_program",
|
|
7254
|
+
address: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
7255
|
+
},
|
|
7256
|
+
{
|
|
7257
|
+
name: "associated_token_program",
|
|
7258
|
+
address: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
7259
|
+
},
|
|
7260
|
+
{
|
|
7261
|
+
name: "rent",
|
|
7262
|
+
address: "SysvarRent111111111111111111111111111111111"
|
|
7263
|
+
},
|
|
6830
7264
|
{
|
|
6831
7265
|
name: "event_authority",
|
|
6832
7266
|
pda: {
|
|
@@ -6861,22 +7295,38 @@ var instructions = [
|
|
|
6861
7295
|
}
|
|
6862
7296
|
],
|
|
6863
7297
|
args: [
|
|
7298
|
+
{
|
|
7299
|
+
name: "name",
|
|
7300
|
+
type: "string"
|
|
7301
|
+
},
|
|
7302
|
+
{
|
|
7303
|
+
name: "symbol",
|
|
7304
|
+
type: "string"
|
|
7305
|
+
},
|
|
7306
|
+
{
|
|
7307
|
+
name: "uri",
|
|
7308
|
+
type: "string"
|
|
7309
|
+
},
|
|
7310
|
+
{
|
|
7311
|
+
name: "creator",
|
|
7312
|
+
type: "pubkey"
|
|
7313
|
+
}
|
|
6864
7314
|
]
|
|
6865
7315
|
},
|
|
6866
7316
|
{
|
|
6867
|
-
name: "
|
|
7317
|
+
name: "create_v2",
|
|
6868
7318
|
docs: [
|
|
6869
|
-
"Creates a new coin and bonding curve."
|
|
7319
|
+
"Creates a new spl-22 coin and bonding curve."
|
|
6870
7320
|
],
|
|
6871
7321
|
discriminator: [
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
7322
|
+
214,
|
|
7323
|
+
144,
|
|
7324
|
+
76,
|
|
7325
|
+
236,
|
|
7326
|
+
95,
|
|
7327
|
+
139,
|
|
7328
|
+
49,
|
|
7329
|
+
180
|
|
6880
7330
|
],
|
|
6881
7331
|
accounts: [
|
|
6882
7332
|
{
|
|
@@ -6950,41 +7400,8 @@ var instructions = [
|
|
|
6950
7400
|
path: "bonding_curve"
|
|
6951
7401
|
},
|
|
6952
7402
|
{
|
|
6953
|
-
kind: "
|
|
6954
|
-
|
|
6955
|
-
6,
|
|
6956
|
-
221,
|
|
6957
|
-
246,
|
|
6958
|
-
225,
|
|
6959
|
-
215,
|
|
6960
|
-
101,
|
|
6961
|
-
161,
|
|
6962
|
-
147,
|
|
6963
|
-
217,
|
|
6964
|
-
203,
|
|
6965
|
-
225,
|
|
6966
|
-
70,
|
|
6967
|
-
206,
|
|
6968
|
-
235,
|
|
6969
|
-
121,
|
|
6970
|
-
172,
|
|
6971
|
-
28,
|
|
6972
|
-
180,
|
|
6973
|
-
133,
|
|
6974
|
-
237,
|
|
6975
|
-
95,
|
|
6976
|
-
91,
|
|
6977
|
-
55,
|
|
6978
|
-
145,
|
|
6979
|
-
58,
|
|
6980
|
-
140,
|
|
6981
|
-
245,
|
|
6982
|
-
133,
|
|
6983
|
-
126,
|
|
6984
|
-
255,
|
|
6985
|
-
0,
|
|
6986
|
-
169
|
|
6987
|
-
]
|
|
7403
|
+
kind: "account",
|
|
7404
|
+
path: "token_program"
|
|
6988
7405
|
},
|
|
6989
7406
|
{
|
|
6990
7407
|
kind: "account",
|
|
@@ -7028,94 +7445,24 @@ var instructions = [
|
|
|
7028
7445
|
89
|
|
7029
7446
|
]
|
|
7030
7447
|
}
|
|
7031
|
-
}
|
|
7032
|
-
},
|
|
7033
|
-
{
|
|
7034
|
-
name: "global",
|
|
7035
|
-
pda: {
|
|
7036
|
-
seeds: [
|
|
7037
|
-
{
|
|
7038
|
-
kind: "const",
|
|
7039
|
-
value: [
|
|
7040
|
-
103,
|
|
7041
|
-
108,
|
|
7042
|
-
111,
|
|
7043
|
-
98,
|
|
7044
|
-
97,
|
|
7045
|
-
108
|
|
7046
|
-
]
|
|
7047
|
-
}
|
|
7048
|
-
]
|
|
7049
|
-
}
|
|
7050
|
-
},
|
|
7051
|
-
{
|
|
7052
|
-
name: "mpl_token_metadata",
|
|
7053
|
-
address: "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"
|
|
7448
|
+
}
|
|
7054
7449
|
},
|
|
7055
7450
|
{
|
|
7056
|
-
name: "
|
|
7057
|
-
writable: true,
|
|
7451
|
+
name: "global",
|
|
7058
7452
|
pda: {
|
|
7059
7453
|
seeds: [
|
|
7060
7454
|
{
|
|
7061
7455
|
kind: "const",
|
|
7062
7456
|
value: [
|
|
7063
|
-
|
|
7064
|
-
101,
|
|
7065
|
-
116,
|
|
7066
|
-
97,
|
|
7067
|
-
100,
|
|
7068
|
-
97,
|
|
7069
|
-
116,
|
|
7070
|
-
97
|
|
7071
|
-
]
|
|
7072
|
-
},
|
|
7073
|
-
{
|
|
7074
|
-
kind: "const",
|
|
7075
|
-
value: [
|
|
7076
|
-
11,
|
|
7077
|
-
112,
|
|
7078
|
-
101,
|
|
7079
|
-
177,
|
|
7080
|
-
227,
|
|
7081
|
-
209,
|
|
7082
|
-
124,
|
|
7083
|
-
69,
|
|
7084
|
-
56,
|
|
7085
|
-
157,
|
|
7086
|
-
82,
|
|
7087
|
-
127,
|
|
7088
|
-
107,
|
|
7089
|
-
4,
|
|
7090
|
-
195,
|
|
7091
|
-
205,
|
|
7092
|
-
88,
|
|
7093
|
-
184,
|
|
7457
|
+
103,
|
|
7094
7458
|
108,
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
181,
|
|
7100
|
-
73,
|
|
7101
|
-
182,
|
|
7102
|
-
209,
|
|
7103
|
-
188,
|
|
7104
|
-
3,
|
|
7105
|
-
248,
|
|
7106
|
-
41,
|
|
7107
|
-
70
|
|
7459
|
+
111,
|
|
7460
|
+
98,
|
|
7461
|
+
97,
|
|
7462
|
+
108
|
|
7108
7463
|
]
|
|
7109
|
-
},
|
|
7110
|
-
{
|
|
7111
|
-
kind: "account",
|
|
7112
|
-
path: "mint"
|
|
7113
7464
|
}
|
|
7114
|
-
]
|
|
7115
|
-
program: {
|
|
7116
|
-
kind: "account",
|
|
7117
|
-
path: "mpl_token_metadata"
|
|
7118
|
-
}
|
|
7465
|
+
]
|
|
7119
7466
|
}
|
|
7120
7467
|
},
|
|
7121
7468
|
{
|
|
@@ -7129,16 +7476,12 @@ var instructions = [
|
|
|
7129
7476
|
},
|
|
7130
7477
|
{
|
|
7131
7478
|
name: "token_program",
|
|
7132
|
-
address: "
|
|
7479
|
+
address: "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
|
|
7133
7480
|
},
|
|
7134
7481
|
{
|
|
7135
7482
|
name: "associated_token_program",
|
|
7136
7483
|
address: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
7137
7484
|
},
|
|
7138
|
-
{
|
|
7139
|
-
name: "rent",
|
|
7140
|
-
address: "SysvarRent111111111111111111111111111111111"
|
|
7141
|
-
},
|
|
7142
7485
|
{
|
|
7143
7486
|
name: "event_authority",
|
|
7144
7487
|
pda: {
|
|
@@ -7488,41 +7831,8 @@ var instructions = [
|
|
|
7488
7831
|
path: "bonding_curve"
|
|
7489
7832
|
},
|
|
7490
7833
|
{
|
|
7491
|
-
kind: "
|
|
7492
|
-
|
|
7493
|
-
6,
|
|
7494
|
-
221,
|
|
7495
|
-
246,
|
|
7496
|
-
225,
|
|
7497
|
-
215,
|
|
7498
|
-
101,
|
|
7499
|
-
161,
|
|
7500
|
-
147,
|
|
7501
|
-
217,
|
|
7502
|
-
203,
|
|
7503
|
-
225,
|
|
7504
|
-
70,
|
|
7505
|
-
206,
|
|
7506
|
-
235,
|
|
7507
|
-
121,
|
|
7508
|
-
172,
|
|
7509
|
-
28,
|
|
7510
|
-
180,
|
|
7511
|
-
133,
|
|
7512
|
-
237,
|
|
7513
|
-
95,
|
|
7514
|
-
91,
|
|
7515
|
-
55,
|
|
7516
|
-
145,
|
|
7517
|
-
58,
|
|
7518
|
-
140,
|
|
7519
|
-
245,
|
|
7520
|
-
133,
|
|
7521
|
-
126,
|
|
7522
|
-
255,
|
|
7523
|
-
0,
|
|
7524
|
-
169
|
|
7525
|
-
]
|
|
7834
|
+
kind: "account",
|
|
7835
|
+
path: "mint"
|
|
7526
7836
|
},
|
|
7527
7837
|
{
|
|
7528
7838
|
kind: "account",
|
|
@@ -7666,7 +7976,7 @@ var instructions = [
|
|
|
7666
7976
|
},
|
|
7667
7977
|
{
|
|
7668
7978
|
kind: "account",
|
|
7669
|
-
path: "
|
|
7979
|
+
path: "mint"
|
|
7670
7980
|
},
|
|
7671
7981
|
{
|
|
7672
7982
|
kind: "account",
|
|
@@ -7804,7 +8114,7 @@ var instructions = [
|
|
|
7804
8114
|
},
|
|
7805
8115
|
{
|
|
7806
8116
|
kind: "account",
|
|
7807
|
-
path: "
|
|
8117
|
+
path: "mint"
|
|
7808
8118
|
},
|
|
7809
8119
|
{
|
|
7810
8120
|
kind: "account",
|
|
@@ -7999,41 +8309,8 @@ var instructions = [
|
|
|
7999
8309
|
path: "bonding_curve"
|
|
8000
8310
|
},
|
|
8001
8311
|
{
|
|
8002
|
-
kind: "
|
|
8003
|
-
|
|
8004
|
-
6,
|
|
8005
|
-
221,
|
|
8006
|
-
246,
|
|
8007
|
-
225,
|
|
8008
|
-
215,
|
|
8009
|
-
101,
|
|
8010
|
-
161,
|
|
8011
|
-
147,
|
|
8012
|
-
217,
|
|
8013
|
-
203,
|
|
8014
|
-
225,
|
|
8015
|
-
70,
|
|
8016
|
-
206,
|
|
8017
|
-
235,
|
|
8018
|
-
121,
|
|
8019
|
-
172,
|
|
8020
|
-
28,
|
|
8021
|
-
180,
|
|
8022
|
-
133,
|
|
8023
|
-
237,
|
|
8024
|
-
95,
|
|
8025
|
-
91,
|
|
8026
|
-
55,
|
|
8027
|
-
145,
|
|
8028
|
-
58,
|
|
8029
|
-
140,
|
|
8030
|
-
245,
|
|
8031
|
-
133,
|
|
8032
|
-
126,
|
|
8033
|
-
255,
|
|
8034
|
-
0,
|
|
8035
|
-
169
|
|
8036
|
-
]
|
|
8312
|
+
kind: "account",
|
|
8313
|
+
path: "token_program"
|
|
8037
8314
|
},
|
|
8038
8315
|
{
|
|
8039
8316
|
kind: "account",
|
|
@@ -8124,8 +8401,7 @@ var instructions = [
|
|
|
8124
8401
|
}
|
|
8125
8402
|
},
|
|
8126
8403
|
{
|
|
8127
|
-
name: "token_program"
|
|
8128
|
-
address: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
8404
|
+
name: "token_program"
|
|
8129
8405
|
},
|
|
8130
8406
|
{
|
|
8131
8407
|
name: "event_authority",
|
|
@@ -8886,6 +9162,86 @@ var instructions = [
|
|
|
8886
9162
|
args: [
|
|
8887
9163
|
]
|
|
8888
9164
|
},
|
|
9165
|
+
{
|
|
9166
|
+
name: "toggle_create_v2",
|
|
9167
|
+
discriminator: [
|
|
9168
|
+
28,
|
|
9169
|
+
255,
|
|
9170
|
+
230,
|
|
9171
|
+
240,
|
|
9172
|
+
172,
|
|
9173
|
+
107,
|
|
9174
|
+
203,
|
|
9175
|
+
171
|
|
9176
|
+
],
|
|
9177
|
+
accounts: [
|
|
9178
|
+
{
|
|
9179
|
+
name: "global",
|
|
9180
|
+
writable: true,
|
|
9181
|
+
pda: {
|
|
9182
|
+
seeds: [
|
|
9183
|
+
{
|
|
9184
|
+
kind: "const",
|
|
9185
|
+
value: [
|
|
9186
|
+
103,
|
|
9187
|
+
108,
|
|
9188
|
+
111,
|
|
9189
|
+
98,
|
|
9190
|
+
97,
|
|
9191
|
+
108
|
|
9192
|
+
]
|
|
9193
|
+
}
|
|
9194
|
+
]
|
|
9195
|
+
}
|
|
9196
|
+
},
|
|
9197
|
+
{
|
|
9198
|
+
name: "authority",
|
|
9199
|
+
writable: true,
|
|
9200
|
+
signer: true,
|
|
9201
|
+
relations: [
|
|
9202
|
+
"global"
|
|
9203
|
+
]
|
|
9204
|
+
},
|
|
9205
|
+
{
|
|
9206
|
+
name: "event_authority",
|
|
9207
|
+
pda: {
|
|
9208
|
+
seeds: [
|
|
9209
|
+
{
|
|
9210
|
+
kind: "const",
|
|
9211
|
+
value: [
|
|
9212
|
+
95,
|
|
9213
|
+
95,
|
|
9214
|
+
101,
|
|
9215
|
+
118,
|
|
9216
|
+
101,
|
|
9217
|
+
110,
|
|
9218
|
+
116,
|
|
9219
|
+
95,
|
|
9220
|
+
97,
|
|
9221
|
+
117,
|
|
9222
|
+
116,
|
|
9223
|
+
104,
|
|
9224
|
+
111,
|
|
9225
|
+
114,
|
|
9226
|
+
105,
|
|
9227
|
+
116,
|
|
9228
|
+
121
|
|
9229
|
+
]
|
|
9230
|
+
}
|
|
9231
|
+
]
|
|
9232
|
+
}
|
|
9233
|
+
},
|
|
9234
|
+
{
|
|
9235
|
+
name: "program"
|
|
9236
|
+
}
|
|
9237
|
+
],
|
|
9238
|
+
args: [
|
|
9239
|
+
{
|
|
9240
|
+
name: "enabled",
|
|
9241
|
+
type: "bool"
|
|
9242
|
+
}
|
|
9243
|
+
]
|
|
9244
|
+
},
|
|
8889
9245
|
{
|
|
8890
9246
|
name: "update_global_authority",
|
|
8891
9247
|
discriminator: [
|
|
@@ -9461,6 +9817,22 @@ var errors = [
|
|
|
9461
9817
|
code: 6042,
|
|
9462
9818
|
name: "BuySlippageBelowMinTokensOut",
|
|
9463
9819
|
msg: "Slippage: Would buy less tokens than expected min_tokens_out"
|
|
9820
|
+
},
|
|
9821
|
+
{
|
|
9822
|
+
code: 6043,
|
|
9823
|
+
name: "NameTooLong"
|
|
9824
|
+
},
|
|
9825
|
+
{
|
|
9826
|
+
code: 6044,
|
|
9827
|
+
name: "SymbolTooLong"
|
|
9828
|
+
},
|
|
9829
|
+
{
|
|
9830
|
+
code: 6045,
|
|
9831
|
+
name: "UriTooLong"
|
|
9832
|
+
},
|
|
9833
|
+
{
|
|
9834
|
+
code: 6046,
|
|
9835
|
+
name: "CreateV2Disabled"
|
|
9464
9836
|
}
|
|
9465
9837
|
];
|
|
9466
9838
|
var types = [
|
|
@@ -9780,6 +10152,10 @@ var types = [
|
|
|
9780
10152
|
{
|
|
9781
10153
|
name: "token_total_supply",
|
|
9782
10154
|
type: "u64"
|
|
10155
|
+
},
|
|
10156
|
+
{
|
|
10157
|
+
name: "token_program",
|
|
10158
|
+
type: "pubkey"
|
|
9783
10159
|
}
|
|
9784
10160
|
]
|
|
9785
10161
|
}
|
|
@@ -9961,6 +10337,10 @@ var types = [
|
|
|
9961
10337
|
{
|
|
9962
10338
|
name: "admin_set_creator_authority",
|
|
9963
10339
|
type: "pubkey"
|
|
10340
|
+
},
|
|
10341
|
+
{
|
|
10342
|
+
name: "create_v2_enabled",
|
|
10343
|
+
type: "bool"
|
|
9964
10344
|
}
|
|
9965
10345
|
]
|
|
9966
10346
|
}
|
|
@@ -10465,6 +10845,9 @@ declare class PumpSdk {
|
|
|
10465
10845
|
decodeGlobalVolumeAccumulator(accountInfo: AccountInfo<Buffer>): GlobalVolumeAccumulator;
|
|
10466
10846
|
decodeUserVolumeAccumulator(accountInfo: AccountInfo<Buffer>): UserVolumeAccumulator;
|
|
10467
10847
|
decodeUserVolumeAccumulatorNullable(accountInfo: AccountInfo<Buffer>): UserVolumeAccumulator | null;
|
|
10848
|
+
/**
|
|
10849
|
+
* @deprecated Use `createInstructionV2` instead.
|
|
10850
|
+
*/
|
|
10468
10851
|
createInstruction({ mint, name, symbol, uri, creator, user, }: {
|
|
10469
10852
|
mint: PublicKey;
|
|
10470
10853
|
name: string;
|
|
@@ -10473,7 +10856,15 @@ declare class PumpSdk {
|
|
|
10473
10856
|
creator: PublicKey;
|
|
10474
10857
|
user: PublicKey;
|
|
10475
10858
|
}): Promise<TransactionInstruction>;
|
|
10476
|
-
|
|
10859
|
+
createV2Instruction({ mint, name, symbol, uri, creator, user, }: {
|
|
10860
|
+
mint: PublicKey;
|
|
10861
|
+
name: string;
|
|
10862
|
+
symbol: string;
|
|
10863
|
+
uri: string;
|
|
10864
|
+
creator: PublicKey;
|
|
10865
|
+
user: PublicKey;
|
|
10866
|
+
}): Promise<TransactionInstruction>;
|
|
10867
|
+
buyInstructions({ global, bondingCurveAccountInfo, bondingCurve, associatedUserAccountInfo, mint, user, amount, solAmount, slippage, tokenProgram, }: {
|
|
10477
10868
|
global: Global;
|
|
10478
10869
|
bondingCurveAccountInfo: AccountInfo<Buffer>;
|
|
10479
10870
|
bondingCurve: BondingCurve;
|
|
@@ -10483,7 +10874,22 @@ declare class PumpSdk {
|
|
|
10483
10874
|
amount: BN;
|
|
10484
10875
|
solAmount: BN;
|
|
10485
10876
|
slippage: number;
|
|
10877
|
+
tokenProgram: PublicKey;
|
|
10878
|
+
}): Promise<TransactionInstruction[]>;
|
|
10879
|
+
createV2AndBuyInstructions({ global, mint, name, symbol, uri, creator, user, amount, solAmount, }: {
|
|
10880
|
+
global: Global;
|
|
10881
|
+
mint: PublicKey;
|
|
10882
|
+
name: string;
|
|
10883
|
+
symbol: string;
|
|
10884
|
+
uri: string;
|
|
10885
|
+
creator: PublicKey;
|
|
10886
|
+
user: PublicKey;
|
|
10887
|
+
amount: BN;
|
|
10888
|
+
solAmount: BN;
|
|
10486
10889
|
}): Promise<TransactionInstruction[]>;
|
|
10890
|
+
/**
|
|
10891
|
+
* @deprecated Use `createV2AndBuyInstructions` instead.
|
|
10892
|
+
*/
|
|
10487
10893
|
createAndBuyInstructions({ global, mint, name, symbol, uri, creator, user, amount, solAmount, }: {
|
|
10488
10894
|
global: Global;
|
|
10489
10895
|
mint: PublicKey;
|
|
@@ -10496,7 +10902,7 @@ declare class PumpSdk {
|
|
|
10496
10902
|
solAmount: BN;
|
|
10497
10903
|
}): Promise<TransactionInstruction[]>;
|
|
10498
10904
|
private buyInstruction;
|
|
10499
|
-
sellInstructions({ global, bondingCurveAccountInfo, bondingCurve, mint, user, amount, solAmount, slippage, }: {
|
|
10905
|
+
sellInstructions({ global, bondingCurveAccountInfo, bondingCurve, mint, user, amount, solAmount, slippage, tokenProgram, }: {
|
|
10500
10906
|
global: Global;
|
|
10501
10907
|
bondingCurveAccountInfo: AccountInfo<Buffer>;
|
|
10502
10908
|
bondingCurve: BondingCurve;
|
|
@@ -10505,15 +10911,17 @@ declare class PumpSdk {
|
|
|
10505
10911
|
amount: BN;
|
|
10506
10912
|
solAmount: BN;
|
|
10507
10913
|
slippage: number;
|
|
10914
|
+
tokenProgram: PublicKey;
|
|
10508
10915
|
}): Promise<TransactionInstruction[]>;
|
|
10509
10916
|
extendAccountInstruction({ account, user, }: {
|
|
10510
10917
|
account: PublicKey;
|
|
10511
10918
|
user: PublicKey;
|
|
10512
10919
|
}): Promise<TransactionInstruction>;
|
|
10513
|
-
migrateInstruction({ withdrawAuthority, mint, user, }: {
|
|
10920
|
+
migrateInstruction({ withdrawAuthority, mint, user, tokenProgram }: {
|
|
10514
10921
|
withdrawAuthority: PublicKey;
|
|
10515
10922
|
mint: PublicKey;
|
|
10516
10923
|
user: PublicKey;
|
|
10924
|
+
tokenProgram: PublicKey;
|
|
10517
10925
|
}): Promise<TransactionInstruction>;
|
|
10518
10926
|
syncUserVolumeAccumulator(user: PublicKey): Promise<TransactionInstruction>;
|
|
10519
10927
|
syncUserVolumeAccumulatorBothPrograms(user: PublicKey): Promise<TransactionInstruction[]>;
|
|
@@ -10527,22 +10935,24 @@ declare class PumpSdk {
|
|
|
10527
10935
|
user: PublicKey;
|
|
10528
10936
|
}): Promise<TransactionInstruction>;
|
|
10529
10937
|
closeUserVolumeAccumulator(user: PublicKey): Promise<TransactionInstruction>;
|
|
10530
|
-
getBuyInstructionRaw({ user, mint, creator, amount, solAmount, feeRecipient, }: {
|
|
10938
|
+
getBuyInstructionRaw({ user, mint, creator, amount, solAmount, feeRecipient, tokenProgram, }: {
|
|
10531
10939
|
user: PublicKey;
|
|
10532
10940
|
mint: PublicKey;
|
|
10533
10941
|
creator: PublicKey;
|
|
10534
10942
|
amount: BN;
|
|
10535
10943
|
solAmount: BN;
|
|
10536
10944
|
feeRecipient: PublicKey;
|
|
10945
|
+
tokenProgram?: PublicKey;
|
|
10537
10946
|
}): Promise<TransactionInstruction>;
|
|
10538
10947
|
private getBuyInstructionInternal;
|
|
10539
|
-
getSellInstructionRaw({ user, mint, creator, amount, solAmount, feeRecipient, }: {
|
|
10948
|
+
getSellInstructionRaw({ user, mint, creator, amount, solAmount, feeRecipient, tokenProgram, }: {
|
|
10540
10949
|
user: PublicKey;
|
|
10541
10950
|
mint: PublicKey;
|
|
10542
10951
|
creator: PublicKey;
|
|
10543
10952
|
amount: BN;
|
|
10544
10953
|
solAmount: BN;
|
|
10545
10954
|
feeRecipient: PublicKey;
|
|
10955
|
+
tokenProgram: PublicKey;
|
|
10546
10956
|
}): Promise<TransactionInstruction>;
|
|
10547
10957
|
private getSellInstructionInternal;
|
|
10548
10958
|
}
|
|
@@ -10558,12 +10968,12 @@ declare class OnlinePumpSdk {
|
|
|
10558
10968
|
fetchGlobal(): Promise<Global>;
|
|
10559
10969
|
fetchFeeConfig(): Promise<FeeConfig>;
|
|
10560
10970
|
fetchBondingCurve(mint: PublicKeyInitData): Promise<BondingCurve>;
|
|
10561
|
-
fetchBuyState(mint: PublicKey, user: PublicKey): Promise<{
|
|
10971
|
+
fetchBuyState(mint: PublicKey, user: PublicKey, tokenProgram?: PublicKey): Promise<{
|
|
10562
10972
|
bondingCurveAccountInfo: _solana_web3_js.AccountInfo<Buffer<ArrayBufferLike>>;
|
|
10563
10973
|
bondingCurve: BondingCurve;
|
|
10564
10974
|
associatedUserAccountInfo: _solana_web3_js.AccountInfo<Buffer<ArrayBufferLike>> | null;
|
|
10565
10975
|
}>;
|
|
10566
|
-
fetchSellState(mint: PublicKey, user: PublicKey): Promise<{
|
|
10976
|
+
fetchSellState(mint: PublicKey, user: PublicKey, tokenProgram?: PublicKey): Promise<{
|
|
10567
10977
|
bondingCurveAccountInfo: _solana_web3_js.AccountInfo<Buffer<ArrayBufferLike>>;
|
|
10568
10978
|
bondingCurve: BondingCurve;
|
|
10569
10979
|
}>;
|