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
Types
type Decimal = string
type Uint128 = stringQueries
config
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