hadeswap-sdk
Version:
HadeSwap SDK for interacting with protocol
19 lines (18 loc) • 540 B
TypeScript
import { web3 } from '@project-serum/anchor';
declare type setOracleFloor = (params: {
programId: web3.PublicKey;
connection: web3.Connection;
args: {
newFloor: number;
};
accounts: {
fraktMarket: web3.PublicKey;
userPubkey: web3.PublicKey;
};
sendTxn: (transaction: web3.Transaction, signers: web3.Signer[]) => Promise<void>;
}) => Promise<{
instructions: web3.TransactionInstruction[];
signers: web3.Signer[];
}>;
export declare const setOracleFloor: setOracleFloor;
export {};