- Requirements
- [Operations On The Token Sale Contract](#operations-on-the-token sale-contract)
- Testing
- Deployment Checklist
- Prerequisite
- How to build
- How to code
- How to test
- How to test on testnet and mainnet
- Token Identifier
- symbol
TBL
- name
Tombola
- decimals
18
- supply
500,000,000 TBL
- symbol
- Functions
- Contract Documentation and owner user guide
- Self-Audit and Testing Report
- Deployment Guideline and Checklist
- A Complete Smart Contract Code:
- Standard ERC20 Token Contract
- Standard Contract Function, eg transferOwnership etc
- Able to set wallet address any time
- Able to set price per token any time
- Able to stop/start the token sale anytime
- Start/stop token sale can also be control by Timestamp
- Able to start token sale multiple times
- A mintable token, TBL token only produce when someone contribute
- Anytime
- Owner can call
transferOwnership(...)
to allow the current owner to transfer control of the contract to a newOwner.
- Owner can call
- After Start Date And Before End Date
- Participants can send ETH to the
default () function
and receive tokens - Owner can call
finalise()
if soft cap reached or we are past the end date
- Participants can send ETH to the
- Before Finalised
- Owner can call
setRate(...)
to set the exchange rate - Owner can call
setHardCap(...)
to set the maximum of the next token sale - Owner can call
setSalePeriod(...)
to set the maximum of the next token sale - Owner can call
addPrecommitment(...)
to add precommitment balances - Owner can call
setWalletAddress(...)
to update address where funds are collected - Owner can call
pause()
andunpause()
to start or stop the crowdsale
- Owner can call
- After Finalised
- Participant can call the normal
transfer(...)
,increaseApproval(...)
,decreaseApproval(...)
,approve(...)
andtransferFrom(...)
to transfer tokens
- Participant can call the normal