Skip to content

Staking contracts: ERC20 and Native IMX #915

Staking contracts: ERC20 and Native IMX

Staking contracts: ERC20 and Native IMX #915

Triggered via pull request April 29, 2025 01:17
Status Failure
Total duration 1m 53s
Artifacts

test.yml

on: pull_request
Run Forge Tests
44s
Run Forge Tests
Run Hardhat Tests
1m 13s
Run Hardhat Tests
Run eslint
30s
Run eslint
Run solhint
38s
Run solhint
Run slither
1m 44s
Run slither
Check README.md is contained in each contracts directory
2s
Check README.md is contained in each contracts directory
dependency-review
6s
dependency-review
Publish to NPM (dry run)
1m 24s
Publish to NPM (dry run)
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 10 warnings
Run solhint: contracts/staking/StakeHolderNative.sol#L28
Replace rtual·view with ew·virtual
Run solhint: contracts/staking/StakeHolderWIMX.sol#L43
Replace override·view with view·override
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/StakeHolderBase.sol#L113
Avoid making time-based decisions in your business logic
Run solhint: contracts/staking/StakeHolderBase.sol#L196
Avoid making time-based decisions in your business logic
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