Skip to content

Commit

Permalink
fix: add natspec docs to flags of reserve configuration map (#854)
Browse files Browse the repository at this point in the history
* feat: document undocumented flags

* Update contracts/protocol/libraries/types/DataTypes.sol
  • Loading branch information
sakulstra authored Jul 4, 2023
1 parent 4210352 commit 792c23e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/protocol/libraries/types/DataTypes.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ library DataTypes {
//bit 59: stable rate borrowing enabled
//bit 60: asset is paused
//bit 61: borrowing in isolation mode is enabled
//bit 62-63: reserved
//bit 62: siloed borrowing enabled
//bit 63: flashloaning enabled
//bit 64-79: reserve factor
//bit 80-115 borrow cap in whole tokens, borrowCap == 0 => no cap
//bit 116-151 supply cap in whole tokens, supplyCap == 0 => no cap
Expand Down

0 comments on commit 792c23e

Please sign in to comment.