Skip to content

Simplify

Simplify #38

Triggered via push June 19, 2024 22:48
Status Success
Total duration 41s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
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: src/RewardsDistributor.sol#L4
imported name ERC20 is not used
lint: src/RewardsDistributor.sol#L7
imported name SafeTransferLib is not used
lint: src/RewardsDistributor.sol#L79
GC: Use Custom Errors instead of require statements
lint: src/RewardsDistributor.sol#L80
GC: Use Custom Errors instead of require statements
lint: src/Staking.sol#L4
imported name console is not used
lint: src/Staking.sol#L6
imported name ERC20 is not used
lint: src/Staking.sol#L10
imported name SafeTransferLib is not used
lint: src/Staking.sol#L49
Explicitly mark visibility of state
lint: src/Staking.sol#L73
Value parameter in mapping keyperStakes is not named
lint: src/Staking.sol#L107
GC: Use Custom Errors instead of require statements