Authors: Gertjan Leemans, Maarten Zonneveld & Zehna van den Berg
Based on the official NEO Example ICO Template found at: https://github.com/neo-project/examples-csharp/tree/master/ICO_Template, in combination with the NEO ICO Smart Contract by Thor found at: https://github.com/thortoken/neo-ico-smartcontract
In neo-python prompt:
testinvoke {contract_hash} deploy []
In neo-python:
testinvoke {contract_hash} totalSupply []
testinvoke {contract_hash} crowdsaleTokensSold []
In neo-python:
testinvoke {contract_hash} crowdsaleRegister ['AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y']
testinvoke {contract_hash} crowdsaleRegistrationStatus ['AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y']
In neo-python:
testinvoke {contract_hash} crowdsaleChangePersonalCap [1000]
In neo-python:
testinvoke {contract_hash} crowdsaleChangePresaleStart [1525242198]
testinvoke {contract_hash} crowdsaleChangePresaleEnd [1525242199]
testinvoke {contract_hash} crowdsaleChangePresaleNEORate [1000]
testinvoke {contract_hash} crowdsaleChangeCrowdsaleStart [1525242198]
testinvoke {contract_hash} crowdsaleChangeCrowdsaleEnd [1525242199]
testinvoke {contract_hash} crowdsaleChangeCrowdsaleNEORate [1000]
In neo-python:
testinvoke {contract_hash} mintTokens []
In neo-python:
testinvoke {contract_hash} airdropTokens ['AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y', 1000]