feat: angle-core project #1
ci.yml
on: push
test-unit
0s
test-invariant
0s
test-fuzz
0s
coverage
0s
slither-analyze
0s
Annotations
10 errors and 12 warnings
lint:
contracts/dao/ANGLE.sol#L8
Line length must be no more than 120 but current length is 123
|
lint:
contracts/interfaces/IAgToken.sol#L16
Replace ⏎········uint256·amount,⏎········address·burner,⏎········address·sender⏎···· with uint256·amount,·address·burner,·address·sender
|
lint:
contracts/interfaces/IBondingCurve.sol#L14
Replace ⏎········IAgToken·_agToken,⏎········uint256·targetSoldTokenQuantity,⏎········uint256·maxAmountToPayInAgToken⏎···· with IAgToken·_agToken,·uint256·targetSoldTokenQuantity,·uint256·maxAmountToPayInAgToken
|
lint:
contracts/interfaces/ICollateralSettler.sol#L9
Replace ⏎········uint256·_oracleValue,⏎········uint256·_sanRate,⏎········uint256·_stocksUsers⏎···· with uint256·_oracleValue,·uint256·_sanRate,·uint256·_stocksUsers
|
lint:
contracts/interfaces/IERC721.sol#L12
Replace ⏎········address·from,⏎········address·to,⏎········uint256·tokenId⏎···· with address·from,·address·to,·uint256·tokenId
|
lint:
contracts/interfaces/IERC721.sol#L18
Replace ⏎········address·from,⏎········address·to,⏎········uint256·tokenId⏎···· with address·from,·address·to,·uint256·tokenId
|
lint:
contracts/interfaces/IERC721.sol#L32
Replace ⏎········address·from,⏎········address·to,⏎········uint256·tokenId,⏎········bytes·calldata·data⏎···· with address·from,·address·to,·uint256·tokenId,·bytes·calldata·data
|
|
lint:
contracts/interfaces/IFeeManager.sol#L19
Replace ⏎········address[]·memory·governorList,⏎········address·guardian,⏎········address·_perpetualManager⏎···· with address[]·memory·governorList,·address·guardian,·address·_perpetualManager
|
lint:
contracts/interfaces/IFeeManager.sol#L25
Replace ⏎········uint256[]·memory·xArray,⏎········uint64[]·memory·yArray,⏎········uint8·typeChange⏎···· with uint256[]·memory·xArray,·uint64[]·memory·yArray,·uint8·typeChange
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint:
contracts/dao/ANGLE.sol#L31
Use Custom Errors instead of require statements
|
lint:
contracts/dao/ANGLE.sol#L41
Use Custom Errors instead of require statements
|
lint:
contracts/dao/ANGLE.sol#L42
Use Custom Errors instead of require statements
|
lint:
contracts/dao/ANGLE.sol#L51
Use Custom Errors instead of require statements
|
lint:
contracts/dao/ANGLE.sol#L52
Use Custom Errors instead of require statements
|
lint:
contracts/dao/ANGLE.sol#L53
Use Custom Errors instead of require statements
|
lint:
contracts/interfaces/IERC721.sol#L3
Found more than One contract per file. 2 contracts found!
|
lint:
contracts/interfaces/IFeeDistributor.sol#L3
Found more than One contract per file. 2 contracts found!
|
lint:
contracts/interfaces/IFeeManager.sol#L3
Found more than One contract per file. 2 contracts found!
|
lint:
contracts/interfaces/IPerpetualManager.sol#L3
Found more than One contract per file. 4 contracts found!
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/save@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|