fix: changed require to assert and cleaned comments #19
Annotations
10 errors and 11 warnings
ci:
contracts/EncryptedDEXPair.sol#L89
Line length must be no more than 120 but current length is 143
|
ci:
contracts/EncryptedDEXPair.sol#L141
Line length must be no more than 120 but current length is 139
|
ci:
contracts/EncryptedDEXPair.sol#L142
Line length must be no more than 120 but current length is 139
|
ci:
contracts/EncryptedDEXPair.sol#L143
Line length must be no more than 120 but current length is 136
|
ci:
contracts/EncryptedDEXPair.sol#L176
Line length must be no more than 120 but current length is 133
|
ci:
contracts/EncryptedDEXPair.sol#L177
Line length must be no more than 120 but current length is 133
|
ci:
contracts/EncryptedDEXPair.sol#L193
Line length must be no more than 120 but current length is 164
|
ci:
contracts/EncryptedDEXPair.sol#L283
Line length must be no more than 120 but current length is 148
|
ci:
contracts/EncryptedDEXPair.sol#L297
Line length must be no more than 120 but current length is 144
|
ci:
contracts/EncryptedDEXPair.sol#L298
Line length must be no more than 120 but current length is 160
|
ci
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
ci:
contracts/EncryptedDEXFactory.sol#L5
global import of path ./EncryptedDEXPair.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
ci:
contracts/EncryptedDEXFactory.sol#L8
Main key parameter in mapping getPair is not named
|
ci:
contracts/EncryptedDEXFactory.sol#L19
Error message for require is too long: 33 counted / 32 allowed
|
ci:
contracts/EncryptedDEXFactory.sol#L19
Use Custom Errors instead of require statements
|
ci:
contracts/EncryptedDEXFactory.sol#L21
Use Custom Errors instead of require statements
|
ci:
contracts/EncryptedDEXFactory.sol#L22
Use Custom Errors instead of require statements
|
ci:
contracts/EncryptedDEXPair.sol#L5
global import of path ./EncryptedERC20.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
ci:
contracts/EncryptedDEXPair.sol#L7
Contract has 27 states declarations but allowed no more than 15
|
ci:
contracts/EncryptedDEXPair.sol#L16
Variable name must be in mixedCase
|
ci:
contracts/EncryptedDEXPair.sol#L58
Use Custom Errors instead of require statements
|