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
#
AttributesName | Description |
---|---|
Hash | Contract hash |
#
MethodsName | Description |
---|---|
GetMinimumDeploymentFee() | Gets the minimum fee of contract deployment |
GetContract(UInt160 hash) | Gets the contract based on the given contract hash |
Deploy(byte[] nefFile, string manifest) | Deploys the contract |
Update(byte[] nefFile, string manifest) | Updates the contract |
Destroy() | Destroys the contract |