Class ContractEvent


  • public class ContractEvent
    extends java.lang.Object
    Representing a Contract's event information.
    • Constructor Summary

      Constructors 
      Constructor Description
      ContractEvent()
      Creates a ContractEvent instance.
      ContractEvent​(java.lang.String type, java.lang.String name, java.lang.String signature, java.util.List<ContractIOType> inputs)
      Creates a ContractEvent instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<ContractIOType> getInputs()
      Getter function for input.
      java.lang.String getName()
      Getter function for name.
      java.lang.String getSignature()
      Getter function for signature.
      java.lang.String getType()
      Getter function for type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContractEvent

        public ContractEvent()
        Creates a ContractEvent instance.
      • ContractEvent

        public ContractEvent​(java.lang.String type,
                             java.lang.String name,
                             java.lang.String signature,
                             java.util.List<ContractIOType> inputs)
        Creates a ContractEvent instance.
        Parameters:
        type - The input type. It always set "event"
        name - The event name
        signature - The event signature string.
        inputs - The list of ContractIOType contains to event parameter information.
    • Method Detail

      • getType

        public java.lang.String getType()
        Getter function for type.
        Returns:
        String
      • getName

        public java.lang.String getName()
        Getter function for name.
        Returns:
        String
      • getSignature

        public java.lang.String getSignature()
        Getter function for signature.
        Returns:
        String
      • getInputs

        public java.util.List<ContractIOType> getInputs()
        Getter function for input.
        Returns:
        List