Interface BaseWrappedContract<C>

interface BaseWrappedContract<C> {
    [ORIGINAL_CONTRACT]: Contract;
    address: Address;
    callStatic: C["callStatic"];
    estimateGas: C["estimateGas"];
    filters: C["filters"];
    functionFragmentsMapping: Record<keyof {
        [K in string | number | symbol as string extends K
            ? never
            : K]: true
    }, FunctionFragment>;
    functions: C["functions"];
    interface: Omit<C["interface"], "contractName">;
    metaCall: {
        [P in string | number | symbol]: MetaMethod<C, P>
    };
    multicall?: Multicall;
    multicallStatic: {
        [P in string | number | symbol]: MulticallStaticMethod<C, P>
    };
    populateTransaction: C["populateTransaction"];
    provider: C["provider"];
    queryFilter: C["queryFilter"];
    signer: C["signer"];
    attach(addressOrName): this;
    connect(signerOrProvider): this;
}

Type Parameters

  • C extends Contract = Contract

Hierarchy (view full)

Properties

[ORIGINAL_CONTRACT]: Contract
address: Address
callStatic: C["callStatic"]
estimateGas: C["estimateGas"]
filters: C["filters"]
functionFragmentsMapping: Record<keyof {
    [K in string | number | symbol as string extends K
        ? never
        : K]: true
}, FunctionFragment>
functions: C["functions"]
interface: Omit<C["interface"], "contractName">
metaCall: {
    [P in string | number | symbol]: MetaMethod<C, P>
}
multicall?: Multicall
multicallStatic: {
    [P in string | number | symbol]: MulticallStaticMethod<C, P>
}
populateTransaction: C["populateTransaction"]
provider: C["provider"]
queryFilter: C["queryFilter"]
signer: C["signer"]

Methods

Generated using TypeDoc