diff --git a/src/actions/hasRole.ts b/src/actions/hasRole.ts index c6f5a8a9..b96b1af6 100644 --- a/src/actions/hasRole.ts +++ b/src/actions/hasRole.ts @@ -1,18 +1,13 @@ import { Address, Chain, PublicClient, ReadContractReturnType, Transport } from 'viem'; import { upgradeExecutor } from '../contracts'; -import { ActionParameters } from '../types/Actions'; import { UpgradeExecutorRole } from '../upgradeExecutorEncodeFunctionData'; -type Args = { +type UpgradeExecutorABI = typeof upgradeExecutor.abi; +export type HasRoleParameters = { + upgradeExecutor: Address; role: UpgradeExecutorRole; address: Address; }; -type UpgradeExecutorABI = typeof upgradeExecutor.abi; -export type HasRoleParameters = ActionParameters< - Args, - 'upgradeExecutor', - Curried ->; export type HasRoleReturnType = ReadContractReturnType;