add leverage calculation tests #55
Annotations
11 warnings
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
src/leverage/interfaces/IParaswapSellAdapter.sol#L4
imported name IPoolAddressesProvider is not used
|
src/leverage/interfaces/IParaswapSellAdapter.sol#L5
imported name IPool is not used
|
src/leverage/ParaswapSellAdapter.sol#L4
global import of path forge-std/Test.sol is not allowed. Specify names to import individually or bind all exports of the module into a name (import "path" as Name)
|
src/leverage/ParaswapSellAdapter.sol#L4
Import 'forge-std/Test.sol' in contract ParaswapSellAdapter should be declared as import {contract_to_import} from 'forge-std/Test.sol';
|
src/leverage/ParaswapSellAdapter.sol#L14
imported name ISAFEEngine is not used
|
src/leverage/ParaswapSellAdapter.sol#L134
Return value 'bool' in function 'executeOperation' must be named
|
src/leverage/ParaswapSellAdapter.sol#L135
'asset' should start with _
|
src/leverage/ParaswapSellAdapter.sol#L136
'amount' should start with _
|
src/leverage/ParaswapSellAdapter.sol#L137
'premium' should start with _
|
src/leverage/ParaswapSellAdapter.sol#L138
'initiator' should start with _
|
This job succeeded
Loading