Skip to content

Latest commit

 

History

History
93 lines (82 loc) · 4.04 KB

README.md

File metadata and controls

93 lines (82 loc) · 4.04 KB

INNOU Token Initial CrowdSale

Smart contracts

Specification

TOKEN-NAME INNOU ("INNOU.IO Token")
TOKEN-STANDARD ERC-20 Token on Ethereum Blockchain
TOKEN-TYPE Minted Token
BEGIN 7. June 2019, 0:00 UTC
END 18. July 2019, 23:59 UTC
PRICE 1 INNOU = 0.0001 ETH, 1 ETH = 10,000 INNOU
SOFT-CAP 2,000 ETH = 20,000,000 INNOU [(1)]
HARD-CAP There is no maximum of funds which may be raised.
ISSUER’S SHARE 15% [(2)]

(1) Soft-cap:
If less than 2,000 ETH will be invested until the END, all Ethereum will be sent back to the addresses where they came from.
ERC-20 Tokens will be issued after the Soft-cap has been reached. The issuer may withdraw all ETH from this moment.
(2) Issuer's share:
For every 100 Tokens which will be issued to investors, the issuer gets additional 15 tokens.

Detailed Rules

  • Until the the Sale period has not ended
    • Until the Soft-Cap is reached

      Incoming ethers are frozen
      Token are not minted yet

    • After the soft-cap is reached
      (both for purchases made before the soft-cap was reached and for new purchases)

      Tokens get minted to investors and they can transfer tokens
      Ethers sent to the owner

  • After the sale period has ended
    • No new purchases available
    • If the soft-cap has not been reached

      Investors may claim their ethers back
      No tokens get minted

Transaction Flow

  • Before the openingTime
    • the deployer deploys InnCrowdsaleReady contract on the network
    • optional: the deployer calls InnToken.transferOwnership(newOwner)
  • On the openingTime and till the closingTime
    • buyers (investors) may send ethers to the contract
      (they may call InnCrowdsale.buyTokens(beneficiary) as well)
  • As soon as the goal (the soft-cap) has been reached
    • deployer calls once InnCrowdsale.finalize()
      (anyone can call it as well)
    • for every investor address the deployer calls withdrawTokens(investor)
      (anyone can call it as well)
  • If the closingTime comes but the soft-cap has not been reached
    • deployer calls once finalize()
      (anyone can call it as well)
    • for every buyer deployer calls InnCrowdsale.claimRefund(buyer)
      (anyone can call it as well)

How To Use

Run automated tests

# Run all tests
npm run test

# Run a group of tests
npm run ./test/*.e2e.js

# Run a particular test
npm run ./test/InnouCrowdsale.entireCampaignAndUpgrade.e2e.js

Build contacts

npm run build

Deploy contracts

docker build --no-cache --tag innou/deployer .
docker run --name inn-deploy --rm -p 127.0.0.1:8087:8087/tcp innou/deployer

Then navigate your browser to http://localhost:8087
You'll need MetaMask to select the network (eg. Mainnet or Ropsten) and pay the GAS required for the contract creation.

A minimum of 8 GB memory will be required for proper results