Skip to content

VyperDeployer

Description

The VyperDeployer class is responsible for deploying Vyper contracts. It handles the compilation of Vyper source code and provides methods to deploy contracts and interact with them.

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'>