Giter Club home page Giter Club logo

legolastoken's Introduction

LegolasToken

ERC20 contract for Legolas Token.

Based on https://github.com/ConsenSys/Tokens/tree/master/contracts/eip20

Features added to standard ERC20

Lock-Up

The LGO Tokens attributed to the founders, advisors of the ICO will be blocked in the following conditions so that they will not be in a position to use or exchange their LGO Tokens just following the end of the ICO.

Founders: blocked 1 year, then released the second year, 1/12 per month. Advisors: progressively released during 1 year, 1/12 per month.

LGO 2-Year Holding Bonus

Every 6 months during 2 years (4 times), 5% of additional LGO Tokens will be distributed, proportionally, to the LGO Holders whose tokens were issued in the ICO and that have not moved their tokens (including already received bonus tokens) from the initial address.

Test coverage

Prepare environment:

  1. Download and install Ganache (GUI version strictly)
  2. Install truffle npm install truffle -g
  3. Run Ganache
  4. Clone this repo and npm install

Usage

Important! Please run tests separately. Like

truffle test --network ganache test/distributeHolderBonus.test.js

This is because a lot of test cases included business logic tightly connected with time in future. We can increase time in blockchain by evm_increaseTime, but cannot decrease. So please restart Ganache before test running (until the run test script is ready).

legolastoken's People

Contributors

ouziel avatar ouziel-slama avatar snicks1 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.