object dars extends Helpful
- Annotations
- @Summary(s = "Manage DAR packages", flag = console.this.Help.Summary.<init>$default$2) @Group(name = "DAR Management")
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- dars
- Helpful
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def download(darHash: String, directory: String): Unit
- Annotations
- @Summary(s = "Downloads the DAR file with the given hash to the given directory", flag = console.this.Help.Summary.<init>$default$2)
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def help(methodName: String)(implicit consoleEnvironment: ConsoleEnvironment): Unit
- Definition Classes
- Helpful
- Annotations
- @Summary(s = "Help for specific commands (use help() or help(\"method\") for more information)", flag = console.this.Help.Summary.<init>$default$2) @Topic(t = Seq("Top-level Commands"))
- def help()(implicit consoleEnvironment: ConsoleEnvironment): Unit
- Definition Classes
- Helpful
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def list(limit: Option[Int] = None): Seq[DarDescription]
- Annotations
- @Summary(s = "List installed DAR files", flag = console.this.Help.Summary.<init>$default$2)
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def remove(darHash: String): Unit
- Annotations
- @Summary(s = "Remove a DAR from the participant", flag = FeatureFlag.Preview) @Description(s = """Can be used to remove a DAR from the participant, when:
| - The main package of the DAR is unused
| - Other packages in the DAR are either unused or found in another DAR
| - The main package of the DAR can be automatically un-vetted (or is already not vetted)
| """)
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def upload(path: String, vetAllPackages: Boolean = true, synchronizeVetting: Boolean = true): String
- Annotations
- @Summary(s = "Upload a Dar to Canton", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Daml code is normally shipped as a Dar archive and must explicitly be uploaded to a participant.
|A Dar is a collection of LF-packages, the native binary representation of Daml smart contracts.
|In order to use Daml templates on a participant, the Dar must first be uploaded and then
|vetted by the participant. Vetting will ensure that other participants can check whether they
|can actually send a transaction referring to a particular Daml package and participant.
|Vetting is done by registering a VettedPackages topology transaction with the topology manager.
|By default, vetting happens automatically and this command waits for
|the vetting transaction to be successfully registered on all connected domains.
|This is the safe default setting minimizing race conditions.
|
|If vetAllPackages is true (default), the packages will all be vetted on all domains the participant is registered.
|If synchronizeVetting is true (default), then the command will block until the participant has observed the vetting transactions to be registered with the domain.
|
|Note that synchronize vetting might block on permissioned domains that do not just allow participants to update the topology state.
|In such cases, synchronizeVetting should be turned off.
|Synchronize vetting can be invoked manually using $participant.package.synchronize_vettings()
|""")
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object sharing extends Helpful
- Annotations
- @Summary(s = "Share DARs with other participants", flag = FeatureFlag.Preview) @Group(name = "Sharing")