Erc20 Multi Implementation for learning solidity basics and security
Folder | escription | Difficulty | Link |
---|---|---|---|
burnable | 发生代币转移时燃烧通缩(4%),税收(1%)留在合约里可提取 | ⭐ | 代码 文章 |
four_way | 区分Buy、Sell、AddLiquidity、RemoveLiquidity四种行为 | ⭐⭐ | 代码 文章 |
simplest | 最少代码的 | ⭐ | 代码 |
Folder | escription | Difficulty | Link |
---|---|---|---|
prevent_sale | 阻止代币销售 | ⭐ | xx |
pauseable | 可暂停交易 | ⭐ | 代码 文章 |
not_sell_all | 不能出售所有代币 | ⭐ | xx |
cooldown | 在某个时间/区块内无法交易 | ⭐ | xx |
anti_whale | 限制用户单笔买卖数量 | ⭐ | xx |
modified_tax | 税费可修改 | ⭐ | xx |
blacklist | 黑名单无法交易 | ⭐ | 代码 文章 |
whitelist | 白名单可交易 | ⭐ | 代码 文章 |
Folder | escription | Difficulty | Link |
---|---|---|---|
proxy | 代理 | ⭐⭐⭐ | xx |
mint | mint功能,再铸币 | ⭐ | xx |
retrieve_ownership | 重新获得所有权 | ⭐⭐ | xx |
modified_balance | 管理员可修改用户余额 | ⭐ | xx |
Folder | escription | Difficulty | Link |
---|---|---|---|
multi_level_dividend | 推荐,营销,按级数分红 | ⭐⭐⭐ | xx |
snapshot | 具有快照功能,可查询之前的用户余额和供应量 | ⭐⭐⭐ | 代码 文章 |
xxx | 自动添加流动性 | xx | xx |
xx | xx | xx | xx |