buttonwood-protocol / button-wrappers

Solidity code for the ButtonToken rebasing wrapper protocol
GNU General Public License v3.0
13 stars 10 forks source link

Feat: Adding button token factory #39

Closed DRC9702 closed 3 years ago

DRC9702 commented 3 years ago

Changes:

Tests

  194 passing (3m)
---------------------------|----------|----------|----------|----------|----------------|
File                       |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |
---------------------------|----------|----------|----------|----------|----------------|
 contracts/                |    84.62 |    83.33 |    86.67 |    84.94 |                |
  ButtonToken.sol          |    76.87 |    84.62 |    82.22 |    77.63 |... 403,404,405 |
  ButtonTokenFactory.sol   |      100 |      100 |      100 |      100 |                |
  UnbuttonToken.sol        |    96.61 |       75 |    90.91 |    96.61 |        189,194 |
  UnbuttonTokenFactory.sol |      100 |      100 |      100 |      100 |                |
 contracts/interfaces/     |      100 |      100 |      100 |      100 |                |
  IButtonToken.sol         |      100 |      100 |      100 |      100 |                |
  IButtonWrapper.sol       |      100 |      100 |      100 |      100 |                |
  IChainlinkAggregator.sol |      100 |      100 |      100 |      100 |                |
  IFactory.sol             |      100 |      100 |      100 |      100 |                |
  IOracle.sol              |      100 |      100 |      100 |      100 |                |
  IRebasingERC20.sol       |      100 |      100 |      100 |      100 |                |
  IUnbuttonToken.sol       |      100 |      100 |      100 |      100 |                |
 contracts/oracles/        |      100 |      100 |      100 |      100 |                |
  ChainlinkOracle.sol      |      100 |      100 |      100 |      100 |                |
 contracts/utilities/      |    71.43 |       25 |       80 |    71.43 |                |
  InstanceRegistry.sol     |    71.43 |       25 |       80 |    71.43 |          53,54 |
---------------------------|----------|----------|----------|----------|----------------|
All files                  |    84.55 |    76.47 |    86.59 |    84.86 |                |
---------------------------|----------|----------|----------|----------|----------------|

Reviewers:

@marktoda @aalavandhan