Skip to content

Commit

Permalink
fix: EVM Signedr => Signer | JsonRpcSigner
Browse files Browse the repository at this point in the history
  • Loading branch information
Mithreum committed Jan 14, 2025
1 parent ca2634b commit b518d30
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/chains/web3helper.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {
BigNumberish,
JsonRpcSigner,
type ContractTransactionResponse,
type Overrides,
type Provider,
Expand Down Expand Up @@ -50,11 +51,9 @@ import type {

export type Web3Helper = GetBalance &
GetProvider<Provider> &
SendInstallment<Signer, ContractTransactionResponse, PayableOverrides> &
ValidateAddress &
GetTokenBalance &
GetApprovedTokenAmount &
PreTransfer<Signer, PayableOverrides> &
ChainName &
NativeCoinName &
AddressBook &
Expand All @@ -69,9 +68,6 @@ export type Web3Helper = GetBalance &
GetBridgeAddress &
GetProtocolFeeInUSD &
Decimals &
StakeLiquidity<Signer, ContractTransactionResponse, Overrides> &
WithdrawLiquidity<Signer, ContractTransactionResponse, Overrides> &
WithdrawFees<Signer, ContractTransactionResponse, Overrides> &
GetLpCurrentAPY &
GetLpTotalSupply &
GetLpTokenFee &
Expand All @@ -84,7 +80,12 @@ export type Web3Helper = GetBalance &
ParceCallData &
GetTokenAddress &
GetSwapResultAmount &
ILiquidityPool<Signer, ContractTransactionResponse, Overrides>
ILiquidityPool<Signer | JsonRpcSigner, ContractTransactionResponse, Overrides> &
PreTransfer<Signer | JsonRpcSigner, PayableOverrides> &
SendInstallment<Signer | JsonRpcSigner, ContractTransactionResponse, PayableOverrides> &
StakeLiquidity<Signer | JsonRpcSigner, ContractTransactionResponse, Overrides> &
WithdrawLiquidity<Signer | JsonRpcSigner, ContractTransactionResponse, Overrides> &
WithdrawFees<Signer | JsonRpcSigner, ContractTransactionResponse, Overrides>
;

export interface Web3Params {
Expand Down

0 comments on commit b518d30

Please sign in to comment.