Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eos-common

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eos-common - npm Package Compare versions

Comparing version 0.7.8 to 0.7.9

21

dist/eosiolib/voting.js

@@ -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);

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc