Address Provider

The Address Provider Contract provides the addresses of all most recent and currently used contracts of the Mars Protocol's set of Smart Contracts.

Deployments

Neutron: neutron17yehp4x7n79zq9dlw4g7xmnrvwdjjj2yecq26844sg8yu74knlxqfx5vqv

Osmosis: osmo1g677w7mfvn78eeudzwylxzlyz69fsgumqrscj6tekhdvs8fye3asufmvxr


Types

The types of the Address Provider Contract can be found here.

For reference on the Queries and Methods:

Base Types
type MarsAddressType =
  | 'incentives' 
  | 'oracle' 
  | 'red_bank' 
  | 'rewards_collector' 
  | 'params' 
  | 'credit_manager'
  | 'protocol_admin'
  | 'fee_collector'
  | 'safety_fund'
  | 'swapper'
  | 'astroport_incentives'
  | 'perps'
  | 'revenue_share'

Queries

address

Provides the address of a certain contract type.

addresses

Provides an array of addresses for provided contract types.

all_addresses

Returns all stored addresses with pagination.

config

Returns the contracts config.

Last updated