Describe
Some contracts can be deployed to the same address on every chain, so it is much nicer to only have to specify them once in the config
Specification
Specify in config via:
[[tool.ape.deployments.deterministic]]
contract_type = "PullSplitFactory"
address = "0x5cbA88D55Cec83caD5A105Ad40C8c9aF20bE21d1"
Use it the same as with normal deployments:
$ ape console --network :mainnet
In[0]: factory = project.PullSplitFactory.deployments[0]
$ ape console --network :sepolia
In[0]: factory = project.PullSplitFactory.deployments[0]
Dependencies
No response