Created
February 5, 2020 17:56
-
-
Save DeRain/bc8ba217da12bac2c1a73d5c613c3beb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
My account address is: 0x7bb3B0E8A59f3f61d9Bff038f4AEb42cAE2ECce8 | |
My account bech32 address is: zil10wemp699nulkrkdl7qu0ft459jhzan8g6r5lh7 | |
Your account balance is: | |
{ balance: '1000000000000000000', nonce: 0 } | |
Current Minimum Gas Price: 1 | |
My Gas Price 1000000000 | |
Is the gas price sufficient? true | |
Sending a payment transaction to the network... | |
The transaction status is: | |
{ cumulative_gas: 1, epoch_num: '1', success: true } | |
Deploying a new contract.... | |
Deployment Transaction ID: 2fdf1b971f68e6998ebc923269aa44e63b115f35f2fa09a8f6481e3460633e7b | |
Deployment Transaction Receipt: | |
{ cumulative_gas: 2636, epoch_num: '1', success: true } | |
The contract address is: | |
0xBBDf5c659BefA747bb10AD1B98b079ef6CE7BF55 | |
Calling setHello transition with msg: Hello, the time is 1580925340826 | |
{ | |
"cumulative_gas": 696, | |
"epoch_num": "1", | |
"event_logs": [ | |
{ | |
"_eventname": "setHello()", | |
"address": "0xbbdf5c659befa747bb10ad1b98b079ef6ce7bf55", | |
"params": [ | |
{ | |
"type": "Int32", | |
"value": "2", | |
"vname": "code" | |
} | |
] | |
} | |
], | |
"success": true | |
} | |
Getting contract state... | |
The state of the contract is: | |
{ | |
"_balance": "0", | |
"welcome_msg": "BlaBlaBla" | |
} | |
Getting welcome_msg via getHello method call... | |
{ | |
"cumulative_gas": 599, | |
"epoch_num": "1", | |
"event_logs": [ | |
{ | |
"_eventname": "getHello()", | |
"address": "0xbbdf5c659befa747bb10ad1b98b079ef6ce7bf55", | |
"params": [ | |
{ | |
"type": "String", | |
"value": "Hello, the time is 1580925340826", | |
"vname": "msg" | |
} | |
] | |
} | |
], | |
"success": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment