GithubHelp home page GithubHelp logo

report_gen's People

Contributors

astean1001 avatar

Watchers

 avatar

report_gen's Issues

Issue should be more than two

report_gen/test.sol

Lines 19 to 23 in a6bcae5

function add(uint a, uint b) internal pure returns (uint) {
uint c = a + b;
require(c >= a);
return c;
}

Details

xxx.xxx is a function to claim all xxx. xxxx should pay rewards only for goals that have been xxx, but due to missing parentheses, rewards are paid xxxx of whether goals are xxxx or paid.

  • bullet
  • bullet

testing

  • another bullet
  • another bullet

Mitigation

It is recommended to mitigate the issue by adding parentheses to the if statement as shown below.

report_gen/test.sol

Lines 27 to 31 in a6bcae5

function min64(uint64 a, uint64 b) internal pure returns (uint64) {
return a < b ? a : b;
}
function max256(uint256 a, uint256 b) internal pure returns (uint256) {
return a >= b ? a : b;

Update

The XXXX Team resolved the issue by modifying the code as suggested in the report.


사용자가 어쩌고 할 수 있습니다.

상세내용

글쎼올시다

권고사항

어쩌구저쩌구

function a() public {}

test.sol#L27-L31(업데이트)

이거랑

function b() public {}

test.sol#L27-L31(업데이트)

User can xxx more than deserved rewards by invoking XXX.XXX

report_gen/test.sol

Lines 19 to 23 in a6bcae5

function add(uint a, uint b) internal pure returns (uint) {
uint c = a + b;
require(c >= a);
return c;
}

Details

xxx.xxx is a function to claim all xxx. xxxx should pay rewards only for goals that have been xxx, but due to missing parentheses, rewards are paid xxxx of whether goals are xxxx or paid.

  • bullet
  • bullet

Mitigation

It is recommended to mitigate the issue by adding parentheses to the if statement as shown below.

report_gen/test.sol

Lines 27 to 31 in a6bcae5

function min64(uint64 a, uint64 b) internal pure returns (uint64) {
return a < b ? a : b;
}
function max256(uint256 a, uint256 b) internal pure returns (uint256) {
return a >= b ? a : b;

Update

The XXXX Team resolved the issue by modifying the code as suggested in the report.


사용자가 어쩌고 할 수 있습니다.

상세내용

글쎼올시다

권고사항

어쩌구저쩌구

function a() public {}

test.sol#L27-L31(업데이트)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.