Construct an executable command object around \a context and an \a identifier of organization governance mosaics.
The execution context.
The organization governance asset identifier.
The execution context.
The organization governance asset identifier.
This method MUST return a unique digital contract descriptor which includes:
Items are joined with the :
operator and attached to a
so-called execution proof transaction.
This method MUST return the digital contract name, e.g. "CreateDAO" or "CreateVote", etc.
This method MUST return a transaction taxonomy.
This method MUST return a list of unsigned transactions.
Transactions returned here will then be wrapped inside a
transaction URI in the execute()
method.
Given the execution of a contract, returns the resulting transactions list.
Asserts the allowance of actor
to execute the contract.
Asserts the presence of fields
in argv
.
Verifies allowance of \a actor to execute a contract with arguments \a argv. By default, this method returns true only if the actor is the target public account.
This method asserts the presence of mandatory arguments.
The actor is whom executes the contract.
The contract options (arguments).
Returns whether an actor is authorized to execute this contract.
Executes a digital contract with \a actor given \a argv contract options.
The actor is whom executes the contract.
The contract options (arguments).
Returns one transaction URI with all transactions.
Wraps the resulting transactions inside an aggregate bonded transaction. We will later refer to this transaction as the digital contract.
Prior to announcing this digital contract to a network, and waiting for it to be included in a new block, you must also announce a HashLockTransaction to allow the use of contracts.
Aggregate bonded transaction
Generated using TypeDoc
Governable.Executable
Governable
Contracts
v1.0.0
Abstract class that describes a digital contract. This is the base layer for defining an executable digital contract available to a DAO as defined in this package.