Interface ContractWithMethodsClass

Hierarchy

  • ContractWithMethodsClass

Constructors

Properties

Constructors

Properties

initialize: (<M>(__namedParameters) => Promise<Contract<M>>)

Type declaration

    • <M>(__namedParameters): Promise<Contract<M>>
    • Type Parameters

      Parameters

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

      Returns Promise<Contract<M>>

Generated using TypeDoc