Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an interface to ease import into other projects #13

Open
julien-h opened this issue Jan 20, 2021 · 0 comments
Open

Create an interface to ease import into other projects #13

julien-h opened this issue Jan 20, 2021 · 0 comments

Comments

@julien-h
Copy link

julien-h commented Jan 20, 2021

Story

As a user who want to use the Chi token in my own solidity contracts, I want to be able to import the interface of the Chi token directly from Github so that I don't have to manually create it (and risk making a silly mistake).

How to fix

Create the file contracts/IChiToken.sol with the interface of the ChiToken.

EDIT: Uniswap did this and it's very convenient:

wget -nc https://raw.githubusercontent.com/Uniswap/uniswap-v2-core/master/contracts/interfaces/IUniswapV2Pair.sol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@julien-h and others