@hawksightco/hawk-sdk 1.1.71 → 1.1.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/classes/Transactions.d.ts.map +1 -1
- package/dist/src/classes/Transactions.js +61 -28
- package/dist/src/idl/iyf-extension-idl.d.ts +166 -0
- package/dist/src/idl/iyf-extension-idl.d.ts.map +1 -1
- package/dist/src/idl/iyf-extension-idl.js +166 -0
- package/dist/src/types.d.ts +1 -0
- package/dist/src/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transactions.d.ts","sourceRoot":"","sources":["../../../src/classes/Transactions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AAgBxC,OAAO,EACL,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,eAAe,EACf,+BAA+B,EAC/B,kCAAkC,EAClC,cAAc,EACd,0BAA0B,EAC1B,gBAAgB,EAChB,eAAe,EACf,QAAQ,EAGR,WAAW,EACX,6BAA6B,EAC7B,2BAA2B,EAC3B,gBAAgB,EAChB,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,2BAA2B,EAC3B,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,UAAU,CAAC;AA+BlB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAQxD,qBAAa,YAAY;IAEvB;;OAEG;IACH,OAAO;IAIP;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAe;IAEtC;;OAEG;IACI,EAAE,EAAE,iBAAiB,CAAC;IAE7B;;;;OAIG;IACH,MAAM,CAAC,WAAW,IAAI,YAAY;IAOlC;;;;;;OAMG;IACH,eA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AAU,EAAE,MAAM,EAAE,EAAE,WAAW,CAAC,YAAY,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IA4F3G;;;;;;;OAOG;IACG,eAAe,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,WAAW,CAAC,YAAY,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IA4F9G;;;;;;;OAOG;IACG,gBAAgB,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,WAAW,CAAC,gBAAgB,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;CA0GpH;AAED,eAAO,MAAM,KAAK,cAA6B,CAAC"}
|
|
@@ -868,34 +868,67 @@ class Transactions {
|
|
|
868
868
|
const { position: _position, lbPair, binArrayBitmapExtension, reserveX, reserveY, tokenXMint, tokenYMint, tokenXProgram, tokenYProgram, binArrayLower, binArrayUpper, eventAuthority, program: meteoraDlmmProgram, } = _params;
|
|
869
869
|
let userTokenX = params.useAta ? (0, functions_1.generateAta)(userPda, tokenXMint.pubkey) : (0, functions_1.generateUserPdaStorageAccount)(userPda, tokenXMint.pubkey);
|
|
870
870
|
let userTokenY = params.useAta ? (0, functions_1.generateAta)(userPda, tokenYMint.pubkey) : (0, functions_1.generateUserPdaStorageAccount)(userPda, tokenYMint.pubkey);
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
.
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
871
|
+
let limitCloseAutomationIx;
|
|
872
|
+
if (params.use20) {
|
|
873
|
+
// @ts-ignore
|
|
874
|
+
limitCloseAutomationIx = yield anchor_1.Anchor.instance().iyfExtension.methods
|
|
875
|
+
.limitOrderClose(data, params.minBinId, params.maxBinId)
|
|
876
|
+
.accounts({
|
|
877
|
+
farm,
|
|
878
|
+
userPda,
|
|
879
|
+
authority,
|
|
880
|
+
iyfProgram,
|
|
881
|
+
hawksightAuthority,
|
|
882
|
+
position: _position.pubkey,
|
|
883
|
+
lbPair: lbPair.pubkey,
|
|
884
|
+
binArrayBitmapExtension: binArrayBitmapExtension.pubkey,
|
|
885
|
+
userTokenX,
|
|
886
|
+
userTokenY,
|
|
887
|
+
reserveX: reserveX.pubkey,
|
|
888
|
+
reserveY: reserveY.pubkey,
|
|
889
|
+
tokenXMint: tokenXMint.pubkey,
|
|
890
|
+
tokenYMint: tokenYMint.pubkey,
|
|
891
|
+
tokenXProgram: tokenXProgram.pubkey,
|
|
892
|
+
tokenYProgram: tokenYProgram.pubkey,
|
|
893
|
+
binArrayLower: binArrayLower.pubkey,
|
|
894
|
+
binArrayUpper: binArrayUpper.pubkey,
|
|
895
|
+
eventAuthority: eventAuthority.pubkey,
|
|
896
|
+
meteoraDlmmProgram: meteoraDlmmProgram.pubkey,
|
|
897
|
+
ownerFeeX: (0, functions_1.generateAta)(addresses_1.SITE_FEE_OWNER, tokenXMint.pubkey),
|
|
898
|
+
ownerFeeY: (0, functions_1.generateAta)(addresses_1.SITE_FEE_OWNER, tokenYMint.pubkey),
|
|
899
|
+
})
|
|
900
|
+
.instruction();
|
|
901
|
+
}
|
|
902
|
+
else {
|
|
903
|
+
// @ts-ignore
|
|
904
|
+
limitCloseAutomationIx = yield anchor_1.Anchor.instance().iyfExtension.methods
|
|
905
|
+
.meteoraDlmmLimitCloseAutomation(data, params.minBinId, params.maxBinId)
|
|
906
|
+
.accounts({
|
|
907
|
+
farm,
|
|
908
|
+
userPda,
|
|
909
|
+
authority,
|
|
910
|
+
iyfProgram,
|
|
911
|
+
hawksightAuthority,
|
|
912
|
+
position: _position.pubkey,
|
|
913
|
+
lbPair: lbPair.pubkey,
|
|
914
|
+
binArrayBitmapExtension: binArrayBitmapExtension.pubkey,
|
|
915
|
+
userTokenX,
|
|
916
|
+
userTokenY,
|
|
917
|
+
reserveX: reserveX.pubkey,
|
|
918
|
+
reserveY: reserveY.pubkey,
|
|
919
|
+
tokenXMint: tokenXMint.pubkey,
|
|
920
|
+
tokenYMint: tokenYMint.pubkey,
|
|
921
|
+
tokenXProgram: tokenXProgram.pubkey,
|
|
922
|
+
tokenYProgram: tokenYProgram.pubkey,
|
|
923
|
+
binArrayLower: binArrayLower.pubkey,
|
|
924
|
+
binArrayUpper: binArrayUpper.pubkey,
|
|
925
|
+
eventAuthority: eventAuthority.pubkey,
|
|
926
|
+
meteoraDlmmProgram: meteoraDlmmProgram.pubkey,
|
|
927
|
+
ownerFeeX: (0, functions_1.generateAta)(addresses_1.SITE_FEE_OWNER, tokenXMint.pubkey),
|
|
928
|
+
ownerFeeY: (0, functions_1.generateAta)(addresses_1.SITE_FEE_OWNER, tokenYMint.pubkey),
|
|
929
|
+
})
|
|
930
|
+
.instruction();
|
|
931
|
+
}
|
|
899
932
|
// Instruction via main hawksight contract
|
|
900
933
|
const ix = yield anchor_1.Anchor.instance().iyfMain.methods
|
|
901
934
|
.iyfExtensionExecute(limitCloseAutomationIx.data)
|
|
@@ -3144,6 +3144,172 @@ export type IyfExtension = {
|
|
|
3144
3144
|
}
|
|
3145
3145
|
];
|
|
3146
3146
|
},
|
|
3147
|
+
{
|
|
3148
|
+
"name": "limitOrderClose";
|
|
3149
|
+
"docs": [
|
|
3150
|
+
"Meteora Limit Close Position with 20% fee"
|
|
3151
|
+
];
|
|
3152
|
+
"discriminator": [
|
|
3153
|
+
250,
|
|
3154
|
+
111,
|
|
3155
|
+
129,
|
|
3156
|
+
110,
|
|
3157
|
+
248,
|
|
3158
|
+
232,
|
|
3159
|
+
87,
|
|
3160
|
+
161
|
|
3161
|
+
];
|
|
3162
|
+
"accounts": [
|
|
3163
|
+
{
|
|
3164
|
+
"name": "farm";
|
|
3165
|
+
"docs": [
|
|
3166
|
+
"Hawksight multi-index farm"
|
|
3167
|
+
];
|
|
3168
|
+
},
|
|
3169
|
+
{
|
|
3170
|
+
"name": "userPda";
|
|
3171
|
+
"docs": [
|
|
3172
|
+
"Hawksight user pda"
|
|
3173
|
+
];
|
|
3174
|
+
"pda": {
|
|
3175
|
+
"seeds": [
|
|
3176
|
+
{
|
|
3177
|
+
"kind": "const";
|
|
3178
|
+
"value": [
|
|
3179
|
+
109,
|
|
3180
|
+
117,
|
|
3181
|
+
108,
|
|
3182
|
+
116,
|
|
3183
|
+
105,
|
|
3184
|
+
45,
|
|
3185
|
+
117,
|
|
3186
|
+
115,
|
|
3187
|
+
101,
|
|
3188
|
+
114
|
|
3189
|
+
];
|
|
3190
|
+
},
|
|
3191
|
+
{
|
|
3192
|
+
"kind": "account";
|
|
3193
|
+
"path": "farm";
|
|
3194
|
+
},
|
|
3195
|
+
{
|
|
3196
|
+
"kind": "account";
|
|
3197
|
+
"path": "authority";
|
|
3198
|
+
}
|
|
3199
|
+
];
|
|
3200
|
+
"program": {
|
|
3201
|
+
"kind": "account";
|
|
3202
|
+
"path": "iyfProgram";
|
|
3203
|
+
};
|
|
3204
|
+
};
|
|
3205
|
+
},
|
|
3206
|
+
{
|
|
3207
|
+
"name": "authority";
|
|
3208
|
+
"docs": [
|
|
3209
|
+
"User wallet",
|
|
3210
|
+
"* No need to check"
|
|
3211
|
+
];
|
|
3212
|
+
"writable": true;
|
|
3213
|
+
"relations": [
|
|
3214
|
+
"userPda"
|
|
3215
|
+
];
|
|
3216
|
+
},
|
|
3217
|
+
{
|
|
3218
|
+
"name": "iyfProgram";
|
|
3219
|
+
"docs": [
|
|
3220
|
+
"Main index yield farming program"
|
|
3221
|
+
];
|
|
3222
|
+
"address": "FqGg2Y1FNxMiGd51Q6UETixQWkF5fB92MysbYogRJb3P";
|
|
3223
|
+
},
|
|
3224
|
+
{
|
|
3225
|
+
"name": "hawksightAuthority";
|
|
3226
|
+
"docs": [
|
|
3227
|
+
"Rebalancer which is hard coded to be a Hawksight rebalance wallet"
|
|
3228
|
+
];
|
|
3229
|
+
"writable": true;
|
|
3230
|
+
"signer": true;
|
|
3231
|
+
},
|
|
3232
|
+
{
|
|
3233
|
+
"name": "position";
|
|
3234
|
+
"writable": true;
|
|
3235
|
+
},
|
|
3236
|
+
{
|
|
3237
|
+
"name": "lbPair";
|
|
3238
|
+
"writable": true;
|
|
3239
|
+
},
|
|
3240
|
+
{
|
|
3241
|
+
"name": "binArrayBitmapExtension";
|
|
3242
|
+
"address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo";
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"name": "userTokenX";
|
|
3246
|
+
"writable": true;
|
|
3247
|
+
},
|
|
3248
|
+
{
|
|
3249
|
+
"name": "userTokenY";
|
|
3250
|
+
"writable": true;
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"name": "reserveX";
|
|
3254
|
+
"writable": true;
|
|
3255
|
+
},
|
|
3256
|
+
{
|
|
3257
|
+
"name": "reserveY";
|
|
3258
|
+
"writable": true;
|
|
3259
|
+
},
|
|
3260
|
+
{
|
|
3261
|
+
"name": "tokenXMint";
|
|
3262
|
+
},
|
|
3263
|
+
{
|
|
3264
|
+
"name": "tokenYMint";
|
|
3265
|
+
},
|
|
3266
|
+
{
|
|
3267
|
+
"name": "tokenXProgram";
|
|
3268
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
3269
|
+
},
|
|
3270
|
+
{
|
|
3271
|
+
"name": "tokenYProgram";
|
|
3272
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
|
|
3273
|
+
},
|
|
3274
|
+
{
|
|
3275
|
+
"name": "binArrayLower";
|
|
3276
|
+
"writable": true;
|
|
3277
|
+
},
|
|
3278
|
+
{
|
|
3279
|
+
"name": "binArrayUpper";
|
|
3280
|
+
"writable": true;
|
|
3281
|
+
},
|
|
3282
|
+
{
|
|
3283
|
+
"name": "eventAuthority";
|
|
3284
|
+
},
|
|
3285
|
+
{
|
|
3286
|
+
"name": "meteoraDlmmProgram";
|
|
3287
|
+
"address": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo";
|
|
3288
|
+
},
|
|
3289
|
+
{
|
|
3290
|
+
"name": "ownerFeeX";
|
|
3291
|
+
"writable": true;
|
|
3292
|
+
},
|
|
3293
|
+
{
|
|
3294
|
+
"name": "ownerFeeY";
|
|
3295
|
+
"writable": true;
|
|
3296
|
+
}
|
|
3297
|
+
];
|
|
3298
|
+
"args": [
|
|
3299
|
+
{
|
|
3300
|
+
"name": "param";
|
|
3301
|
+
"type": "bytes";
|
|
3302
|
+
},
|
|
3303
|
+
{
|
|
3304
|
+
"name": "minBinId";
|
|
3305
|
+
"type": "i32";
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"name": "maxBinId";
|
|
3309
|
+
"type": "i32";
|
|
3310
|
+
}
|
|
3311
|
+
];
|
|
3312
|
+
},
|
|
3147
3313
|
{
|
|
3148
3314
|
"name": "meteoraDlmmOneSideDeposit";
|
|
3149
3315
|
"discriminator": [
|