                     constructorS = []
                     for i in that.constructVars.inputVariables
                         constructorS.push i.varValue
-
-                    that.VM.runTx { block: block, tx: tx, skipBalance: true, skipNonce: true }, (error, result) ->
+                    that.exeVM block, tx, (error, result) ->
                         if error
                             console.error error
                             that.showErrorMessage 508, error

                                        if !error
                                            that.argsToArray self.refs, childFunction, (error, argArray) ->
                                                if !error
                                                    console.log "Will call"
                                                    # Buffer.concat([ ethJSABI.methodID(Method Name, input variable types), ethJSABI.rawEncode(input variable types, input variables) ]).toString('hex')
                                                    buffer = Buffer.concat([ ethJSABI.methodID(childFunction, typArray), ethJSABI.rawEncode(typArray, argArray) ]).toString('hex')
                                                    console.log buffer
                                                    #that.call(myContract, childFunction, argArray)
                                render: ->
                                    self = this
                                    React.createElement 'div', { htmlFor: 'contractFunctions' }, this.state.childFunctions.map((childFunction, i) ->

            tx = new EthJSTX({
                    nonce: new BN(vmAccounts[Coinbase].nonce++),
                    gasPrice: new BN(1),
                    gasLimit: new BN(3000000, 10),
                    value: new BN(0, 10),
                    data: that.code
                })
