Home

Awesome

ERC20Helper

CircleCI License: AGPL v3

DISCLAIMER: Please do not use in production without taking the appropriate steps to ensure maximum security.

WARNING: Unlike other similar libraries, this library does NOT REVERT ON FAILURES. Any contracts that inherit this code that expect the reversion to occur in this contract can have UNINTENDED AND POTENTIALLY CATASTROPHIC CONSEQUENCES.

Overview

ERC20Helper is a basic library designed to be used as a middleware between general smart contracts and diverse ERC-20 tokens. It standardizes the behaviours of all commonly used implementations.

The decision to intentionally not revert was so that this library can be more flexible for contracts that:

Setup

This project was built using dapptools.

git clone git@github.com:maple-labs/erc20-helper.git
cd erc20-helper
dapp update

Running Tests

Audit Reports

AuditorReport link
Trail of BitsToB - Dec 28, 2021
Code 4renaC4 - Jan 5, 2022
Trail of BitsToB Report - April 12, 2022
Code 4renaC4 Report - April 20, 2022

Bug Bounty

For all information related to the ongoing bug bounty for these contracts run by Immunefi, please visit this site.

Acknowledgements

These contracts were inspired by and/or directly modified from the following sources:


<p align="center"> <img src="https://user-images.githubusercontent.com/44272939/196706799-fe96d294-f700-41e7-a65f-2d754d0a6eac.gif" height="100" /> </p>