LagoonAutomatedDeployment

Documentation for eth_defi.erc_4626.vault_protocol.lagoon.deployment.LagoonAutomatedDeployment Python class.

class LagoonAutomatedDeployment

Bases: object

Capture information of the lagoon automated deployment.

  • Have the deployment report for the users for diagnostics

Attributes summary

chain_id

vault

trading_strategy_module

asset_manager

multisig_owners

deployer

block_number

parameters

vault_abi

Vault ABI file we use

old_trading_strategy_module

In redeploy guard, the old module

beacon_proxy_factory

Address of beacon proxy factory

gas_used

How much ETH deployment used

safe

Methods summary

__init__(chain_id, vault, ...[, ...])

get_deployment_data()

Get JSON data describing the deployment.

is_asset_manager(address)

pformat()

Return pretty print of deployment info.

vault_abi: str

Vault ABI file we use

old_trading_strategy_module: web3.contract.contract.Contract | None

In redeploy guard, the old module

beacon_proxy_factory: Optional[eth_typing.evm.HexAddress]

Address of beacon proxy factory

gas_used: decimal.Decimal | None

How much ETH deployment used

get_deployment_data()

Get JSON data describing the deployment.

Store all addresses etc.

Return type

dict

pformat()

Return pretty print of deployment info.

Return type

str

__init__(chain_id, vault, trading_strategy_module, asset_manager, multisig_owners, deployer, block_number, parameters, vault_abi, old_trading_strategy_module=None, beacon_proxy_factory=None, gas_used=None)
Parameters
Return type

None