deploy_lagoon_protocol_registry
Documentation for eth_defi.lagoon.deployment.deploy_lagoon_protocol_registry function.
- deploy_lagoon_protocol_registry(web3, deployer, safe, broadcast_func, etherscan_api_key=None, verifier=None, verifier_url=None, cache_dir=None, deploy_retries=1)
Deploy a fee registry contract.
This is referred by all Lagoon deployments
- Parameters
web3 (web3.main.Web3) –
deployer (eth_defi.hotwallet.HotWallet) –
safe (safe_eth.safe.safe.Safe) –
broadcast_func (Callable) –
etherscan_api_key (str) –
verifier (Optional[Literal['etherscan', 'blockscout', 'sourcify', 'oklink']]) –
cache_dir (Optional[pathlib.Path]) –
deploy_retries (int) –
- Return type
web3.contract.contract.Contract