This smart contract is written by Fourty Seven based on Zepplin-solidity.
Zepplin-solidity is well audited and tested set of opensource contracts, avaliable here https://github.com/OpenZeppelin/zeppelin-solidity.
Zepplin-solidity is following the best practicas of writing smart contracts(https://github.com/ConsenSys/smart-contract-best-practices) as well as main solidity security considerations (http://solidity.readthedocs.io/en/latest/security-considerations.html
This smart contract is specially designed to provide a limited emision of ERC20 (https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md) standard tokens named FSBT (Fourty Seven Token) during pre-sale and main-sale periods of an ICO.
ERC20 FSBT Token Contract (based on Zepplin-solidity MintableToken)
- Contract name FSBToken
- Name Forty Seven Bank Token
- Symbol FSBT
- Decimals 18
preSaleStartTimestart timestamp (in seconds) when pre-investments are allowed (inclusive)
preSaleEndTimeend timestamp (in seconds) when pre-investments are allowed (inclusive)
preSaleWeiCapmaximum amount of Wei that can be minted during pre-sale period
mainSaleStartTimestart timestamp (in seconds) when main investments are allowed (inclusive)
mainSaleEndTimeend timestamp (in seconds) when main investments are allowed (inclusive)
mainSaleWeiCapmaximum amout of Wei that can be minted during main-sale period
ratehow many token units a buyer gets per 1 wei
walletaddress of multisig, where the contract collects the ether
tokenWalletaddress where the contract collects 10% of owners FSBT tokens will be collected after crowdsale finalization
2 Ways to buy tokens
There are 2 ways that allow to buy tokens
- Call public method
buyTokensand pass the ether as well as the address off the wallet where you want to collect FSBT tokens.
- Send ether to the contract address. In this case FSBT tokens will be added to the sender's address.
The contract has a
rate of 200 tokens per 1 ether.
You are sending to the contract the amount of 10 Ether during pre-sale period (expected 30% bonus).
( 10 * 200 ) * ((100 + 30) / 100) = 2600 FSBT
The contract creator are allowed to finalize sales with the public method
*This method fixes the whole amount of minted tokens
token.totalSupply as 90% and mint 10% more tokens, for the address
wallet. Then it forever stops minting of this token (means, stopping emission)
The code of the contract as well as this readme.md will be updated few times before the beginning of the ICO. We are focused on deep audit and testing, that may require minor changes.