2020-08-14 10:50:52 +00:00
|
|
|
package interopnames
|
|
|
|
|
|
|
|
// Names of all used interops.
|
|
|
|
const (
|
2020-11-09 14:26:23 +00:00
|
|
|
SystemBinaryAtoi = "System.Binary.Atoi"
|
2020-08-23 14:19:56 +00:00
|
|
|
SystemBinaryBase58Decode = "System.Binary.Base58Decode"
|
|
|
|
SystemBinaryBase58Encode = "System.Binary.Base58Encode"
|
2020-08-14 10:50:52 +00:00
|
|
|
SystemBinaryBase64Decode = "System.Binary.Base64Decode"
|
|
|
|
SystemBinaryBase64Encode = "System.Binary.Base64Encode"
|
|
|
|
SystemBinaryDeserialize = "System.Binary.Deserialize"
|
2020-11-09 14:26:23 +00:00
|
|
|
SystemBinaryItoa = "System.Binary.Itoa"
|
2020-08-14 10:50:52 +00:00
|
|
|
SystemBinarySerialize = "System.Binary.Serialize"
|
|
|
|
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"
|
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
|
|
|
SystemJSONDeserialize = "System.Json.Deserialize"
|
|
|
|
SystemJSONSerialize = "System.Json.Serialize"
|
|
|
|
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"
|
|
|
|
SystemStoragePutEx = "System.Storage.PutEx"
|
|
|
|
SystemStorageAsReadOnly = "System.Storage.AsReadOnly"
|
|
|
|
NeoCryptoVerifyWithECDsaSecp256r1 = "Neo.Crypto.VerifyWithECDsaSecp256r1"
|
|
|
|
NeoCryptoVerifyWithECDsaSecp256k1 = "Neo.Crypto.VerifyWithECDsaSecp256k1"
|
|
|
|
NeoCryptoCheckMultisigWithECDsaSecp256r1 = "Neo.Crypto.CheckMultisigWithECDsaSecp256r1"
|
|
|
|
NeoCryptoCheckMultisigWithECDsaSecp256k1 = "Neo.Crypto.CheckMultisigWithECDsaSecp256k1"
|
|
|
|
NeoCryptoSHA256 = "Neo.Crypto.SHA256"
|
|
|
|
NeoCryptoRIPEMD160 = "Neo.Crypto.RIPEMD160"
|
|
|
|
)
|
2020-08-13 07:48:33 +00:00
|
|
|
|
|
|
|
var names = []string{
|
2020-11-09 14:26:23 +00:00
|
|
|
SystemBinaryAtoi,
|
2020-08-23 14:19:56 +00:00
|
|
|
SystemBinaryBase58Decode,
|
|
|
|
SystemBinaryBase58Encode,
|
2020-08-13 07:48:33 +00:00
|
|
|
SystemBinaryBase64Decode,
|
|
|
|
SystemBinaryBase64Encode,
|
|
|
|
SystemBinaryDeserialize,
|
2020-11-09 14:26:23 +00:00
|
|
|
SystemBinaryItoa,
|
2020-08-13 07:48:33 +00:00
|
|
|
SystemBinarySerialize,
|
|
|
|
SystemCallbackCreate,
|
|
|
|
SystemCallbackCreateFromMethod,
|
|
|
|
SystemCallbackCreateFromSyscall,
|
|
|
|
SystemCallbackInvoke,
|
|
|
|
SystemContractCall,
|
2020-12-13 16:10:59 +00:00
|
|
|
SystemContractCallNative,
|
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
|
|
|
SystemJSONDeserialize,
|
|
|
|
SystemJSONSerialize,
|
|
|
|
SystemRuntimeCheckWitness,
|
|
|
|
SystemRuntimeGasLeft,
|
|
|
|
SystemRuntimeGetCallingScriptHash,
|
|
|
|
SystemRuntimeGetEntryScriptHash,
|
|
|
|
SystemRuntimeGetExecutingScriptHash,
|
|
|
|
SystemRuntimeGetInvocationCounter,
|
|
|
|
SystemRuntimeGetNotifications,
|
|
|
|
SystemRuntimeGetScriptContainer,
|
|
|
|
SystemRuntimeGetTime,
|
|
|
|
SystemRuntimeGetTrigger,
|
|
|
|
SystemRuntimeLog,
|
|
|
|
SystemRuntimeNotify,
|
|
|
|
SystemRuntimePlatform,
|
|
|
|
SystemStorageDelete,
|
|
|
|
SystemStorageFind,
|
|
|
|
SystemStorageGet,
|
|
|
|
SystemStorageGetContext,
|
|
|
|
SystemStorageGetReadOnlyContext,
|
|
|
|
SystemStoragePut,
|
|
|
|
SystemStoragePutEx,
|
|
|
|
SystemStorageAsReadOnly,
|
|
|
|
NeoCryptoVerifyWithECDsaSecp256r1,
|
|
|
|
NeoCryptoVerifyWithECDsaSecp256k1,
|
|
|
|
NeoCryptoCheckMultisigWithECDsaSecp256r1,
|
|
|
|
NeoCryptoCheckMultisigWithECDsaSecp256k1,
|
|
|
|
NeoCryptoSHA256,
|
|
|
|
NeoCryptoRIPEMD160,
|
|
|
|
}
|