@stabbleorg/mclmm-sdk 0.1.3 → 0.1.5

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.
Files changed (157) hide show
  1. package/package.json +1 -1
  2. package/lib/api/config.d.ts +0 -25
  3. package/lib/api/config.d.ts.map +0 -1
  4. package/lib/api/index.d.ts +0 -15
  5. package/lib/api/index.d.ts.map +0 -1
  6. package/lib/api/pools.d.ts +0 -39
  7. package/lib/api/pools.d.ts.map +0 -1
  8. package/lib/client.d.ts +0 -43
  9. package/lib/client.d.ts.map +0 -1
  10. package/lib/clmm.d.ts +0 -91
  11. package/lib/clmm.d.ts.map +0 -1
  12. package/lib/constants.d.ts +0 -62
  13. package/lib/constants.d.ts.map +0 -1
  14. package/lib/generated/accounts/ammConfig.d.ts +0 -58
  15. package/lib/generated/accounts/ammConfig.d.ts.map +0 -1
  16. package/lib/generated/accounts/index.d.ts +0 -17
  17. package/lib/generated/accounts/index.d.ts.map +0 -1
  18. package/lib/generated/accounts/observationState.d.ts +0 -51
  19. package/lib/generated/accounts/observationState.d.ts.map +0 -1
  20. package/lib/generated/accounts/operationState.d.ts +0 -38
  21. package/lib/generated/accounts/operationState.d.ts.map +0 -1
  22. package/lib/generated/accounts/personalPositionState.d.ts +0 -73
  23. package/lib/generated/accounts/personalPositionState.d.ts.map +0 -1
  24. package/lib/generated/accounts/poolState.d.ts +0 -157
  25. package/lib/generated/accounts/poolState.d.ts.map +0 -1
  26. package/lib/generated/accounts/protocolPositionState.d.ts +0 -70
  27. package/lib/generated/accounts/protocolPositionState.d.ts.map +0 -1
  28. package/lib/generated/accounts/supportMintAssociated.d.ts +0 -36
  29. package/lib/generated/accounts/supportMintAssociated.d.ts.map +0 -1
  30. package/lib/generated/accounts/tickArrayBitmapExtension.d.ts +0 -36
  31. package/lib/generated/accounts/tickArrayBitmapExtension.d.ts.map +0 -1
  32. package/lib/generated/accounts/tickArrayState.d.ts +0 -39
  33. package/lib/generated/accounts/tickArrayState.d.ts.map +0 -1
  34. package/lib/generated/errors/ammV3.d.ts +0 -110
  35. package/lib/generated/errors/ammV3.d.ts.map +0 -1
  36. package/lib/generated/errors/index.d.ts +0 -9
  37. package/lib/generated/errors/index.d.ts.map +0 -1
  38. package/lib/generated/index.d.ts +0 -13
  39. package/lib/generated/index.d.ts.map +0 -1
  40. package/lib/generated/instructions/closePosition.d.ts +0 -78
  41. package/lib/generated/instructions/closePosition.d.ts.map +0 -1
  42. package/lib/generated/instructions/closeProtocolPosition.d.ts +0 -40
  43. package/lib/generated/instructions/closeProtocolPosition.d.ts.map +0 -1
  44. package/lib/generated/instructions/collectFundFee.d.ts +0 -96
  45. package/lib/generated/instructions/collectFundFee.d.ts.map +0 -1
  46. package/lib/generated/instructions/collectProtocolFee.d.ts +0 -96
  47. package/lib/generated/instructions/collectProtocolFee.d.ts.map +0 -1
  48. package/lib/generated/instructions/collectRemainingRewards.d.ts +0 -76
  49. package/lib/generated/instructions/collectRemainingRewards.d.ts.map +0 -1
  50. package/lib/generated/instructions/createAmmConfig.d.ts +0 -78
  51. package/lib/generated/instructions/createAmmConfig.d.ts.map +0 -1
  52. package/lib/generated/instructions/createOperationAccount.d.ts +0 -57
  53. package/lib/generated/instructions/createOperationAccount.d.ts.map +0 -1
  54. package/lib/generated/instructions/createPool.d.ts +0 -133
  55. package/lib/generated/instructions/createPool.d.ts.map +0 -1
  56. package/lib/generated/instructions/createSupportMintAssociated.d.ts +0 -64
  57. package/lib/generated/instructions/createSupportMintAssociated.d.ts.map +0 -1
  58. package/lib/generated/instructions/decreaseLiquidity.d.ts +0 -100
  59. package/lib/generated/instructions/decreaseLiquidity.d.ts.map +0 -1
  60. package/lib/generated/instructions/decreaseLiquidityV2.d.ts +0 -120
  61. package/lib/generated/instructions/decreaseLiquidityV2.d.ts.map +0 -1
  62. package/lib/generated/instructions/increaseLiquidity.d.ts +0 -100
  63. package/lib/generated/instructions/increaseLiquidity.d.ts.map +0 -1
  64. package/lib/generated/instructions/increaseLiquidityV2.d.ts +0 -118
  65. package/lib/generated/instructions/increaseLiquidityV2.d.ts.map +0 -1
  66. package/lib/generated/instructions/index.d.ts +0 -34
  67. package/lib/generated/instructions/index.d.ts.map +0 -1
  68. package/lib/generated/instructions/initializeReward.d.ts +0 -113
  69. package/lib/generated/instructions/initializeReward.d.ts.map +0 -1
  70. package/lib/generated/instructions/openPosition.d.ts +0 -198
  71. package/lib/generated/instructions/openPosition.d.ts.map +0 -1
  72. package/lib/generated/instructions/openPositionV2.d.ts +0 -218
  73. package/lib/generated/instructions/openPositionV2.d.ts.map +0 -1
  74. package/lib/generated/instructions/openPositionWithToken22Nft.d.ts +0 -201
  75. package/lib/generated/instructions/openPositionWithToken22Nft.d.ts.map +0 -1
  76. package/lib/generated/instructions/setRewardParams.d.ts +0 -92
  77. package/lib/generated/instructions/setRewardParams.d.ts.map +0 -1
  78. package/lib/generated/instructions/swap.d.ts +0 -95
  79. package/lib/generated/instructions/swap.d.ts.map +0 -1
  80. package/lib/generated/instructions/swapRouterBaseIn.d.ts +0 -71
  81. package/lib/generated/instructions/swapRouterBaseIn.d.ts.map +0 -1
  82. package/lib/generated/instructions/swapV2.d.ts +0 -112
  83. package/lib/generated/instructions/swapV2.d.ts.map +0 -1
  84. package/lib/generated/instructions/transferRewardOwner.d.ts +0 -46
  85. package/lib/generated/instructions/transferRewardOwner.d.ts.map +0 -1
  86. package/lib/generated/instructions/updateAmmConfig.d.ts +0 -51
  87. package/lib/generated/instructions/updateAmmConfig.d.ts.map +0 -1
  88. package/lib/generated/instructions/updateOperationAccount.d.ts +0 -66
  89. package/lib/generated/instructions/updateOperationAccount.d.ts.map +0 -1
  90. package/lib/generated/instructions/updatePoolStatus.d.ts +0 -44
  91. package/lib/generated/instructions/updatePoolStatus.d.ts.map +0 -1
  92. package/lib/generated/instructions/updateRewardInfos.d.ts +0 -39
  93. package/lib/generated/instructions/updateRewardInfos.d.ts.map +0 -1
  94. package/lib/generated/programs/ammV3.d.ts +0 -109
  95. package/lib/generated/programs/ammV3.d.ts.map +0 -1
  96. package/lib/generated/programs/index.d.ts +0 -9
  97. package/lib/generated/programs/index.d.ts.map +0 -1
  98. package/lib/generated/shared/index.d.ts +0 -50
  99. package/lib/generated/shared/index.d.ts.map +0 -1
  100. package/lib/generated/types/collectPersonalFeeEvent.d.ts +0 -37
  101. package/lib/generated/types/collectPersonalFeeEvent.d.ts.map +0 -1
  102. package/lib/generated/types/collectProtocolFeeEvent.d.ts +0 -37
  103. package/lib/generated/types/collectProtocolFeeEvent.d.ts.map +0 -1
  104. package/lib/generated/types/configChangeEvent.d.ts +0 -23
  105. package/lib/generated/types/configChangeEvent.d.ts.map +0 -1
  106. package/lib/generated/types/createPersonalPositionEvent.d.ts +0 -57
  107. package/lib/generated/types/createPersonalPositionEvent.d.ts.map +0 -1
  108. package/lib/generated/types/decreaseLiquidityEvent.d.ts +0 -51
  109. package/lib/generated/types/decreaseLiquidityEvent.d.ts.map +0 -1
  110. package/lib/generated/types/increaseLiquidityEvent.d.ts +0 -41
  111. package/lib/generated/types/increaseLiquidityEvent.d.ts.map +0 -1
  112. package/lib/generated/types/index.d.ts +0 -23
  113. package/lib/generated/types/index.d.ts.map +0 -1
  114. package/lib/generated/types/liquidityCalculateEvent.d.ts +0 -51
  115. package/lib/generated/types/liquidityCalculateEvent.d.ts.map +0 -1
  116. package/lib/generated/types/liquidityChangeEvent.d.ts +0 -41
  117. package/lib/generated/types/liquidityChangeEvent.d.ts.map +0 -1
  118. package/lib/generated/types/observation.d.ts +0 -29
  119. package/lib/generated/types/observation.d.ts.map +0 -1
  120. package/lib/generated/types/poolCreatedEvent.d.ts +0 -52
  121. package/lib/generated/types/poolCreatedEvent.d.ts.map +0 -1
  122. package/lib/generated/types/positionRewardInfo.d.ts +0 -20
  123. package/lib/generated/types/positionRewardInfo.d.ts.map +0 -1
  124. package/lib/generated/types/rewardInfo.d.ts +0 -66
  125. package/lib/generated/types/rewardInfo.d.ts.map +0 -1
  126. package/lib/generated/types/swapEvent.d.ts +0 -77
  127. package/lib/generated/types/swapEvent.d.ts.map +0 -1
  128. package/lib/generated/types/tickState.d.ts +0 -42
  129. package/lib/generated/types/tickState.d.ts.map +0 -1
  130. package/lib/generated/types/updateRewardInfosEvent.d.ts +0 -21
  131. package/lib/generated/types/updateRewardInfosEvent.d.ts.map +0 -1
  132. package/lib/index.d.ts +0 -19
  133. package/lib/index.d.ts.map +0 -1
  134. package/lib/index.js +0 -9345
  135. package/lib/index.mjs +0 -9982
  136. package/lib/pool-manager.d.ts +0 -84
  137. package/lib/pool-manager.d.ts.map +0 -1
  138. package/lib/position-manager.d.ts +0 -127
  139. package/lib/position-manager.d.ts.map +0 -1
  140. package/lib/rewards.d.ts +0 -7
  141. package/lib/rewards.d.ts.map +0 -1
  142. package/lib/swap.d.ts +0 -6
  143. package/lib/swap.d.ts.map +0 -1
  144. package/lib/types.d.ts +0 -306
  145. package/lib/types.d.ts.map +0 -1
  146. package/lib/utils/index.d.ts +0 -83
  147. package/lib/utils/index.d.ts.map +0 -1
  148. package/lib/utils/math.d.ts +0 -51
  149. package/lib/utils/math.d.ts.map +0 -1
  150. package/lib/utils/pda.d.ts +0 -80
  151. package/lib/utils/pda.d.ts.map +0 -1
  152. package/lib/utils/pool.d.ts +0 -171
  153. package/lib/utils/pool.d.ts.map +0 -1
  154. package/lib/utils/tick.d.ts +0 -172
  155. package/lib/utils/tick.d.ts.map +0 -1
  156. package/lib/utils/tickQuery.d.ts +0 -13
  157. package/lib/utils/tickQuery.d.ts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"closePosition.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/closePosition.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAWL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,uBA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AS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,8BAA8B,CAAC,QAAQ,EAAE,aAAa,CAAC,CAuBzD"}
@@ -1,40 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED using the Codama library.
3
- * Please DO NOT EDIT THIS FILE, instead use visitors
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
7
- */
8
- import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
- import { AMM_V3_PROGRAM_ADDRESS } from '../programs';
10
- export declare const CLOSE_PROTOCOL_POSITION_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getCloseProtocolPositionDiscriminatorBytes(): ReadonlyUint8Array;
12
- export type CloseProtocolPositionInstruction<TProgram extends string = typeof AMM_V3_PROGRAM_ADDRESS, TAccountAdmin extends string | AccountMeta<string> = 'AMeGg9qpzv1geQpiEWzhgXempJTuYYZeuLLKX1cYbmaw', TAccountProtocolPosition extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
- TAccountAdmin extends string ? WritableSignerAccount<TAccountAdmin> & AccountSignerMeta<TAccountAdmin> : TAccountAdmin,
14
- TAccountProtocolPosition extends string ? WritableAccount<TAccountProtocolPosition> : TAccountProtocolPosition,
15
- ...TRemainingAccounts
16
- ]>;
17
- export type CloseProtocolPositionInstructionData = {
18
- discriminator: ReadonlyUint8Array;
19
- };
20
- export type CloseProtocolPositionInstructionDataArgs = {};
21
- export declare function getCloseProtocolPositionInstructionDataEncoder(): FixedSizeEncoder<CloseProtocolPositionInstructionDataArgs>;
22
- export declare function getCloseProtocolPositionInstructionDataDecoder(): FixedSizeDecoder<CloseProtocolPositionInstructionData>;
23
- export declare function getCloseProtocolPositionInstructionDataCodec(): FixedSizeCodec<CloseProtocolPositionInstructionDataArgs, CloseProtocolPositionInstructionData>;
24
- export type CloseProtocolPositionInput<TAccountAdmin extends string = string, TAccountProtocolPosition extends string = string> = {
25
- admin?: TransactionSigner<TAccountAdmin>;
26
- protocolPosition: Address<TAccountProtocolPosition>;
27
- };
28
- export declare function getCloseProtocolPositionInstruction<TAccountAdmin extends string, TAccountProtocolPosition extends string, TProgramAddress extends Address = typeof AMM_V3_PROGRAM_ADDRESS>(input: CloseProtocolPositionInput<TAccountAdmin, TAccountProtocolPosition>, config?: {
29
- programAddress?: TProgramAddress;
30
- }): CloseProtocolPositionInstruction<TProgramAddress, TAccountAdmin, TAccountProtocolPosition>;
31
- export type ParsedCloseProtocolPositionInstruction<TProgram extends string = typeof AMM_V3_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
32
- programAddress: Address<TProgram>;
33
- accounts: {
34
- admin: TAccountMetas[0];
35
- protocolPosition: TAccountMetas[1];
36
- };
37
- data: CloseProtocolPositionInstructionData;
38
- };
39
- export declare function parseCloseProtocolPositionInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCloseProtocolPositionInstruction<TProgram, TAccountMetas>;
40
- //# sourceMappingURL=closeProtocolPosition.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"closeProtocolPosition.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/closeProtocolPosition.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EASL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,g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- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
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 TransactionSigner, type WritableAccount } from '@solana/kit';
9
- import { AMM_V3_PROGRAM_ADDRESS } from '../programs';
10
- export declare const COLLECT_FUND_FEE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getCollectFundFeeDiscriminatorBytes(): ReadonlyUint8Array;
12
- export type CollectFundFeeInstruction<TProgram extends string = typeof AMM_V3_PROGRAM_ADDRESS, TAccountOwner extends string | AccountMeta<string> = string, TAccountPoolState extends string | AccountMeta<string> = string, TAccountAmmConfig extends string | AccountMeta<string> = string, TAccountTokenVault0 extends string | AccountMeta<string> = string, TAccountTokenVault1 extends string | AccountMeta<string> = string, TAccountVault0Mint extends string | AccountMeta<string> = string, TAccountVault1Mint extends string | AccountMeta<string> = string, TAccountRecipientTokenAccount0 extends string | AccountMeta<string> = string, TAccountRecipientTokenAccount1 extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountTokenProgram2022 extends string | AccountMeta<string> = 'TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
- TAccountOwner extends string ? ReadonlySignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner> : TAccountOwner,
14
- TAccountPoolState extends string ? WritableAccount<TAccountPoolState> : TAccountPoolState,
15
- TAccountAmmConfig extends string ? ReadonlyAccount<TAccountAmmConfig> : TAccountAmmConfig,
16
- TAccountTokenVault0 extends string ? WritableAccount<TAccountTokenVault0> : TAccountTokenVault0,
17
- TAccountTokenVault1 extends string ? WritableAccount<TAccountTokenVault1> : TAccountTokenVault1,
18
- TAccountVault0Mint extends string ? ReadonlyAccount<TAccountVault0Mint> : TAccountVault0Mint,
19
- TAccountVault1Mint extends string ? ReadonlyAccount<TAccountVault1Mint> : TAccountVault1Mint,
20
- TAccountRecipientTokenAccount0 extends string ? WritableAccount<TAccountRecipientTokenAccount0> : TAccountRecipientTokenAccount0,
21
- TAccountRecipientTokenAccount1 extends string ? WritableAccount<TAccountRecipientTokenAccount1> : TAccountRecipientTokenAccount1,
22
- TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
23
- TAccountTokenProgram2022 extends string ? ReadonlyAccount<TAccountTokenProgram2022> : TAccountTokenProgram2022,
24
- ...TRemainingAccounts
25
- ]>;
26
- export type CollectFundFeeInstructionData = {
27
- discriminator: ReadonlyUint8Array;
28
- amount0Requested: bigint;
29
- amount1Requested: bigint;
30
- };
31
- export type CollectFundFeeInstructionDataArgs = {
32
- amount0Requested: number | bigint;
33
- amount1Requested: number | bigint;
34
- };
35
- export declare function getCollectFundFeeInstructionDataEncoder(): FixedSizeEncoder<CollectFundFeeInstructionDataArgs>;
36
- export declare function getCollectFundFeeInstructionDataDecoder(): FixedSizeDecoder<CollectFundFeeInstructionData>;
37
- export declare function getCollectFundFeeInstructionDataCodec(): FixedSizeCodec<CollectFundFeeInstructionDataArgs, CollectFundFeeInstructionData>;
38
- export type CollectFundFeeInput<TAccountOwner extends string = string, TAccountPoolState extends string = string, TAccountAmmConfig extends string = string, TAccountTokenVault0 extends string = string, TAccountTokenVault1 extends string = string, TAccountVault0Mint extends string = string, TAccountVault1Mint extends string = string, TAccountRecipientTokenAccount0 extends string = string, TAccountRecipientTokenAccount1 extends string = string, TAccountTokenProgram extends string = string, TAccountTokenProgram2022 extends string = string> = {
39
- /** Only admin or fund_owner can collect fee now */
40
- owner: TransactionSigner<TAccountOwner>;
41
- /** Pool state stores accumulated protocol fee amount */
42
- poolState: Address<TAccountPoolState>;
43
- /** Amm config account stores fund_owner */
44
- ammConfig: Address<TAccountAmmConfig>;
45
- /** The address that holds pool tokens for token_0 */
46
- tokenVault0: Address<TAccountTokenVault0>;
47
- /** The address that holds pool tokens for token_1 */
48
- tokenVault1: Address<TAccountTokenVault1>;
49
- /** The mint of token vault 0 */
50
- vault0Mint: Address<TAccountVault0Mint>;
51
- /** The mint of token vault 1 */
52
- vault1Mint: Address<TAccountVault1Mint>;
53
- /** The address that receives the collected token_0 protocol fees */
54
- recipientTokenAccount0: Address<TAccountRecipientTokenAccount0>;
55
- /** The address that receives the collected token_1 protocol fees */
56
- recipientTokenAccount1: Address<TAccountRecipientTokenAccount1>;
57
- /** The SPL program to perform token transfers */
58
- tokenProgram?: Address<TAccountTokenProgram>;
59
- /** The SPL program 2022 to perform token transfers */
60
- tokenProgram2022?: Address<TAccountTokenProgram2022>;
61
- amount0Requested: CollectFundFeeInstructionDataArgs['amount0Requested'];
62
- amount1Requested: CollectFundFeeInstructionDataArgs['amount1Requested'];
63
- };
64
- export declare function getCollectFundFeeInstruction<TAccountOwner extends string, TAccountPoolState extends string, TAccountAmmConfig extends string, TAccountTokenVault0 extends string, TAccountTokenVault1 extends string, TAccountVault0Mint extends string, TAccountVault1Mint extends string, TAccountRecipientTokenAccount0 extends string, TAccountRecipientTokenAccount1 extends string, TAccountTokenProgram extends string, TAccountTokenProgram2022 extends string, TProgramAddress extends Address = typeof AMM_V3_PROGRAM_ADDRESS>(input: CollectFundFeeInput<TAccountOwner, TAccountPoolState, TAccountAmmConfig, TAccountTokenVault0, TAccountTokenVault1, TAccountVault0Mint, TAccountVault1Mint, TAccountRecipientTokenAccount0, TAccountRecipientTokenAccount1, TAccountTokenProgram, TAccountTokenProgram2022>, config?: {
65
- programAddress?: TProgramAddress;
66
- }): CollectFundFeeInstruction<TProgramAddress, TAccountOwner, TAccountPoolState, TAccountAmmConfig, TAccountTokenVault0, TAccountTokenVault1, TAccountVault0Mint, TAccountVault1Mint, TAccountRecipientTokenAccount0, TAccountRecipientTokenAccount1, TAccountTokenProgram, TAccountTokenProgram2022>;
67
- export type ParsedCollectFundFeeInstruction<TProgram extends string = typeof AMM_V3_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
68
- programAddress: Address<TProgram>;
69
- accounts: {
70
- /** Only admin or fund_owner can collect fee now */
71
- owner: TAccountMetas[0];
72
- /** Pool state stores accumulated protocol fee amount */
73
- poolState: TAccountMetas[1];
74
- /** Amm config account stores fund_owner */
75
- ammConfig: TAccountMetas[2];
76
- /** The address that holds pool tokens for token_0 */
77
- tokenVault0: TAccountMetas[3];
78
- /** The address that holds pool tokens for token_1 */
79
- tokenVault1: TAccountMetas[4];
80
- /** The mint of token vault 0 */
81
- vault0Mint: TAccountMetas[5];
82
- /** The mint of token vault 1 */
83
- vault1Mint: TAccountMetas[6];
84
- /** The address that receives the collected token_0 protocol fees */
85
- recipientTokenAccount0: TAccountMetas[7];
86
- /** The address that receives the collected token_1 protocol fees */
87
- recipientTokenAccount1: TAccountMetas[8];
88
- /** The SPL program to perform token transfers */
89
- tokenProgram: TAccountMetas[9];
90
- /** The SPL program 2022 to perform token transfers */
91
- tokenProgram2022: TAccountMetas[10];
92
- };
93
- data: CollectFundFeeInstructionData;
94
- };
95
- export declare function parseCollectFundFeeInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCollectFundFeeInstruction<TProgram, TAccountMetas>;
96
- //# sourceMappingURL=collectFundFee.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"collectFundFee.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/collectFundFee.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAWL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ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
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
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 TransactionSigner, type WritableAccount } from '@solana/kit';
9
- import { AMM_V3_PROGRAM_ADDRESS } from '../programs';
10
- export declare const COLLECT_PROTOCOL_FEE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getCollectProtocolFeeDiscriminatorBytes(): ReadonlyUint8Array;
12
- export type CollectProtocolFeeInstruction<TProgram extends string = typeof AMM_V3_PROGRAM_ADDRESS, TAccountOwner extends string | AccountMeta<string> = string, TAccountPoolState extends string | AccountMeta<string> = string, TAccountAmmConfig extends string | AccountMeta<string> = string, TAccountTokenVault0 extends string | AccountMeta<string> = string, TAccountTokenVault1 extends string | AccountMeta<string> = string, TAccountVault0Mint extends string | AccountMeta<string> = string, TAccountVault1Mint extends string | AccountMeta<string> = string, TAccountRecipientTokenAccount0 extends string | AccountMeta<string> = string, TAccountRecipientTokenAccount1 extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountTokenProgram2022 extends string | AccountMeta<string> = 'TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
- TAccountOwner extends string ? ReadonlySignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner> : TAccountOwner,
14
- TAccountPoolState extends string ? WritableAccount<TAccountPoolState> : TAccountPoolState,
15
- TAccountAmmConfig extends string ? ReadonlyAccount<TAccountAmmConfig> : TAccountAmmConfig,
16
- TAccountTokenVault0 extends string ? WritableAccount<TAccountTokenVault0> : TAccountTokenVault0,
17
- TAccountTokenVault1 extends string ? WritableAccount<TAccountTokenVault1> : TAccountTokenVault1,
18
- TAccountVault0Mint extends string ? ReadonlyAccount<TAccountVault0Mint> : TAccountVault0Mint,
19
- TAccountVault1Mint extends string ? ReadonlyAccount<TAccountVault1Mint> : TAccountVault1Mint,
20
- TAccountRecipientTokenAccount0 extends string ? WritableAccount<TAccountRecipientTokenAccount0> : TAccountRecipientTokenAccount0,
21
- TAccountRecipientTokenAccount1 extends string ? WritableAccount<TAccountRecipientTokenAccount1> : TAccountRecipientTokenAccount1,
22
- TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
23
- TAccountTokenProgram2022 extends string ? ReadonlyAccount<TAccountTokenProgram2022> : TAccountTokenProgram2022,
24
- ...TRemainingAccounts
25
- ]>;
26
- export type CollectProtocolFeeInstructionData = {
27
- discriminator: ReadonlyUint8Array;
28
- amount0Requested: bigint;
29
- amount1Requested: bigint;
30
- };
31
- export type CollectProtocolFeeInstructionDataArgs = {
32
- amount0Requested: number | bigint;
33
- amount1Requested: number | bigint;
34
- };
35
- export declare function getCollectProtocolFeeInstructionDataEncoder(): FixedSizeEncoder<CollectProtocolFeeInstructionDataArgs>;
36
- export declare function getCollectProtocolFeeInstructionDataDecoder(): FixedSizeDecoder<CollectProtocolFeeInstructionData>;
37
- export declare function getCollectProtocolFeeInstructionDataCodec(): FixedSizeCodec<CollectProtocolFeeInstructionDataArgs, CollectProtocolFeeInstructionData>;
38
- export type CollectProtocolFeeInput<TAccountOwner extends string = string, TAccountPoolState extends string = string, TAccountAmmConfig extends string = string, TAccountTokenVault0 extends string = string, TAccountTokenVault1 extends string = string, TAccountVault0Mint extends string = string, TAccountVault1Mint extends string = string, TAccountRecipientTokenAccount0 extends string = string, TAccountRecipientTokenAccount1 extends string = string, TAccountTokenProgram extends string = string, TAccountTokenProgram2022 extends string = string> = {
39
- /** Only admin or config owner can collect fee now */
40
- owner: TransactionSigner<TAccountOwner>;
41
- /** Pool state stores accumulated protocol fee amount */
42
- poolState: Address<TAccountPoolState>;
43
- /** Amm config account stores owner */
44
- ammConfig: Address<TAccountAmmConfig>;
45
- /** The address that holds pool tokens for token_0 */
46
- tokenVault0: Address<TAccountTokenVault0>;
47
- /** The address that holds pool tokens for token_1 */
48
- tokenVault1: Address<TAccountTokenVault1>;
49
- /** The mint of token vault 0 */
50
- vault0Mint: Address<TAccountVault0Mint>;
51
- /** The mint of token vault 1 */
52
- vault1Mint: Address<TAccountVault1Mint>;
53
- /** The address that receives the collected token_0 protocol fees */
54
- recipientTokenAccount0: Address<TAccountRecipientTokenAccount0>;
55
- /** The address that receives the collected token_1 protocol fees */
56
- recipientTokenAccount1: Address<TAccountRecipientTokenAccount1>;
57
- /** The SPL program to perform token transfers */
58
- tokenProgram?: Address<TAccountTokenProgram>;
59
- /** The SPL program 2022 to perform token transfers */
60
- tokenProgram2022?: Address<TAccountTokenProgram2022>;
61
- amount0Requested: CollectProtocolFeeInstructionDataArgs['amount0Requested'];
62
- amount1Requested: CollectProtocolFeeInstructionDataArgs['amount1Requested'];
63
- };
64
- export declare function getCollectProtocolFeeInstruction<TAccountOwner extends string, TAccountPoolState extends string, TAccountAmmConfig extends string, TAccountTokenVault0 extends string, TAccountTokenVault1 extends string, TAccountVault0Mint extends string, TAccountVault1Mint extends string, TAccountRecipientTokenAccount0 extends string, TAccountRecipientTokenAccount1 extends string, TAccountTokenProgram extends string, TAccountTokenProgram2022 extends string, TProgramAddress extends Address = typeof AMM_V3_PROGRAM_ADDRESS>(input: CollectProtocolFeeInput<TAccountOwner, TAccountPoolState, TAccountAmmConfig, TAccountTokenVault0, TAccountTokenVault1, TAccountVault0Mint, TAccountVault1Mint, TAccountRecipientTokenAccount0, TAccountRecipientTokenAccount1, TAccountTokenProgram, TAccountTokenProgram2022>, config?: {
65
- programAddress?: TProgramAddress;
66
- }): CollectProtocolFeeInstruction<TProgramAddress, TAccountOwner, TAccountPoolState, TAccountAmmConfig, TAccountTokenVault0, TAccountTokenVault1, TAccountVault0Mint, TAccountVault1Mint, TAccountRecipientTokenAccount0, TAccountRecipientTokenAccount1, TAccountTokenProgram, TAccountTokenProgram2022>;
67
- export type ParsedCollectProtocolFeeInstruction<TProgram extends string = typeof AMM_V3_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
68
- programAddress: Address<TProgram>;
69
- accounts: {
70
- /** Only admin or config owner can collect fee now */
71
- owner: TAccountMetas[0];
72
- /** Pool state stores accumulated protocol fee amount */
73
- poolState: TAccountMetas[1];
74
- /** Amm config account stores owner */
75
- ammConfig: TAccountMetas[2];
76
- /** The address that holds pool tokens for token_0 */
77
- tokenVault0: TAccountMetas[3];
78
- /** The address that holds pool tokens for token_1 */
79
- tokenVault1: TAccountMetas[4];
80
- /** The mint of token vault 0 */
81
- vault0Mint: TAccountMetas[5];
82
- /** The mint of token vault 1 */
83
- vault1Mint: TAccountMetas[6];
84
- /** The address that receives the collected token_0 protocol fees */
85
- recipientTokenAccount0: TAccountMetas[7];
86
- /** The address that receives the collected token_1 protocol fees */
87
- recipientTokenAccount1: TAccountMetas[8];
88
- /** The SPL program to perform token transfers */
89
- tokenProgram: TAccountMetas[9];
90
- /** The SPL program 2022 to perform token transfers */
91
- tokenProgram2022: TAccountMetas[10];
92
- };
93
- data: CollectProtocolFeeInstructionData;
94
- };
95
- export declare function parseCollectProtocolFeeInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCollectProtocolFeeInstruction<TProgram, TAccountMetas>;
96
- //# sourceMappingURL=collectProtocolFee.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"collectProtocolFee.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/collectProtocolFee.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAWL,K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GENERATED using the Codama library.
3
- * Please DO NOT EDIT THIS FILE, instead use visitors
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
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 TransactionSigner, type WritableAccount } from '@solana/kit';
9
- import { AMM_V3_PROGRAM_ADDRESS } from '../programs';
10
- export declare const COLLECT_REMAINING_REWARDS_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getCollectRemainingRewardsDiscriminatorBytes(): ReadonlyUint8Array;
12
- export type CollectRemainingRewardsInstruction<TProgram extends string = typeof AMM_V3_PROGRAM_ADDRESS, TAccountRewardFunder extends string | AccountMeta<string> = string, TAccountFunderTokenAccount extends string | AccountMeta<string> = string, TAccountPoolState extends string | AccountMeta<string> = string, TAccountRewardTokenVault extends string | AccountMeta<string> = string, TAccountRewardVaultMint extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountTokenProgram2022 extends string | AccountMeta<string> = 'TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb', TAccountMemoProgram extends string | AccountMeta<string> = 'MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
- TAccountRewardFunder extends string ? ReadonlySignerAccount<TAccountRewardFunder> & AccountSignerMeta<TAccountRewardFunder> : TAccountRewardFunder,
14
- TAccountFunderTokenAccount extends string ? WritableAccount<TAccountFunderTokenAccount> : TAccountFunderTokenAccount,
15
- TAccountPoolState extends string ? WritableAccount<TAccountPoolState> : TAccountPoolState,
16
- TAccountRewardTokenVault extends string ? WritableAccount<TAccountRewardTokenVault> : TAccountRewardTokenVault,
17
- TAccountRewardVaultMint extends string ? ReadonlyAccount<TAccountRewardVaultMint> : TAccountRewardVaultMint,
18
- TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram,
19
- TAccountTokenProgram2022 extends string ? ReadonlyAccount<TAccountTokenProgram2022> : TAccountTokenProgram2022,
20
- TAccountMemoProgram extends string ? ReadonlyAccount<TAccountMemoProgram> : TAccountMemoProgram,
21
- ...TRemainingAccounts
22
- ]>;
23
- export type CollectRemainingRewardsInstructionData = {
24
- discriminator: ReadonlyUint8Array;
25
- rewardIndex: number;
26
- };
27
- export type CollectRemainingRewardsInstructionDataArgs = {
28
- rewardIndex: number;
29
- };
30
- export declare function getCollectRemainingRewardsInstructionDataEncoder(): FixedSizeEncoder<CollectRemainingRewardsInstructionDataArgs>;
31
- export declare function getCollectRemainingRewardsInstructionDataDecoder(): FixedSizeDecoder<CollectRemainingRewardsInstructionData>;
32
- export declare function getCollectRemainingRewardsInstructionDataCodec(): FixedSizeCodec<CollectRemainingRewardsInstructionDataArgs, CollectRemainingRewardsInstructionData>;
33
- export type CollectRemainingRewardsInput<TAccountRewardFunder extends string = string, TAccountFunderTokenAccount extends string = string, TAccountPoolState extends string = string, TAccountRewardTokenVault extends string = string, TAccountRewardVaultMint extends string = string, TAccountTokenProgram extends string = string, TAccountTokenProgram2022 extends string = string, TAccountMemoProgram extends string = string> = {
34
- /** The founder who init reward info previously */
35
- rewardFunder: TransactionSigner<TAccountRewardFunder>;
36
- /** The funder's reward token account */
37
- funderTokenAccount: Address<TAccountFunderTokenAccount>;
38
- /** Set reward for this pool */
39
- poolState: Address<TAccountPoolState>;
40
- /** Reward vault transfer remaining token to founder token account */
41
- rewardTokenVault: Address<TAccountRewardTokenVault>;
42
- /** The mint of reward token vault */
43
- rewardVaultMint: Address<TAccountRewardVaultMint>;
44
- tokenProgram?: Address<TAccountTokenProgram>;
45
- /** Token program 2022 */
46
- tokenProgram2022?: Address<TAccountTokenProgram2022>;
47
- /** memo program */
48
- memoProgram?: Address<TAccountMemoProgram>;
49
- rewardIndex: CollectRemainingRewardsInstructionDataArgs['rewardIndex'];
50
- };
51
- export declare function getCollectRemainingRewardsInstruction<TAccountRewardFunder extends string, TAccountFunderTokenAccount extends string, TAccountPoolState extends string, TAccountRewardTokenVault extends string, TAccountRewardVaultMint extends string, TAccountTokenProgram extends string, TAccountTokenProgram2022 extends string, TAccountMemoProgram extends string, TProgramAddress extends Address = typeof AMM_V3_PROGRAM_ADDRESS>(input: CollectRemainingRewardsInput<TAccountRewardFunder, TAccountFunderTokenAccount, TAccountPoolState, TAccountRewardTokenVault, TAccountRewardVaultMint, TAccountTokenProgram, TAccountTokenProgram2022, TAccountMemoProgram>, config?: {
52
- programAddress?: TProgramAddress;
53
- }): CollectRemainingRewardsInstruction<TProgramAddress, TAccountRewardFunder, TAccountFunderTokenAccount, TAccountPoolState, TAccountRewardTokenVault, TAccountRewardVaultMint, TAccountTokenProgram, TAccountTokenProgram2022, TAccountMemoProgram>;
54
- export type ParsedCollectRemainingRewardsInstruction<TProgram extends string = typeof AMM_V3_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
55
- programAddress: Address<TProgram>;
56
- accounts: {
57
- /** The founder who init reward info previously */
58
- rewardFunder: TAccountMetas[0];
59
- /** The funder's reward token account */
60
- funderTokenAccount: TAccountMetas[1];
61
- /** Set reward for this pool */
62
- poolState: TAccountMetas[2];
63
- /** Reward vault transfer remaining token to founder token account */
64
- rewardTokenVault: TAccountMetas[3];
65
- /** The mint of reward token vault */
66
- rewardVaultMint: TAccountMetas[4];
67
- tokenProgram: TAccountMetas[5];
68
- /** Token program 2022 */
69
- tokenProgram2022: TAccountMetas[6];
70
- /** memo program */
71
- memoProgram: TAccountMetas[7];
72
- };
73
- data: CollectRemainingRewardsInstructionData;
74
- };
75
- export declare function parseCollectRemainingRewardsInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCollectRemainingRewardsInstruction<TProgram, TAccountMetas>;
76
- //# sourceMappingURL=collectRemainingRewards.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"collectRemainingRewards.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/collectRemainingRewards.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAWL,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,iBAAiB,EACtB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,eAAO,MAAM,uCAAuC,yBAElD,CAAC;AAEH,wBAAgB,4CAA4C,uBAI3D;AAED,MAAM,MAAM,kCAAkC,CAC5C,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,oBAAoB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAClE,0BAA0B,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACxE,iBAAiB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAC/D,wBAAwB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACtE,uBAAuB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACrE,oBAAoB,SAChB,MAAM,GACN,WAAW,CAAC,MAAM,CAAC,GAAG,6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AC;CAC9C,CAAC;AAEF,wBAAgB,uCAAuC,CACrD,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,wCAAwC,CAAC,QAAQ,EAAE,aAAa,CAAC,CA2BnE"}
@@ -1,78 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED using the Codama library.
3
- * Please DO NOT EDIT THIS FILE, instead use visitors
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
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 TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
- import { AMM_V3_PROGRAM_ADDRESS } from '../programs';
10
- export declare const CREATE_AMM_CONFIG_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getCreateAmmConfigDiscriminatorBytes(): ReadonlyUint8Array;
12
- export type CreateAmmConfigInstruction<TProgram extends string = typeof AMM_V3_PROGRAM_ADDRESS, TAccountOwner extends string | AccountMeta<string> = 'AMeGg9qpzv1geQpiEWzhgXempJTuYYZeuLLKX1cYbmaw', TAccountAmmConfig extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
- TAccountOwner extends string ? WritableSignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner> : TAccountOwner,
14
- TAccountAmmConfig extends string ? WritableAccount<TAccountAmmConfig> : TAccountAmmConfig,
15
- TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
16
- ...TRemainingAccounts
17
- ]>;
18
- export type CreateAmmConfigInstructionData = {
19
- discriminator: ReadonlyUint8Array;
20
- index: number;
21
- tickSpacing: number;
22
- tradeFeeRate: number;
23
- protocolFeeRate: number;
24
- fundFeeRate: number;
25
- };
26
- export type CreateAmmConfigInstructionDataArgs = {
27
- index: number;
28
- tickSpacing: number;
29
- tradeFeeRate: number;
30
- protocolFeeRate: number;
31
- fundFeeRate: number;
32
- };
33
- export declare function getCreateAmmConfigInstructionDataEncoder(): FixedSizeEncoder<CreateAmmConfigInstructionDataArgs>;
34
- export declare function getCreateAmmConfigInstructionDataDecoder(): FixedSizeDecoder<CreateAmmConfigInstructionData>;
35
- export declare function getCreateAmmConfigInstructionDataCodec(): FixedSizeCodec<CreateAmmConfigInstructionDataArgs, CreateAmmConfigInstructionData>;
36
- export type CreateAmmConfigAsyncInput<TAccountOwner extends string = string, TAccountAmmConfig extends string = string, TAccountSystemProgram extends string = string> = {
37
- /** Address to be set as protocol owner. */
38
- owner?: TransactionSigner<TAccountOwner>;
39
- /** Initialize config state account to store protocol owner address and fee rates. */
40
- ammConfig?: Address<TAccountAmmConfig>;
41
- systemProgram?: Address<TAccountSystemProgram>;
42
- index: CreateAmmConfigInstructionDataArgs['index'];
43
- tickSpacing: CreateAmmConfigInstructionDataArgs['tickSpacing'];
44
- tradeFeeRate: CreateAmmConfigInstructionDataArgs['tradeFeeRate'];
45
- protocolFeeRate: CreateAmmConfigInstructionDataArgs['protocolFeeRate'];
46
- fundFeeRate: CreateAmmConfigInstructionDataArgs['fundFeeRate'];
47
- };
48
- export declare function getCreateAmmConfigInstructionAsync<TAccountOwner extends string, TAccountAmmConfig extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof AMM_V3_PROGRAM_ADDRESS>(input: CreateAmmConfigAsyncInput<TAccountOwner, TAccountAmmConfig, TAccountSystemProgram>, config?: {
49
- programAddress?: TProgramAddress;
50
- }): Promise<CreateAmmConfigInstruction<TProgramAddress, TAccountOwner, TAccountAmmConfig, TAccountSystemProgram>>;
51
- export type CreateAmmConfigInput<TAccountOwner extends string = string, TAccountAmmConfig extends string = string, TAccountSystemProgram extends string = string> = {
52
- /** Address to be set as protocol owner. */
53
- owner?: TransactionSigner<TAccountOwner>;
54
- /** Initialize config state account to store protocol owner address and fee rates. */
55
- ammConfig: Address<TAccountAmmConfig>;
56
- systemProgram?: Address<TAccountSystemProgram>;
57
- index: CreateAmmConfigInstructionDataArgs['index'];
58
- tickSpacing: CreateAmmConfigInstructionDataArgs['tickSpacing'];
59
- tradeFeeRate: CreateAmmConfigInstructionDataArgs['tradeFeeRate'];
60
- protocolFeeRate: CreateAmmConfigInstructionDataArgs['protocolFeeRate'];
61
- fundFeeRate: CreateAmmConfigInstructionDataArgs['fundFeeRate'];
62
- };
63
- export declare function getCreateAmmConfigInstruction<TAccountOwner extends string, TAccountAmmConfig extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof AMM_V3_PROGRAM_ADDRESS>(input: CreateAmmConfigInput<TAccountOwner, TAccountAmmConfig, TAccountSystemProgram>, config?: {
64
- programAddress?: TProgramAddress;
65
- }): CreateAmmConfigInstruction<TProgramAddress, TAccountOwner, TAccountAmmConfig, TAccountSystemProgram>;
66
- export type ParsedCreateAmmConfigInstruction<TProgram extends string = typeof AMM_V3_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
67
- programAddress: Address<TProgram>;
68
- accounts: {
69
- /** Address to be set as protocol owner. */
70
- owner: TAccountMetas[0];
71
- /** Initialize config state account to store protocol owner address and fee rates. */
72
- ammConfig: TAccountMetas[1];
73
- systemProgram: TAccountMetas[2];
74
- };
75
- data: CreateAmmConfigInstructionData;
76
- };
77
- export declare function parseCreateAmmConfigInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateAmmConfigInstruction<TProgram, TAccountMetas>;
78
- //# sourceMappingURL=createAmmConfig.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createAmmConfig.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/createAmmConfig.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAcL,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,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAOrD,eAAO,MAAM,+BAA+B,yBAE1C,CAAC;AAEH,wBAAgB,oCAAoC,uBAInD;AAED,MAAM,MAAM,0BAA0B,CACpC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,aAAa,SACT,MAAM,GACN,WAAW,CAAC,MAAM,CAAC,GAAG,8CAA8C,EACxE,iBAAiB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAC/D,qBAAqB,SACjB,MAAM,GACN,WAAW,CAAC,MAAM,CAAC,GAAG,kCAAkC,EAC5D,kBAAkB,SAAS,SAAS,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,IAC5D,WAAW,CAAC,QAAQ,CAAC,GACvB,mBAAmB,CAAC,kBAAkB,CAAC,GACvC,uBAAuB,CACrB;IACE,aAAa,SAAS,MAAM,GACxB,qBAAqB,CAAC,aAAa,CAAC,GAClC,iBAAiB,CAAC,aAAa,CAAC,GAClC,aAAa;IACjB,iBAAiB,SAAS,MAAM,GAC5B,eAAe,CAAC,iBAAiB,CAAC,GAClC,iBAAiB;IAC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,GAAG,OAAO,sBAAsB,EAE/D,KAAK,EAAE,oBAAoB,CACzB,aAAa,EACb,iBAAiB,EACjB,qBAAqB,CACtB,EACD,MAAM,CAAC,EAAE;IAAE,cAAc,CAAC,EAAE,eAAe,CAAA;CAAE,GAC5C,0BAA0B,CAC3B,eAAe,EACf,aAAa,EACb,iBAAiB,EACjB,qBAAqB,CACtB,CA6CA;AAED,MAAM,MAAM,gCAAgC,CAC1C,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,aAAa,SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IACnE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,2CAA2C;QAC3C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACxB,qFAAqF;QACrF,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC5B,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KACjC,CAAC;IACF,IAAI,EAAE,8BAA8B,CAAC;CACtC,CAAC;AAEF,wBAAgB,+BAA+B,CAC7C,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,gCAAgC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAoB3D"}
@@ -1,57 +0,0 @@
1
- /**
2
- * This code was AUTOGENERATED using the Codama library.
3
- * Please DO NOT EDIT THIS FILE, instead use visitors
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
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 TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
- import { AMM_V3_PROGRAM_ADDRESS } from '../programs';
10
- export declare const CREATE_OPERATION_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getCreateOperationAccountDiscriminatorBytes(): ReadonlyUint8Array;
12
- export type CreateOperationAccountInstruction<TProgram extends string = typeof AMM_V3_PROGRAM_ADDRESS, TAccountOwner extends string | AccountMeta<string> = 'AMeGg9qpzv1geQpiEWzhgXempJTuYYZeuLLKX1cYbmaw', TAccountOperationState extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
- TAccountOwner extends string ? WritableSignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner> : TAccountOwner,
14
- TAccountOperationState extends string ? WritableAccount<TAccountOperationState> : TAccountOperationState,
15
- TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
16
- ...TRemainingAccounts
17
- ]>;
18
- export type CreateOperationAccountInstructionData = {
19
- discriminator: ReadonlyUint8Array;
20
- };
21
- export type CreateOperationAccountInstructionDataArgs = {};
22
- export declare function getCreateOperationAccountInstructionDataEncoder(): FixedSizeEncoder<CreateOperationAccountInstructionDataArgs>;
23
- export declare function getCreateOperationAccountInstructionDataDecoder(): FixedSizeDecoder<CreateOperationAccountInstructionData>;
24
- export declare function getCreateOperationAccountInstructionDataCodec(): FixedSizeCodec<CreateOperationAccountInstructionDataArgs, CreateOperationAccountInstructionData>;
25
- export type CreateOperationAccountAsyncInput<TAccountOwner extends string = string, TAccountOperationState extends string = string, TAccountSystemProgram extends string = string> = {
26
- /** Address to be set as operation account owner. */
27
- owner?: TransactionSigner<TAccountOwner>;
28
- /** Initialize operation state account to store operation owner address and white list mint. */
29
- operationState?: Address<TAccountOperationState>;
30
- systemProgram?: Address<TAccountSystemProgram>;
31
- };
32
- export declare function getCreateOperationAccountInstructionAsync<TAccountOwner extends string, TAccountOperationState extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof AMM_V3_PROGRAM_ADDRESS>(input: CreateOperationAccountAsyncInput<TAccountOwner, TAccountOperationState, TAccountSystemProgram>, config?: {
33
- programAddress?: TProgramAddress;
34
- }): Promise<CreateOperationAccountInstruction<TProgramAddress, TAccountOwner, TAccountOperationState, TAccountSystemProgram>>;
35
- export type CreateOperationAccountInput<TAccountOwner extends string = string, TAccountOperationState extends string = string, TAccountSystemProgram extends string = string> = {
36
- /** Address to be set as operation account owner. */
37
- owner?: TransactionSigner<TAccountOwner>;
38
- /** Initialize operation state account to store operation owner address and white list mint. */
39
- operationState: Address<TAccountOperationState>;
40
- systemProgram?: Address<TAccountSystemProgram>;
41
- };
42
- export declare function getCreateOperationAccountInstruction<TAccountOwner extends string, TAccountOperationState extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof AMM_V3_PROGRAM_ADDRESS>(input: CreateOperationAccountInput<TAccountOwner, TAccountOperationState, TAccountSystemProgram>, config?: {
43
- programAddress?: TProgramAddress;
44
- }): CreateOperationAccountInstruction<TProgramAddress, TAccountOwner, TAccountOperationState, TAccountSystemProgram>;
45
- export type ParsedCreateOperationAccountInstruction<TProgram extends string = typeof AMM_V3_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
46
- programAddress: Address<TProgram>;
47
- accounts: {
48
- /** Address to be set as operation account owner. */
49
- owner: TAccountMetas[0];
50
- /** Initialize operation state account to store operation owner address and white list mint. */
51
- operationState: TAccountMetas[1];
52
- systemProgram: TAccountMetas[2];
53
- };
54
- data: CreateOperationAccountInstructionData;
55
- };
56
- export declare function parseCreateOperationAccountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedCreateOperationAccountInstruction<TProgram, TAccountMetas>;
57
- //# sourceMappingURL=createOperationAccount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createOperationAccount.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/createOperationAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAUL,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,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,eAAO,MAAM,sCAAsC,yBAEjD,CAAC;AAEH,wBAAgB,2CAA2C,uBAI1D;AAED,MAAM,MAAM,iCAAiC,CAC3C,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,aAAa,SACT,MAAM,GACN,WAAW,CAAC,MAAM,CAAC,GAAG,8CAA8C,EACxE,sBAAsB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACpE,qBAAqB,SACjB,MAAM,GACN,WAAW,CAAC,MAAM,CAAC,GAAG,kCAAkC,EAC5D,kBAAkB,SAAS,SAAS,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,IAC5D,WAAW,CAAC,QAAQ,CAAC,GACvB,mBAAmB,CAAC,kBAAkB,CAAC,GACvC,uBAAuB,CACrB;IACE,aAAa,SAAS,MAAM,GACxB,qBAAqB,CAAC,aAAa,CAAC,GAClC,iBAAiB,CAAC,aAAa,CAAC,GAClC,aAAa;IACjB,sBAAsB,SAAS,MAAM,GACjC,eAAe,CAAC,sBAAsB,CAAC,GACvC,sBAA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