AccountableRedemptionTicket
Documentation for eth_defi.erc_4626.vault_protocol.accountable.deposit_redeem.AccountableRedemptionTicket Python class.
- class AccountableRedemptionTicket
Bases:
eth_defi.vault.deposit_redeem.RedemptionTicketPersisted Accountable redemption request identity.
Accountable’s later claimability getters are controller aggregates. The request id is retained for audit and event discovery. The public manager auto-claims only self-controlled tickets to their owner because the contract exposes controller-level, rather than request-level, balances.
Attributes summary
Queue id emitted by
RedeemRequest.ERC-7540 controller that owns the aggregate pending and claimable state.
Block that emitted the request event.
Naive UTC timestamp of the request block.
ownerraw_sharestotx_hashvault_addressMethods summary
__init__(vault_address, owner, to, ...)Return the Accountable queue id.
- request_id: int
Queue id emitted by
RedeemRequest. Zero denotes instant fulfilment.
- controller: eth_typing.evm.HexAddress
ERC-7540 controller that owns the aggregate pending and claimable state.
- block_number: int
Block that emitted the request event.
- block_timestamp: datetime.datetime
Naive UTC timestamp of the request block.
- get_request_id()
Return the Accountable queue id.
- Returns
Request id emitted by the vault.
- Return type
- __init__(vault_address, owner, to, raw_shares, tx_hash, request_id, controller, block_number, block_timestamp)
- Parameters
vault_address (eth_typing.evm.HexAddress) –
owner (eth_typing.evm.HexAddress) –
to (eth_typing.evm.HexAddress) –
raw_shares (int) –
tx_hash (hexbytes.main.HexBytes) –
request_id (int) –
controller (eth_typing.evm.HexAddress) –
block_number (int) –
block_timestamp (datetime.datetime) –
- Return type
None