fix formatting

This commit is contained in:
Roman Storm 2017-11-09 22:01:55 -08:00
parent 3cb2c81868
commit f89f37f504
1 changed files with 13 additions and 10 deletions

View File

@ -8,16 +8,19 @@ To use:
1. Flat [contracts/PresaleOracles.sol](contracts/PresaleOracles.sol) by using [oracles-combine-solidity](github.com/oraclesorg/oracles-combine-solidity/commits/master)
2. Deploy [flat file](flat/PresaleOracles_flat.sol)
3. Call `initialize` with following params:
-startTime in unix format
-endTime in unix format
-cap in wei format
-vault (eth address where funds will be collected)
Example:
"1510291574","1610291574","100000000000000000000","0x0039f22efb07a647557c7c5d17854cfd6d489ef3"
startTime: Friday, November 10, 2017 5:26:14 AM
endTime: Sunday, January 10, 2021 3:12:54 PM
cap: 100 eth
vault: 0x0039f22efb07a647557c7c5d17854cfd6d489ef3
-startTime in unix format
-endTime in unix format
-cap in wei format
-vault (eth address where funds will be collected)
Example:
```
"1510291574","1610291574","100000000000000000000","0x0039f22efb07a647557c7c5d17854cfd6d489ef3"
```
startTime: `Friday, November 10, 2017 5:26:14 AM `
endTime: `Sunday, January 10, 2021 3:12:54 PM `
cap: `100 eth `
vault: `0x0039f22efb07a647557c7c5d17854cfd6d489ef3`
4. Whitelist investors by calling `whitelistInvestors` with array of addresses. Example:
["0x62D9FB3358B4b83dB0280Eacc6a0fA5C6dDc7B4d","0xc15Ac3555FD6d6b569B9762D5289A3cc31325B1b"]
5. Let whitelisted investors send money to contract's address