Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Create an interface to ease import into other projects #13

@julien-h2

Description

@julien-h2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions