Skip to content

Type Alias: UpdateBeneficiaryInstruction<TProgram, TAccountBeneficiary, TAccountNewBeneficiary, TAccountPool, TAccountAuthority, TAccountTokenProgram, TRemainingAccounts> ​

ts
type UpdateBeneficiaryInstruction<TProgram, TAccountBeneficiary, TAccountNewBeneficiary, TAccountPool, TAccountAuthority, TAccountTokenProgram, TRemainingAccounts> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountBeneficiary extends string ? ReadonlyAccount<TAccountBeneficiary> : TAccountBeneficiary, TAccountNewBeneficiary extends string ? ReadonlyAccount<TAccountNewBeneficiary> : TAccountNewBeneficiary, TAccountPool extends string ? WritableAccount<TAccountPool> : TAccountPool, TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, ...TRemainingAccounts]>;

Type Parameters ​

Type ParameterDefault type
TProgram extends stringtypeof NOSANA_POOLS_PROGRAM_ADDRESS
TAccountBeneficiary extends string | AccountMeta<string>string
TAccountNewBeneficiary extends string | AccountMeta<string>string
TAccountPool extends string | AccountMeta<string>string
TAccountAuthority extends string | AccountMeta<string>string
TAccountTokenProgram extends string | AccountMeta<string>"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
TRemainingAccounts extends readonly AccountMeta<string>[][]