Skip to content

Erc20 Multi Implementation for learning solidity basics and security

Notifications You must be signed in to change notification settings

jerrychan807/cool-erc20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cool-erc20

Erc20 Multi Implementation for learning solidity basics and security

9BBD0F36-83EE-45DE-BA59-9FD38CCC6078


Normal

Folder escription Difficulty Link
burnable 发生代币转移时燃烧通缩(4%),税收(1%)留在合约里可提取 代码 文章
four_way 区分Buy、Sell、AddLiquidity、RemoveLiquidity四种行为 ⭐⭐ 代码 文章
simplest 最少代码的 代码

HoneyPot

Folder escription Difficulty Link
prevent_sale 阻止代币销售 xx
pauseable 可暂停交易 代码 文章
not_sell_all 不能出售所有代币 xx
cooldown 在某个时间/区块内无法交易 xx
anti_whale 限制用户单笔买卖数量 xx
modified_tax 税费可修改 xx
blacklist 黑名单无法交易 代码 文章
whitelist 白名单可交易 代码 文章

Backdoor

Folder escription Difficulty Link
proxy 代理 ⭐⭐⭐ xx
mint mint功能,再铸币 xx
retrieve_ownership 重新获得所有权 ⭐⭐ xx
modified_balance 管理员可修改用户余额 xx

Advanced

Folder escription Difficulty Link
multi_level_dividend 推荐,营销,按级数分红 ⭐⭐⭐ xx
snapshot 具有快照功能,可查询之前的用户余额和供应量 ⭐⭐⭐ 代码 文章
xxx 自动添加流动性 xx xx
xx xx xx xx

About

Erc20 Multi Implementation for learning solidity basics and security

Resources

Stars

Watchers

Forks