Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
frolovdev committed Jan 26, 2024
1 parent 2d937b9 commit 13f628e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/connector/web3-provider.connector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import {ProviderConnector, SolStructType} from './provider.connector';
import {AbiItem} from '../model/abi.model';
import {Interface, defaultAbiCoder, ParamType} from 'ethers/lib/utils';

type Web3 = {
export interface IWeb3 {
eth: {
call(callInfo: { data: string, to: string }, blockNumber: number | string): Promise<string>
}
}

export class Web3ProviderConnector implements ProviderConnector {
constructor(protected readonly web3Provider: Web3) {
constructor(protected readonly web3Provider: IWeb3) {
}

contractEncodeABI(
Expand Down

0 comments on commit 13f628e

Please sign in to comment.