This includes any wallet not using a smart-contract to store your balance. So far we've tested this with Geth, Solidity, and MyEtherWallet. For any other wallet type, please either verify if it's using a smart-contract to handle your transactions/balance, OR to play it sade, use the "Execute a function" instructions below, and execute the "contribute" function to participate.
(do NOT use this method to send from a multi-sig contract, or any other contract based wallet. It will fail to work because of gas stipend limits.)
It is important to include a minimum of 85,000 Gas with the transaction
- Send Ether to the ICO contract address in the amount you would like to contribute.
ICO Contract Address:
0xeaAf270436a0ed397ED23BBF64DF7b1DCAfF142F
- Remember to include at least 85,000 gas with the transaction. Some wallets (such as Parity) should automatically detect the correct amount. But others may detect the default (such as 21,000) and if you send without increasing this, the tx will fail!
- You will be awarded balance based on your contribution, and can continue to send additional transactions in the future.
- At any time you can check your balance, using the steps below
- At ICO completion, you execute the “payMe” function on the contract, which will either return your ETH to you in full, in the event the ICO was unsuccessful, or send your new FAME tokens to the same address you used to send in your contribution.
If you are using a contract, or a multi-sig wallet, or any other contract based wallet, you must instead execute the “contribute” function on the contract, sending along with it the amount of ETH you wish to contribute. Otherwise all of the above steps still apply.
Note If you are executing any function which returns a value of "Tokens" it will return the "raw" number of FAME tokens, which must be divided by 1,000,000,000,000 in order to get the "Actual" number of FAME tokens.
eg: 43,750,000,000,000 = 43.75 FAME
- Access the Parity Web UI
- If you don't have a "Contracts" tab, go to the "Settings" tab, and check the box to enable it.
- Go to the Contracts Tab
- Click the +Watch Button
- Choose “Custom Contract” and click Next
- Paste the following address into the “network address” field:
0xeaAf270436a0ed397ED23BBF64DF7b1DCAfF142F
- Type in “BattleDromeICO” In the “contract name” field
- Type a description such as "BattleDrome ICO Contract" in the description field
- Paste the ABI code from the section below into the ABI field. (note you can select it easily in chrome by tripleclicking in the text field with the ABI below)
- Click the "add contract" button
- Now the contract will appear in your list of saved contracts. You can click on it to view all of the functions which can be read or queried without requiring a transaction, such as the "isStarted", "isComplete", "isSuccessful", or "checkTokBalance" or "checkEthBalance" functions.
- If you wish to execute a function requiring a transaction such as "contribute" or "payMe" you will need to click on the "Execute" button near the top of the page.
- Then click the address you wish to execute the function from
- And choose the function you wish to execute from the dropdown list
- Access your myEtherWallet account (note if you don't have a wallet, follow this tutorial to create a wallet: https://myetherwallet.groovehq.com/knowledge_base/topics/how-do-i-create-a-new-wallet )
- Once you have accessed your wallet, you can navigate to the "Contracts" tab
- You should now be able to select the "BattleDrome ICO/Crowdsale" contract from the "Select Existing Contract" dropdown.
- Note that it's address should be:
0xeaAf270436a0ed397ED23BBF64DF7b1DCAfF142F
- Click the "Access" button. This will then pop up below a "Read/Write Contract" section, with a "Select a Function" dropdown.
- You can now select the function you wish to access using the dropdown, and it will either show you the value of the query (for example if you check isStarted, it will return "True" or "False") or it will present you with a "Write" button.
- Click the "Write" button, and it will prompt you any variables to provide, and an amount of ether to send. So for example if you are calling "Contribute" you can send in Ether this way to contribute to the ICO.
- If you wish to check the balance of a contributor, choose checkEthBalance function, and provide the address you want to check.
Note: MyEtherWallet now has native support for the BattleDrome ICO and FAME Token. When you go to the Contracts page on step 2 above, you can now select the BattleDrome ICO from the dropdown instead of all the copying and pasting!
Coming Soon!
Variable/Function | Purpose |
---|---|
ratio |
The number of FAME tokens issued per ETH |
minimumPurchase |
Minimum number of ETH accepted in a contribution transaction |
startBlock |
The Block Number at which the ICO officially begins accepting contributions |
duration |
The number of Blocks that the ICO will run for |
fundingGoal |
The minimum number of Ether that the ICO must receive in contributions in order to be considered "Successful" |
fundingMax |
The absolute maximum number of Ether that the ICO contract will accept, if this number if reached, the ICO will end immediately and be declared a success. |
devRatio |
The ratio of Purchased Tokens to one Dev Token. In other words, if devRatio = 20, then for each 20 Tokens Sold, 1 Dev Token will be issued (or 5% extra) |
tokenAddress |
The Address of the ERC20 FAME Token Contract |
escrow |
The Address of our Escrow Provider. This is the hard-coded address that all final Ether will be sent to upon Successful completion of the ICO |
creator |
This is the Address of the Developer Account. This is where the Developer Tokens will be sent when minted, OR in the event the ICO is not a success, this is where ALL minted FAME will be sent back. |
savedBalance |
The final Ether Balance of the Contract. This is saved so that once withdrawls happen, we can look back and determine what the balance was easily. |
contribute() |
send in contribution (send ETH along with execution) |
isStarted |
Boolean (True or False) is the ICO started? |
isComplete |
Boolean (True or False) Is the ICO Complete? |
isSuccessful |
Boolean (True or False) Is the ICO past it's minimum goal? |
checkEthBalance(address) |
Returns the number of Ether Balance held for account |
checkTokBalance(address) |
Returns the number of Token Balance held for account |
checkTokSold |
The total number of Tokens Sold via contributions |
checkTokDev |
The total number of Tokens being issued to Developers (based on dev Ratio) |
checkTokTotal |
The Overall Total number of Tokens being minted (sold + dev). Note if successful, any tokens beyond this number are burned! |
percentOfGoal |
The Percentage of the Minimum Goal we have achieved. |
payMe |
Each Contributor must call this function after ICO completion to either get their tokens sent if the ICO was successful, or get a full refund of all of their Ether if the ICO was not successful. |
payCreator |
This function is called to pay out the Creator (if ICO was a success, Ether is sent to escrow, if ICO was not a success, all Tokens sent to creator address). |
[{"constant":true,"inputs":[],"name":"creator","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"duration","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"devRatio","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"fundingMax","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_contributor","type":"address"}],"name":"checkTokBalance","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"startBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_contributor","type":"address"}],"name":"checkSavedEthBalance","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"isStarted","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"checkTokDev","outputs":[{"name":"total","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"ratio","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"savedBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"fundingGoal","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"checkTokSold","outputs":[{"name":"total","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"checkTokTotal","outputs":[{"name":"total","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_contributor","type":"address"}],"name":"checkEthBalance","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"tokenAddress","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"tokenBalance","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"creatorPaid","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"minimumPurchase","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"isComplete","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"Token","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"contribute","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[],"name":"payMe","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"payCreator","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"escrow","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"percentOfGoal","outputs":[{"name":"goalPercent","type":"uint16"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"isSuccessful","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_contributor","type":"address"},{"indexed":true,"name":"_value","type":"uint256"},{"indexed":true,"name":"_timestamp","type":"uint256"}],"name":"Contribution","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_receiver","type":"address"},{"indexed":true,"name":"_value","type":"uint256"},{"indexed":true,"name":"_timestamp","type":"uint256"}],"name":"PayTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_receiver","type":"address"},{"indexed":true,"name":"_value","type":"uint256"},{"indexed":true,"name":"_timestamp","type":"uint256"}],"name":"PayEther","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_value","type":"uint256"},{"indexed":true,"name":"_timestamp","type":"uint256"}],"name":"BurnTokens","type":"event"}]