This section lists files that are in scope for the metrics report.
-
Project:
'CLI'
-
Included Files:
- ``
-
Excluded Paths:
- ``
-
File Limit:
undefined
- Exclude File list Limit:
undefined
- Exclude File list Limit:
-
Workspace Repository:
unknown
(undefined
@undefined
)
Source Units Analyzed: 1
Source Units in Scope: 1
(100%)
Type | File | Logic Contracts | Interfaces | Lines | nLines | nSLOC | Comment Lines | Complex. Score | Capabilities |
---|---|---|---|---|---|---|---|---|---|
📝 | src/oracles/VariableInterestRateOracle.sol | 1 | **** | 228 | 193 | 149 | 20 | 61 | **** |
📝 | Totals | 1 | **** | 228 | 193 | 149 | 20 | 61 | **** |
- Lines: total lines of the source unit
- nLines: normalized lines of the source unit (e.g. normalizes functions spanning multiple lines)
- nSLOC: normalized source lines of code (only source-code lines; no comments, no blank lines)
- Comment Lines: lines containing single or block comments
- Complexity Score: a custom complexity score derived from code statements that are known to introduce code complexity (branches, loops, calls, external interfaces, ...)
Source Units Excluded: 0
[➕]
| File |
| ------ |
| None |
Duplicate Source Units Excluded: 0
[➕]
| File |
| ------ |
| None |
Doppelganger Contracts: 0
[➕]
| File | Contract | Doppelganger |
| ------ | -------- | ------------ |
The analysis finished with 0
errors and 0
duplicate files.
- Comment-to-Source Ratio: On average there are
9.2
code lines per comment (lower=better). - ToDo's:
0
📝Contracts | 📚Libraries | 🔍Interfaces | 🎨Abstract |
---|---|---|---|
1 | 0 | 0 | 0 |
This section lists functions that are explicitly declared public or payable. Please note that getter methods for public stateVars are not included.
🌐Public | 💰Payable |
---|---|
4 | 0 |
External | Internal | Private | Pure | View |
---|---|---|---|---|
4 | 4 | 0 | 0 | 1 |
Total | 🌐Public |
---|---|
3 | 3 |
Solidity Versions observed | 🧪 Experimental Features | 💰 Can Receive Funds | 🖥 Uses Assembly | 💣 Has Destroyable Contracts |
---|---|---|---|---|
>=0.8.13 |
**** | **** | **** |
📤 Transfers ETH | ⚡ Low-Level Calls | 👥 DelegateCall | 🧮 Uses Hash Functions | 🔖 ECRecover | 🌀 New/Create/Create2 |
---|---|---|---|---|---|
**** | **** | **** | **** | **** | **** |
♻️ TryCatch | Σ Unchecked |
---|---|
**** | **** |
Dependency / Import Path | Count |
---|---|
@yield-protocol/utils-v2/src/access/AccessControl.sol | 1 |
@yield-protocol/utils-v2/src/utils/Cast.sol | 1 |
@yield-protocol/utils-v2/src/utils/Math.sol | 1 |
[➕]
[➕]
[➕]
Sūrya's Description Report
____
Thinking about smart contract security? We can provide training, ongoing advice, and smart contract auditing. [Contact us](https://diligence.consensys.net/contact/).
Files Description Table
File Name | SHA-1 Hash |
---|---|
src/oracles/VariableInterestRateOracle.sol | 27ddaf1448df40992acf0f85fc94a3a1c9b97b1c |
Contracts Description Table
Contract | Type | Bases | ||
---|---|---|---|---|
└ | Function Name | Visibility | Mutability | Modifiers |
VariableInterestRateOracle | Implementation | IOracle, AccessControl, Constants | ||
└ | Public ❗️ | 🛑 | NO❗️ | |
└ | setSource | External ❗️ | 🛑 | auth |
└ | updateParameters | External ❗️ | 🛑 | auth |
└ | peek | External ❗️ | NO❗️ | |
└ | get | External ❗️ | 🛑 | NO❗️ |
Legend
Symbol | Meaning |
---|---|
🛑 | Function can modify state |
💵 | Function is payable |