Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All transactions immediately from step 3 #192

Merged
merged 5 commits into from
Sep 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,18 +160,18 @@ Contract: CrowdsaleTokenExt

## How to verify ICO Wizard contracts in Etherscan

**Important!:** All information required for verification of ICO Wizard contracts located in a text file. You must download it on the Step 4 of ICO Wizard. There is *no* way to get it later and you'll need to repeat wizard for the new set of conracts to get the file.
**Important!:** All information required for verification of ICO Wizard contracts located in a text file. You must download it on the Step 4 of ICO Wizard. There is **no** way to get it later and you'll need to repeat wizard for the new set of conracts to get the file.

### Crowdsale contract verification:

1. Open Etherscan verification link. For example, for the Kovan chain: [https://kovan.etherscan.io/verifyContract](https://kovan.etherscan.io/verifyContract).
2. Fill the form inputs with the data from the file. The mapping is the following:

2.1. **Contract address** is *Crowdsale contract address*.
2.1. **Contract address** is *Crowdsale contract address for [Tier name]*.

2.2. **Contract Name** is *Crowdsale contract name*. Default value: `MintedTokenCappedCrowdsaleExt`

2.3. **Compiler** is *Compiler Version*. Default valueis 0.4.11. You should choose a value with `commit` message inside. For example, *Compiler Version* value will be: `v0.4.11+commit.68ef5810`
2.3. **Compiler** is *Compiler Version*. Default value is 0.4.11. You should choose a value with `commit` message inside. For example, *Compiler Version* value will be: `v0.4.11+commit.68ef5810`

2.4. **Optimization** is *Is optimization enabled?*. Default value: `true`

Expand All @@ -181,25 +181,23 @@ Contract: CrowdsaleTokenExt

3. For **Contract Library Address (For contracts that use libraries, supports up to 5 libraries)** By default we use only one library.

**Library_1 Name** type `:` and then the value of *SafeMatlLib library name* header from the file. Default value: `:SafeMathLibExt`.
**Library_1 Name** type `:` and then the value of *SafeMathlLib library name* header from the file. Default value: `:SafeMathLibExt`.

**Library Contract Address:** is the value of *SafeMatlLib library address* header form the file. Fro example: `0xe9ae538ffea453eae179e45a787ca76db619d40d`.
**Library Contract Address:** is the value of *SafeMathlLib library address* header from the file. For example: `0xe9ae538ffea453eae179e45a787ca76db619d40d`.

4. Then click **Verify and publish** button.

You can find an example of a verified crowdsale contract [here](https://kovan.etherscan.io/address/0xd973cd4c34a0d6fbb5286d0f53f36347a6bef60f#code).

You can verify other contracts:
- `SafeMathLibExt`. Unique.
- `MintedTokenCappedCrowdsaleExt`. The crowdsale contract for a tier. One crowdsale may have multiple tiers. By default there is one tier.
- `CrowdsaleTokenExt`. The token contract. Unique.
- `FlatPricingExt`. The pricing strategy contract. Each tier has one pricing strategy contract.
- `NullFinalizeAgentExt`. The finalize agent contract for every tier that is not the last. If you have n tiers. There will be n-1 `NullFinalizeAgentExt` contract.
- `ReservedTokensFinalizeAgent`. The finalize agent contract of the last tier. Unique. Only last finalize agent is used to finalize the crowdsale for all tiers.
- `SafeMathLibExt`. Unique. The example of verified [SafeMathLibExt is here](https://kovan.etherscan.io/address/0x58cfad3f53a86ebeaab117a5436aaf948d4be3cb#code).
- `MintedTokenCappedCrowdsaleExt`. The crowdsale contract for a tier. One crowdsale may have multiple tiers. By default there is one tier. The example of verified [MintedTokenCappedCrowdsaleExt is here](https://kovan.etherscan.io/address/0x1c1e2efd273210ba642b07db36580d4b45550968#code).
- `CrowdsaleTokenExt`. The token contract. Unique. The example of verified [CrowdsaleTokenExt is here](https://kovan.etherscan.io/address/0xd791d3bcafb29014b37956105315f15e2481b331#code).
- `FlatPricingExt`. The pricing strategy contract. Each tier has one pricing strategy contract. The example of verified [FlatPricingExt is here](https://kovan.etherscan.io/address/0x47832db4fc8b296acec4b5bc008b42797b9bf702#code).
- `NullFinalizeAgentExt`. The finalize agent contract for every tier that is not the last. If you have n tiers, there will be n-1 `NullFinalizeAgentExt` contract. Thus, it is used only with multiple tiers crowdsale. The example of verified [NullFinalizeAgentExt is here](https://kovan.etherscan.io/address/0x4706E44874361A3288E2233e8FB4b30369cC3e4b#code).
- `ReservedTokensFinalizeAgent`. The finalize agent contract of the last tier. Unique. Only last finalize agent is used to finalize the crowdsale for all tiers. The example of verified [ReservedTokensFinalizeAgent is here](https://kovan.etherscan.io/address/0x032b4c44f1729eb0ccc673682463e3f4763aaade#code).

Therefore, for a simple crowdsale contract with one tier you should verify 5 contracts. For a crowdsale with n-tiers you should verify 3n+2 contracts on Etherscan.

You can find values to verify each contract in the downloaded file. For steps **2.1**, **2.2**, **2.5**, **2.6** values will be different. Other value are the same for the same crowdsale.
You can find values to verify each contract in the downloaded file. For steps **2.1**, **2.2**, **2.5**, **2.6** values will be different. Other values are the same for the same crowdsale.

## Projects built on ICO Wizard

Expand Down
2 changes: 1 addition & 1 deletion src/components/invest.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export class Invest extends React.Component {
<p className="balance-title">{investorBalance} {tokenTicker}</p>
<p className="balance-description">Balance</p>
<p className="description">
Your balance in tokens. Please
Your balance in tokens.
</p>
</div>
<form className="invest-form">
Expand Down
Loading