| Package | Description |
|---|---|
| ch.epfl.dedis.lib.omniledger | |
| ch.epfl.dedis.lib.omniledger.contracts |
| Modifier and Type | Method and Description |
|---|---|
List<Argument> |
Spawn.getArguments()
Getter for the arguments.
|
List<Argument> |
Invoke.getArguments()
Getter for the arguments
|
static List<Argument> |
Argument.NewList(String key,
byte[] value) |
static List<Argument> |
Argument.NewList(String key,
String value) |
| Constructor and Description |
|---|
Invoke(String command,
List<Argument> arguments)
Constructor for the invoke action.
|
Spawn(String contractId,
List<Argument> arguments)
Constructor for the spawn action.
|
| Modifier and Type | Method and Description |
|---|---|
TransactionId |
DarcInstance.spawnContract(String contractID,
Signer s,
List<Argument> args)
Like spawnContractInstruction, but creates a ClientTransaction with only this instruction and sends it
to the omniledger.
|
Proof |
DarcInstance.spawnContractAndWait(String contractID,
Signer s,
List<Argument> args)
Like spawnContract but waits for the instance to be stored in omniledger.
|
Instruction |
DarcInstance.spawnContractInstruction(String contractID,
Signer s,
List<Argument> args,
int pos,
int len)
Creates an instruction for spawning a contract.
|
Copyright © 2018. All rights reserved.