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

@heliofi/evm-adapter

Package Overview
Dependencies
Maintainers
9
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heliofi/evm-adapter - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

1

dist/src/constants.d.ts

@@ -15,1 +15,2 @@ export declare enum ChainId {

}
export declare const helioEvmFeeWalletKey = "0xa50E658C75dd31C8a1FD29d48F3de26e6d79df5D";

3

dist/src/constants.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContractAddress = exports.ChainId = void 0;
exports.helioEvmFeeWalletKey = exports.ContractAddress = exports.ChainId = void 0;
var ChainId;

@@ -20,2 +20,3 @@ (function (ChainId) {

})(ContractAddress = exports.ContractAddress || (exports.ContractAddress = {}));
exports.helioEvmFeeWalletKey = '0xa50E658C75dd31C8a1FD29d48F3de26e6d79df5D';
//# sourceMappingURL=constants.js.map

@@ -18,3 +18,3 @@ "use strict";

}));
const valueOverride = Number(req.tokenAddres) === 0
const valueOverride = Number(req.tokenAddress) === 0
? {

@@ -24,3 +24,3 @@ value: recipientsAndAmounts.reduce((acc, r) => acc + r.amount, 0n),

: undefined;
const unsignedTx = await contract.populateTransaction.payment(req.tokenAddres, BNRecipientsAndAmounts, req.transactonDbId, valueOverride);
const unsignedTx = await contract.populateTransaction.payment(req.tokenAddress, BNRecipientsAndAmounts, req.transactonDbId, valueOverride);
unsignedTx.chainId = chainId;

@@ -27,0 +27,0 @@ return unsignedTx;

@@ -7,3 +7,3 @@ export type RecipientAndAmount = {

transactonDbId: string;
tokenAddres: string;
tokenAddress: string;
};
{
"name": "@heliofi/evm-adapter",
"version": "2.0.0",
"version": "2.0.1",
"description": "API to interact with Helio Finances program on EVM chains.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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