-
Notifications
You must be signed in to change notification settings - Fork 215
Change rate
If the tier in the crowdsale campaign, created by ICO Wizard, is updatable, you are able to change the rate of it.
-
Open MetaMask Chrome plugin
-
Connect to the network, where the crowdsale contract is deployed. For example
mainnet
. -
Choose an account, which is the owner of crowdsale. This account should has sufficient balance at this network too.
-
Send transaction to the address of the pricingStrategy contract with the data =
0x69ea1771
+hex(one_token_in_wei)
.
where hex(one_token_in_wei)
- hexademical representation of 1 token price in wei, normalized to 32 bytes (required number of zeros before hex). For example, you need to set rate = 1000
(1000 tokens per 1 ETH). Then price for 1 token = is 10^15 wei = 1000000000000000
. Hex from it will be 38d7ea4c68000
, and normalized to bytes32: 00000000000000000000000000000000000000000000000000038d7ea4c68000
.
For example, if you need to set rate = 1000
, the data should be: 0x69ea177100000000000000000000000000000000000000000000000000038d7ea4c68000
. Amount to send should be 0.
- 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