Function predictAddressDeterministic
- predictAddressDeterministic(bytecode, abi, provider, constructorArgs, saltForCreate2?): Promise<string>
Parameters
bytecode: string
abi: 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">[]
provider: Provider
constructorArgs: any[]
Optional
saltForCreate2: string
Returns Promise<string>