Skip to content

updateRewards

updateRewards #34

Triggered via push June 17, 2024 12:39
Status Success
Total duration 28s
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
Error message for require is too long: 36 counted / 32 allowed
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#L74
Value parameter in mapping keyperStakes is not named