Skip to content

natspec for initializer and addRewardToken #17

natspec for initializer and addRewardToken

natspec for initializer and addRewardToken #17

Triggered via push June 12, 2024 13:58
Status Success
Total duration 38s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 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/Staking.sol#L43
Value parameter in mapping userStakes is not named
lint: src/Staking.sol#L45
Value parameter in mapping balances is not named
lint: src/Staking.sol#L111
Error message for require is too long: 46 counted / 32 allowed
lint: src/Staking.sol#L130
Error message for require is too long: 50 counted / 32 allowed
lint: src/Staking.sol#L207
Possible reentrancy vulnerabilities. Avoid state changes after transfer