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
#
Syntaxpublic class ContractManagement
#
PropertiesName | Description |
---|---|
Hash | Contract hash |
#
MethodsName | Description |
---|---|
/docs/n3/reference/scapi/framework/native/ContractManagement/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 |