From d4d91b8b9353d4031821361125ba155e9f194275 Mon Sep 17 00:00:00 2001 From: LeviBarnes Date: Thu, 17 Jan 2019 01:05:38 -0800 Subject: [PATCH] Record timestamps of contracts passed as arguments --- src/app/tabs/runTab/model/recorder.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/tabs/runTab/model/recorder.js b/src/app/tabs/runTab/model/recorder.js index 747aab6e5a..2f8a7a67e4 100644 --- a/src/app/tabs/runTab/model/recorder.js +++ b/src/app/tabs/runTab/model/recorder.js @@ -54,6 +54,11 @@ class Recorder { record.name = payLoad.funAbi.name record.inputs = txHelper.serializeInputs(payLoad.funAbi) record.type = payLoad.funAbi.type + for (var p in record.parameters) { + var thisarg = record.parameters[p] + var thistimestamp = this.data._createdContracts[thisarg] + if (thistimestamp) record.parameters[p] = `created{${thistimestamp}}` + } this.udapp.getAccounts((error, accounts) => { if (error) return console.log(error)