public class Spawn extends Object
| Constructor and Description |
|---|
Spawn(ByzCoinProto.Spawn proto) |
Spawn(String contractID,
List<Argument> arguments)
Constructor for the spawn action.
|
| Modifier and Type | Method and Description |
|---|---|
List<Argument> |
getArguments()
Getter for the arguments.
|
String |
getContractID()
Getter for contract ID.
|
ByzCoinProto.Spawn |
toProto()
Converts this object to the protobuf representation.
|
String |
toString() |
public Spawn(String contractID, List<Argument> arguments)
contractID - The contract ID.arguments - The initial arguments for running the contract.public Spawn(ByzCoinProto.Spawn proto)
public String getContractID()
public ByzCoinProto.Spawn toProto()
Copyright © 2019. All rights reserved.