compound-protocol icon indicating copy to clipboard operation
compound-protocol copied to clipboard

The Compound On-Chain Protocol

Results 81 compound-protocol issues
Sort by recently updated
recently updated
newest added

https://github.com/compound-finance/compound-protocol/blob/a3214f67b73310d547e00fc578e8355911c9d376/contracts/DAIInterestRateModelV3.sol#L17 The average number of second between each block used here is 15, while since the Merge, the it is now stable at 12 seconds. This means that the supply...

https://github.com/compound-finance/compound-protocol/blob/a3214f67b73310d547e00fc578e8355911c9d376/contracts/Timelock.sol#L28 Not sure if this is a duplicate but the error here should be "constructor", not "setDelay".

If a state variable is read immediately after assignment, then replacing this read directly with the previously assigned local variable will change one SLOAD to one MLOAD to save some...

fix comment,because jumpMultiplierPerYear actually scaled by BASE.

# [Codecov](https://codecov.io/gh/compound-finance/compound-protocol/pull/48?src=pr&el=h1) Report > Merging [#48](https://codecov.io/gh/compound-finance/compound-protocol/pull/48?src=pr&el=desc) into [master](https://codecov.io/gh/compound-finance/compound-protocol/commit/f0b3fbbad4a51f128c899f0cb5c9070ae5339a47&el=desc) will **decrease** coverage by `1.74%`. > The diff coverage is `48.43%`. [![Impacted file tree graph](https://codecov.io/gh/compound-finance/compound-protocol/pull/48/graphs/tree.svg?width=650&height=150&src=pr&token=q4UvsvVzOX)](https://codecov.io/gh/compound-finance/compound-protocol/pull/48?src=pr&el=tree) ```diff @@ Coverage Diff @@ ## master...

Unable to install either via Docker or yarn/npm i. with yarn: ![image](https://user-images.githubusercontent.com/44052255/195630328-dad6c16f-8e6b-40b9-96f8-7b24c46c5f26.png) with Docker: ![image](https://user-images.githubusercontent.com/44052255/195630518-73957f97-3aa1-4890-ad15-ff4a269b5d24.png)

This patch resolves a broken patch to a version that allows node14+ to run correctly for tests, etc.

I came across this problem while playing around with the new governance contracts. Here's what I did Setup the governance contracts (Comp, GovernorBravoDelegate, GovernorBravoDelegator, Timelock) 1. Send eth to timelock...