@hawksightco/hawk-sdk 1.1.74 → 1.2.1
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 +3 -0
- package/dist/src/addresses.d.ts.map +1 -1
- package/dist/src/addresses.js +4 -1
- package/dist/src/anchor.d.ts +2 -0
- package/dist/src/anchor.d.ts.map +1 -1
- package/dist/src/anchor.js +2 -0
- package/dist/src/classes/HawkAPI.js +1 -2
- package/dist/src/classes/SimpleIxGenerator.d.ts +28 -5
- package/dist/src/classes/SimpleIxGenerator.d.ts.map +1 -1
- package/dist/src/classes/SimpleIxGenerator.js +29 -6
- package/dist/src/classes/Transactions.d.ts +34 -1
- package/dist/src/classes/Transactions.d.ts.map +1 -1
- package/dist/src/classes/Transactions.js +123 -0
- package/dist/src/classes/TxGenerator.d.ts +17 -1
- package/dist/src/classes/TxGenerator.d.ts.map +1 -1
- package/dist/src/classes/TxGenerator.js +135 -10
- package/dist/src/classes/TxGeneratorAutomations.d.ts.map +1 -1
- package/dist/src/classes/TxGeneratorAutomations.js +5 -0
- package/dist/src/functions.d.ts +10 -0
- package/dist/src/functions.d.ts.map +1 -1
- package/dist/src/functions.js +53 -1
- package/dist/src/idl/iyf-extension-idl.d.ts +166 -210
- package/dist/src/idl/iyf-extension-idl.d.ts.map +1 -1
- package/dist/src/idl/iyf-extension-idl.js +168 -212
- package/dist/src/idl/iyf-main-idl.d.ts +288 -0
- package/dist/src/idl/iyf-main-idl.d.ts.map +1 -1
- package/dist/src/idl/iyf-main-idl.js +288 -0
- package/dist/src/idl/raydium-idl.d.ts +3054 -0
- package/dist/src/idl/raydium-idl.d.ts.map +1 -0
- package/dist/src/idl/raydium-idl.js +3055 -0
- package/dist/src/ixGenerator/IyfExtensionIxGenerator.d.ts +80 -1
- package/dist/src/ixGenerator/IyfExtensionIxGenerator.d.ts.map +1 -1
- package/dist/src/ixGenerator/IyfExtensionIxGenerator.js +288 -1
- package/dist/src/ixGenerator/IyfMainIxGenerator.d.ts +31 -0
- package/dist/src/ixGenerator/IyfMainIxGenerator.d.ts.map +1 -1
- package/dist/src/ixGenerator/IyfMainIxGenerator.js +183 -0
- package/dist/src/ixGenerator/RaydiumIxGenerator.d.ts +114 -0
- package/dist/src/ixGenerator/RaydiumIxGenerator.d.ts.map +1 -0
- package/dist/src/ixGenerator/RaydiumIxGenerator.js +398 -0
- package/dist/src/pdaGenerator/RaydiumPdaGenerator.d.ts +44 -1
- package/dist/src/pdaGenerator/RaydiumPdaGenerator.d.ts.map +1 -1
- package/dist/src/pdaGenerator/RaydiumPdaGenerator.js +96 -1
- package/dist/src/types.d.ts +35 -1
- package/dist/src/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/src/addresses.d.ts
CHANGED
|
@@ -16,4 +16,7 @@ export declare const HS_AUTHORITY: web3.PublicKey;
|
|
|
16
16
|
export declare const ORCA_WHIRLPOOL_PROGRAM: web3.PublicKey;
|
|
17
17
|
export declare const WSOL_MINT: web3.PublicKey;
|
|
18
18
|
export declare const JUPITER_PROGRAM: web3.PublicKey;
|
|
19
|
+
export declare const RAYDIUM_PROGRAM: web3.PublicKey;
|
|
20
|
+
export declare const TOKEN_2022: web3.PublicKey;
|
|
21
|
+
export declare const MEMO_PROGRAM: web3.PublicKey;
|
|
19
22
|
//# 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;A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AAoE,CAAC;AACjG,eAAO,MAAM,eAAe,gBAAqE,CAAC;AAClG,eAAO,MAAM,UAAU,gBAAoE,CAAC;AAC5F,eAAO,MAAM,YAAY,gBAAoE,CAAC"}
|
package/dist/src/addresses.js
CHANGED
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.JUPITER_PROGRAM = exports.WSOL_MINT = exports.ORCA_WHIRLPOOL_PROGRAM = exports.HS_AUTHORITY = exports.COMPUTE_BUDGET = exports.METEORA_EVENT_AUTHORITY = exports.METEORA_DLMM_PROGRAM = exports.SOME_METEORA_DLMM_POOL = exports.USDC_FARM = exports.SITE_FEE_OWNER = exports.ASSOCIATED_TOKEN_PROGRAM = exports.TOKEN_PROGRAM_ID = exports.STABLEMINT_2 = exports.STABLEMINT_1 = exports.IYF_EXTENSION = exports.IYF_MAIN = exports.GLOBAL_ALT = void 0;
|
|
26
|
+
exports.MEMO_PROGRAM = exports.TOKEN_2022 = exports.RAYDIUM_PROGRAM = exports.JUPITER_PROGRAM = exports.WSOL_MINT = exports.ORCA_WHIRLPOOL_PROGRAM = exports.HS_AUTHORITY = exports.COMPUTE_BUDGET = exports.METEORA_EVENT_AUTHORITY = exports.METEORA_DLMM_PROGRAM = exports.SOME_METEORA_DLMM_POOL = exports.USDC_FARM = exports.SITE_FEE_OWNER = exports.ASSOCIATED_TOKEN_PROGRAM = exports.TOKEN_PROGRAM_ID = exports.STABLEMINT_2 = exports.STABLEMINT_1 = exports.IYF_EXTENSION = exports.IYF_MAIN = exports.GLOBAL_ALT = void 0;
|
|
27
27
|
const web3 = __importStar(require("@solana/web3.js"));
|
|
28
28
|
exports.GLOBAL_ALT = [
|
|
29
29
|
"AC3t5k5PUTJirxGEHgGGQStafu1vXkvddPyqVNDrRQDt",
|
|
@@ -54,3 +54,6 @@ exports.HS_AUTHORITY = new web3.PublicKey("dche7M2764e8AxNihBdn7uffVzZvTBNeL8x4L
|
|
|
54
54
|
exports.ORCA_WHIRLPOOL_PROGRAM = new web3.PublicKey("whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc");
|
|
55
55
|
exports.WSOL_MINT = new web3.PublicKey("So11111111111111111111111111111111111111112");
|
|
56
56
|
exports.JUPITER_PROGRAM = new web3.PublicKey("JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4");
|
|
57
|
+
exports.RAYDIUM_PROGRAM = new web3.PublicKey("CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK");
|
|
58
|
+
exports.TOKEN_2022 = new web3.PublicKey("TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb");
|
|
59
|
+
exports.MEMO_PROGRAM = new web3.PublicKey("MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr");
|
package/dist/src/anchor.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { IndexYieldFarming } from "./idl/iyf-main-idl";
|
|
|
4
4
|
import { IyfExtension as IyfExtensionNew } from "./idl/iyf-extension-idl";
|
|
5
5
|
import { Whirlpool } from "./idl/orca-idl";
|
|
6
6
|
import { LbClmm } from "./idl/meteora-idl";
|
|
7
|
+
import { Raydium } from "./idl/raydium-idl";
|
|
7
8
|
type IdlInstruction = {
|
|
8
9
|
name: string;
|
|
9
10
|
docs?: string[];
|
|
@@ -121,6 +122,7 @@ export declare class Anchor {
|
|
|
121
122
|
iyfExtension: anchor.Program<IyfExtension>;
|
|
122
123
|
orcaProgram: anchor.Program<Whirlpool>;
|
|
123
124
|
meteoraProgram: anchor.Program<LbClmm>;
|
|
125
|
+
raydiumProgram: anchor.Program<Raydium>;
|
|
124
126
|
private constructor();
|
|
125
127
|
static initialize(connection: web3.Connection): void;
|
|
126
128
|
static instance(): Anchor;
|
package/dist/src/anchor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anchor.d.ts","sourceRoot":"","sources":["../../src/anchor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAmB,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAwB,YAAY,IAAI,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAChG,OAAO,EAAqB,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAkB,MAAM,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"anchor.d.ts","sourceRoot":"","sources":["../../src/anchor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAmB,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,EAAwB,YAAY,IAAI,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAChG,OAAO,EAAqB,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAkB,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAmB,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAU7D,KAAK,cAAc,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AACF,KAAK,cAAc,GAAG,UAAU,GAAG,WAAW,CAAC;AAC/C,KAAK,UAAU,GAAG;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,UAA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 @@ const iyf_main_idl_1 = require("./idl/iyf-main-idl");
|
|
|
33
33
|
const iyf_extension_idl_1 = require("./idl/iyf-extension-idl");
|
|
34
34
|
const orca_idl_1 = require("./idl/orca-idl");
|
|
35
35
|
const meteora_idl_1 = require("./idl/meteora-idl");
|
|
36
|
+
const raydium_idl_1 = require("./idl/raydium-idl");
|
|
36
37
|
const nodewallet_1 = __importDefault(require("@coral-xyz/anchor/dist/cjs/nodewallet"));
|
|
37
38
|
const addresses_1 = require("./addresses");
|
|
38
39
|
class Anchor {
|
|
@@ -73,6 +74,7 @@ class Anchor {
|
|
|
73
74
|
this.iyfExtension = new anchor.Program(IyfExtension, addresses_1.IYF_EXTENSION, this.provider);
|
|
74
75
|
this.orcaProgram = new anchor.Program(orca_idl_1.IDL, addresses_1.ORCA_WHIRLPOOL_PROGRAM, this.provider);
|
|
75
76
|
this.meteoraProgram = new anchor.Program(meteora_idl_1.IDL, addresses_1.METEORA_DLMM_PROGRAM, this.provider);
|
|
77
|
+
this.raydiumProgram = new anchor.Program(raydium_idl_1.IDL, addresses_1.RAYDIUM_PROGRAM, this.provider);
|
|
76
78
|
}
|
|
77
79
|
static initialize(connection) {
|
|
78
80
|
Anchor._instance = new Anchor(connection);
|
|
@@ -17,7 +17,6 @@ const JupiterAlts_1 = require("./JupiterAlts");
|
|
|
17
17
|
const JupiterSwap_1 = require("./JupiterSwap");
|
|
18
18
|
const Logging_1 = require("./Logging");
|
|
19
19
|
const Transactions_1 = require("./Transactions");
|
|
20
|
-
const SimplePdaGenerator_1 = require("./SimplePdaGenerator");
|
|
21
20
|
/**
|
|
22
21
|
* HawkAPI is a central gateway class that aggregates access to various functional modules
|
|
23
22
|
* for interacting with HawkSight's blockchain APIs. This class initializes and exposes modules
|
|
@@ -46,10 +45,10 @@ class HawkAPI {
|
|
|
46
45
|
this.txGeneratorAutomation = new TxGeneratorAutomations_1.TxGeneratorAutomations(client, this.generalUtility);
|
|
47
46
|
this.search = new Search_1.Search(url);
|
|
48
47
|
this.ix = new SimpleIxGenerator_1.SimpleIxGenerator();
|
|
48
|
+
this.pda = this.ix.pda;
|
|
49
49
|
this.jupAlts = new JupiterAlts_1.JupiterAlts();
|
|
50
50
|
this.jupiterSwap = new JupiterSwap_1.JupiterSwap(this.ix);
|
|
51
51
|
Transactions_1.txgen.ix = this.ix;
|
|
52
|
-
this.pda = new SimplePdaGenerator_1.SimplePdaGenerator();
|
|
53
52
|
// Load create tx metadata module
|
|
54
53
|
if (this.options === undefined || !this.options.disableTxMetadataLoad) {
|
|
55
54
|
CreateTxMetadata_1.CreateTxMetadata.instance().load();
|
|
@@ -3,6 +3,8 @@ import { IyfMainIxGenerator } from "../ixGenerator/IyfMainIxGenerator";
|
|
|
3
3
|
import { MeteoraDlmmIxGenerator } from "../ixGenerator/MeteoraDlmmIxGenerator";
|
|
4
4
|
import { UtilIxGenerator } from "../ixGenerator/UtilIxGenerator";
|
|
5
5
|
import { OrcaIxGenerator } from "../ixGenerator/OrcaIxGenerator";
|
|
6
|
+
import { RaydiumIxGenerator } from "../ixGenerator/RaydiumIxGenerator";
|
|
7
|
+
import { SimplePdaGenerator } from "./SimplePdaGenerator";
|
|
6
8
|
/**
|
|
7
9
|
* The SimpleIxGenerator class is a general-purpose utility for generating single
|
|
8
10
|
* transaction instructions for simple tasks on the Solana blockchain. It offers
|
|
@@ -11,24 +13,45 @@ import { OrcaIxGenerator } from "../ixGenerator/OrcaIxGenerator";
|
|
|
11
13
|
*/
|
|
12
14
|
export declare class SimpleIxGenerator {
|
|
13
15
|
/**
|
|
14
|
-
*
|
|
16
|
+
* PDA generator instance
|
|
17
|
+
*/
|
|
18
|
+
pda: SimplePdaGenerator;
|
|
19
|
+
/**
|
|
20
|
+
* Utility instruction generator for miscellaneous operations and transactions
|
|
21
|
+
* that don't fit into specific protocol categories.
|
|
15
22
|
*/
|
|
16
23
|
util: UtilIxGenerator;
|
|
17
24
|
/**
|
|
18
|
-
* IYF
|
|
25
|
+
* Instruction generator for the IYF (IndexYieldFarming) main protocol operations.
|
|
26
|
+
* Handles core protocol interactions and transactions.
|
|
19
27
|
*/
|
|
20
28
|
iyfMain: IyfMainIxGenerator;
|
|
21
29
|
/**
|
|
22
|
-
* IYF
|
|
30
|
+
* Instruction generator for IYF extension operations.
|
|
31
|
+
* Extends the functionality of the main IYF protocol with additional features.
|
|
32
|
+
* @param iyfMain - Reference to the main IYF instruction generator for dependency injection
|
|
23
33
|
*/
|
|
24
34
|
iyfExtension: IyfExtensionIxGenerator;
|
|
25
35
|
/**
|
|
26
|
-
* Meteora
|
|
36
|
+
* Instruction generator for Meteora DLMM (Dynamic Liquidity Market Maker) operations.
|
|
37
|
+
* Handles concentrated liquidity pool interactions and transactions.
|
|
38
|
+
* @param iyfMain - Reference to the main IYF instruction generator for dependency injection
|
|
27
39
|
*/
|
|
28
40
|
meteoraDlmm: MeteoraDlmmIxGenerator;
|
|
29
41
|
/**
|
|
30
|
-
* Orca
|
|
42
|
+
* Instruction generator for Orca DEX operations.
|
|
43
|
+
* Handles Orca-specific pool interactions and transactions.
|
|
44
|
+
* @param iyfMain - Reference to the main IYF instruction generator for dependency injection
|
|
31
45
|
*/
|
|
32
46
|
orca: OrcaIxGenerator;
|
|
47
|
+
/**
|
|
48
|
+
* Instruction generator for Raydium DEX operations.
|
|
49
|
+
* Handles Raydium-specific pool interactions, concentrated liquidity positions,
|
|
50
|
+
* and other Raydium protocol transactions.
|
|
51
|
+
* @param iyfMain - Reference to the main IYF instruction generator for dependency injection
|
|
52
|
+
* @param iyfExtension - Reference to the IYF extension instruction generator for additional functionality
|
|
53
|
+
* @param pda - Reference to the PDA generator for managing program derived addresses
|
|
54
|
+
*/
|
|
55
|
+
raydium: RaydiumIxGenerator;
|
|
33
56
|
}
|
|
34
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;
|
|
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,CAA4C;IAEtF;;;;OAIG;IACI,IAAI,EAAE,eAAe,CAAqC;IAEjE;;;;;;;OAOG;IACI,OAAO,EAAE,kBAAkB,CAAqE;CACxG"}
|
|
@@ -6,6 +6,8 @@ const IyfMainIxGenerator_1 = require("../ixGenerator/IyfMainIxGenerator");
|
|
|
6
6
|
const MeteoraDlmmIxGenerator_1 = require("../ixGenerator/MeteoraDlmmIxGenerator");
|
|
7
7
|
const UtilIxGenerator_1 = require("../ixGenerator/UtilIxGenerator");
|
|
8
8
|
const OrcaIxGenerator_1 = require("../ixGenerator/OrcaIxGenerator");
|
|
9
|
+
const RaydiumIxGenerator_1 = require("../ixGenerator/RaydiumIxGenerator");
|
|
10
|
+
const SimplePdaGenerator_1 = require("./SimplePdaGenerator");
|
|
9
11
|
/**
|
|
10
12
|
* The SimpleIxGenerator class is a general-purpose utility for generating single
|
|
11
13
|
* transaction instructions for simple tasks on the Solana blockchain. It offers
|
|
@@ -15,25 +17,46 @@ const OrcaIxGenerator_1 = require("../ixGenerator/OrcaIxGenerator");
|
|
|
15
17
|
class SimpleIxGenerator {
|
|
16
18
|
constructor() {
|
|
17
19
|
/**
|
|
18
|
-
*
|
|
20
|
+
* PDA generator instance
|
|
21
|
+
*/
|
|
22
|
+
this.pda = new SimplePdaGenerator_1.SimplePdaGenerator();
|
|
23
|
+
/**
|
|
24
|
+
* Utility instruction generator for miscellaneous operations and transactions
|
|
25
|
+
* that don't fit into specific protocol categories.
|
|
19
26
|
*/
|
|
20
27
|
this.util = new UtilIxGenerator_1.UtilIxGenerator();
|
|
21
28
|
/**
|
|
22
|
-
* IYF
|
|
29
|
+
* Instruction generator for the IYF (IndexYieldFarming) main protocol operations.
|
|
30
|
+
* Handles core protocol interactions and transactions.
|
|
23
31
|
*/
|
|
24
32
|
this.iyfMain = new IyfMainIxGenerator_1.IyfMainIxGenerator();
|
|
25
33
|
/**
|
|
26
|
-
* IYF
|
|
34
|
+
* Instruction generator for IYF extension operations.
|
|
35
|
+
* Extends the functionality of the main IYF protocol with additional features.
|
|
36
|
+
* @param iyfMain - Reference to the main IYF instruction generator for dependency injection
|
|
27
37
|
*/
|
|
28
|
-
this.iyfExtension = new IyfExtensionIxGenerator_1.IyfExtensionIxGenerator(this.iyfMain);
|
|
38
|
+
this.iyfExtension = new IyfExtensionIxGenerator_1.IyfExtensionIxGenerator(this.pda, this.iyfMain);
|
|
29
39
|
/**
|
|
30
|
-
* Meteora
|
|
40
|
+
* Instruction generator for Meteora DLMM (Dynamic Liquidity Market Maker) operations.
|
|
41
|
+
* Handles concentrated liquidity pool interactions and transactions.
|
|
42
|
+
* @param iyfMain - Reference to the main IYF instruction generator for dependency injection
|
|
31
43
|
*/
|
|
32
44
|
this.meteoraDlmm = new MeteoraDlmmIxGenerator_1.MeteoraDlmmIxGenerator(this.iyfMain);
|
|
33
45
|
/**
|
|
34
|
-
* Orca
|
|
46
|
+
* Instruction generator for Orca DEX operations.
|
|
47
|
+
* Handles Orca-specific pool interactions and transactions.
|
|
48
|
+
* @param iyfMain - Reference to the main IYF instruction generator for dependency injection
|
|
35
49
|
*/
|
|
36
50
|
this.orca = new OrcaIxGenerator_1.OrcaIxGenerator(this.iyfMain);
|
|
51
|
+
/**
|
|
52
|
+
* Instruction generator for Raydium DEX operations.
|
|
53
|
+
* Handles Raydium-specific pool interactions, concentrated liquidity positions,
|
|
54
|
+
* and other Raydium protocol transactions.
|
|
55
|
+
* @param iyfMain - Reference to the main IYF instruction generator for dependency injection
|
|
56
|
+
* @param iyfExtension - Reference to the IYF extension instruction generator for additional functionality
|
|
57
|
+
* @param pda - Reference to the PDA generator for managing program derived addresses
|
|
58
|
+
*/
|
|
59
|
+
this.raydium = new RaydiumIxGenerator_1.RaydiumIxGenerator(this.iyfMain, this.iyfExtension, this.pda);
|
|
37
60
|
}
|
|
38
61
|
}
|
|
39
62
|
exports.SimpleIxGenerator = SimpleIxGenerator;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as web3 from "@solana/web3.js";
|
|
2
|
-
import { MeteoraClaim, MeteoraClaimAll, MeteoraClose, MeteoraCompound, MeteoraCreatePositionAndDeposit, MeteoraCreatePositionAndDepositPda, MeteoraDeposit, MeteoraInitializeBinArrays, MeteoraRebalance, MeteoraWithdraw, Register, TxgenParams, InitializeStorageTokenAccount, MeteoraLimitCloseAutomation, OrcaOpenPosition, OrcaClosePosition, OrcaDeposit, OrcaWithdraw, OrcaClaimRewards, TransactionMetadataResponse, MeteoraRebalance2, ClaimTokenFromSTA, ClaimTokensFromSTA } from '../types';
|
|
2
|
+
import { MeteoraClaim, MeteoraClaimAll, MeteoraClose, MeteoraCompound, MeteoraCreatePositionAndDeposit, MeteoraCreatePositionAndDepositPda, MeteoraDeposit, MeteoraInitializeBinArrays, MeteoraRebalance, MeteoraWithdraw, Register, TxgenParams, InitializeStorageTokenAccount, MeteoraLimitCloseAutomation, OrcaOpenPosition, OrcaClosePosition, OrcaDeposit, OrcaWithdraw, OrcaClaimRewards, TransactionMetadataResponse, MeteoraRebalance2, ClaimTokenFromSTA, ClaimTokensFromSTA, RaydiumClosePosition } from '../types';
|
|
3
|
+
import { RaydiumIncreaseLiquidity, RaydiumOpenPosition, RaydiumDecreaseLiquidity } from '../types';
|
|
3
4
|
import { GeneralUtility } from "./GeneralUtility";
|
|
4
5
|
import { MultiTransaction } from "./MultiTransaction";
|
|
5
6
|
import { SimpleIxGenerator } from "./SimpleIxGenerator";
|
|
@@ -222,6 +223,38 @@ export declare class Transactions {
|
|
|
222
223
|
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
223
224
|
*/
|
|
224
225
|
orcaClaimRewards({ connection, params }: TxgenParams<OrcaClaimRewards>): Promise<TransactionMetadataResponse>;
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
229
|
+
* @param payer The public key of the payer for transaction fees.
|
|
230
|
+
* @param params Parameters required
|
|
231
|
+
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
232
|
+
*/
|
|
233
|
+
raydiumOpenPosition({ connection, params }: TxgenParams<RaydiumOpenPosition>): Promise<TransactionMetadataResponse>;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
237
|
+
* @param payer The public key of the payer for transaction fees.
|
|
238
|
+
* @param params Parameters required
|
|
239
|
+
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
240
|
+
*/
|
|
241
|
+
raydiumClosePosition({ connection, params }: TxgenParams<RaydiumClosePosition>): Promise<TransactionMetadataResponse>;
|
|
242
|
+
/**
|
|
243
|
+
*
|
|
244
|
+
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
245
|
+
* @param payer The public key of the payer for transaction fees.
|
|
246
|
+
* @param params Parameters required
|
|
247
|
+
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
248
|
+
*/
|
|
249
|
+
raydiumIncreaseLiquidity({ connection, params }: TxgenParams<RaydiumIncreaseLiquidity>): Promise<TransactionMetadataResponse>;
|
|
250
|
+
/**
|
|
251
|
+
*
|
|
252
|
+
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
253
|
+
* @param payer The public key of the payer for transaction fees.
|
|
254
|
+
* @param params Parameters required
|
|
255
|
+
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
256
|
+
*/
|
|
257
|
+
raydiumDecreaseLiquidity({ connection, params }: TxgenParams<RaydiumDecreaseLiquidity>): Promise<TransactionMetadataResponse>;
|
|
225
258
|
}
|
|
226
259
|
export declare const txgen: Transactions;
|
|
227
260
|
//# sourceMappingURL=Transactions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transactions.d.ts","sourceRoot":"","sources":["../../../src/classes/Transactions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Transactions.d.ts","sourceRoot":"","sources":["../../../src/classes/Transactions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AAoBxC,OAAO,EACL,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,eAAe,EACf,+BAA+B,EAC/B,kCAAkC,EAClC,cAAc,EACd,0BAA0B,EAC1B,gBAAgB,EAChB,eAA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,EAAE,UAAU,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;IA2GnH;;;;;;OAMG;IACG,mBAAmB,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,WAAW,CAAC,mBAAmB,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAwBzH;;;;;;OAMG;IACG,oBAAoB,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,WAAW,CAAC,oBAAoB,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAgB3H;;;;;;OAMG;IACG,wBAAwB,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,WAAW,CAAC,wBAAwB,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAwBnI;;;;;;OAMG;IACG,wBAAwB,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,WAAW,CAAC,wBAAwB,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;CA0BpI;AAED,eAAO,MAAM,KAAK,cAA6B,CAAC"}
|
|
@@ -1891,6 +1891,129 @@ class Transactions {
|
|
|
1891
1891
|
});
|
|
1892
1892
|
});
|
|
1893
1893
|
}
|
|
1894
|
+
/**
|
|
1895
|
+
*
|
|
1896
|
+
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
1897
|
+
* @param payer The public key of the payer for transaction fees.
|
|
1898
|
+
* @param params Parameters required
|
|
1899
|
+
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
1900
|
+
*/
|
|
1901
|
+
raydiumOpenPosition(_a) {
|
|
1902
|
+
return __awaiter(this, arguments, void 0, function* ({ connection, params }) {
|
|
1903
|
+
const fetch = yield this.ix.raydium.raydiumFetch({
|
|
1904
|
+
poolState: params.poolState
|
|
1905
|
+
});
|
|
1906
|
+
const depositIx = yield this.ix.iyfMain.depositMultipleLamportPdaToken({
|
|
1907
|
+
userWallet: params.userWallet,
|
|
1908
|
+
deposit: [
|
|
1909
|
+
{ mint: fetch.poolStateInfo.tokenMint0, amount: params.amount0Max },
|
|
1910
|
+
{ mint: fetch.poolStateInfo.tokenMint1, amount: params.amount1Max },
|
|
1911
|
+
]
|
|
1912
|
+
});
|
|
1913
|
+
const raydiumOpenPositionIxViaHawksight = yield this.ix.raydium.raydiumOpenPosition({ connection, params, fetch });
|
|
1914
|
+
const mainInstructions = [
|
|
1915
|
+
depositIx,
|
|
1916
|
+
raydiumOpenPositionIxViaHawksight
|
|
1917
|
+
];
|
|
1918
|
+
return (0, functions_1.createTransactionMeta)({
|
|
1919
|
+
payer: params.userWallet,
|
|
1920
|
+
description: `Open Raydium Position`,
|
|
1921
|
+
addressLookupTableAddresses: addresses_1.GLOBAL_ALT,
|
|
1922
|
+
mainInstructions,
|
|
1923
|
+
});
|
|
1924
|
+
});
|
|
1925
|
+
}
|
|
1926
|
+
/**
|
|
1927
|
+
*
|
|
1928
|
+
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
1929
|
+
* @param payer The public key of the payer for transaction fees.
|
|
1930
|
+
* @param params Parameters required
|
|
1931
|
+
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
1932
|
+
*/
|
|
1933
|
+
raydiumClosePosition(_a) {
|
|
1934
|
+
return __awaiter(this, arguments, void 0, function* ({ connection, params }) {
|
|
1935
|
+
const fetch = yield this.ix.raydium.raydiumFetch({
|
|
1936
|
+
personalPosition: params.personalPosition
|
|
1937
|
+
});
|
|
1938
|
+
const raydiumClosePositionIxViaHawksight = yield this.ix.raydium.raydiumClosePosition({ connection, params, fetch });
|
|
1939
|
+
const mainInstructions = [
|
|
1940
|
+
raydiumClosePositionIxViaHawksight
|
|
1941
|
+
];
|
|
1942
|
+
return (0, functions_1.createTransactionMeta)({
|
|
1943
|
+
payer: params.userWallet,
|
|
1944
|
+
description: `Close Raydium Position`,
|
|
1945
|
+
addressLookupTableAddresses: addresses_1.GLOBAL_ALT,
|
|
1946
|
+
mainInstructions,
|
|
1947
|
+
});
|
|
1948
|
+
});
|
|
1949
|
+
}
|
|
1950
|
+
/**
|
|
1951
|
+
*
|
|
1952
|
+
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
1953
|
+
* @param payer The public key of the payer for transaction fees.
|
|
1954
|
+
* @param params Parameters required
|
|
1955
|
+
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
1956
|
+
*/
|
|
1957
|
+
raydiumIncreaseLiquidity(_a) {
|
|
1958
|
+
return __awaiter(this, arguments, void 0, function* ({ connection, params }) {
|
|
1959
|
+
const fetch = yield this.ix.raydium.raydiumFetch({
|
|
1960
|
+
personalPosition: params.personalPosition
|
|
1961
|
+
});
|
|
1962
|
+
const depositIx = yield this.ix.iyfMain.depositMultipleLamportPdaToken({
|
|
1963
|
+
userWallet: params.userWallet,
|
|
1964
|
+
deposit: [
|
|
1965
|
+
{ mint: fetch.poolStateInfo.tokenMint0, amount: params.amount0Max },
|
|
1966
|
+
{ mint: fetch.poolStateInfo.tokenMint1, amount: params.amount1Max },
|
|
1967
|
+
]
|
|
1968
|
+
});
|
|
1969
|
+
const raydiumIncreaseLiquidityIxViaHawksight = yield this.ix.raydium.raydiumIncreaseLiquidity({ connection, params, fetch });
|
|
1970
|
+
const mainInstructions = [
|
|
1971
|
+
depositIx,
|
|
1972
|
+
raydiumIncreaseLiquidityIxViaHawksight
|
|
1973
|
+
];
|
|
1974
|
+
return (0, functions_1.createTransactionMeta)({
|
|
1975
|
+
payer: params.userWallet,
|
|
1976
|
+
description: `Raydium increase liquidity`,
|
|
1977
|
+
addressLookupTableAddresses: addresses_1.GLOBAL_ALT,
|
|
1978
|
+
mainInstructions,
|
|
1979
|
+
});
|
|
1980
|
+
});
|
|
1981
|
+
}
|
|
1982
|
+
/**
|
|
1983
|
+
*
|
|
1984
|
+
* @param connection The Solana web3 connection object for blockchain interactions.
|
|
1985
|
+
* @param payer The public key of the payer for transaction fees.
|
|
1986
|
+
* @param params Parameters required
|
|
1987
|
+
* @returns A ResponseWithStatus containing either TransactionMetadataResponse.
|
|
1988
|
+
*/
|
|
1989
|
+
raydiumDecreaseLiquidity(_a) {
|
|
1990
|
+
return __awaiter(this, arguments, void 0, function* ({ connection, params }) {
|
|
1991
|
+
const fetch = yield this.ix.raydium.raydiumFetch({
|
|
1992
|
+
personalPosition: params.personalPosition
|
|
1993
|
+
});
|
|
1994
|
+
const withdrawIx = yield this.ix.iyfMain.withdrawMultipleLamportPdaToken({
|
|
1995
|
+
userWallet: params.userWallet,
|
|
1996
|
+
withdraw: [
|
|
1997
|
+
{ mint: fetch.poolStateInfo.tokenMint0 },
|
|
1998
|
+
{ mint: fetch.poolStateInfo.tokenMint1 },
|
|
1999
|
+
...fetch.poolStateInfo.rewardInfos
|
|
2000
|
+
.filter(v => !v.tokenMint.equals(web3.SystemProgram.programId))
|
|
2001
|
+
.map(v => { return { mint: v.tokenMint }; })
|
|
2002
|
+
]
|
|
2003
|
+
});
|
|
2004
|
+
const raydiumDecreaseLiquidityIxViaHawksight = yield this.ix.raydium.raydiumDecreaseLiquidity({ connection, params, fetch });
|
|
2005
|
+
const mainInstructions = [
|
|
2006
|
+
raydiumDecreaseLiquidityIxViaHawksight,
|
|
2007
|
+
withdrawIx,
|
|
2008
|
+
];
|
|
2009
|
+
return (0, functions_1.createTransactionMeta)({
|
|
2010
|
+
payer: params.userWallet,
|
|
2011
|
+
description: `Raydium decrease liquidity`,
|
|
2012
|
+
addressLookupTableAddresses: addresses_1.GLOBAL_ALT,
|
|
2013
|
+
mainInstructions,
|
|
2014
|
+
});
|
|
2015
|
+
});
|
|
2016
|
+
}
|
|
1894
2017
|
}
|
|
1895
2018
|
exports.Transactions = Transactions;
|
|
1896
2019
|
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 { ResponseWithStatus, TransactionMetadata, OrcaWithdraw, OrcaDeposit, OrcaClosePosition, OrcaOpenPosition, OrcaClaimRewards, MeteoraClaimAll, MeteoraCreatePositionAndDepositPda,
|
|
3
|
+
import { InitializeStorageTokenAccount, ClaimTokensFromSTA, ClaimTokenFromSTA, MeteoraTxWithdraw, ResponseWithStatus, TransactionMetadata, OrcaWithdraw, OrcaDeposit, OrcaClosePosition, OrcaOpenPosition, OrcaClaimRewards, MeteoraClaimAll, MeteoraCreatePositionAndDepositPda, RaydiumOpenPosition, RaydiumClosePosition, RaydiumIncreaseLiquidity, RaydiumDecreaseLiquidity } from "../types";
|
|
4
4
|
import { Client } from "./Client";
|
|
5
5
|
import { GeneralUtility } from "./GeneralUtility";
|
|
6
6
|
import { MultiTransaction } from "./MultiTransaction";
|
|
@@ -210,5 +210,21 @@ export declare class TxGenerator {
|
|
|
210
210
|
* @returns A ResponseWithStatus containing either TransactionMetadataResponse or TransactionMetadata.
|
|
211
211
|
*/
|
|
212
212
|
orcaClaimRewards(connection: web3.Connection, payer: string, params: OrcaClaimRewards): Promise<ResponseWithStatus<TransactionMetadata>>;
|
|
213
|
+
raydiumOpenPosition(connection: web3.Connection, payer: string, params: RaydiumOpenPosition): Promise<{
|
|
214
|
+
status: number;
|
|
215
|
+
data: any;
|
|
216
|
+
}>;
|
|
217
|
+
raydiumClosePosition(connection: web3.Connection, payer: string, params: RaydiumClosePosition): Promise<{
|
|
218
|
+
status: number;
|
|
219
|
+
data: any;
|
|
220
|
+
}>;
|
|
221
|
+
raydiumIncreaseLiquidity(connection: web3.Connection, payer: string, params: RaydiumIncreaseLiquidity): Promise<{
|
|
222
|
+
status: number;
|
|
223
|
+
data: any;
|
|
224
|
+
}>;
|
|
225
|
+
raydiumDecreaseLiquidity(connection: web3.Connection, payer: string, params: RaydiumDecreaseLiquidity): Promise<{
|
|
226
|
+
status: number;
|
|
227
|
+
data: any;
|
|
228
|
+
}>;
|
|
213
229
|
}
|
|
214
230
|
//# 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,EAAE,kBAAkB,EAAE,mBAAmB,EAAkE,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,eAAe,EAAE,kCAAkC,EAAE,
|
|
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,EAAE,6BAA6B,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,EAAkE,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,eAAe,EAAE,kCAAkC,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAClc,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAKlD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iBAAiB,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