Kujira.Orca.Liquidation (kujira v0.1.80)
An individual liquidation, as seen by Orca. These can be duplicated as the liquidating market will also have something that represents the liquidation, but these may be different.
## Fields
:txhash
- The hash of the transaction the liqdation ocurred in:height
- The block height that included the transaction:timestamp
- The timestamp of the block:queue_address
- The address of the liquidation queue that processed the liquidation:market_address
- The market that requested the liquidation:collateral_amount
- The amount of collateral liquidated by the market:bid_amount
- The amount of bid_token that was consumed during the liquidation:repay_amount
- The amount of bid_token that was returned to the liquidating market:fee_amount
- The amount of the bid_token that was retained as a fee
Summary
Functions
Returns all liquidations found in a specific transaction
Types
Functions
from_tx_response(response)
@spec from_tx_response(Cosmos.Base.Abci.V1beta1.TxResponse.t()) :: [t()] | nil
Returns all liquidations found in a specific transaction