UNPKG

@kamino-finance/farms-sdk

Version:
6 lines 812 B
import { Address, GetAccountInfoApi, GetMinimumBalanceForRentExemptionApi, IInstruction, Rpc, TransactionSigner } from "@solana/kit"; export declare function createMintInstructions(rpc: Rpc<GetMinimumBalanceForRentExemptionApi>, authority: TransactionSigner, mint: TransactionSigner, decimals: number): Promise<IInstruction[]>; export declare function getMintDecimals(rpc: Rpc<GetAccountInfoApi>, mintAddress: Address): Promise<number>; export declare function getAssociatedTokenAddress(owner: Address, tokenMintAddress: Address, tokenProgram: Address): Promise<Address>; export declare function createAssociatedTokenAccountIdempotentInstruction(payer: TransactionSigner, mint: Address, tokenProgram: Address, owner?: Address, ata?: Address): Promise<[Address, IInstruction]>; //# sourceMappingURL=token.d.ts.map