Skip to content

Commit

Permalink
Cross reference deploy functions
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Feb 1, 2024
1 parent 4aba3b0 commit 7b7104c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions eth_defi/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ def deploy_contract(
token = deploy_contract(web3, deployer, "ERC20Mock.json", name, symbol, supply)
print(f"Deployed ERC-20 token at {token.address}")
If you need to verify the deployed contract use :py:func:`eth_defi.foundry.forge.deploy_contract_with_forge`.
:param web3:
Web3 instance
Expand Down
6 changes: 5 additions & 1 deletion eth_defi/foundry/forge.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,11 @@ def deploy_contract_with_forge(
Assumes standard Foundry project layout with foundry.toml, src and out.
See `Foundry book <https://book.getfoundry.sh/>`__ for more information.
See
- `Foundry book <https://book.getfoundry.sh/>`__ for more information
- :py:func:`eth_defi.deploy.deploy_contract` for simple, non-verified contract deployments
:param web3:
Web3 instance
Expand Down

0 comments on commit 7b7104c

Please sign in to comment.