Skip to content

Pause Guardian by Market

Compare
Choose a tag to compare
@jflatow jflatow released this 31 Mar 22:57
· 51 commits to master since this release
afbe8a4

This patch adds the pause by market functionality to Comptroller, giving finer-grained control to the pause guardian. Mint and borrow may now be paused for individual markets, instead of globally for all markets at once. A new event type is emitted by the Comptroller to indicate when an action is paused in a market.

This patch also includes a new 'lens' contract, which is designed to cut down on bandwidth from off-chain clients to web3 providers, for accessing data from the Compound markets.