feat: couple of view methods to get nominees info #558
Annotations
2 errors and 15 warnings
|
Upload coverage to Codecov
The operation was canceled.
|
Run solhint:
contracts/DeploymentFactory.sol#L4
global import of path @openzeppelin/contracts/utils/Create2.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Run solhint:
contracts/DeploymentFactory.sol#L5
global import of path ./OLAS.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Run solhint:
contracts/DeploymentFactory.sol#L6
global import of path ./veOLAS.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Run solhint:
contracts/OLAS.sol#L4
global import of path ../lib/solmate/src/tokens/ERC20.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Run solhint:
contracts/OLAS.sol#L28
Immutable variables name are set to be in capitalized SNAKE_CASE
|
Run solhint:
contracts/Timelock.sol#L4
global import of path @openzeppelin/contracts/governance/TimelockController.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Run solhint:
contracts/VoteWeighting.sol#L85
Immutable variables name are set to be in capitalized SNAKE_CASE
|
Run solhint:
contracts/buOLAS.sol#L4
global import of path @openzeppelin/contracts/token/ERC20/IERC20.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Run solhint:
contracts/buOLAS.sol#L5
global import of path @openzeppelin/contracts/utils/introspection/IERC165.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Run solhint:
contracts/buOLAS.sol#L6
global import of path ./interfaces/IErrors.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
Run ESLint:
test/Deployment.js#L38
'deploymentAddress' is defined but never used
|
Run ESLint:
test/Deployment.js#L43
'deploymentAddress' is defined but never used
|
Run ESLint:
test/Deployment.js#L43
'olasAddress' is defined but never used
|
Run ESLint:
test/VoteWeighting.js#L22
'maxU256' is assigned a value but never used
|
Run ESLint:
test/VoteWeighting.js#L32
'convertBytes32ToAddress' is defined but never used
|
Loading