2020-08-14 10:50:52 +00:00
|
|
|
package interopnames
|
|
|
|
|
|
|
|
// Names of all used interops.
|
|
|
|
const (
|
2021-03-09 15:11:21 +00:00
|
|
|
SystemContractCall = "System.Contract.Call"
|
|
|
|
SystemContractCallNative = "System.Contract.CallNative"
|
|
|
|
SystemContractCreateMultisigAccount = "System.Contract.CreateMultisigAccount"
|
|
|
|
SystemContractCreateStandardAccount = "System.Contract.CreateStandardAccount"
|
|
|
|
SystemContractGetCallFlags = "System.Contract.GetCallFlags"
|
|
|
|
SystemContractNativeOnPersist = "System.Contract.NativeOnPersist"
|
|
|
|
SystemContractNativePostPersist = "System.Contract.NativePostPersist"
|
2021-05-11 13:32:09 +00:00
|
|
|
SystemCryptoCheckSig = "System.Crypto.CheckSig"
|
2021-05-11 14:13:33 +00:00
|
|
|
SystemCryptoCheckMultisig = "System.Crypto.CheckMultisig"
|
2021-03-09 15:11:21 +00:00
|
|
|
SystemIteratorNext = "System.Iterator.Next"
|
|
|
|
SystemIteratorValue = "System.Iterator.Value"
|
2021-04-29 08:33:21 +00:00
|
|
|
SystemRuntimeBurnGas = "System.Runtime.BurnGas"
|
2021-03-09 15:11:21 +00:00
|
|
|
SystemRuntimeCheckWitness = "System.Runtime.CheckWitness"
|
|
|
|
SystemRuntimeGasLeft = "System.Runtime.GasLeft"
|
2022-04-21 14:53:11 +00:00
|
|
|
SystemRuntimeGetAddressVersion = "System.Runtime.GetAddressVersion"
|
2021-03-09 15:11:21 +00:00
|
|
|
SystemRuntimeGetCallingScriptHash = "System.Runtime.GetCallingScriptHash"
|
|
|
|
SystemRuntimeGetEntryScriptHash = "System.Runtime.GetEntryScriptHash"
|
|
|
|
SystemRuntimeGetExecutingScriptHash = "System.Runtime.GetExecutingScriptHash"
|
|
|
|
SystemRuntimeGetInvocationCounter = "System.Runtime.GetInvocationCounter"
|
2021-07-06 11:20:25 +00:00
|
|
|
SystemRuntimeGetNetwork = "System.Runtime.GetNetwork"
|
2021-03-09 15:11:21 +00:00
|
|
|
SystemRuntimeGetNotifications = "System.Runtime.GetNotifications"
|
2021-07-14 12:05:28 +00:00
|
|
|
SystemRuntimeGetRandom = "System.Runtime.GetRandom"
|
2021-03-09 15:11:21 +00:00
|
|
|
SystemRuntimeGetScriptContainer = "System.Runtime.GetScriptContainer"
|
|
|
|
SystemRuntimeGetTime = "System.Runtime.GetTime"
|
|
|
|
SystemRuntimeGetTrigger = "System.Runtime.GetTrigger"
|
2022-09-29 13:10:47 +00:00
|
|
|
SystemRuntimeLoadScript = "System.Runtime.LoadScript"
|
2021-03-09 15:11:21 +00:00
|
|
|
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"
|
2020-08-14 10:50:52 +00:00
|
|
|
)
|
2020-08-13 07:48:33 +00:00
|
|
|
|
|
|
|
var names = []string{
|
|
|
|
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,
|
|
|
|
SystemContractGetCallFlags,
|
2020-12-13 18:36:06 +00:00
|
|
|
SystemContractNativeOnPersist,
|
|
|
|
SystemContractNativePostPersist,
|
2021-01-12 09:30:21 +00:00
|
|
|
SystemIteratorNext,
|
|
|
|
SystemIteratorValue,
|
2021-04-29 08:33:21 +00:00
|
|
|
SystemRuntimeBurnGas,
|
2020-08-13 07:48:33 +00:00
|
|
|
SystemRuntimeCheckWitness,
|
|
|
|
SystemRuntimeGasLeft,
|
2022-04-21 14:53:11 +00:00
|
|
|
SystemRuntimeGetAddressVersion,
|
2020-08-13 07:48:33 +00:00
|
|
|
SystemRuntimeGetCallingScriptHash,
|
|
|
|
SystemRuntimeGetEntryScriptHash,
|
|
|
|
SystemRuntimeGetExecutingScriptHash,
|
|
|
|
SystemRuntimeGetInvocationCounter,
|
2021-07-06 11:20:25 +00:00
|
|
|
SystemRuntimeGetNetwork,
|
2020-08-13 07:48:33 +00:00
|
|
|
SystemRuntimeGetNotifications,
|
2021-07-14 12:05:28 +00:00
|
|
|
SystemRuntimeGetRandom,
|
2020-08-13 07:48:33 +00:00
|
|
|
SystemRuntimeGetScriptContainer,
|
|
|
|
SystemRuntimeGetTime,
|
|
|
|
SystemRuntimeGetTrigger,
|
|
|
|
SystemRuntimeLog,
|
|
|
|
SystemRuntimeNotify,
|
|
|
|
SystemRuntimePlatform,
|
|
|
|
SystemStorageDelete,
|
|
|
|
SystemStorageFind,
|
|
|
|
SystemStorageGet,
|
|
|
|
SystemStorageGetContext,
|
|
|
|
SystemStorageGetReadOnlyContext,
|
|
|
|
SystemStoragePut,
|
|
|
|
SystemStorageAsReadOnly,
|
2021-05-11 14:13:33 +00:00
|
|
|
SystemCryptoCheckMultisig,
|
2021-05-11 13:32:09 +00:00
|
|
|
SystemCryptoCheckSig,
|
2020-08-13 07:48:33 +00:00
|
|
|
}
|