MChef smart contract security audit, conducted by the Callisto Network Security Department during April 2021.


MChef Smart Contract Specification


Audit Request

Source code

Disclosure policy

In case of issues provide the report privately.

Standard disclosure policy.

Platform

ETH.


MChef Smart Contract Security Audit Report

Are Your Funds Safe?

1. In scope

Contract commit c45a40dd4c470547679a8f051234e3a912245b2a

2 Findings

In total, 1 issue was reported including:

  • 0 high severity issue.

  • 0 medium severity issue.

  • 0 low severity issue.

  • 1 notes.

No critical security issues were found.

2.1 High Gas spending

Severity: note.

Description:

The function massUpdatePools() updates every existing pool. It will use many gas if will be many pools.
This function is calling from others functions: add()set() (it’s possible not update pools from them), updateRewardPerBlock()setRewardsValue()updateRewardsValue(), so Gas usage will be high i those functions too.

However, using massUpdatePools() in the functions setRewardsValue()updateRewardsValue() is not required and may be removed from them.

3. Conclusion

The audited smart contract can be deployed. The issues pointed in the previous report are fixed.

Appendix

Smart Contract Audits by Callisto Network.

Miscellaneous

Why Audit Smart Contracts?

Our Most Popular Audit Reports.


Trust the Blockchain, Audit the Smart Contracts.


Follow Callisto’s Security Department on Twitter to get our latest news and updates!