update dist

This commit is contained in:
Yun 2019-06-24 18:45:29 +09:00
parent 5cc677ee68
commit 78bb8241a5
2 changed files with 5 additions and 5 deletions

8
dist/index.js vendored
View File

@ -15,7 +15,7 @@ const outputPath = argv['output'] || "./unsignedTx.json";
const logLevel = argv['log'] || 'debug';
console.log(`lcd path: ${lcdURL}`);
console.log(`output file path: ${outputPath}`);
console.log(`\n\n`);
console.log(`\n`);
const rest = new rest_1.default(lcdURL);
const foundationAddress = "terra1dp0taj85ruc299rkdvzp4z5pfg6z6swaed74e6";
const goliathValAddress = "terravaloper163phlen6dn7sp9khhjar2gqqx6kga0ly8d7h9g";
@ -100,7 +100,7 @@ async function main() {
const foundationRewards = await loadFoundationRewards();
if (logLevel == 'debug') {
console.debug(`Foundation Rewards:`, foundationRewards);
console.debug(`\n\n`);
console.debug(`\n`);
}
const validators = await rest.loadValidators();
if (!validators) {
@ -111,12 +111,12 @@ async function main() {
computeValidatorsRewardRatio(rewardRatioMap, validators);
if (logLevel == 'debug') {
console.debug(`Validator Bonus Rewards:`, rewardRatioMap);
console.debug(`\n\n`);
console.debug(`\n`);
}
await computeDelegatorRewardRatio(rewardRatioMap, validators);
if (logLevel == 'debug') {
console.debug(`Total Rewards:`, rewardRatioMap);
console.debug(`\n\n`);
console.debug(`\n`);
}
// Rotate reward ratio and build msg input
let totalRatio = big_js_1.default(0);

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long