Liquidity Check
Calculates total Osmosis liquidity for its list of assets
Liquidity = # of assets in the pool
Stableswaps get a multiplier to factor in LP efficiency. This allows the contract to follow use liquidity totals to account for efficiency, resulting in a debt caps inline with liquidity strength.
InstantiateMsg
Key | Type | Description |
---|---|---|
| String | Contract owner, defaults to info.sender |
| String | Osmosis Proxy contract address |
| String | Positions contract address |
* = optional
ExecuteMsg
AddAsset
AddAsset
Add asset and its query info to contract state
Key | Type | Description |
---|---|---|
| LiquidityInfo | Info needed to save to state and query liquidity for the asset |
EditAsset
EditAsset
Replaces existing LiquidityInfo for an asset
Key | Type | Description |
---|---|---|
| LiquidityInfo | Info needed to save to state and query liquidity for the asset |
RemoveAsset
Remove asset from state
Key | Type | Description |
---|---|---|
| AssetInfo | Asset information |
UpdateConfig
UpdateConfig
Update contract configuration
| String | Contract owner |
| String | Osmosis Proxy contract address |
| String | Positions contract address |
| Decimal | Efficiency multiplier for stableswap pools |
* = optional
QueryMsg
Config
Config
Returns contract configuration
Assets
Assets
Returns asset(s) available to query liquidity for
Key | Type | Description |
---|---|---|
| AssetInfo | Specific asset to query, returns list of 1 |
| u64 | Response limit |
| AssetInfo | Start after asset for response list |
* = optional
Liquidity
Liquidity
Returns Osmosis liquidity for an asset
Key | Type | Description |
---|---|---|
| AssetInfo | Asset info |
Last updated