@hawksightco/hawk-sdk 1.3.182 → 1.3.183
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/addresses.d.ts +0 -2
- package/dist/src/addresses.d.ts.map +1 -1
- package/dist/src/addresses.js +1 -4
- package/dist/src/classes/SimpleIxGenerator.d.ts +0 -7
- package/dist/src/classes/SimpleIxGenerator.d.ts.map +1 -1
- package/dist/src/classes/SimpleIxGenerator.js +0 -7
- package/dist/src/classes/SimplePdaGenerator.d.ts +2 -7
- package/dist/src/classes/SimplePdaGenerator.d.ts.map +1 -1
- package/dist/src/classes/SimplePdaGenerator.js +2 -7
- package/dist/src/classes/Transactions.d.ts +1 -46
- package/dist/src/classes/Transactions.d.ts.map +1 -1
- package/dist/src/classes/Transactions.js +2 -227
- package/dist/src/classes/TxGenerator.d.ts +1 -24
- package/dist/src/classes/TxGenerator.d.ts.map +1 -1
- package/dist/src/classes/TxGenerator.js +0 -96
- package/dist/src/classes/TxGeneratorAutomations.d.ts +1 -29
- package/dist/src/classes/TxGeneratorAutomations.d.ts.map +1 -1
- package/dist/src/classes/TxGeneratorAutomations.js +0 -84
- package/dist/src/types.d.ts +1 -118
- package/dist/src/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/src/ixGenerator/HatchIxGenerator.d.ts +0 -92
- package/dist/src/ixGenerator/HatchIxGenerator.d.ts.map +0 -1
- package/dist/src/ixGenerator/HatchIxGenerator.js +0 -304
- package/dist/src/pdaGenerator/HatchPdaGenerator.d.ts +0 -41
- package/dist/src/pdaGenerator/HatchPdaGenerator.d.ts.map +0 -1
- package/dist/src/pdaGenerator/HatchPdaGenerator.js +0 -90
package/dist/src/addresses.d.ts
CHANGED
|
@@ -25,6 +25,4 @@ export declare const MEMO_PROGRAM: web3.PublicKey;
|
|
|
25
25
|
export declare const PUMP_FUN_AMM_PROGRAM: web3.PublicKey;
|
|
26
26
|
export declare const USDC_MINT: web3.PublicKey;
|
|
27
27
|
export declare const ADX_MINT: web3.PublicKey;
|
|
28
|
-
export declare const HATCH_PROGRAM: web3.PublicKey;
|
|
29
|
-
export declare const HATCH_TREASURY: web3.PublicKey;
|
|
30
28
|
//# sourceMappingURL=addresses.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addresses.d.ts","sourceRoot":"","sources":["../../src/addresses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AAExC,eAAO,MAAM,UAAU,UAYtB,CAAC;AAEF,eAAO,MAAM,QAAQ,gBAAqE,CAAC;AAC3F,eAAO,MAAM,aAAa,gBAAqE,CAAC;AAChG,eAAO,MAAM,YAAY,gBAAqE,CAAC;AAC/F,eAAO,MAAM,YAAY,gBAAqE,CAAC;AAC/F,eAAO,MAAM,gBAAgB,gBAAoE,CAAC;AAClG,eAAO,MAAM,qBAAqB,gBAAoE,CAAC;AACvG,eAAO,MAAM,wBAAwB,gBAAqE,CAAC;AAC3G,eAAO,MAAM,cAAc,gBAAqE,CAAC;AACjG,eAAO,MAAM,SAAS,gBAAqE,CAAC;AAC5F,eAAO,MAAM,QAAQ,gBAAqE,CAAC;AAC3F,eAAO,MAAM,sBAAsB,gBAAqE,CAAC;AACzG,eAAO,MAAM,oBAAoB,gBAAoE,CAAC;AACtG,eAAO,MAAM,uBAAuB,gBAAqE,CAAC;AAC1G,eAAO,MAAM,cAAc,gBAAoE,CAAC;AAChG,eAAO,MAAM,YAAY,gBAAoE,CAAC;AAC9F,eAAO,MAAM,sBAAsB,gBAAoE,CAAC;AACxG,eAAO,MAAM,yBAAyB,gBAAqE,CAAC;AAC5G,eAAO,MAAM,SAAS,gBAAoE,CAAC;AAC3F,eAAO,MAAM,eAAe,gBAAoE,CAAC;AACjG,eAAO,MAAM,eAAe,gBAAqE,CAAC;AAClG,eAAO,MAAM,UAAU,gBAAoE,CAAC;AAC5F,eAAO,MAAM,YAAY,gBAAoE,CAAC;AAC9F,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AAC;AAC5F,eAAO,MAAM,QAAQ,gBAAqE,CAAC"}
|
package/dist/src/addresses.js
CHANGED
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.
|
|
36
|
+
exports.ADX_MINT = exports.USDC_MINT = exports.PUMP_FUN_AMM_PROGRAM = exports.MEMO_PROGRAM = exports.TOKEN_2022 = exports.RAYDIUM_PROGRAM = exports.JUPITER_PROGRAM = exports.WSOL_MINT = exports.ORCA_METADATA_UPDATE_AUTH = exports.ORCA_WHIRLPOOL_PROGRAM = exports.HS_AUTHORITY = exports.COMPUTE_BUDGET = exports.METEORA_EVENT_AUTHORITY = exports.METEORA_DLMM_PROGRAM = exports.SOME_METEORA_DLMM_POOL = exports.SOL_FARM = exports.USDC_FARM = exports.SITE_FEE_OWNER = exports.ASSOCIATED_TOKEN_PROGRAM = exports.TOKEN_2022_PROGRAM_ID = exports.TOKEN_PROGRAM_ID = exports.STABLEMINT_2 = exports.STABLEMINT_1 = exports.IYF_EXTENSION = exports.IYF_MAIN = exports.GLOBAL_ALT = void 0;
|
|
37
37
|
const web3 = __importStar(require("@solana/web3.js"));
|
|
38
38
|
exports.GLOBAL_ALT = [
|
|
39
39
|
"AC3t5k5PUTJirxGEHgGGQStafu1vXkvddPyqVNDrRQDt",
|
|
@@ -73,6 +73,3 @@ exports.MEMO_PROGRAM = new web3.PublicKey("MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDL
|
|
|
73
73
|
exports.PUMP_FUN_AMM_PROGRAM = new web3.PublicKey("pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA");
|
|
74
74
|
exports.USDC_MINT = new web3.PublicKey("EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v");
|
|
75
75
|
exports.ADX_MINT = new web3.PublicKey("AuQaustGiaqxRvj2gtCdrd22PBzTn8kM3kEPEkZCtuDw");
|
|
76
|
-
// Hatch program addresses
|
|
77
|
-
exports.HATCH_PROGRAM = new web3.PublicKey("CDrrVT552hU9Zy2rEripvssmL2tD2bvoNbjDunb9Px83");
|
|
78
|
-
exports.HATCH_TREASURY = new web3.PublicKey("4K3a2ucXiGvuMJMPNneRDyzmNp6i4RdzXJmBdWwGwPEh"); // TODO: Update with actual treasury address
|
|
@@ -4,7 +4,6 @@ import { MeteoraDlmmIxGenerator } from "../ixGenerator/MeteoraDlmmIxGenerator";
|
|
|
4
4
|
import { UtilIxGenerator } from "../ixGenerator/UtilIxGenerator";
|
|
5
5
|
import { OrcaIxGenerator } from "../ixGenerator/OrcaIxGenerator";
|
|
6
6
|
import { RaydiumIxGenerator } from "../ixGenerator/RaydiumIxGenerator";
|
|
7
|
-
import { HatchIxGenerator } from "../ixGenerator/HatchIxGenerator";
|
|
8
7
|
import { SimplePdaGenerator } from "./SimplePdaGenerator";
|
|
9
8
|
/**
|
|
10
9
|
* The SimpleIxGenerator class is a general-purpose utility for generating single
|
|
@@ -54,11 +53,5 @@ export declare class SimpleIxGenerator {
|
|
|
54
53
|
* @param pda - Reference to the PDA generator for managing program derived addresses
|
|
55
54
|
*/
|
|
56
55
|
raydium: RaydiumIxGenerator;
|
|
57
|
-
/**
|
|
58
|
-
* Instruction generator for Hatch program operations.
|
|
59
|
-
* Handles locked Meteora DLMM positions with custom fee owners.
|
|
60
|
-
* @param pda - Reference to the PDA generator for deriving Hatch PDAs
|
|
61
|
-
*/
|
|
62
|
-
hatch: HatchIxGenerator;
|
|
63
56
|
}
|
|
64
57
|
//# sourceMappingURL=SimpleIxGenerator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimpleIxGenerator.d.ts","sourceRoot":"","sources":["../../../src/classes/SimpleIxGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SimpleIxGenerator.d.ts","sourceRoot":"","sources":["../../../src/classes/SimpleIxGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D;;;;;GAKG;AACH,qBAAa,iBAAiB;IAE5B;;OAEG;IACI,GAAG,EAAE,kBAAkB,CAA2B;IAEzD;;;OAGG;IACI,IAAI,EAAE,eAAe,CAAyB;IAErD;;;OAGG;IACI,OAAO,EAAE,kBAAkB,CAA4B;IAE9D;;;;OAIG;IACI,YAAY,EAAE,uBAAuB,CAAuD;IAEnG;;;;OAIG;IACI,WAAW,EAAE,sBAAsB,CAA8C;IAExF;;;;OAIG;IACI,IAAI,EAAE,eAAe,CAA+C;IAE3E;;;;;;;OAOG;IACI,OAAO,EAAE,kBAAkB,CAAqE;CACxG"}
|
|
@@ -7,7 +7,6 @@ const MeteoraDlmmIxGenerator_1 = require("../ixGenerator/MeteoraDlmmIxGenerator"
|
|
|
7
7
|
const UtilIxGenerator_1 = require("../ixGenerator/UtilIxGenerator");
|
|
8
8
|
const OrcaIxGenerator_1 = require("../ixGenerator/OrcaIxGenerator");
|
|
9
9
|
const RaydiumIxGenerator_1 = require("../ixGenerator/RaydiumIxGenerator");
|
|
10
|
-
const HatchIxGenerator_1 = require("../ixGenerator/HatchIxGenerator");
|
|
11
10
|
const SimplePdaGenerator_1 = require("./SimplePdaGenerator");
|
|
12
11
|
/**
|
|
13
12
|
* The SimpleIxGenerator class is a general-purpose utility for generating single
|
|
@@ -58,12 +57,6 @@ class SimpleIxGenerator {
|
|
|
58
57
|
* @param pda - Reference to the PDA generator for managing program derived addresses
|
|
59
58
|
*/
|
|
60
59
|
this.raydium = new RaydiumIxGenerator_1.RaydiumIxGenerator(this.iyfMain, this.iyfExtension, this.pda);
|
|
61
|
-
/**
|
|
62
|
-
* Instruction generator for Hatch program operations.
|
|
63
|
-
* Handles locked Meteora DLMM positions with custom fee owners.
|
|
64
|
-
* @param pda - Reference to the PDA generator for deriving Hatch PDAs
|
|
65
|
-
*/
|
|
66
|
-
this.hatch = new HatchIxGenerator_1.HatchIxGenerator(this.pda);
|
|
67
60
|
}
|
|
68
61
|
}
|
|
69
62
|
exports.SimpleIxGenerator = SimpleIxGenerator;
|
|
@@ -3,7 +3,6 @@ import { MeteoraPdaGenerator } from "../pdaGenerator/MeteoraPdaGenerator";
|
|
|
3
3
|
import { OrcaPdaGenerator } from "../pdaGenerator/OrcaPdaGenerator";
|
|
4
4
|
import { RaydiumPdaGenerator } from "../pdaGenerator/RaydiumPdaGenerator";
|
|
5
5
|
import { UtilPdaGenerator } from "../pdaGenerator/UtilPdaGenerator";
|
|
6
|
-
import { HatchPdaGenerator } from "../pdaGenerator/HatchPdaGenerator";
|
|
7
6
|
export declare class SimplePdaGenerator {
|
|
8
7
|
/**
|
|
9
8
|
* Util PDA Generator (Other PDA generators / uncategorized)
|
|
@@ -18,16 +17,12 @@ export declare class SimplePdaGenerator {
|
|
|
18
17
|
*/
|
|
19
18
|
meteora: MeteoraPdaGenerator;
|
|
20
19
|
/**
|
|
21
|
-
*
|
|
20
|
+
* Meteora PDA Generator
|
|
22
21
|
*/
|
|
23
22
|
orca: OrcaPdaGenerator;
|
|
24
23
|
/**
|
|
25
|
-
*
|
|
24
|
+
* Meteora PDA Generator
|
|
26
25
|
*/
|
|
27
26
|
raydium: RaydiumPdaGenerator;
|
|
28
|
-
/**
|
|
29
|
-
* Hatch PDA Generator
|
|
30
|
-
*/
|
|
31
|
-
hatch: HatchPdaGenerator;
|
|
32
27
|
}
|
|
33
28
|
//# sourceMappingURL=SimplePdaGenerator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SimplePdaGenerator.d.ts","sourceRoot":"","sources":["../../../src/classes/SimplePdaGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"SimplePdaGenerator.d.ts","sourceRoot":"","sources":["../../../src/classes/SimplePdaGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEpE,qBAAa,kBAAkB;IAE7B;;OAEG;IACI,IAAI,EAAE,gBAAgB,CAA0B;IAEvD;;OAEG;IACI,SAAS,EAAE,qBAAqB,CAA+B;IAEtE;;OAEG;IACI,OAAO,EAAE,mBAAmB,CAA6B;IAEhE;;OAEG;IACI,IAAI,EAAE,gBAAgB,CAA0B;IAEvD;;OAEG;IACI,OAAO,EAAE,mBAAmB,CAA6B;CACjE"}
|
|
@@ -6,7 +6,6 @@ const MeteoraPdaGenerator_1 = require("../pdaGenerator/MeteoraPdaGenerator");
|
|
|
6
6
|
const OrcaPdaGenerator_1 = require("../pdaGenerator/OrcaPdaGenerator");
|
|
7
7
|
const RaydiumPdaGenerator_1 = require("../pdaGenerator/RaydiumPdaGenerator");
|
|
8
8
|
const UtilPdaGenerator_1 = require("../pdaGenerator/UtilPdaGenerator");
|
|
9
|
-
const HatchPdaGenerator_1 = require("../pdaGenerator/HatchPdaGenerator");
|
|
10
9
|
class SimplePdaGenerator {
|
|
11
10
|
constructor() {
|
|
12
11
|
/**
|
|
@@ -22,17 +21,13 @@ class SimplePdaGenerator {
|
|
|
22
21
|
*/
|
|
23
22
|
this.meteora = new MeteoraPdaGenerator_1.MeteoraPdaGenerator();
|
|
24
23
|
/**
|
|
25
|
-
*
|
|
24
|
+
* Meteora PDA Generator
|
|
26
25
|
*/
|
|
27
26
|
this.orca = new OrcaPdaGenerator_1.OrcaPdaGenerator();
|
|
28
27
|
/**
|
|
29
|
-
*
|
|
28
|
+
* Meteora PDA Generator
|
|
30
29
|
*/
|
|
31
30
|
this.raydium = new RaydiumPdaGenerator_1.RaydiumPdaGenerator();
|
|
32
|
-
/**
|
|
33
|
-
* Hatch PDA Generator
|
|
34
|
-
*/
|
|
35
|
-
this.hatch = new HatchPdaGenerator_1.HatchPdaGenerator();
|
|
36
31
|
}
|
|
37
32
|
}
|
|
38
33
|
exports.SimplePdaGenerator = SimplePdaGenerator;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as web3 from '@solana/web3.js';
|
|
2
|
-
import { MeteoraClaim, MeteoraClaimAll, MeteoraClose, MeteoraCompound, MeteoraRedeposit, MeteoraCreatePositionAndDeposit, MeteoraCreatePositionAndDepositPda, MeteoraDeposit, MeteoraInitializeBinArrays, MeteoraRebalance, MeteoraWithdraw, Register, TxgenParams, InitializeStorageTokenAccount, MeteoraLimitCloseAutomation, MeteoraLimitCloseAutomation2, OrcaOpenPosition, OrcaClosePosition, OrcaDeposit, OrcaWithdraw, OrcaSweepDust, OrcaClaimRewards, TransactionMetadataResponse, MeteoraRebalance2, ClaimTokensFromSTA, RaydiumClosePosition, OpenAutomationIx, RelativeOpenAutomationIx, RaydiumWithdrawAndClosePosition, MeteoraCreatePoolAndPosition, ClaimTokenFromPda, MeteoraInitializeLargePosition, MeteoraDepositToLargePosition, MeteoraDepositLargerPosition, MeteoraWithdrawLargerPosition, MeteoraRebalanceForLargerPosition
|
|
2
|
+
import { MeteoraClaim, MeteoraClaimAll, MeteoraClose, MeteoraCompound, MeteoraRedeposit, MeteoraCreatePositionAndDeposit, MeteoraCreatePositionAndDepositPda, MeteoraDeposit, MeteoraInitializeBinArrays, MeteoraRebalance, MeteoraWithdraw, Register, TxgenParams, InitializeStorageTokenAccount, MeteoraLimitCloseAutomation, MeteoraLimitCloseAutomation2, OrcaOpenPosition, OrcaClosePosition, OrcaDeposit, OrcaWithdraw, OrcaSweepDust, OrcaClaimRewards, TransactionMetadataResponse, MeteoraRebalance2, ClaimTokensFromSTA, RaydiumClosePosition, OpenAutomationIx, RelativeOpenAutomationIx, RaydiumWithdrawAndClosePosition, MeteoraCreatePoolAndPosition, ClaimTokenFromPda, MeteoraInitializeLargePosition, MeteoraDepositToLargePosition, MeteoraDepositLargerPosition, MeteoraWithdrawLargerPosition, MeteoraRebalanceForLargerPosition } from '../types';
|
|
3
3
|
import { RaydiumIncreaseLiquidity, RaydiumOpenPosition, RaydiumDecreaseLiquidity } from '../types';
|
|
4
4
|
import { GeneralUtility } from './GeneralUtility';
|
|
5
5
|
import { MultiTransaction } from './MultiTransaction';
|
|
@@ -405,51 +405,6 @@ export declare class Transactions {
|
|
|
405
405
|
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
406
406
|
*/
|
|
407
407
|
raydiumDecreaseLiquidity({ connection, params, }: TxgenParams<RaydiumDecreaseLiquidity>): Promise<TransactionMetadataResponse>;
|
|
408
|
-
/**
|
|
409
|
-
* Creates a Meteora DLMM pool with a locked position via the Hatch program.
|
|
410
|
-
*
|
|
411
|
-
* The position will have:
|
|
412
|
-
* - Owner: HawkfiPda (global)
|
|
413
|
-
* - Operator: HawkfiPda (global)
|
|
414
|
-
* - Fee Owner: LauncherPda (per-launcher, derived from authority)
|
|
415
|
-
*
|
|
416
|
-
* Similar to meteoraCreatePoolAndPosition but uses Hatch program for locked positions.
|
|
417
|
-
*
|
|
418
|
-
* @param connection The Solana web3 connection object
|
|
419
|
-
* @param params Parameters for creating the pool and locked position
|
|
420
|
-
* @returns TransactionMetadataResponse
|
|
421
|
-
*/
|
|
422
|
-
hatchCreatePoolAndLockedPosition({ connection, params, }: TxgenParams<HatchCreatePoolAndLockedPosition>): Promise<TransactionMetadataResponse>;
|
|
423
|
-
/**
|
|
424
|
-
* Claim trading fees from a Hatch position.
|
|
425
|
-
*
|
|
426
|
-
* Only the rebalance authority can call this (automation).
|
|
427
|
-
* Fees go to LauncherPda-owned token accounts, with 8% to treasury.
|
|
428
|
-
*
|
|
429
|
-
* @param connection The Solana web3 connection object
|
|
430
|
-
* @param params Parameters for claiming fees
|
|
431
|
-
* @returns TransactionMetadataResponse
|
|
432
|
-
*/
|
|
433
|
-
hatchClaimFee({ connection, params, }: TxgenParams<HatchClaimFee>): Promise<TransactionMetadataResponse>;
|
|
434
|
-
/**
|
|
435
|
-
* Claim farming rewards from a Hatch position.
|
|
436
|
-
*
|
|
437
|
-
* Only the rebalance authority can call this (automation).
|
|
438
|
-
* Rewards go to LauncherPda-owned token account, with 8% to treasury.
|
|
439
|
-
*
|
|
440
|
-
* @param connection The Solana web3 connection object
|
|
441
|
-
* @param params Parameters for claiming rewards
|
|
442
|
-
* @returns TransactionMetadataResponse
|
|
443
|
-
*/
|
|
444
|
-
hatchClaimReward({ connection, params, }: TxgenParams<HatchClaimReward>): Promise<TransactionMetadataResponse>;
|
|
445
|
-
/**
|
|
446
|
-
* Initialize the global HawkfiPda (one-time operation).
|
|
447
|
-
*
|
|
448
|
-
* @param connection The Solana web3 connection object
|
|
449
|
-
* @param params Parameters for initialization
|
|
450
|
-
* @returns TransactionMetadataResponse
|
|
451
|
-
*/
|
|
452
|
-
hatchInitializeHawkfiPda({ params, }: TxgenParams<HatchInitializeHawkfiPda>): Promise<TransactionMetadataResponse>;
|
|
453
408
|
}
|
|
454
409
|
export declare const txgen: Transactions;
|
|
455
410
|
//# sourceMappingURL=Transactions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transactions.d.ts","sourceRoot":"","sources":["../../../src/classes/Transactions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AAqBxC,OAAO,EACL,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,+BAA+B,EAC/B,kCAAkC,EAClC,cAAc,EACd,0BAA0B,EAC1B,gBAAgB,EAChB,eAAe,EACf,QAAQ,EACR,WAAW,EACX,6BAA6B,EAC7B,2BAA2B,EAC3B,4BAA4B,EAC5B,gBAAgB,EAChB,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,2BAA2B,EAC3B,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EAEpB,gBAAgB,EAChB,wBAAwB,EACxB,+BAA+B,EAC/B,4BAA4B,EAC5B,iBAAiB,EAEjB,8BAA8B,EAC9B,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,EAC7B,iCAAiC,
|
|
1
|
+
{"version":3,"file":"Transactions.d.ts","sourceRoot":"","sources":["../../../src/classes/Transactions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;A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EACV,MAAM,GACP,EAAE,WAAW,CAAC,gBAAgB,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAuJvE;;;;;;OAMG;IACG,mBAAmB,CAAC,EACxB,UAAU,EACV,MAAM,GACP,EAAE,WAAW,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAgI1E;;;;;;;OAOG;IACG,+BAA+B,CAAC,EACpC,UAAU,EACV,MAAM,GACP,EAAE,WAAW,CAAC,+BAA+B,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAkItF;;;;;;OAMG;IACG,oBAAoB,CAAC,EACzB,UAAU,EACV,MAAM,GACP,EAAE,WAAW,CAAC,oBAAoB,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAwB3E;;;;;;OAMG;IACG,wBAAwB,CAAC,EAC7B,UAAU,EACV,MAAM,GACP,EAAE,WAAW,CAAC,wBAAwB,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAyG/E;;;;;;OAMG;IACG,wBAAwB,CAAC,EAC7B,UAAU,EACV,MAAM,GACP,EAAE,WAAW,CAAC,wBAAwB,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;CAiGhF;AAED,eAAO,MAAM,KAAK,cAA6B,CAAC"}
|
|
@@ -984,6 +984,7 @@ class Transactions {
|
|
|
984
984
|
}
|
|
985
985
|
compoundAutomationIx(_a) {
|
|
986
986
|
return __awaiter(this, arguments, void 0, function* ({ connection, params, }) {
|
|
987
|
+
var _b;
|
|
987
988
|
try {
|
|
988
989
|
const program = yield meteora_1.MeteoraDLMM.program(connection);
|
|
989
990
|
const position = yield program.account.positionV2.fetch(params.position);
|
|
@@ -1023,7 +1024,7 @@ class Transactions {
|
|
|
1023
1024
|
strategy: {
|
|
1024
1025
|
maxBinId: position.upperBinId,
|
|
1025
1026
|
minBinId: position.lowerBinId,
|
|
1026
|
-
strategyType: types_3.StrategyTypeMap[
|
|
1027
|
+
strategyType: types_3.StrategyTypeMap[(_b = params.distribution) !== null && _b !== void 0 ? _b : 'SPOT-IMBALANCED'],
|
|
1027
1028
|
},
|
|
1028
1029
|
skipInputTokenCheck: true,
|
|
1029
1030
|
slippage: slippageAmount,
|
|
@@ -3932,232 +3933,6 @@ class Transactions {
|
|
|
3932
3933
|
});
|
|
3933
3934
|
});
|
|
3934
3935
|
}
|
|
3935
|
-
// ============================================================================
|
|
3936
|
-
// HATCH PROGRAM TRANSACTIONS
|
|
3937
|
-
// ============================================================================
|
|
3938
|
-
/**
|
|
3939
|
-
* Creates a Meteora DLMM pool with a locked position via the Hatch program.
|
|
3940
|
-
*
|
|
3941
|
-
* The position will have:
|
|
3942
|
-
* - Owner: HawkfiPda (global)
|
|
3943
|
-
* - Operator: HawkfiPda (global)
|
|
3944
|
-
* - Fee Owner: LauncherPda (per-launcher, derived from authority)
|
|
3945
|
-
*
|
|
3946
|
-
* Similar to meteoraCreatePoolAndPosition but uses Hatch program for locked positions.
|
|
3947
|
-
*
|
|
3948
|
-
* @param connection The Solana web3 connection object
|
|
3949
|
-
* @param params Parameters for creating the pool and locked position
|
|
3950
|
-
* @returns TransactionMetadataResponse
|
|
3951
|
-
*/
|
|
3952
|
-
hatchCreatePoolAndLockedPosition(_a) {
|
|
3953
|
-
return __awaiter(this, arguments, void 0, function* ({ connection, params, }) {
|
|
3954
|
-
var _b, _c;
|
|
3955
|
-
// Get token programs - use provided or fetch from chain
|
|
3956
|
-
const validOwners = [
|
|
3957
|
-
addresses_1.TOKEN_PROGRAM_ID.toString(),
|
|
3958
|
-
addresses_1.TOKEN_2022_PROGRAM_ID.toString(),
|
|
3959
|
-
];
|
|
3960
|
-
let tokenProgramX;
|
|
3961
|
-
let tokenProgramY;
|
|
3962
|
-
if (params.tokenProgramX && params.tokenProgramY) {
|
|
3963
|
-
tokenProgramX = params.tokenProgramX;
|
|
3964
|
-
tokenProgramY = params.tokenProgramY;
|
|
3965
|
-
}
|
|
3966
|
-
else if (!params.tokenProgramX && !params.tokenProgramY) {
|
|
3967
|
-
const tokenProgramMap = yield (0, functions_1.getTokenProgramMapForMints)(connection, [
|
|
3968
|
-
params.tokenMintX,
|
|
3969
|
-
params.tokenMintY,
|
|
3970
|
-
]);
|
|
3971
|
-
tokenProgramX = tokenProgramMap[params.tokenMintX.toString()];
|
|
3972
|
-
tokenProgramY = tokenProgramMap[params.tokenMintY.toString()];
|
|
3973
|
-
}
|
|
3974
|
-
else {
|
|
3975
|
-
const missingMints = [];
|
|
3976
|
-
if (!params.tokenProgramX)
|
|
3977
|
-
missingMints.push(params.tokenMintX);
|
|
3978
|
-
if (!params.tokenProgramY)
|
|
3979
|
-
missingMints.push(params.tokenMintY);
|
|
3980
|
-
const tokenProgramMap = yield (0, functions_1.getTokenProgramMapForMints)(connection, missingMints);
|
|
3981
|
-
tokenProgramX =
|
|
3982
|
-
(_b = params.tokenProgramX) !== null && _b !== void 0 ? _b : tokenProgramMap[params.tokenMintX.toString()];
|
|
3983
|
-
tokenProgramY =
|
|
3984
|
-
(_c = params.tokenProgramY) !== null && _c !== void 0 ? _c : tokenProgramMap[params.tokenMintY.toString()];
|
|
3985
|
-
}
|
|
3986
|
-
// Validate token programs
|
|
3987
|
-
if (!validOwners.includes(tokenProgramX.toString())) {
|
|
3988
|
-
throw new errors_1.AppError(`tokenMintX: ${params.tokenMintX.toString()} is not a valid token mint. Program owner: ${tokenProgramX.toString()}`, 'hatchCreatePoolAndLockedPosition');
|
|
3989
|
-
}
|
|
3990
|
-
if (!validOwners.includes(tokenProgramY.toString())) {
|
|
3991
|
-
throw new errors_1.AppError(`tokenMintY: ${params.tokenMintY.toString()} is not a valid token mint. Program owner: ${tokenProgramY.toString()}`, 'hatchCreatePoolAndLockedPosition');
|
|
3992
|
-
}
|
|
3993
|
-
// Create ATA init instructions if needed
|
|
3994
|
-
const initAtaIxs = (0, functions_1.createAtaIdempotentIxs)({
|
|
3995
|
-
accounts: [
|
|
3996
|
-
{
|
|
3997
|
-
owner: params.authority,
|
|
3998
|
-
payer: params.authority,
|
|
3999
|
-
mint: params.tokenMintX,
|
|
4000
|
-
programId: tokenProgramX,
|
|
4001
|
-
},
|
|
4002
|
-
{
|
|
4003
|
-
owner: params.authority,
|
|
4004
|
-
payer: params.authority,
|
|
4005
|
-
mint: params.tokenMintY,
|
|
4006
|
-
programId: tokenProgramY,
|
|
4007
|
-
},
|
|
4008
|
-
],
|
|
4009
|
-
});
|
|
4010
|
-
// Build main instructions
|
|
4011
|
-
const mainInstructions = yield Promise.all([
|
|
4012
|
-
// Wrap SOL if needed
|
|
4013
|
-
...(0, functions_1.wrapSolIfMintIsWsol)(params.authority, params.authority, [
|
|
4014
|
-
{ mint: params.tokenMintX, amount: params.amountX },
|
|
4015
|
-
{ mint: params.tokenMintY, amount: params.amountY },
|
|
4016
|
-
]),
|
|
4017
|
-
// Create pool and locked position via Hatch
|
|
4018
|
-
this.ix.hatch.createPoolAndLockedPosition({
|
|
4019
|
-
connection,
|
|
4020
|
-
authority: params.authority,
|
|
4021
|
-
position: params.position,
|
|
4022
|
-
base: params.base,
|
|
4023
|
-
presetParameter: params.presetParameter,
|
|
4024
|
-
tokenMintX: params.tokenMintX,
|
|
4025
|
-
tokenMintY: params.tokenMintY,
|
|
4026
|
-
tokenProgramX,
|
|
4027
|
-
tokenProgramY,
|
|
4028
|
-
activeId: params.activeId,
|
|
4029
|
-
lowerBinId: params.lowerBinId,
|
|
4030
|
-
upperBinId: params.upperBinId,
|
|
4031
|
-
strategyType: params.strategyType,
|
|
4032
|
-
lockReleasePoint: params.lockReleasePoint,
|
|
4033
|
-
amountX: params.amountX,
|
|
4034
|
-
amountY: params.amountY,
|
|
4035
|
-
}),
|
|
4036
|
-
]);
|
|
4037
|
-
return (0, functions_1.createTransactionMeta)({
|
|
4038
|
-
payer: params.authority,
|
|
4039
|
-
description: 'Create pool and locked position via Hatch',
|
|
4040
|
-
addressLookupTableAddresses: addresses_1.GLOBAL_ALT,
|
|
4041
|
-
mainInstructions: [...initAtaIxs, ...mainInstructions],
|
|
4042
|
-
});
|
|
4043
|
-
});
|
|
4044
|
-
}
|
|
4045
|
-
/**
|
|
4046
|
-
* Claim trading fees from a Hatch position.
|
|
4047
|
-
*
|
|
4048
|
-
* Only the rebalance authority can call this (automation).
|
|
4049
|
-
* Fees go to LauncherPda-owned token accounts, with 8% to treasury.
|
|
4050
|
-
*
|
|
4051
|
-
* @param connection The Solana web3 connection object
|
|
4052
|
-
* @param params Parameters for claiming fees
|
|
4053
|
-
* @returns TransactionMetadataResponse
|
|
4054
|
-
*/
|
|
4055
|
-
hatchClaimFee(_a) {
|
|
4056
|
-
return __awaiter(this, arguments, void 0, function* ({ connection, params, }) {
|
|
4057
|
-
const launcherPda = this.ix.pda.hatch.deriveLauncherPda(params.launcherAuthority);
|
|
4058
|
-
// Create ATA init instructions for LauncherPda-owned accounts
|
|
4059
|
-
const initAtaIxs = (0, functions_1.createAtaIdempotentIxs)({
|
|
4060
|
-
accounts: [
|
|
4061
|
-
{
|
|
4062
|
-
owner: launcherPda,
|
|
4063
|
-
payer: params.rebalanceAuthority,
|
|
4064
|
-
mint: params.tokenMintX,
|
|
4065
|
-
programId: params.tokenProgramX,
|
|
4066
|
-
},
|
|
4067
|
-
{
|
|
4068
|
-
owner: launcherPda,
|
|
4069
|
-
payer: params.rebalanceAuthority,
|
|
4070
|
-
mint: params.tokenMintY,
|
|
4071
|
-
programId: params.tokenProgramY,
|
|
4072
|
-
},
|
|
4073
|
-
],
|
|
4074
|
-
});
|
|
4075
|
-
const claimFeeIx = yield this.ix.hatch.claimFee({
|
|
4076
|
-
connection,
|
|
4077
|
-
rebalanceAuthority: params.rebalanceAuthority,
|
|
4078
|
-
launcherAuthority: params.launcherAuthority,
|
|
4079
|
-
position: params.position,
|
|
4080
|
-
lbPair: params.lbPair,
|
|
4081
|
-
minBinId: params.minBinId,
|
|
4082
|
-
maxBinId: params.maxBinId,
|
|
4083
|
-
tokenMintX: params.tokenMintX,
|
|
4084
|
-
tokenMintY: params.tokenMintY,
|
|
4085
|
-
tokenProgramX: params.tokenProgramX,
|
|
4086
|
-
tokenProgramY: params.tokenProgramY,
|
|
4087
|
-
});
|
|
4088
|
-
return (0, functions_1.createTransactionMeta)({
|
|
4089
|
-
payer: params.rebalanceAuthority,
|
|
4090
|
-
description: 'Claim fees from Hatch position',
|
|
4091
|
-
addressLookupTableAddresses: addresses_1.GLOBAL_ALT,
|
|
4092
|
-
mainInstructions: [...initAtaIxs, claimFeeIx],
|
|
4093
|
-
});
|
|
4094
|
-
});
|
|
4095
|
-
}
|
|
4096
|
-
/**
|
|
4097
|
-
* Claim farming rewards from a Hatch position.
|
|
4098
|
-
*
|
|
4099
|
-
* Only the rebalance authority can call this (automation).
|
|
4100
|
-
* Rewards go to LauncherPda-owned token account, with 8% to treasury.
|
|
4101
|
-
*
|
|
4102
|
-
* @param connection The Solana web3 connection object
|
|
4103
|
-
* @param params Parameters for claiming rewards
|
|
4104
|
-
* @returns TransactionMetadataResponse
|
|
4105
|
-
*/
|
|
4106
|
-
hatchClaimReward(_a) {
|
|
4107
|
-
return __awaiter(this, arguments, void 0, function* ({ connection, params, }) {
|
|
4108
|
-
const launcherPda = this.ix.pda.hatch.deriveLauncherPda(params.launcherAuthority);
|
|
4109
|
-
// Create ATA init instruction for LauncherPda-owned account
|
|
4110
|
-
const initAtaIxs = (0, functions_1.createAtaIdempotentIxs)({
|
|
4111
|
-
accounts: [
|
|
4112
|
-
{
|
|
4113
|
-
owner: launcherPda,
|
|
4114
|
-
payer: params.rebalanceAuthority,
|
|
4115
|
-
mint: params.rewardMint,
|
|
4116
|
-
programId: params.tokenProgram,
|
|
4117
|
-
},
|
|
4118
|
-
],
|
|
4119
|
-
});
|
|
4120
|
-
const claimRewardIx = yield this.ix.hatch.claimReward({
|
|
4121
|
-
connection,
|
|
4122
|
-
rebalanceAuthority: params.rebalanceAuthority,
|
|
4123
|
-
launcherAuthority: params.launcherAuthority,
|
|
4124
|
-
position: params.position,
|
|
4125
|
-
lbPair: params.lbPair,
|
|
4126
|
-
rewardIndex: params.rewardIndex,
|
|
4127
|
-
minBinId: params.minBinId,
|
|
4128
|
-
maxBinId: params.maxBinId,
|
|
4129
|
-
rewardMint: params.rewardMint,
|
|
4130
|
-
rewardVault: params.rewardVault,
|
|
4131
|
-
tokenProgram: params.tokenProgram,
|
|
4132
|
-
});
|
|
4133
|
-
return (0, functions_1.createTransactionMeta)({
|
|
4134
|
-
payer: params.rebalanceAuthority,
|
|
4135
|
-
description: 'Claim rewards from Hatch position',
|
|
4136
|
-
addressLookupTableAddresses: addresses_1.GLOBAL_ALT,
|
|
4137
|
-
mainInstructions: [...initAtaIxs, claimRewardIx],
|
|
4138
|
-
});
|
|
4139
|
-
});
|
|
4140
|
-
}
|
|
4141
|
-
/**
|
|
4142
|
-
* Initialize the global HawkfiPda (one-time operation).
|
|
4143
|
-
*
|
|
4144
|
-
* @param connection The Solana web3 connection object
|
|
4145
|
-
* @param params Parameters for initialization
|
|
4146
|
-
* @returns TransactionMetadataResponse
|
|
4147
|
-
*/
|
|
4148
|
-
hatchInitializeHawkfiPda(_a) {
|
|
4149
|
-
return __awaiter(this, arguments, void 0, function* ({ params, }) {
|
|
4150
|
-
const initIx = this.ix.hatch.initializeHawkfiPda({
|
|
4151
|
-
payer: params.payer,
|
|
4152
|
-
});
|
|
4153
|
-
return (0, functions_1.createTransactionMeta)({
|
|
4154
|
-
payer: params.payer,
|
|
4155
|
-
description: 'Initialize Hatch HawkfiPda',
|
|
4156
|
-
addressLookupTableAddresses: addresses_1.GLOBAL_ALT,
|
|
4157
|
-
mainInstructions: [initIx],
|
|
4158
|
-
});
|
|
4159
|
-
});
|
|
4160
|
-
}
|
|
4161
3936
|
}
|
|
4162
3937
|
exports.Transactions = Transactions;
|
|
4163
3938
|
exports.txgen = Transactions.getInstance();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as web3 from "@solana/web3.js";
|
|
2
2
|
import * as _client from "@hawksightco/swagger-client";
|
|
3
|
-
import { InitializeStorageTokenAccount, ClaimTokensFromSTA, MeteoraTxWithdraw, ResponseWithStatus, TransactionMetadata, OrcaWithdraw, OrcaDeposit, OrcaClosePosition, OrcaOpenPosition, OrcaClaimRewards, MeteoraClaimAll, MeteoraCreatePositionAndDepositPda, RaydiumOpenPosition, RaydiumClosePosition, RaydiumIncreaseLiquidity, RaydiumDecreaseLiquidity, OrcaSweepDust, CreateLimitTokenParams, CloseLimitTokenParams, TokenType, RaydiumWithdrawAndClosePosition, MeteoraCreatePoolAndPosition, MeteoraInitializeBinArrays, ClaimTokenFromPda, MeteoraInitializeLargePosition, MeteoraDepositToLargePosition, MeteoraDepositLargerPosition, MeteoraTxWithdrawLargerPosition
|
|
3
|
+
import { InitializeStorageTokenAccount, ClaimTokensFromSTA, MeteoraTxWithdraw, ResponseWithStatus, TransactionMetadata, OrcaWithdraw, OrcaDeposit, OrcaClosePosition, OrcaOpenPosition, OrcaClaimRewards, MeteoraClaimAll, MeteoraCreatePositionAndDepositPda, RaydiumOpenPosition, RaydiumClosePosition, RaydiumIncreaseLiquidity, RaydiumDecreaseLiquidity, OrcaSweepDust, CreateLimitTokenParams, CloseLimitTokenParams, TokenType, RaydiumWithdrawAndClosePosition, MeteoraCreatePoolAndPosition, MeteoraInitializeBinArrays, ClaimTokenFromPda, MeteoraInitializeLargePosition, MeteoraDepositToLargePosition, MeteoraDepositLargerPosition, MeteoraTxWithdrawLargerPosition } from "../types";
|
|
4
4
|
import { Client } from "./Client";
|
|
5
5
|
import { GeneralUtility } from "./GeneralUtility";
|
|
6
6
|
import BN from "bn.js";
|
|
@@ -345,29 +345,6 @@ export declare class TxGenerator {
|
|
|
345
345
|
raydiumWithdrawAndClosePosition(connection: web3.Connection, payer: string, params: RaydiumWithdrawAndClosePosition): Promise<ResponseWithStatus<TransactionMetadata>>;
|
|
346
346
|
raydiumIncreaseLiquidity(connection: web3.Connection, payer: string, params: RaydiumIncreaseLiquidity): Promise<ResponseWithStatus<TransactionMetadata>>;
|
|
347
347
|
raydiumDecreaseLiquidity(connection: web3.Connection, payer: string, params: RaydiumDecreaseLiquidity): Promise<ResponseWithStatus<TransactionMetadata>>;
|
|
348
|
-
/**
|
|
349
|
-
* Creates a Meteora DLMM pool with a locked position via the Hatch program.
|
|
350
|
-
*
|
|
351
|
-
* The position will have:
|
|
352
|
-
* - Owner: HawkfiPda (global)
|
|
353
|
-
* - Operator: HawkfiPda (global)
|
|
354
|
-
* - Fee Owner: LauncherPda (per-launcher)
|
|
355
|
-
*
|
|
356
|
-
* @param connection The Solana web3 connection object
|
|
357
|
-
* @param payer The public key of the payer for transaction fees
|
|
358
|
-
* @param params Parameters for creating the pool and locked position
|
|
359
|
-
* @returns A ResponseWithStatus containing TransactionMetadata
|
|
360
|
-
*/
|
|
361
|
-
hatchCreatePoolAndLockedPosition(connection: web3.Connection, payer: string, params: HatchCreatePoolAndLockedPosition): Promise<ResponseWithStatus<TransactionMetadata>>;
|
|
362
|
-
/**
|
|
363
|
-
* Initialize the global HawkfiPda (one-time operation).
|
|
364
|
-
*
|
|
365
|
-
* @param connection The Solana web3 connection object
|
|
366
|
-
* @param payer The public key of the payer for transaction fees
|
|
367
|
-
* @param params Parameters for initialization
|
|
368
|
-
* @returns A ResponseWithStatus containing TransactionMetadata
|
|
369
|
-
*/
|
|
370
|
-
hatchInitializeHawkfiPda(connection: web3.Connection, payer: string, params: HatchInitializeHawkfiPda): Promise<ResponseWithStatus<TransactionMetadata>>;
|
|
371
348
|
}
|
|
372
349
|
export {};
|
|
373
350
|
//# sourceMappingURL=TxGenerator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TxGenerator.d.ts","sourceRoot":"","sources":["../../../src/classes/TxGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,EACL,6BAA6B,EAC7B,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EAInB,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,aAAa,EACb,sBAAsB,EACtB,qBAAqB,EACrB,SAAS,EACT,+BAA+B,EAE/B,4BAA4B,EAC5B,0BAA0B,EAC1B,iBAAiB,EACjB,8BAA8B,EAC9B,6BAA6B,EAC7B,4BAA4B,EAE5B,+BAA+B,
|
|
1
|
+
{"version":3,"file":"TxGenerator.d.ts","sourceRoot":"","sources":["../../../src/classes/TxGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,EACL,6BAA6B,EAC7B,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EAInB,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,aAAa,EACb,sBAAsB,EACtB,qBAAqB,EACrB,SAAS,EACT,+BAA+B,EAE/B,4BAA4B,EAC5B,0BAA0B,EAC1B,iBAAiB,EACjB,8BAA8B,EAC9B,6BAA6B,EAC7B,4BAA4B,EAE5B,+BAA+B,EAChC,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAQlC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,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