@rainfi/sdk
Version:
This package is used to interact with Rain.fi protocol on Solana
49 lines (48 loc) • 1.72 kB
TypeScript
/**
* This code was GENERATED using the solita package.
* Please DO NOT EDIT THIS FILE, instead rerun solita to update it or write a wrapper to add functionality.
*
* See: https://github.com/metaplex-foundation/solita
*/
import * as beet from '@metaplex-foundation/beet';
import * as web3 from '@solana/web3.js';
/**
* @category Instructions
* @category UpdatePoolWhitelist
* @category generated
*/
export declare const updatePoolWhitelistStruct: beet.BeetArgsStruct<{
instructionDiscriminator: number[];
}>;
/**
* Accounts required by the _updatePoolWhitelist_ instruction
*
* @property [_writable_, **signer**] signer
* @property [_writable_] pool
* @property [] lookupTable (optional)
* @category Instructions
* @category UpdatePoolWhitelist
* @category generated
*/
export type UpdatePoolWhitelistInstructionAccounts = {
signer: web3.PublicKey;
pool: web3.PublicKey;
lookupTable?: web3.PublicKey;
systemProgram?: web3.PublicKey;
anchorRemainingAccounts?: web3.AccountMeta[];
};
export declare const updatePoolWhitelistInstructionDiscriminator: number[];
/**
* Creates a _UpdatePoolWhitelist_ instruction.
*
* Optional accounts that are not provided will be omitted from the accounts
* array passed with the instruction.
* An optional account that is set cannot follow an optional account that is unset.
* Otherwise an Error is raised.
*
* @param accounts that will be accessed while the instruction is processed
* @category Instructions
* @category UpdatePoolWhitelist
* @category generated
*/
export declare function createUpdatePoolWhitelistInstruction(accounts: UpdatePoolWhitelistInstructionAccounts, programId?: web3.PublicKey): web3.TransactionInstruction;