Logo:
Name: Wrapped Minu
Ticker Symbol: WMINU
Network: Pulsechain
Contract Address: 0x8Ce726d39819Afe6b75c30da3c435842aDa5Be00
Purpose: Introducing wMinu on PulseChain: a revolutionary audited and renounced smart contract. Engage in arb trading between Minu and wMinu, while simultaneously burning the circulating supply and gaining a profit.
Project URL: https://www.minupls.com/how-to-arb
Project social media: Twitter, Telegram
Contract Source Code: Link
Audit(s): NIL

REVIEWED BY: CapBurningWater

Contract Name: WrappedMinu
Review Date: 10/12/2023

Contract Purpose and Scope:

The contract facilitates the wrapping and unwrapping of Minu tokens to/from Wrapped Minu tokens, implementing a burn fee during transfers.

Dependencies:
ERC20.sol
Ownable.sol

Security Considerations:

  1. Reentrancy: No visible reentrancy vulnerabilities due to the absence of external calls before state changes.
  2. Access Control: Owner has exclusive access to functions altering burn percentage and fee exclusion/inclusion.
  3. Data Validation: Basic validation present for transfer, wrap, and unwrap functions, ensuring valid token amounts.
  4. Gas Limitations: No explicit gas limitations or gas optimization techniques are implemented.
  5. External Calls: External calls to minu contract are used with standard ERC20 functions and appear secure.
  6. State Changes: Proper state changes with checks before state modifications, reducing risks of unauthorized changes.
  7. Error Handling: Basic error handling present in transfer functions.
  8. Delegatecall and Call: No usage of delegatecall, reducing potential security risks.
  9. Events and Logs: Events emitted appropriately to capture token transfers and ownership changes.

Code Review:

  1. Code Quality: Overall code structure is clear with one smaller problem detected (see below).
  2. Logic Flow: Logical flow seems coherent and follows expected token transfer standards.
  3. Modularity: Code is decently modular, although some further abstraction could enhance readability.

Function-Specific Review Issues:

_calculateTax: This function works as expected if the value of the amount is greater than 100000, otherwise, because integer division in Solidity truncates the fractional part, the tax value will be affected.

Upgradability:

The contract doesn’t include any upgradability mechanisms like proxy patterns or upgradeable contracts.

Conclusion:

The contract seems relatively secure for basic functionality, but keep in mind the possible problem if the amount is lower than 1000000.

Recommendations:

  1. Enhance gas efficiency by optimizing loops and redundant operations.
  2. Consider implementing upgradeability features for future contract upgrades.

B9.xyz IS NOT OPTIMIZED TO BE VIEWED USING THE CURRENT RESOLUTION. IF YOU ARE USING A MOBILE PHONE, PLEASE ROTATE AND USE LANDSCAPE MODE.

Scroll to Top