@heliofi/evm-adapter
Advanced tools
Comparing version 0.0.15-beta to 0.0.16-beta
@@ -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
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
48228