Hierarchy (view full)

Constructors

Properties

compiled?: CompiledCode
compiler?: Program.Compiler
deployer?: string | Chain.Connection
source?: SourceCode
uploaded?: UploadedCode
uploader?: string | Chain.Connection

Methods

  • Compile this contract, unless a valid binary is present and a rebuild is not requested.

    Parameters

    • __namedParameters: {
          compiler?: Program.Compiler;
          rebuild?: boolean;
      } = {}

    Returns Promise<CompiledCode & {
        codeHash: string;
    }>

  • Upload this contract, unless a valid upload is present and a rebuild is not requested.

    Parameters

    • __namedParameters: {
          compiler?: Program.Compiler;
          rebuild?: boolean;
      } & {
          reupload?: boolean;
          uploadFee?: ICoin[] | "auto";
          uploadMemo?: string;
          uploadStore?: UploadStore;
      } & {
          reupload?: boolean;
          uploader?: string | {
              upload: ((code, options?) => Promise<UploadedCode & {
                  chainId: string;
                  codeId: string;
              }>);
          };
      } = {}

    Returns Promise<UploadedCode & {
        codeId: string;
    }>

Generated using TypeDoc