From 78129511645ecc45ae03b8ed0a1d03fb604323cb Mon Sep 17 00:00:00 2001 From: VoR0220 Date: Mon, 21 May 2018 08:38:23 -0500 Subject: [PATCH] wip Signed-off-by: VoR0220 --- lib/modules/profiler/index.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/modules/profiler/index.js b/lib/modules/profiler/index.js index f86ad9952..f5fe86549 100644 --- a/lib/modules/profiler/index.js +++ b/lib/modules/profiler/index.js @@ -1,4 +1,5 @@ const asciiTable = require('ascii-table'); +const ethAbi = require('web3-eth-abi'); class Profiler { constructor(embark) { @@ -36,6 +37,17 @@ class Profiler { return paramString; } + generateGasEstimation(method) { + + } + + generateRandomType(type) { + switch(type) { + case "uint256": + case "uint" + } + } + registerConsoleCommand() { const self = this; self.embark.registerConsoleCommand((cmd, _options) => {