Investhub.io
  • What is Investhub?
  • Pricing
  • APIs
    • KYC Oracle API (BETA)
      • CreateUser
      • CreateCustomer
      • CustomerCompany
        • CustomerCompanyDirector
        • CustomerCompanyUbo
      • HistoryChangeKycLevel
      • ComplycubeClient
      • DataConsent
      • Messages
      • logSendRequestExternal
    • Raise API
    • Referral API
    • Commitment API
    • Opportunity API
  • Referral Partners
    • How to Start
    • Referral Code
      • Assign Referral Partner
    • Rule Book
    • Ethics
  • Investor Training
    • Personalised Opportunities
    • How to generate Investor IBAN?
    • How to make KYC?
      • Redirect to Tenants
      • How to push my KYC to tenants?
      • How to push a Transaction to tenants?
    • Define your Risk Profile
    • How to register an .eth domain
    • What are Security Tokens?
  • Issuer Training
    • Issuer Responsibilities
    • Smart Contract Checklist
    • Prospectus
      • Discounts
      • Translation of Summary
      • Get an ISIN
      • Get a local Phone Number
      • Get a LEI Number
    • KID (key information document)
    • KIIS (key investment information sheet)
    • Fundraising Thresholds
    • Data Center
    • Corporate Governance
    • Insurances
    • Digital Incorporation
    • Prepare for Opportunity
    • Prepare for Deal
    • Accounting
    • Dos and Dont
    • Legal Disclaimers
    • Company Valuation
  • Raise (Compliance, Tokenisation, Reconciliation)
    • Setup a KYC (Raise) Tenant
    • KYC/KYB Handling
      • How to Edit for the user?
    • Video Ident / Liveness Check
    • Payment Channels
      • Crypto Settings
      • Transactions (On and Off-Chain)
      • Bank Accounts
        • Bank Details
      • Crypto.com
      • Volt.io
      • Stripe.com
      • Sendwyre.com
    • Languages
    • User Roles
    • Signature APIs
      • Signnow
      • Skribble
    • Company Information
    • Token Settings
    • Token Type
    • Discount Level Option
    • Currency Settings
    • Google Analytics, Tag Manager, Facebook Pixel
    • Video Frontpage
    • Emails
      • SMTP Settings
      • Email Reminders
    • Other Settings
    • Pythagoras Export
    • Transaction Limit
    • Risk Level Assessment
    • Data Storage Liechtenstein
    • Hotjar
    • Intercom
    • Auto Approval
    • Audit Trail (Log Event)
    • Blacklist
    • Smart Contracts
      • Smart Contract Checklist
      • Smart Contract API
      • Whitelisting
      • Cashlink (depreciated)
    • Exchange Rates
    • Exports
    • Wallet Screening
    • Monitoring
    • Watchlist Enhanced
  • Manage (Proceed Management)
    • Setting up a Manage Tenant
    • Dashboard
    • User Profile
    • Accounts
      • Create FIAT Accounts
      • Create Hot Wallets
      • Connect Metamask Wallet
      • Different Networks (Ethereum, Polygon)
    • Chart of Accounts
    • Cards
    • Reports
    • Users
    • Contacts
    • Settings
      • Company
      • Categories
      • Projects
      • Groups
      • Branches
      • Tax Rates
      • Departments
      • Roles
      • Reject reason
      • Advanced
      • User Permissions
    • Connecting Xero
      • Connect API
      • Multicurrency
      • Gas fees
    • Image Recognition API
      • Veryfi
      • Datamolino
      • Staple.ai
Powered by GitBook
On this page
  1. Raise (Compliance, Tokenisation, Reconciliation)
  2. Smart Contracts

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.

PreviousSmart ContractsNextSmart Contract API

Last updated 1 year ago

  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

  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 contribution to user ( investor)

  9. Add 1337 contribution to user

  10. Start end date of Contract check

  11. Send after

  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. but was refunded

  16. but was refunded

  17. Tokenprice per Prospectus?

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

  19. contract

  20. Pause

  21. Test to add whitelisting entries

  22. Send transaction from non whitelisted

  23. Send transaction from whitelisted

  24. Max contributionnot needed

  25. Try to invest over the whitelisted amount

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

  27. Add another

  28. Sent

  29. Sent

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

  31. after STO

  32. How?

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

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

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

  36. Burn token function for unsold remaining tokens

  37. Try claim interest dividend

  38. Send to

  39. Then whitelist him

  40. Send to

  41. Only 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

finalised
manager
New manager whitelist another investor
Remove manager
token
fiat
token
Claim Fiat tokens
contract ended
https://www.epochconverter.com/
0.57 ETH transaction go through
1.1 ETH transaction did go through
0.9 ETH transaction did go through
Unpause
contract
Tested
here
here
Was not whitelisted
Was whitelisted but sent higher amount as kyced
Was whitelisted and sent exact amount as kyced
whitelisted investor
too much
3 ETH
Claim token
non whitelisted User after STO ended
to test if goes through
whitelisted User after STO ended
owner