Staking contracts: ERC20 and Native IMX #919
test.yml
on: pull_request
Run Forge Tests
48s
Run Hardhat Tests
1m 16s
Run eslint
32s
Run solhint
29s
Run slither
2m 2s
Check README.md is contained in each contracts directory
2s
dependency-review
3s
Publish to NPM (dry run)
1m 16s
Annotations
5 errors and 10 warnings
|
Run solhint:
contracts/staking/WIMX.sol#L41
Use Custom Errors instead of require statements
|
|
Run solhint:
contracts/staking/WIMX.sol#L86
Use Custom Errors instead of require statements
|
|
Run solhint:
contracts/staking/WIMX.sol#L89
Use Custom Errors instead of require statements
|
|
Run solhint
Process completed with exit code 1.
|
|
Run slither
Process completed with exit code 255.
|
|
Run solhint:
contracts/staking/StakeHolderBase.sol#L7
Variable "AccessControlUpgradeable" is unused
|
|
Run solhint:
contracts/staking/StakeHolderBase.sol#L8
Variable "IAccessControlUpgradeable" is unused
|
|
Run solhint:
contracts/staking/StakeHolderBase.sol#L11
Variable "StakeHolderBase" is unused
|
|
Run solhint:
contracts/staking/StakeHolderERC20.sol#L7
Variable "IStakeHolder" is unused
|
|
Run solhint:
contracts/staking/StakeHolderNative.sol#L5
Variable "IStakeHolder" is unused
|
|
Run solhint:
contracts/staking/StakeHolderWIMX.sol#L5
Variable "IStakeHolder" is unused
|
|
Run solhint:
contracts/staking/StakeHolderWIMX.sol#L5
Variable "StakeHolderBase" is unused
|
|
Run solhint:
contracts/staking/WIMX.sol#L18
Main key parameter in mapping balanceOf is not named
|
|
Run solhint:
contracts/staking/WIMX.sol#L18
Value parameter in mapping balanceOf is not named
|
|
Run solhint:
contracts/staking/WIMX.sol#L19
Main key parameter in mapping allowance is not named
|