deploy_safe_trading_strategy_module
Documentation for eth_defi.lagoon.deployment.deploy_safe_trading_strategy_module function.
- deploy_safe_trading_strategy_module(web3, deployer, safe, use_forge=False, etherscan_api_key=None)[source]
Deploy TradingStrategyModuleV0 for Safe and Lagoon.
- Parameters
use_forge – Deploy Etherscan verified build with Forge
deployer (eth_account.signers.local.LocalAccount) –
safe (safe_eth.safe.safe.Safe) –
- Returns
TradingStrategyModuleV0 instance
- Return type
web3.contract.contract.Contract