NaraRedemptionTicket
Documentation for eth_defi.erc_4626.vault_protocol.nara.deposit_redeem.NaraRedemptionTicket Python class.
- class NaraRedemptionTicket
Bases:
eth_defi.vault.deposit_redeem.RedemptionTicketPersist a NaraUSD+ cooldown redemption request.
The vault keeps one active cooldown per owner and does not assign request identifiers, so the request transaction hash provides a stable identity. The observed cooldown state binds the ticket to that specific request.
Attributes summary
Naive UTC deadline recorded by the vault after
cooldownShares.Raw NaraUSD assets escrowed for this cooldown.
ownerraw_sharestotx_hashvault_addressMethods summary
__init__(vault_address, owner, to, ...)Return the request transaction hash as an integer identity.
- cooldown_end: datetime.datetime
Naive UTC deadline recorded by the vault after
cooldownShares.
- raw_assets: int
Raw NaraUSD assets escrowed for this cooldown.
- get_request_id()
Return the request transaction hash as an integer identity.
- Returns
Unique integer derived from the request transaction hash.
- Return type
- __init__(vault_address, owner, to, raw_shares, tx_hash, cooldown_end, raw_assets)
- 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) –
cooldown_end (datetime.datetime) –
raw_assets (int) –
- Return type
None