fix formatting
This commit is contained in:
parent
3cb2c81868
commit
f89f37f504
23
README.md
23
README.md
|
@ -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)
|
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)
|
2. Deploy [flat file](flat/PresaleOracles_flat.sol)
|
||||||
3. Call `initialize` with following params:
|
3. Call `initialize` with following params:
|
||||||
-startTime in unix format
|
-startTime in unix format
|
||||||
-endTime in unix format
|
-endTime in unix format
|
||||||
-cap in wei format
|
-cap in wei format
|
||||||
-vault (eth address where funds will be collected)
|
-vault (eth address where funds will be collected)
|
||||||
Example:
|
|
||||||
"1510291574","1610291574","100000000000000000000","0x0039f22efb07a647557c7c5d17854cfd6d489ef3"
|
Example:
|
||||||
startTime: Friday, November 10, 2017 5:26:14 AM
|
```
|
||||||
endTime: Sunday, January 10, 2021 3:12:54 PM
|
"1510291574","1610291574","100000000000000000000","0x0039f22efb07a647557c7c5d17854cfd6d489ef3"
|
||||||
cap: 100 eth
|
```
|
||||||
vault: 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:
|
4. Whitelist investors by calling `whitelistInvestors` with array of addresses. Example:
|
||||||
["0x62D9FB3358B4b83dB0280Eacc6a0fA5C6dDc7B4d","0xc15Ac3555FD6d6b569B9762D5289A3cc31325B1b"]
|
["0x62D9FB3358B4b83dB0280Eacc6a0fA5C6dDc7B4d","0xc15Ac3555FD6d6b569B9762D5289A3cc31325B1b"]
|
||||||
5. Let whitelisted investors send money to contract's address
|
5. Let whitelisted investors send money to contract's address
|
||||||
|
|
Loading…
Reference in New Issue