@devasher/kuru-sdk
Version:
Ethers v6 SDK to interact with Kuru (forked from @kuru-labs/kuru-sdk)
9 lines • 1.04 kB
TypeScript
import { TransactionReceipt, ethers } from 'ethers';
import { TransactionOptions } from 'src/types';
export declare abstract class MarginWithdraw {
static withdraw(providerOrSigner: ethers.JsonRpcProvider | ethers.AbstractSigner, marginAccountAddress: string, tokenAddress: string, amount: number, decimals: number, txOptions?: TransactionOptions): Promise<TransactionReceipt>;
static constructWithdrawTransaction(signer: ethers.AbstractSigner, marginAccountAddress: string, tokenAddress: string, amount: string, txOptions?: TransactionOptions): Promise<ethers.TransactionRequest>;
static batchClaimMaxTokens(providerOrSigner: ethers.JsonRpcProvider | ethers.AbstractSigner, marginAccountAddress: string, tokens: string[], txOptions?: TransactionOptions): Promise<TransactionReceipt>;
static constructBatchClaimMaxTokensTransaction(signer: ethers.AbstractSigner, marginAccountAddress: string, tokens: string[], txOptions?: TransactionOptions): Promise<ethers.TransactionRequest>;
}
//# sourceMappingURL=withdraw.d.ts.map