Removed tooling added

This commit is contained in:
0xCipherCoder
2025-01-10 19:15:37 +05:30
193 changed files with 1475 additions and 722 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -48,6 +48,7 @@
"@solana/spl-token": "^0.4.9",
"@solana/web3.js": "^1.98.0",
"@tensor-oss/tensorswap-sdk": "^4.5.0",
"@sqds/multisig": "^2.1.3",
"@tiplink/api": "^0.3.1",
"ai": "^4.0.22",
"bn.js": "^5.2.1",

879
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
import { Action } from "../../types/action";
import { SolanaAgentKit } from "../../agent";
import { z } from "zod";
import { getAllRegisteredAllDomains } from "../../tools/domain";
import { getAllRegisteredAllDomains } from "../../tools";
const getAllRegisteredAllDomainsAction: Action = {
name: "GET_ALL_REGISTERED_ALL_DOMAINS",

View File

@@ -2,7 +2,7 @@ import { PublicKey } from "@solana/web3.js";
import { Action } from "../../types/action";
import { SolanaAgentKit } from "../../agent";
import { z } from "zod";
import { getMainAllDomainsDomain } from "../../tools/domain";
import { getMainAllDomainsDomain } from "../../tools";
const getMainAllDomainsDomainAction: Action = {
name: "GET_MAIN_ALL_DOMAINS_DOMAIN",

View File

@@ -2,7 +2,7 @@ import { PublicKey } from "@solana/web3.js";
import { Action } from "../../types/action";
import { SolanaAgentKit } from "../../agent";
import { z } from "zod";
import { getPrimaryDomain } from "../../tools/domain";
import { getPrimaryDomain } from "../../tools";
const getPrimaryDomainAction: Action = {
name: "GET_PRIMARY_DOMAIN",

View File

@@ -1,7 +1,7 @@
import { Action } from "../../types/action";
import { SolanaAgentKit } from "../../agent";
import { z } from "zod";
import { registerDomain } from "../../tools/domain";
import { registerDomain } from "../../tools";
const registerDomainAction: Action = {
name: "REGISTER_DOMAIN",

View File

@@ -1,7 +1,7 @@
import { Action } from "../../types/action";
import { SolanaAgentKit } from "../../agent";
import { z } from "zod";
import { resolveSolDomain } from "../../tools/domain";
import { resolveSolDomain } from "../../tools/";
const resolveSolDomainAction: Action = {
name: "RESOLVE_SOL_DOMAIN",

View File

@@ -1,28 +1,28 @@
import deployTokenAction from "./token/deployToken";
import balanceAction from "./balance/balance";
import transferAction from "./token/transfer";
import deployTokenAction from "./metaplex/deployToken";
import balanceAction from "./solana/balance";
import transferAction from "./solana/transfer";
import deployCollectionAction from "./metaplex/deployCollection";
import mintNFTAction from "./metaplex/mintNFT";
import tradeAction from "./jupiter/trade";
import requestFundsAction from "./solana/requestFunds";
import resolveDomainAction from "./domain/registerDomain";
import resolveDomainAction from "./bonfida/registerDomain";
import getTokenDataAction from "./jupiter/getTokenData";
import getTPSAction from "./solana/getTPS";
import fetchPriceAction from "./jupiter/fetchPrice";
import stakeWithJupAction from "./jupiter/stakeWithJup";
import stakeWithSolayerAction from "./solayer/stakeWithSolayer";
import registerDomainAction from "./domain/registerDomain";
import registerDomainAction from "./bonfida/registerDomain";
import lendAssetAction from "./lulo/lendAsset";
import createGibworkTaskAction from "./gibwork/createGibworkTask";
import resolveSolDomainAction from "./domain/resolveSolDomain";
import resolveSolDomainAction from "./bonfida/resolveSolDomain";
import pythFetchPriceAction from "./pyth/pythFetchPrice";
import getOwnedDomainsForTLDAction from "./domain/getOwnedDomainsForTLD";
import getPrimaryDomainAction from "./domain/getPrimaryDomain";
import getAllDomainsTLDsAction from "./domain/getAllDomainsTLDs";
import getOwnedAllDomainsAction from "./domain/getOwnedAllDomains";
import getOwnedDomainsForTLDAction from "./onsol/getOwnedDomainsForTLD";
import getPrimaryDomainAction from "./bonfida/getPrimaryDomain";
import getAllDomainsTLDsAction from "./onsol/getAllDomainsTLDs";
import getOwnedAllDomainsAction from "./onsol/getOwnedAllDomains";
import createImageAction from "./agent/createImage";
import getMainAllDomainsDomainAction from "./domain/getMainAllDomainsDomain";
import getAllRegisteredAllDomainsAction from "./domain/getAllRegisteredAllDomains";
import getMainAllDomainsDomainAction from "./bonfida/getMainAllDomainsDomain";
import getAllRegisteredAllDomainsAction from "./bonfida/getAllRegisteredAllDomains";
import raydiumCreateCpmmAction from "./raydium/raydiumCreateCpmm";
import raydiumCreateAmmV4Action from "./raydium/raydiumCreateAmmV4";
import createOrcaSingleSidedWhirlpoolAction from "./orca/createOrcaSingleSidedWhirlpool";

View File

@@ -1,7 +1,7 @@
import { Action } from "../../types/action";
import { SolanaAgentKit } from "../../agent";
import { z } from "zod";
import { getAllDomainsTLDs } from "../../tools/domain";
import { getAllDomainsTLDs } from "../../tools";
const getAllDomainsTLDsAction: Action = {
name: "GET_ALL_TLDS",

View File

@@ -2,7 +2,7 @@ import { PublicKey } from "@solana/web3.js";
import { Action } from "../../types/action";
import { SolanaAgentKit } from "../../agent";
import { z } from "zod";
import { getOwnedAllDomains } from "../../tools/domain";
import { getOwnedAllDomains } from "../../tools";
const getOwnedAllDomainsAction: Action = {
name: "GET_OWNED_ALL_DOMAINS",

View File

@@ -1,7 +1,7 @@
import { Action } from "../../types/action";
import { SolanaAgentKit } from "../../agent";
import { z } from "zod";
import { getOwnedDomainsForTLD } from "../../tools/domain";
import { getOwnedDomainsForTLD } from "../../tools";
const getOwnedDomainsForTLDAction: Action = {
name: "GET_OWNED_DOMAINS_FOR_TLD",

View File

@@ -1,7 +1,7 @@
import { Action } from "../../types/action";
import { SolanaAgentKit } from "../../agent";
import { z } from "zod";
import { resolveAllDomains } from "../../tools/domain";
import { resolveAllDomains } from "../../tools";
const resolveDomainAction: Action = {
name: "RESOLVE_ALL_DOMAINS",

View File

@@ -2,7 +2,7 @@ import { PublicKey } from "@solana/web3.js";
import { Action } from "../../types/action";
import { SolanaAgentKit } from "../../agent";
import { z } from "zod";
import { get_balance } from "../../tools/balance";
import { get_balance } from "../../tools";
const balanceAction: Action = {
name: "BALANCE_ACTION",

View File

@@ -85,6 +85,13 @@ import {
CreateSingleOptions,
StoreInitOptions,
} from "@3land/listings-sdk/dist/types/implementation/implementationTypes";
import { create_squads_multisig } from "../tools/squads_multisig/create_multisig";
import { deposit_to_multisig } from "../tools/squads_multisig/deposit_to_multisig";
import { transfer_from_multisig } from "../tools/squads_multisig/transfer_from_multisig";
import { create_proposal } from "../tools/squads_multisig/create_proposal";
import { approve_proposal } from "../tools/squads_multisig/approve_proposal";
import { execute_transaction } from "../tools/squads_multisig/execute_proposal";
import { reject_proposal } from "../tools/squads_multisig/reject_proposal";
/**
* Main class for interacting with Solana blockchain
@@ -603,4 +610,49 @@ export class SolanaAgentKit {
);
return `Transaction: ${tx}`;
}
async createSquadsMultisig(creator: PublicKey): Promise<string> {
return create_squads_multisig(this, creator);
}
async depositToMultisig(
amount: number,
vaultIndex: number = 0,
mint?: PublicKey,
): Promise<string> {
return deposit_to_multisig(this, amount, vaultIndex, mint);
}
async transferFromMultisig(
amount: number,
to: PublicKey,
vaultIndex: number = 0,
mint?: PublicKey,
): Promise<string> {
return transfer_from_multisig(this, amount, to, vaultIndex, mint);
}
async createMultisigProposal(
transactionIndex?: number | bigint,
): Promise<string> {
return create_proposal(this, transactionIndex);
}
async approveMultisigProposal(
transactionIndex?: number | bigint,
): Promise<string> {
return approve_proposal(this, transactionIndex);
}
async rejectMultisigProposal(
transactionIndex?: number | bigint,
): Promise<string> {
return reject_proposal(this, transactionIndex);
}
async executeMultisigTransaction(
transactionIndex?: number | bigint,
): Promise<string> {
return execute_transaction(this, transactionIndex);
}
}

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import {
CreateCollectionOptions,
StoreInitOptions,

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import {
CreateSingleOptions,
StoreInitOptions,

View File

@@ -0,0 +1,2 @@
export * from "./create_single";
export * from "./create_collection";

View File

@@ -1,5 +1,5 @@
import { PublicKey } from "@solana/web3.js";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { PerpTradeResponse } from "./types";
export class SolanaPerpCloseTradeTool extends BaseSolanaTool {

View File

@@ -0,0 +1,2 @@
export * from "./open_trade";
export * from "./close_trade";

View File

@@ -1,5 +1,5 @@
import { PublicKey } from "@solana/web3.js";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { PerpTradeResponse } from "./types";
export class SolanaPerpOpenTradeTool extends BaseSolanaTool {

View File

@@ -1,6 +1,6 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { CreateImageResponse } from "./types";
import { create_image } from "../../../tools/agent";
import { create_image } from "../../tools/agent";
export class SolanaCreateImageTool extends BaseSolanaTool {
name = "solana_create_image";

View File

@@ -0,0 +1,2 @@
export * from "./create_image";
export * from "./wallet_address";

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { WalletAddressResponse } from "./types";
export class SolanaGetWalletAddressTool extends BaseSolanaTool {

View File

@@ -1,5 +1,5 @@
import { PublicKey } from "@solana/web3.js";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { DomainResponse } from "./types";
export class SolanaGetDomainTool extends BaseSolanaTool {

View File

@@ -0,0 +1,4 @@
export * from "./register_domain";
export * from "./resolve_domain";
export * from "./get_domain";
export * from "./main_domain";

View File

@@ -1,5 +1,5 @@
import { PublicKey } from "@solana/web3.js";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { DomainResponse } from "./types";
export class SolanaGetMainDomain extends BaseSolanaTool {

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { RegisterDomainInput, RegisterDomainResponse } from "./types";
export class SolanaRegisterDomainTool extends BaseSolanaTool {

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { ResolveDomainResponse } from "./types";
export class SolanaResolveDomainTool extends BaseSolanaTool {

View File

@@ -1,5 +1,5 @@
import { Tool } from "langchain/tools";
import { SolanaAgentKit } from "../../../agent";
import { SolanaAgentKit } from "../../agent";
import { BaseToolResponse } from "./types";
export abstract class BaseSolanaTool extends Tool {

View File

@@ -0,0 +1,2 @@
export * from "./types";
export * from "./base";

View File

@@ -0,0 +1 @@
export * from "./token_data_ticker";

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
export class SolanaTokenDataByTickerTool extends BaseSolanaTool {
name = "solana_token_data_by_ticker";

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { FlashCloseTradeInput, PerpTradeResponse } from "./types";
export class SolanaFlashCloseTrade extends BaseSolanaTool {

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { FlashOpenTradeInput, PerpTradeResponse } from "./types";
export class SolanaFlashOpenTrade extends BaseSolanaTool {

View File

@@ -0,0 +1,3 @@
export * from "./flash_open";
export * from "./flash_close";
export * from "./types";

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { CreateGibworkTaskInput, GibworkTaskResponse } from "./types";
export class SolanaCreateGibworkTask extends BaseSolanaTool {

View File

@@ -0,0 +1,2 @@
export * from "./create_task";
export * from "./types";

View File

@@ -1,3 +1,29 @@
export * from "./adrena";
export * from "./onsol";
export * from "./dexscreener";
export * from "./onsol";
export * from "./flash";
export * from "./gibwork";
export * from "./jupiter";
export * from "./lulo";
export * from "./manifest";
export * from "./solana";
export * from "./agent";
export * from "./metaplex";
export * from "./openbook";
export * from "./orca";
export * from "./pumpfun";
export * from "./pyth";
export * from "./raydium";
export * from "./rugcheck";
export * from "./sendarcade";
export * from "./solayer";
export * from "./tensor";
export * from "./3land";
export * from "./tiplink";
export * from "./bonfida";
export * from "./lightprotocol";
import { SolanaAgentKit } from "../agent";
import {
SolanaBalanceTool,
@@ -57,7 +83,7 @@ import {
SolanaPerpCloseTradeTool,
SolanaFlashOpenTrade,
SolanaFlashCloseTrade,
} from "./tools/index";
} from "./index";
export function createSolanaTools(solanaKit: SolanaAgentKit) {
return [

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { PriceResponse } from "./types";
export class SolanaFetchPriceTool extends BaseSolanaTool {

View File

@@ -0,0 +1,5 @@
export * from "./fetch_price";
export * from "./token_data";
export * from "./trade";
export * from "./stake";
export * from "./types";

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { StakeResponse } from "./types";
export class SolanaStakeTool extends BaseSolanaTool {

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
export class SolanaTokenDataTool extends BaseSolanaTool {
name = "solana_token_data";

View File

@@ -1,5 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { CompressedAirdropInput, CompressedAirdropResponse } from "./types";
import { BaseSolanaTool } from "../common/base";
export class SolanaCompressedAirdropTool extends BaseSolanaTool {
name = "solana_compressed_airdrop";
@@ -15,7 +14,7 @@ export class SolanaCompressedAirdropTool extends BaseSolanaTool {
protected async _call(input: string): Promise<string> {
try {
const params: CompressedAirdropInput = JSON.parse(input);
const params = JSON.parse(input);
const txs = await this.solanaKit.sendCompressedAirdrop(
params.mintAddress,
@@ -30,7 +29,7 @@ export class SolanaCompressedAirdropTool extends BaseSolanaTool {
status: "success",
message: `Airdropped ${params.amount} tokens to ${params.recipients.length} recipients.`,
transactionHashes: txs,
} as CompressedAirdropResponse);
});
} catch (error: any) {
return this.handleError(error);
}

View File

@@ -0,0 +1 @@
export * from "./compressed_airdrop";

View File

@@ -0,0 +1,2 @@
export * from "./lend_asset";
export * from "./types";

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { LendAssetResponse } from "./types";
export class SolanaLendAssetTool extends BaseSolanaTool {

View File

@@ -1,6 +1,6 @@
import { BaseSolanaTool } from "../common";
import { OrderParams } from "../../../types";
import { generateOrdersfromPattern } from "./../../../tools/manifest";
import { OrderParams } from "../../types";
import { generateOrdersfromPattern } from "../../tools/manifest";
import { PublicKey } from "@solana/web3.js";
export class SolanaBatchOrderTool extends BaseSolanaTool {

View File

@@ -0,0 +1,6 @@
export * from "./manifest_market";
export * from "./batch_order";
export * from "./cancel_orders";
export * from "./limit_order";
export * from "./withdraw";
export * from "./types";

View File

@@ -1,5 +1,5 @@
import { PublicKey } from "@solana/web3.js";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { ManifestMarketInput, ManifestMarketResponse } from "./types";
export class SolanaManifestCreateMarket extends BaseSolanaTool {

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { DeployCollectionInput, DeployCollectionResponse } from "./types";
export class SolanaDeployCollectionTool extends BaseSolanaTool {

View File

@@ -1,5 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { DeployTokenInput, DeployTokenResponse } from "./types";
import { BaseSolanaTool } from "../common/base";
export class SolanaDeployTokenTool extends BaseSolanaTool {
name = "solana_deploy_token";
@@ -14,7 +13,7 @@ export class SolanaDeployTokenTool extends BaseSolanaTool {
protected async _call(input: string): Promise<string> {
try {
const params: DeployTokenInput = JSON.parse(input);
const params = JSON.parse(input);
const result = await this.solanaKit.deployToken(
params.name,
@@ -29,7 +28,7 @@ export class SolanaDeployTokenTool extends BaseSolanaTool {
message: "Token deployed successfully",
mintAddress: result.mint.toString(),
decimals: params.decimals || 9,
} as DeployTokenResponse);
});
} catch (error: any) {
return this.handleError(error);
}

View File

@@ -0,0 +1,4 @@
export * from "./deploy_collection";
export * from "./mint_nft";
export * from "./deploy_token";
export * from "./types";

View File

@@ -1,5 +1,5 @@
import { PublicKey } from "@solana/web3.js";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { MintNFTInput, MintNFTResponse } from "./types";
export class SolanaMintNFTTool extends BaseSolanaTool {

View File

@@ -0,0 +1,5 @@
export * from "./resolve_all_domains";
export * from "./owned_domains";
export * from "./tld_domains";
export * from "./get_all_tld";
export * from "./types";

View File

@@ -1,5 +1,5 @@
import { PublicKey } from "@solana/web3.js";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { DomainsListResponse } from "./types";
export class SolanaGetOwnedDomains extends BaseSolanaTool {

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { ResolveDomainResponse } from "./types";
export class SolanaResolveAllDomainsTool extends BaseSolanaTool {

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { DomainsListResponse } from "./types";
export class SolanaGetOwnedTldDomains extends BaseSolanaTool {

View File

@@ -0,0 +1,45 @@
import { BaseToolResponse } from "../common/types";
export interface RegisterDomainInput {
name: string;
spaceKB?: number;
}
export interface ResolveDomainInput {
domain: string;
}
export interface GetDomainInput {
account: string;
}
export interface OwnedDomainsInput {
owner: string;
}
export interface TldDomainsInput {
tld: string;
}
export interface RegisterDomainResponse extends BaseToolResponse {
transaction?: string;
domain?: string;
spaceKB?: number;
}
export interface ResolveDomainResponse extends BaseToolResponse {
publicKey?: string;
owner?: string;
}
export interface DomainResponse extends BaseToolResponse {
domain?: string | null;
}
export interface DomainsListResponse extends BaseToolResponse {
domains?: string[];
}
export interface TldsResponse extends BaseToolResponse {
tlds?: string[];
}

View File

@@ -0,0 +1,2 @@
export * from "./openbook_market";
export * from "./types";

View File

@@ -1,5 +1,5 @@
import { PublicKey } from "@solana/web3.js";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { OpenbookMarketInput } from "./types";
export class SolanaOpenbookCreateMarket extends BaseSolanaTool {

View File

@@ -0,0 +1,7 @@
export * from "./orca_clmm";
export * from "./orca_single_sided_pool";
export * from "./orca_position";
export * from "./orca_fetch_positions";
export * from "./orca_centered_position";
export * from "./orca_single_sided_position";
export * from "./types";

View File

@@ -1,6 +1,6 @@
import { PublicKey } from "@solana/web3.js";
import { Decimal } from "decimal.js";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { OrcaCenteredPositionInput, LiquidityResponse } from "./types";
export class SolanaOrcaOpenCenteredPosition extends BaseSolanaTool {

View File

@@ -1,8 +1,8 @@
import { PublicKey } from "@solana/web3.js";
import { Decimal } from "decimal.js";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { LiquidityResponse } from "./types";
import { FEE_TIERS } from "../../../tools/orca";
import { FEE_TIERS } from "../../tools/orca";
export class SolanaOrcaCreateCLMM extends BaseSolanaTool {
name = "orca_create_clmm";

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { OrcaPositionsResponse } from "./types";
export class SolanaOrcaFetchPositions extends BaseSolanaTool {

View File

@@ -1,5 +1,5 @@
import { PublicKey } from "@solana/web3.js";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { OrcaPositionInput, LiquidityResponse } from "./types";
export class SolanaOrcaClosePosition extends BaseSolanaTool {

View File

@@ -1,8 +1,8 @@
import { PublicKey } from "@solana/web3.js";
import { Decimal } from "decimal.js";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { LiquidityResponse } from "./types";
import { FEE_TIERS } from "../../../tools/orca";
import { FEE_TIERS } from "../../tools/orca";
export class SolanaOrcaCreateSingleSidedPool extends BaseSolanaTool {
name = "orca_create_single_sided_liquidity_pool";

View File

@@ -1,6 +1,6 @@
import { PublicKey } from "@solana/web3.js";
import { Decimal } from "decimal.js";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { OrcaSingleSidedPositionInput, LiquidityResponse } from "./types";
export class SolanaOrcaOpenSingleSidedPosition extends BaseSolanaTool {

View File

@@ -0,0 +1 @@
export * from "./launch_pumpfun_token";

View File

@@ -0,0 +1,2 @@
export * from "./pyth_price";
export * from "./types";

View File

@@ -1,4 +1,4 @@
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { PythPriceResponse } from "./types";
export class SolanaPythFetchPrice extends BaseSolanaTool {

View File

@@ -0,0 +1,4 @@
export * from "./raydium_amm";
export * from "./raydium_clmm";
export * from "./raydium_cpmm";
export * from "./types";

View File

@@ -1,6 +1,6 @@
import { PublicKey } from "@solana/web3.js";
import { BN } from "@coral-xyz/anchor";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { RaydiumAmmV4Input } from "./types";
export class SolanaRaydiumCreateAmmV4 extends BaseSolanaTool {

View File

@@ -1,7 +1,7 @@
import { PublicKey } from "@solana/web3.js";
import { BN } from "@coral-xyz/anchor";
import { Decimal } from "decimal.js";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { RaydiumClmmInput } from "./types";
export class SolanaRaydiumCreateClmm extends BaseSolanaTool {

View File

@@ -1,6 +1,6 @@
import { PublicKey } from "@solana/web3.js";
import { BN } from "@coral-xyz/anchor";
import { BaseSolanaTool } from "../common/base.tool";
import { BaseSolanaTool } from "../common/base";
import { RaydiumCpmmInput } from "./types";
export class SolanaRaydiumCreateCpmm extends BaseSolanaTool {

Some files were not shown because too many files have changed in this diff Show More