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

@heliofi/evm-adapter

Package Overview
Dependencies
Maintainers
7
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 0.0.15-beta to 0.0.16-beta

4

dist/src/approveTokenAmount.d.ts

@@ -1,2 +0,2 @@

import { JsonRpcSigner } from '@ethersproject/providers';
export declare const approveTokenAmount: (signer: JsonRpcSigner, amount: bigint, tokenAddress: string) => Promise<void>;
import { JsonRpcSigner, TransactionResponse } from '@ethersproject/providers';
export declare const approveTokenAmount: (signer: JsonRpcSigner, amount: bigint, tokenAddress: string) => Promise<TransactionResponse>;

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

const erc20Contract = new ethers_1.Contract(tokenAddress, abi_1.erc20.abi, signer);
await erc20Contract.connect(signer).approve(constants_1.contractAddress, amount, {
return await erc20Contract.connect(signer).approve(constants_1.contractAddress, amount, {
from: await signer.getAddress(),

@@ -15,0 +15,0 @@ });

{
"name": "@heliofi/evm-adapter",
"version": "0.0.15-beta",
"version": "0.0.16-beta",
"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

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