Properties
program
program: Program<Idl>
Methods
findBidAccount
- findBidAccount(market: PublicKey, bidder: PublicKey): Promise<wrappers.DerivedAccount>
-
Parameters
-
market: PublicKey
-
bidder: PublicKey
findBidEscrowAuthorityAccount
- findBidEscrowAuthorityAccount(bid_escrow_authority: PublicKey): Promise<wrappers.DerivedAccount>
-
Parameters
-
bid_escrow_authority: PublicKey
Private
findCollateralAddress
- findCollateralAddress(reserve: PublicKey, obligation: PublicKey, wallet: PublicKey): Promise<wrappers.DerivedAccount>
-
Parameters
-
reserve: PublicKey
-
obligation: PublicKey
-
wallet: PublicKey
Private
findDepositNoteAddress
- findDepositNoteAddress(reserve: PublicKey, wallet: PublicKey): Promise<wrappers.DerivedAccount>
-
Parameters
-
reserve: PublicKey
-
wallet: PublicKey
Private
findDepositNoteMintAddress
- findDepositNoteMintAddress(reserve: PublicKey, reserveTokenMint: PublicKey): Promise<wrappers.DerivedAccount>
-
Parameters
-
reserve: PublicKey
-
reserveTokenMint: PublicKey
findDerivedAccount
- findDerivedAccount(seeds: DerivedAccountSeed[]): Promise<wrappers.DerivedAccount>
-
Parameters
-
seeds: DerivedAccountSeed[]
findEscrowAccount
- findEscrowAccount(market: PublicKey, bidder: PublicKey): Promise<wrappers.DerivedAccount>
-
Parameters
-
market: PublicKey
-
bidder: PublicKey
Private
findLoanNoteAddress
- findLoanNoteAddress(reserve: PublicKey, obligation: PublicKey, wallet: PublicKey): Promise<wrappers.DerivedAccount>
-
Parameters
-
reserve: PublicKey
-
obligation: PublicKey
-
wallet: PublicKey
Private
findLoanNoteMintAddress
- findLoanNoteMintAddress(reserve: PublicKey, reserveTokenMint: PublicKey): Promise<wrappers.DerivedAccount>
-
Parameters
-
reserve: PublicKey
-
reserveTokenMint: PublicKey
Private
findVaultAddress
- findVaultAddress(market: PublicKey, reserve: PublicKey): Promise<wrappers.DerivedAccount>
-
Parameters
-
market: PublicKey
-
reserve: PublicKey
increaseBid
- increaseBid(params: IncreaseBidParams): Promise<actions.TxResponse>
-
Parameters
-
params: IncreaseBidParams
Static
connect
- connect(provider: AnchorProvider | default, honeyPubKey: string, devnet?: boolean): Promise<LiquidatorClient>
-
Parameters
-
provider: AnchorProvider | default
-
honeyPubKey: string
-
Optional
devnet: boolean
Execute a liquidation bid.
Returns