Skip to content

Add sketch of TACoRewardsDispenser contract #1276

Add sketch of TACoRewardsDispenser contract

Add sketch of TACoRewardsDispenser contract #1276

Triggered via pull request September 19, 2024 10:13
Status Failure
Total duration 49m 12s
Artifacts

main.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 10 warnings
linting: contracts/contracts/TACoRewardsDispenser.sol#L15
Replace IERC20·_token,·IProxy·_claimableRewards,·IApplication·_tacoApplication,·uint256·_rewardsAPY with ⏎········IERC20·_token,⏎········IProxy·_claimableRewards,⏎········IApplication·_tacoApplication,⏎········uint256·_rewardsAPY⏎····
linting: contracts/contracts/TACoRewardsDispenser.sol#L26
Provide an error message for require
linting: contracts/contracts/TACoRewardsDispenser.sol#L32
Replace authorizedOverall·*·rewardsAPY·*·rewardCycleDuration·/·ONE_YEAR·/ with (authorizedOverall·*·rewardsAPY·*·rewardCycleDuration)·/⏎············ONE_YEAR·/⏎···········
linting
Process completed with exit code 1.
tests
The hosted runner: GitHub Actions 52 lost communication with the server. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
linting: contracts/contracts/Adjudicator.sol#L31
Function order is incorrect, state variable declaration can not go after event definition (line 25)
linting: contracts/contracts/Adjudicator.sol#L37
Main key parameter in mapping penaltyHistory is not named
linting: contracts/contracts/Adjudicator.sol#L37
Value parameter in mapping penaltyHistory is not named
linting: contracts/contracts/Adjudicator.sol#L38
Main key parameter in mapping evaluatedCFrags is not named
linting: contracts/contracts/Adjudicator.sol#L38
Value parameter in mapping evaluatedCFrags is not named
linting: contracts/contracts/Adjudicator.sol#L53
GC: Use Custom Errors instead of require statements
linting: contracts/contracts/Adjudicator.sol#L90
GC: Use Custom Errors instead of require statements
linting: contracts/contracts/Adjudicator.sol#L102
GC: Use Custom Errors instead of require statements
linting: contracts/contracts/Adjudicator.sol#L106
GC: Use Custom Errors instead of require statements
linting: contracts/contracts/Adjudicator.sol#L114
GC: Use Custom Errors instead of require statements