Type Alias OpenPositionWithMetadataInstruction<TProgram, TAccountFunder, TAccountOwner, TAccountPosition, TAccountPositionMint, TAccountPositionMetadataAccount, TAccountPositionTokenAccount, TAccountWhirlpool, TAccountTokenProgram, TAccountSystemProgram, TAccountRent, TAccountAssociatedTokenProgram, TAccountMetadataProgram, TAccountMetadataUpdateAuth, TRemainingAccounts>
OpenPositionWithMetadataInstruction: IInstruction<TProgram> & IInstructionWithData< Uint8Array,> & IInstructionWithAccounts< [ TAccountFunder extends string ? WritableSignerAccount<TAccountFunder> & IAccountSignerMeta< TAccountFunder, > : TAccountFunder, TAccountOwner extends string ? ReadonlyAccount<TAccountOwner> : TAccountOwner, TAccountPosition extends string ? WritableAccount<TAccountPosition> : TAccountPosition, TAccountPositionMint extends string ? WritableSignerAccount<TAccountPositionMint> & IAccountSignerMeta< TAccountPositionMint, > : TAccountPositionMint, TAccountPositionMetadataAccount extends string ? WritableAccount<TAccountPositionMetadataAccount> : TAccountPositionMetadataAccount, TAccountPositionTokenAccount extends string ? WritableAccount<TAccountPositionTokenAccount> : TAccountPositionTokenAccount, TAccountWhirlpool extends string ? ReadonlyAccount<TAccountWhirlpool> : TAccountWhirlpool, TAccountTokenProgram extends string ? ReadonlyAccount<TAccountTokenProgram> : TAccountTokenProgram, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountRent extends string ? ReadonlyAccount<TAccountRent> : TAccountRent, TAccountAssociatedTokenProgram extends string ? ReadonlyAccount<TAccountAssociatedTokenProgram> : TAccountAssociatedTokenProgram, TAccountMetadataProgram extends string ? ReadonlyAccount<TAccountMetadataProgram> : TAccountMetadataProgram, TAccountMetadataUpdateAuth extends string ? ReadonlyAccount<TAccountMetadataUpdateAuth> : TAccountMetadataUpdateAuth, ...TRemainingAccounts, ],> Type Parameters
- TProgram extends string = typeof WHIRLPOOL_PROGRAM_ADDRESS
- TAccountFunder extends string | IAccountMeta<string> = string
- TAccountOwner extends string | IAccountMeta<string> = string
- TAccountPosition extends string | IAccountMeta<string> = string
- TAccountPositionMint extends string | IAccountMeta<string> = string
- TAccountPositionMetadataAccount extends string | IAccountMeta<string> = string
- TAccountPositionTokenAccount extends string | IAccountMeta<string> = string
- TAccountWhirlpool extends string | IAccountMeta<string> = string
- TAccountTokenProgram extends string | IAccountMeta<string> = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
- TAccountSystemProgram extends string | IAccountMeta<string> = "11111111111111111111111111111111"
- TAccountRent extends string | IAccountMeta<string> = "SysvarRent111111111111111111111111111111111"
- TAccountAssociatedTokenProgram extends string | IAccountMeta<string> = string
- TAccountMetadataProgram extends string | IAccountMeta<string> = string
- TAccountMetadataUpdateAuth extends string | IAccountMeta<string> = string
- TRemainingAccounts extends readonly IAccountMeta<string>[] = []