mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-05-17 07:36:45 +00:00
fix(meteora): Update imports
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import AlphaVault, { PoolType, WhitelistMode } from "@meteora-ag/alpha-vault";
|
||||
import { SolanaAgentKit } from "../agent";
|
||||
import { PublicKey, sendAndConfirmTransaction } from "@solana/web3.js";
|
||||
import { BN } from "bn.js";
|
||||
import BN from "bn.js";
|
||||
|
||||
/**
|
||||
* Create Meteora FCFS alpha vault
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { SolanaAgentKit } from "../agent";
|
||||
import { BN } from "bn.js";
|
||||
import BN from "bn.js";
|
||||
import { PublicKey, sendAndConfirmTransaction } from "@solana/web3.js";
|
||||
import DLMM, { ActivationType } from "@meteora-ag/dlmm";
|
||||
import { getMint } from "@solana/spl-token";
|
||||
@@ -28,7 +28,7 @@ export async function createMeteoraDlmmPool(
|
||||
feeBps: number,
|
||||
activationType: ActivationType,
|
||||
hasAlphaVault: boolean,
|
||||
activationPoint: BN | null
|
||||
activationPoint: BN | undefined
|
||||
): Promise<string> {
|
||||
const tokenAMintInfo = await getMint(agent.connection, tokenAMint);
|
||||
const tokenBMintInfo = await getMint(agent.connection, tokenBMint);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import AmmImpl from "@mercurial-finance/dynamic-amm-sdk";
|
||||
import { SolanaAgentKit } from "../agent";
|
||||
import { BN } from "bn.js";
|
||||
import BN from "bn.js";
|
||||
import { PublicKey, sendAndConfirmTransaction } from "@solana/web3.js";
|
||||
import { CustomizableParams } from "@mercurial-finance/dynamic-amm-sdk/dist/cjs/src/amm/types";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user