Package com.casper.sdk.model.transaction
Class InitiatorPublicKey
- java.lang.Object
-
- com.casper.sdk.model.transaction.InitiatorAddr<PublicKey>
-
- com.casper.sdk.model.transaction.InitiatorPublicKey
-
- All Implemented Interfaces:
CasperSerializableObject,Tag,SerializableObject
public class InitiatorPublicKey extends InitiatorAddr<PublicKey>
The public key of the account that initiated the contract call.
-
-
Field Summary
-
Fields inherited from class com.casper.sdk.model.transaction.InitiatorAddr
ACCOUNT_HASH_TAG, ADDR_KEY_FIELD_INDEX, PUBLIC_KEY_TAG, TAG_FIELD_INDEX
-
-
Constructor Summary
Constructors Constructor Description InitiatorPublicKey()InitiatorPublicKey(PublicKey address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetByteTag()voidserialize(SerializerBuffer ser, Target target)Called when the object's values must be serialized-
Methods inherited from class com.casper.sdk.model.transaction.InitiatorAddr
getAddress, setAddress
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.casper.sdk.model.clvalue.serde.CasperSerializableObject
serialize
-
-
-
-
Constructor Detail
-
InitiatorPublicKey
public InitiatorPublicKey(PublicKey address)
-
InitiatorPublicKey
public InitiatorPublicKey()
-
-
Method Detail
-
getByteTag
public byte getByteTag()
-
serialize
public void serialize(SerializerBuffer ser, Target target) throws ValueSerializationException, NoSuchTypeException
Description copied from interface:CasperSerializableObjectCalled when the object's values must be serialized- Parameters:
ser- the serializer to be usedtarget- target serialization standard- Throws:
ValueSerializationException- exception holding information of failure to serialize a valueNoSuchTypeException
-
-