Params
The Params Contract provides market, vault, and perp data. It is mandatory to whitelist and enable markets throughout the Mars Protocol ecosystem.
Deployments
Neutron: neutron1x4rgd7ry23v2n49y7xdzje0743c5tgrnqrqsvwyya2h6m48tz4jqqex06x
Osmosis: osmo1nlmdxt9ctql2jr47qd4fpgzg84cjswxyw6q99u4y4u4q6c2f5ksq7ysent
Types
The types of the Params Contract can be found here.
For reference on the Queries and Methods:
type Addr = string
type Decimal = string
type Uint128 = stringQueries
all_asset_params (outdated)
Returns all asset params.
{
all_asset_params: {
limit?: number | null
start_after?: string | null
}
}all_asset_params_v2
all_perp_params (outdated)
all_perp_params_v2
all_total_deposits_v2
all_vault_configs (outdated)
all_vault_configs_v2
asset_params
config
managed_vault_config
owner
perp_params
risk_manager
total_deposit
vault_config
Methods
Only the owner of the contract can call its methods. That's why they are not part of the documentation.
Last updated