(node:38432) UnhandledPromiseRejectionWarning: Error: Returned error: intrinsic gas too low
at Object.ErrorResponse (C:\Users\minji\Code\201810808\node_modules\web3-core-helpers\src\errors.js:29:16)
at C:\Users\minji\Code\201810808\node_modules\web3-core-requestmanager\src\index.js:166:36
at XMLHttpRequest.request.onreadystatechange (C:\Users\minji\Code\201810808\node_modules\web3-providers-http\src\index.js:110:13)
at XMLHttpRequestEventTarget.dispatchEvent (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request-event-target.js:34:22)
at XMLHttpRequest._setReadyState (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request.js:208:14)
at XMLHttpRequest._onHttpResponseEnd (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request.js:318:14)
at IncomingMessage. (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request.js:289:61)
at IncomingMessage.emit (events.js:322:22)
at endReadableNT (_stream_readable.js:1187:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:38432) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:38432) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
TypeError: myBank.methods.getBalance(...).call.then is not a function
at Object. (C:\Users\minji\Code\201810808\src\BankUse.js:5:34)
at Module._compile (internal/modules/cjs/loader.js:1156:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47
(node:37468) UnhandledPromiseRejectionWarning: Error: Invalid JSON RPC response: ""
at Object.InvalidResponse (C:\Users\minji\Code\201810808\node_modules\web3-core-helpers\src\errors.js:42:16)
at XMLHttpRequest.request.onreadystatechange (C:\Users\minji\Code\201810808\node_modules\web3-providers-http\src\index.js:106:32)
at XMLHttpRequestEventTarget.dispatchEvent (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request-event-target.js:34:22)
at XMLHttpRequest._setReadyState (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request.js:208:14)
at XMLHttpRequest._onHttpRequestError (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request.js:349:14)
at ClientRequest. (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request.js:252:61)
at ClientRequest.emit (events.js:310:20)
at Socket.socketErrorListener (_http_client.js:426:9)
at Socket.emit (events.js:310:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:37468) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:37468) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:14060) UnhandledPromiseRejectionWarning: Error: Returned values aren't valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.
at ABICoder.decodeParameters (C:\Users\minji\Code\201810808\node_modules\web3-eth-abi\src\index.js:239:15)
at Contract._decodeMethodReturn (C:\Users\minji\Code\201810808\node_modules\web3-eth-contract\src\index.js:568:22)
at Method.outputFormatter (C:\Users\minji\Code\201810808\node_modules\web3-eth-contract\src\index.js:924:42)
at Method.formatOutput (C:\Users\minji\Code\201810808\node_modules\web3-core-method\src\index.js:167:54)
at sendTxCallback (C:\Users\minji\Code\201810808\node_modules\web3-core-method\src\index.js:622:33)
at C:\Users\minji\Code\201810808\node_modules\web3-core-requestmanager\src\index.js:173:9
at XMLHttpRequest.request.onreadystatechange (C:\Users\minji\Code\201810808\node_modules\web3-providers-http\src\index.js:110:13)
at XMLHttpRequestEventTarget.dispatchEvent (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request-event-target.js:34:22)
at XMLHttpRequest._setReadyState (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request.js:208:14)
at XMLHttpRequest._onHttpResponseEnd (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request.js:318:14)
at IncomingMessage. (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request.js:289:61)
at IncomingMessage.emit (events.js:322:22)
at endReadableNT (_stream_readable.js:1187:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:14060) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:14060) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
SyntaxError: Invalid shorthand property initializer
at wrapSafe (internal/modules/cjs/loader.js:1070:16)
at Module._compile (internal/modules/cjs/loader.js:1120:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47
browser/Bank.sol:16:16: TypeError: Indexed expression has to be a type, mapping or array (is tuple(uint256,uint256))
balNow=getBalance()[0];
^----------^
(node:37016) UnhandledPromiseRejectionWarning: Error: connection not open on send()
at Object.ConnectionError (C:\Users\minji\Code\201810808\node_modules\web3-core-helpers\src\errors.js:69:23)
at Object.ConnectionNotOpenError (C:\Users\minji\Code\201810808\node_modules\web3-core-helpers\src\errors.js:48:21)
at C:\Users\minji\Code\201810808\node_modules\web3-providers-ws\src\index.js:181:37
at Map.forEach ()
at WebsocketProvider._onClose (C:\Users\minji\Code\201810808\node_modules\web3-providers-ws\src\index.js:180:27)
at W3CWebSocket._dispatchEvent [as dispatchEvent] (C:\Users\minji\Code\201810808\node_modules\yaeti\lib\EventTarget.js:115:12)
at W3CWebSocket.onConnectFailed (C:\Users\minji\Code\201810808\node_modules@web3-js\websocket\lib\W3CWebSocket.js:219:14)
at WebSocketClient. (C:\Users\minji\Code\201810808\node_modules@web3-js\websocket\lib\W3CWebSocket.js:59:25)
at WebSocketClient.emit (events.js:310:20)
at WebSocketClient.failHandshake (C:\Users\minji\Code\201810808\node_modules@web3-js\websocket\lib\WebSocketClient.js:339:10)
at ClientRequest. (C:\Users\minji\Code\201810808\node_modules@web3-js\websocket\lib\WebSocketClient.js:278:18)
at ClientRequest.emit (events.js:310:20)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:603:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)
at Socket.socketOnData (_http_client.js:476:22)
at Socket.emit (events.js:310:20)
(node:37016) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:37016) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
src/Bank.sol:12:24: Error: This looks like an address but has an invalid checksum. Correct checksummed address: "0xa84c0e7543f8757226D14e2269298315d288B23a". If this is not used as an address, please prepend '00'. For more information please see https://solidity.readthedocs.io/en/develop/types.html#address-literals
secondAccount= 0xa84c0e7543f8757226d14e2269298315d288b23a;
C:\Users\minji\Code\201810808\node_modules\web3-core-helpers\src\formatters.js:471
throw new Error('Provided address "' + address + '" is invalid, the capitalization checksum test failed, or its an indrect IBAN address which can't be converted.');
^
Error: Provided address "undefined" is invalid, the capitalization checksum test failed, or its an indrect IBAN address which can't be converted.
at Method.inputAddressFormatter (C:\Users\minji\Code\201810808\node_modules\web3-core-helpers\src\formatters.js:471:11)
at C:\Users\minji\Code\201810808\node_modules\web3-core-method\src\index.js:148:38
at Array.map ()
at Method.formatInput (C:\Users\minji\Code\201810808\node_modules\web3-core-method\src\index.js:146:32)
at Method.toPayload (C:\Users\minji\Code\201810808\node_modules\web3-core-method\src\index.js:181:23)
at Eth.send [as getBalance] (C:\Users\minji\Code\201810808\node_modules\web3-core-method\src\index.js:599:30)
at Object. (C:\Users\minji\Code\201810808\src\BankUse.js:10:10)
at Module._compile (internal/modules/cjs/loader.js:1156:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47
(node:37884) UnhandledPromiseRejectionWarning: Error: Returned error: VM Exception while processing transaction: out of gas
at Object.ErrorResponse (C:\Users\minji\Code\201810808\node_modules\web3-core-helpers\src\errors.js:29:16)
at C:\Users\minji\Code\201810808\node_modules\web3-core-requestmanager\src\index.js:166:36
at XMLHttpRequest.request.onreadystatechange (C:\Users\minji\Code\201810808\node_modules\web3-providers-http\src\index.js:110:13)
at XMLHttpRequestEventTarget.dispatchEvent (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request-event-target.js:34:22)
at XMLHttpRequest._setReadyState (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request.js:208:14)
at XMLHttpRequest._onHttpResponseEnd (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request.js:318:14)
at IncomingMessage. (C:\Users\minji\Code\201810808\node_modules\xhr2-cookies\dist\xml-http-request.js:289:61)
at IncomingMessage.emit (events.js:322:22)
at endReadableNT (_stream_readable.js:1187:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:37884) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:37884) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:34588) UnhandledPromiseRejectionWarning: Error: The contract code couldn't be stored, please check your gas limit.
at Object.TransactionError (C:\Users\minji\Code\201810808\node_modules\web3-core-helpers\src\errors.js:93:21)
at Object.ContractCodeNotStoredError (C:\Users\minji\Code\201810808\node_modules\web3-core-helpers\src\errors.js:102:21)
at C:\Users\minji\Code\201810808\node_modules\web3-core-method\src\index.js:394:40
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:34588) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 9)
(node:34588) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.