Hierarchy (view full)

Constructors

Properties

compiled?: CompiledCode
compiler?: Compiler
deployer?: string | Connection
log: Console
source?: SourceCode
uploaded?: UploadedCode
uploader?: string | Connection

Methods

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

    Parameters

    • __namedParameters: {
          compiler?: Compiler;
          rebuild?: boolean;
      } = {}
      • Optional compiler?: Compiler
      • Optional 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?: 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