Compound: The Money Market Protocol Version 0
Download
184.19 Kb.
View original pdf
Page
15/16
Date
09.11.2021
Size
184.19 Kb.
#57663
1
...
8
9
10
11
12
13
14
15
16
Compound.Whitepaper
3.6
Comptroller
The Compound protocol does not support specific
tokens by default instead
, markets must be whitelisted. This is accomplished
with an admin function
, supportMarket(address market,
address interest rate model)
that allows users to begin interacting with the asset.
In order to borrow an asset
, there must be a valid price from the Price Oracle in order
to use an asset as collateral
, there must be a valid price and a collateralFactor. Each function call is validated
through a policy layer
,
referred to as the
Comptroller
; this contract validates
collateral and liquidity
, before allowing a user action to proceed.
7
Compound Whitepaper - Google Docs https://docs.google.com/document/d/1KoXEEYg4YAaPacS4dudPuFZwgAX0Swv9Yi7-iE4C5JU/edit#
8/8
Download
184.19 Kb.
Share with your friends:
1
...
8
9
10
11
12
13
14
15
16
The database is protected by copyright ©ininet.org 2024
send message
Main page
time value