Skip to content
package

neo3.contracts

Core components for handling smart contracts. Contains the Manifest, Neo Executable Format (NEF) and utilities for obtaining a contract hash, extracting public keys etc.

module

neo3.contracts.abi

NEP-14 Application Binary Interface classes.

Classes
module

neo3.contracts.contract

Smart contract and account contract classes. Contains a list of all native contracts.

Attributes
  • CONTRACT_HASHES List of Neo's native contract hashes.
Classes
module

neo3.contracts.manifest

NEP-15 contract manifest classes for describing smart contract access control.

Classes
  • ContractGroup Describes a set of mutually trusted contracts.
  • ContractManifest A description of a smart contract's abilities (callable methods & events) as well as a set of restrictionsdescribing what external contracts and methods are allowed to be called.
  • ContractPermission Describes a single set of outgoing call restrictions for a System.Contract.Call SYSCALL.It describes what other smart contracts the executing contract is allowed to call and what exact methods on the other contract are allowed to be called. This is enforced during runtime.
  • ContractPermissionDescriptor A restriction object that limits the smart contract's calling abilities. Enforced at runtime.
  • WildcardContainer An internal helper class for ContractManifest attributes.
module

neo3.contracts.nef

Neo Executable Format.

Classes
  • MethodToken An interface like class supporting NEO's network serialization protocol.
  • NEF Neo Executable Format container.
module

neo3.contracts.utils

Contract utilities for determing the contract hash, contract types, extracting public keys and signing treshold and more.

Functions