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

@mijoco/stx_helpers

Package Overview
Dependencies
Maintainers
0
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mijoco/stx_helpers - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

9

dist/pox/pox.js

@@ -211,7 +211,12 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
const poxContract = getPoxContractFromCycle(cycle);
let functionName = 'get-num-reward-set-pox-addresses';
if (poxContract === 'pox') {
functionName = 'get-reward-set-size';
}
const functionArgs = [`0x${base_1.hex.encode((0, transactions_1.serializeCV)((0, transactions_1.uintCV)(cycle)))}`];
const data = {
contractAddress: poxContractId.split('.')[0],
contractName: getPoxContractFromCycle(cycle),
functionName: 'get-num-reward-set-pox-addresses',
contractName: poxContract,
functionName,
functionArgs,

@@ -218,0 +223,0 @@ };

{
"name": "@mijoco/stx_helpers",
"version": "0.5.0",
"version": "0.5.1",
"main": "index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

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