ClosedDepositGuardValidation

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

class ClosedDepositGuardValidation

Bases: object

Evidence returned after GuardV0 accepts a closed-vault deposit call.

This proves GuardV0 compatibility of independently validated manager calls. It does not prove an ERC-20 approval sequence, a successful vault deposit or a minted share balance.

Parameters
  • vault_address – Vault whose closed deposit preflight produced the call.

  • owner – Safe/SimpleVault address used as the deposit receiver.

  • raw_amount – Requested denomination amount in raw units.

  • closure_reason – Original typed closure prose retained for reporting.

  • preflight_result – Typed closure result which authorised validation-only construction.

  • calls – Manager-generated calls accepted by GuardV0.

Attributes summary

vault_address

Vault that remains closed to an actual deposit.

owner

Safe/SimpleVault used as deposit owner and receiver.

raw_amount

Raw denomination amount requested for the validated deposit flow.

closure_reason

Human-readable closure reason from the manager preflight.

preflight_result

Stable manager closure result, e.g.

calls

All calls which GuardV0 accepted independently.

Methods summary

__init__(vault_address, owner, raw_amount, ...)

vault_address: eth_typing.evm.HexAddress

Vault that remains closed to an actual deposit.

owner: eth_typing.evm.HexAddress

Safe/SimpleVault used as deposit owner and receiver.

raw_amount: int

Raw denomination amount requested for the validated deposit flow.

closure_reason: str

Human-readable closure reason from the manager preflight.

preflight_result: str

Stable manager closure result, e.g. deposit_closed.

calls: tuple[eth_defi.vault.deposit_redeem.GuardV0ValidationCall, ...]

All calls which GuardV0 accepted independently.

__init__(vault_address, owner, raw_amount, closure_reason, preflight_result, calls)
Parameters
Return type

None