2020-08-14 10:50:52 +00:00
|
|
|
package interopnames
|
|
|
|
|
|
|
|
// Names of all used interops.
|
|
|
|
const (
|
|
|
|
SystemCallbackCreate = "System.Callback.Create"
|
|
|
|
SystemCallbackCreateFromMethod = "System.Callback.CreateFromMethod"
|
|
|
|
SystemCallbackCreateFromSyscall = "System.Callback.CreateFromSyscall"
|
|
|
|
SystemCallbackInvoke = "System.Callback.Invoke"
|
|
|
|
SystemContractCall = "System.Contract.Call"
|
2020-12-13 16:10:59 +00:00
|
|
|
SystemContractCallNative = "System.Contract.CallNative"
|
2021-02-18 17:29:14 +00:00
|
|
|
SystemContractCreateMultisigAccount = "System.Contract.CreateMultisigAccount"
|
2020-08-14 10:50:52 +00:00
|
|
|
SystemContractCreateStandardAccount = "System.Contract.CreateStandardAccount"
|
|
|
|
SystemContractIsStandard = "System.Contract.IsStandard"
|
|
|
|
SystemContractGetCallFlags = "System.Contract.GetCallFlags"
|
2020-12-13 18:36:06 +00:00
|
|
|
SystemContractNativeOnPersist = "System.Contract.NativeOnPersist"
|
|
|
|
SystemContractNativePostPersist = "System.Contract.NativePostPersist"
|
2020-08-14 10:50:52 +00:00
|
|
|
SystemIteratorCreate = "System.Iterator.Create"
|
2021-01-12 09:30:21 +00:00
|
|
|
SystemIteratorNext = "System.Iterator.Next"
|
|
|
|
SystemIteratorValue = "System.Iterator.Value"
|
2020-08-14 10:50:52 +00:00
|
|
|
SystemRuntimeCheckWitness = "System.Runtime.CheckWitness"
|
|
|
|
SystemRuntimeGasLeft = "System.Runtime.GasLeft"
|
|
|
|
SystemRuntimeGetCallingScriptHash = "System.Runtime.GetCallingScriptHash"
|
|
|
|
SystemRuntimeGetEntryScriptHash = "System.Runtime.GetEntryScriptHash"
|
|
|
|
SystemRuntimeGetExecutingScriptHash = "System.Runtime.GetExecutingScriptHash"
|
|
|
|
SystemRuntimeGetInvocationCounter = "System.Runtime.GetInvocationCounter"
|
|
|
|
SystemRuntimeGetNotifications = "System.Runtime.GetNotifications"
|
|
|
|
SystemRuntimeGetScriptContainer = "System.Runtime.GetScriptContainer"
|
|
|
|
SystemRuntimeGetTime = "System.Runtime.GetTime"
|
|
|
|
SystemRuntimeGetTrigger = "System.Runtime.GetTrigger"
|
|
|
|
SystemRuntimeLog = "System.Runtime.Log"
|
|
|
|
SystemRuntimeNotify = "System.Runtime.Notify"
|
|
|
|
SystemRuntimePlatform = "System.Runtime.Platform"
|
|
|
|
SystemStorageDelete = "System.Storage.Delete"
|
|
|
|
SystemStorageFind = "System.Storage.Find"
|
|
|
|
SystemStorageGet = "System.Storage.Get"
|
|
|
|
SystemStorageGetContext = "System.Storage.GetContext"
|
|
|
|
SystemStorageGetReadOnlyContext = "System.Storage.GetReadOnlyContext"
|
|
|
|
SystemStoragePut = "System.Storage.Put"
|
|
|
|
SystemStorageAsReadOnly = "System.Storage.AsReadOnly"
|
|
|
|
NeoCryptoCheckMultisigWithECDsaSecp256r1 = "Neo.Crypto.CheckMultisigWithECDsaSecp256r1"
|
|
|
|
NeoCryptoCheckMultisigWithECDsaSecp256k1 = "Neo.Crypto.CheckMultisigWithECDsaSecp256k1"
|
2021-03-04 17:56:54 +00:00
|
|
|
NeoCryptoCheckSig = "Neo.Crypto.CheckSig"
|
2020-08-14 10:50:52 +00:00
|
|
|
)
|
2020-08-13 07:48:33 +00:00
|
|
|
|
|
|
|
var names = []string{
|
|
|
|
SystemCallbackCreate,
|
|
|
|
SystemCallbackCreateFromMethod,
|
|
|
|
SystemCallbackCreateFromSyscall,
|
|
|
|
SystemCallbackInvoke,
|
|
|
|
SystemContractCall,
|
2020-12-13 16:10:59 +00:00
|
|
|
SystemContractCallNative,
|
2021-02-18 17:29:14 +00:00
|
|
|
SystemContractCreateMultisigAccount,
|
2020-08-13 07:48:33 +00:00
|
|
|
SystemContractCreateStandardAccount,
|
|
|
|
SystemContractIsStandard,
|
|
|
|
SystemContractGetCallFlags,
|
2020-12-13 18:36:06 +00:00
|
|
|
SystemContractNativeOnPersist,
|
|
|
|
SystemContractNativePostPersist,
|
2020-08-13 07:48:33 +00:00
|
|
|
SystemIteratorCreate,
|
2021-01-12 09:30:21 +00:00
|
|
|
SystemIteratorNext,
|
|
|
|
SystemIteratorValue,
|
2020-08-13 07:48:33 +00:00
|
|
|
SystemRuntimeCheckWitness,
|
|
|
|
SystemRuntimeGasLeft,
|
|
|
|
SystemRuntimeGetCallingScriptHash,
|
|
|
|
SystemRuntimeGetEntryScriptHash,
|
|
|
|
SystemRuntimeGetExecutingScriptHash,
|
|
|
|
SystemRuntimeGetInvocationCounter,
|
|
|
|
SystemRuntimeGetNotifications,
|
|
|
|
SystemRuntimeGetScriptContainer,
|
|
|
|
SystemRuntimeGetTime,
|
|
|
|
SystemRuntimeGetTrigger,
|
|
|
|
SystemRuntimeLog,
|
|
|
|
SystemRuntimeNotify,
|
|
|
|
SystemRuntimePlatform,
|
|
|
|
SystemStorageDelete,
|
|
|
|
SystemStorageFind,
|
|
|
|
SystemStorageGet,
|
|
|
|
SystemStorageGetContext,
|
|
|
|
SystemStorageGetReadOnlyContext,
|
|
|
|
SystemStoragePut,
|
|
|
|
SystemStorageAsReadOnly,
|
|
|
|
NeoCryptoCheckMultisigWithECDsaSecp256r1,
|
|
|
|
NeoCryptoCheckMultisigWithECDsaSecp256k1,
|
2021-03-04 17:56:54 +00:00
|
|
|
NeoCryptoCheckSig,
|
2020-08-13 07:48:33 +00:00
|
|
|
}
|