Skip to content

_BaseEVMContract

Description

The _BaseEVMContract class provides the base functionality for EVM contracts. It includes methods for handling contract deployment, execution, and interaction.

Methods

Properties

Examples

>>> import boa
>>> src = """
... @external
... def main():
...     pass
... """
>>> deployer = boa.loads_partial(src, name="Foo")
>>> contract = deployer.deploy()
>>> type(contract)
<class 'boa.vyper.contract.VyperContract'>