Created
December 6, 2018 05:30
-
-
Save kentarohorie/140efd1b9a6d6614f04dea2501702e1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
neo> open wallet neo-privnet.wallet | |
[password]> *** | |
Opened wallet at neo-privnet.wallet | |
neo> build ./ico-template-mycoin/ico_template.py 0710 05 True False True | |
[I 181206 05:26:22 BuildNRun:54] Saved output to ./ico-template-mycoin/ico_template.avm | |
neo> import contract ./ico-template-mycoin/ico_template.avm 0710 05 True False True | |
Please fill out the following contract details: | |
[Contract Name] > mycoin | |
[Contract Version] > | |
[Contract Author] > | |
[Contract Email] > | |
[Contract Description] > | |
Creating smart contract.... | |
Name: mycoin | |
Version: | |
Author: | |
Email: | |
Description: | |
Needs Storage: True | |
Needs Dynamic Invoke: False | |
Is Payable: True | |
{ | |
"hash": "0x1482f699725e02ee7bd9026695c0c6c779d9b02f", | |
"script": "", | |
"parameters": "0710", | |
"returntype": 5 | |
} | |
[I 181206 05:26:32 EventHub:58] [test_mode][SmartContract.Contract.Create] [1482f699725e02ee7bd9026695c0c6c779d9b02f] {'type': 'InteropInterface', 'value': {'version': 0, 'code': {'hash': '0x1482f699725e02ee7bd9026695c0c6c779d9b02f', 'script': '', 'parameters': '0710', 'returntype': 5}, 'name': 'mycoin', 'code_version': '', 'author': '', 'email': '', 'description': '', 'properties': {'storage': True, 'dynamic_invoke': False, 'payable': True}}} | |
[I 181206 05:26:32 EventHub:58] [test_mode][SmartContract.Execution.Success] [9648464b5332891e2e0da2a9b1ffc982f9721997] {'type': 'Array', 'value': [{'type': 'InteropInterface', 'value': {'version': 0, 'code': {'hash': '0x1482f699725e02ee7bd9026695c0c6c779d9b02f', 'script': '', 'parameters': '0710', 'returntype': 5}, 'name': 'mycoin', 'code_version': '', 'author': '', 'email': '', 'description': '', 'properties': {'storage': True, 'dynamic_invoke': False, 'payable': True}}}]} | |
Used 500.0 Gas | |
------------------------------------------------------------------------------------------------------------------------------------- | |
Test deploy invoke successful | |
Total operations executed: 11 | |
Results: | |
[<neo.Core.State.ContractState.ContractState object at 0x7fec18607550>] | |
Deploy Invoke TX GAS cost: 490.0 | |
Deploy Invoke TX Fee: 0.0 | |
------------------------------------------------------------------------------------------------------------------------------------- | |
Enter your password to continue and deploy this contract | |
[password]> *** | |
[I 181206 05:26:34 Transaction:617] Verifying transaction: b'af0205348c04016c4fe3cbbc067ff854e1f067e45fef2adc3366f4eaefaf7484' | |
[I 181206 05:26:34 EventHub:62] [SmartContract.Verification.Success][10508] [f519c5994114e340fc1d6f03e3b116fdf123e07c] [tx af0205348c04016c4fe3cbbc067ff854e1f067e45fef2adc3366f4eaefaf7484] {'type': 'Array', 'value': [{'type': 'Boolean', 'value': True}]} | |
Relayed Tx: af0205348c04016c4fe3cbbc067ff854e1f067e45fef2adc3366f4eaefaf7484 | |
neo> | |
neo> | |
neo> [I 181206 05:27:06 EventHub:62] [SmartContract.Contract.Create][10509] [1482f699725e02ee7bd9026695c0c6c779d9b02f] [tx af0205348c04016c4fe3cbbc067ff854e1f067e45fef2adc3366f4eaefaf7484] {'type': 'InteropInterface', 'value': {'version': 0, 'code': {'hash': '0x1482f699725e02ee7bd9026695c0c6c779d9b02f', 'script': '', 'parameters': '0710', 'returntype': 5}, 'name': 'mycoin', 'code_version': '', 'author': '', 'email': '', 'description': '', 'properties': {'storage': True, 'dynamic_invoke': False, 'payable': True}}} | |
[I 181206 05:27:06 EventHub:62] [SmartContract.Execution.Success][10509] [9648464b5332891e2e0da2a9b1ffc982f9721997] [tx af0205348c04016c4fe3cbbc067ff854e1f067e45fef2adc3366f4eaefaf7484] {'type': 'Array', 'value': [{'type': 'InteropInterface', 'value': {'version': 0, 'code': {'hash': '0x1482f699725e02ee7bd9026695c0c6c779d9b02f', 'script': '', 'parameters': '0710', 'returntype': 5}, 'name': 'mycoin', 'code_version': '', 'author': '', 'email': '', 'description': '', 'properties': {'storage': True, 'dynamic_invoke': False, 'payable': True}}}]} | |
neo> | |
neo> import token 0x1482f699725e02ee7bd9026695c0c6c779d9b02f | |
Could not import token | |
neo> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment