Options
All
  • Public
  • Public/Protected
  • All
Menu
interface

Contract

package

Governable

subpackage

Kernel

since

v1.0.0

description

Interface that describes digital contracts.

Hierarchy

  • Contract

Implemented by

Index

Properties

context

context: Context
description

The contract execution context

descriptor

descriptor: string
description

The contract on-chain descriptor

name

name: string
description

The contract name

Methods

canExecute

execute

  • execute(actor: PublicAccount, argv: ContractOption[] | undefined): TransactionURI<Transaction>
  • Execute the contract with actor operator account. Arguments to the contract execution can be passed in argv.

    Parameters

    Returns TransactionURI<Transaction>

Generated using TypeDoc