@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
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @see https://github.com/codama-idl/codama
|
|
7
7
|
*/
|
|
8
|
-
import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type
|
|
8
|
+
import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type WritableAccount, type WritableSignerAccount } from "@solana/kit";
|
|
9
|
+
import { type InstructionAccountInput, type InstructionAccountInputAddress, type InstructionSignerInput, type ResolvedInstructionAccountMeta } from "@solana/program-client-core";
|
|
9
10
|
import { PICON_DLMM_PROGRAM_ADDRESS } from "../programs/index.js";
|
|
10
11
|
export declare const CREATE_POOL_DISCRIMINATOR: ReadonlyUint8Array;
|
|
11
12
|
export declare function getCreatePoolDiscriminatorBytes(): ReadonlyUint8Array;
|
|
@@ -39,46 +40,46 @@ export type CreatePoolInstructionDataArgs = {
|
|
|
39
40
|
export declare function getCreatePoolInstructionDataEncoder(): FixedSizeEncoder<CreatePoolInstructionDataArgs>;
|
|
40
41
|
export declare function getCreatePoolInstructionDataDecoder(): FixedSizeDecoder<CreatePoolInstructionData>;
|
|
41
42
|
export declare function getCreatePoolInstructionDataCodec(): FixedSizeCodec<CreatePoolInstructionDataArgs, CreatePoolInstructionData>;
|
|
42
|
-
export type CreatePoolAsyncInput<TAccountAuthority extends
|
|
43
|
-
authority:
|
|
44
|
-
adminConfig?:
|
|
45
|
-
tokenMintX:
|
|
46
|
-
tokenMintY:
|
|
47
|
-
tokenVaultX?:
|
|
48
|
-
tokenVaultY?:
|
|
49
|
-
pool?:
|
|
50
|
-
tokenProgramX:
|
|
51
|
-
tokenProgramY:
|
|
52
|
-
associatedTokenProgram?:
|
|
53
|
-
systemProgram?:
|
|
43
|
+
export type CreatePoolAsyncInput<TAccountAuthority extends InstructionSignerInput = InstructionSignerInput, TAccountAdminConfig extends InstructionAccountInput = InstructionAccountInput, TAccountTokenMintX extends InstructionAccountInput = InstructionAccountInput, TAccountTokenMintY extends InstructionAccountInput = InstructionAccountInput, TAccountTokenVaultX extends InstructionAccountInput = InstructionAccountInput, TAccountTokenVaultY extends InstructionAccountInput = InstructionAccountInput, TAccountPool extends InstructionAccountInput = InstructionAccountInput, TAccountTokenProgramX extends InstructionAccountInput = InstructionAccountInput, TAccountTokenProgramY extends InstructionAccountInput = InstructionAccountInput, TAccountAssociatedTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput> = {
|
|
44
|
+
authority: TAccountAuthority;
|
|
45
|
+
adminConfig?: TAccountAdminConfig;
|
|
46
|
+
tokenMintX: TAccountTokenMintX;
|
|
47
|
+
tokenMintY: TAccountTokenMintY;
|
|
48
|
+
tokenVaultX?: TAccountTokenVaultX;
|
|
49
|
+
tokenVaultY?: TAccountTokenVaultY;
|
|
50
|
+
pool?: TAccountPool;
|
|
51
|
+
tokenProgramX: TAccountTokenProgramX;
|
|
52
|
+
tokenProgramY: TAccountTokenProgramY;
|
|
53
|
+
associatedTokenProgram?: TAccountAssociatedTokenProgram;
|
|
54
|
+
systemProgram?: TAccountSystemProgram;
|
|
54
55
|
binStep: CreatePoolInstructionDataArgs["binStep"];
|
|
55
56
|
feeRate: CreatePoolInstructionDataArgs["feeRate"];
|
|
56
57
|
protocolShare: CreatePoolInstructionDataArgs["protocolShare"];
|
|
57
58
|
activeBinId: CreatePoolInstructionDataArgs["activeBinId"];
|
|
58
59
|
};
|
|
59
|
-
export declare function getCreatePoolInstructionAsync<TAccountAuthority extends
|
|
60
|
+
export declare function getCreatePoolInstructionAsync<TAccountAuthority extends InstructionSignerInput, TAccountAdminConfig extends InstructionAccountInput, TAccountTokenMintX extends InstructionAccountInput, TAccountTokenMintY extends InstructionAccountInput, TAccountTokenVaultX extends InstructionAccountInput, TAccountTokenVaultY extends InstructionAccountInput, TAccountPool extends InstructionAccountInput, TAccountTokenProgramX extends InstructionAccountInput, TAccountTokenProgramY extends InstructionAccountInput, TAccountAssociatedTokenProgram extends InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof PICON_DLMM_PROGRAM_ADDRESS>(input: CreatePoolAsyncInput<TAccountAuthority, TAccountAdminConfig, TAccountTokenMintX, TAccountTokenMintY, TAccountTokenVaultX, TAccountTokenVaultY, TAccountPool, TAccountTokenProgramX, TAccountTokenProgramY, TAccountAssociatedTokenProgram, TAccountSystemProgram>, config?: {
|
|
60
61
|
programAddress?: TProgramAddress;
|
|
61
|
-
}): Promise<CreatePoolInstruction<TProgramAddress, TAccountAuthority, TAccountAdminConfig, TAccountTokenMintX, TAccountTokenMintY, TAccountTokenVaultX, TAccountTokenVaultY, TAccountPool, TAccountTokenProgramX, TAccountTokenProgramY, TAccountAssociatedTokenProgram, TAccountSystemProgram
|
|
62
|
-
export type CreatePoolInput<TAccountAuthority extends
|
|
63
|
-
authority:
|
|
64
|
-
adminConfig:
|
|
65
|
-
tokenMintX:
|
|
66
|
-
tokenMintY:
|
|
67
|
-
tokenVaultX:
|
|
68
|
-
tokenVaultY:
|
|
69
|
-
pool:
|
|
70
|
-
tokenProgramX:
|
|
71
|
-
tokenProgramY:
|
|
72
|
-
associatedTokenProgram?:
|
|
73
|
-
systemProgram?:
|
|
62
|
+
}): Promise<CreatePoolInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountAuthority, InstructionAccountInputAddress<TAccountAuthority>>, ResolvedInstructionAccountMeta<TAccountAdminConfig, InstructionAccountInputAddress<TAccountAdminConfig>>, ResolvedInstructionAccountMeta<TAccountTokenMintX, InstructionAccountInputAddress<TAccountTokenMintX>>, ResolvedInstructionAccountMeta<TAccountTokenMintY, InstructionAccountInputAddress<TAccountTokenMintY>>, ResolvedInstructionAccountMeta<TAccountTokenVaultX, InstructionAccountInputAddress<TAccountTokenVaultX>>, ResolvedInstructionAccountMeta<TAccountTokenVaultY, InstructionAccountInputAddress<TAccountTokenVaultY>>, ResolvedInstructionAccountMeta<TAccountPool, InstructionAccountInputAddress<TAccountPool>>, ResolvedInstructionAccountMeta<TAccountTokenProgramX, InstructionAccountInputAddress<TAccountTokenProgramX>>, ResolvedInstructionAccountMeta<TAccountTokenProgramY, InstructionAccountInputAddress<TAccountTokenProgramY>>, ResolvedInstructionAccountMeta<TAccountAssociatedTokenProgram, InstructionAccountInputAddress<TAccountAssociatedTokenProgram>>, ResolvedInstructionAccountMeta<TAccountSystemProgram, InstructionAccountInputAddress<TAccountSystemProgram>>>>;
|
|
63
|
+
export type CreatePoolInput<TAccountAuthority extends InstructionSignerInput = InstructionSignerInput, TAccountAdminConfig extends InstructionAccountInput = InstructionAccountInput, TAccountTokenMintX extends InstructionAccountInput = InstructionAccountInput, TAccountTokenMintY extends InstructionAccountInput = InstructionAccountInput, TAccountTokenVaultX extends InstructionAccountInput = InstructionAccountInput, TAccountTokenVaultY extends InstructionAccountInput = InstructionAccountInput, TAccountPool extends InstructionAccountInput = InstructionAccountInput, TAccountTokenProgramX extends InstructionAccountInput = InstructionAccountInput, TAccountTokenProgramY extends InstructionAccountInput = InstructionAccountInput, TAccountAssociatedTokenProgram extends InstructionAccountInput = InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput> = {
|
|
64
|
+
authority: TAccountAuthority;
|
|
65
|
+
adminConfig: TAccountAdminConfig;
|
|
66
|
+
tokenMintX: TAccountTokenMintX;
|
|
67
|
+
tokenMintY: TAccountTokenMintY;
|
|
68
|
+
tokenVaultX: TAccountTokenVaultX;
|
|
69
|
+
tokenVaultY: TAccountTokenVaultY;
|
|
70
|
+
pool: TAccountPool;
|
|
71
|
+
tokenProgramX: TAccountTokenProgramX;
|
|
72
|
+
tokenProgramY: TAccountTokenProgramY;
|
|
73
|
+
associatedTokenProgram?: TAccountAssociatedTokenProgram;
|
|
74
|
+
systemProgram?: TAccountSystemProgram;
|
|
74
75
|
binStep: CreatePoolInstructionDataArgs["binStep"];
|
|
75
76
|
feeRate: CreatePoolInstructionDataArgs["feeRate"];
|
|
76
77
|
protocolShare: CreatePoolInstructionDataArgs["protocolShare"];
|
|
77
78
|
activeBinId: CreatePoolInstructionDataArgs["activeBinId"];
|
|
78
79
|
};
|
|
79
|
-
export declare function getCreatePoolInstruction<TAccountAuthority extends
|
|
80
|
+
export declare function getCreatePoolInstruction<TAccountAuthority extends InstructionSignerInput, TAccountAdminConfig extends InstructionAccountInput, TAccountTokenMintX extends InstructionAccountInput, TAccountTokenMintY extends InstructionAccountInput, TAccountTokenVaultX extends InstructionAccountInput, TAccountTokenVaultY extends InstructionAccountInput, TAccountPool extends InstructionAccountInput, TAccountTokenProgramX extends InstructionAccountInput, TAccountTokenProgramY extends InstructionAccountInput, TAccountAssociatedTokenProgram extends InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof PICON_DLMM_PROGRAM_ADDRESS>(input: CreatePoolInput<TAccountAuthority, TAccountAdminConfig, TAccountTokenMintX, TAccountTokenMintY, TAccountTokenVaultX, TAccountTokenVaultY, TAccountPool, TAccountTokenProgramX, TAccountTokenProgramY, TAccountAssociatedTokenProgram, TAccountSystemProgram>, config?: {
|
|
80
81
|
programAddress?: TProgramAddress;
|
|
81
|
-
}): CreatePoolInstruction<TProgramAddress, TAccountAuthority, TAccountAdminConfig, TAccountTokenMintX, TAccountTokenMintY, TAccountTokenVaultX, TAccountTokenVaultY, TAccountPool, TAccountTokenProgramX, TAccountTokenProgramY, TAccountAssociatedTokenProgram, TAccountSystemProgram
|
|
82
|
+
}): CreatePoolInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountAuthority, InstructionAccountInputAddress<TAccountAuthority>>, ResolvedInstructionAccountMeta<TAccountAdminConfig, InstructionAccountInputAddress<TAccountAdminConfig>>, ResolvedInstructionAccountMeta<TAccountTokenMintX, InstructionAccountInputAddress<TAccountTokenMintX>>, ResolvedInstructionAccountMeta<TAccountTokenMintY, InstructionAccountInputAddress<TAccountTokenMintY>>, ResolvedInstructionAccountMeta<TAccountTokenVaultX, InstructionAccountInputAddress<TAccountTokenVaultX>>, ResolvedInstructionAccountMeta<TAccountTokenVaultY, InstructionAccountInputAddress<TAccountTokenVaultY>>, ResolvedInstructionAccountMeta<TAccountPool, InstructionAccountInputAddress<TAccountPool>>, ResolvedInstructionAccountMeta<TAccountTokenProgramX, InstructionAccountInputAddress<TAccountTokenProgramX>>, ResolvedInstructionAccountMeta<TAccountTokenProgramY, InstructionAccountInputAddress<TAccountTokenProgramY>>, ResolvedInstructionAccountMeta<TAccountAssociatedTokenProgram, InstructionAccountInputAddress<TAccountAssociatedTokenProgram>>, ResolvedInstructionAccountMeta<TAccountSystemProgram, InstructionAccountInputAddress<TAccountSystemProgram>>>;
|
|
82
83
|
export type ParsedCreatePoolInstruction<TProgram extends string = typeof PICON_DLMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
83
84
|
programAddress: Address<TProgram>;
|
|
84
85
|
accounts: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPool.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/createPool.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAmBL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,
|
|
1
|
+
{"version":3,"file":"createPool.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/createPool.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAmBL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;AACrB,OAAO,EAIL,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAE3B,KAAK,8BAA8B,EACpC,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAElE,eAAO,MAAM,yBAAyB,EAAE,kBAEtC,CAAC;AAEH,wBAAgB,+BAA+B,IAAI,kBAAkB,CAEpE;AAED,MAAM,MAAM,qBAAqB,CAC/B,QAAQ,SAAS,MAAM,GAAG,OAAO,0BAA0B,EAC3D,iBAAiB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAC/D,mBAAmB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACjE,kBAAkB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG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SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IACnE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC5B,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC9B,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC9B,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC9B,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACvB,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAChC,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAChC,sBAAsB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACzC,aAAa,EAAE,aAAa,CAAC,EAAE,CAAC,CAAC;KAClC,CAAC;IACF,IAAI,EAAE,yBAAyB,CAAC;CACjC,CAAC;AAEF,wBAAgB,0BAA0B,CACxC,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,2BAA2B,CAAC,QAAQ,EAAE,aAAa,CAAC,CAiCtD"}
|
|
@@ -39,22 +39,61 @@ export function getCreatePoolInstructionDataCodec() {
|
|
|
39
39
|
export async function getCreatePoolInstructionAsync(input, config) {
|
|
40
40
|
// Program address.
|
|
41
41
|
const programAddress = config?.programAddress ?? PICON_DLMM_PROGRAM_ADDRESS;
|
|
42
|
+
// Account meta helper.
|
|
43
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
42
44
|
// Original accounts.
|
|
43
45
|
const originalAccounts = {
|
|
44
|
-
authority: {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
authority: {
|
|
47
|
+
value: input.authority ?? null,
|
|
48
|
+
isSigner: true,
|
|
49
|
+
isWritable: true,
|
|
50
|
+
},
|
|
51
|
+
adminConfig: {
|
|
52
|
+
value: input.adminConfig ?? null,
|
|
53
|
+
isSigner: false,
|
|
54
|
+
isWritable: false,
|
|
55
|
+
},
|
|
56
|
+
tokenMintX: {
|
|
57
|
+
value: input.tokenMintX ?? null,
|
|
58
|
+
isSigner: false,
|
|
59
|
+
isWritable: false,
|
|
60
|
+
},
|
|
61
|
+
tokenMintY: {
|
|
62
|
+
value: input.tokenMintY ?? null,
|
|
63
|
+
isSigner: false,
|
|
64
|
+
isWritable: false,
|
|
65
|
+
},
|
|
66
|
+
tokenVaultX: {
|
|
67
|
+
value: input.tokenVaultX ?? null,
|
|
68
|
+
isSigner: false,
|
|
69
|
+
isWritable: true,
|
|
70
|
+
},
|
|
71
|
+
tokenVaultY: {
|
|
72
|
+
value: input.tokenVaultY ?? null,
|
|
73
|
+
isSigner: false,
|
|
74
|
+
isWritable: true,
|
|
75
|
+
},
|
|
76
|
+
pool: { value: input.pool ?? null, isSigner: false, isWritable: true },
|
|
77
|
+
tokenProgramX: {
|
|
78
|
+
value: input.tokenProgramX ?? null,
|
|
79
|
+
isSigner: false,
|
|
80
|
+
isWritable: false,
|
|
81
|
+
},
|
|
82
|
+
tokenProgramY: {
|
|
83
|
+
value: input.tokenProgramY ?? null,
|
|
84
|
+
isSigner: false,
|
|
85
|
+
isWritable: false,
|
|
86
|
+
},
|
|
53
87
|
associatedTokenProgram: {
|
|
54
88
|
value: input.associatedTokenProgram ?? null,
|
|
89
|
+
isSigner: false,
|
|
90
|
+
isWritable: false,
|
|
91
|
+
},
|
|
92
|
+
systemProgram: {
|
|
93
|
+
value: input.systemProgram ?? null,
|
|
94
|
+
isSigner: false,
|
|
55
95
|
isWritable: false,
|
|
56
96
|
},
|
|
57
|
-
systemProgram: { value: input.systemProgram ?? null, isWritable: false },
|
|
58
97
|
};
|
|
59
98
|
const accounts = originalAccounts;
|
|
60
99
|
// Original args.
|
|
@@ -99,7 +138,6 @@ export async function getCreatePoolInstructionAsync(input, config) {
|
|
|
99
138
|
accounts.systemProgram.value =
|
|
100
139
|
"11111111111111111111111111111111";
|
|
101
140
|
}
|
|
102
|
-
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
103
141
|
return Object.freeze({
|
|
104
142
|
accounts: [
|
|
105
143
|
getAccountMeta("authority", accounts.authority),
|
|
@@ -121,22 +159,61 @@ export async function getCreatePoolInstructionAsync(input, config) {
|
|
|
121
159
|
export function getCreatePoolInstruction(input, config) {
|
|
122
160
|
// Program address.
|
|
123
161
|
const programAddress = config?.programAddress ?? PICON_DLMM_PROGRAM_ADDRESS;
|
|
162
|
+
// Account meta helper.
|
|
163
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
124
164
|
// Original accounts.
|
|
125
165
|
const originalAccounts = {
|
|
126
|
-
authority: {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
166
|
+
authority: {
|
|
167
|
+
value: input.authority ?? null,
|
|
168
|
+
isSigner: true,
|
|
169
|
+
isWritable: true,
|
|
170
|
+
},
|
|
171
|
+
adminConfig: {
|
|
172
|
+
value: input.adminConfig ?? null,
|
|
173
|
+
isSigner: false,
|
|
174
|
+
isWritable: false,
|
|
175
|
+
},
|
|
176
|
+
tokenMintX: {
|
|
177
|
+
value: input.tokenMintX ?? null,
|
|
178
|
+
isSigner: false,
|
|
179
|
+
isWritable: false,
|
|
180
|
+
},
|
|
181
|
+
tokenMintY: {
|
|
182
|
+
value: input.tokenMintY ?? null,
|
|
183
|
+
isSigner: false,
|
|
184
|
+
isWritable: false,
|
|
185
|
+
},
|
|
186
|
+
tokenVaultX: {
|
|
187
|
+
value: input.tokenVaultX ?? null,
|
|
188
|
+
isSigner: false,
|
|
189
|
+
isWritable: true,
|
|
190
|
+
},
|
|
191
|
+
tokenVaultY: {
|
|
192
|
+
value: input.tokenVaultY ?? null,
|
|
193
|
+
isSigner: false,
|
|
194
|
+
isWritable: true,
|
|
195
|
+
},
|
|
196
|
+
pool: { value: input.pool ?? null, isSigner: false, isWritable: true },
|
|
197
|
+
tokenProgramX: {
|
|
198
|
+
value: input.tokenProgramX ?? null,
|
|
199
|
+
isSigner: false,
|
|
200
|
+
isWritable: false,
|
|
201
|
+
},
|
|
202
|
+
tokenProgramY: {
|
|
203
|
+
value: input.tokenProgramY ?? null,
|
|
204
|
+
isSigner: false,
|
|
205
|
+
isWritable: false,
|
|
206
|
+
},
|
|
135
207
|
associatedTokenProgram: {
|
|
136
208
|
value: input.associatedTokenProgram ?? null,
|
|
209
|
+
isSigner: false,
|
|
210
|
+
isWritable: false,
|
|
211
|
+
},
|
|
212
|
+
systemProgram: {
|
|
213
|
+
value: input.systemProgram ?? null,
|
|
214
|
+
isSigner: false,
|
|
137
215
|
isWritable: false,
|
|
138
216
|
},
|
|
139
|
-
systemProgram: { value: input.systemProgram ?? null, isWritable: false },
|
|
140
217
|
};
|
|
141
218
|
const accounts = originalAccounts;
|
|
142
219
|
// Original args.
|
|
@@ -150,7 +227,6 @@ export function getCreatePoolInstruction(input, config) {
|
|
|
150
227
|
accounts.systemProgram.value =
|
|
151
228
|
"11111111111111111111111111111111";
|
|
152
229
|
}
|
|
153
|
-
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
154
230
|
return Object.freeze({
|
|
155
231
|
accounts: [
|
|
156
232
|
getAccountMeta("authority", accounts.authority),
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @see https://github.com/codama-idl/codama
|
|
7
7
|
*/
|
|
8
|
-
import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type
|
|
8
|
+
import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type WritableAccount } from "@solana/kit";
|
|
9
|
+
import { type InstructionAccountInput, type InstructionAccountInputAddress, type InstructionSignerInput, type ResolvedInstructionAccountMeta } from "@solana/program-client-core";
|
|
9
10
|
import { PICON_DLMM_PROGRAM_ADDRESS } from "../programs/index.js";
|
|
10
11
|
export declare const DELETE_BIN_ARRAY_DISCRIMINATOR: ReadonlyUint8Array;
|
|
11
12
|
export declare function getDeleteBinArrayDiscriminatorBytes(): ReadonlyUint8Array;
|
|
@@ -29,30 +30,30 @@ export type DeleteBinArrayInstructionDataArgs = {
|
|
|
29
30
|
export declare function getDeleteBinArrayInstructionDataEncoder(): FixedSizeEncoder<DeleteBinArrayInstructionDataArgs>;
|
|
30
31
|
export declare function getDeleteBinArrayInstructionDataDecoder(): FixedSizeDecoder<DeleteBinArrayInstructionData>;
|
|
31
32
|
export declare function getDeleteBinArrayInstructionDataCodec(): FixedSizeCodec<DeleteBinArrayInstructionDataArgs, DeleteBinArrayInstructionData>;
|
|
32
|
-
export type DeleteBinArrayAsyncInput<TAccountAuthority extends
|
|
33
|
-
authority:
|
|
34
|
-
adminConfig?:
|
|
35
|
-
receiver:
|
|
36
|
-
binArray?:
|
|
37
|
-
systemProgram?:
|
|
33
|
+
export type DeleteBinArrayAsyncInput<TAccountAuthority extends InstructionSignerInput = InstructionSignerInput, TAccountAdminConfig extends InstructionAccountInput = InstructionAccountInput, TAccountReceiver extends InstructionAccountInput = InstructionAccountInput, TAccountBinArray extends InstructionAccountInput = InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput> = {
|
|
34
|
+
authority: TAccountAuthority;
|
|
35
|
+
adminConfig?: TAccountAdminConfig;
|
|
36
|
+
receiver: TAccountReceiver;
|
|
37
|
+
binArray?: TAccountBinArray;
|
|
38
|
+
systemProgram?: TAccountSystemProgram;
|
|
38
39
|
pool: DeleteBinArrayInstructionDataArgs["pool"];
|
|
39
40
|
index: DeleteBinArrayInstructionDataArgs["index"];
|
|
40
41
|
};
|
|
41
|
-
export declare function getDeleteBinArrayInstructionAsync<TAccountAuthority extends
|
|
42
|
+
export declare function getDeleteBinArrayInstructionAsync<TAccountAuthority extends InstructionSignerInput, TAccountAdminConfig extends InstructionAccountInput, TAccountReceiver extends InstructionAccountInput, TAccountBinArray extends InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof PICON_DLMM_PROGRAM_ADDRESS>(input: DeleteBinArrayAsyncInput<TAccountAuthority, TAccountAdminConfig, TAccountReceiver, TAccountBinArray, TAccountSystemProgram>, config?: {
|
|
42
43
|
programAddress?: TProgramAddress;
|
|
43
|
-
}): Promise<DeleteBinArrayInstruction<TProgramAddress, TAccountAuthority, TAccountAdminConfig, TAccountReceiver, TAccountBinArray, TAccountSystemProgram
|
|
44
|
-
export type DeleteBinArrayInput<TAccountAuthority extends
|
|
45
|
-
authority:
|
|
46
|
-
adminConfig:
|
|
47
|
-
receiver:
|
|
48
|
-
binArray:
|
|
49
|
-
systemProgram?:
|
|
44
|
+
}): Promise<DeleteBinArrayInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountAuthority, InstructionAccountInputAddress<TAccountAuthority>>, ResolvedInstructionAccountMeta<TAccountAdminConfig, InstructionAccountInputAddress<TAccountAdminConfig>>, ResolvedInstructionAccountMeta<TAccountReceiver, InstructionAccountInputAddress<TAccountReceiver>>, ResolvedInstructionAccountMeta<TAccountBinArray, InstructionAccountInputAddress<TAccountBinArray>>, ResolvedInstructionAccountMeta<TAccountSystemProgram, InstructionAccountInputAddress<TAccountSystemProgram>>>>;
|
|
45
|
+
export type DeleteBinArrayInput<TAccountAuthority extends InstructionSignerInput = InstructionSignerInput, TAccountAdminConfig extends InstructionAccountInput = InstructionAccountInput, TAccountReceiver extends InstructionAccountInput = InstructionAccountInput, TAccountBinArray extends InstructionAccountInput = InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput> = {
|
|
46
|
+
authority: TAccountAuthority;
|
|
47
|
+
adminConfig: TAccountAdminConfig;
|
|
48
|
+
receiver: TAccountReceiver;
|
|
49
|
+
binArray: TAccountBinArray;
|
|
50
|
+
systemProgram?: TAccountSystemProgram;
|
|
50
51
|
pool: DeleteBinArrayInstructionDataArgs["pool"];
|
|
51
52
|
index: DeleteBinArrayInstructionDataArgs["index"];
|
|
52
53
|
};
|
|
53
|
-
export declare function getDeleteBinArrayInstruction<TAccountAuthority extends
|
|
54
|
+
export declare function getDeleteBinArrayInstruction<TAccountAuthority extends InstructionSignerInput, TAccountAdminConfig extends InstructionAccountInput, TAccountReceiver extends InstructionAccountInput, TAccountBinArray extends InstructionAccountInput, TAccountSystemProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof PICON_DLMM_PROGRAM_ADDRESS>(input: DeleteBinArrayInput<TAccountAuthority, TAccountAdminConfig, TAccountReceiver, TAccountBinArray, TAccountSystemProgram>, config?: {
|
|
54
55
|
programAddress?: TProgramAddress;
|
|
55
|
-
}): DeleteBinArrayInstruction<TProgramAddress, TAccountAuthority, TAccountAdminConfig, TAccountReceiver, TAccountBinArray, TAccountSystemProgram
|
|
56
|
+
}): DeleteBinArrayInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountAuthority, InstructionAccountInputAddress<TAccountAuthority>>, ResolvedInstructionAccountMeta<TAccountAdminConfig, InstructionAccountInputAddress<TAccountAdminConfig>>, ResolvedInstructionAccountMeta<TAccountReceiver, InstructionAccountInputAddress<TAccountReceiver>>, ResolvedInstructionAccountMeta<TAccountBinArray, InstructionAccountInputAddress<TAccountBinArray>>, ResolvedInstructionAccountMeta<TAccountSystemProgram, InstructionAccountInputAddress<TAccountSystemProgram>>>;
|
|
56
57
|
export type ParsedDeleteBinArrayInstruction<TProgram extends string = typeof PICON_DLMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
57
58
|
programAddress: Address<TProgram>;
|
|
58
59
|
accounts: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteBinArray.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/deleteBinArray.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAeL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,
|
|
1
|
+
{"version":3,"file":"deleteBinArray.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/deleteBinArray.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAeL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAGL,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAE3B,KAAK,8BAA8B,EACpC,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,0BAA0B,EAAE,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CAAC,GACxC,+BAA+B,CAAC,QAAQ,EAAE,aAAa,CAAC,CA2B1D"}
|
|
@@ -33,13 +33,35 @@ export function getDeleteBinArrayInstructionDataCodec() {
|
|
|
33
33
|
export async function getDeleteBinArrayInstructionAsync(input, config) {
|
|
34
34
|
// Program address.
|
|
35
35
|
const programAddress = config?.programAddress ?? PICON_DLMM_PROGRAM_ADDRESS;
|
|
36
|
+
// Account meta helper.
|
|
37
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
36
38
|
// Original accounts.
|
|
37
39
|
const originalAccounts = {
|
|
38
|
-
authority: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
authority: {
|
|
41
|
+
value: input.authority ?? null,
|
|
42
|
+
isSigner: true,
|
|
43
|
+
isWritable: false,
|
|
44
|
+
},
|
|
45
|
+
adminConfig: {
|
|
46
|
+
value: input.adminConfig ?? null,
|
|
47
|
+
isSigner: false,
|
|
48
|
+
isWritable: false,
|
|
49
|
+
},
|
|
50
|
+
receiver: {
|
|
51
|
+
value: input.receiver ?? null,
|
|
52
|
+
isSigner: false,
|
|
53
|
+
isWritable: true,
|
|
54
|
+
},
|
|
55
|
+
binArray: {
|
|
56
|
+
value: input.binArray ?? null,
|
|
57
|
+
isSigner: false,
|
|
58
|
+
isWritable: true,
|
|
59
|
+
},
|
|
60
|
+
systemProgram: {
|
|
61
|
+
value: input.systemProgram ?? null,
|
|
62
|
+
isSigner: false,
|
|
63
|
+
isWritable: false,
|
|
64
|
+
},
|
|
43
65
|
};
|
|
44
66
|
const accounts = originalAccounts;
|
|
45
67
|
// Original args.
|
|
@@ -58,7 +80,6 @@ export async function getDeleteBinArrayInstructionAsync(input, config) {
|
|
|
58
80
|
accounts.systemProgram.value =
|
|
59
81
|
"11111111111111111111111111111111";
|
|
60
82
|
}
|
|
61
|
-
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
62
83
|
return Object.freeze({
|
|
63
84
|
accounts: [
|
|
64
85
|
getAccountMeta("authority", accounts.authority),
|
|
@@ -74,13 +95,35 @@ export async function getDeleteBinArrayInstructionAsync(input, config) {
|
|
|
74
95
|
export function getDeleteBinArrayInstruction(input, config) {
|
|
75
96
|
// Program address.
|
|
76
97
|
const programAddress = config?.programAddress ?? PICON_DLMM_PROGRAM_ADDRESS;
|
|
98
|
+
// Account meta helper.
|
|
99
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
77
100
|
// Original accounts.
|
|
78
101
|
const originalAccounts = {
|
|
79
|
-
authority: {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
102
|
+
authority: {
|
|
103
|
+
value: input.authority ?? null,
|
|
104
|
+
isSigner: true,
|
|
105
|
+
isWritable: false,
|
|
106
|
+
},
|
|
107
|
+
adminConfig: {
|
|
108
|
+
value: input.adminConfig ?? null,
|
|
109
|
+
isSigner: false,
|
|
110
|
+
isWritable: false,
|
|
111
|
+
},
|
|
112
|
+
receiver: {
|
|
113
|
+
value: input.receiver ?? null,
|
|
114
|
+
isSigner: false,
|
|
115
|
+
isWritable: true,
|
|
116
|
+
},
|
|
117
|
+
binArray: {
|
|
118
|
+
value: input.binArray ?? null,
|
|
119
|
+
isSigner: false,
|
|
120
|
+
isWritable: true,
|
|
121
|
+
},
|
|
122
|
+
systemProgram: {
|
|
123
|
+
value: input.systemProgram ?? null,
|
|
124
|
+
isSigner: false,
|
|
125
|
+
isWritable: false,
|
|
126
|
+
},
|
|
84
127
|
};
|
|
85
128
|
const accounts = originalAccounts;
|
|
86
129
|
// Original args.
|
|
@@ -90,7 +133,6 @@ export function getDeleteBinArrayInstruction(input, config) {
|
|
|
90
133
|
accounts.systemProgram.value =
|
|
91
134
|
"11111111111111111111111111111111";
|
|
92
135
|
}
|
|
93
|
-
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
94
136
|
return Object.freeze({
|
|
95
137
|
accounts: [
|
|
96
138
|
getAccountMeta("authority", accounts.authority),
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @see https://github.com/codama-idl/codama
|
|
7
7
|
*/
|
|
8
|
-
import { type AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type Option, type OptionOrNullable, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type
|
|
8
|
+
import { type AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type Option, type OptionOrNullable, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type WritableAccount } from "@solana/kit";
|
|
9
|
+
import { type InstructionAccountInput, type InstructionAccountInputAddress, type InstructionSignerInput, type ResolvedInstructionAccountMeta } from "@solana/program-client-core";
|
|
9
10
|
import { PICON_DLMM_PROGRAM_ADDRESS } from "../programs/index.js";
|
|
10
11
|
import { type DistributionMode, type DistributionModeArgs, type RemainingAccountsScheme, type RemainingAccountsSchemeArgs } from "../types/index.js";
|
|
11
12
|
export declare const DEPOSIT_BY_WEIGHT_DISCRIMINATOR: ReadonlyUint8Array;
|
|
@@ -51,21 +52,21 @@ export type DepositByWeightInstructionDataArgs = {
|
|
|
51
52
|
export declare function getDepositByWeightInstructionDataEncoder(): Encoder<DepositByWeightInstructionDataArgs>;
|
|
52
53
|
export declare function getDepositByWeightInstructionDataDecoder(): Decoder<DepositByWeightInstructionData>;
|
|
53
54
|
export declare function getDepositByWeightInstructionDataCodec(): Codec<DepositByWeightInstructionDataArgs, DepositByWeightInstructionData>;
|
|
54
|
-
export type DepositByWeightInput<TAccountOwner extends
|
|
55
|
-
owner:
|
|
56
|
-
pool:
|
|
57
|
-
position:
|
|
58
|
-
positionTokenAccount:
|
|
59
|
-
tokenMintX:
|
|
60
|
-
tokenMintY:
|
|
61
|
-
tokenOwnerAccountX:
|
|
62
|
-
tokenOwnerAccountY:
|
|
63
|
-
tokenVaultX:
|
|
64
|
-
tokenVaultY:
|
|
65
|
-
tokenProgramX:
|
|
66
|
-
tokenProgramY:
|
|
67
|
-
lowerBinArray:
|
|
68
|
-
upperBinArray?:
|
|
55
|
+
export type DepositByWeightInput<TAccountOwner extends InstructionSignerInput = InstructionSignerInput, TAccountPool extends InstructionAccountInput = InstructionAccountInput, TAccountPosition extends InstructionAccountInput = InstructionAccountInput, TAccountPositionTokenAccount extends InstructionAccountInput = InstructionAccountInput, TAccountTokenMintX extends InstructionAccountInput = InstructionAccountInput, TAccountTokenMintY extends InstructionAccountInput = InstructionAccountInput, TAccountTokenOwnerAccountX extends InstructionAccountInput = InstructionAccountInput, TAccountTokenOwnerAccountY extends InstructionAccountInput = InstructionAccountInput, TAccountTokenVaultX extends InstructionAccountInput = InstructionAccountInput, TAccountTokenVaultY extends InstructionAccountInput = InstructionAccountInput, TAccountTokenProgramX extends InstructionAccountInput = InstructionAccountInput, TAccountTokenProgramY extends InstructionAccountInput = InstructionAccountInput, TAccountLowerBinArray extends InstructionAccountInput = InstructionAccountInput, TAccountUpperBinArray extends InstructionAccountInput = InstructionAccountInput> = {
|
|
56
|
+
owner: TAccountOwner;
|
|
57
|
+
pool: TAccountPool;
|
|
58
|
+
position: TAccountPosition;
|
|
59
|
+
positionTokenAccount: TAccountPositionTokenAccount;
|
|
60
|
+
tokenMintX: TAccountTokenMintX;
|
|
61
|
+
tokenMintY: TAccountTokenMintY;
|
|
62
|
+
tokenOwnerAccountX: TAccountTokenOwnerAccountX;
|
|
63
|
+
tokenOwnerAccountY: TAccountTokenOwnerAccountY;
|
|
64
|
+
tokenVaultX: TAccountTokenVaultX;
|
|
65
|
+
tokenVaultY: TAccountTokenVaultY;
|
|
66
|
+
tokenProgramX: TAccountTokenProgramX;
|
|
67
|
+
tokenProgramY: TAccountTokenProgramY;
|
|
68
|
+
lowerBinArray: TAccountLowerBinArray;
|
|
69
|
+
upperBinArray?: TAccountUpperBinArray;
|
|
69
70
|
amountX: DepositByWeightInstructionDataArgs["amountX"];
|
|
70
71
|
amountY: DepositByWeightInstructionDataArgs["amountY"];
|
|
71
72
|
activeBinId: DepositByWeightInstructionDataArgs["activeBinId"];
|
|
@@ -75,9 +76,9 @@ export type DepositByWeightInput<TAccountOwner extends string = string, TAccount
|
|
|
75
76
|
binWeights: DepositByWeightInstructionDataArgs["binWeights"];
|
|
76
77
|
remainingAccountsScheme: DepositByWeightInstructionDataArgs["remainingAccountsScheme"];
|
|
77
78
|
};
|
|
78
|
-
export declare function getDepositByWeightInstruction<TAccountOwner extends
|
|
79
|
+
export declare function getDepositByWeightInstruction<TAccountOwner extends InstructionSignerInput, TAccountPool extends InstructionAccountInput, TAccountPosition extends InstructionAccountInput, TAccountPositionTokenAccount extends InstructionAccountInput, TAccountTokenMintX extends InstructionAccountInput, TAccountTokenMintY extends InstructionAccountInput, TAccountTokenOwnerAccountX extends InstructionAccountInput, TAccountTokenOwnerAccountY extends InstructionAccountInput, TAccountTokenVaultX extends InstructionAccountInput, TAccountTokenVaultY extends InstructionAccountInput, TAccountTokenProgramX extends InstructionAccountInput, TAccountTokenProgramY extends InstructionAccountInput, TAccountLowerBinArray extends InstructionAccountInput, TAccountUpperBinArray extends InstructionAccountInput, TProgramAddress extends Address = typeof PICON_DLMM_PROGRAM_ADDRESS>(input: DepositByWeightInput<TAccountOwner, TAccountPool, TAccountPosition, TAccountPositionTokenAccount, TAccountTokenMintX, TAccountTokenMintY, TAccountTokenOwnerAccountX, TAccountTokenOwnerAccountY, TAccountTokenVaultX, TAccountTokenVaultY, TAccountTokenProgramX, TAccountTokenProgramY, TAccountLowerBinArray, TAccountUpperBinArray>, config?: {
|
|
79
80
|
programAddress?: TProgramAddress;
|
|
80
|
-
}): DepositByWeightInstruction<TProgramAddress, TAccountOwner, TAccountPool, TAccountPosition, TAccountPositionTokenAccount, TAccountTokenMintX, TAccountTokenMintY, TAccountTokenOwnerAccountX, TAccountTokenOwnerAccountY, TAccountTokenVaultX, TAccountTokenVaultY, TAccountTokenProgramX, TAccountTokenProgramY, TAccountLowerBinArray, TAccountUpperBinArray
|
|
81
|
+
}): DepositByWeightInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountOwner, InstructionAccountInputAddress<TAccountOwner>>, ResolvedInstructionAccountMeta<TAccountPool, InstructionAccountInputAddress<TAccountPool>>, ResolvedInstructionAccountMeta<TAccountPosition, InstructionAccountInputAddress<TAccountPosition>>, ResolvedInstructionAccountMeta<TAccountPositionTokenAccount, InstructionAccountInputAddress<TAccountPositionTokenAccount>>, ResolvedInstructionAccountMeta<TAccountTokenMintX, InstructionAccountInputAddress<TAccountTokenMintX>>, ResolvedInstructionAccountMeta<TAccountTokenMintY, InstructionAccountInputAddress<TAccountTokenMintY>>, ResolvedInstructionAccountMeta<TAccountTokenOwnerAccountX, InstructionAccountInputAddress<TAccountTokenOwnerAccountX>>, ResolvedInstructionAccountMeta<TAccountTokenOwnerAccountY, InstructionAccountInputAddress<TAccountTokenOwnerAccountY>>, ResolvedInstructionAccountMeta<TAccountTokenVaultX, InstructionAccountInputAddress<TAccountTokenVaultX>>, ResolvedInstructionAccountMeta<TAccountTokenVaultY, InstructionAccountInputAddress<TAccountTokenVaultY>>, ResolvedInstructionAccountMeta<TAccountTokenProgramX, InstructionAccountInputAddress<TAccountTokenProgramX>>, ResolvedInstructionAccountMeta<TAccountTokenProgramY, InstructionAccountInputAddress<TAccountTokenProgramY>>, ResolvedInstructionAccountMeta<TAccountLowerBinArray, InstructionAccountInputAddress<TAccountLowerBinArray>>, ResolvedInstructionAccountMeta<TAccountUpperBinArray, InstructionAccountInputAddress<TAccountUpperBinArray>>>;
|
|
81
82
|
export type ParsedDepositByWeightInstruction<TProgram extends string = typeof PICON_DLMM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
|
|
82
83
|
programAddress: Address<TProgram>;
|
|
83
84
|
accounts: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"depositByWeight.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/depositByWeight.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAuBL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,
|
|
1
|
+
{"version":3,"file":"depositByWeight.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/depositByWeight.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAuBL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAEL,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAE3B,KAAK,8BAA8B,EACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAKL,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EACjC,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,+BAA+B,EAAE,kBACY,CAAC;AAE3D,wBAAgB,oCAAoC,IAAI,kBAAkB,CAIzE;AAED,MAAM,MAAM,0BAA0B,CACpC,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