diff --git a/bin/MasterDistiller.js b/bin/MasterDistiller.js index 47c53a1ff85a15098fc419e46cc5d87b41bd18ec..b43cc1f65f2c9d25a7c9e376dbf3d1715ca45258 100755 --- a/bin/MasterDistiller.js +++ b/bin/MasterDistiller.js @@ -9,7 +9,7 @@ const rl = require('readline').createInterface( var web3; var Distillery; var bfa; -var notation = [ 6 ]; +var notation = [ 15 ]; function init() { @@ -21,8 +21,32 @@ function init() case 9: notation.push( "Gwei" ); break; + case 12: + notation.push( "micro" ); + break; + case 15: + notation.push( "finney" ); + break; + case 18: + notation.push( "ether" ); + break; + case 21: + notation.push( "kether" ); + break; + case 24: + notation.push( "grand" ); + break; + case 27: + notation.push( "mether" ); + break; + case 30: + notation.push( "gether" ); + break; + case 33: + notation.push( "tether" ); + break; default: - notation = [ 6, Math.pow(10, 6), "Mwei" ]; + notation = [ 15, Math.pow(10, 15), "finney" ]; } bfa = new Libbfa(); web3 = bfa.newweb3();