|
|
@ -323,7 +323,8 @@ export class TxListener { |
|
|
|
contractName: contract.name, |
|
|
|
contractName: contract.name, |
|
|
|
to: tx.to, |
|
|
|
to: tx.to, |
|
|
|
fn: fn, |
|
|
|
fn: fn, |
|
|
|
params: this._decodeInputParams(inputData.substring(8), fnabi) |
|
|
|
params: this._decodeInputParams(inputData.substring(8), fnabi), |
|
|
|
|
|
|
|
abi |
|
|
|
} |
|
|
|
} |
|
|
|
if (tx.returnValue) { |
|
|
|
if (tx.returnValue) { |
|
|
|
this._resolvedTransactions[tx.hash].decodedReturnValue = decodeResponse(tx.returnValue, fnabi) |
|
|
|
this._resolvedTransactions[tx.hash].decodedReturnValue = decodeResponse(tx.returnValue, fnabi) |
|
|
@ -337,7 +338,8 @@ export class TxListener { |
|
|
|
contractName: contract.name, |
|
|
|
contractName: contract.name, |
|
|
|
to: tx.to, |
|
|
|
to: tx.to, |
|
|
|
fn: '(receive)', |
|
|
|
fn: '(receive)', |
|
|
|
params: null |
|
|
|
params: null, |
|
|
|
|
|
|
|
abi |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// fallback function
|
|
|
|
// fallback function
|
|
|
@ -345,7 +347,8 @@ export class TxListener { |
|
|
|
contractName: contract.name, |
|
|
|
contractName: contract.name, |
|
|
|
to: tx.to, |
|
|
|
to: tx.to, |
|
|
|
fn: '(fallback)', |
|
|
|
fn: '(fallback)', |
|
|
|
params: null |
|
|
|
params: null, |
|
|
|
|
|
|
|
abi |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -358,7 +361,8 @@ export class TxListener { |
|
|
|
contractName: contract.name, |
|
|
|
contractName: contract.name, |
|
|
|
to: null, |
|
|
|
to: null, |
|
|
|
fn: '(constructor)', |
|
|
|
fn: '(constructor)', |
|
|
|
params: params |
|
|
|
params: params, |
|
|
|
|
|
|
|
abi |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return this._resolvedTransactions[tx.hash] |
|
|
|
return this._resolvedTransactions[tx.hash] |
|
|
|