Red Bank
The Red Bank Contract is the heart of the Mars Protocol's Money Market. It holds all assets deposited to Mars and provides the v1 market interactions through the user's wallet.
Deployments
Neutron: neutron1n97wnm7q6d2hrcna3rqlnyqw2we6k0l8uqvmyqq6gsml92epdu7quugyph
Osmosis: osmo1c3ljch9dfw5kf52nfwpxd2zmj2ese7agnx0p9tenkrryasrle5sqf3ftpg
Types
The types of the Incentives Contract can be found here.
For reference on the Queries and Methods:
type Decimal = string
type Uint128 = stringQueries
config
Returns the Contracts configuration.
config: {}
}{
data: {
address_provider: string
owner?: string | null
proposed_new_owner?: string | null
}
}market (outdated)
market_v2
markets (outdated)
markets_v2
scaled_debt_amount
scaled_liquidity_amount
underlying_debt_amount
underlying_liquidity_amount
user_collateral
user_collaterals (outdated)
user_collaterals_v2
user_debt
user_debts
user_position
user_position_liquidation_pricing
Methods
borrow
deposit
liquidate
repay
withdraw
Last updated