Options
All
  • Public
  • Public/Protected
  • All
Menu

Update an existing dapp. An existing Dapp can only have its ABI, ContractAddr, Web3URL, & GuardianURL modified. Only works if the caller is the dapp's owner.

Index

Type aliases

Variables

Functions

Type aliases

Args

Args: AtLeastOne<Omit<Core, "DappName">>

Response

Response: MessageResponse

Result

Message will say something (not exactly) like, "Your dapp has been successfully updated."

Variables

Const HTTP

HTTP: PUT = "PUT"

Const Path

Path: DappPath = DappPath

Given a DappName, returns its fully scoped path

param

Functions

isArgs

  • isArgs(val: any): boolean
  • Type guard; only returns true if one of the valid Item.Core update attributes has been set.

    Parameters

    • val: any

    Returns boolean

newArgs

  • Factory to produce a sample Args object. As the argument only requires one to be set, this arg would set the Web3URL to a blank string.

    Returns Args

Generated using TypeDoc