UNPKG

@prism-hq/prism-ag

Version:

Prism Aggregator

9 lines (8 loc) 420 B
import { Program } from "@project-serum/anchor"; import { PublicKey } from "@solana/web3.js"; import BN from "bn.js"; import { PrismAg } from "./idl"; export interface FixedPoint { v: BN; } export declare function marcopoloSwap(user: PublicKey, program: Program<PrismAg>, route: any, fromTokenAccount: PublicKey, toTokenAccount: PublicKey, fees: any, hostFees: number, useT?: any, disableFees?: any): Promise<void>;