ape

ape.Contract(address: Union[str, ape.api.address.AddressAPI, ChecksumAddress], *, networks: NetworkManager = <NetworkManager, active_provider=None>, converters: ConversionManager = <ConversionManager>, contract_type: Optional[ethpm_types.contract_type.ContractType] = None)ape.api.address.AddressAPI

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

ape.Project = functools.partial(<class 'ape.managers.project.ProjectManager'>, config=<ConfigManager>, compilers=<CompilerManager len(registered_compilers)=3>, networks=<NetworkManager, active_provider=None>, converter=<ConversionManager>)

User-facing class for instantiating Projects (in addition to the currently active project). See ape.managers.project.ProjectManager.

ape.accounts = [<KeyfileAccount, address=0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf, alias=test>, <KeyfileAccount, address=0x339d7f78c0Ff73831FFaF9d844d777E580ACD4Ad, alias=gen0>, <TrezorAccount 0xD65740c38B7C862165D10Cc878aAB14cf6E12907>, <TrezorAccount 0xD65740c38B7C862165D10Cc878aAB14cf6E12907>, <TrezorAccount 0xD65740c38B7C862165D10Cc878aAB14cf6E12907>, <KeyringAccount 0x1e59ce931B4CFea3fe4B875411e280e173cB7A9C>, <KeyringAccount 0xE3747e6341E0d3430e6Ea9e2346cdDCc2F8a4b5b>, <KeyringAccount 0xc89D42189f0450C2b2c3c61f58Ec5d628176A1E7>, <KeyringAccount 0xAD01374213bde784752aDC51f3342Fc2AE030CC5>]

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)=3>

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

ape.config = <ConfigManager>

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 = <ProjectManager>

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