Package | Description |
---|---|
tv.noixion.troncli.examples | |
tv.noixion.troncli.models | |
tv.noixion.troncli.models.contracts | |
tv.noixion.troncli.utils |
Modifier and Type | Method and Description |
---|---|
BigInteger |
IERC20Proxy.allowance(TronAddress address,
TronAddress spender)
Retrieves the allowance of an account.
|
TronTransaction |
IERC20Proxy.approve(TronWallet sender,
TronAddress spender,
BigInteger value)
Approves another account to spend tokens.
|
BigInteger |
IERC20Proxy.balanceOf(TronAddress address)
Retrieves the balance of an account.
|
BigInteger |
IERC20Proxy.totalSupply()
Retrieves the total supply of token.
|
TronTransaction |
IERC20Proxy.transfer(TronWallet sender,
TronAddress to,
BigInteger value)
Transfers tokens.
|
TronTransaction |
IERC20Proxy.transferFrom(TronWallet sender,
TronAddress from,
TronAddress to,
BigInteger value)
Transfers from one account to another account.
|
Modifier and Type | Method and Description |
---|---|
List<Object> |
TronTransactionInformation.Log.getIndexedFields(List<String> types)
Gets all the indexed fields
|
List<Object> |
TronTransactionInformation.Log.getNotIndexedFields(List<String> types)
Gets all the not-indexed fields.
|
Modifier and Type | Method and Description |
---|---|
static List<Object> |
TriggerSmartContractContract.interpretData(byte[] callData,
String methodSignature)
Interprets the call data using the method signature.
|
List<Object> |
TriggerSmartContractContract.interpretData(String methodSignature)
Interprets the call data using the method signature.
|
static List<Object> |
TriggerSmartContractContract.unpack(List<String> types,
byte[] data)
Unpacks data
|
Modifier and Type | Method and Description |
---|---|
BigInteger |
TRC20.allowance(TronAddress owner,
TronAddress spender) |
TronTransaction |
TRC20.approve(TronWallet sender,
TronAddress spender,
BigInteger value) |
BigInteger |
TRC20.balanceOf(TronAddress who) |
TronTransaction |
TRC20.burn(TronWallet sender,
BigInteger value) |
BigInteger |
TRC20.decimals() |
TronTransaction |
TRC20.decreaseAllowance(TronWallet sender,
TronAddress spender,
BigInteger subtractedValue) |
TronAddress |
TriggerContractResult.getResultAsAddress()
Interprets the result as an address.
|
Object[] |
TriggerContractResult.getResultAsArray(String type)
Interprets the result as an array.
|
Object[] |
TriggerContractResult.getResultAsArray(String type,
int length)
Interprets the result as an array.
|
TronAddress[] |
TriggerContractResult.getResultAsArrayAddress()
Interprets the result as an array of address.
|
boolean[] |
TriggerContractResult.getResultAsArrayBool()
Interprets the result as an array of bool.
|
BigInteger[] |
TriggerContractResult.getResultAsArrayInt()
Interprets the result as an array of int.
|
String[] |
TriggerContractResult.getResultAsArrayString()
Interprets the result as an array of string.
|
BigInteger[] |
TriggerContractResult.getResultAsArrayUInt()
Interprets the result as an array of uint.
|
boolean |
TriggerContractResult.getResultAsBool()
Interprets the result as boolean.
|
byte[] |
TriggerContractResult.getResultAsBytes()
Interprets the result as a dynamic array of bytes
|
byte[] |
TriggerContractResult.getResultAsFixedBytes(int length)
Interprets the result as a fixed array of bytes.
|
BigInteger |
TriggerContractResult.getResultAsInt()
Interprets the result as an integer.
|
String |
TriggerContractResult.getResultAsString()
Interprets the result as an string.
|
BigInteger |
TriggerContractResult.getResultAsUInt()
Interprets the result as an unsigned integer.
|
TronTransaction |
TRC20.increaseAllowance(TronWallet sender,
TronAddress spender,
BigInteger addedValue) |
List<Object> |
TriggerContractResult.interpretReturnedData(List<String> types)
Interprets the returned data.
|
List<Object> |
TriggerContractResult.interpretReturnedData(String type)
Interprets the returned data.
|
String |
TRC20.name() |
String |
TRC20.symbol() |
BigInteger |
TRC20.totalSupply() |
TronTransaction |
TRC20.transfer(TronWallet sender,
TronAddress to,
BigInteger value) |
TronTransaction |
TRC20.transferFrom(TronWallet sender,
TronAddress from,
TronAddress to,
BigInteger value) |
Copyright © 2020. All rights reserved.