Skip to content

Commit

Permalink
Use proper case for getParentBaseFeeEstimate
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstph-dvx committed Jul 10, 2024
1 parent c7691b4 commit 77ac789
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/actions/getParentBaseFeeEstimate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ import { Chain, PublicClient, ReadContractReturnType, Transport } from 'viem';
import { arbGasInfo } from '../contracts';

type ArbGasInfoABI = typeof arbGasInfo.abi;
export type GetParentbaseFeeEstimateParameters = void;
export type GetParentBaseFeeEstimateParameters = void;

export type GetParentbaseFeeEstimateReturnType = ReadContractReturnType<
export type GetParentBaseFeeEstimateReturnType = ReadContractReturnType<
ArbGasInfoABI,
'getL1BaseFeeEstimate'
>;

export async function getParentbaseFeeEstimate<TChain extends Chain | undefined>(
export async function getParentBaseFeeEstimate<TChain extends Chain | undefined>(
client: PublicClient<Transport, TChain>,
): Promise<GetParentbaseFeeEstimateReturnType> {
): Promise<GetParentBaseFeeEstimateReturnType> {
return client.readContract({
abi: arbGasInfo.abi,
functionName: 'getL1BaseFeeEstimate',
Expand Down

0 comments on commit 77ac789

Please sign in to comment.