NaraRedemptionTicket

Documentation for eth_defi.erc_4626.vault_protocol.nara.deposit_redeem.NaraRedemptionTicket Python class.

class NaraRedemptionTicket

Bases: eth_defi.vault.deposit_redeem.RedemptionTicket

Persist 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

cooldown_end

Naive UTC deadline recorded by the vault after cooldownShares.

raw_assets

Raw NaraUSD assets escrowed for this cooldown.

owner

raw_shares

to

tx_hash

vault_address

Methods summary

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

get_request_id()

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

int

__init__(vault_address, owner, to, raw_shares, tx_hash, cooldown_end, raw_assets)
Parameters
Return type

None