Developer Mode Tv Icon

Deploy Smart Contract

This smart contract has been audited, reviewed and is ready to deploy

User Image

Creator

clinical_notes_whitezzykxx

25 Deployements

bars

Framework

Framework icon

Foundry

Framework icon

Hardhat

Framework icon

Scaffold

Framework icon

Solidity Version

V 0.8.12

Framework icon

Audit:

Inspect Audit

AI certainty score:

AI confidence level related to the vulnerability

60%

Swap

Critical

Dexes

priority

Private State Variables:

The balances mapping is now declared as private to prevent direct external access. Access to balances is controlled through the getBalance function.

priority

Access Control:

The onlyOwner modifier is applied to critical functions like freezeAccount and unfreezeAccount, ensuring that only the contract owner can freeze or unfreeze accounts.

priority

Freeze Mechanism:

A frozenAccount mapping is introduced to prevent frozen accounts from performing withdrawals. A notFrozen modifier is created to check if the sender's account is frozen before allowing withdrawals.

priority

Events:

Deposit and Withdrawal events are emitted whenever funds are deposited or withdrawn, allowing external systems to monitor contract activity.

priority

Validation Checks:

Additional validation checks are added to ensure that deposit amounts are greater than zero and that withdrawal amounts do not exceed the account balance.

Coin Logo

Arbitrum Sepolia

Deploy audited and reviewed code.

Select your Smart Contract Chain

coin

Total Awarded

$2500 AVAX

Deployed Code Account

Top Contributors

Contributors Image

thec00n

Review Icon

3 comments

Review Icon

16 lines of code

19/05/2024

Contributors Image

xiaoming90

Review Icon

2 comments

Review Icon

5 lines of code

19/05/2024

Contributors Image

clems4ever

Review Icon

4 comments

Review Icon

10 lines of code

19/05/2024