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
@Deprecated(forRemoval=false)
public record TransferKeyRequestedEvent(String contractAddress, BigInteger blockNumber, String txHash, String sender, BigInteger id, String encryptedKey)
extends Record
Deprecated.
Legacy pre-ERC-7573 transfer-key event DTO, retained for source compatibility.
The current listener decodes the request events declared by IKeyDecryptionOracle directly.
-
Constructor Summary
ConstructorsConstructorDescriptionTransferKeyRequestedEvent(String contractAddress, BigInteger blockNumber, String txHash, String sender, BigInteger id, String encryptedKey) Deprecated.Creates an instance of aTransferKeyRequestedEventrecord class. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the value of theblockNumberrecord component.Deprecated.Returns the value of thecontractAddressrecord component.Deprecated.Returns the value of theencryptedKeyrecord component.final booleanDeprecated.Indicates whether some other object is "equal to" this one.final inthashCode()Deprecated.Returns a hash code value for this object.id()Deprecated.Returns the value of theidrecord component.sender()Deprecated.Returns the value of thesenderrecord component.final StringtoString()Deprecated.Returns a string representation of this record class.txHash()Deprecated.Returns the value of thetxHashrecord component.
-
Constructor Details
-
TransferKeyRequestedEvent
public TransferKeyRequestedEvent(String contractAddress, BigInteger blockNumber, String txHash, String sender, BigInteger id, String encryptedKey) Deprecated.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
Deprecated.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()Deprecated.Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Deprecated.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
Deprecated.Returns the value of thecontractAddressrecord component.- Returns:
- the value of the
contractAddressrecord component
-
blockNumber
Deprecated.Returns the value of theblockNumberrecord component.- Returns:
- the value of the
blockNumberrecord component
-
txHash
Deprecated.Returns the value of thetxHashrecord component.- Returns:
- the value of the
txHashrecord component
-
sender
Deprecated.Returns the value of thesenderrecord component.- Returns:
- the value of the
senderrecord component
-
id
Deprecated.Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
encryptedKey
Deprecated.Returns the value of theencryptedKeyrecord component.- Returns:
- the value of the
encryptedKeyrecord component
-