@hubbleprotocol/farms-sdk
Version:
11 lines (10 loc) • 436 B
TypeScript
import { TransactionInstruction, PublicKey } from "@solana/web3.js";
export interface WithdrawSlashedAmountAccounts {
crank: PublicKey;
farmState: PublicKey;
slashedAmountSpillAddress: PublicKey;
farmVault: PublicKey;
farmVaultsAuthority: PublicKey;
tokenProgram: PublicKey;
}
export declare function withdrawSlashedAmount(accounts: WithdrawSlashedAmountAccounts, programId?: PublicKey): TransactionInstruction;