A B C D E F G H I K L N O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- A_BOOLEAN - Static variable in class org.aion.avm.userlib.abi.ABIToken
- A_BYTE - Static variable in class org.aion.avm.userlib.abi.ABIToken
- A_CHAR - Static variable in class org.aion.avm.userlib.abi.ABIToken
- A_DOUBLE - Static variable in class org.aion.avm.userlib.abi.ABIToken
- A_FLOAT - Static variable in class org.aion.avm.userlib.abi.ABIToken
- A_INT - Static variable in class org.aion.avm.userlib.abi.ABIToken
- A_LONG - Static variable in class org.aion.avm.userlib.abi.ABIToken
- A_SHORT - Static variable in class org.aion.avm.userlib.abi.ABIToken
- ABIDecoder - Class in org.aion.avm.userlib.abi
-
Utility class for AVM ABI decoding.
- ABIDecoder(byte[]) - Constructor for class org.aion.avm.userlib.abi.ABIDecoder
-
Creates a new decoder, initialized to point to the beginning of the input data.
- ABIEncoder - Class in org.aion.avm.userlib.abi
-
Utility class for AVM ABI encoding.
- ABIException - Exception in org.aion.avm.userlib.abi
-
General exception thrown when ABI classes are used incorrectly.
- ABIException() - Constructor for exception org.aion.avm.userlib.abi.ABIException
- ABIException(String) - Constructor for exception org.aion.avm.userlib.abi.ABIException
- ABIStreamingEncoder - Class in org.aion.avm.userlib.abi
-
Utility class for AVM ABI encoding.
- ABIStreamingEncoder() - Constructor for class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Creates a new encoder, and sets the buffer size to 64 KiB.
- ABIStreamingEncoder(byte[]) - Constructor for class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Creates a new encoder, which writes into the provided array.
- ABIToken - Class in org.aion.avm.userlib.abi
-
Identifiers of the tokens the ABI uses to describe extents of data in a serialized stream.
- ABIToken() - Constructor for class org.aion.avm.userlib.abi.ABIToken
- add(int, E) - Method in class org.aion.avm.userlib.AionList
- add(E) - Method in class org.aion.avm.userlib.AionList
- add(E) - Method in class org.aion.avm.userlib.AionList.AionListIterator
- add(E) - Method in class org.aion.avm.userlib.AionSet
-
Adds the specified element to this set if it is not already present.
- addAll(int, Collection<? extends E>) - Method in class org.aion.avm.userlib.AionList
- addAll(Collection<? extends E>) - Method in class org.aion.avm.userlib.AionList
- addAll(Collection<? extends E>) - Method in class org.aion.avm.userlib.AionSet
-
This implementation iterates over the specified collection, and adds each object returned by the iterator to this collection, in turn.
- Address - Class in avm
-
Represents an address of account in the Aion Network.
- Address(byte[]) - Constructor for class avm.Address
-
Create an Address with the contents of the given raw byte array.
- ADDRESS - Static variable in class org.aion.avm.userlib.abi.ABIToken
- AionBuffer - Class in org.aion.avm.userlib
-
A buffer, much like an NIO ByteBuffer, which allows the easy encoding/decoding of primitive values.
- AionList<E> - Class in org.aion.avm.userlib
-
A simple List implementation.
- AionList() - Constructor for class org.aion.avm.userlib.AionList
- AionList.AionListIterator - Class in org.aion.avm.userlib
-
Note that this is a very simple implementation so it skips all optional operations and doesn't detect concurrent modifications.
- AionListIterator(int) - Constructor for class org.aion.avm.userlib.AionList.AionListIterator
- AionMap<K,V> - Class in org.aion.avm.userlib
-
Hash table based implementation of the
Map
interface. - AionMap() - Constructor for class org.aion.avm.userlib.AionMap
-
Constructs an empty
AionMap
with the default capacity (16) and load factor (0.75). - AionMap(int, float) - Constructor for class org.aion.avm.userlib.AionMap
-
Constructs an empty
AionMap
. - AionSet<E> - Class in org.aion.avm.userlib
-
A simple Set implementation.
- AionSet() - Constructor for class org.aion.avm.userlib.AionSet
-
Constructs a new, empty set; the backing
AionMap
instance has default order(4). - AionUtilities - Class in org.aion.avm.userlib
-
A collection of methods to facilitate contract development.
- AionUtilities() - Constructor for class org.aion.avm.userlib.AionUtilities
- allocate(int) - Static method in class org.aion.avm.userlib.AionBuffer
-
Creates a new AionBuffer instance with the given capacity.
- apply(Statement, Description) - Method in class org.aion.avm.embed.AvmRule
- arguments - Variable in class org.aion.avm.userlib.CodeAndArguments
- ARRAY - Static variable in class org.aion.avm.userlib.abi.ABIToken
- avm - package avm
-
Defines routines specific to running in a blockchain environment and high-level types to interact with them.
- avm - Variable in class org.aion.avm.embed.AvmRule
- AvmRule - Class in org.aion.avm.embed
-
TestRule to handle the boilerplate operations of testing with an embedded avm.
- AvmRule(boolean) - Constructor for class org.aion.avm.embed.AvmRule
- AvmRule.ResultWrapper - Class in org.aion.avm.embed
-
An abstract container of the result of running a transaction or call on
AvmRule
.
B
- balanceTransfer(Address, Address, BigInteger, long, long) - Method in class org.aion.avm.embed.AvmRule
-
Makes a balance transfer.
- BIGINT - Static variable in class org.aion.avm.userlib.abi.ABIToken
- blake2b(byte[]) - Static method in class avm.Blockchain
-
Calculates the blake2b digest of the input data.
- Blockchain - Class in avm
-
Every DApp has an associated
Blockchain
which allows the application to interface with the environment the app is running. - BOOLEAN - Static variable in class org.aion.avm.userlib.abi.ABIToken
- BYTE - Static variable in class org.aion.avm.userlib.abi.ABIToken
C
- call(Address, Address, BigInteger, byte[]) - Method in class org.aion.avm.embed.AvmRule
-
Makes a call transaction to the Dapp.
- call(Address, Address, BigInteger, byte[], long, long) - Method in class org.aion.avm.embed.AvmRule
-
Makes a call transaction to the Dapp.
- call(Address, BigInteger, byte[], long) - Static method in class avm.Blockchain
-
Calls another account, whether it's normal account or dapp.
- CHAR - Static variable in class org.aion.avm.userlib.abi.ABIToken
- clear() - Method in class org.aion.avm.userlib.AionBuffer
-
Resets the position to 0 and the limit to the full capacity of the buffer.
- clear() - Method in class org.aion.avm.userlib.AionList
- clear() - Method in class org.aion.avm.userlib.AionMap
-
Removes all of the mappings from this map.
- clear() - Method in class org.aion.avm.userlib.AionSet
-
Removes all of the elements from this set.
- code - Variable in class org.aion.avm.userlib.CodeAndArguments
- CodeAndArguments - Class in org.aion.avm.userlib
-
Just a wrapper over the way we serialize/deserialize the code+arguments tuple for a CREATE call.
- CodeAndArguments(byte[], byte[]) - Constructor for class org.aion.avm.userlib.CodeAndArguments
-
Creates a new CodeAndArguments for the given code and arguments.
- contains(Object) - Method in class org.aion.avm.userlib.AionList
- contains(Object) - Method in class org.aion.avm.userlib.AionSet
-
Returns
true
if this set contains the specified element. - containsAll(Collection<?>) - Method in class org.aion.avm.userlib.AionList
- containsAll(Collection<?>) - Method in class org.aion.avm.userlib.AionSet
-
This implementation iterates over the specified collection, checking each element returned by the iterator in turn to see if it's contained in this collection.
- containsKey(Object) - Method in class org.aion.avm.userlib.AionMap
-
Returns
true
if this map contains a mapping for the specified key. - containsValue(Object) - Method in class org.aion.avm.userlib.AionMap
-
Returns
true
if this map maps one or more keys to the specified value. - create(BigInteger, byte[], long) - Static method in class avm.Blockchain
-
Creates an account.
D
- decodeFromBytes(byte[]) - Static method in class org.aion.avm.userlib.CodeAndArguments
-
Decodes the CodeAndArguments structure from the given byte[].
- decodeMethodName() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a method name from the data field.
- decodeOne2DBooleanArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a 2D boolean array from the data field.
- decodeOne2DByteArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a 2D byte array from the data field.
- decodeOne2DCharacterArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a 2D character array from the data field.
- decodeOne2DDoubleArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a 2D double array from the data field.
- decodeOne2DFloatArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a 2D float array from the data field.
- decodeOne2DIntegerArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a 2D integer array from the data field.
- decodeOne2DLongArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a 2D long array from the data field.
- decodeOne2DShortArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a 2D short array from the data field.
- decodeOneAddress() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode an address from the data field.
- decodeOneAddressArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode an address array from the data field.
- decodeOneBigInteger() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode an BigInteger from the data field.
- decodeOneBigIntegerArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a BigInteger array from the data field.
- decodeOneBoolean() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a boolean from the data field.
- decodeOneBooleanArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a boolean array from the data field.
- decodeOneByte() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a byte from the data field.
- decodeOneByteArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a byte array from the data field.
- decodeOneCharacter() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a char from the data field.
- decodeOneCharacterArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a character array from the data field.
- decodeOneDouble() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a double from the data field.
- decodeOneDoubleArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a double array from the data field.
- decodeOneFloat() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a float from the data field.
- decodeOneFloatArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a float array from the data field.
- decodeOneInteger() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode an integer from the data field.
- decodeOneIntegerArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode an integer array from the data field.
- decodeOneLong() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a long from the data field.
- decodeOneLongArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a long array from the data field.
- decodeOneShort() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a short from the data field.
- decodeOneShortArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a short array from the data field.
- decodeOneString() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a string from the data field.
- decodeOneStringArray() - Method in class org.aion.avm.userlib.abi.ABIDecoder
-
Decode a string array from the data field.
- deploy(Address, BigInteger, byte[]) - Method in class org.aion.avm.embed.AvmRule
-
Deploys the Dapp.
- deploy(Address, BigInteger, byte[], long, long) - Method in class org.aion.avm.embed.AvmRule
-
Deploys the Dapp.
- disableAutomaticBlockGeneration() - Method in class org.aion.avm.embed.AvmRule
-
Disables automatic generation of blocks for each transaction
- DOUBLE - Static variable in class org.aion.avm.userlib.abi.ABIToken
E
- edVerify(byte[], byte[], byte[]) - Static method in class avm.Blockchain
-
Verify that the given data is signed by providing the public key and the signed signature.
- encodeOne2DBooleanArray(boolean[][]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one 2D boolean array as a serialized extent.
- encodeOne2DBooleanArray(boolean[][]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one 2D boolean array.
- encodeOne2DByteArray(byte[][]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one 2D byte array as a serialized extent.
- encodeOne2DByteArray(byte[][]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one 2D byte array.
- encodeOne2DCharacterArray(char[][]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one 2D character array as a serialized extent.
- encodeOne2DCharacterArray(char[][]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one 2D character array.
- encodeOne2DDoubleArray(double[][]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one 2D double array as a serialized extent.
- encodeOne2DDoubleArray(double[][]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one 2D double array.
- encodeOne2DFloatArray(float[][]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one 2D float array as a serialized extent.
- encodeOne2DFloatArray(float[][]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one 2D float array.
- encodeOne2DIntegerArray(int[][]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one 2D integer array as a serialized extent.
- encodeOne2DIntegerArray(int[][]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one 2D integer array.
- encodeOne2DLongArray(long[][]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one 2D long array as a serialized extent.
- encodeOne2DLongArray(long[][]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one 2D long array.
- encodeOne2DShortArray(short[][]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one 2D short array as a serialized extent.
- encodeOne2DShortArray(short[][]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one 2D short array.
- encodeOneAddress(Address) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one Address as a serialized extent.
- encodeOneAddress(Address) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one address.
- encodeOneAddressArray(Address[]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one Address array as a serialized extent.
- encodeOneAddressArray(Address[]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one address array.
- encodeOneBigInteger(BigInteger) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one BigInteger as a serialized extent Null is encoded as the two identifiers: NULL, followed by BIGINT.
- encodeOneBigInteger(BigInteger) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one BigInteger.
- encodeOneBigIntegerArray(BigInteger[]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one BigInteger array as a serialized extent.
- encodeOneBigIntegerArray(BigInteger[]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one BigInteger array.
- encodeOneBoolean(boolean) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one boolean as a serialized extent.
- encodeOneBoolean(boolean) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one boolean.
- encodeOneBooleanArray(boolean[]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one boolean array as a serialized extent.
- encodeOneBooleanArray(boolean[]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one boolean array.
- encodeOneByte(byte) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one byte as a serialized extent.
- encodeOneByte(byte) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one byte.
- encodeOneByteArray(byte[]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one byte array as a serialized extent.
- encodeOneByteArray(byte[]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one byte array.
- encodeOneCharacter(char) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one character as a serialized extent.
- encodeOneCharacter(char) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one char.
- encodeOneCharacterArray(char[]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one character array as a serialized extent.
- encodeOneCharacterArray(char[]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one char array.
- encodeOneDouble(double) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one double as a serialized extent.
- encodeOneDouble(double) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one double.
- encodeOneDoubleArray(double[]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one double array as a serialized extent.
- encodeOneDoubleArray(double[]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one double array.
- encodeOneFloat(float) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes float byte as a serialized extent.
- encodeOneFloat(float) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one float.
- encodeOneFloatArray(float[]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one float array as a serialized extent.
- encodeOneFloatArray(float[]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one float array.
- encodeOneInteger(int) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one integer as a serialized extent.
- encodeOneInteger(int) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one int.
- encodeOneIntegerArray(int[]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one integer array as a serialized extent.
- encodeOneIntegerArray(int[]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one int array.
- encodeOneLong(long) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one long as a serialized extent.
- encodeOneLong(long) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one long.
- encodeOneLongArray(long[]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one long array as a serialized extent.
- encodeOneLongArray(long[]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one long array.
- encodeOneShort(short) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one short as a serialized extent.
- encodeOneShort(short) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one short.
- encodeOneShortArray(short[]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one short array as a serialized extent.
- encodeOneShortArray(short[]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one short array.
- encodeOneString(String) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one String as a serialized extent.
- encodeOneString(String) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one string.
- encodeOneStringArray(String[]) - Static method in class org.aion.avm.userlib.abi.ABIEncoder
-
Encodes one String array as a serialized extent.
- encodeOneStringArray(String[]) - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Encode one string array.
- encodeToBytes() - Method in class org.aion.avm.userlib.CodeAndArguments
-
Encodes the receiver as a byte[].
- entrySet() - Method in class org.aion.avm.userlib.AionMap
-
Returns a
Set
view of the mappings contained in this map. - equals(Object) - Method in class avm.Address
- equals(Object) - Method in class avm.Result
- equals(Object) - Method in class org.aion.avm.userlib.AionBuffer
F
- flip() - Method in class org.aion.avm.userlib.AionBuffer
-
Sets the limit to the current position and resets the position to 0.
- FLOAT - Static variable in class org.aion.avm.userlib.abi.ABIToken
G
- get(byte[]) - Method in class org.aion.avm.userlib.AionBuffer
-
Populates the given dst buffer with the next bytes in the buffer and advances the position.
- get(int) - Method in class org.aion.avm.userlib.AionList
- get(Object) - Method in class org.aion.avm.userlib.AionMap
-
Returns the value to which the specified key is mapped, or
null
if this map contains no mapping for the key. - get32ByteInt() - Method in class org.aion.avm.userlib.AionBuffer
-
Returns the next 32-byte signed BigInteger in the buffer and advances the position.
- getAddress() - Static method in class avm.Blockchain
-
Returns the owner's address, whose state is being accessed.
- getAddress() - Method in class org.aion.avm.userlib.AionBuffer
-
Returns the next 32-byte Aion address in the buffer and advances the position.
- getArray() - Method in class org.aion.avm.userlib.AionBuffer
-
Allows access to the byte array under the buffer.
- getBalance(Address) - Static method in class avm.Blockchain
-
Returns the balance of an account.
- getBalanceOfThisContract() - Static method in class avm.Blockchain
-
Returns the balance of the contract in which this method was invoked.
- getBlockCoinbase() - Static method in class avm.Blockchain
-
Returns the block coinbase.
- getBlockDifficulty() - Static method in class avm.Blockchain
-
Returns the block difficulty.
- getBlockEnergyLimit() - Static method in class avm.Blockchain
-
Returns the block energy limit.
- getBlockNumber() - Static method in class avm.Blockchain
-
Returns the block number.
- getBlockTimestamp() - Static method in class avm.Blockchain
-
Returns the block timestamp.
- getBoolean() - Method in class org.aion.avm.userlib.AionBuffer
-
Returns the next boolean in the buffer and advances the position.
- getByte() - Method in class org.aion.avm.userlib.AionBuffer
-
Returns the next byte in the buffer and advances the position.
- getCaller() - Static method in class avm.Blockchain
-
Returns the callers's address.
- getCapacity() - Method in class org.aion.avm.userlib.AionBuffer
- getChar() - Method in class org.aion.avm.userlib.AionBuffer
-
Returns the next char in the buffer and advances the position.
- getCodeSize(Address) - Static method in class avm.Blockchain
-
Returns the size of the code, of the given account.
- getDappAddress() - Method in class org.aion.avm.embed.AvmRule.ResultWrapper
- getDappBytes(Class<?>, byte[], int, Class<?>...) - Method in class org.aion.avm.embed.AvmRule
-
Retrieves bytes corresponding to the in-memory representation of Dapp jar.
- getDappBytes(Class<?>, byte[], Class<?>...) - Method in class org.aion.avm.embed.AvmRule
-
Retrieves bytes corresponding to the in-memory representation of Dapp jar.
- getDappBytesWithoutOptimization(Class<?>, byte[], Class<?>...) - Method in class org.aion.avm.embed.AvmRule
-
Retrieves bytes corresponding to the in-memory representation of Dapp jar.
- getData() - Static method in class avm.Blockchain
-
Returns the data passed to this dapp.
- getDecodedReturnData() - Method in class org.aion.avm.embed.AvmRule.ResultWrapper
- getDouble() - Method in class org.aion.avm.userlib.AionBuffer
-
Returns the next double in the buffer and advances the position.
- getEnergyLimit() - Static method in class avm.Blockchain
-
Returns the energy limit for this current invocation.
- getEnergyPrice() - Static method in class avm.Blockchain
-
Returns the energy price specified in the transaction.
- getFloat() - Method in class org.aion.avm.userlib.AionBuffer
-
Returns the next float in the buffer and advances the position.
- getInt() - Method in class org.aion.avm.userlib.AionBuffer
-
Returns the next int in the buffer and advances the position.
- getLengthOfOne2DBooleanArray(boolean[][]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this 2D boolean array.
- getLengthOfOne2DByteArray(byte[][]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this 2D byte array.
- getLengthOfOne2DCharacterArray(char[][]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this 2D character array.
- getLengthOfOne2DDoubleArray(double[][]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this 2D double array.
- getLengthOfOne2DFloatArray(float[][]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this 2D float array.
- getLengthOfOne2DIntegerArray(int[][]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this 2D integer array.
- getLengthOfOne2DLongArray(long[][]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this 2D long array.
- getLengthOfOne2DShortArray(short[][]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this 2D short array.
- getLengthOfOneAddress(Address) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this Address.
- getLengthOfOneBooleanArray(boolean[]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this boolean array.
- getLengthOfOneByteArray(byte[]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this byte array.
- getLengthOfOneCharacterArray(char[]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this character array.
- getLengthOfOneDoubleArray(double[]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this double array.
- getLengthOfOneFloatArray(float[]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this float array.
- getLengthOfOneIntegerArray(int[]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this integer array.
- getLengthOfOneLongArray(long[]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this long array.
- getLengthOfOneShortArray(short[]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this short array.
- getLengthOfOneString(String) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this String.
- getLengthOfOneStringArray(Address[]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this address array.
- getLengthOfOneStringArray(String[]) - Static method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Returns the length of the ABI encoding of this string array.
- getLimit() - Method in class org.aion.avm.userlib.AionBuffer
- getLogs() - Method in class org.aion.avm.embed.AvmRule.ResultWrapper
- getLong() - Method in class org.aion.avm.userlib.AionBuffer
-
Returns the next long in the buffer and advances the position.
- getOrDefault(Object, V) - Method in class org.aion.avm.userlib.AionMap
-
Returns the value to which the specified key is mapped, or
defaultValue
if this map contains no mapping for the key. - getOrigin() - Static method in class avm.Blockchain
-
Returns the originator's address.
- getPosition() - Method in class org.aion.avm.userlib.AionBuffer
- getPreminedAccount() - Method in class org.aion.avm.embed.AvmRule
- getRandomAddress(BigInteger) - Method in class org.aion.avm.embed.AvmRule
-
Creates an account with an initial balance in the kernel
- getReceiptStatus() - Method in class org.aion.avm.embed.AvmRule.ResultWrapper
- getRemainingEnergy() - Static method in class avm.Blockchain
-
Returns the remaining energy, at the moment this method is being called.
- getReturnData() - Method in class avm.Result
-
Returns the data returned by the invoked dapp.
- getShort() - Method in class org.aion.avm.userlib.AionBuffer
-
Returns the next short in the buffer and advances the position.
- getStorage(byte[]) - Static method in class avm.Blockchain
-
Returns the storage value
- getTransactionResult() - Method in class org.aion.avm.embed.AvmRule.ResultWrapper
- getValue() - Static method in class avm.Blockchain
-
Returns the value being transferred to this dapp.
H
- hashCode() - Method in class avm.Address
- hashCode() - Method in class avm.Result
- hashCode() - Method in class org.aion.avm.userlib.AionBuffer
- hasNext() - Method in class org.aion.avm.userlib.AionList.AionListIterator
- hasPrevious() - Method in class org.aion.avm.userlib.AionList.AionListIterator
I
- indexOf(Object) - Method in class org.aion.avm.userlib.AionList
- INT - Static variable in class org.aion.avm.userlib.abi.ABIToken
- invalid() - Static method in class avm.Blockchain
-
Stop the current execution and roll back all state changes.
- isEmpty() - Method in class org.aion.avm.userlib.AionList
- isEmpty() - Method in class org.aion.avm.userlib.AionMap
-
Returns
true
if this map contains no key-value mappings. - isEmpty() - Method in class org.aion.avm.userlib.AionSet
-
Returns
true
if this set contains no elements. - isSuccess() - Method in class avm.Result
-
Returns whether the invocation is success or not.
- iterator() - Method in class org.aion.avm.userlib.AionList
- iterator() - Method in class org.aion.avm.userlib.AionSet
-
Returns an iterator over the elements in this set.
K
- keccak256(byte[]) - Static method in class avm.Blockchain
-
Calculates the keccak256 digest of the input data.
- kernel - Variable in class org.aion.avm.embed.AvmRule
- keySet() - Method in class org.aion.avm.userlib.AionMap
-
Returns a
Set
view of the keys contained in this map.
L
- lastIndexOf(Object) - Method in class org.aion.avm.userlib.AionList
- LENGTH - Static variable in class avm.Address
-
The length of an address.
- listIterator() - Method in class org.aion.avm.userlib.AionList
- listIterator(int) - Method in class org.aion.avm.userlib.AionList
- log(byte[]) - Static method in class avm.Blockchain
-
Records a log on blockchain.
- log(byte[], byte[]) - Static method in class avm.Blockchain
-
Records a log on blockchain.
- log(byte[], byte[], byte[]) - Static method in class avm.Blockchain
-
Records a log on blockchain.
- log(byte[], byte[], byte[], byte[]) - Static method in class avm.Blockchain
-
Records a log on blockchain.
- log(byte[], byte[], byte[], byte[], byte[]) - Static method in class avm.Blockchain
-
Records a log on blockchain.
- LONG - Static variable in class org.aion.avm.userlib.abi.ABIToken
N
- next() - Method in class org.aion.avm.userlib.AionList.AionListIterator
- nextIndex() - Method in class org.aion.avm.userlib.AionList.AionListIterator
- NULL - Static variable in class org.aion.avm.userlib.abi.ABIToken
O
- org.aion.avm.embed - package org.aion.avm.embed
-
Defines classes which embed the AVM, directly.
- org.aion.avm.userlib - package org.aion.avm.userlib
-
Defines utility and quality-of-life classes which can optionally be used by user-defined contract code.
- org.aion.avm.userlib.abi - package org.aion.avm.userlib.abi
-
Defines classes related to encoding/decoding the high-level data types serialized into transaction payload data.
P
- padLeft(byte[]) - Static method in class org.aion.avm.userlib.AionUtilities
-
Returns a new byte array of length 32 that right-aligns the input bytes by padding them on the left with 0.
- previous() - Method in class org.aion.avm.userlib.AionList.AionListIterator
- previousIndex() - Method in class org.aion.avm.userlib.AionList.AionListIterator
- print(String) - Static method in class avm.Blockchain
-
Prints a message, for debugging purpose
- println(String) - Static method in class avm.Blockchain
-
Prints a message, for debugging purpose
- put(byte[]) - Method in class org.aion.avm.userlib.AionBuffer
-
Copies the bytes from src into the buffer and advances the position.
- put(K, V) - Method in class org.aion.avm.userlib.AionMap
-
Associates the specified value with the specified key in this map.
- put32ByteInt(BigInteger) - Method in class org.aion.avm.userlib.AionBuffer
-
Stores a 32-byte signed BigInteger into the buffer and advances the position.
- putAddress(Address) - Method in class org.aion.avm.userlib.AionBuffer
-
Stores an Aion address into the buffer and advances the position.
- putAll(Map<? extends K, ? extends V>) - Method in class org.aion.avm.userlib.AionMap
-
Copies all of the mappings from the specified map to this map.
- putBoolean(boolean) - Method in class org.aion.avm.userlib.AionBuffer
-
Stores a boolean into the buffer and advances the position.
- putByte(byte) - Method in class org.aion.avm.userlib.AionBuffer
-
Stores a byte into the buffer and advances the position.
- putChar(char) - Method in class org.aion.avm.userlib.AionBuffer
-
Stores a char into the buffer and advances the position.
- putDouble(double) - Method in class org.aion.avm.userlib.AionBuffer
-
Stores a double into the buffer and advances the position.
- putFloat(float) - Method in class org.aion.avm.userlib.AionBuffer
-
Stores a float into the buffer and advances the position.
- putInt(int) - Method in class org.aion.avm.userlib.AionBuffer
-
Stores a int into the buffer and advances the position.
- putLong(long) - Method in class org.aion.avm.userlib.AionBuffer
-
Stores a long into the buffer and advances the position.
- putShort(short) - Method in class org.aion.avm.userlib.AionBuffer
-
Stores a short into the buffer and advances the position.
- putStorage(byte[], byte[]) - Static method in class avm.Blockchain
-
puts the key-value data of an account
R
- remove() - Method in class org.aion.avm.userlib.AionList.AionListIterator
- remove(int) - Method in class org.aion.avm.userlib.AionList
- remove(Object) - Method in class org.aion.avm.userlib.AionList
- remove(Object) - Method in class org.aion.avm.userlib.AionMap
-
Removes the mapping for the specified key from this map if present.
- remove(Object) - Method in class org.aion.avm.userlib.AionSet
-
Removes the specified element from this set if it is present.
- removeAll(Collection<?>) - Method in class org.aion.avm.userlib.AionList
- removeAll(Collection<?>) - Method in class org.aion.avm.userlib.AionSet
- require(boolean) - Static method in class avm.Blockchain
-
Checks that the provided condition is true and if it is false, triggers a revert.
- Result - Class in avm
-
Represents an cross-call invocation result.
- Result(boolean, byte[]) - Constructor for class avm.Result
-
Creates an instance.
- retainAll(Collection<?>) - Method in class org.aion.avm.userlib.AionList
- retainAll(Collection<?>) - Method in class org.aion.avm.userlib.AionSet
- revert() - Static method in class avm.Blockchain
-
Stop the current execution and roll back all state changes.
- rewind() - Method in class org.aion.avm.userlib.AionBuffer
-
Sets the position back to 0.
S
- selfDestruct(Address) - Static method in class avm.Blockchain
-
Destroys this dapp and refund all balance to the beneficiary address.
- set(int, E) - Method in class org.aion.avm.userlib.AionList
- set(E) - Method in class org.aion.avm.userlib.AionList.AionListIterator
- sha256(byte[]) - Static method in class avm.Blockchain
-
Calculates the sha256 digest of the input data.
- SHORT - Static variable in class org.aion.avm.userlib.abi.ABIToken
- size() - Method in class org.aion.avm.userlib.AionList
- size() - Method in class org.aion.avm.userlib.AionMap
-
Returns the number of key-value mappings in this map.
- size() - Method in class org.aion.avm.userlib.AionSet
-
Returns the number of elements in this set (its cardinality).
- STRING - Static variable in class org.aion.avm.userlib.abi.ABIToken
- subList(int, int) - Method in class org.aion.avm.userlib.AionList
T
- toArray() - Method in class org.aion.avm.userlib.AionList
- toArray() - Method in class org.aion.avm.userlib.AionSet
- toArray(T[]) - Method in class org.aion.avm.userlib.AionList
- toArray(T[]) - Method in class org.aion.avm.userlib.AionSet
- toByteArray() - Method in class avm.Address
-
Converts the receiver to a new byte array.
- toBytes() - Method in class org.aion.avm.userlib.abi.ABIStreamingEncoder
-
Creates and returns a byte array representing everything that has been encoded so far.
- toString() - Method in class avm.Address
- toString() - Method in class avm.Result
- toString() - Method in class org.aion.avm.userlib.AionBuffer
- trimToSize() - Method in class org.aion.avm.userlib.AionList
V
- values() - Method in class org.aion.avm.userlib.AionMap
-
Returns a
Collection
view of the values contained in this map.
W
- wrap(byte[]) - Static method in class org.aion.avm.userlib.AionBuffer
-
Creates a new AionBuffer instance wrapping the given byte array.
All Classes All Packages