CIFD

Off-Chain (Private)
Audited on 2024/12/02
No active critical issues

Summary

CIFD contract defines a custom token called CIFDToken, which inherits from OpenZeppelin's ERC20 and Ownable contracts. The main purpose appears to be a token distribution with time-locked releases to different wallets. Vault contract implements a simple time-lock mechanism for deposits and withdrawals. It has two main functions: deposit and withdraw. • unlockTime: The timestamp when funds can be withdrawn. • owner: The address of the owner who can initiate withdrawals. • Two events: Deposit and Withdrawal, emitted when funds are added or removed. Functions • deposit(): Allows anyone to send ETH to the contract, emitting a Deposit event. • withdraw(): Can only be called by the owner after the unlockTime has passed. It transfers all funds to the owner and emits a Withdrawal event.

Issues (6)

Low
Medium
High
Critical
Total
Not fixed
-3--3
Fixed
1-2-3
Total13206

Contracts (5)

#File Name
1

contracts/CIFDToken.sol

2

contracts/DeterministicDeployFactory.sol

3

Vault.sol

4

contracts/Vault.sol

5

CFIDToken.sol