ico-wizard-audit/README.md

3.7 KiB

Oracles Network crowdsale contracts for audit

Overview

Contracts for this repo are created for the unnamed crowdsale.

Contracts are generated by ICO Wizard.

Parameters

Token

Parameters of ICO Wizard used to generate the instance of token contract for the audit.

Field Value
Token name Block Array
Token Ticker ARY
Decimals 18
Reserved tokens None

Remarks:

  • "Reserved tokens - None" no % or fixed tokens
  • For that crowdsale created tokens will not be movable after the crowdsale. They will only indicate purchased amounts of tokens. Actual tokens will be created on the right side of the bridge on Oracles Network.

Crowdsale

Parameters of ICO Wizard used to generate the instance of crowdsale for the audit.

Field Value
Tiers 1
Supply 176,722,560
Rate 4241
Allow modifying No
Disable whitelist No
Start date 1 December, 2017 9am PST
End date 15 December, 2017 3pm PST

Remarks:

  • Rate - how many tokens for 1 ETH
  • Supply - max cap of tokens. Token is mintable. Unsold tokens will not be produced.
  • "Allow modifying - No" means that rate, supply, start date, end date are not modifiable.
  • "Disable whitelist - No" means that whitelist is enable and only whitelisted accounts could participate in the crowdsale.

Source code and deployed contracts

Source code for code audit is located in /icowizard_Mainnet_0xa5F8fC0921880Cb7342368BD128eb8050442B1a1/ folder of the repository

Files structure

Files have prefixes corresponding to order of execution, e.g. a file with prefix 001_ will be deployed before a file with prefix 002_.

A .sol file contain contract code. A .txt file contain metadata

Deployed contracts

Contracts are deployed on Kovan and verified

Deployment stage

After all of the contracts are deployed next methods are executed at deployment stage:

  • setMintAgent - sets finalizeAgent contract and crowdsale contract addresses as mint agents of token contract.
  • setFinalizeAgent - sets finalizeAgent contract address as a finalize agent of the crowdsale contract.
  • setReleaseAgent - sets finalizeAgent contract address as a release agent of token contract.
  • transferOwnership - transfers ownership of token contract to the address that holds collected ether, which filled at step 2 of ICO Wizard.