core: update *.Contract.* interops
1. Remove GetScript, IsPayable, GetStorageContext.
2. Revert 82319538
related to GetStorageContext.
3. Rename Migrate to Update.
4. Move remaining to System.Contract.*.
Related #1031.
This commit is contained in:
parent
c69f8a2fa3
commit
f8a11f61b6
12 changed files with 18 additions and 119 deletions
|
@ -37,12 +37,9 @@ var syscalls = map[string]map[string]string{
|
|||
"GetTransactionHeight": "System.Blockchain.GetTransactionHeight",
|
||||
},
|
||||
"contract": {
|
||||
"GetScript": "Neo.Contract.GetScript",
|
||||
"IsPayable": "Neo.Contract.IsPayable",
|
||||
"Create": "Neo.Contract.Create",
|
||||
"Destroy": "Neo.Contract.Destroy",
|
||||
"Migrate": "Neo.Contract.Migrate",
|
||||
"GetStorageContext": "Neo.Contract.GetStorageContext",
|
||||
"Create": "System.Contract.Create",
|
||||
"Destroy": "System.Contract.Destroy",
|
||||
"Update": "System.Contract.Update",
|
||||
},
|
||||
"engine": {
|
||||
"GetScriptContainer": "System.ExecutionEngine.GetScriptContainer",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue