CompoundModule
WETH
deposit
function deposit() external payablewithdraw
function withdraw(uint256) externalCompoundModule
ErrorOnRedeem
event ErrorOnRedeem(bytes32 olKeyHash, uint256 offerId, uint256 amount, uint256 errorCode)ErrorOnMint
event ErrorOnMint(bytes32 olKeyHash, uint256 offerId, uint256 amount, uint256 errorCode)ComptrollerError
event ComptrollerError(address comp, uint256 errorCode)overlyings
mapping(contract IERC20 => contract IcERC20) overlyingscomptroller
oracle
weth
constructor
isCeth
underlying
_approveLender
_enterMarkets
_exitMarket
_claimComp
isPooled
Heap
struct to circumvent stack too deep error in maxGettableUnderlying function
maxGettableUnderlying
Computes maximal maximal redeem capacity (R) and max borrow capacity (B|R) after R has been redeemed returns (R, B|R)