API Reference kujira v0.1.20
Modules
Kujira's on-chain Market Maker for FIN.
A CDP contract that integrates BOW with GHOST, allowing LP tokens to be used as collateral when borrowing the underlying tokens that make up the LP position.
An individual position in a BOW Leverage contract
A instance of the BOW LSD Market Making strategy.
A instance of the BOW Stable Market Making strategy.
A instance of the BOW XYK Market Making strategy.
Convenience methods for querying CosmWasm smart contracts on Kujira
Kujira's 100% on-chain, central limit order book style decentralized token exchange.
The aggregate of all existing orders on the book
A specific price point in the order book summary
An individual order placed on a Pair
An individual exchange pair between a base token and a quote token.
An individual trade on an individual pair. For a market swap where orders at multiple price points are consumed, the trade is aggregated across all orders at each price.
Kujira's lending platform.
A Ghoat market taked deposits of collateral_token, and allows borrowing of the vault.deposit_token, up to the maximum LTV as quoted by the oracle denoms
The current deposit and borrow totals
An item representing the collateral deposit vs debt position of a particular address for a particular market
A central vault for deposits of a specific deposit_token, which is lent to the Vault's markets, and interest earned on deposits
The current deposit and borrow totals
Stores a gRPC connection to chain core node
Utility functions for querying the on-chain oracle
Methods for querying the Orca Liquidation Queues, and related data
A bid placed by a user to buy liquidated collateral at a specific discount from the market price
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.
We define a Market, as far as Orca is concerned, in order to be able to standardise and aggregate the health of the various markets that any given liquidation queue can liquidate
A pool of bid tokens at a specific premium %, for a specific Queue
An individual Orca Liquidation Queue
Metadata for tokens on the Kujira Blockchain
Kujira's decentralized stablecoin
A contract that owns the minting rights for USK, and whitelists individual contracts for USK minting
A margin contract for USK "wraps" the basic Market contract, allowing minted USK to purchase collateral from FIN, before posting it as collateral to a regular position. It also allows a position holder to take profits by minting more USK against an appreciating collateral asset, or repaying some of the USK debt to cover a falling collateral price
A Ghoat market taked deposits of collateral_token, and allows borrowing of the vault.deposit_token, up to the maximum LTV as quoted by the oracle denoms
The current deposit and borrow totals
An item representing the collateral deposit vs debt position of a particular address for a particular market