← All repos

weird-erc20

weird erc20 tokens

Browse cluster: Cosmos blockchain and smart contract languages
72commits
19contributors
4languages

Tech stack & purpose

Weird ERC20 is a Solidity repository containing minimal example implementations of non-standard ERC20 tokens based on real tokens that have been exploited in the wild. The project addresses the problem domain of smart contract security, demonstrating how the loosely-defined ERC20 specification allows token implementations to violate expected behavior in ways that can compromise systems integrating with them. The repository serves as an educational and defensive resource for developers and auditors building smart contracts that interact with external ERC20 tokens, covering over twenty categories of unusual token behaviors including reentrancy, missing return values, transfer fees, pausability, blocklists, and metadata encoding anomalies.

Languages

Solidity
83.0%
Nix
16.6%
Makefile
0.4%
Shell
0.1%

Contributors