Function matchesAbiFromBytecode
- matchesAbiFromBytecode(contractBytecode, featureAbis): boolean
Parameters
contractBytecode: string
featureAbis: readonly objectInputType<{
inputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
outputs: ZodDefault<ZodArray<ZodObject<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
components: ZodOptional<ZodArray<ZodObject<{
name: ZodDefault<ZodString>;
type: ZodString;
}, "strip", ZodAny, objectOutputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">, objectInputType<{
name: ZodDefault<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
name: ZodDefault<ZodString>;
stateMutability: ZodOptional<ZodString>;
type: ZodString;
}, ZodAny, "strip">>, "many">>;
type: ZodString;
}, ZodAny, "strip">[][]
Returns boolean