From f30d5baf8ed3fa965e374f537a73fa18c361ea4d Mon Sep 17 00:00:00 2001 From: Hadrien Charlanes Date: Tue, 25 May 2021 13:37:24 +0200 Subject: [PATCH] doc: updated docs for supply & borrow caps, 48 -> 36 bits --- contracts/protocol/libraries/types/DataTypes.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/protocol/libraries/types/DataTypes.sol b/contracts/protocol/libraries/types/DataTypes.sol index 419efe59..5c620eaa 100644 --- a/contracts/protocol/libraries/types/DataTypes.sol +++ b/contracts/protocol/libraries/types/DataTypes.sol @@ -38,8 +38,8 @@ library DataTypes { //bit 59: stable rate borrowing enabled //bit 60-63: reserved //bit 64-79: reserve factor - //bit 80-127 borrow cap - //bit 128-175 borrow cap + //bit 80-115 borrow cap, borrowCap == 0 => disabled + //bit 116-152 supply cap, supplyCap == 0 => disabled uint256 data; }