Type alias PrimitiveTypeLookup<TAbiType, TAbiParameterKind>

PrimitiveTypeLookup<TAbiType, TAbiParameterKind>: {
    [_ in SolidityAddress]: ResolvedConfig["AddressType"]
} & {
    [_ in SolidityBool]: boolean
} & {
    [_ in SolidityBytes]: ResolvedConfig["BytesType"][TAbiParameterKind]
} & {
    [_ in SolidityFunction]: `${ResolvedConfig["AddressType"]}${string}`
} & {
    [_ in SolidityInt]: TAbiType extends `${"u" | ""}int${infer TBits}`
        ? TBits extends keyof BitsTypeLookup
            ? BitsTypeLookup[TBits]
            : Error<"Unknown bits value.">
        : Error<"Unknown 'SolidityInt' format.">
} & {
    [_ in SolidityString]: string
} & {
    [_ in SolidityTuple]: Record<string, unknown>
} & {
    [_ in SolidityArray]: readonly unknown[]
}

Type Parameters

Generated using TypeDoc