-
Notifications
You must be signed in to change notification settings - Fork 215
Token Wizard Verifying Contracts
Important!: All information required for verification of Token Wizard contracts are located in a zip file. You must download it on Step 4 of Token Wizard. There is no way to get it later and you'll need to repeat wizard for the new set of contracts to get the file.
Video from Stephen how to verify smart contracts created by Token Wizard:
Sorry! The Compiled ByteCode for 'ContractName' does NOT match the Contract Creation Code for 'ContractAddress'.
Unable to Verify Contract Source Code.
If this is happening to you while trying to verify your contracts, please follow the video below to use the bytecode stored on the blockchain.
Below is an example of the .zip file contents downloaded in Step 4
There are two files for each Contract in the ZIP file that has been submitted to the network you were connected to at the time.
-
File ending with .sol is the "Solidity Contract Code" file, select all contents and paste in corresponding field on Etherscan.
-
The .txt file contains the "Contract Address", "Contract Name", and the "Constructor Arguments ABI-encoded" needed to fill the rest of the fields while verifying.
-
You also need the SafeMathLibExt Library_1 Name: field filled in with the correct Contract Address from your zip file. The only contract that doesn't need the Library Name is "SafeMathLibExt" itself, the rest will need the Math operations this contract provides.
See below for screenshots of an example contract submission for each.
Please note that these contract names MAY be different if you have additional features added, such as whitelist enabled, reserved tokens or multiple tiers. Always verify with your own files.
Default Contract Name: SafeMathLibExt
Default Contract Name: CrowdsaleTokenExt
Default Contract Name: FlatPricingExt
Default Contract Name: MintedTokenCappedCrowdsaleExt
Default Contract Name: ReservedTokensFinalizeAgent
These contracts were made from the most basic crowdsale option available from Token Wizard. It has a single tier, no whitelist, no reserved tokens and non modifiable.
- Introduction
- Demo
- Requirements
- Strategy
- How to run
- Using POA Networks
- Deployment Time & Gas
- Verifying Smart-Contracts
- Possible Tx Failures
- Token Wizard Projects
- Notable Contributors
- Support
- Disclaimer
- FAQ
- Change Start & End Times
- Change max cap for tier
- Change rate
- Distribute reserved tokens
- Finalize crowdsale