VaultRedemptionPreflight
Documentation for eth_defi.vault.deposit_redeem.VaultRedemptionPreflight Python class.
- class VaultRedemptionPreflight
Bases:
objectAmount-aware immediate-redemption guidance from a vault manager.
The result is advisory because capacity can change before a transaction is mined. The manager’s request constructor must repeat an available-capacity check before broadcasting. It is currently returned only by adapters that have an owner-specific immediate-capacity query, such as cSigma’s ERC-4626 maxRedeem.
Note
Trade-executor integrations must map an unavailable result, or a matching
VaultFlowUnavailablefrom request construction, to a capacity result before their generic receipt-analysis error handling.- Parameters
available – Whether the requested raw shares can be redeemed immediately.
requested_raw_shares – Requested vault-share amount in native units.
available_raw_shares – Current immediate capacity in native share units, when the adapter can determine it.
reason – Stable adapter reason when the request is unavailable.
Attributes summary
availablerequested_raw_sharesavailable_raw_sharesreasonMethods summary
__init__(available, requested_raw_shares[, ...])