AccountableRedemptionTicket

Documentation for eth_defi.erc_4626.vault_protocol.accountable.deposit_redeem.AccountableRedemptionTicket Python class.

class AccountableRedemptionTicket

Bases: eth_defi.vault.deposit_redeem.RedemptionTicket

Persisted 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

request_id

Queue id emitted by RedeemRequest.

controller

ERC-7540 controller that owns the aggregate pending and claimable state.

block_number

Block that emitted the request event.

block_timestamp

Naive UTC timestamp of the request block.

owner

raw_shares

to

tx_hash

vault_address

Methods summary

__init__(vault_address, owner, to, ...)

get_request_id()

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

int

__init__(vault_address, owner, to, raw_shares, tx_hash, request_id, controller, block_number, block_timestamp)
Parameters
Return type

None