@marinade.finance/kamino-sdk
Version:
18 lines (17 loc) • 591 B
TypeScript
import { TransactionInstruction, PublicKey } from '@solana/web3.js';
export interface CreateOperationAccountAccounts {
/** Address to be set as operation account owner. */
owner: PublicKey;
/** Initialize operation state account to store operation owner address and white list mint. */
operationState: PublicKey;
systemProgram: PublicKey;
}
/**
* Creates an operation account for the program
*
* # Arguments
*
* * `ctx`- The context of accounts
*
*/
export declare function createOperationAccount(accounts: CreateOperationAccountAccounts): TransactionInstruction;