eos-common
Advanced tools
Comparing version 0.7.8 to 0.7.9
@@ -39,22 +39,1 @@ "use strict"; | ||
exports.calculate_producer_per_vote_pay = calculate_producer_per_vote_pay; | ||
const last_vote_weight = 49432565384753280; | ||
const total_producer_vote_weight = 161849954094458732544; | ||
const ratio = last_vote_weight / total_producer_vote_weight; | ||
const supply = 1018985703.2327; | ||
const vpay = supply * 0.0075 / 365; | ||
const bpay = supply * 0.0025 / 365; | ||
// console.log(last_vote_weight / total_producer_vote_weight) | ||
// console.log(vote2stake(last_vote_weight) / 10000); | ||
// console.log(vote2stake(total_producer_vote_weight) / 10000); | ||
console.log("EOS"); | ||
console.log("supply:", supply); | ||
console.log("vpay:", vpay); | ||
console.log("bpay:", bpay); | ||
console.log("total_producer_vote_weight:", total_producer_vote_weight); | ||
console.log("\nEOSDT"); | ||
console.log("last_vote_weight:", last_vote_weight); | ||
console.log("ratio:", ratio); | ||
console.log("100% vpay:", vpay * ratio); | ||
console.log("100% bpay:", bpay * ratio); | ||
console.log("85% vpay:", vpay * ratio * 0.85); | ||
console.log("85% bpay:", bpay * ratio * 0.85); |
{ | ||
"name": "eos-common", | ||
"version": "0.7.8", | ||
"version": "0.7.9", | ||
"description": "EOSIO Smart Contract common library used for Typescript", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92999
2072