Skip to content

marsfoundation/erc20-helpers

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ERC20 Helpers

Foundry CI Foundry License: AGPL v3

Overview

ERC20Helpers is a repo with utilities for interacting with ERC20 tokens.

  • SafeERC20 is a library that standardizes the behaviors of all commonly used implementations. It contains overridden functions so that both addresses and IERC20 interfaces can be used.
  • MockERC20 is a contract that can be used in testing for a fully functional ERC20 token that has mint functionality.
  • IERC20 is an interface for interacting with ERC20 tokens that contains permit functionality.

Setup

git clone [email protected]:marsfoundation/erc20-helpers.git
cd erc20-helpers
forge install

Testing

To run the tests, do the following:

forge test

Acknowledgements

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


The IP in this repository was assigned to Mars SPC Limited in respect of the MarsOne SP

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Solidity 100.0%