MyCut

AI First Flight #8
Beginner FriendlyFoundry
EXP
View results
Submission Details
Impact: low
Likelihood: low
Invalid

L-4: Public Function Not Used Internally

L-4: Public Function Not Used Internally

If a function is marked public but is not used internally, consider marking it as external.

10 Found Instances
  • Found in src/ContestManager.sol Line: 16

    function createContest(address[] memory players, uint256[] memory rewards, IERC20 token, uint256 totalRewards)
  • Found in src/ContestManager.sol Line: 28

    function fundContest(uint256 index) public onlyOwner {
  • Found in src/ContestManager.sol Line: 40

    function getContests() public view returns (address[] memory) {
  • Found in src/ContestManager.sol Line: 44

    function getContestTotalRewards(address contest) public view returns (uint256) {
  • Found in src/ContestManager.sol Line: 48

    function getContestRemainingRewards(address contest) public view returns (uint256) {
  • Found in src/ContestManager.sol Line: 53

    function closeContest(address contest) public onlyOwner {
  • Found in src/Pot.sol Line: 37

    function claimCut() public {
  • Found in src/Pot.sol Line: 68

    function getToken() public view returns (IERC20) {
  • Found in src/Pot.sol Line: 72

    function checkCut(address player) public view returns (uint256) {
  • Found in src/Pot.sol Line: 76

    function getRemainingRewards() public view returns (uint256) {
Updates

Lead Judging Commences

ai-first-flight-judge Lead Judge 1 day ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!