Skip to content

__call__

Signature

def __call__(self, *args, **kwargs)

Description

Allows the instance to be called like a function to deploy the contract.

  • *args: Arguments to pass to the constructor.
  • **kwargs: Keyword arguments to pass to the deploy method.

Examples

>>> deployer = VVMDeployer(abi, bytecode, filename)
>>> contract = deployer(arg1, arg2)