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 13f628e commit f32c828
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/connector/web3-provider.connector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ import {ProviderConnector, SolStructType} from './provider.connector';
import {AbiItem} from '../model/abi.model';
import {Interface, defaultAbiCoder, ParamType} from 'ethers/lib/utils';

export interface IWeb3CallInfo {
data: string,
to: string
}

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

Expand Down

0 comments on commit f32c828

Please sign in to comment.