@orca-so/whirlpools-automation 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/generated/accounts/automation.d.ts +72 -35
- package/dist/generated/accounts/globalConfig.d.ts +52 -19
- package/dist/generated/errors/whirlpoolsAutomationProgram.d.ts +54 -8
- package/dist/generated/instructions/createAutomation.d.ts +197 -66
- package/dist/generated/instructions/fundAutomation.d.ts +86 -27
- package/dist/generated/instructions/harvestAndReinvest.d.ts +286 -85
- package/dist/generated/instructions/harvestSwapAndReinvestPost.d.ts +278 -82
- package/dist/generated/instructions/harvestSwapAndReinvestPre.d.ts +259 -78
- package/dist/generated/instructions/initializeGlobalConfig.d.ts +90 -30
- package/dist/generated/instructions/removeAutomations.d.ts +154 -45
- package/dist/generated/instructions/updateGlobalConfig.d.ts +79 -24
- package/dist/generated/programs/whirlpoolsAutomationProgram.d.ts +58 -33
- package/dist/generated/shared/index.d.ts +34 -10
- package/dist/generated/types/accountDiscriminator.d.ts +8 -5
- package/dist/generated/types/action.d.ts +3 -3
- package/dist/generated/types/condition.d.ts +63 -33
- package/dist/generated/types/event.d.ts +205 -137
- package/dist/generated/types/fundAutomationMethod.d.ts +6 -3
- package/dist/generated/types/fundAutomationVariant.d.ts +33 -13
- package/dist/generated/types/increaseLiquidityByTokenAmountsAccountsType.d.ts +15 -11
- package/dist/generated/types/increaseLiquidityByTokenAmountsRemainingAccountsInfo.d.ts +10 -4
- package/dist/generated/types/increaseLiquidityByTokenAmountsRemainingAccountsSlice.d.ts +12 -6
- package/dist/generated/types/increaseLiquidityMethod.d.ts +30 -15
- package/dist/generated/types/nonZeroU32.d.ts +6 -2
- package/dist/generated/types/position.d.ts +22 -22
- package/dist/generated/types/positionRewardInfo.d.ts +8 -5
- package/dist/generated/types/tokenAccount.d.ts +22 -22
- package/dist/generated/types/tokenAccountState.d.ts +7 -4
- package/dist/generated/types/tokenMint.d.ts +14 -14
- package/dist/generated/types/updateGlobalConfigVariant.d.ts +58 -20
- package/dist/generated/types/whirlpool.d.ts +40 -40
- package/dist/generated/types/whirlpoolRewardInfo.d.ts +14 -11
- package/dist/index.browser.js +2980 -2310
- package/dist/index.node.js +2969 -2302
- package/dist/pda.d.ts +17 -2
- package/dist/staging.d.ts +1 -1
- package/package.json +4 -3
- package/CHANGELOG.md +0 -7
|
@@ -1,93 +1,289 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
AccountMeta,
|
|
3
|
+
AccountSignerMeta,
|
|
4
|
+
Address,
|
|
5
|
+
FixedSizeCodec,
|
|
6
|
+
FixedSizeDecoder,
|
|
7
|
+
FixedSizeEncoder,
|
|
8
|
+
Instruction,
|
|
9
|
+
InstructionWithAccounts,
|
|
10
|
+
InstructionWithData,
|
|
11
|
+
ReadonlyAccount,
|
|
12
|
+
ReadonlyUint8Array,
|
|
13
|
+
TransactionSigner,
|
|
14
|
+
WritableAccount,
|
|
15
|
+
WritableSignerAccount,
|
|
16
|
+
} from '@solana/kit';
|
|
2
17
|
import { WHIRLPOOLS_AUTOMATION_PROGRAM_PROGRAM_ADDRESS } from '../programs';
|
|
3
18
|
|
|
4
19
|
export declare const HARVEST_SWAP_AND_REINVEST_POST_DISCRIMINATOR = 7;
|
|
5
20
|
export declare function getHarvestSwapAndReinvestPostDiscriminatorBytes(): ReadonlyUint8Array;
|
|
6
|
-
export type HarvestSwapAndReinvestPostInstruction<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
export type HarvestSwapAndReinvestPostInstruction<
|
|
22
|
+
TProgram extends string = typeof WHIRLPOOLS_AUTOMATION_PROGRAM_PROGRAM_ADDRESS,
|
|
23
|
+
TAccountCrankOperator extends string | AccountMeta<string> = string,
|
|
24
|
+
TAccountCrankOperatorTokenAccountA extends string | AccountMeta<string> = string,
|
|
25
|
+
TAccountCrankOperatorTokenAccountB extends string | AccountMeta<string> = string,
|
|
26
|
+
TAccountAutomation extends string | AccountMeta<string> = string,
|
|
27
|
+
TAccountAutomationTokenAccountA extends string | AccountMeta<string> = string,
|
|
28
|
+
TAccountAutomationTokenAccountB extends string | AccountMeta<string> = string,
|
|
29
|
+
TAccountAutomationAuthority extends string | AccountMeta<string> = string,
|
|
30
|
+
TAccountPositionTokenAccount extends string | AccountMeta<string> = string,
|
|
31
|
+
TAccountPosition extends string | AccountMeta<string> = string,
|
|
32
|
+
TAccountPositionOwner extends string | AccountMeta<string> = string,
|
|
33
|
+
TAccountWhirlpool extends string | AccountMeta<string> = string,
|
|
34
|
+
TAccountTokenMintA extends string | AccountMeta<string> = string,
|
|
35
|
+
TAccountTokenMintB extends string | AccountMeta<string> = string,
|
|
36
|
+
TAccountTokenVaultA extends string | AccountMeta<string> = string,
|
|
37
|
+
TAccountTokenVaultB extends string | AccountMeta<string> = string,
|
|
38
|
+
TAccountTokenProgramA extends string | AccountMeta<string> = string,
|
|
39
|
+
TAccountTokenProgramB extends string | AccountMeta<string> = string,
|
|
40
|
+
TAccountMemoProgram extends string | AccountMeta<string> = string,
|
|
41
|
+
TAccountTickArrayLower extends string | AccountMeta<string> = string,
|
|
42
|
+
TAccountTickArrayUpper extends string | AccountMeta<string> = string,
|
|
43
|
+
TAccountWhirlpoolProgram extends string | AccountMeta<string> = string,
|
|
44
|
+
TAccountInstructionsSysvar extends string | AccountMeta<string> =
|
|
45
|
+
'Sysvar1nstructions1111111111111111111111111',
|
|
46
|
+
TRemainingAccounts extends readonly AccountMeta<string>[] = [],
|
|
47
|
+
> = Instruction<TProgram> &
|
|
48
|
+
InstructionWithData<ReadonlyUint8Array> &
|
|
49
|
+
InstructionWithAccounts<
|
|
50
|
+
[
|
|
51
|
+
TAccountCrankOperator extends string
|
|
52
|
+
? WritableSignerAccount<TAccountCrankOperator> & AccountSignerMeta<TAccountCrankOperator>
|
|
53
|
+
: TAccountCrankOperator,
|
|
54
|
+
TAccountCrankOperatorTokenAccountA extends string
|
|
55
|
+
? WritableAccount<TAccountCrankOperatorTokenAccountA>
|
|
56
|
+
: TAccountCrankOperatorTokenAccountA,
|
|
57
|
+
TAccountCrankOperatorTokenAccountB extends string
|
|
58
|
+
? WritableAccount<TAccountCrankOperatorTokenAccountB>
|
|
59
|
+
: TAccountCrankOperatorTokenAccountB,
|
|
60
|
+
TAccountAutomation extends string ? WritableAccount<TAccountAutomation> : TAccountAutomation,
|
|
61
|
+
TAccountAutomationTokenAccountA extends string
|
|
62
|
+
? WritableAccount<TAccountAutomationTokenAccountA>
|
|
63
|
+
: TAccountAutomationTokenAccountA,
|
|
64
|
+
TAccountAutomationTokenAccountB extends string
|
|
65
|
+
? WritableAccount<TAccountAutomationTokenAccountB>
|
|
66
|
+
: TAccountAutomationTokenAccountB,
|
|
67
|
+
TAccountAutomationAuthority extends string
|
|
68
|
+
? ReadonlyAccount<TAccountAutomationAuthority>
|
|
69
|
+
: TAccountAutomationAuthority,
|
|
70
|
+
TAccountPositionTokenAccount extends string
|
|
71
|
+
? ReadonlyAccount<TAccountPositionTokenAccount>
|
|
72
|
+
: TAccountPositionTokenAccount,
|
|
73
|
+
TAccountPosition extends string ? WritableAccount<TAccountPosition> : TAccountPosition,
|
|
74
|
+
TAccountPositionOwner extends string
|
|
75
|
+
? ReadonlyAccount<TAccountPositionOwner>
|
|
76
|
+
: TAccountPositionOwner,
|
|
77
|
+
TAccountWhirlpool extends string ? WritableAccount<TAccountWhirlpool> : TAccountWhirlpool,
|
|
78
|
+
TAccountTokenMintA extends string ? WritableAccount<TAccountTokenMintA> : TAccountTokenMintA,
|
|
79
|
+
TAccountTokenMintB extends string ? WritableAccount<TAccountTokenMintB> : TAccountTokenMintB,
|
|
80
|
+
TAccountTokenVaultA extends string
|
|
81
|
+
? WritableAccount<TAccountTokenVaultA>
|
|
82
|
+
: TAccountTokenVaultA,
|
|
83
|
+
TAccountTokenVaultB extends string
|
|
84
|
+
? WritableAccount<TAccountTokenVaultB>
|
|
85
|
+
: TAccountTokenVaultB,
|
|
86
|
+
TAccountTokenProgramA extends string
|
|
87
|
+
? ReadonlyAccount<TAccountTokenProgramA>
|
|
88
|
+
: TAccountTokenProgramA,
|
|
89
|
+
TAccountTokenProgramB extends string
|
|
90
|
+
? ReadonlyAccount<TAccountTokenProgramB>
|
|
91
|
+
: TAccountTokenProgramB,
|
|
92
|
+
TAccountMemoProgram extends string
|
|
93
|
+
? ReadonlyAccount<TAccountMemoProgram>
|
|
94
|
+
: TAccountMemoProgram,
|
|
95
|
+
TAccountTickArrayLower extends string
|
|
96
|
+
? WritableAccount<TAccountTickArrayLower>
|
|
97
|
+
: TAccountTickArrayLower,
|
|
98
|
+
TAccountTickArrayUpper extends string
|
|
99
|
+
? WritableAccount<TAccountTickArrayUpper>
|
|
100
|
+
: TAccountTickArrayUpper,
|
|
101
|
+
TAccountWhirlpoolProgram extends string
|
|
102
|
+
? ReadonlyAccount<TAccountWhirlpoolProgram>
|
|
103
|
+
: TAccountWhirlpoolProgram,
|
|
104
|
+
TAccountInstructionsSysvar extends string
|
|
105
|
+
? ReadonlyAccount<TAccountInstructionsSysvar>
|
|
106
|
+
: TAccountInstructionsSysvar,
|
|
107
|
+
...TRemainingAccounts,
|
|
108
|
+
]
|
|
109
|
+
>;
|
|
31
110
|
export type HarvestSwapAndReinvestPostInstructionData = {
|
|
32
|
-
|
|
111
|
+
discriminator: number;
|
|
112
|
+
minSqrtPrice: bigint;
|
|
113
|
+
maxSqrtPrice: bigint;
|
|
114
|
+
};
|
|
115
|
+
export type HarvestSwapAndReinvestPostInstructionDataArgs = {
|
|
116
|
+
minSqrtPrice: number | bigint;
|
|
117
|
+
maxSqrtPrice: number | bigint;
|
|
33
118
|
};
|
|
34
|
-
export type HarvestSwapAndReinvestPostInstructionDataArgs = {};
|
|
35
119
|
export declare function getHarvestSwapAndReinvestPostInstructionDataEncoder(): FixedSizeEncoder<HarvestSwapAndReinvestPostInstructionDataArgs>;
|
|
36
120
|
export declare function getHarvestSwapAndReinvestPostInstructionDataDecoder(): FixedSizeDecoder<HarvestSwapAndReinvestPostInstructionData>;
|
|
37
|
-
export declare function getHarvestSwapAndReinvestPostInstructionDataCodec(): FixedSizeCodec<
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
121
|
+
export declare function getHarvestSwapAndReinvestPostInstructionDataCodec(): FixedSizeCodec<
|
|
122
|
+
HarvestSwapAndReinvestPostInstructionDataArgs,
|
|
123
|
+
HarvestSwapAndReinvestPostInstructionData
|
|
124
|
+
>;
|
|
125
|
+
export type HarvestSwapAndReinvestPostInput<
|
|
126
|
+
TAccountCrankOperator extends string = string,
|
|
127
|
+
TAccountCrankOperatorTokenAccountA extends string = string,
|
|
128
|
+
TAccountCrankOperatorTokenAccountB extends string = string,
|
|
129
|
+
TAccountAutomation extends string = string,
|
|
130
|
+
TAccountAutomationTokenAccountA extends string = string,
|
|
131
|
+
TAccountAutomationTokenAccountB extends string = string,
|
|
132
|
+
TAccountAutomationAuthority extends string = string,
|
|
133
|
+
TAccountPositionTokenAccount extends string = string,
|
|
134
|
+
TAccountPosition extends string = string,
|
|
135
|
+
TAccountPositionOwner extends string = string,
|
|
136
|
+
TAccountWhirlpool extends string = string,
|
|
137
|
+
TAccountTokenMintA extends string = string,
|
|
138
|
+
TAccountTokenMintB extends string = string,
|
|
139
|
+
TAccountTokenVaultA extends string = string,
|
|
140
|
+
TAccountTokenVaultB extends string = string,
|
|
141
|
+
TAccountTokenProgramA extends string = string,
|
|
142
|
+
TAccountTokenProgramB extends string = string,
|
|
143
|
+
TAccountMemoProgram extends string = string,
|
|
144
|
+
TAccountTickArrayLower extends string = string,
|
|
145
|
+
TAccountTickArrayUpper extends string = string,
|
|
146
|
+
TAccountWhirlpoolProgram extends string = string,
|
|
147
|
+
TAccountInstructionsSysvar extends string = string,
|
|
148
|
+
> = {
|
|
149
|
+
crankOperator: TransactionSigner<TAccountCrankOperator>;
|
|
150
|
+
crankOperatorTokenAccountA: Address<TAccountCrankOperatorTokenAccountA>;
|
|
151
|
+
crankOperatorTokenAccountB: Address<TAccountCrankOperatorTokenAccountB>;
|
|
152
|
+
automation: Address<TAccountAutomation>;
|
|
153
|
+
automationTokenAccountA: Address<TAccountAutomationTokenAccountA>;
|
|
154
|
+
automationTokenAccountB: Address<TAccountAutomationTokenAccountB>;
|
|
155
|
+
automationAuthority: Address<TAccountAutomationAuthority>;
|
|
156
|
+
positionTokenAccount: Address<TAccountPositionTokenAccount>;
|
|
157
|
+
position: Address<TAccountPosition>;
|
|
158
|
+
positionOwner: Address<TAccountPositionOwner>;
|
|
159
|
+
whirlpool: Address<TAccountWhirlpool>;
|
|
160
|
+
tokenMintA: Address<TAccountTokenMintA>;
|
|
161
|
+
tokenMintB: Address<TAccountTokenMintB>;
|
|
162
|
+
tokenVaultA: Address<TAccountTokenVaultA>;
|
|
163
|
+
tokenVaultB: Address<TAccountTokenVaultB>;
|
|
164
|
+
tokenProgramA: Address<TAccountTokenProgramA>;
|
|
165
|
+
tokenProgramB: Address<TAccountTokenProgramB>;
|
|
166
|
+
memoProgram: Address<TAccountMemoProgram>;
|
|
167
|
+
tickArrayLower: Address<TAccountTickArrayLower>;
|
|
168
|
+
tickArrayUpper: Address<TAccountTickArrayUpper>;
|
|
169
|
+
whirlpoolProgram: Address<TAccountWhirlpoolProgram>;
|
|
170
|
+
instructionsSysvar?: Address<TAccountInstructionsSysvar>;
|
|
171
|
+
minSqrtPrice: HarvestSwapAndReinvestPostInstructionDataArgs['minSqrtPrice'];
|
|
172
|
+
maxSqrtPrice: HarvestSwapAndReinvestPostInstructionDataArgs['maxSqrtPrice'];
|
|
61
173
|
};
|
|
62
|
-
export declare function getHarvestSwapAndReinvestPostInstruction<
|
|
174
|
+
export declare function getHarvestSwapAndReinvestPostInstruction<
|
|
175
|
+
TAccountCrankOperator extends string,
|
|
176
|
+
TAccountCrankOperatorTokenAccountA extends string,
|
|
177
|
+
TAccountCrankOperatorTokenAccountB extends string,
|
|
178
|
+
TAccountAutomation extends string,
|
|
179
|
+
TAccountAutomationTokenAccountA extends string,
|
|
180
|
+
TAccountAutomationTokenAccountB extends string,
|
|
181
|
+
TAccountAutomationAuthority extends string,
|
|
182
|
+
TAccountPositionTokenAccount extends string,
|
|
183
|
+
TAccountPosition extends string,
|
|
184
|
+
TAccountPositionOwner extends string,
|
|
185
|
+
TAccountWhirlpool extends string,
|
|
186
|
+
TAccountTokenMintA extends string,
|
|
187
|
+
TAccountTokenMintB extends string,
|
|
188
|
+
TAccountTokenVaultA extends string,
|
|
189
|
+
TAccountTokenVaultB extends string,
|
|
190
|
+
TAccountTokenProgramA extends string,
|
|
191
|
+
TAccountTokenProgramB extends string,
|
|
192
|
+
TAccountMemoProgram extends string,
|
|
193
|
+
TAccountTickArrayLower extends string,
|
|
194
|
+
TAccountTickArrayUpper extends string,
|
|
195
|
+
TAccountWhirlpoolProgram extends string,
|
|
196
|
+
TAccountInstructionsSysvar extends string,
|
|
197
|
+
TProgramAddress extends Address = typeof WHIRLPOOLS_AUTOMATION_PROGRAM_PROGRAM_ADDRESS,
|
|
198
|
+
>(
|
|
199
|
+
input: HarvestSwapAndReinvestPostInput<
|
|
200
|
+
TAccountCrankOperator,
|
|
201
|
+
TAccountCrankOperatorTokenAccountA,
|
|
202
|
+
TAccountCrankOperatorTokenAccountB,
|
|
203
|
+
TAccountAutomation,
|
|
204
|
+
TAccountAutomationTokenAccountA,
|
|
205
|
+
TAccountAutomationTokenAccountB,
|
|
206
|
+
TAccountAutomationAuthority,
|
|
207
|
+
TAccountPositionTokenAccount,
|
|
208
|
+
TAccountPosition,
|
|
209
|
+
TAccountPositionOwner,
|
|
210
|
+
TAccountWhirlpool,
|
|
211
|
+
TAccountTokenMintA,
|
|
212
|
+
TAccountTokenMintB,
|
|
213
|
+
TAccountTokenVaultA,
|
|
214
|
+
TAccountTokenVaultB,
|
|
215
|
+
TAccountTokenProgramA,
|
|
216
|
+
TAccountTokenProgramB,
|
|
217
|
+
TAccountMemoProgram,
|
|
218
|
+
TAccountTickArrayLower,
|
|
219
|
+
TAccountTickArrayUpper,
|
|
220
|
+
TAccountWhirlpoolProgram,
|
|
221
|
+
TAccountInstructionsSysvar
|
|
222
|
+
>,
|
|
223
|
+
config?: {
|
|
63
224
|
programAddress?: TProgramAddress;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
225
|
+
}
|
|
226
|
+
): HarvestSwapAndReinvestPostInstruction<
|
|
227
|
+
TProgramAddress,
|
|
228
|
+
TAccountCrankOperator,
|
|
229
|
+
TAccountCrankOperatorTokenAccountA,
|
|
230
|
+
TAccountCrankOperatorTokenAccountB,
|
|
231
|
+
TAccountAutomation,
|
|
232
|
+
TAccountAutomationTokenAccountA,
|
|
233
|
+
TAccountAutomationTokenAccountB,
|
|
234
|
+
TAccountAutomationAuthority,
|
|
235
|
+
TAccountPositionTokenAccount,
|
|
236
|
+
TAccountPosition,
|
|
237
|
+
TAccountPositionOwner,
|
|
238
|
+
TAccountWhirlpool,
|
|
239
|
+
TAccountTokenMintA,
|
|
240
|
+
TAccountTokenMintB,
|
|
241
|
+
TAccountTokenVaultA,
|
|
242
|
+
TAccountTokenVaultB,
|
|
243
|
+
TAccountTokenProgramA,
|
|
244
|
+
TAccountTokenProgramB,
|
|
245
|
+
TAccountMemoProgram,
|
|
246
|
+
TAccountTickArrayLower,
|
|
247
|
+
TAccountTickArrayUpper,
|
|
248
|
+
TAccountWhirlpoolProgram,
|
|
249
|
+
TAccountInstructionsSysvar
|
|
250
|
+
>;
|
|
251
|
+
export type ParsedHarvestSwapAndReinvestPostInstruction<
|
|
252
|
+
TProgram extends string = typeof WHIRLPOOLS_AUTOMATION_PROGRAM_PROGRAM_ADDRESS,
|
|
253
|
+
TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[],
|
|
254
|
+
> = {
|
|
255
|
+
programAddress: Address<TProgram>;
|
|
256
|
+
accounts: {
|
|
257
|
+
crankOperator: TAccountMetas[0];
|
|
258
|
+
crankOperatorTokenAccountA: TAccountMetas[1];
|
|
259
|
+
crankOperatorTokenAccountB: TAccountMetas[2];
|
|
260
|
+
automation: TAccountMetas[3];
|
|
261
|
+
automationTokenAccountA: TAccountMetas[4];
|
|
262
|
+
automationTokenAccountB: TAccountMetas[5];
|
|
263
|
+
automationAuthority: TAccountMetas[6];
|
|
264
|
+
positionTokenAccount: TAccountMetas[7];
|
|
265
|
+
position: TAccountMetas[8];
|
|
266
|
+
positionOwner: TAccountMetas[9];
|
|
267
|
+
whirlpool: TAccountMetas[10];
|
|
268
|
+
tokenMintA: TAccountMetas[11];
|
|
269
|
+
tokenMintB: TAccountMetas[12];
|
|
270
|
+
tokenVaultA: TAccountMetas[13];
|
|
271
|
+
tokenVaultB: TAccountMetas[14];
|
|
272
|
+
tokenProgramA: TAccountMetas[15];
|
|
273
|
+
tokenProgramB: TAccountMetas[16];
|
|
274
|
+
memoProgram: TAccountMetas[17];
|
|
275
|
+
tickArrayLower: TAccountMetas[18];
|
|
276
|
+
tickArrayUpper: TAccountMetas[19];
|
|
277
|
+
whirlpoolProgram: TAccountMetas[20];
|
|
278
|
+
instructionsSysvar: TAccountMetas[21];
|
|
279
|
+
};
|
|
280
|
+
data: HarvestSwapAndReinvestPostInstructionData;
|
|
92
281
|
};
|
|
93
|
-
export declare function parseHarvestSwapAndReinvestPostInstruction<
|
|
282
|
+
export declare function parseHarvestSwapAndReinvestPostInstruction<
|
|
283
|
+
TProgram extends string,
|
|
284
|
+
TAccountMetas extends readonly AccountMeta[],
|
|
285
|
+
>(
|
|
286
|
+
instruction: Instruction<TProgram> &
|
|
287
|
+
InstructionWithAccounts<TAccountMetas> &
|
|
288
|
+
InstructionWithData<ReadonlyUint8Array>
|
|
289
|
+
): ParsedHarvestSwapAndReinvestPostInstruction<TProgram, TAccountMetas>;
|