Skip to content

TMP: Token #5

@Evert0x

Description

@Evert0x

TMP-5: ERC20 for pool


tmp: 5
title: Pool ERC20
author: Evert Kors (@Evert0x)
discussions-to: #5
status: Draft
type: Module
created: 2021/01/19
requires (*optional):
replaces (*optional):


Simple Summary

Include an ERC20 token in the pool.

Abstract

The following standard allows to people to add a single token to their pool.

Motivation

...

Specification

Interface

interface IToken {
    event TokenUpdated(address old, address current);

    function addToken(address _token) external;

    function getToken() external view returns(address);
}

Storage

IERC20 token;

Rationale

Backwards Compatibility

Reference Implementation

https://github.com/Evert0x/Token

Security Considerations

Copyright

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions