Osmosis Proxy
Proxy to Osmosis SDK module functions. Enforces max supplies for tokens created by Membrane. Calculates the liquidity multiplier for Positions contracts.
InstantiateMsg
ExecuteMsg
CreateDenom
CreateDenom
Create native asset denom using Osmosis' tokenfactory
Key | Type | Description |
---|---|---|
| String | Subdenom for native asset |
| Uint128 | Token max supply enforced by the contract |
* = optional
ChangeAdmin
ChangeAdmin
Change Admin for owned tokenfactory denom
Key | Type | Description |
---|---|---|
| String | Owned denom to edit |
| String | Admin address to migrate ownership to |
MintTokens
MintTokens
Mint tokens for owned token denoms
Key | Type | Description |
---|---|---|
| String | Token denom to mint |
| Uint128 | Amount to mint |
| String | Address to mint tokens to |
BurnTokens
BurnTokens
Burn tokens from a denom owned by the contract
Key | Type | Description |
---|---|---|
| String | Token denom to burn |
| Uint128 | Amount to mint |
| String | Address to burn tokens from |
CreateOsmosisGauge
CreateOsmosisGauge
Create an incentive gauge for an Osmosis pool
Key | Type | Description |
---|---|---|
| MsgCreateGauge | CreateGauge message from osmosis-std |
EditTokenMaxSupply
EditTokenMaxSupply
Edit contract enforced token max supply
Key | Type | Description |
---|---|---|
| String | Denom's max to edit |
| Uint128 | New max supply |
UpdateConfig
UpdateConfig
Update the contract configuration
Key | Type | Descripiton |
---|---|---|
| Owner | New contract owner |
| bool | Add or remove new owner |
| Decimal | Debt Token liquidity multiplier to create mint limits |
| String | Debt Auction address |
| String | Positions Contract address |
| String | Liquidity Contract address |
| String | Oracle contract address |
* = optional
EditOwner
EditOwner
Edit restrictions for a contract owner
Key | Type | Description |
---|---|---|
| String | Owner in to edit |
| Decimal | Allocate SP cap space to an Owner's debt cap |
| bool | Toggle authority for non-token executables |
* = optional
QueryMsg
Config
Config
Returns the contract configuration
GetOwner
GetOwner
Return Owner parameters
Key | Type | Description |
---|---|---|
| String | Owner to query |
GetDenom
GetDenom
Returns full denom of the tokenfactory token representing the subdenom
Key | Type | Description |
---|---|---|
| String | Admin address of token denom |
| String | Token subdenom |
GetContractDenoms
GetContractDenoms
Returns list of denoms saved in state
Key | Type | Description |
---|---|---|
| u32 | Object limit |
* = optional
PoolState
PoolState
Returns a list all tokens traded on it with current liquidity (spot) for a given pool ID. As well as the total number of LP shares and their denom.
Key | Type | Description |
---|---|---|
| u64 | Pool identifier |
GetTokenInfo
GetTokenInfo
Returns current supply and max supply for token denoms created with the contract
Key | Type | Description |
---|---|---|
| String | Token denom |
Last updated