DepositRedeemEventFailure

Documentation for eth_defi.vault.deposit_redeem.DepositRedeemEventFailure Python class.

class DepositRedeemEventFailure

Bases: object

Structured failed-flow diagnostic returned by a vault manager.

Attributes summary

tx_hash

revert_reason

protocol

Protocol adapter that analysed the failed flow, when available.

vault_address

Vault whose lifecycle was being processed, when available.

direction

deposit or redeem when the manager knows the direction.

phase

Lifecycle phase, such as request or claim.

receipt_status

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']]

deposit or redeem when the manager knows the direction.

phase: Optional[str]

Lifecycle phase, such as request or claim.

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)
Parameters
Return type

None