Smart Contract Checklist
This is an overview how one of the Investhub Contributors checks their Smart Contract as Token Generator in Liechtenstein. Other jurisdiction could collaborate together with other Contributors.
Total Token Supply like prospectus?
Finalise contract (where is cold wallet defined?)
Cold wallet is the owner wallet -
ether transferred there as they go
Add another manager
List of all functions for manager?
Whitelist/Remove from whitelist
Pause/unpause token and sto contract.
NonEther purchase
Finalize STO
Adjust rate
Change allocation ratio crypto/fiatusecase
if fiat will be overrun and ETH not, means we would not be able to adjust it? that would not make senseWhat to do when a FIAT contribution is done?
Add 1337 token contribution to user
Start end date of Contract check
Send after contract ended
Extend Contract
How to calculate Date and Time into uint256?
Min contribution amount like prospectus?min is one token (try to buy decimal token send less or more)
1.1 ETH transaction did go through but was refunded
0.9 ETH transaction did go through but was refunded
Tokenprice per Prospectus?
price per token in ETH (0,57 ETH)
Unpause contract
Pause contract
Test to add whitelisting entries Tested
Send transaction from non whitelisted here
Send transaction from whitelisted here
Max contributionnot needed
Try to invest over the whitelisted amount
i am not allowed to send more money as I kyced myself as. (regulation)
Add another whitelisted investor
Sent too much
Sent 3 ETH
E.g Investor adds another KYC (he uses same wallet which was whitelisted, we cant upgrade his whitelist amount therefor we have to remove it first? Or tell investor to use a new wallet?) Right now there is no way to update existing limits. I would suggest they use another address for simplicity and also for clarity.
Claim token after STO
How?
MyEtherWallet/Metamask or create widget to do this.
Remix - Contract address - claim function with investor wallet
Ok. The function hash to claim the tokens is "48c54b9d" You could access MEW and open your account using Metamask. Then in MEW you send the transaction to the contract address and paste as data this hash "48c54b9d", without quotes.
Burn token function for unsold remaining tokens
Try claim interest dividend
Then whitelist him to test if goes through
Send to whitelisted User after STO ended
Only owner not manager can whitelistAdd a token amount (random one) so whitelist goes through
We are running following tests already. There are 166 test cases and all passing. This is for Crowdsale This is for Token contract
For dividend contract
Last updated