Class Transfer
- java.lang.Object
-
- com.syntifi.casper.sdk.model.deploy.executabledeploy.Transfer
-
- All Implemented Interfaces:
EncodableValue
,ExecutableDeployItem
public class Transfer extends java.lang.Object implements ExecutableDeployItem
An AbstractExecutableDeployItem of Type Transfer containing the runtime args of the contract.- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Transfer.TransferBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Transfer.TransferBuilder
builder()
void
encode(CLValueEncoder clve, boolean encodeType)
Implements the Transfer encoderjava.util.List<NamedArg<?>>
getArgs()
List ofNamedArg
byte
getOrder()
ExecutableDeployItem
order 5void
setArgs(java.util.List<NamedArg<?>> args)
List ofNamedArg
-
-
-
Constructor Detail
-
Transfer
public Transfer()
-
Transfer
public Transfer(java.util.List<NamedArg<?>> args)
-
-
Method Detail
-
getOrder
public byte getOrder()
ExecutableDeployItem
order 5- Specified by:
getOrder
in interfaceExecutableDeployItem
-
encode
public void encode(CLValueEncoder clve, boolean encodeType) throws java.io.IOException, CLValueEncodeException, DynamicInstanceException, NoSuchTypeException
Implements the Transfer encoder- Specified by:
encode
in interfaceEncodableValue
- Parameters:
clve
- the encoder to be usedencodeType
- append encoded type?- Throws:
java.io.IOException
- thrown if an IO error occursCLValueEncodeException
- thrown if failed to encode a cl valueDynamicInstanceException
- thrown if it could not instantiate a typeNoSuchTypeException
- thrown if type not found
-
builder
public static Transfer.TransferBuilder builder()
-
-