@stabbleorg/mclmm-sdk 0.1.4 → 0.1.6

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,39 +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 Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit';
9
- import { AMM_V3_PROGRAM_ADDRESS } from '../programs';
10
- export declare const UPDATE_REWARD_INFOS_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
11
- export declare function getUpdateRewardInfosDiscriminatorBytes(): ReadonlyUint8Array;
12
- export type UpdateRewardInfosInstruction<TProgram extends string = typeof AMM_V3_PROGRAM_ADDRESS, TAccountPoolState extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
- TAccountPoolState extends string ? WritableAccount<TAccountPoolState> : TAccountPoolState,
14
- ...TRemainingAccounts
15
- ]>;
16
- export type UpdateRewardInfosInstructionData = {
17
- discriminator: ReadonlyUint8Array;
18
- };
19
- export type UpdateRewardInfosInstructionDataArgs = {};
20
- export declare function getUpdateRewardInfosInstructionDataEncoder(): FixedSizeEncoder<UpdateRewardInfosInstructionDataArgs>;
21
- export declare function getUpdateRewardInfosInstructionDataDecoder(): FixedSizeDecoder<UpdateRewardInfosInstructionData>;
22
- export declare function getUpdateRewardInfosInstructionDataCodec(): FixedSizeCodec<UpdateRewardInfosInstructionDataArgs, UpdateRewardInfosInstructionData>;
23
- export type UpdateRewardInfosInput<TAccountPoolState extends string = string> = {
24
- /** The liquidity pool for which reward info to update */
25
- poolState: Address<TAccountPoolState>;
26
- };
27
- export declare function getUpdateRewardInfosInstruction<TAccountPoolState extends string, TProgramAddress extends Address = typeof AMM_V3_PROGRAM_ADDRESS>(input: UpdateRewardInfosInput<TAccountPoolState>, config?: {
28
- programAddress?: TProgramAddress;
29
- }): UpdateRewardInfosInstruction<TProgramAddress, TAccountPoolState>;
30
- export type ParsedUpdateRewardInfosInstruction<TProgram extends string = typeof AMM_V3_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
31
- programAddress: Address<TProgram>;
32
- accounts: {
33
- /** The liquidity pool for which reward info to update */
34
- poolState: TAccountMetas[0];
35
- };
36
- data: UpdateRewardInfosInstructionData;
37
- };
38
- export declare function parseUpdateRewardInfosInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpdateRewardInfosInstruction<TProgram, TAccountMetas>;
39
- //# sourceMappingURL=updateRewardInfos.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"updateRewardInfos.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/updateRewardInfos.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EASL,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,eAAO,MAAM,iCAAiC,yBAE5C,CAAC;AAEH,wBAAgB,sCAAsC,uBAIrD;AAED,MAAM,MAAM,4BAA4B,CACtC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,iBAAiB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAC/D,kBAAkB,SAAS,SAAS,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,IAC5D,WAAW,CAAC,QAAQ,CAAC,GACvB,mBAAmB,CAAC,kBAAkB,CAAC,GACvC,uBAAuB,CACrB;IACE,iBAAiB,SAAS,MAAM,GAC5B,eAAe,CAAC,iBAAiB,CAAC,GAClC,iBAAiB;IACrB,GAAG,kBAAkB;CACtB,CACF,CAAC;AAEJ,MAAM,MAAM,gCAAgC,GAAG;IAC7C,aAAa,EAAE,kBAAkB,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,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+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 Address, type ReadonlyUint8Array } from '@solana/kit';
9
- import { type ParsedClosePositionInstruction, type ParsedCloseProtocolPositionInstruction, type ParsedCollectFundFeeInstruction, type ParsedCollectProtocolFeeInstruction, type ParsedCollectRemainingRewardsInstruction, type ParsedCreateAmmConfigInstruction, type ParsedCreateOperationAccountInstruction, type ParsedCreatePoolInstruction, type ParsedCreateSupportMintAssociatedInstruction, type ParsedDecreaseLiquidityInstruction, type ParsedDecreaseLiquidityV2Instruction, type ParsedIncreaseLiquidityInstruction, type ParsedIncreaseLiquidityV2Instruction, type ParsedInitializeRewardInstruction, type ParsedOpenPositionInstruction, type ParsedOpenPositionV2Instruction, type ParsedOpenPositionWithToken22NftInstruction, type ParsedSetRewardParamsInstruction, type ParsedSwapInstruction, type ParsedSwapRouterBaseInInstruction, type ParsedSwapV2Instruction, type ParsedTransferRewardOwnerInstruction, type ParsedUpdateAmmConfigInstruction, type ParsedUpdateOperationAccountInstruction, type ParsedUpdatePoolStatusInstruction, type ParsedUpdateRewardInfosInstruction } from '../instructions';
10
- export declare const AMM_V3_PROGRAM_ADDRESS: Address<"6dMXqGZ3ga2dikrYS9ovDXgHGh5RUsb2RTUj6hrQXhk6">;
11
- export declare enum AmmV3Account {
12
- AmmConfig = 0,
13
- ObservationState = 1,
14
- OperationState = 2,
15
- PersonalPositionState = 3,
16
- PoolState = 4,
17
- ProtocolPositionState = 5,
18
- SupportMintAssociated = 6,
19
- TickArrayBitmapExtension = 7,
20
- TickArrayState = 8
21
- }
22
- export declare function identifyAmmV3Account(account: {
23
- data: ReadonlyUint8Array;
24
- } | ReadonlyUint8Array): AmmV3Account;
25
- export declare enum AmmV3Instruction {
26
- ClosePosition = 0,
27
- CloseProtocolPosition = 1,
28
- CollectFundFee = 2,
29
- CollectProtocolFee = 3,
30
- CollectRemainingRewards = 4,
31
- CreateAmmConfig = 5,
32
- CreateOperationAccount = 6,
33
- CreatePool = 7,
34
- CreateSupportMintAssociated = 8,
35
- DecreaseLiquidity = 9,
36
- DecreaseLiquidityV2 = 10,
37
- IncreaseLiquidity = 11,
38
- IncreaseLiquidityV2 = 12,
39
- InitializeReward = 13,
40
- OpenPosition = 14,
41
- OpenPositionV2 = 15,
42
- OpenPositionWithToken22Nft = 16,
43
- SetRewardParams = 17,
44
- Swap = 18,
45
- SwapRouterBaseIn = 19,
46
- SwapV2 = 20,
47
- TransferRewardOwner = 21,
48
- UpdateAmmConfig = 22,
49
- UpdateOperationAccount = 23,
50
- UpdatePoolStatus = 24,
51
- UpdateRewardInfos = 25
52
- }
53
- export declare function identifyAmmV3Instruction(instruction: {
54
- data: ReadonlyUint8Array;
55
- } | ReadonlyUint8Array): AmmV3Instruction;
56
- export type ParsedAmmV3Instruction<TProgram extends string = '6dMXqGZ3ga2dikrYS9ovDXgHGh5RUsb2RTUj6hrQXhk6'> = ({
57
- instructionType: AmmV3Instruction.ClosePosition;
58
- } & ParsedClosePositionInstruction<TProgram>) | ({
59
- instructionType: AmmV3Instruction.CloseProtocolPosition;
60
- } & ParsedCloseProtocolPositionInstruction<TProgram>) | ({
61
- instructionType: AmmV3Instruction.CollectFundFee;
62
- } & ParsedCollectFundFeeInstruction<TProgram>) | ({
63
- instructionType: AmmV3Instruction.CollectProtocolFee;
64
- } & ParsedCollectProtocolFeeInstruction<TProgram>) | ({
65
- instructionType: AmmV3Instruction.CollectRemainingRewards;
66
- } & ParsedCollectRemainingRewardsInstruction<TProgram>) | ({
67
- instructionType: AmmV3Instruction.CreateAmmConfig;
68
- } & ParsedCreateAmmConfigInstruction<TProgram>) | ({
69
- instructionType: AmmV3Instruction.CreateOperationAccount;
70
- } & ParsedCreateOperationAccountInstruction<TProgram>) | ({
71
- instructionType: AmmV3Instruction.CreatePool;
72
- } & ParsedCreatePoolInstruction<TProgram>) | ({
73
- instructionType: AmmV3Instruction.CreateSupportMintAssociated;
74
- } & ParsedCreateSupportMintAssociatedInstruction<TProgram>) | ({
75
- instructionType: AmmV3Instruction.DecreaseLiquidity;
76
- } & ParsedDecreaseLiquidityInstruction<TProgram>) | ({
77
- instructionType: AmmV3Instruction.DecreaseLiquidityV2;
78
- } & ParsedDecreaseLiquidityV2Instruction<TProgram>) | ({
79
- instructionType: AmmV3Instruction.IncreaseLiquidity;
80
- } & ParsedIncreaseLiquidityInstruction<TProgram>) | ({
81
- instructionType: AmmV3Instruction.IncreaseLiquidityV2;
82
- } & ParsedIncreaseLiquidityV2Instruction<TProgram>) | ({
83
- instructionType: AmmV3Instruction.InitializeReward;
84
- } & ParsedInitializeRewardInstruction<TProgram>) | ({
85
- instructionType: AmmV3Instruction.OpenPosition;
86
- } & ParsedOpenPositionInstruction<TProgram>) | ({
87
- instructionType: AmmV3Instruction.OpenPositionV2;
88
- } & ParsedOpenPositionV2Instruction<TProgram>) | ({
89
- instructionType: AmmV3Instruction.OpenPositionWithToken22Nft;
90
- } & ParsedOpenPositionWithToken22NftInstruction<TProgram>) | ({
91
- instructionType: AmmV3Instruction.SetRewardParams;
92
- } & ParsedSetRewardParamsInstruction<TProgram>) | ({
93
- instructionType: AmmV3Instruction.Swap;
94
- } & ParsedSwapInstruction<TProgram>) | ({
95
- instructionType: AmmV3Instruction.SwapRouterBaseIn;
96
- } & ParsedSwapRouterBaseInInstruction<TProgram>) | ({
97
- instructionType: AmmV3Instruction.SwapV2;
98
- } & ParsedSwapV2Instruction<TProgram>) | ({
99
- instructionType: AmmV3Instruction.TransferRewardOwner;
100
- } & ParsedTransferRewardOwnerInstruction<TProgram>) | ({
101
- instructionType: AmmV3Instruction.UpdateAmmConfig;
102
- } & ParsedUpdateAmmConfigInstruction<TProgram>) | ({
103
- instructionType: AmmV3Instruction.UpdateOperationAccount;
104
- } & ParsedUpdateOperationAccountInstruction<TProgram>) | ({
105
- instructionType: AmmV3Instruction.UpdatePoolStatus;
106
- } & ParsedUpdatePoolStatusInstruction<TProgram>) | ({
107
- instructionType: AmmV3Instruction.UpdateRewardInfos;
108
- } & ParsedUpdateRewardInfosInstruction<TProgram>);
109
- //# sourceMappingURL=ammV3.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ammV3.d.ts","sourceRoot":"","sources":["../../../src/generated/programs/ammV3.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,OAAO,EACZ,KAAK,kBAAkB,EACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,KAAK,8BAA8B,EACnC,KAAK,sCAAsC,EAC3C,KAAK,+BAA+B,EACpC,KAAK,mCAAmC,EACxC,KAAK,wCAAwC,EAC7C,KAAK,gCAAgC,EACrC,KAAK,uCAAuC,EAC5C,KAAK,2BAA2B,EAChC,KAAK,4CAA4C,EACjD,KAAK,kCAAkC,EACvC,KAAK,oCAAoC,EACzC,KAAK,kCAAkC,EACvC,KAAK,oCAAoC,EACzC,KAAK,iCAAiC,EACtC,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACpC,KAAK,2CAA2C,EAChD,KAAK,gCAAgC,EACrC,KAAK,qBAAqB,EAC1B,KAAK,iCAAiC,EACtC,KAAK,uBAAuB,EAC5B,KAAK,oCAAoC,EACzC,KAAK,gCAAgC,EACrC,KAAK,uCAAuC,EAC5C,KAAK,iCAAiC,EACtC,KAAK,kCAAkC,EACxC,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,sBAAsB,EACiB,OAAO,CAAC,8CAA8C,CAAC,CAAC;AAE5G,oBAAY,YAAY;IACtB,SAAS,IAAA;IACT,gBAAgB,IAAA;IAChB,cAAc,IAAA;IACd,qBAAqB,IAAA;IACrB,SAAS,IAAA;IACT,qBAAqB,IAAA;IACrB,qBAAqB,IAAA;IACrB,wBAAwB,IAAA;IACxB,cAAc,IAAA;CACf;AAED,wBAAgB,oBAAoB,CAClC,OAAO,EAAE;IA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gBAAgB,CAAC,0BAA0B,CAAC;CAC9D,GAAG,2CAA2C,CAAC,QAAQ,CAAC,CAAC,GAC1D,CAAC;IACC,eAAe,EAAE,gBAAgB,CAAC,eAAe,CAAC;CACnD,GAAG,gCAAgC,CAAC,QAAQ,CAAC,CAAC,GAC/C,CAAC;IACC,eAAe,EAAE,gBAAgB,CAAC,IAAI,CAAC;CACxC,GAAG,qBAAqB,CAAC,QAAQ,CAAC,CAAC,GACpC,CAAC;IACC,eAAe,EAAE,gBAAgB,CAAC,gBAAgB,CAAC;CACpD,GAAG,iCAAiC,CAAC,QAAQ,CAAC,CAAC,GAChD,CAAC;IACC,eAAe,EAAE,gBAAgB,CAAC,MAAM,CAAC;CAC1C,GAAG,uBAAuB,CAAC,QAAQ,CAAC,CAAC,GACtC,CAAC;IACC,eAAe,EAAE,gBAAgB,CAAC,mBAAmB,CAAC;CACvD,GAAG,oCAAoC,CAAC,QAAQ,CAAC,CAAC,GACnD,CAAC;IACC,eAAe,EAAE,gBAAgB,CAAC,eAAe,CAAC;CACnD,GAAG,gCAAgC,CAAC,QAAQ,CAAC,CAAC,GAC/C,CAAC;IACC,eAAe,EAAE,gBAAgB,CAAC,sBAAsB,CAAC;CAC1D,GAAG,uCAAuC,CAAC,QAAQ,CAAC,CAAC,GACtD,CAAC;IACC,eAAe,EAAE,gBAAgB,CAAC,gBAAgB,CAAC;CACpD,GAAG,iCAAiC,CAAC,QAAQ,CAAC,CAAC,GAChD,CAAC;IACC,eAAe,EAAE,gBAAgB,CAAC,iBAAiB,CAAC;CACrD,GAAG,kCAAkC,CAAC,QAAQ,CAAC,CAAC,CAAC"}
@@ -1,9 +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
- export * from './ammV3';
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/programs/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,SAAS,CAAC"}
@@ -1,50 +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 ProgramDerivedAddress, type TransactionSigner } from '@solana/kit';
9
- /**
10
- * Asserts that the given value is not null or undefined.
11
- * @internal
12
- */
13
- export declare function expectSome<T>(value: T | null | undefined): T;
14
- /**
15
- * Asserts that the given value is a PublicKey.
16
- * @internal
17
- */
18
- export declare function expectAddress<T extends string = string>(value: Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefined): Address<T>;
19
- /**
20
- * Asserts that the given value is a PDA.
21
- * @internal
22
- */
23
- export declare function expectProgramDerivedAddress<T extends string = string>(value: Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefined): ProgramDerivedAddress<T>;
24
- /**
25
- * Asserts that the given value is a TransactionSigner.
26
- * @internal
27
- */
28
- export declare function expectTransactionSigner<T extends string = string>(value: Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefined): TransactionSigner<T>;
29
- /**
30
- * Defines an instruction account to resolve.
31
- * @internal
32
- */
33
- export type ResolvedAccount<T extends string = string, U extends Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null = Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null> = {
34
- isWritable: boolean;
35
- value: U;
36
- };
37
- /**
38
- * Defines an instruction that stores additional bytes on-chain.
39
- * @internal
40
- */
41
- export type InstructionWithByteDelta = {
42
- byteDelta: number;
43
- };
44
- /**
45
- * Get account metas and signers from resolved accounts.
46
- * @internal
47
- */
48
- export declare function getAccountMetaFactory(programAddress: Address, optionalAccountStrategy: 'omitted' | 'programId'): (account: ResolvedAccount) => AccountMeta | AccountSignerMeta | undefined;
49
- export declare function isTransactionSigner<TAddress extends string = string>(value: Address<TAddress> | ProgramDerivedAddress<TAddress> | TransactionSigner<TAddress>): value is TransactionSigner<TAddress>;
50
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EAEvB,MAAM,aAAa,CAAC;AAErB;;;GAGG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,GAAG,CAAC,CAK5D;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EACrD,KAAK,EACD,OAAO,CAAC,CAAC,CAAC,GACV,qBAAqB,CAAC,CAAC,CAAC,GACxB,iBAAiB,CAAC,CAAC,CAAC,GACpB,IAAI,GACJ,SAAS,GACZ,OAAO,CAAC,CAAC,CAAC,CAWZ;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EACnE,KAAK,EACD,OAAO,CAAC,CAAC,CAAC,GACV,qBAAqB,CAAC,CAAC,CAAC,GACxB,iBAAiB,CAAC,CAAC,CAAC,GACpB,IAAI,GACJ,SAAS,GACZ,qBAAqB,CAAC,CAAC,CAAC,CAK1B;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAC/D,KAAK,EACD,OAAO,CAAC,CAAC,CAAC,GACV,qBAAqB,CAAC,CAAC,CAAC,GACxB,iBAAiB,CAAC,CAAC,CAAC,GACpB,IAAI,GACJ,SAAS,GACZ,iBAAiB,CAAC,CAAC,CAAC,CAKtB;AAED;;;GAGG;AACH,MAAM,MAAM,eAAe,CACzB,CAAC,SAAS,MAAM,GAAG,MAAM,EACzB,CAAC,SACG,OAAO,CAAC,CAAC,CAAC,GACV,qBAAqB,CAAC,CAAC,CAAC,GACxB,iBAAiB,CAAC,CAAC,CAAC,GACpB,IAAI,GACJ,OAAO,CAAC,CAAC,CAAC,GACV,qBAAqB,CAAC,CAAC,CAAC,GACxB,iBAAiB,CAAC,CAAC,CAAC,GACpB,IAAI,IACN;IACF,UAAU,EAAE,OAAO,CAAC;IACpB,KAAK,EAAE,CAAC,CAAC;CACV,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,cAAc,EAAE,OAAO,EACvB,uBAAuB,EAAE,SAAS,GAAG,WAAW,IAG9C,SAAS,eAAe,KACvB,WAAW,GAAG,iBAAiB,GAAG,SAAS,CAoB/C;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,SAAS,MAAM,GAAG,MAAM,EAClE,KAAK,EACD,OAAO,CAAC,QAAQ,CAAC,GACjB,qBAAqB,CAAC,QAAQ,CAAC,GAC/B,iBAAiB,CAAC,QAAQ,CAAC,GAC9B,KAAK,IAAI,iBAAiB,CAAC,QAAQ,CAAC,CAOtC"}
@@ -1,37 +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 Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
9
- /** Emitted when tokens are collected for a position */
10
- export type CollectPersonalFeeEvent = {
11
- /** The ID of the token for which underlying tokens were collected */
12
- positionNftMint: Address;
13
- /** The token account that received the collected token_0 tokens */
14
- recipientTokenAccount0: Address;
15
- /** The token account that received the collected token_1 tokens */
16
- recipientTokenAccount1: Address;
17
- /** The amount of token_0 owed to the position that was collected */
18
- amount0: bigint;
19
- /** The amount of token_1 owed to the position that was collected */
20
- amount1: bigint;
21
- };
22
- export type CollectPersonalFeeEventArgs = {
23
- /** The ID of the token for which underlying tokens were collected */
24
- positionNftMint: Address;
25
- /** The token account that received the collected token_0 tokens */
26
- recipientTokenAccount0: Address;
27
- /** The token account that received the collected token_1 tokens */
28
- recipientTokenAccount1: Address;
29
- /** The amount of token_0 owed to the position that was collected */
30
- amount0: number | bigint;
31
- /** The amount of token_1 owed to the position that was collected */
32
- amount1: number | bigint;
33
- };
34
- export declare function getCollectPersonalFeeEventEncoder(): FixedSizeEncoder<CollectPersonalFeeEventArgs>;
35
- export declare function getCollectPersonalFeeEventDecoder(): FixedSizeDecoder<CollectPersonalFeeEvent>;
36
- export declare function getCollectPersonalFeeEventCodec(): FixedSizeCodec<CollectPersonalFeeEventArgs, CollectPersonalFeeEvent>;
37
- //# sourceMappingURL=collectPersonalFeeEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"collectPersonalFeeEvent.d.ts","sourceRoot":"","sources":["../../../src/generated/types/collectPersonalFeeEvent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAQL,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,uDAAuD;AACvD,MAAM,MAAM,uBAAuB,GAAG;IACpC,qEAAqE;IACrE,eAAe,EAAE,OAAO,CAAC;IACzB,mEAAmE;IACnE,sBAAsB,EAAE,OAAO,CAAC;IAChC,mEAAmE;IACnE,sBAAsB,EAAE,OAAO,CAAC;IAChC,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;IAChB,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,qEAAqE;IACrE,eAAe,EAAE,OAAO,CAAC;IACzB,mEAAmE;IACnE,sBAAsB,EAAE,OAAO,CAAC;IAChC,mEAAmE;IACnE,sBAAsB,EAAE,OAAO,CAAC;IAChC,oEAAoE;IACpE,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,oEAAoE;IACpE,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B,CAAC;AAEF,wBAAgB,iCAAiC,IAAI,gBAAgB,CAAC,2BAA2B,CAAC,CAQjG;AAED,wBAAgB,iCAAiC,IAAI,gBAAgB,CAAC,uBAAuB,CAAC,CAQ7F;AAED,wBAAgB,+BAA+B,IAAI,cAAc,CAC/D,2BAA2B,EAC3B,uBAAuB,CACxB,CAKA"}
@@ -1,37 +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 Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
9
- /** Emitted when the collected protocol fees are withdrawn by the factory owner */
10
- export type CollectProtocolFeeEvent = {
11
- /** The pool whose protocol fee is collected */
12
- poolState: Address;
13
- /** The address that receives the collected token_0 protocol fees */
14
- recipientTokenAccount0: Address;
15
- /** The address that receives the collected token_1 protocol fees */
16
- recipientTokenAccount1: Address;
17
- /** The amount of token_0 protocol fees that is withdrawn */
18
- amount0: bigint;
19
- /** The amount of token_0 protocol fees that is withdrawn */
20
- amount1: bigint;
21
- };
22
- export type CollectProtocolFeeEventArgs = {
23
- /** The pool whose protocol fee is collected */
24
- poolState: Address;
25
- /** The address that receives the collected token_0 protocol fees */
26
- recipientTokenAccount0: Address;
27
- /** The address that receives the collected token_1 protocol fees */
28
- recipientTokenAccount1: Address;
29
- /** The amount of token_0 protocol fees that is withdrawn */
30
- amount0: number | bigint;
31
- /** The amount of token_0 protocol fees that is withdrawn */
32
- amount1: number | bigint;
33
- };
34
- export declare function getCollectProtocolFeeEventEncoder(): FixedSizeEncoder<CollectProtocolFeeEventArgs>;
35
- export declare function getCollectProtocolFeeEventDecoder(): FixedSizeDecoder<CollectProtocolFeeEvent>;
36
- export declare function getCollectProtocolFeeEventCodec(): FixedSizeCodec<CollectProtocolFeeEventArgs, CollectProtocolFeeEvent>;
37
- //# sourceMappingURL=collectProtocolFeeEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"collectProtocolFeeEvent.d.ts","sourceRoot":"","sources":["../../../src/generated/types/collectProtocolFeeEvent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAQL,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,kFAAkF;AAClF,MAAM,MAAM,uBAAuB,GAAG;IACpC,+CAA+C;IAC/C,SAAS,EAAE,OAAO,CAAC;IACnB,oEAAoE;IACpE,sBAAsB,EAAE,OAAO,CAAC;IAChC,oEAAoE;IACpE,sBAAsB,EAAE,OAAO,CAAC;IAChC,4DAA4D;IAC5D,OAAO,EAAE,MAAM,CAAC;IAChB,4DAA4D;IAC5D,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACxC,+CAA+C;IAC/C,SAAS,EAAE,OAAO,CAAC;IACnB,oEAAoE;IACpE,sBAAsB,EAAE,OAAO,CAAC;IAChC,oEAAoE;IACpE,sBAAsB,EAAE,OAAO,CAAC;IAChC,4DAA4D;IAC5D,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,4DAA4D;IAC5D,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B,CAAC;AAEF,wBAAgB,iCAAiC,IAAI,gBAAgB,CAAC,2BAA2B,CAAC,CAQjG;AAED,wBAAgB,iCAAiC,IAAI,gBAAgB,CAAC,uBAAuB,CAAC,CAQ7F;AAED,wBAAgB,+BAA+B,IAAI,cAAc,CAC/D,2BAA2B,EAC3B,uBAAuB,CACxB,CAKA"}
@@ -1,23 +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 Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
9
- /** Emitted when create or update a config */
10
- export type ConfigChangeEvent = {
11
- index: number;
12
- owner: Address;
13
- protocolFeeRate: number;
14
- tradeFeeRate: number;
15
- tickSpacing: number;
16
- fundFeeRate: number;
17
- fundOwner: Address;
18
- };
19
- export type ConfigChangeEventArgs = ConfigChangeEvent;
20
- export declare function getConfigChangeEventEncoder(): FixedSizeEncoder<ConfigChangeEventArgs>;
21
- export declare function getConfigChangeEventDecoder(): FixedSizeDecoder<ConfigChangeEvent>;
22
- export declare function getConfigChangeEventCodec(): FixedSizeCodec<ConfigChangeEventArgs, ConfigChangeEvent>;
23
- //# sourceMappingURL=configChangeEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"configChangeEvent.d.ts","sourceRoot":"","sources":["../../../src/generated/types/configChangeEvent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAUL,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,6CAA6C;AAC7C,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;AAEtD,wBAAgB,2BAA2B,IAAI,gBAAgB,CAAC,qBAAqB,CAAC,CAUrF;AAED,wBAAgB,2BAA2B,IAAI,gBAAgB,CAAC,iBAAiB,CAAC,CAUjF;AAED,wBAAgB,yBAAyB,IAAI,cAAc,CACzD,qBAAqB,EACrB,iBAAiB,CAClB,CAKA"}
@@ -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 Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
9
- /** Emitted when create a new position */
10
- export type CreatePersonalPositionEvent = {
11
- /** The pool for which liquidity was added */
12
- poolState: Address;
13
- /** The address that create the position */
14
- minter: Address;
15
- /** The owner of the position and recipient of any minted liquidity */
16
- nftOwner: Address;
17
- /** The lower tick of the position */
18
- tickLowerIndex: number;
19
- /** The upper tick of the position */
20
- tickUpperIndex: number;
21
- /** The amount of liquidity minted to the position range */
22
- liquidity: bigint;
23
- /** The amount of token_0 was deposit for the liquidity */
24
- depositAmount0: bigint;
25
- /** The amount of token_1 was deposit for the liquidity */
26
- depositAmount1: bigint;
27
- /** The token transfer fee for deposit_amount_0 */
28
- depositAmount0TransferFee: bigint;
29
- /** The token transfer fee for deposit_amount_1 */
30
- depositAmount1TransferFee: bigint;
31
- };
32
- export type CreatePersonalPositionEventArgs = {
33
- /** The pool for which liquidity was added */
34
- poolState: Address;
35
- /** The address that create the position */
36
- minter: Address;
37
- /** The owner of the position and recipient of any minted liquidity */
38
- nftOwner: Address;
39
- /** The lower tick of the position */
40
- tickLowerIndex: number;
41
- /** The upper tick of the position */
42
- tickUpperIndex: number;
43
- /** The amount of liquidity minted to the position range */
44
- liquidity: number | bigint;
45
- /** The amount of token_0 was deposit for the liquidity */
46
- depositAmount0: number | bigint;
47
- /** The amount of token_1 was deposit for the liquidity */
48
- depositAmount1: number | bigint;
49
- /** The token transfer fee for deposit_amount_0 */
50
- depositAmount0TransferFee: number | bigint;
51
- /** The token transfer fee for deposit_amount_1 */
52
- depositAmount1TransferFee: number | bigint;
53
- };
54
- export declare function getCreatePersonalPositionEventEncoder(): FixedSizeEncoder<CreatePersonalPositionEventArgs>;
55
- export declare function getCreatePersonalPositionEventDecoder(): FixedSizeDecoder<CreatePersonalPositionEvent>;
56
- export declare function getCreatePersonalPositionEventCodec(): FixedSizeCodec<CreatePersonalPositionEventArgs, CreatePersonalPositionEvent>;
57
- //# sourceMappingURL=createPersonalPositionEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createPersonalPositionEvent.d.ts","sourceRoot":"","sources":["../../../src/generated/types/createPersonalPositionEvent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAYL,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,yCAAyC;AACzC,MAAM,MAAM,2BAA2B,GAAG;IACxC,6CAA6C;IAC7C,SAAS,EAAE,OAAO,CAAC;IACnB,2CAA2C;IAC3C,MAAM,EAAE,OAAO,CAAC;IAChB,sEAAsE;IACtE,QAAQ,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,qCAAqC;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,2DAA2D;IAC3D,SAAS,EAAE,MAAM,CAAC;IAClB,0DAA0D;IAC1D,cAAc,EAAE,MAAM,CAAC;IACvB,0DAA0D;IAC1D,cAAc,EAAE,MAAM,CAAC;IACvB,kDAAkD;IAClD,yBAAyB,EAAE,MAAM,CAAC;IAClC,kDAAkD;IAClD,yBAAyB,EAAE,MAAM,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,6CAA6C;IAC7C,SAAS,EAAE,OAAO,CAAC;IACnB,2CAA2C;IAC3C,MAAM,EAAE,OAAO,CAAC;IAChB,sEAAsE;IACtE,QAAQ,EAAE,OAAO,CAAC;IAClB,qCAAqC;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,qCAAqC;IACrC,cAAc,EAAE,MAAM,CAAC;IACvB,2DAA2D;IAC3D,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,0DAA0D;IAC1D,cAAc,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,0DAA0D;IAC1D,cAAc,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,kDAAkD;IAClD,yBAAyB,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3C,kDAAkD;IAClD,yBAAyB,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5C,CAAC;AAEF,wBAAgB,qCAAqC,IAAI,gBAAgB,CAAC,+BAA+B,CAAC,CAazG;AAED,wBAAgB,qCAAqC,IAAI,gBAAgB,CAAC,2BAA2B,CAAC,CAarG;AAED,wBAAgB,mCAAmC,IAAI,cAAc,CACnE,+BAA+B,EAC/B,2BAA2B,CAC5B,CAKA"}
@@ -1,51 +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 Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
9
- /** Emitted when liquidity is decreased. */
10
- export type DecreaseLiquidityEvent = {
11
- /** The ID of the token for which liquidity was decreased */
12
- positionNftMint: Address;
13
- /** The amount by which liquidity for the position was decreased */
14
- liquidity: bigint;
15
- /** The amount of token_0 that was paid for the decrease in liquidity */
16
- decreaseAmount0: bigint;
17
- /** The amount of token_1 that was paid for the decrease in liquidity */
18
- decreaseAmount1: bigint;
19
- feeAmount0: bigint;
20
- /** The amount of token_1 fee */
21
- feeAmount1: bigint;
22
- /** The amount of rewards */
23
- rewardAmounts: Array<bigint>;
24
- /** The amount of token_0 transfer fee */
25
- transferFee0: bigint;
26
- /** The amount of token_1 transfer fee */
27
- transferFee1: bigint;
28
- };
29
- export type DecreaseLiquidityEventArgs = {
30
- /** The ID of the token for which liquidity was decreased */
31
- positionNftMint: Address;
32
- /** The amount by which liquidity for the position was decreased */
33
- liquidity: number | bigint;
34
- /** The amount of token_0 that was paid for the decrease in liquidity */
35
- decreaseAmount0: number | bigint;
36
- /** The amount of token_1 that was paid for the decrease in liquidity */
37
- decreaseAmount1: number | bigint;
38
- feeAmount0: number | bigint;
39
- /** The amount of token_1 fee */
40
- feeAmount1: number | bigint;
41
- /** The amount of rewards */
42
- rewardAmounts: Array<number | bigint>;
43
- /** The amount of token_0 transfer fee */
44
- transferFee0: number | bigint;
45
- /** The amount of token_1 transfer fee */
46
- transferFee1: number | bigint;
47
- };
48
- export declare function getDecreaseLiquidityEventEncoder(): FixedSizeEncoder<DecreaseLiquidityEventArgs>;
49
- export declare function getDecreaseLiquidityEventDecoder(): FixedSizeDecoder<DecreaseLiquidityEvent>;
50
- export declare function getDecreaseLiquidityEventCodec(): FixedSizeCodec<DecreaseLiquidityEventArgs, DecreaseLiquidityEvent>;
51
- //# sourceMappingURL=decreaseLiquidityEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"decreaseLiquidityEvent.d.ts","sourceRoot":"","sources":["../../../src/generated/types/decreaseLiquidityEvent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAYL,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,2CAA2C;AAC3C,MAAM,MAAM,sBAAsB,GAAG;IACnC,4DAA4D;IAC5D,eAAe,EAAE,OAAO,CAAC;IACzB,mEAAmE;IACnE,SAAS,EAAE,MAAM,CAAC;IAClB,wEAAwE;IACxE,eAAe,EAAE,MAAM,CAAC;IACxB,wEAAwE;IACxE,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,gCAAgC;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B,yCAAyC;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,yCAAyC;IACzC,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,4DAA4D;IAC5D,eAAe,EAAE,OAAO,CAAC;IACzB,mEAAmE;IACnE,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,wEAAwE;IACxE,eAAe,EAAE,MAAM,GAAG,MAAM,CAAC;IACjC,wEAAwE;IACxE,eAAe,EAAE,MAAM,GAAG,MAAM,CAAC;IACjC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,gCAAgC;IAChC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,4BAA4B;IAC5B,aAAa,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACtC,yCAAyC;IACzC,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,yCAAyC;IACzC,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;CAC/B,CAAC;AAEF,wBAAgB,gCAAgC,IAAI,gBAAgB,CAAC,0BAA0B,CAAC,CAY/F;AAED,wBAAgB,gCAAgC,IAAI,gBAAgB,CAAC,sBAAsB,CAAC,CAY3F;AAED,wBAAgB,8BAA8B,IAAI,cAAc,CAC9D,0BAA0B,EAC1B,sBAAsB,CACvB,CAKA"}
@@ -1,41 +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 Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
9
- /** Emitted when liquidity is increased. */
10
- export type IncreaseLiquidityEvent = {
11
- /** The ID of the token for which liquidity was increased */
12
- positionNftMint: Address;
13
- /** The amount by which liquidity for the NFT position was increased */
14
- liquidity: bigint;
15
- /** The amount of token_0 that was paid for the increase in liquidity */
16
- amount0: bigint;
17
- /** The amount of token_1 that was paid for the increase in liquidity */
18
- amount1: bigint;
19
- /** The token transfer fee for amount_0 */
20
- amount0TransferFee: bigint;
21
- /** The token transfer fee for amount_1 */
22
- amount1TransferFee: bigint;
23
- };
24
- export type IncreaseLiquidityEventArgs = {
25
- /** The ID of the token for which liquidity was increased */
26
- positionNftMint: Address;
27
- /** The amount by which liquidity for the NFT position was increased */
28
- liquidity: number | bigint;
29
- /** The amount of token_0 that was paid for the increase in liquidity */
30
- amount0: number | bigint;
31
- /** The amount of token_1 that was paid for the increase in liquidity */
32
- amount1: number | bigint;
33
- /** The token transfer fee for amount_0 */
34
- amount0TransferFee: number | bigint;
35
- /** The token transfer fee for amount_1 */
36
- amount1TransferFee: number | bigint;
37
- };
38
- export declare function getIncreaseLiquidityEventEncoder(): FixedSizeEncoder<IncreaseLiquidityEventArgs>;
39
- export declare function getIncreaseLiquidityEventDecoder(): FixedSizeDecoder<IncreaseLiquidityEvent>;
40
- export declare function getIncreaseLiquidityEventCodec(): FixedSizeCodec<IncreaseLiquidityEventArgs, IncreaseLiquidityEvent>;
41
- //# sourceMappingURL=increaseLiquidityEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"increaseLiquidityEvent.d.ts","sourceRoot":"","sources":["../../../src/generated/types/increaseLiquidityEvent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAUL,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,2CAA2C;AAC3C,MAAM,MAAM,sBAAsB,GAAG;IACnC,4DAA4D;IAC5D,eAAe,EAAE,OAAO,CAAC;IACzB,uEAAuE;IACvE,SAAS,EAAE,MAAM,CAAC;IAClB,wEAAwE;IACxE,OAAO,EAAE,MAAM,CAAC;IAChB,wEAAwE;IACxE,OAAO,EAAE,MAAM,CAAC;IAChB,0CAA0C;IAC1C,kBAAkB,EAAE,MAAM,CAAC;IAC3B,0CAA0C;IAC1C,kBAAkB,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,4DAA4D;IAC5D,eAAe,EAAE,OAAO,CAAC;IACzB,uEAAuE;IACvE,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,wEAAwE;IACxE,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,wEAAwE;IACxE,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,0CAA0C;IAC1C,kBAAkB,EAAE,MAAM,GAAG,MAAM,CAAC;IACpC,0CAA0C;IAC1C,kBAAkB,EAAE,MAAM,GAAG,MAAM,CAAC;CACrC,CAAC;AAEF,wBAAgB,gCAAgC,IAAI,gBAAgB,CAAC,0BAA0B,CAAC,CAS/F;AAED,wBAAgB,gCAAgC,IAAI,gBAAgB,CAAC,sBAAsB,CAAC,CAS3F;AAED,wBAAgB,8BAA8B,IAAI,cAAc,CAC9D,0BAA0B,EAC1B,sBAAsB,CACvB,CAKA"}
@@ -1,23 +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
- export * from './collectPersonalFeeEvent';
9
- export * from './collectProtocolFeeEvent';
10
- export * from './configChangeEvent';
11
- export * from './createPersonalPositionEvent';
12
- export * from './decreaseLiquidityEvent';
13
- export * from './increaseLiquidityEvent';
14
- export * from './liquidityCalculateEvent';
15
- export * from './liquidityChangeEvent';
16
- export * from './observation';
17
- export * from './poolCreatedEvent';
18
- export * from './positionRewardInfo';
19
- export * from './rewardInfo';
20
- export * from './swapEvent';
21
- export * from './tickState';
22
- export * from './updateRewardInfosEvent';
23
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/types/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,0BAA0B,CAAC"}
@@ -1,51 +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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
9
- /** Emitted when liquidity decreased or increase. */
10
- export type LiquidityCalculateEvent = {
11
- /** The pool liquidity before decrease or increase */
12
- poolLiquidity: bigint;
13
- /** The pool price when decrease or increase in liquidity */
14
- poolSqrtPriceX64: bigint;
15
- /** The pool tick when decrease or increase in liquidity */
16
- poolTick: number;
17
- /** The amount of token_0 that was calculated for the decrease or increase in liquidity */
18
- calcAmount0: bigint;
19
- /** The amount of token_1 that was calculated for the decrease or increase in liquidity */
20
- calcAmount1: bigint;
21
- tradeFeeOwed0: bigint;
22
- /** The amount of token_1 fee */
23
- tradeFeeOwed1: bigint;
24
- /** The amount of token_0 transfer fee without trade_fee_amount_0 */
25
- transferFee0: bigint;
26
- /** The amount of token_1 transfer fee without trade_fee_amount_0 */
27
- transferFee1: bigint;
28
- };
29
- export type LiquidityCalculateEventArgs = {
30
- /** The pool liquidity before decrease or increase */
31
- poolLiquidity: number | bigint;
32
- /** The pool price when decrease or increase in liquidity */
33
- poolSqrtPriceX64: number | bigint;
34
- /** The pool tick when decrease or increase in liquidity */
35
- poolTick: number;
36
- /** The amount of token_0 that was calculated for the decrease or increase in liquidity */
37
- calcAmount0: number | bigint;
38
- /** The amount of token_1 that was calculated for the decrease or increase in liquidity */
39
- calcAmount1: number | bigint;
40
- tradeFeeOwed0: number | bigint;
41
- /** The amount of token_1 fee */
42
- tradeFeeOwed1: number | bigint;
43
- /** The amount of token_0 transfer fee without trade_fee_amount_0 */
44
- transferFee0: number | bigint;
45
- /** The amount of token_1 transfer fee without trade_fee_amount_0 */
46
- transferFee1: number | bigint;
47
- };
48
- export declare function getLiquidityCalculateEventEncoder(): FixedSizeEncoder<LiquidityCalculateEventArgs>;
49
- export declare function getLiquidityCalculateEventDecoder(): FixedSizeDecoder<LiquidityCalculateEvent>;
50
- export declare function getLiquidityCalculateEventCodec(): FixedSizeCodec<LiquidityCalculateEventArgs, LiquidityCalculateEvent>;
51
- //# sourceMappingURL=liquidityCalculateEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"liquidityCalculateEvent.d.ts","sourceRoot":"","sources":["../../../src/generated/types/liquidityCalculateEvent.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAUL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,oDAAoD;AACpD,MAAM,MAAM,uBAAuB,GAAG;IACpC,qDAAqD;IACrD,aAAa,EAAE,MAAM,CAAC;IACtB,4DAA4D;IAC5D,gBAAgB,EAAE,MAAM,CAAC;IACzB,2DAA2D;IAC3D,QA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