Show / Hide Table of Contents
Last modified: 2024-09-18

ContractManagement Class

Provides a series of methods for the native contract ContractManagement , which contract hash is 0xfffdc93764dbaddd97c48f252a53ea4643faa3fd .

Namespace: Neo.SmartContract.Framework.Native

Assembly: Neo.SmartContract.Framework

Syntax

public class ContractManagement

Properties

NameDescription
HashContract hash

Methods

NameDescription
GetMinimumDeploymentFee() Gets the minimum fee of contract deployment
GetContract(UInt160 hash) Gets the contract based on the given contract hash
GetContractById(int id) Maps the specified ID to the deployed contract
GetContractHashes() Gets the hashes of all non-native deployed contracts
Deploy(byte[] nefFile, string manifest) Deploys the contract
Update(byte[] nefFile, string manifest) Updates the contract
Destroy() Destroys the contract