@picon-finance/dlmm-sdk 2.0.3 → 2.0.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/generated/instructions/acceptAdminAuthority.d.ts +12 -11
- package/dist/generated/instructions/acceptAdminAuthority.d.ts.map +1 -1
- package/dist/generated/instructions/acceptAdminAuthority.js +16 -4
- package/dist/generated/instructions/claimFee.d.ts +19 -18
- package/dist/generated/instructions/claimFee.d.ts.map +1 -1
- package/dist/generated/instructions/claimFee.js +52 -12
- package/dist/generated/instructions/claimProtocolFee.d.ts +30 -29
- package/dist/generated/instructions/claimProtocolFee.d.ts.map +1 -1
- package/dist/generated/instructions/claimProtocolFee.js +90 -20
- package/dist/generated/instructions/closePosition.d.ts +18 -17
- package/dist/generated/instructions/closePosition.d.ts.map +1 -1
- package/dist/generated/instructions/closePosition.js +38 -10
- package/dist/generated/instructions/createAdminConfig.d.ts +18 -17
- package/dist/generated/instructions/createAdminConfig.d.ts.map +1 -1
- package/dist/generated/instructions/createAdminConfig.js +54 -12
- package/dist/generated/instructions/createBinArray.d.ts +16 -15
- package/dist/generated/instructions/createBinArray.d.ts.map +1 -1
- package/dist/generated/instructions/createBinArray.js +28 -10
- package/dist/generated/instructions/createPool.d.ts +30 -29
- package/dist/generated/instructions/createPool.d.ts.map +1 -1
- package/dist/generated/instructions/createPool.js +98 -22
- package/dist/generated/instructions/deleteBinArray.d.ts +18 -17
- package/dist/generated/instructions/deleteBinArray.d.ts.map +1 -1
- package/dist/generated/instructions/deleteBinArray.js +54 -12
- package/dist/generated/instructions/depositByWeight.d.ts +19 -18
- package/dist/generated/instructions/depositByWeight.d.ts.map +1 -1
- package/dist/generated/instructions/depositByWeight.js +52 -12
- package/dist/generated/instructions/openPosition.d.ts +28 -27
- package/dist/generated/instructions/openPosition.d.ts.map +1 -1
- package/dist/generated/instructions/openPosition.js +64 -16
- package/dist/generated/instructions/resetAdminAuthority.d.ts +16 -15
- package/dist/generated/instructions/resetAdminAuthority.d.ts.map +1 -1
- package/dist/generated/instructions/resetAdminAuthority.js +44 -10
- package/dist/generated/instructions/setMetadataUpdateAuthority.d.ts +12 -11
- package/dist/generated/instructions/setMetadataUpdateAuthority.d.ts.map +1 -1
- package/dist/generated/instructions/setMetadataUpdateAuthority.js +24 -6
- package/dist/generated/instructions/setPoolDynamicFeeConfig.d.ts +14 -13
- package/dist/generated/instructions/setPoolDynamicFeeConfig.d.ts.map +1 -1
- package/dist/generated/instructions/setPoolDynamicFeeConfig.js +26 -8
- package/dist/generated/instructions/setPoolProtocolShare.d.ts +14 -13
- package/dist/generated/instructions/setPoolProtocolShare.d.ts.map +1 -1
- package/dist/generated/instructions/setPoolProtocolShare.js +26 -8
- package/dist/generated/instructions/swapExactIn.d.ts +15 -14
- package/dist/generated/instructions/swapExactIn.d.ts.map +1 -1
- package/dist/generated/instructions/swapExactIn.js +36 -9
- package/dist/generated/instructions/swapExactOut.d.ts +15 -14
- package/dist/generated/instructions/swapExactOut.d.ts.map +1 -1
- package/dist/generated/instructions/swapExactOut.js +36 -9
- package/dist/generated/instructions/syncPool.d.ts +7 -6
- package/dist/generated/instructions/syncPool.d.ts.map +1 -1
- package/dist/generated/instructions/syncPool.js +4 -3
- package/dist/generated/instructions/transferAdminAuthority.d.ts +12 -11
- package/dist/generated/instructions/transferAdminAuthority.d.ts.map +1 -1
- package/dist/generated/instructions/transferAdminAuthority.js +24 -6
- package/dist/generated/instructions/withdraw.d.ts +19 -18
- package/dist/generated/instructions/withdraw.d.ts.map +1 -1
- package/dist/generated/instructions/withdraw.js +52 -12
- package/package.json +5 -5
- package/src/generated/instructions/acceptAdminAuthority.ts +68 -25
- package/src/generated/instructions/claimFee.ts +218 -83
- package/src/generated/instructions/claimProtocolFee.ts +346 -131
- package/src/generated/instructions/closePosition.ts +160 -61
- package/src/generated/instructions/createAdminConfig.ts +172 -63
- package/src/generated/instructions/createBinArray.ts +124 -51
- package/src/generated/instructions/createPool.ts +354 -133
- package/src/generated/instructions/deleteBinArray.ts +172 -63
- package/src/generated/instructions/depositByWeight.ts +218 -83
- package/src/generated/instructions/openPosition.ts +300 -117
- package/src/generated/instructions/resetAdminAuthority.ts +138 -51
- package/src/generated/instructions/setMetadataUpdateAuthority.ts +74 -27
- package/src/generated/instructions/setPoolDynamicFeeConfig.ts +98 -39
- package/src/generated/instructions/setPoolProtocolShare.ts +98 -39
- package/src/generated/instructions/swapExactIn.ts +155 -60
- package/src/generated/instructions/swapExactOut.ts +155 -60
- package/src/generated/instructions/syncPool.ts +37 -12
- package/src/generated/instructions/transferAdminAuthority.ts +74 -27
- package/src/generated/instructions/withdraw.ts +218 -83
|
@@ -43,12 +43,15 @@ import {
|
|
|
43
43
|
type ReadonlyAccount,
|
|
44
44
|
type ReadonlySignerAccount,
|
|
45
45
|
type ReadonlyUint8Array,
|
|
46
|
-
type TransactionSigner,
|
|
47
46
|
type WritableAccount,
|
|
48
47
|
} from "@solana/kit";
|
|
49
48
|
import {
|
|
50
49
|
getAccountMetaFactory,
|
|
50
|
+
type InstructionAccountInput,
|
|
51
|
+
type InstructionAccountInputAddress,
|
|
52
|
+
type InstructionSignerInput,
|
|
51
53
|
type ResolvedInstructionAccount,
|
|
54
|
+
type ResolvedInstructionAccountMeta,
|
|
52
55
|
} from "@solana/program-client-core";
|
|
53
56
|
import { PICON_DLMM_PROGRAM_ADDRESS } from "../programs/index.js";
|
|
54
57
|
import {
|
|
@@ -210,35 +213,42 @@ export function getDepositByWeightInstructionDataCodec(): Codec<
|
|
|
210
213
|
}
|
|
211
214
|
|
|
212
215
|
export type DepositByWeightInput<
|
|
213
|
-
TAccountOwner extends
|
|
214
|
-
TAccountPool extends
|
|
215
|
-
TAccountPosition extends
|
|
216
|
-
TAccountPositionTokenAccount extends
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
216
|
+
TAccountOwner extends InstructionSignerInput = InstructionSignerInput,
|
|
217
|
+
TAccountPool extends InstructionAccountInput = InstructionAccountInput,
|
|
218
|
+
TAccountPosition extends InstructionAccountInput = InstructionAccountInput,
|
|
219
|
+
TAccountPositionTokenAccount extends InstructionAccountInput =
|
|
220
|
+
InstructionAccountInput,
|
|
221
|
+
TAccountTokenMintX extends InstructionAccountInput = InstructionAccountInput,
|
|
222
|
+
TAccountTokenMintY extends InstructionAccountInput = InstructionAccountInput,
|
|
223
|
+
TAccountTokenOwnerAccountX extends InstructionAccountInput =
|
|
224
|
+
InstructionAccountInput,
|
|
225
|
+
TAccountTokenOwnerAccountY extends InstructionAccountInput =
|
|
226
|
+
InstructionAccountInput,
|
|
227
|
+
TAccountTokenVaultX extends InstructionAccountInput = InstructionAccountInput,
|
|
228
|
+
TAccountTokenVaultY extends InstructionAccountInput = InstructionAccountInput,
|
|
229
|
+
TAccountTokenProgramX extends InstructionAccountInput =
|
|
230
|
+
InstructionAccountInput,
|
|
231
|
+
TAccountTokenProgramY extends InstructionAccountInput =
|
|
232
|
+
InstructionAccountInput,
|
|
233
|
+
TAccountLowerBinArray extends InstructionAccountInput =
|
|
234
|
+
InstructionAccountInput,
|
|
235
|
+
TAccountUpperBinArray extends InstructionAccountInput =
|
|
236
|
+
InstructionAccountInput,
|
|
227
237
|
> = {
|
|
228
|
-
owner:
|
|
229
|
-
pool:
|
|
230
|
-
position:
|
|
231
|
-
positionTokenAccount:
|
|
232
|
-
tokenMintX:
|
|
233
|
-
tokenMintY:
|
|
234
|
-
tokenOwnerAccountX:
|
|
235
|
-
tokenOwnerAccountY:
|
|
236
|
-
tokenVaultX:
|
|
237
|
-
tokenVaultY:
|
|
238
|
-
tokenProgramX:
|
|
239
|
-
tokenProgramY:
|
|
240
|
-
lowerBinArray:
|
|
241
|
-
upperBinArray?:
|
|
238
|
+
owner: TAccountOwner;
|
|
239
|
+
pool: TAccountPool;
|
|
240
|
+
position: TAccountPosition;
|
|
241
|
+
positionTokenAccount: TAccountPositionTokenAccount;
|
|
242
|
+
tokenMintX: TAccountTokenMintX;
|
|
243
|
+
tokenMintY: TAccountTokenMintY;
|
|
244
|
+
tokenOwnerAccountX: TAccountTokenOwnerAccountX;
|
|
245
|
+
tokenOwnerAccountY: TAccountTokenOwnerAccountY;
|
|
246
|
+
tokenVaultX: TAccountTokenVaultX;
|
|
247
|
+
tokenVaultY: TAccountTokenVaultY;
|
|
248
|
+
tokenProgramX: TAccountTokenProgramX;
|
|
249
|
+
tokenProgramY: TAccountTokenProgramY;
|
|
250
|
+
lowerBinArray: TAccountLowerBinArray;
|
|
251
|
+
upperBinArray?: TAccountUpperBinArray;
|
|
242
252
|
amountX: DepositByWeightInstructionDataArgs["amountX"];
|
|
243
253
|
amountY: DepositByWeightInstructionDataArgs["amountY"];
|
|
244
254
|
activeBinId: DepositByWeightInstructionDataArgs["activeBinId"];
|
|
@@ -250,20 +260,20 @@ export type DepositByWeightInput<
|
|
|
250
260
|
};
|
|
251
261
|
|
|
252
262
|
export function getDepositByWeightInstruction<
|
|
253
|
-
TAccountOwner extends
|
|
254
|
-
TAccountPool extends
|
|
255
|
-
TAccountPosition extends
|
|
256
|
-
TAccountPositionTokenAccount extends
|
|
257
|
-
TAccountTokenMintX extends
|
|
258
|
-
TAccountTokenMintY extends
|
|
259
|
-
TAccountTokenOwnerAccountX extends
|
|
260
|
-
TAccountTokenOwnerAccountY extends
|
|
261
|
-
TAccountTokenVaultX extends
|
|
262
|
-
TAccountTokenVaultY extends
|
|
263
|
-
TAccountTokenProgramX extends
|
|
264
|
-
TAccountTokenProgramY extends
|
|
265
|
-
TAccountLowerBinArray extends
|
|
266
|
-
TAccountUpperBinArray extends
|
|
263
|
+
TAccountOwner extends InstructionSignerInput,
|
|
264
|
+
TAccountPool extends InstructionAccountInput,
|
|
265
|
+
TAccountPosition extends InstructionAccountInput,
|
|
266
|
+
TAccountPositionTokenAccount extends InstructionAccountInput,
|
|
267
|
+
TAccountTokenMintX extends InstructionAccountInput,
|
|
268
|
+
TAccountTokenMintY extends InstructionAccountInput,
|
|
269
|
+
TAccountTokenOwnerAccountX extends InstructionAccountInput,
|
|
270
|
+
TAccountTokenOwnerAccountY extends InstructionAccountInput,
|
|
271
|
+
TAccountTokenVaultX extends InstructionAccountInput,
|
|
272
|
+
TAccountTokenVaultY extends InstructionAccountInput,
|
|
273
|
+
TAccountTokenProgramX extends InstructionAccountInput,
|
|
274
|
+
TAccountTokenProgramY extends InstructionAccountInput,
|
|
275
|
+
TAccountLowerBinArray extends InstructionAccountInput,
|
|
276
|
+
TAccountUpperBinArray extends InstructionAccountInput,
|
|
267
277
|
TProgramAddress extends Address = typeof PICON_DLMM_PROGRAM_ADDRESS,
|
|
268
278
|
>(
|
|
269
279
|
input: DepositByWeightInput<
|
|
@@ -285,49 +295,133 @@ export function getDepositByWeightInstruction<
|
|
|
285
295
|
config?: { programAddress?: TProgramAddress },
|
|
286
296
|
): DepositByWeightInstruction<
|
|
287
297
|
TProgramAddress,
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
298
|
+
ResolvedInstructionAccountMeta<
|
|
299
|
+
TAccountOwner,
|
|
300
|
+
InstructionAccountInputAddress<TAccountOwner>
|
|
301
|
+
>,
|
|
302
|
+
ResolvedInstructionAccountMeta<
|
|
303
|
+
TAccountPool,
|
|
304
|
+
InstructionAccountInputAddress<TAccountPool>
|
|
305
|
+
>,
|
|
306
|
+
ResolvedInstructionAccountMeta<
|
|
307
|
+
TAccountPosition,
|
|
308
|
+
InstructionAccountInputAddress<TAccountPosition>
|
|
309
|
+
>,
|
|
310
|
+
ResolvedInstructionAccountMeta<
|
|
311
|
+
TAccountPositionTokenAccount,
|
|
312
|
+
InstructionAccountInputAddress<TAccountPositionTokenAccount>
|
|
313
|
+
>,
|
|
314
|
+
ResolvedInstructionAccountMeta<
|
|
315
|
+
TAccountTokenMintX,
|
|
316
|
+
InstructionAccountInputAddress<TAccountTokenMintX>
|
|
317
|
+
>,
|
|
318
|
+
ResolvedInstructionAccountMeta<
|
|
319
|
+
TAccountTokenMintY,
|
|
320
|
+
InstructionAccountInputAddress<TAccountTokenMintY>
|
|
321
|
+
>,
|
|
322
|
+
ResolvedInstructionAccountMeta<
|
|
323
|
+
TAccountTokenOwnerAccountX,
|
|
324
|
+
InstructionAccountInputAddress<TAccountTokenOwnerAccountX>
|
|
325
|
+
>,
|
|
326
|
+
ResolvedInstructionAccountMeta<
|
|
327
|
+
TAccountTokenOwnerAccountY,
|
|
328
|
+
InstructionAccountInputAddress<TAccountTokenOwnerAccountY>
|
|
329
|
+
>,
|
|
330
|
+
ResolvedInstructionAccountMeta<
|
|
331
|
+
TAccountTokenVaultX,
|
|
332
|
+
InstructionAccountInputAddress<TAccountTokenVaultX>
|
|
333
|
+
>,
|
|
334
|
+
ResolvedInstructionAccountMeta<
|
|
335
|
+
TAccountTokenVaultY,
|
|
336
|
+
InstructionAccountInputAddress<TAccountTokenVaultY>
|
|
337
|
+
>,
|
|
338
|
+
ResolvedInstructionAccountMeta<
|
|
339
|
+
TAccountTokenProgramX,
|
|
340
|
+
InstructionAccountInputAddress<TAccountTokenProgramX>
|
|
341
|
+
>,
|
|
342
|
+
ResolvedInstructionAccountMeta<
|
|
343
|
+
TAccountTokenProgramY,
|
|
344
|
+
InstructionAccountInputAddress<TAccountTokenProgramY>
|
|
345
|
+
>,
|
|
346
|
+
ResolvedInstructionAccountMeta<
|
|
347
|
+
TAccountLowerBinArray,
|
|
348
|
+
InstructionAccountInputAddress<TAccountLowerBinArray>
|
|
349
|
+
>,
|
|
350
|
+
ResolvedInstructionAccountMeta<
|
|
351
|
+
TAccountUpperBinArray,
|
|
352
|
+
InstructionAccountInputAddress<TAccountUpperBinArray>
|
|
353
|
+
>
|
|
302
354
|
> {
|
|
303
355
|
// Program address.
|
|
304
356
|
const programAddress = config?.programAddress ?? PICON_DLMM_PROGRAM_ADDRESS;
|
|
305
357
|
|
|
358
|
+
// Account meta helper.
|
|
359
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
360
|
+
|
|
306
361
|
// Original accounts.
|
|
307
362
|
const originalAccounts = {
|
|
308
|
-
owner: { value: input.owner ?? null, isWritable: false },
|
|
309
|
-
pool: { value: input.pool ?? null, isWritable: true },
|
|
310
|
-
position: {
|
|
363
|
+
owner: { value: input.owner ?? null, isSigner: true, isWritable: false },
|
|
364
|
+
pool: { value: input.pool ?? null, isSigner: false, isWritable: true },
|
|
365
|
+
position: {
|
|
366
|
+
value: input.position ?? null,
|
|
367
|
+
isSigner: false,
|
|
368
|
+
isWritable: true,
|
|
369
|
+
},
|
|
311
370
|
positionTokenAccount: {
|
|
312
371
|
value: input.positionTokenAccount ?? null,
|
|
372
|
+
isSigner: false,
|
|
373
|
+
isWritable: false,
|
|
374
|
+
},
|
|
375
|
+
tokenMintX: {
|
|
376
|
+
value: input.tokenMintX ?? null,
|
|
377
|
+
isSigner: false,
|
|
378
|
+
isWritable: false,
|
|
379
|
+
},
|
|
380
|
+
tokenMintY: {
|
|
381
|
+
value: input.tokenMintY ?? null,
|
|
382
|
+
isSigner: false,
|
|
313
383
|
isWritable: false,
|
|
314
384
|
},
|
|
315
|
-
tokenMintX: { value: input.tokenMintX ?? null, isWritable: false },
|
|
316
|
-
tokenMintY: { value: input.tokenMintY ?? null, isWritable: false },
|
|
317
385
|
tokenOwnerAccountX: {
|
|
318
386
|
value: input.tokenOwnerAccountX ?? null,
|
|
387
|
+
isSigner: false,
|
|
319
388
|
isWritable: true,
|
|
320
389
|
},
|
|
321
390
|
tokenOwnerAccountY: {
|
|
322
391
|
value: input.tokenOwnerAccountY ?? null,
|
|
392
|
+
isSigner: false,
|
|
393
|
+
isWritable: true,
|
|
394
|
+
},
|
|
395
|
+
tokenVaultX: {
|
|
396
|
+
value: input.tokenVaultX ?? null,
|
|
397
|
+
isSigner: false,
|
|
398
|
+
isWritable: true,
|
|
399
|
+
},
|
|
400
|
+
tokenVaultY: {
|
|
401
|
+
value: input.tokenVaultY ?? null,
|
|
402
|
+
isSigner: false,
|
|
403
|
+
isWritable: true,
|
|
404
|
+
},
|
|
405
|
+
tokenProgramX: {
|
|
406
|
+
value: input.tokenProgramX ?? null,
|
|
407
|
+
isSigner: false,
|
|
408
|
+
isWritable: false,
|
|
409
|
+
},
|
|
410
|
+
tokenProgramY: {
|
|
411
|
+
value: input.tokenProgramY ?? null,
|
|
412
|
+
isSigner: false,
|
|
413
|
+
isWritable: false,
|
|
414
|
+
},
|
|
415
|
+
lowerBinArray: {
|
|
416
|
+
value: input.lowerBinArray ?? null,
|
|
417
|
+
isSigner: false,
|
|
418
|
+
isWritable: true,
|
|
419
|
+
},
|
|
420
|
+
upperBinArray: {
|
|
421
|
+
value: input.upperBinArray ?? null,
|
|
422
|
+
isSigner: false,
|
|
323
423
|
isWritable: true,
|
|
324
424
|
},
|
|
325
|
-
tokenVaultX: { value: input.tokenVaultX ?? null, isWritable: true },
|
|
326
|
-
tokenVaultY: { value: input.tokenVaultY ?? null, isWritable: true },
|
|
327
|
-
tokenProgramX: { value: input.tokenProgramX ?? null, isWritable: false },
|
|
328
|
-
tokenProgramY: { value: input.tokenProgramY ?? null, isWritable: false },
|
|
329
|
-
lowerBinArray: { value: input.lowerBinArray ?? null, isWritable: true },
|
|
330
|
-
upperBinArray: { value: input.upperBinArray ?? null, isWritable: true },
|
|
331
425
|
};
|
|
332
426
|
const accounts = originalAccounts as Record<
|
|
333
427
|
keyof typeof originalAccounts,
|
|
@@ -337,7 +431,6 @@ export function getDepositByWeightInstruction<
|
|
|
337
431
|
// Original args.
|
|
338
432
|
const args = { ...input };
|
|
339
433
|
|
|
340
|
-
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
341
434
|
return Object.freeze({
|
|
342
435
|
accounts: [
|
|
343
436
|
getAccountMeta("owner", accounts.owner),
|
|
@@ -361,20 +454,62 @@ export function getDepositByWeightInstruction<
|
|
|
361
454
|
programAddress,
|
|
362
455
|
} as DepositByWeightInstruction<
|
|
363
456
|
TProgramAddress,
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
457
|
+
ResolvedInstructionAccountMeta<
|
|
458
|
+
TAccountOwner,
|
|
459
|
+
InstructionAccountInputAddress<TAccountOwner>
|
|
460
|
+
>,
|
|
461
|
+
ResolvedInstructionAccountMeta<
|
|
462
|
+
TAccountPool,
|
|
463
|
+
InstructionAccountInputAddress<TAccountPool>
|
|
464
|
+
>,
|
|
465
|
+
ResolvedInstructionAccountMeta<
|
|
466
|
+
TAccountPosition,
|
|
467
|
+
InstructionAccountInputAddress<TAccountPosition>
|
|
468
|
+
>,
|
|
469
|
+
ResolvedInstructionAccountMeta<
|
|
470
|
+
TAccountPositionTokenAccount,
|
|
471
|
+
InstructionAccountInputAddress<TAccountPositionTokenAccount>
|
|
472
|
+
>,
|
|
473
|
+
ResolvedInstructionAccountMeta<
|
|
474
|
+
TAccountTokenMintX,
|
|
475
|
+
InstructionAccountInputAddress<TAccountTokenMintX>
|
|
476
|
+
>,
|
|
477
|
+
ResolvedInstructionAccountMeta<
|
|
478
|
+
TAccountTokenMintY,
|
|
479
|
+
InstructionAccountInputAddress<TAccountTokenMintY>
|
|
480
|
+
>,
|
|
481
|
+
ResolvedInstructionAccountMeta<
|
|
482
|
+
TAccountTokenOwnerAccountX,
|
|
483
|
+
InstructionAccountInputAddress<TAccountTokenOwnerAccountX>
|
|
484
|
+
>,
|
|
485
|
+
ResolvedInstructionAccountMeta<
|
|
486
|
+
TAccountTokenOwnerAccountY,
|
|
487
|
+
InstructionAccountInputAddress<TAccountTokenOwnerAccountY>
|
|
488
|
+
>,
|
|
489
|
+
ResolvedInstructionAccountMeta<
|
|
490
|
+
TAccountTokenVaultX,
|
|
491
|
+
InstructionAccountInputAddress<TAccountTokenVaultX>
|
|
492
|
+
>,
|
|
493
|
+
ResolvedInstructionAccountMeta<
|
|
494
|
+
TAccountTokenVaultY,
|
|
495
|
+
InstructionAccountInputAddress<TAccountTokenVaultY>
|
|
496
|
+
>,
|
|
497
|
+
ResolvedInstructionAccountMeta<
|
|
498
|
+
TAccountTokenProgramX,
|
|
499
|
+
InstructionAccountInputAddress<TAccountTokenProgramX>
|
|
500
|
+
>,
|
|
501
|
+
ResolvedInstructionAccountMeta<
|
|
502
|
+
TAccountTokenProgramY,
|
|
503
|
+
InstructionAccountInputAddress<TAccountTokenProgramY>
|
|
504
|
+
>,
|
|
505
|
+
ResolvedInstructionAccountMeta<
|
|
506
|
+
TAccountLowerBinArray,
|
|
507
|
+
InstructionAccountInputAddress<TAccountLowerBinArray>
|
|
508
|
+
>,
|
|
509
|
+
ResolvedInstructionAccountMeta<
|
|
510
|
+
TAccountUpperBinArray,
|
|
511
|
+
InstructionAccountInputAddress<TAccountUpperBinArray>
|
|
512
|
+
>
|
|
378
513
|
>);
|
|
379
514
|
}
|
|
380
515
|
|