[VEN-1462]: Risk Fund and XVS Converter #167
Annotations
13 warnings
export-deployments
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint:
deploy/1-deploy.ts#L6
Unexpected any. Specify a different type
|
Lint:
tests/ProtocolReserve/ProtocolShareReserve.ts#L234
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
Lint:
contracts/Interfaces/IRiskFund.sol#L2
Found more than One contract per file. 2 contracts found!
|
Lint:
contracts/ProtocolReserve/ProtocolShareReserve.sol#L54
Immutable variables name are set to be in capitalized SNAKE_CASE
|
Lint:
contracts/ProtocolReserve/RiskFundStorage.sol#L2
Found more than One contract per file. 4 contracts found!
|
Lint:
contracts/ProtocolReserve/RiskFundV2.sol#L12
imported name EXP_SCALE is not used
|
Lint:
contracts/Test/Mocks/MockConverter.sol#L14
Function name must be in mixedCase
|
Lint:
contracts/Test/Mocks/MockDeflationaryToken.sol#L21
Avoid to use inline assembly. It is acceptable only in rare cases
|
Lint:
contracts/Test/Mocks/MockDeflationaryToken.sol#L67
Use Custom Errors instead of require statements
|
Lint:
contracts/Test/Mocks/MockDeflationaryToken.sol#L76
Use Custom Errors instead of require statements
|
Docgen
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|