DepositRedeemEventFailure
Documentation for eth_defi.vault.deposit_redeem.DepositRedeemEventFailure Python class.
- class DepositRedeemEventFailure
Bases:
objectStructured failed-flow diagnostic returned by a vault manager.
Attributes summary
tx_hashrevert_reasonProtocol adapter that analysed the failed flow, when available.
Vault whose lifecycle was being processed, when available.
depositorredeemwhen the manager knows the direction.Lifecycle phase, such as
requestorclaim.Receipt status when it was available to the analyser.
Methods summary
__init__(tx_hash, revert_reason[, protocol, ...])- protocol: Optional[str]
Protocol adapter that analysed the failed flow, when available.
- vault_address: Optional[eth_typing.evm.HexAddress]
Vault whose lifecycle was being processed, when available.
- direction: Optional[Literal['deposit', 'redeem']]
depositorredeemwhen the manager knows the direction.
- phase: Optional[str]
Lifecycle phase, such as
requestorclaim.
- receipt_status: Optional[int]
Receipt status when it was available to the analyser.
- __init__(tx_hash, revert_reason, protocol=None, vault_address=None, direction=None, phase=None, receipt_status=None)