core: implement System.Contract.CreateStandardAccount syscall
This commit is contained in:
parent
5b4f38d717
commit
52a27e9be4
3 changed files with 35 additions and 0 deletions
|
@ -89,6 +89,7 @@ var systemInterops = []interop.Function{
|
|||
AllowedTriggers: trigger.System | trigger.Application, RequiredFlags: smartcontract.AllowCall},
|
||||
{Name: "System.Contract.Create", Func: contractCreate, Price: 0,
|
||||
AllowedTriggers: trigger.Application, RequiredFlags: smartcontract.AllowModifyStates},
|
||||
{Name: "System.Contract.CreateStandardAccount", Func: contractCreateStandardAccount, Price: 10000},
|
||||
{Name: "System.Contract.Destroy", Func: contractDestroy, Price: 1000000,
|
||||
AllowedTriggers: trigger.Application, RequiredFlags: smartcontract.AllowModifyStates},
|
||||
{Name: "System.Contract.IsStandard", Func: contractIsStandard, Price: 30000},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue