Skip to main content

Type Alias: WriteContractsMethod<T, S, B>

type WriteContractsMethod<T, S, B>: { [K in B["name"]]: Function };

Type Parameters

Type ParameterDefault type

T extends ReadonlyArray< | AbiConstructor | AbiError | AbiEvent | AbiFallback | AbiFunction | AbiReceive>

S extends AbiStateMutability

"payable" | "nonpayable"

B extends AbiFunction

Extract<T[number], object>

Defined

@nilfoundation/niljs/src/types/utils.ts:143