feat: oracles with firewalls on mint and burn #408
Annotations
10 errors and 11 warnings
Run solhint:
contracts/transmuter/facets/Getters.sol#L52
Replace address·collateral) with ⏎········address·collateral
|
Run solhint:
contracts/transmuter/facets/Getters.sol#L53
Replace ········external⏎········view⏎········returns·(uint64[]·memory·xFeeMint,·int64[]·memory·yFeeMint)⏎··· with ····)·external·view·returns·(uint64[]·memory·xFeeMint,·int64[]·memory·yFeeMint)
|
Run solhint:
contracts/transmuter/facets/Getters.sol#L62
Replace address·collateral) with ⏎········address·collateral
|
Run solhint:
contracts/transmuter/facets/Getters.sol#L63
Replace ········external⏎········view⏎········returns·(uint64[]·memory·xFeeBurn,·int64[]·memory·yFeeBurn)⏎··· with ····)·external·view·returns·(uint64[]·memory·xFeeBurn,·int64[]·memory·yFeeBurn)
|
Run solhint:
contracts/transmuter/facets/Getters.sol#L95
Replace address·collateral) with ⏎········address·collateral
|
Run solhint:
contracts/transmuter/facets/Getters.sol#L96
Replace ········external⏎········view⏎········returns·(uint256·stablecoinsFromCollateral,·uint256·stablecoinsIssued)⏎··· with ····)·external·view·returns·(uint256·stablecoinsFromCollateral,·uint256·stablecoinsIssued)
|
Run solhint:
contracts/transmuter/facets/Getters.sol#L115
Replace ⏎········external⏎········view⏎········returns·(⏎············bool,⏎············IERC20[]·memory,⏎············bytes·memory⏎········)⏎··· with ·external·view·returns·(bool,·IERC20[]·memory,·bytes·memory)
|
Run solhint:
contracts/transmuter/facets/Getters.sol#L134
Replace address·collateral) with ⏎········address·collateral
|
Run solhint:
contracts/transmuter/facets/Getters.sol#L135
Replace ····external⏎········view⏎········returns·(⏎············uint256·mint,⏎············uint256·burn,⏎············uint256·ratio,⏎············uint256·minRatio,⏎············uint256·redemption⏎········)⏎··· with )·external·view·returns·(uint256·mint,·uint256·burn,·uint256·ratio,·uint256·minRatio,·uint256·redemption)
|
Run solhint:
contracts/transmuter/facets/Getters.sol#L152
Replace address·collateral with ⏎········address·collateral⏎····
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run solhint:
contracts/helpers/Rebalancer.sol#L6
imported name IERC20Metadata is not used
|
Run solhint:
contracts/interfaces/ISetters.sol#L3
Found more than One contract per file. 2 contracts found!
|
Run solhint:
contracts/savings/BaseSavings.sol#L42
imported name IAgToken is not used
|
Run solhint:
contracts/savings/BaseSavings.sol#L44
imported name IAccessControlManager is not used
|
Run solhint:
contracts/transmuter/configs/FakeGnosis.sol#L31
Variable name must be in mixedCase
|
Run solhint:
contracts/transmuter/configs/Production.sol#L16
Variable name must be in mixedCase
|
Run solhint:
contracts/transmuter/configs/Production.sol#L19
Use Custom Errors instead of require statements
|
Run solhint:
contracts/transmuter/configs/Production.sol#L20
Use Custom Errors instead of require statements
|
Run solhint:
contracts/transmuter/configs/ProductionTypes.sol#L7
imported name LibDiamondEtherscan is not used
|
Run solhint:
contracts/transmuter/configs/ProductionTypes.sol#L9
imported name LibSetters is not used
|
Loading