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

