diff --git a/src/types/utils.ts b/src/types/utils.ts index b7494ef2..f093fc78 100644 --- a/src/types/utils.ts +++ b/src/types/utils.ts @@ -1,5 +1,4 @@ import { Abi } from 'viem'; -import { arbOwner } from '../contracts'; // https://twitter.com/mattpocockuk/status/1622730173446557697 export type Prettify = { @@ -10,16 +9,3 @@ export type GetFunctionName = Extract< TAbi[number], { type: 'function' } >['name']; - -export type ExtractReadFunctionsFromAbi = Extract< - TAbi[number], - { type: 'function'; stateMutability: 'view' | 'pure' } ->[]; - -export type ExtractWriteFunctionsFromAbi = Extract< - TAbi[number], - { type: 'function'; stateMutability: 'nonpayable' | 'payable' } ->[]; - -type X = GetFunctionName>; -type Y = GetFunctionName>;