LagoonAutomatedDeployment
Documentation for eth_defi.erc_4626.vault_protocol.lagoon.deployment.LagoonAutomatedDeployment Python class.
- class LagoonAutomatedDeployment
Bases:
objectCapture information of the lagoon automated deployment.
Have the deployment report for the users for diagnostics
Attributes summary
chain_idvaulttrading_strategy_moduleasset_managermultisig_ownersdeployerblock_numberparametersVault ABI file we use
In redeploy guard, the old module
Address of beacon proxy factory
How much ETH deployment used
safeMethods summary
__init__(chain_id, vault, ...[, ...])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
- pformat()
Return pretty print of deployment info.
- Return type
- __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
chain_id (int) –
vault (eth_defi.erc_4626.vault_protocol.lagoon.vault.LagoonVault) –
trading_strategy_module (web3.contract.contract.Contract) –
asset_manager (eth_typing.evm.HexAddress) –
multisig_owners (list[eth_typing.evm.HexAddress]) –
deployer (eth_typing.evm.HexAddress) –
block_number (eth_typing.evm.BlockNumber) –
parameters (eth_defi.erc_4626.vault_protocol.lagoon.deployment.LagoonDeploymentParameters) –
vault_abi (str) –
old_trading_strategy_module (web3.contract.contract.Contract | None) –
beacon_proxy_factory (Optional[eth_typing.evm.HexAddress]) –
gas_used (decimal.Decimal | None) –
- Return type
None