From f2e21a5260429b886a79954a2ded799283ac05ce Mon Sep 17 00:00:00 2001 From: Christophe Date: Fri, 30 Aug 2024 15:01:59 +0000 Subject: [PATCH] enforce chain --- src/actions/getAllChainOwners.ts | 2 +- src/actions/getInfraFeeAccount.ts | 2 +- src/actions/getNetworkFeeAccount.ts | 2 +- src/actions/getScheduledUpgrade.ts | 2 +- src/actions/isChainOwner.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/actions/getAllChainOwners.ts b/src/actions/getAllChainOwners.ts index 194d0a54..6c07a098 100644 --- a/src/actions/getAllChainOwners.ts +++ b/src/actions/getAllChainOwners.ts @@ -8,7 +8,7 @@ export type GetAllChainOwnersReturnType = ReadContractReturnType< 'getAllChainOwners' >; -export async function getAllChainOwners( +export async function getAllChainOwners( client: PublicClient, ): Promise { return client.readContract({ diff --git a/src/actions/getInfraFeeAccount.ts b/src/actions/getInfraFeeAccount.ts index ae01803d..53a09f0f 100644 --- a/src/actions/getInfraFeeAccount.ts +++ b/src/actions/getInfraFeeAccount.ts @@ -8,7 +8,7 @@ export type GetInfraFeeAccountReturnType = ReadContractReturnType< 'getInfraFeeAccount' >; -export async function getInfraFeeAccount( +export async function getInfraFeeAccount( client: PublicClient, ): Promise { return client.readContract({ diff --git a/src/actions/getNetworkFeeAccount.ts b/src/actions/getNetworkFeeAccount.ts index f6c68d56..d1d2d6ef 100644 --- a/src/actions/getNetworkFeeAccount.ts +++ b/src/actions/getNetworkFeeAccount.ts @@ -8,7 +8,7 @@ export type GetNetworkFeeAccountReturnType = ReadContractReturnType< 'getNetworkFeeAccount' >; -export async function getNetworkFeeAccount( +export async function getNetworkFeeAccount( client: PublicClient, ): Promise { return client.readContract({ diff --git a/src/actions/getScheduledUpgrade.ts b/src/actions/getScheduledUpgrade.ts index 7caf7740..97cb591c 100644 --- a/src/actions/getScheduledUpgrade.ts +++ b/src/actions/getScheduledUpgrade.ts @@ -12,7 +12,7 @@ export type GetScheduledUpgradeReturnType = { scheduledForTimestamp: GetScheduledUpgradeRawReturnType[1]; }; -export async function getScheduledUpgrade( +export async function getScheduledUpgrade( client: PublicClient, ): Promise { const [arbosVersion, scheduledForTimestamp] = await client.readContract({ diff --git a/src/actions/isChainOwner.ts b/src/actions/isChainOwner.ts index ea118301..5ed2918e 100644 --- a/src/actions/isChainOwner.ts +++ b/src/actions/isChainOwner.ts @@ -10,7 +10,7 @@ export type IsChainOwnerReturnType = ReadContractReturnType< 'isChainOwner' >; -export async function isChainOwner( +export async function isChainOwner( client: PublicClient, args: IsChainOwnerParameters, ): Promise {