lagoon.deployment

Documentation for eth_defi.lagoon.deployment Python module.

Backwards-compatible import shim for eth_defi.lagoon.deployment.

This module has been moved to eth_defi.erc_4626.vault_protocol.lagoon.deployment. This shim provides backwards compatibility for existing code.

Functions

deploy_automated_lagoon_vault(*, web3, deployer)

Deploy a full Lagoon setup with a guard.

deploy_fresh_lagoon_protocol(web3, deployer, ...)

Deploy a fresh Lagoon implementation from the scratch.

deploy_lagoon(web3, deployer, safe, ...[, ...])

Deploy a new Lagoon vault.

deploy_lagoon_protocol_registry(web3, ...[, ...])

Deploy a fee registry contract.

deploy_multichain_lagoon_vault(*, ...[, ...])

Deploy Lagoon vaults across multiple chains with a shared deterministic Safe.

deploy_safe_trading_strategy_module(web3, ...)

Deploy TradingStrategyModuleV0 for Safe and Lagoon.

setup_guard(*, web3, safe, deployer, owner, ...)

Setups up TradingStrategyModuleV0 guard on the Lagoon vault.

should_enable_hypercore_guard(*, chain_id, ...)

Should Hypercore guard support be enabled for this deployment.

Classes

LagoonAutomatedDeployment

Capture information of the lagoon automated deployment.

LagoonConfig

Configuration for Lagoon vault deployment.

LagoonDeploymentParameters

Capture core parameters needed to deploy a Lagoon vault

LagoonMultichainDeployment

Result of deploying Lagoon vaults across multiple chains with a shared deterministic Safe.

WhitelistEntry

A single guard whitelist entry recorded during deployment.