Deploy Smart Contract
This smart contract has been audited, reviewed and is ready to deploy
Creator
zzykxx
25 Deployements
Framework
Foundry
Hardhat
Scaffold
Solidity Version
V 0.8.12
Audit:
Inspect Audit
AI certainty score:
AI confidence level related to the vulnerability
40%
Swap
Critical
Dexes
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.
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.
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.
Events:
Deposit and Withdrawal events are emitted whenever funds are deposited or withdrawn, allowing external systems to monitor contract activity.
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.
Arbitrum Sepolia
Deploy audited and reviewed code.
Select your Smart Contract Chain
Total Awarded
$2500 AVAX
Top Contributors
thec00n
3 comments
16 lines of code
19/05/2024
xiaoming90
2 comments
5 lines of code
19/05/2024
clems4ever
4 comments
10 lines of code
19/05/2024