@streamflow/staking 7.5.2 → 7.5.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.
@@ -2,7 +2,7 @@
2
2
  "address": "STAKEvGqQTtzJZH6BWDcbpzXXn2BBerPAgQ3EGLN2GH",
3
3
  "metadata": {
4
4
  "name": "stake_pool",
5
- "version": "1.0.0",
5
+ "version": "2.1.1",
6
6
  "spec": "0.1.0",
7
7
  "description": "Program to manage Stake Pools and stake/unstake tokens"
8
8
  },
@@ -41,6 +41,100 @@
41
41
  ],
42
42
  "args": []
43
43
  },
44
+ {
45
+ "name": "create_lookup_table",
46
+ "discriminator": [
47
+ 74,
48
+ 26,
49
+ 45,
50
+ 214,
51
+ 23,
52
+ 155,
53
+ 143,
54
+ 153
55
+ ],
56
+ "accounts": [
57
+ {
58
+ "name": "stake_pool",
59
+ "docs": [
60
+ "Stake Pool"
61
+ ]
62
+ },
63
+ {
64
+ "name": "lookup_table_link",
65
+ "docs": [
66
+ "Link that will store address of the actual Lookup Table"
67
+ ],
68
+ "writable": true,
69
+ "pda": {
70
+ "seeds": [
71
+ {
72
+ "kind": "const",
73
+ "value": [
74
+ 108,
75
+ 111,
76
+ 111,
77
+ 107,
78
+ 117,
79
+ 112,
80
+ 45,
81
+ 116,
82
+ 97,
83
+ 98,
84
+ 108,
85
+ 101
86
+ ]
87
+ },
88
+ {
89
+ "kind": "account",
90
+ "path": "stake_pool"
91
+ },
92
+ {
93
+ "kind": "account",
94
+ "path": "authority"
95
+ },
96
+ {
97
+ "kind": "arg",
98
+ "path": "nonce"
99
+ }
100
+ ]
101
+ }
102
+ },
103
+ {
104
+ "name": "lookup_table",
105
+ "writable": true
106
+ },
107
+ {
108
+ "name": "lookup_table_program",
109
+ "address": "AddressLookupTab1e1111111111111111111111111"
110
+ },
111
+ {
112
+ "name": "payer",
113
+ "docs": [
114
+ "Payer of the transaction"
115
+ ],
116
+ "writable": true,
117
+ "signer": true
118
+ },
119
+ {
120
+ "name": "authority"
121
+ },
122
+ {
123
+ "name": "system_program",
124
+ "address": "11111111111111111111111111111111"
125
+ }
126
+ ],
127
+ "args": [
128
+ {
129
+ "name": "nonce",
130
+ "type": "u32"
131
+ },
132
+ {
133
+ "name": "recent_slot",
134
+ "type": "u64"
135
+ }
136
+ ]
137
+ },
44
138
  {
45
139
  "name": "create_pool",
46
140
  "discriminator": [
@@ -201,6 +295,189 @@
201
295
  }
202
296
  ]
203
297
  },
298
+ {
299
+ "name": "migrate_entry",
300
+ "discriminator": [
301
+ 239,
302
+ 154,
303
+ 55,
304
+ 173,
305
+ 110,
306
+ 36,
307
+ 188,
308
+ 214
309
+ ],
310
+ "accounts": [
311
+ {
312
+ "name": "stake_pool_from",
313
+ "docs": [
314
+ "Stake Pool"
315
+ ],
316
+ "writable": true,
317
+ "address": "Cja9f8JFS6sTgBqSRZGBrA2HDbUj4MZUGdtRYruKTeJp"
318
+ },
319
+ {
320
+ "name": "stake_pool_to",
321
+ "docs": [
322
+ "Stake Pool"
323
+ ],
324
+ "writable": true,
325
+ "address": "BXRBbWMkscNBZoBL4fgRk77GBUX9eVP4AendQEumtPi8"
326
+ },
327
+ {
328
+ "name": "stake_entry_from",
329
+ "docs": [
330
+ "Entry that will store Stake Metadata"
331
+ ],
332
+ "writable": true,
333
+ "pda": {
334
+ "seeds": [
335
+ {
336
+ "kind": "const",
337
+ "value": [
338
+ 115,
339
+ 116,
340
+ 97,
341
+ 107,
342
+ 101,
343
+ 45,
344
+ 101,
345
+ 110,
346
+ 116,
347
+ 114,
348
+ 121
349
+ ]
350
+ },
351
+ {
352
+ "kind": "account",
353
+ "path": "stake_pool_from"
354
+ },
355
+ {
356
+ "kind": "account",
357
+ "path": "authority"
358
+ },
359
+ {
360
+ "kind": "arg",
361
+ "path": "nonce"
362
+ }
363
+ ]
364
+ }
365
+ },
366
+ {
367
+ "name": "stake_entry_to",
368
+ "docs": [
369
+ "Entry that will store Stake Metadata"
370
+ ],
371
+ "writable": true,
372
+ "pda": {
373
+ "seeds": [
374
+ {
375
+ "kind": "const",
376
+ "value": [
377
+ 115,
378
+ 116,
379
+ 97,
380
+ 107,
381
+ 101,
382
+ 45,
383
+ 101,
384
+ 110,
385
+ 116,
386
+ 114,
387
+ 121
388
+ ]
389
+ },
390
+ {
391
+ "kind": "account",
392
+ "path": "stake_pool_to"
393
+ },
394
+ {
395
+ "kind": "account",
396
+ "path": "authority"
397
+ },
398
+ {
399
+ "kind": "arg",
400
+ "path": "new_nonce"
401
+ }
402
+ ]
403
+ }
404
+ },
405
+ {
406
+ "name": "vault_from",
407
+ "docs": [
408
+ "Stake Pool Vault that stores staked tokens"
409
+ ],
410
+ "writable": true
411
+ },
412
+ {
413
+ "name": "vault_to",
414
+ "docs": [
415
+ "Stake Pool Vault that stores staked tokens"
416
+ ],
417
+ "writable": true
418
+ },
419
+ {
420
+ "name": "to",
421
+ "docs": [
422
+ "Token Account to transfer Stake Mint tokens to"
423
+ ],
424
+ "writable": true
425
+ },
426
+ {
427
+ "name": "payer",
428
+ "docs": [
429
+ "Owner of the Token Account from which tokens will be staked"
430
+ ],
431
+ "writable": true,
432
+ "signer": true
433
+ },
434
+ {
435
+ "name": "authority"
436
+ },
437
+ {
438
+ "name": "mint",
439
+ "docs": [
440
+ "Original mint of staked tokens"
441
+ ],
442
+ "writable": true,
443
+ "relations": [
444
+ "stake_pool_from",
445
+ "stake_pool_to"
446
+ ]
447
+ },
448
+ {
449
+ "name": "stake_mint_from",
450
+ "docs": [
451
+ "Mint of stake tokens that will be minted in return for staking"
452
+ ],
453
+ "writable": true
454
+ },
455
+ {
456
+ "name": "stake_mint_to",
457
+ "docs": [
458
+ "Mint of stake tokens that will be minted in return for staking"
459
+ ],
460
+ "writable": true
461
+ },
462
+ {
463
+ "name": "token_program"
464
+ },
465
+ {
466
+ "name": "system_program",
467
+ "address": "11111111111111111111111111111111"
468
+ }
469
+ ],
470
+ "args": [
471
+ {
472
+ "name": "nonce",
473
+ "type": "u32"
474
+ },
475
+ {
476
+ "name": "new_nonce",
477
+ "type": "u32"
478
+ }
479
+ ]
480
+ },
204
481
  {
205
482
  "name": "request_unstake",
206
483
  "discriminator": [
@@ -620,6 +897,19 @@
620
897
  }
621
898
  ],
622
899
  "accounts": [
900
+ {
901
+ "name": "LookupTableLink",
902
+ "discriminator": [
903
+ 133,
904
+ 88,
905
+ 187,
906
+ 141,
907
+ 1,
908
+ 53,
909
+ 72,
910
+ 236
911
+ ]
912
+ },
623
913
  {
624
914
  "name": "StakeEntry",
625
915
  "discriminator": [
@@ -740,6 +1030,54 @@
740
1030
  }
741
1031
  ],
742
1032
  "types": [
1033
+ {
1034
+ "name": "LookupTableLink",
1035
+ "type": {
1036
+ "kind": "struct",
1037
+ "fields": [
1038
+ {
1039
+ "name": "nonce",
1040
+ "docs": [
1041
+ "Nonce to differentiate lookup tables for the same stake pool"
1042
+ ],
1043
+ "type": "u32"
1044
+ },
1045
+ {
1046
+ "name": "stake_pool",
1047
+ "docs": [
1048
+ "Stake Pool for which tokens were staked"
1049
+ ],
1050
+ "type": "pubkey"
1051
+ },
1052
+ {
1053
+ "name": "authority",
1054
+ "docs": [
1055
+ "Authority of the Entry"
1056
+ ],
1057
+ "type": "pubkey"
1058
+ },
1059
+ {
1060
+ "name": "lookup_table",
1061
+ "docs": [
1062
+ "Pubkey of the address lookup table"
1063
+ ],
1064
+ "type": "pubkey"
1065
+ },
1066
+ {
1067
+ "name": "_buffer",
1068
+ "docs": [
1069
+ "Buffer for additional fields"
1070
+ ],
1071
+ "type": {
1072
+ "array": [
1073
+ "u8",
1074
+ 64
1075
+ ]
1076
+ }
1077
+ }
1078
+ ]
1079
+ }
1080
+ },
743
1081
  {
744
1082
  "name": "StakeEntry",
745
1083
  "type": {
@@ -2,7 +2,7 @@
2
2
  "address": "STAKEvGqQTtzJZH6BWDcbpzXXn2BBerPAgQ3EGLN2GH",
3
3
  "metadata": {
4
4
  "name": "stake_pool",
5
- "version": "1.0.0",
5
+ "version": "2.1.1",
6
6
  "spec": "0.1.0",
7
7
  "description": "Program to manage Stake Pools and stake/unstake tokens"
8
8
  },
@@ -41,6 +41,100 @@
41
41
  ],
42
42
  "args": []
43
43
  },
44
+ {
45
+ "name": "create_lookup_table",
46
+ "discriminator": [
47
+ 74,
48
+ 26,
49
+ 45,
50
+ 214,
51
+ 23,
52
+ 155,
53
+ 143,
54
+ 153
55
+ ],
56
+ "accounts": [
57
+ {
58
+ "name": "stake_pool",
59
+ "docs": [
60
+ "Stake Pool"
61
+ ]
62
+ },
63
+ {
64
+ "name": "lookup_table_link",
65
+ "docs": [
66
+ "Link that will store address of the actual Lookup Table"
67
+ ],
68
+ "writable": true,
69
+ "pda": {
70
+ "seeds": [
71
+ {
72
+ "kind": "const",
73
+ "value": [
74
+ 108,
75
+ 111,
76
+ 111,
77
+ 107,
78
+ 117,
79
+ 112,
80
+ 45,
81
+ 116,
82
+ 97,
83
+ 98,
84
+ 108,
85
+ 101
86
+ ]
87
+ },
88
+ {
89
+ "kind": "account",
90
+ "path": "stake_pool"
91
+ },
92
+ {
93
+ "kind": "account",
94
+ "path": "authority"
95
+ },
96
+ {
97
+ "kind": "arg",
98
+ "path": "nonce"
99
+ }
100
+ ]
101
+ }
102
+ },
103
+ {
104
+ "name": "lookup_table",
105
+ "writable": true
106
+ },
107
+ {
108
+ "name": "lookup_table_program",
109
+ "address": "AddressLookupTab1e1111111111111111111111111"
110
+ },
111
+ {
112
+ "name": "payer",
113
+ "docs": [
114
+ "Payer of the transaction"
115
+ ],
116
+ "writable": true,
117
+ "signer": true
118
+ },
119
+ {
120
+ "name": "authority"
121
+ },
122
+ {
123
+ "name": "system_program",
124
+ "address": "11111111111111111111111111111111"
125
+ }
126
+ ],
127
+ "args": [
128
+ {
129
+ "name": "nonce",
130
+ "type": "u32"
131
+ },
132
+ {
133
+ "name": "recent_slot",
134
+ "type": "u64"
135
+ }
136
+ ]
137
+ },
44
138
  {
45
139
  "name": "create_pool",
46
140
  "discriminator": [
@@ -201,6 +295,189 @@
201
295
  }
202
296
  ]
203
297
  },
298
+ {
299
+ "name": "migrate_entry",
300
+ "discriminator": [
301
+ 239,
302
+ 154,
303
+ 55,
304
+ 173,
305
+ 110,
306
+ 36,
307
+ 188,
308
+ 214
309
+ ],
310
+ "accounts": [
311
+ {
312
+ "name": "stake_pool_from",
313
+ "docs": [
314
+ "Stake Pool"
315
+ ],
316
+ "writable": true,
317
+ "address": "Cja9f8JFS6sTgBqSRZGBrA2HDbUj4MZUGdtRYruKTeJp"
318
+ },
319
+ {
320
+ "name": "stake_pool_to",
321
+ "docs": [
322
+ "Stake Pool"
323
+ ],
324
+ "writable": true,
325
+ "address": "BXRBbWMkscNBZoBL4fgRk77GBUX9eVP4AendQEumtPi8"
326
+ },
327
+ {
328
+ "name": "stake_entry_from",
329
+ "docs": [
330
+ "Entry that will store Stake Metadata"
331
+ ],
332
+ "writable": true,
333
+ "pda": {
334
+ "seeds": [
335
+ {
336
+ "kind": "const",
337
+ "value": [
338
+ 115,
339
+ 116,
340
+ 97,
341
+ 107,
342
+ 101,
343
+ 45,
344
+ 101,
345
+ 110,
346
+ 116,
347
+ 114,
348
+ 121
349
+ ]
350
+ },
351
+ {
352
+ "kind": "account",
353
+ "path": "stake_pool_from"
354
+ },
355
+ {
356
+ "kind": "account",
357
+ "path": "authority"
358
+ },
359
+ {
360
+ "kind": "arg",
361
+ "path": "nonce"
362
+ }
363
+ ]
364
+ }
365
+ },
366
+ {
367
+ "name": "stake_entry_to",
368
+ "docs": [
369
+ "Entry that will store Stake Metadata"
370
+ ],
371
+ "writable": true,
372
+ "pda": {
373
+ "seeds": [
374
+ {
375
+ "kind": "const",
376
+ "value": [
377
+ 115,
378
+ 116,
379
+ 97,
380
+ 107,
381
+ 101,
382
+ 45,
383
+ 101,
384
+ 110,
385
+ 116,
386
+ 114,
387
+ 121
388
+ ]
389
+ },
390
+ {
391
+ "kind": "account",
392
+ "path": "stake_pool_to"
393
+ },
394
+ {
395
+ "kind": "account",
396
+ "path": "authority"
397
+ },
398
+ {
399
+ "kind": "arg",
400
+ "path": "new_nonce"
401
+ }
402
+ ]
403
+ }
404
+ },
405
+ {
406
+ "name": "vault_from",
407
+ "docs": [
408
+ "Stake Pool Vault that stores staked tokens"
409
+ ],
410
+ "writable": true
411
+ },
412
+ {
413
+ "name": "vault_to",
414
+ "docs": [
415
+ "Stake Pool Vault that stores staked tokens"
416
+ ],
417
+ "writable": true
418
+ },
419
+ {
420
+ "name": "to",
421
+ "docs": [
422
+ "Token Account to transfer Stake Mint tokens to"
423
+ ],
424
+ "writable": true
425
+ },
426
+ {
427
+ "name": "payer",
428
+ "docs": [
429
+ "Owner of the Token Account from which tokens will be staked"
430
+ ],
431
+ "writable": true,
432
+ "signer": true
433
+ },
434
+ {
435
+ "name": "authority"
436
+ },
437
+ {
438
+ "name": "mint",
439
+ "docs": [
440
+ "Original mint of staked tokens"
441
+ ],
442
+ "writable": true,
443
+ "relations": [
444
+ "stake_pool_from",
445
+ "stake_pool_to"
446
+ ]
447
+ },
448
+ {
449
+ "name": "stake_mint_from",
450
+ "docs": [
451
+ "Mint of stake tokens that will be minted in return for staking"
452
+ ],
453
+ "writable": true
454
+ },
455
+ {
456
+ "name": "stake_mint_to",
457
+ "docs": [
458
+ "Mint of stake tokens that will be minted in return for staking"
459
+ ],
460
+ "writable": true
461
+ },
462
+ {
463
+ "name": "token_program"
464
+ },
465
+ {
466
+ "name": "system_program",
467
+ "address": "11111111111111111111111111111111"
468
+ }
469
+ ],
470
+ "args": [
471
+ {
472
+ "name": "nonce",
473
+ "type": "u32"
474
+ },
475
+ {
476
+ "name": "new_nonce",
477
+ "type": "u32"
478
+ }
479
+ ]
480
+ },
204
481
  {
205
482
  "name": "request_unstake",
206
483
  "discriminator": [
@@ -620,6 +897,19 @@
620
897
  }
621
898
  ],
622
899
  "accounts": [
900
+ {
901
+ "name": "LookupTableLink",
902
+ "discriminator": [
903
+ 133,
904
+ 88,
905
+ 187,
906
+ 141,
907
+ 1,
908
+ 53,
909
+ 72,
910
+ 236
911
+ ]
912
+ },
623
913
  {
624
914
  "name": "StakeEntry",
625
915
  "discriminator": [
@@ -740,6 +1030,54 @@
740
1030
  }
741
1031
  ],
742
1032
  "types": [
1033
+ {
1034
+ "name": "LookupTableLink",
1035
+ "type": {
1036
+ "kind": "struct",
1037
+ "fields": [
1038
+ {
1039
+ "name": "nonce",
1040
+ "docs": [
1041
+ "Nonce to differentiate lookup tables for the same stake pool"
1042
+ ],
1043
+ "type": "u32"
1044
+ },
1045
+ {
1046
+ "name": "stake_pool",
1047
+ "docs": [
1048
+ "Stake Pool for which tokens were staked"
1049
+ ],
1050
+ "type": "pubkey"
1051
+ },
1052
+ {
1053
+ "name": "authority",
1054
+ "docs": [
1055
+ "Authority of the Entry"
1056
+ ],
1057
+ "type": "pubkey"
1058
+ },
1059
+ {
1060
+ "name": "lookup_table",
1061
+ "docs": [
1062
+ "Pubkey of the address lookup table"
1063
+ ],
1064
+ "type": "pubkey"
1065
+ },
1066
+ {
1067
+ "name": "_buffer",
1068
+ "docs": [
1069
+ "Buffer for additional fields"
1070
+ ],
1071
+ "type": {
1072
+ "array": [
1073
+ "u8",
1074
+ 64
1075
+ ]
1076
+ }
1077
+ }
1078
+ ]
1079
+ }
1080
+ },
743
1081
  {
744
1082
  "name": "StakeEntry",
745
1083
  "type": {
@@ -8,7 +8,7 @@ export type StakePool = {
8
8
  address: "STAKEvGqQTtzJZH6BWDcbpzXXn2BBerPAgQ3EGLN2GH";
9
9
  metadata: {
10
10
  name: "stakePool";
11
- version: "1.0.0";
11
+ version: "2.1.1";
12
12
  spec: "0.1.0";
13
13
  description: "Program to manage Stake Pools and stake/unstake tokens";
14
14
  };
@@ -34,6 +34,72 @@ export type StakePool = {
34
34
  ];
35
35
  args: [];
36
36
  },
37
+ {
38
+ name: "createLookupTable";
39
+ discriminator: [74, 26, 45, 214, 23, 155, 143, 153];
40
+ accounts: [
41
+ {
42
+ name: "stakePool";
43
+ docs: ["Stake Pool"];
44
+ },
45
+ {
46
+ name: "lookupTableLink";
47
+ docs: ["Link that will store address of the actual Lookup Table"];
48
+ writable: true;
49
+ pda: {
50
+ seeds: [
51
+ {
52
+ kind: "const";
53
+ value: [108, 111, 111, 107, 117, 112, 45, 116, 97, 98, 108, 101];
54
+ },
55
+ {
56
+ kind: "account";
57
+ path: "stakePool";
58
+ },
59
+ {
60
+ kind: "account";
61
+ path: "authority";
62
+ },
63
+ {
64
+ kind: "arg";
65
+ path: "nonce";
66
+ }
67
+ ];
68
+ };
69
+ },
70
+ {
71
+ name: "lookupTable";
72
+ writable: true;
73
+ },
74
+ {
75
+ name: "lookupTableProgram";
76
+ address: "AddressLookupTab1e1111111111111111111111111";
77
+ },
78
+ {
79
+ name: "payer";
80
+ docs: ["Payer of the transaction"];
81
+ writable: true;
82
+ signer: true;
83
+ },
84
+ {
85
+ name: "authority";
86
+ },
87
+ {
88
+ name: "systemProgram";
89
+ address: "11111111111111111111111111111111";
90
+ }
91
+ ];
92
+ args: [
93
+ {
94
+ name: "nonce";
95
+ type: "u32";
96
+ },
97
+ {
98
+ name: "recentSlot";
99
+ type: "u64";
100
+ }
101
+ ];
102
+ },
37
103
  {
38
104
  name: "createPool";
39
105
  discriminator: [233, 146, 209, 142, 207, 104, 64, 188];
@@ -147,6 +213,131 @@ export type StakePool = {
147
213
  }
148
214
  ];
149
215
  },
216
+ {
217
+ name: "migrateEntry";
218
+ discriminator: [239, 154, 55, 173, 110, 36, 188, 214];
219
+ accounts: [
220
+ {
221
+ name: "stakePoolFrom";
222
+ docs: ["Stake Pool"];
223
+ writable: true;
224
+ address: "Cja9f8JFS6sTgBqSRZGBrA2HDbUj4MZUGdtRYruKTeJp";
225
+ },
226
+ {
227
+ name: "stakePoolTo";
228
+ docs: ["Stake Pool"];
229
+ writable: true;
230
+ address: "BXRBbWMkscNBZoBL4fgRk77GBUX9eVP4AendQEumtPi8";
231
+ },
232
+ {
233
+ name: "stakeEntryFrom";
234
+ docs: ["Entry that will store Stake Metadata"];
235
+ writable: true;
236
+ pda: {
237
+ seeds: [
238
+ {
239
+ kind: "const";
240
+ value: [115, 116, 97, 107, 101, 45, 101, 110, 116, 114, 121];
241
+ },
242
+ {
243
+ kind: "account";
244
+ path: "stakePoolFrom";
245
+ },
246
+ {
247
+ kind: "account";
248
+ path: "authority";
249
+ },
250
+ {
251
+ kind: "arg";
252
+ path: "nonce";
253
+ }
254
+ ];
255
+ };
256
+ },
257
+ {
258
+ name: "stakeEntryTo";
259
+ docs: ["Entry that will store Stake Metadata"];
260
+ writable: true;
261
+ pda: {
262
+ seeds: [
263
+ {
264
+ kind: "const";
265
+ value: [115, 116, 97, 107, 101, 45, 101, 110, 116, 114, 121];
266
+ },
267
+ {
268
+ kind: "account";
269
+ path: "stakePoolTo";
270
+ },
271
+ {
272
+ kind: "account";
273
+ path: "authority";
274
+ },
275
+ {
276
+ kind: "arg";
277
+ path: "newNonce";
278
+ }
279
+ ];
280
+ };
281
+ },
282
+ {
283
+ name: "vaultFrom";
284
+ docs: ["Stake Pool Vault that stores staked tokens"];
285
+ writable: true;
286
+ },
287
+ {
288
+ name: "vaultTo";
289
+ docs: ["Stake Pool Vault that stores staked tokens"];
290
+ writable: true;
291
+ },
292
+ {
293
+ name: "to";
294
+ docs: ["Token Account to transfer Stake Mint tokens to"];
295
+ writable: true;
296
+ },
297
+ {
298
+ name: "payer";
299
+ docs: ["Owner of the Token Account from which tokens will be staked"];
300
+ writable: true;
301
+ signer: true;
302
+ },
303
+ {
304
+ name: "authority";
305
+ },
306
+ {
307
+ name: "mint";
308
+ docs: ["Original mint of staked tokens"];
309
+ writable: true;
310
+ relations: ["stakePoolFrom", "stakePoolTo"];
311
+ },
312
+ {
313
+ name: "stakeMintFrom";
314
+ docs: ["Mint of stake tokens that will be minted in return for staking"];
315
+ writable: true;
316
+ },
317
+ {
318
+ name: "stakeMintTo";
319
+ docs: ["Mint of stake tokens that will be minted in return for staking"];
320
+ writable: true;
321
+ },
322
+ {
323
+ name: "tokenProgram";
324
+ },
325
+ {
326
+ name: "systemProgram";
327
+ address: "11111111111111111111111111111111";
328
+ }
329
+ ];
330
+ args: [
331
+ {
332
+ name: "nonce";
333
+ type: "u32";
334
+ },
335
+ {
336
+ name: "newNonce";
337
+ type: "u32";
338
+ }
339
+ ];
340
+ },
150
341
  {
151
342
  name: "requestUnstake";
152
343
  discriminator: [44, 154, 110, 253, 160, 202, 54, 34];
@@ -436,6 +627,10 @@ export type StakePool = {
436
627
  }
437
628
  ];
438
629
  accounts: [
630
+ {
631
+ name: "lookupTableLink";
632
+ discriminator: [133, 88, 187, 141, 1, 53, 72, 236];
633
+ },
439
634
  {
440
635
  name: "stakeEntry";
441
636
  discriminator: [187, 127, 9, 35, 155, 68, 86, 40];
@@ -538,6 +733,41 @@ export type StakePool = {
538
733
  }
539
734
  ];
540
735
  types: [
736
+ {
737
+ name: "lookupTableLink";
738
+ type: {
739
+ kind: "struct";
740
+ fields: [
741
+ {
742
+ name: "nonce";
743
+ docs: ["Nonce to differentiate lookup tables for the same stake pool"];
744
+ type: "u32";
745
+ },
746
+ {
747
+ name: "stakePool";
748
+ docs: ["Stake Pool for which tokens were staked"];
749
+ type: "pubkey";
750
+ },
751
+ {
752
+ name: "authority";
753
+ docs: ["Authority of the Entry"];
754
+ type: "pubkey";
755
+ },
756
+ {
757
+ name: "lookupTable";
758
+ docs: ["Pubkey of the address lookup table"];
759
+ type: "pubkey";
760
+ },
761
+ {
762
+ name: "buffer";
763
+ docs: ["Buffer for additional fields"];
764
+ type: {
765
+ array: ["u8", 64];
766
+ };
767
+ }
768
+ ];
769
+ };
770
+ },
541
771
  {
542
772
  name: "stakeEntry";
543
773
  type: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamflow/staking",
3
- "version": "7.5.2",
3
+ "version": "7.5.3",
4
4
  "description": "JavaScript SDK to interact with Streamflow Staking protocol.",
5
5
  "homepage": "https://github.com/streamflow-finance/js-sdk/",
6
6
  "main": "dist/esm/index.js",
@@ -27,9 +27,9 @@
27
27
  "test": "vitest",
28
28
  "prepublishOnly": "pnpm run lint && pnpm run test run && pnpm run build"
29
29
  },
30
- "gitHead": "f19abd6ecfd39a972c15b59360921a6d05675886",
30
+ "gitHead": "b56dab35f092ac8b4bde4b47a423e2d209e81cdd",
31
31
  "devDependencies": {
32
- "@streamflow/eslint-config": "7.5.2",
32
+ "@streamflow/eslint-config": "7.5.3",
33
33
  "@types/bn.js": "5.1.1",
34
34
  "typescript": "^5.6.3"
35
35
  },
@@ -40,7 +40,7 @@
40
40
  "@solana/spl-token": "0.4.9",
41
41
  "@solana/wallet-adapter-base": "0.9.19",
42
42
  "@solana/web3.js": "1.95.4",
43
- "@streamflow/common": "7.5.2",
43
+ "@streamflow/common": "7.5.3",
44
44
  "bn.js": "5.2.1",
45
45
  "borsh": "^2.0.0",
46
46
  "bs58": "5.0.0",