@kamino-finance/scope-sdk
Version:
Scope Oracle SDK
19 lines • 859 B
TypeScript
import { Address, IAccountMeta, IInstruction, TransactionSigner } from "@solana/kit";
import BN from "bn.js";
export interface WithdrawFromTreasuryArgs {
amount: BN;
}
export interface WithdrawFromTreasuryAccounts {
adminAuthority: TransactionSigner;
globalConfig: Address;
mint: Address;
treasuryFeeVault: Address;
treasuryFeeVaultAuthority: Address;
tokenAccount: Address;
systemProgram: Address;
rent: Address;
tokenProgram: Address;
}
export declare const layout: import("buffer-layout").Layout<unknown>;
export declare function withdrawFromTreasury(args: WithdrawFromTreasuryArgs, accounts: WithdrawFromTreasuryAccounts, programAddress?: Address): IInstruction<string, readonly (IAccountMeta<string> | import("@solana/kit").IAccountLookupMeta<string, string>)[]>;
//# sourceMappingURL=withdrawFromTreasury.d.ts.map