|
|
@ -5,7 +5,7 @@ var Txlistener = remixLib.execution.txListener |
|
|
|
var EventsDecoder = remixLib.execution.EventsDecoder |
|
|
|
var EventsDecoder = remixLib.execution.EventsDecoder |
|
|
|
var TransactionReceiptResolver = require('../../lib/transactionReceiptResolver') |
|
|
|
var TransactionReceiptResolver = require('../../lib/transactionReceiptResolver') |
|
|
|
|
|
|
|
|
|
|
|
export function makeUdapp (udapp, executionContext, compilersArtefacts, logHtmlCallback) { |
|
|
|
export function makeUdapp (blockchain, udapp, executionContext, compilersArtefacts, logHtmlCallback) { |
|
|
|
// ----------------- UniversalDApp -----------------
|
|
|
|
// ----------------- UniversalDApp -----------------
|
|
|
|
// TODO: to remove when possible
|
|
|
|
// TODO: to remove when possible
|
|
|
|
udapp.event.register('transactionBroadcasted', (txhash, networkName) => { |
|
|
|
udapp.event.register('transactionBroadcasted', (txhash, networkName) => { |
|
|
@ -14,7 +14,7 @@ export function makeUdapp (udapp, executionContext, compilersArtefacts, logHtmlC |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
// ----------------- Tx listener -----------------
|
|
|
|
// ----------------- Tx listener -----------------
|
|
|
|
const transactionReceiptResolver = new TransactionReceiptResolver(executionContext) |
|
|
|
const transactionReceiptResolver = new TransactionReceiptResolver(blockchain) |
|
|
|
|
|
|
|
|
|
|
|
const txlistener = new Txlistener({ |
|
|
|
const txlistener = new Txlistener({ |
|
|
|
api: { |
|
|
|
api: { |
|
|
|