weird-tokens

Community

Handle non-standard ERC20 tokens.

AuthorApegurus
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the complexities and potential pitfalls of integrating with ERC20 tokens that deviate from the standard interface or introduce non-standard behaviors, preventing silent failures and exploits.

Core Features & Use Cases

  • Identify Non-Standard Behaviors: Detects issues like missing return values, fee-on-transfer mechanisms, rebasing, pausing, and blocklisting.
  • Mitigation Strategies: Provides clear guidance on how to safely interact with these tokens, such as using SafeERC20, measuring actual received amounts, avoiding balance caching, and implementing emergency withdrawal paths.
  • Use Case: When integrating a new DeFi protocol, use this Skill to ensure that all token interactions are robust against common ERC20 quirks, preventing loss of funds due to unexpected token behavior.

Quick Start

Analyze the provided token contract for any non-standard ERC20 behaviors and suggest safe integration patterns.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: weird-tokens
Download link: https://github.com/Apegurus/solidity-argus/archive/main.zip#weird-tokens

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.