Record Class TransferKeyRequestedEvent
java.lang.Object
java.lang.Record
net.finmath.decryptionoracle.keys.service.dto.TransferKeyRequestedEvent
- Record Components:
contractAddress- contract address as string 0x...blockNumber- block number of eventtxHash- tx hashsender- sender of eventid- request idencryptedKey- encrypted key
public record TransferKeyRequestedEvent(String contractAddress, BigInteger blockNumber, String txHash, String sender, BigInteger id, String encryptedKey)
extends Record
TransferKeyRequestedEvent
-
Constructor Summary
ConstructorsConstructorDescriptionTransferKeyRequestedEvent(String contractAddress, BigInteger blockNumber, String txHash, String sender, BigInteger id, String encryptedKey) Creates an instance of aTransferKeyRequestedEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblockNumberrecord component.Returns the value of thecontractAddressrecord component.Returns the value of theencryptedKeyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.sender()Returns the value of thesenderrecord component.final StringtoString()Returns a string representation of this record class.txHash()Returns the value of thetxHashrecord component.
-
Constructor Details
-
TransferKeyRequestedEvent
public TransferKeyRequestedEvent(String contractAddress, BigInteger blockNumber, String txHash, String sender, BigInteger id, String encryptedKey) Creates an instance of aTransferKeyRequestedEventrecord class.- Parameters:
contractAddress- the value for thecontractAddressrecord componentblockNumber- the value for theblockNumberrecord componenttxHash- the value for thetxHashrecord componentsender- the value for thesenderrecord componentid- the value for theidrecord componentencryptedKey- the value for theencryptedKeyrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
contractAddress
Returns the value of thecontractAddressrecord component.- Returns:
- the value of the
contractAddressrecord component
-
blockNumber
Returns the value of theblockNumberrecord component.- Returns:
- the value of the
blockNumberrecord component
-
txHash
Returns the value of thetxHashrecord component.- Returns:
- the value of the
txHashrecord component
-
sender
Returns the value of thesenderrecord component.- Returns:
- the value of the
senderrecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
encryptedKey
Returns the value of theencryptedKeyrecord component.- Returns:
- the value of the
encryptedKeyrecord component
-