DecryptedTransferLog
Decoded SRC20 Transfer event with decrypted amount
Frozen dataclass representing a decoded SRC20 Transfer event with decrypted amount.
Solidity Event
event Transfer(
address indexed from,
address indexed to,
bytes32 indexed encryptKeyHash,
bytes encryptedAmount
)Definition
@dataclass(frozen=True)
class DecryptedTransferLog:
from_address: ChecksumAddress
to_address: ChecksumAddress
encrypt_key_hash: bytes
encrypted_amount: bytes
decrypted_amount: int
transaction_hash: HexBytes
block_number: intFields
Field
Type
Description
from_address
ChecksumAddress
Sender address
to_address
ChecksumAddress
Recipient address
encrypt_key_hash
bytes
32-byte keccak256 of viewing key
encrypted_amount
bytes
Raw AES-GCM ciphertext
decrypted_amount
int
Decrypted token amount
transaction_hash
HexBytes
Transaction hash
block_number
int
Block number
Example
See Also
DecryptedApprovalLog — Approval event data
Event Watching — Watch and decrypt events
Last updated

