contractmanagement

ContractManagement()

A class used to represent the ContractManagement native contract.

Check out Neo’s Documentation to learn more about the ContractManagement class.

Deprecated since version 1.3.0: This module is deprecated. Use boa3.sc.contracts instead

class Contract

Bases: object

Represents a contract that can be invoked.

Check out Neo’s Documentation to learn about Smart Contracts.

Variables:
  • id (int) – the serial number of the contract

  • update_counter (int) – the number of times the contract was updated

  • hash (boa3.builtin.type.UInt160) – the hash of the contract

  • nef (bytes) – the serialized Neo Executable Format (NEF) object holding of the smart contract code and compiler information

  • manifest (boa3.builtin.interop.contract.ContractManifest) – the manifest of the contract