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.

  1. Total Token Supply like prospectus?

  2. Finalise contract (where is cold wallet defined?)

  3. Cold wallet is the owner wallet -

    1. ether transferred there as they go

  4. Add another manager

  5. List of all functions for manager?

    1. Whitelist/Remove from whitelist

    2. Pause/unpause token and sto contract.

    3. NonEther purchase

    4. Finalize STO

    5. Adjust rate

  6. Change allocation ratio crypto/fiatusecase

  7. 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?

  8. Add 88 token contribution to user (fiat investor)

  9. Add 1337 token contribution to user

  10. Start end date of Contract check

  11. Send after contract ended

  12. Extend Contract

  13. How to calculate Date and Time into uint256?

  14. Min contribution amount like prospectus?min is one token (try to buy decimal token send less or more)

  15. Tokenprice per Prospectus?

  16. price per token in ETH (0,57 ETH)

  17. Unpause contract

  18. Pause contract

  19. Test to add whitelisting entries Tested

  20. Send transaction from non whitelisted here

  21. Send transaction from whitelisted here

  22. Max contributionnot needed

  23. Try to invest over the whitelisted amount

  24. i am not allowed to send more money as I kyced myself as. (regulation)

  25. Sent 3 ETH

  26. 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.

  27. Claim token after STO

  28. How?

  29. MyEtherWallet/Metamask or create widget to do this.

  30. Remix - Contract address - claim function with investor wallet

  31. 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.

  32. Burn token function for unsold remaining tokens

  33. Try claim interest dividend

  34. Then whitelist him to test if goes through

  35. 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