pull/4800/head
Trevor Porter 4 weeks ago
parent bc51f58549
commit 0009e3a6db
  1. 7
      typescript/infra/src/tx/transaction-reader.ts

@ -68,7 +68,10 @@ export class TransactionReader {
return this.readMultisendTransaction(chain, tx); return this.readMultisendTransaction(chain, tx);
} }
return {}; return {
insight: '⚠ Unknown transaction type',
tx,
};
} }
private async readIcaTransaction( private async readIcaTransaction(
@ -104,6 +107,7 @@ export class TransactionReader {
} }
return { return {
to: `ICA Router (${chain} ${this.chainAddresses[chain].interchainAccountRouter})`,
value: `${ethers.utils.formatEther(decoded.value)} ${symbol}`, value: `${ethers.utils.formatEther(decoded.value)} ${symbol}`,
signature: decoded.signature, signature: decoded.signature,
args: prettyArgs, args: prettyArgs,
@ -172,6 +176,7 @@ export class TransactionReader {
} }
return { return {
to: `Mailbox (${chain} ${this.chainAddresses[chain].mailbox})`,
signature: decoded.signature, signature: decoded.signature,
args: prettyArgs, args: prettyArgs,
}; };

Loading…
Cancel
Save