Skip to content

Native Contracts Overview

Back to Native Contracts

Overview

NameScript HashPurposeDevpack Wrapper
NEO0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5Governance token, voting, validatorsNativeCalls.neo*
GAS0xd2a4cff31913016155e38e474a2c06d08be276cfUtility/fee tokenNativeCalls.gas*
ContractManagement0xfffdc93764dbaddd97c48f252a53ea4643faa3fdDeploy, update, destroy contractsNativeCalls.deployContract / updateContract / destroyContract
Policy0xcc5e4edd9f5f8dba8bb65734541df7a1c081c67bNetwork policy parametersNativeCalls.getFeePerByte / getExecFeeFactor / etc.
Oracle0xfe924b7cfe89ddd271abaf7210a80a7e11178758Off-chain data requestsNativeCalls.requestOracleData / OracleService.sol
RoleManagement0x49cf4e5378ffcd4dec034fd98a174c5491e395e2Node role designationNativeCalls.designateAsRole / getDesignatedByRole
Ledger0xda65b600f7124ce6c79950c1772a36403104f2beBlock and transaction queriesNativeCalls.currentIndex / getBlock / getTransaction
CryptoLib0x726cb6e0cd8628a1350a611384688911ab75f51bCryptographic operationsSyscalls.sha256 / neoKeccak256 / verifyWithECDsa
StdLib0xacce6fd80d44e1796aa0c2c625e9e4e0ce39efc0Serialization and encoding utilitiesSyscalls.serialize / base64Encode / itoa / etc.
Notary0xc1e14f19c3e60d0b9244d06dd7ba9b113135ec3bNotary service for multi-party transactionsNativeCalls.notary*
Treasury0x156326f25b1b5d839a4d326aeaa75383c9563ac1Treasury managementNativeCalls.treasury*

INFO

Script hashes shown above are big-endian hex (the format used by Neo RPC and block explorers). The devpack constants in NativeCalls.sol use the same format as Solidity address literals.


MIT Licensed