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_managersvaluation_managermultisig_ownersdeployerblock_numberparametersvault_abisafe_addressold_trading_strategy_modulebeacon_proxy_factorygas_usedsafe_salt_noncewhitelisted_itemsGet the primary asset manager.
Whether this deployment is a satellite chain (Safe + guard only, no vault).
safeMethods summary
__init__(chain_id, vault, ...[, ...])format_whitelisted_items([indent])Format whitelisted items as a human-readable string.
Get JSON data describing the deployment.
is_asset_manager(address)pformat()Return pretty print of deployment info.
- __init__(chain_id, vault, trading_strategy_module, asset_managers, valuation_manager, multisig_owners, deployer, block_number, parameters, vault_abi, safe_address=None, old_trading_strategy_module=None, beacon_proxy_factory=None, gas_used=None, safe_salt_nonce=None, whitelisted_items=())
- Parameters
chain_id (int) –
vault (Union[eth_defi.erc_4626.vault_protocol.lagoon.vault.LagoonVault, eth_defi.erc_4626.vault_protocol.lagoon.vault.LagoonSatelliteVault]) –
trading_strategy_module (web3.contract.contract.Contract) –
asset_managers (tuple[eth_typing.evm.HexAddress, ...]) –
valuation_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) –
safe_address (eth_typing.evm.HexAddress) –
old_trading_strategy_module (Optional[web3.contract.contract.Contract]) –
beacon_proxy_factory (Optional[eth_typing.evm.HexAddress]) –
gas_used (Optional[decimal.Decimal]) –
whitelisted_items (tuple[eth_defi.erc_4626.vault_protocol.lagoon.deployment.WhitelistEntry, ...]) –
- Return type
None
- property asset_manager: eth_typing.evm.HexAddress
Get the primary asset manager.
Kept for backwards compatibility with single-key deployments.
- format_whitelisted_items(indent=' ')
Format whitelisted items as a human-readable string.
- get_deployment_data()
Get JSON data describing the deployment.
Store all addresses etc.
- Return type
- property is_satellite: bool
Whether this deployment is a satellite chain (Safe + guard only, no vault).
- pformat()
Return pretty print of deployment info.
- Return type