@picon-finance/dlmm-sdk 2.0.2 → 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/entities/dlmm_program.d.ts +1 -1
- package/dist/entities/dlmm_program.d.ts.map +1 -1
- package/dist/entities/dlmm_program.js +2 -2
- package/dist/entities/pool.d.ts +1 -1
- package/dist/entities/pool.d.ts.map +1 -1
- 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 +8 -8
- package/src/entities/dlmm_program.ts +3 -3
- 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
|
@@ -37,12 +37,15 @@ import {
|
|
|
37
37
|
type ReadonlyAccount,
|
|
38
38
|
type ReadonlySignerAccount,
|
|
39
39
|
type ReadonlyUint8Array,
|
|
40
|
-
type TransactionSigner,
|
|
41
40
|
type WritableAccount,
|
|
42
41
|
} from "@solana/kit";
|
|
43
42
|
import {
|
|
44
43
|
getAccountMetaFactory,
|
|
44
|
+
type InstructionAccountInput,
|
|
45
|
+
type InstructionAccountInputAddress,
|
|
46
|
+
type InstructionSignerInput,
|
|
45
47
|
type ResolvedInstructionAccount,
|
|
48
|
+
type ResolvedInstructionAccountMeta,
|
|
46
49
|
} from "@solana/program-client-core";
|
|
47
50
|
import { PICON_DLMM_PROGRAM_ADDRESS } from "../programs/index.js";
|
|
48
51
|
import {
|
|
@@ -183,35 +186,42 @@ export function getWithdrawInstructionDataCodec(): Codec<
|
|
|
183
186
|
}
|
|
184
187
|
|
|
185
188
|
export type WithdrawInput<
|
|
186
|
-
TAccountOwner extends
|
|
187
|
-
TAccountPool extends
|
|
188
|
-
TAccountPosition extends
|
|
189
|
-
TAccountPositionTokenAccount extends
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
189
|
+
TAccountOwner extends InstructionSignerInput = InstructionSignerInput,
|
|
190
|
+
TAccountPool extends InstructionAccountInput = InstructionAccountInput,
|
|
191
|
+
TAccountPosition extends InstructionAccountInput = InstructionAccountInput,
|
|
192
|
+
TAccountPositionTokenAccount extends InstructionAccountInput =
|
|
193
|
+
InstructionAccountInput,
|
|
194
|
+
TAccountTokenMintX extends InstructionAccountInput = InstructionAccountInput,
|
|
195
|
+
TAccountTokenMintY extends InstructionAccountInput = InstructionAccountInput,
|
|
196
|
+
TAccountTokenOwnerAccountX extends InstructionAccountInput =
|
|
197
|
+
InstructionAccountInput,
|
|
198
|
+
TAccountTokenOwnerAccountY extends InstructionAccountInput =
|
|
199
|
+
InstructionAccountInput,
|
|
200
|
+
TAccountTokenVaultX extends InstructionAccountInput = InstructionAccountInput,
|
|
201
|
+
TAccountTokenVaultY extends InstructionAccountInput = InstructionAccountInput,
|
|
202
|
+
TAccountTokenProgramX extends InstructionAccountInput =
|
|
203
|
+
InstructionAccountInput,
|
|
204
|
+
TAccountTokenProgramY extends InstructionAccountInput =
|
|
205
|
+
InstructionAccountInput,
|
|
206
|
+
TAccountLowerBinArray extends InstructionAccountInput =
|
|
207
|
+
InstructionAccountInput,
|
|
208
|
+
TAccountUpperBinArray extends InstructionAccountInput =
|
|
209
|
+
InstructionAccountInput,
|
|
200
210
|
> = {
|
|
201
|
-
owner:
|
|
202
|
-
pool:
|
|
203
|
-
position:
|
|
204
|
-
positionTokenAccount:
|
|
205
|
-
tokenMintX:
|
|
206
|
-
tokenMintY:
|
|
207
|
-
tokenOwnerAccountX:
|
|
208
|
-
tokenOwnerAccountY:
|
|
209
|
-
tokenVaultX:
|
|
210
|
-
tokenVaultY:
|
|
211
|
-
tokenProgramX:
|
|
212
|
-
tokenProgramY:
|
|
213
|
-
lowerBinArray:
|
|
214
|
-
upperBinArray?:
|
|
211
|
+
owner: TAccountOwner;
|
|
212
|
+
pool: TAccountPool;
|
|
213
|
+
position: TAccountPosition;
|
|
214
|
+
positionTokenAccount: TAccountPositionTokenAccount;
|
|
215
|
+
tokenMintX: TAccountTokenMintX;
|
|
216
|
+
tokenMintY: TAccountTokenMintY;
|
|
217
|
+
tokenOwnerAccountX: TAccountTokenOwnerAccountX;
|
|
218
|
+
tokenOwnerAccountY: TAccountTokenOwnerAccountY;
|
|
219
|
+
tokenVaultX: TAccountTokenVaultX;
|
|
220
|
+
tokenVaultY: TAccountTokenVaultY;
|
|
221
|
+
tokenProgramX: TAccountTokenProgramX;
|
|
222
|
+
tokenProgramY: TAccountTokenProgramY;
|
|
223
|
+
lowerBinArray: TAccountLowerBinArray;
|
|
224
|
+
upperBinArray?: TAccountUpperBinArray;
|
|
215
225
|
lowerBinId: WithdrawInstructionDataArgs["lowerBinId"];
|
|
216
226
|
upperBinId: WithdrawInstructionDataArgs["upperBinId"];
|
|
217
227
|
bpsToRemove: WithdrawInstructionDataArgs["bpsToRemove"];
|
|
@@ -219,20 +229,20 @@ export type WithdrawInput<
|
|
|
219
229
|
};
|
|
220
230
|
|
|
221
231
|
export function getWithdrawInstruction<
|
|
222
|
-
TAccountOwner extends
|
|
223
|
-
TAccountPool extends
|
|
224
|
-
TAccountPosition extends
|
|
225
|
-
TAccountPositionTokenAccount extends
|
|
226
|
-
TAccountTokenMintX extends
|
|
227
|
-
TAccountTokenMintY extends
|
|
228
|
-
TAccountTokenOwnerAccountX extends
|
|
229
|
-
TAccountTokenOwnerAccountY extends
|
|
230
|
-
TAccountTokenVaultX extends
|
|
231
|
-
TAccountTokenVaultY extends
|
|
232
|
-
TAccountTokenProgramX extends
|
|
233
|
-
TAccountTokenProgramY extends
|
|
234
|
-
TAccountLowerBinArray extends
|
|
235
|
-
TAccountUpperBinArray extends
|
|
232
|
+
TAccountOwner extends InstructionSignerInput,
|
|
233
|
+
TAccountPool extends InstructionAccountInput,
|
|
234
|
+
TAccountPosition extends InstructionAccountInput,
|
|
235
|
+
TAccountPositionTokenAccount extends InstructionAccountInput,
|
|
236
|
+
TAccountTokenMintX extends InstructionAccountInput,
|
|
237
|
+
TAccountTokenMintY extends InstructionAccountInput,
|
|
238
|
+
TAccountTokenOwnerAccountX extends InstructionAccountInput,
|
|
239
|
+
TAccountTokenOwnerAccountY extends InstructionAccountInput,
|
|
240
|
+
TAccountTokenVaultX extends InstructionAccountInput,
|
|
241
|
+
TAccountTokenVaultY extends InstructionAccountInput,
|
|
242
|
+
TAccountTokenProgramX extends InstructionAccountInput,
|
|
243
|
+
TAccountTokenProgramY extends InstructionAccountInput,
|
|
244
|
+
TAccountLowerBinArray extends InstructionAccountInput,
|
|
245
|
+
TAccountUpperBinArray extends InstructionAccountInput,
|
|
236
246
|
TProgramAddress extends Address = typeof PICON_DLMM_PROGRAM_ADDRESS,
|
|
237
247
|
>(
|
|
238
248
|
input: WithdrawInput<
|
|
@@ -254,49 +264,133 @@ export function getWithdrawInstruction<
|
|
|
254
264
|
config?: { programAddress?: TProgramAddress },
|
|
255
265
|
): WithdrawInstruction<
|
|
256
266
|
TProgramAddress,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
267
|
+
ResolvedInstructionAccountMeta<
|
|
268
|
+
TAccountOwner,
|
|
269
|
+
InstructionAccountInputAddress<TAccountOwner>
|
|
270
|
+
>,
|
|
271
|
+
ResolvedInstructionAccountMeta<
|
|
272
|
+
TAccountPool,
|
|
273
|
+
InstructionAccountInputAddress<TAccountPool>
|
|
274
|
+
>,
|
|
275
|
+
ResolvedInstructionAccountMeta<
|
|
276
|
+
TAccountPosition,
|
|
277
|
+
InstructionAccountInputAddress<TAccountPosition>
|
|
278
|
+
>,
|
|
279
|
+
ResolvedInstructionAccountMeta<
|
|
280
|
+
TAccountPositionTokenAccount,
|
|
281
|
+
InstructionAccountInputAddress<TAccountPositionTokenAccount>
|
|
282
|
+
>,
|
|
283
|
+
ResolvedInstructionAccountMeta<
|
|
284
|
+
TAccountTokenMintX,
|
|
285
|
+
InstructionAccountInputAddress<TAccountTokenMintX>
|
|
286
|
+
>,
|
|
287
|
+
ResolvedInstructionAccountMeta<
|
|
288
|
+
TAccountTokenMintY,
|
|
289
|
+
InstructionAccountInputAddress<TAccountTokenMintY>
|
|
290
|
+
>,
|
|
291
|
+
ResolvedInstructionAccountMeta<
|
|
292
|
+
TAccountTokenOwnerAccountX,
|
|
293
|
+
InstructionAccountInputAddress<TAccountTokenOwnerAccountX>
|
|
294
|
+
>,
|
|
295
|
+
ResolvedInstructionAccountMeta<
|
|
296
|
+
TAccountTokenOwnerAccountY,
|
|
297
|
+
InstructionAccountInputAddress<TAccountTokenOwnerAccountY>
|
|
298
|
+
>,
|
|
299
|
+
ResolvedInstructionAccountMeta<
|
|
300
|
+
TAccountTokenVaultX,
|
|
301
|
+
InstructionAccountInputAddress<TAccountTokenVaultX>
|
|
302
|
+
>,
|
|
303
|
+
ResolvedInstructionAccountMeta<
|
|
304
|
+
TAccountTokenVaultY,
|
|
305
|
+
InstructionAccountInputAddress<TAccountTokenVaultY>
|
|
306
|
+
>,
|
|
307
|
+
ResolvedInstructionAccountMeta<
|
|
308
|
+
TAccountTokenProgramX,
|
|
309
|
+
InstructionAccountInputAddress<TAccountTokenProgramX>
|
|
310
|
+
>,
|
|
311
|
+
ResolvedInstructionAccountMeta<
|
|
312
|
+
TAccountTokenProgramY,
|
|
313
|
+
InstructionAccountInputAddress<TAccountTokenProgramY>
|
|
314
|
+
>,
|
|
315
|
+
ResolvedInstructionAccountMeta<
|
|
316
|
+
TAccountLowerBinArray,
|
|
317
|
+
InstructionAccountInputAddress<TAccountLowerBinArray>
|
|
318
|
+
>,
|
|
319
|
+
ResolvedInstructionAccountMeta<
|
|
320
|
+
TAccountUpperBinArray,
|
|
321
|
+
InstructionAccountInputAddress<TAccountUpperBinArray>
|
|
322
|
+
>
|
|
271
323
|
> {
|
|
272
324
|
// Program address.
|
|
273
325
|
const programAddress = config?.programAddress ?? PICON_DLMM_PROGRAM_ADDRESS;
|
|
274
326
|
|
|
327
|
+
// Account meta helper.
|
|
328
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
329
|
+
|
|
275
330
|
// Original accounts.
|
|
276
331
|
const originalAccounts = {
|
|
277
|
-
owner: { value: input.owner ?? null, isWritable: false },
|
|
278
|
-
pool: { value: input.pool ?? null, isWritable: false },
|
|
279
|
-
position: {
|
|
332
|
+
owner: { value: input.owner ?? null, isSigner: true, isWritable: false },
|
|
333
|
+
pool: { value: input.pool ?? null, isSigner: false, isWritable: false },
|
|
334
|
+
position: {
|
|
335
|
+
value: input.position ?? null,
|
|
336
|
+
isSigner: false,
|
|
337
|
+
isWritable: true,
|
|
338
|
+
},
|
|
280
339
|
positionTokenAccount: {
|
|
281
340
|
value: input.positionTokenAccount ?? null,
|
|
341
|
+
isSigner: false,
|
|
342
|
+
isWritable: false,
|
|
343
|
+
},
|
|
344
|
+
tokenMintX: {
|
|
345
|
+
value: input.tokenMintX ?? null,
|
|
346
|
+
isSigner: false,
|
|
347
|
+
isWritable: false,
|
|
348
|
+
},
|
|
349
|
+
tokenMintY: {
|
|
350
|
+
value: input.tokenMintY ?? null,
|
|
351
|
+
isSigner: false,
|
|
282
352
|
isWritable: false,
|
|
283
353
|
},
|
|
284
|
-
tokenMintX: { value: input.tokenMintX ?? null, isWritable: false },
|
|
285
|
-
tokenMintY: { value: input.tokenMintY ?? null, isWritable: false },
|
|
286
354
|
tokenOwnerAccountX: {
|
|
287
355
|
value: input.tokenOwnerAccountX ?? null,
|
|
356
|
+
isSigner: false,
|
|
288
357
|
isWritable: true,
|
|
289
358
|
},
|
|
290
359
|
tokenOwnerAccountY: {
|
|
291
360
|
value: input.tokenOwnerAccountY ?? null,
|
|
361
|
+
isSigner: false,
|
|
362
|
+
isWritable: true,
|
|
363
|
+
},
|
|
364
|
+
tokenVaultX: {
|
|
365
|
+
value: input.tokenVaultX ?? null,
|
|
366
|
+
isSigner: false,
|
|
367
|
+
isWritable: true,
|
|
368
|
+
},
|
|
369
|
+
tokenVaultY: {
|
|
370
|
+
value: input.tokenVaultY ?? null,
|
|
371
|
+
isSigner: false,
|
|
372
|
+
isWritable: true,
|
|
373
|
+
},
|
|
374
|
+
tokenProgramX: {
|
|
375
|
+
value: input.tokenProgramX ?? null,
|
|
376
|
+
isSigner: false,
|
|
377
|
+
isWritable: false,
|
|
378
|
+
},
|
|
379
|
+
tokenProgramY: {
|
|
380
|
+
value: input.tokenProgramY ?? null,
|
|
381
|
+
isSigner: false,
|
|
382
|
+
isWritable: false,
|
|
383
|
+
},
|
|
384
|
+
lowerBinArray: {
|
|
385
|
+
value: input.lowerBinArray ?? null,
|
|
386
|
+
isSigner: false,
|
|
387
|
+
isWritable: true,
|
|
388
|
+
},
|
|
389
|
+
upperBinArray: {
|
|
390
|
+
value: input.upperBinArray ?? null,
|
|
391
|
+
isSigner: false,
|
|
292
392
|
isWritable: true,
|
|
293
393
|
},
|
|
294
|
-
tokenVaultX: { value: input.tokenVaultX ?? null, isWritable: true },
|
|
295
|
-
tokenVaultY: { value: input.tokenVaultY ?? null, isWritable: true },
|
|
296
|
-
tokenProgramX: { value: input.tokenProgramX ?? null, isWritable: false },
|
|
297
|
-
tokenProgramY: { value: input.tokenProgramY ?? null, isWritable: false },
|
|
298
|
-
lowerBinArray: { value: input.lowerBinArray ?? null, isWritable: true },
|
|
299
|
-
upperBinArray: { value: input.upperBinArray ?? null, isWritable: true },
|
|
300
394
|
};
|
|
301
395
|
const accounts = originalAccounts as Record<
|
|
302
396
|
keyof typeof originalAccounts,
|
|
@@ -306,7 +400,6 @@ export function getWithdrawInstruction<
|
|
|
306
400
|
// Original args.
|
|
307
401
|
const args = { ...input };
|
|
308
402
|
|
|
309
|
-
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
310
403
|
return Object.freeze({
|
|
311
404
|
accounts: [
|
|
312
405
|
getAccountMeta("owner", accounts.owner),
|
|
@@ -330,20 +423,62 @@ export function getWithdrawInstruction<
|
|
|
330
423
|
programAddress,
|
|
331
424
|
} as WithdrawInstruction<
|
|
332
425
|
TProgramAddress,
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
426
|
+
ResolvedInstructionAccountMeta<
|
|
427
|
+
TAccountOwner,
|
|
428
|
+
InstructionAccountInputAddress<TAccountOwner>
|
|
429
|
+
>,
|
|
430
|
+
ResolvedInstructionAccountMeta<
|
|
431
|
+
TAccountPool,
|
|
432
|
+
InstructionAccountInputAddress<TAccountPool>
|
|
433
|
+
>,
|
|
434
|
+
ResolvedInstructionAccountMeta<
|
|
435
|
+
TAccountPosition,
|
|
436
|
+
InstructionAccountInputAddress<TAccountPosition>
|
|
437
|
+
>,
|
|
438
|
+
ResolvedInstructionAccountMeta<
|
|
439
|
+
TAccountPositionTokenAccount,
|
|
440
|
+
InstructionAccountInputAddress<TAccountPositionTokenAccount>
|
|
441
|
+
>,
|
|
442
|
+
ResolvedInstructionAccountMeta<
|
|
443
|
+
TAccountTokenMintX,
|
|
444
|
+
InstructionAccountInputAddress<TAccountTokenMintX>
|
|
445
|
+
>,
|
|
446
|
+
ResolvedInstructionAccountMeta<
|
|
447
|
+
TAccountTokenMintY,
|
|
448
|
+
InstructionAccountInputAddress<TAccountTokenMintY>
|
|
449
|
+
>,
|
|
450
|
+
ResolvedInstructionAccountMeta<
|
|
451
|
+
TAccountTokenOwnerAccountX,
|
|
452
|
+
InstructionAccountInputAddress<TAccountTokenOwnerAccountX>
|
|
453
|
+
>,
|
|
454
|
+
ResolvedInstructionAccountMeta<
|
|
455
|
+
TAccountTokenOwnerAccountY,
|
|
456
|
+
InstructionAccountInputAddress<TAccountTokenOwnerAccountY>
|
|
457
|
+
>,
|
|
458
|
+
ResolvedInstructionAccountMeta<
|
|
459
|
+
TAccountTokenVaultX,
|
|
460
|
+
InstructionAccountInputAddress<TAccountTokenVaultX>
|
|
461
|
+
>,
|
|
462
|
+
ResolvedInstructionAccountMeta<
|
|
463
|
+
TAccountTokenVaultY,
|
|
464
|
+
InstructionAccountInputAddress<TAccountTokenVaultY>
|
|
465
|
+
>,
|
|
466
|
+
ResolvedInstructionAccountMeta<
|
|
467
|
+
TAccountTokenProgramX,
|
|
468
|
+
InstructionAccountInputAddress<TAccountTokenProgramX>
|
|
469
|
+
>,
|
|
470
|
+
ResolvedInstructionAccountMeta<
|
|
471
|
+
TAccountTokenProgramY,
|
|
472
|
+
InstructionAccountInputAddress<TAccountTokenProgramY>
|
|
473
|
+
>,
|
|
474
|
+
ResolvedInstructionAccountMeta<
|
|
475
|
+
TAccountLowerBinArray,
|
|
476
|
+
InstructionAccountInputAddress<TAccountLowerBinArray>
|
|
477
|
+
>,
|
|
478
|
+
ResolvedInstructionAccountMeta<
|
|
479
|
+
TAccountUpperBinArray,
|
|
480
|
+
InstructionAccountInputAddress<TAccountUpperBinArray>
|
|
481
|
+
>
|
|
347
482
|
>);
|
|
348
483
|
}
|
|
349
484
|
|