InfractionCollector Contract #1142
Annotations
3 errors and 10 warnings
Solidity Lint:
contracts/contracts/coordination/InfractionCollector.sol#L10
Replace uint32·indexed·ritualId,·address·indexed·stakingProvider,·InfractionType·infractionType with ⏎········uint32·indexed·ritualId,⏎········address·indexed·stakingProvider,⏎········InfractionType·infractionType⏎····
|
Solidity Lint:
contracts/contracts/coordination/InfractionCollector.sol#L61
Replace ritualId,·stakingProviders[i],·InfractionType.MISSING_TRANSCRIPT with ⏎····················ritualId,⏎····················stakingProviders[i],⏎····················InfractionType.MISSING_TRANSCRIPT⏎················
|
Solidity Lint
Process completed with exit code 1.
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L31
Function order is incorrect, state variable declaration can not go after event definition (line 25)
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L37
Main key parameter in mapping penaltyHistory is not named
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L37
Value parameter in mapping penaltyHistory is not named
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L38
Main key parameter in mapping evaluatedCFrags is not named
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L38
Value parameter in mapping evaluatedCFrags is not named
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L53
Use Custom Errors instead of require statements
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L90
Use Custom Errors instead of require statements
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L102
Use Custom Errors instead of require statements
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L106
Use Custom Errors instead of require statements
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L114
Use Custom Errors instead of require statements
|
Loading