ape

ape.Contract(address: Union[str, ChecksumAddress], contract_type: Optional[ethpm_types.contract_type.ContractType] = None) ape.api.address.BaseAddress

User-facing class for instantiating contracts. See ape.contracts.base._Contract.

ape.Project

alias of ape.managers.project.manager.ProjectManager

ape.accounts = []

Manages accounts for the current project. See ape.managers.accounts.AccountManager.

ape.chain = <ChainManager (disconnected)>

The current connected blockchain; requires an active provider. Useful for development purposes, such as controlling the state of the blockchain. Also handy for querying data about the chain and managing local caches.

ape.compilers = <CompilerManager len(registered_compilers)=1>

Manages compilers for the current project. See ape.managers.compilers.CompilerManager.

ape.config = <ConfigManager project=ape>

The active configs for the current project. See ape.managers.config.ConfigManager.

ape.convert(value: Any, type: Type) Any

Conversion utility function. See ape.managers.converters.ConversionManager.

ape.networks = <NetworkManager active_provider=None>

Manages the networks for the current project. See ape.managers.networks.NetworkManager.

ape.project = <ape.managers.project.manager.ProjectManager object>

The currently active project. See ape.managers.project.ProjectManager.