Type Alias LockPositionInput<TAccountFunder, TAccountPositionAuthority, TAccountPosition, TAccountPositionMint, TAccountPositionTokenAccount, TAccountLockConfig, TAccountWhirlpool, TAccountToken2022Program, TAccountSystemProgram>

LockPositionInput: {
    funder: TransactionSigner<TAccountFunder>;
    lockConfig: Address<TAccountLockConfig>;
    lockType: LockPositionInstructionDataArgs["lockType"];
    position: Address<TAccountPosition>;
    positionAuthority: TransactionSigner<TAccountPositionAuthority>;
    positionMint: Address<TAccountPositionMint>;
    positionTokenAccount: Address<TAccountPositionTokenAccount>;
    systemProgram?: Address<TAccountSystemProgram>;
    token2022Program: Address<TAccountToken2022Program>;
    whirlpool: Address<TAccountWhirlpool>;
}

Type Parameters

  • TAccountFunder extends string = string
  • TAccountPositionAuthority extends string = string
  • TAccountPosition extends string = string
  • TAccountPositionMint extends string = string
  • TAccountPositionTokenAccount extends string = string
  • TAccountLockConfig extends string = string
  • TAccountWhirlpool extends string = string
  • TAccountToken2022Program extends string = string
  • TAccountSystemProgram extends string = string

Type declaration