funds-distribution-token

0.1.2 • Public • Published

Funds Distribution Token (FDT)

Build Status npm version

DRAFT IMPLEMENTATION. NOT AUDITED. DO NOT USE FOR TOKENS WITH REAL VALUE AT THIS TIME

This repository contains a reference implementation of a token using the proposed Funds Distribution Standard, written in solidity.

The Funds Distribution Standard is an extension to the ERC20 token standard that adds the functionality to represent claims on any type of crypto cash flow. It will be submitted as an Ethereum Improvement Proposal (EIP)

Features

  • Scales to large numbers of transfers and large numbers of token holders
  • An FDT contract can be instantiated to distribute funds either in Ether or in an Ethereum based token (e.g. ERC20, ERC777, etc.)
  • FD-Tokens can be minted or burned

Usage

#TODO

Architecture

  • FDT base contract:
    • implements ERC20 standard interface
    • contains methods for calculating distributions according to the amount of FDTs a user owns
  • FDT extension contracts:
    • contains methods for depositing and withdrawing funds in Ether or according to a token standard
    • provide compatibility for current and future token standards such as ERC20, ERC223, ERC777 and ERC1400

EIP draft and further details

The interface and the EIP's draft can be found here.

Attribution

The idea for this implementation goes back to work originally done by @Georgi87, @ethers, @miladmostavi and @popra and was used in the Tokit SingularDTVFund contracts. It was also inspired by PoWH3D. Foundational work was done by @arachnid and @BokkyPooBah.

Readme

Keywords

none

Package Sidebar

Install

npm i funds-distribution-token

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

269 kB

Total Files

32

Last publish

Collaborators

  • jo-es