The Solidity contract for “CATCHCOIN” implements the ERC20 standard.Here’s a breakdown of its key features and functionalities: ERC20 Implementation: The contract implements the ERC20 interface with standard functions such as totalSupply, balanceOf, transfer, allowance, approve, and transferFrom. Ownable: The contract includes an Ownable implementation, allowing the owner to perform certain privileged actions such as transferring ownership and renouncing ownership. Uniswap Integration: The contract integrates with Uniswap V2 by defining interfaces for the Uniswap V2 Factory and Router contracts. It provides functions for creating a pair, adding liquidity, and swapping tokens. Fee Mechanism: The contract includes a fee mechanism where fees are charged on transfers. There are different types of fees such as reflection fee, liquidity fee, coin operation fee, and burn fee. The fees are calculated based on the transferred amount. Exclusion Mechanism: The contract allows certain addresses to be excluded from fees or from reflection rewards. Trading Restrictions: There are conditions set for trading, such as enabling trading only after a certain time and enabling trading only for certain addresses. Automatic Liquidity: The contract automatically adds liquidity to the Uniswap pool on each transaction if certain conditions are met. Reflection: The contract implements a reflection mechanism where holders receive rewards based on the amount of tokens they hold. Airdrop Functionality: There’s a function to perform airdrops to multiple addresses. Modifiers and Events: Modifiers like onlyOwner and lockTheSwap are used to restrict access to certain functions. Events are emitted for important contract actions. Overall, this contract facilitates token transfers, fees collection, liquidity provision, and rewards distribution while integrating with the Uniswap decentralized exchange for liquidity management.
Low | Medium | High | Critical | Total | |
|---|---|---|---|---|---|
Not fixed | 3 | - | - | - | 3 |
Fixed | - | - | - | - | 0 |
| Total | 3 | 0 | 0 | 0 | 3 |
| # | File Name |
|---|---|
| 1 | catchcoin.sol |