public enum InteropServiceCode extends java.lang.Enum<InteropServiceCode>
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHash()
Gets this
InteropServiceCode's hash (4 bytes) as a hex string. |
java.lang.String |
getName() |
long |
getPrice()
Get the price in fractions of GAS of this interop service.
|
long |
getPrice(int param)
Get the price in fractions of GAS of this interop service dependent on the given parameter.
|
java.lang.String |
toString() |
static InteropServiceCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InteropServiceCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InteropServiceCode SYSTEM_BINARY_SERIALIZE
public static final InteropServiceCode SYSTEM_BINARY_DESERIALIZE
public static final InteropServiceCode SYSTEM_BINARY_BASE64ENCODE
public static final InteropServiceCode SYSTEM_BINARY_BASE64DECODE
public static final InteropServiceCode SYSTEM_BINARY_BASE58ENCODE
public static final InteropServiceCode SYSTEM_BINARY_BASE58DECODE
public static final InteropServiceCode SYSTEM_BINARY_ITOA
public static final InteropServiceCode SYSTEM_BINARY_ATOI
public static final InteropServiceCode SYSTEM_BLOCKCHAIN_GETHEIGHT
public static final InteropServiceCode SYSTEM_BLOCKCHAIN_GETBLOCK
public static final InteropServiceCode SYSTEM_BLOCKCHAIN_GETTRANSACTION
public static final InteropServiceCode SYSTEM_BLOCKCHAIN_GETTRANSACTIONHEIGHT
public static final InteropServiceCode SYSTEM_BLOCKCHAIN_GETTRANSACTIONFROMBLOCK
public static final InteropServiceCode SYSTEM_CALLBACK_CREATE
public static final InteropServiceCode SYSTEM_CALLBACK_CREATEFROMMETHOD
public static final InteropServiceCode SYSTEM_CALLBACK_CREATEFROMSYSCALL
public static final InteropServiceCode SYSTEM_CALLBACK_INVOKE
public static final InteropServiceCode SYSTEM_CONTRACT_CALL
public static final InteropServiceCode SYSTEM_CONTRACT_CALLEX
public static final InteropServiceCode SYSTEM_CONTRACT_CALLNATIVE
public static final InteropServiceCode SYSTEM_CONTRACT_ISSTANDARD
public static final InteropServiceCode SYSTEM_CONTRACT_GETCALLFLAGS
public static final InteropServiceCode SYSTEM_CONTRACT_CREATESTANDARDACCOUNT
public static final InteropServiceCode SYSTEM_CONTRACT_NATIVEONPERSIST
public static final InteropServiceCode SYSTEM_CONTRACT_NATIVEPOSTPERSIST
public static final InteropServiceCode NEO_CRYPTO_RIPEMD160
public static final InteropServiceCode NEO_CRYPTO_SHA256
public static final InteropServiceCode NEO_CRYPTO_VERIFYWITHECDSASECP256R1
public static final InteropServiceCode NEO_CRYPTO_VERIFYWITHECDSASECP256K1
public static final InteropServiceCode NEO_CRYPTO_CHECKMULTISIGWITHECDSASECP256R1
public static final InteropServiceCode NEO_CRYPTO_CHECKMULTISIGWITHECDSASECP256K1
public static final InteropServiceCode SYSTEM_ENUMERATOR_CREATE
public static final InteropServiceCode SYSTEM_ENUMERATOR_NEXT
public static final InteropServiceCode SYSTEM_ENUMERATOR_VALUE
public static final InteropServiceCode SYSTEM_ENUMERATOR_CONCAT
public static final InteropServiceCode SYSTEM_ITERATOR_CREATE
public static final InteropServiceCode SYSTEM_ITERATOR_KEY
public static final InteropServiceCode SYSTEM_ITERATOR_KEYS
public static final InteropServiceCode SYSTEM_ITERATOR_VALUES
public static final InteropServiceCode SYSTEM_ITERATOR_CONCAT
public static final InteropServiceCode SYSTEM_JSON_SERIALIZE
public static final InteropServiceCode SYSTEM_JSON_DESERIALIZE
public static final InteropServiceCode SYSTEM_RUNTIME_PLATFORM
public static final InteropServiceCode SYSTEM_RUNTIME_GETTRIGGER
public static final InteropServiceCode SYSTEM_RUNTIME_GETTIME
public static final InteropServiceCode SYSTEM_RUNTIME_GETSCRIPTCONTAINER
public static final InteropServiceCode SYSTEM_RUNTIME_GETEXECUTINGSCRIPTHASH
public static final InteropServiceCode SYSTEM_RUNTIME_GETCALLINGSCRIPTHASH
public static final InteropServiceCode SYSTEM_RUNTIME_GETENTRYSCRIPTHASH
public static final InteropServiceCode SYSTEM_RUNTIME_CHECKWITNESS
public static final InteropServiceCode SYSTEM_RUNTIME_GETINVOCATIONCOUNTER
public static final InteropServiceCode SYSTEM_RUNTIME_LOG
public static final InteropServiceCode SYSTEM_RUNTIME_NOTIFY
public static final InteropServiceCode SYSTEM_RUNTIME_GETNOTIFICATIONS
public static final InteropServiceCode SYSTEM_RUNTIME_GASLEFT
public static final InteropServiceCode SYSTEM_STORAGE_GETCONTEXT
public static final InteropServiceCode SYSTEM_STORAGE_GETREADONLYCONTEXT
public static final InteropServiceCode SYSTEM_STORAGE_ASREADONLY
public static final InteropServiceCode SYSTEM_STORAGE_GET
public static final InteropServiceCode SYSTEM_STORAGE_FIND
public static final InteropServiceCode SYSTEM_STORAGE_PUT
public static final InteropServiceCode SYSTEM_STORAGE_PUTEX
public static final InteropServiceCode SYSTEM_STORAGE_DELETE
public static InteropServiceCode[] values()
for (InteropServiceCode c : InteropServiceCode.values()) System.out.println(c);
public static InteropServiceCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public java.lang.String getHash()
InteropServiceCode's hash (4 bytes) as a hex string.public long getPrice()
For some interop service the price depends on an additional parameter. In that case use
getPrice(int).
java.lang.UnsupportedOperationException - if this interop service has a dynamic price.public long getPrice(int param)
If the interop service has a fixed price, the parameter is simply ignored and the fixed price is returned.
param - The parameter representing the interop service codepublic java.lang.String toString()
toString in class java.lang.Enum<InteropServiceCode>