Skip to content

Native Contract Integration

Back to Runtime Specification

The embedded runtime includes a registry of Neo N3 native contracts:

ContractDescription
NEONEO governance token
GASGAS utility token
ContractManagementDeploy, update, and query contracts
PolicyNetwork fee policies
OracleOracle request service
RoleManagementNode role management
NotaryNotary service
TreasuryTreasury management
LedgerBlockchain data access
CryptoLibCryptographic functions
StdLibStandard library utilities

ContractManagement

The embedded runtime maintains a stateful in-memory contract registry that supports:

  • Deploy -- register a new contract with NEF and manifest
  • Update -- update an existing contract (increments update counter)
  • GetContract -- query contract metadata by hash

This registry persists within a single test execution and is used by both syscall-based and native contract calls.

MIT Licensed