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, ...)

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_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.

Classes

LagoonAutomatedDeployment

Capture information of the lagoon automated deployment.

LagoonDeploymentParameters

Capture core parameters needed to deploy a Lagoon vault