interface ContractWithMethodsClass {
    new ContractWithMethodsClassnew <M>(options: {
        aci: Aci;
        address?: `ct_${string}`;
        bytecode?: `cb_${string}`;
        fileSystem?: Record<string, string>;
        name?: `${string}.chain`;
        onCompiler?: CompilerBase;
        onNode: Node;
        sourceCode?: string;
        sourceCodePath?: string;
    } & Partial<BuildTxOptions<ContractCallTx, "contractId" | "callData" | "callerId">> & {
        omitUnknown?: boolean;
    } & GetContractNameByEventOptions & Pick<Partial<SendTransactionOptions>, "onNode" | "onAccount"> & Omit<SendTransactionOptions, "onNode" | "onAccount"> & Omit<{
        combine?: boolean;
        onNode: Node;
        top?: number | `kh_${string}` | `mh_${string}`;
        txEvents?: boolean;
    }, "onNode"> & {
        callStatic?: boolean;
    } & Partial<BuildTxOptions<ContractCreateTx, "code" | "ownerId" | "callData">>): Contract<M>;
    initialize: (<M>(__namedParameters: Omit<{
        aci: Aci;
        address?: `ct_${string}`;
        bytecode?: `cb_${string}`;
        fileSystem?: Record<string, string>;
        name?: `${string}.chain`;
        onCompiler?: CompilerBase;
        onNode: Node;
        sourceCode?: string;
        sourceCodePath?: string;
    } & Partial<BuildTxOptions<ContractCallTx, "contractId" | "callData" | "callerId">> & {
        omitUnknown?: boolean;
    } & GetContractNameByEventOptions & Pick<Partial<SendTransactionOptions>, "onNode" | "onAccount"> & Omit<SendTransactionOptions, "onNode" | "onAccount"> & Omit<{
        combine?: boolean;
        onNode: Node;
        top?: number | `kh_${string}` | `mh_${string}`;
        txEvents?: boolean;
    }, "onNode"> & {
        callStatic?: boolean;
    } & Partial<BuildTxOptions<ContractCreateTx, "code" | "ownerId" | "callData">>, "address" | "aci"> & {
        aci?: Aci;
        address?: `${string}.chain` | `ct_${string}`;
        validateBytecode?: boolean;
    }) => Promise<Contract<M>>);
}

Constructors

Properties

Constructors

Properties

initialize: (<M>(__namedParameters: Omit<{
    aci: Aci;
    address?: `ct_${string}`;
    bytecode?: `cb_${string}`;
    fileSystem?: Record<string, string>;
    name?: `${string}.chain`;
    onCompiler?: CompilerBase;
    onNode: Node;
    sourceCode?: string;
    sourceCodePath?: string;
} & Partial<BuildTxOptions<ContractCallTx, "contractId" | "callData" | "callerId">> & {
    omitUnknown?: boolean;
} & GetContractNameByEventOptions & Pick<Partial<SendTransactionOptions>, "onNode" | "onAccount"> & Omit<SendTransactionOptions, "onNode" | "onAccount"> & Omit<{
    combine?: boolean;
    onNode: Node;
    top?: number | `kh_${string}` | `mh_${string}`;
    txEvents?: boolean;
}, "onNode"> & {
    callStatic?: boolean;
} & Partial<BuildTxOptions<ContractCreateTx, "code" | "ownerId" | "callData">>, "address" | "aci"> & {
    aci?: Aci;
    address?: `${string}.chain` | `ct_${string}`;
    validateBytecode?: boolean;
}) => Promise<Contract<M>>)