ethereum-org-website icon indicating copy to clipboard operation
ethereum-org-website copied to clipboard

Article: ERC20 with safety rails

Open qbzzt opened this issue 3 years ago • 1 comments

Description

In this tutorial the reader will learn how to take the OpenZeppelin ERC-20 contract and implement guard rails to prevent various mistakes people make.

  1. Sending ERC-20 to the contract itself.
  2. Sending ERC-20 to addresses what are empty
  3. Optional freezer that is allowed to freeze an account
  4. "Empty the trash" function, which allows somebody to withdraw other ERC-20 tokens sent to the contract

Related Issue

Closing: #6692

qbzzt avatar Jul 31 '22 00:07 qbzzt

Gatsby Cloud Build Report

ethereum-org-website-dev

:tada: Your build was successful! See the Deploy preview here.

Build Details

View the build logs here.

:clock1: Build time: 27m

gatsby-cloud[bot] avatar Jul 31 '22 01:07 gatsby-cloud[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
ethereum-org-website ✅ Ready (Inspect) Visit Preview Aug 29, 2022 at 5:55PM (UTC)

vercel[bot] avatar Aug 29 '22 17:08 vercel[bot]