public class KIP37 extends Contract
Modifier and Type | Class and Description |
---|---|
static class |
KIP37.INTERFACE |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FUNCTION_ADD_MINTER |
static java.lang.String |
FUNCTION_ADD_PAUSER |
static java.lang.String |
FUNCTION_BALANCE_OF |
static java.lang.String |
FUNCTION_BALANCE_OF_BATCH |
static java.lang.String |
FUNCTION_BURN |
static java.lang.String |
FUNCTION_BURN_BATCH |
static java.lang.String |
FUNCTION_CREATE |
static java.lang.String |
FUNCTION_IS_APPROVED_FOR_ALL |
static java.lang.String |
FUNCTION_IS_MINTER |
static java.lang.String |
FUNCTION_IS_PAUSER |
static java.lang.String |
FUNCTION_MINT |
static java.lang.String |
FUNCTION_MINT_BATCH |
static java.lang.String |
FUNCTION_PAUSE |
static java.lang.String |
FUNCTION_PAUSED |
static java.lang.String |
FUNCTION_RENOUNCE_MINTER |
static java.lang.String |
FUNCTION_RENOUNCE_PAUSER |
static java.lang.String |
FUNCTION_SAFE_BATCH_TRANSFER_FROM |
static java.lang.String |
FUNCTION_SAFE_TRANSFER_FROM |
static java.lang.String |
FUNCTION_SET_APPROVED_FOR_ALL |
static java.lang.String |
FUNCTION_SUPPORTS_INTERFACE |
static java.lang.String |
FUNCTION_TOTAL_SUPPLY |
static java.lang.String |
FUNCTION_UNPAUSE |
static java.lang.String |
FUNCTION_URI |
Constructor and Description |
---|
KIP37(Caver caver)
Creates a KIP37 instance.
|
KIP37(Caver caver,
java.lang.String contractAddress)
Creates a KIP37 instance.
|
Modifier and Type | Method and Description |
---|---|
TransactionReceipt.TransactionReceiptData |
addMinter(java.lang.String account)
Adds an account as a minter that has the permission of MinterRole and can mint.
|
TransactionReceipt.TransactionReceiptData |
addMinter(java.lang.String account,
SendOptions sendParam)
Adds an account as a minter that has the permission of MinterRole and can mint.
|
TransactionReceipt.TransactionReceiptData |
addPauser(java.lang.String account)
Adds an account as a pauser that has the permission of PauserRole and can pause.
|
TransactionReceipt.TransactionReceiptData |
addPauser(java.lang.String account,
SendOptions sendParam)
Adds an account as a pauser that has the permission of PauserRole and can pause.
|
java.math.BigInteger |
balanceOf(java.lang.String account,
java.math.BigInteger tokenId)
Get the balance of an account's tokens
|
java.math.BigInteger |
balanceOf(java.lang.String account,
java.lang.String tokenId)
Get the balance of an account's tokens.
|
java.util.List<java.math.BigInteger> |
balanceOfBatch(java.lang.String[] accounts,
java.math.BigInteger[] tokenIds)
Get the balance of multiple account / token pairs.
|
java.util.List<java.math.BigInteger> |
balanceOfBatch(java.lang.String[] accounts,
java.lang.String[] tokenIds)
Get the balance of multiple account / token pairs.
|
TransactionReceipt.TransactionReceiptData |
burn(java.lang.String address,
java.math.BigInteger tokenId,
java.math.BigInteger value)
Burns a token.
|
TransactionReceipt.TransactionReceiptData |
burn(java.lang.String address,
java.math.BigInteger tokenId,
java.math.BigInteger value,
SendOptions sendParam)
Burns a token.
|
TransactionReceipt.TransactionReceiptData |
burn(java.lang.String address,
java.lang.String tokenId,
java.math.BigInteger value)
Burns a token.
|
TransactionReceipt.TransactionReceiptData |
burn(java.lang.String address,
java.lang.String tokenId,
java.math.BigInteger value,
SendOptions sendParam)
Burns a token.
|
TransactionReceipt.TransactionReceiptData |
burnBatch(java.lang.String address,
java.math.BigInteger[] tokenIds,
java.math.BigInteger[] values)
Burns multiple KIP37 tokens.
|
TransactionReceipt.TransactionReceiptData |
burnBatch(java.lang.String address,
java.math.BigInteger[] tokenIds,
java.math.BigInteger[] values,
SendOptions sendParam)
Burns multiple KIP37 tokens.
|
TransactionReceipt.TransactionReceiptData |
burnBatch(java.lang.String address,
java.lang.String[] tokenIds,
java.math.BigInteger[] values)
Burns multiple KIP37 tokens.
|
TransactionReceipt.TransactionReceiptData |
burnBatch(java.lang.String address,
java.lang.String[] tokenIds,
java.math.BigInteger[] values,
SendOptions sendParam)
Burns multiple KIP37 tokens.
|
KIP37 |
clone()
Copy instance
|
KIP37 |
clone(java.lang.String tokenAddress)
Copy instance with token address
|
TransactionReceipt.TransactionReceiptData |
create(java.math.BigInteger tokenId,
java.math.BigInteger initialSupply)
Creates a new token type and assigns initialSupply to the minter.
|
TransactionReceipt.TransactionReceiptData |
create(java.math.BigInteger tokenId,
java.math.BigInteger initialSupply,
SendOptions sendParam)
Creates a new token type and assigns initialSupply to the minter.
|
TransactionReceipt.TransactionReceiptData |
create(java.math.BigInteger tokenId,
java.math.BigInteger initialSupply,
java.lang.String uri)
Creates a new token type and assigns initialSupply to the minter.
|
TransactionReceipt.TransactionReceiptData |
create(java.math.BigInteger tokenId,
java.math.BigInteger initialSupply,
java.lang.String uri,
SendOptions sendParam)
Creates a new token type and assigns initialSupply to the minter.
|
TransactionReceipt.TransactionReceiptData |
create(java.lang.String tokenId,
java.math.BigInteger initialSupply)
Creates a new token type and assigns initialSupply to the minter.
|
TransactionReceipt.TransactionReceiptData |
create(java.lang.String tokenId,
java.math.BigInteger initialSupply,
SendOptions sendParam)
Creates a new token type and assigns initialSupply to the minter.
|
TransactionReceipt.TransactionReceiptData |
create(java.lang.String tokenId,
java.math.BigInteger initialSupply,
java.lang.String uri)
Creates a new token type and assigns initialSupply to the minter.
|
TransactionReceipt.TransactionReceiptData |
create(java.lang.String tokenId,
java.math.BigInteger initialSupply,
java.lang.String uri,
SendOptions sendParam)
Creates a new token type and assigns initialSupply to the minter.
|
static KIP37 |
deploy(Caver caver,
java.lang.String uri,
java.lang.String deployer)
Deploy a KIP-37 contract.
|
static KIP37 |
deploy(Caver caver,
java.lang.String uri,
java.lang.String deployer,
IWallet wallet)
Deploy a KIP-37 contract.
|
java.util.Map<java.lang.String,java.lang.Boolean> |
detectInterface()
Detects which interface the KIP-37 token contract supports.
|
static java.util.Map<java.lang.String,java.lang.Boolean> |
detectInterface(Caver caver,
java.lang.String contractAddress)
Detects which interface the KIP-37 token contract supports.
|
boolean |
isApprovedForAll(java.lang.String owner,
java.lang.String operator)
Get the approval status of an operator for a given owner.
|
boolean |
isMinter(java.lang.String account)
Checks if specific account has the Minter role.
|
boolean |
isPauser(java.lang.String account)
Checks if specific account has Pauser role.
|
TransactionReceipt.TransactionReceiptData |
mint(java.lang.String[] toList,
java.math.BigInteger tokenId,
java.math.BigInteger[] values)
Mints tokens of the specific token type.
|
TransactionReceipt.TransactionReceiptData |
mint(java.lang.String[] toList,
java.math.BigInteger tokenId,
java.math.BigInteger[] values,
SendOptions sendParam)
Mints tokens of the specific token type.
|
TransactionReceipt.TransactionReceiptData |
mint(java.lang.String[] toList,
java.lang.String tokenId,
java.math.BigInteger[] values)
Mints tokens of the specific token type.
|
TransactionReceipt.TransactionReceiptData |
mint(java.lang.String[] toList,
java.lang.String tokenId,
java.math.BigInteger[] values,
SendOptions sendParam)
Mints tokens of the specific token type.
|
TransactionReceipt.TransactionReceiptData |
mint(java.lang.String to,
java.math.BigInteger tokenId,
java.math.BigInteger value)
Mints token of the specific token type.
|
TransactionReceipt.TransactionReceiptData |
mint(java.lang.String to,
java.math.BigInteger tokenId,
java.math.BigInteger value,
SendOptions sendParam)
Mints token of the specific token type.
|
TransactionReceipt.TransactionReceiptData |
mint(java.lang.String to,
java.lang.String tokenId,
java.math.BigInteger value)
Mints token of the specific token type.
|
TransactionReceipt.TransactionReceiptData |
mint(java.lang.String to,
java.lang.String tokenId,
java.math.BigInteger value,
SendOptions sendParam)
Mints token of the specific token type.
|
TransactionReceipt.TransactionReceiptData |
mintBatch(java.lang.String to,
java.math.BigInteger[] tokenIds,
java.math.BigInteger[] values)
Mints multiple KIP-37 tokens of the specific token types.
|
TransactionReceipt.TransactionReceiptData |
mintBatch(java.lang.String to,
java.math.BigInteger[] tokenIds,
java.math.BigInteger[] values,
SendOptions sendParam)
Mints multiple KIP-37 tokens of the specific token types.
|
TransactionReceipt.TransactionReceiptData |
mintBatch(java.lang.String to,
java.lang.String[] tokenIds,
java.math.BigInteger[] values)
Mints multiple KIP-37 tokens of the specific token types.
|
TransactionReceipt.TransactionReceiptData |
mintBatch(java.lang.String to,
java.lang.String[] tokenIds,
java.math.BigInteger[] values,
SendOptions sendParam)
Mints multiple KIP-37 tokens of the specific token types.
|
TransactionReceipt.TransactionReceiptData |
pause()
Pause a contract.
|
TransactionReceipt.TransactionReceiptData |
pause(java.math.BigInteger tokenId)
Pauses a specific token.
|
TransactionReceipt.TransactionReceiptData |
pause(java.math.BigInteger tokenId,
SendOptions sendParam)
Pauses a specific token.
|
TransactionReceipt.TransactionReceiptData |
pause(SendOptions sendParam)
Pause a contract.
|
TransactionReceipt.TransactionReceiptData |
pause(java.lang.String tokenId)
Pauses a specific token.
|
TransactionReceipt.TransactionReceiptData |
pause(java.lang.String tokenId,
SendOptions sendParam)
Pauses a specific token.
|
boolean |
paused()
Check if contract has been paused state.
|
boolean |
paused(java.math.BigInteger tokenId)
Check if token has been paused state.
|
boolean |
paused(java.lang.String tokenId)
Check if token has been paused state.
|
TransactionReceipt.TransactionReceiptData |
renounceMinter()
Renounces privilege of MinterRole from an account.
|
TransactionReceipt.TransactionReceiptData |
renounceMinter(SendOptions sendParam)
Renounces privilege of MinterRole from an account.
|
TransactionReceipt.TransactionReceiptData |
renouncePauser()
Renounces privilege of PauserRole from an account.
|
TransactionReceipt.TransactionReceiptData |
renouncePauser(SendOptions sendParam)
Renounces privilege of PauserRole from an account.
|
TransactionReceipt.TransactionReceiptData |
safeBatchTransferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger[] tokenIds,
java.math.BigInteger[] amounts)
Batch-operation version of
safeTransferFrom(String, String, BigInteger, BigInteger, String) |
TransactionReceipt.TransactionReceiptData |
safeBatchTransferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger[] tokenIds,
java.math.BigInteger[] amounts,
SendOptions sendParam)
Batch-operation version of
safeTransferFrom(String, String, BigInteger, BigInteger, String, SendOptions) . |
TransactionReceipt.TransactionReceiptData |
safeBatchTransferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger[] tokenIds,
java.math.BigInteger[] amounts,
java.lang.String data)
Batch-operation version of
safeTransferFrom(String, String, BigInteger, BigInteger, String) |
TransactionReceipt.TransactionReceiptData |
safeBatchTransferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger[] tokenIds,
java.math.BigInteger[] amounts,
java.lang.String data,
SendOptions sendParam)
Batch-operation version of
safeTransferFrom(String, String, BigInteger, BigInteger, String, SendOptions) . |
TransactionReceipt.TransactionReceiptData |
safeBatchTransferFrom(java.lang.String from,
java.lang.String to,
java.lang.String[] tokenIds,
java.math.BigInteger[] amounts)
Batch-operation version of
safeTransferFrom(String, String, String, BigInteger, String) . |
TransactionReceipt.TransactionReceiptData |
safeBatchTransferFrom(java.lang.String from,
java.lang.String to,
java.lang.String[] tokenIds,
java.math.BigInteger[] amounts,
SendOptions sendParam)
Batch-operation version of
safeTransferFrom(String, String, String, BigInteger, String, SendOptions) . |
TransactionReceipt.TransactionReceiptData |
safeBatchTransferFrom(java.lang.String from,
java.lang.String to,
java.lang.String[] tokenIds,
java.math.BigInteger[] amounts,
java.lang.String data)
Batch-operation version of
safeTransferFrom(String, String, String, BigInteger, String) . |
TransactionReceipt.TransactionReceiptData |
safeBatchTransferFrom(java.lang.String from,
java.lang.String to,
java.lang.String[] tokenIds,
java.math.BigInteger[] amounts,
java.lang.String data,
SendOptions sendParam)
Batch-operation version of
safeTransferFrom(String, String, String, BigInteger, String, SendOptions) . |
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger tokenId,
java.math.BigInteger value)
Transfers value amount of an 'id' from the 'from' address to the 'to' address specified.
|
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger tokenId,
java.math.BigInteger value,
SendOptions sendParam)
Transfers value amount of an 'id' from the 'from' address to the 'to' address specified.
|
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger tokenId,
java.math.BigInteger value,
java.lang.String data)
Transfers value amount of an 'id' from the 'from' address to the 'to' address specified.
|
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger tokenId,
java.math.BigInteger value,
java.lang.String data,
SendOptions sendParam)
Transfers value amount of an 'id' from the 'from' address to the 'to' address specified.
|
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String from,
java.lang.String to,
java.lang.String tokenId,
java.math.BigInteger value)
Transfers value amount of an 'id' from the 'from' address to the 'to' address specified.
|
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String from,
java.lang.String to,
java.lang.String tokenId,
java.math.BigInteger value,
SendOptions sendParam)
Transfers value amount of an 'id' from the 'from' address to the 'to' address specified.
|
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String from,
java.lang.String to,
java.lang.String tokenId,
java.math.BigInteger value,
java.lang.String data)
Transfers value amount of an 'id' from the 'from' address to the 'to' address specified.
|
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String from,
java.lang.String to,
java.lang.String tokenId,
java.math.BigInteger value,
java.lang.String data,
SendOptions sendParam)
Transfers value amount of an 'id' from the 'from' address to the 'to' address specified.
|
TransactionReceipt.TransactionReceiptData |
setApprovalForAll(java.lang.String operator,
boolean approved)
Enable or disable approval for a third party ("operator") to manage all of the caller's tokens.
|
TransactionReceipt.TransactionReceiptData |
setApprovalForAll(java.lang.String operator,
boolean approved,
SendOptions sendParam)
Enable or disable approval for a third party ("operator") to manage all of the caller's tokens.
|
boolean |
supportsInterface(java.lang.String interfaceId)
Call method "supportsInterface" in KIP-13 standard contract.
|
java.math.BigInteger |
totalSupply(java.math.BigInteger tokenId)
Get the total supply of the token type requested.
|
java.math.BigInteger |
totalSupply(java.lang.String tokenId)
Get the total supply of the token type requested.
|
TransactionReceipt.TransactionReceiptData |
unpause()
Unpauses a contract.
|
TransactionReceipt.TransactionReceiptData |
unpause(java.math.BigInteger tokenId)
Unpauses a specific token.
|
TransactionReceipt.TransactionReceiptData |
unpause(java.math.BigInteger tokenId,
SendOptions sendParam)
Unpauses a specific token.
|
TransactionReceipt.TransactionReceiptData |
unpause(SendOptions sendParam)
Unpauses a contract.
|
TransactionReceipt.TransactionReceiptData |
unpause(java.lang.String tokenId)
Unpauses a specific token.
|
TransactionReceipt.TransactionReceiptData |
unpause(java.lang.String tokenId,
SendOptions sendParam)
Unpauses a specific token.
|
java.lang.String |
uri(java.math.BigInteger tokenId)
Get a URI(Uniform Resource Identifier) for a given token ID.
|
java.lang.String |
uri(java.lang.String tokenId)
Get a URI(Uniform Resource Identifier) for a given token ID.
|
call, call, callWithSolidityType, callWithSolidityType, deploy, deploy, deploy, deploy, encodeABI, encodeABIWithSolidityType, estimateGas, estimateGasWithSolidityType, getAbi, getCaver, getConstructor, getContractAddress, getDefaultSendOptions, getEvent, getEvents, getMethod, getMethods, getPastEvent, getWallet, once, send, send, send, sendWithSolidityType, sendWithSolidityType, sendWithSolidityType, setDefaultSendOptions, setWallet
public static final java.lang.String FUNCTION_URI
public static final java.lang.String FUNCTION_BALANCE_OF
public static final java.lang.String FUNCTION_BALANCE_OF_BATCH
public static final java.lang.String FUNCTION_SET_APPROVED_FOR_ALL
public static final java.lang.String FUNCTION_IS_APPROVED_FOR_ALL
public static final java.lang.String FUNCTION_TOTAL_SUPPLY
public static final java.lang.String FUNCTION_SAFE_TRANSFER_FROM
public static final java.lang.String FUNCTION_SAFE_BATCH_TRANSFER_FROM
public static final java.lang.String FUNCTION_BURN
public static final java.lang.String FUNCTION_BURN_BATCH
public static final java.lang.String FUNCTION_CREATE
public static final java.lang.String FUNCTION_MINT
public static final java.lang.String FUNCTION_MINT_BATCH
public static final java.lang.String FUNCTION_PAUSED
public static final java.lang.String FUNCTION_PAUSE
public static final java.lang.String FUNCTION_UNPAUSE
public static final java.lang.String FUNCTION_IS_PAUSER
public static final java.lang.String FUNCTION_ADD_PAUSER
public static final java.lang.String FUNCTION_RENOUNCE_PAUSER
public static final java.lang.String FUNCTION_IS_MINTER
public static final java.lang.String FUNCTION_ADD_MINTER
public static final java.lang.String FUNCTION_RENOUNCE_MINTER
public static final java.lang.String FUNCTION_SUPPORTS_INTERFACE
public KIP37(Caver caver) throws java.io.IOException
caver
- A Caver instance.java.io.IOException
public KIP37(Caver caver, java.lang.String contractAddress) throws java.io.IOException
caver
- A Caver instancecontractAddress
- A contract address.java.io.IOException
public static KIP37 deploy(Caver caver, java.lang.String uri, java.lang.String deployer) throws java.io.IOException, java.lang.NoSuchMethodException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
caver
- A Caver instanceuri
- The URI for token typedeployer
- A deployer's addressjava.io.IOException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public static KIP37 deploy(Caver caver, java.lang.String uri, java.lang.String deployer, IWallet wallet) throws java.io.IOException, java.lang.NoSuchMethodException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
caver
- A Caver instance.uri
- The URI for token typedeployer
- A deployer's addresswallet
- The class instance implemented IWallet to sign transaction.java.io.IOException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public KIP37 clone()
clone
in class java.lang.Object
public KIP37 clone(java.lang.String tokenAddress)
tokenAddress
- A KIP-37 token addresspublic static java.util.Map<java.lang.String,java.lang.Boolean> detectInterface(Caver caver, java.lang.String contractAddress)
Example :
Map<String, Boolean> result = KIP37.detectInterface();
result.get(KIP37.INTERFACE_ID_IKIP37);
result.get(KIP37.INTERFACE_ID_IKIP37_BURNABLE);
result.get(KIP37.INTERFACE_ID_IKIP37_METADATA);
result.get(KIP37.INTERFACE_ID_IKIP37_MINTABLE);
result.get(KIP37.INTERFACE_ID_IKIP37_PAUSABLE);
caver
- A Caver instance.contractAddress
- A contract instancepublic java.util.Map<java.lang.String,java.lang.Boolean> detectInterface()
Example :
KIP37 kip37 = new KIP37("0x{contract_address}");
Map<String, Boolean> result = kip37.detectInterface();
result.get(KIP37.INTERFACE_ID_IKIP37);
result.get(KIP37.INTERFACE_ID_IKIP37_BURNABLE);
result.get(KIP37.INTERFACE_ID_IKIP37_METADATA);
result.get(KIP37.INTERFACE_ID_IKIP37_MINTABLE);
result.get(KIP37.INTERFACE_ID_IKIP37_PAUSABLE);
public java.lang.String uri(java.lang.String tokenId) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
tokenId
- The token id(hex string)java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public java.lang.String uri(java.math.BigInteger tokenId) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
tokenId
- The token id(integer)java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public java.math.BigInteger balanceOf(java.lang.String account, java.lang.String tokenId) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
account
- The address of the token holder.tokenId
- The ID of the token(hex string).java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public java.math.BigInteger balanceOf(java.lang.String account, java.math.BigInteger tokenId) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
account
- The address of the token holder.tokenId
- The ID of the token(integer).java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public java.util.List<java.math.BigInteger> balanceOfBatch(java.lang.String[] accounts, java.lang.String[] tokenIds) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
accounts
- The addresses of the token holders.tokenIds
- IDs of the tokens(hex string)java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public java.util.List<java.math.BigInteger> balanceOfBatch(java.lang.String[] accounts, java.math.BigInteger[] tokenIds) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
accounts
- The addresses of the token holders.tokenIds
- IDs of the tokens(integer)java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public TransactionReceipt.TransactionReceiptData safeTransferFrom(java.lang.String from, java.lang.String to, java.lang.String tokenId, java.math.BigInteger value) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
Caller must be approved to manage the tokens being transferred out of the 'from' account.
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenId
- ID of the token type(hex string).value
- Transfer amount.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData safeTransferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger tokenId, java.math.BigInteger value) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
Caller must be approved to manage the tokens being transferred out of the 'from' account.
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenId
- ID of the token type(integer)value
- Transfer amount.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData safeTransferFrom(java.lang.String from, java.lang.String to, java.lang.String tokenId, java.math.BigInteger value, java.lang.String data) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
Caller must be approved to manage the tokens being transferred out of the 'from' account.
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenId
- ID of the token type(hex string).value
- Transfer amount.data
- Additional data with no specified format.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData safeTransferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger tokenId, java.math.BigInteger value, java.lang.String data) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
Caller must be approved to manage the tokens being transferred out of the 'from' account.
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenId
- ID of the token type(integer)value
- Transfer amount.data
- Additional data with no specified format.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData safeTransferFrom(java.lang.String from, java.lang.String to, java.lang.String tokenId, java.math.BigInteger value, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
Caller must be approved to manage the tokens being transferred out of the 'from' account.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenId
- ID of the token type(hex string)value
- Transfer amount.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData safeTransferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger tokenId, java.math.BigInteger value, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
Caller must be approved to manage the tokens being transferred out of the 'from' account.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenId
- ID of the token type(integer)value
- Transfer amount.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData safeTransferFrom(java.lang.String from, java.lang.String to, java.lang.String tokenId, java.math.BigInteger value, java.lang.String data, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
Caller must be approved to manage the tokens being transferred out of the 'from' account.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenId
- ID of the token type(hex string)value
- Transfer amount.data
- Additional data with no specified format.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData safeTransferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger tokenId, java.math.BigInteger value, java.lang.String data, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
Caller must be approved to manage the tokens being transferred out of the 'from' account.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenId
- ID of the token type(integer)value
- Transfer amount.data
- Additional data with no specified format.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData safeBatchTransferFrom(java.lang.String from, java.lang.String to, java.lang.String[] tokenIds, java.math.BigInteger[] amounts, java.lang.String data) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
safeTransferFrom(String, String, String, BigInteger, String)
. It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenIds
- IDs of token type(hex string)amounts
- The amount of transfer corresponding to each token IDdata
- Additional data with no specified format.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData safeBatchTransferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger[] tokenIds, java.math.BigInteger[] amounts) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
safeTransferFrom(String, String, BigInteger, BigInteger, String)
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenIds
- IDs of token type(integer)amounts
- The amount of transfer corresponding to each token IDjava.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData safeBatchTransferFrom(java.lang.String from, java.lang.String to, java.lang.String[] tokenIds, java.math.BigInteger[] amounts) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
safeTransferFrom(String, String, String, BigInteger, String)
. It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenIds
- IDs of token type(hex string)amounts
- The amount of transfer corresponding to each token IDjava.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData safeBatchTransferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger[] tokenIds, java.math.BigInteger[] amounts, java.lang.String data) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
safeTransferFrom(String, String, BigInteger, BigInteger, String)
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenIds
- IDs of token type(integer)amounts
- The amount of transfer corresponding to each token IDdata
- Additional data with no specified format.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData safeBatchTransferFrom(java.lang.String from, java.lang.String to, java.lang.String[] tokenIds, java.math.BigInteger[] amounts, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
safeTransferFrom(String, String, String, BigInteger, String, SendOptions)
.If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenIds
- IDs of token type(hex string)amounts
- The amount of transfer corresponding to each token IDsendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData safeBatchTransferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger[] tokenIds, java.math.BigInteger[] amounts, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
safeTransferFrom(String, String, BigInteger, BigInteger, String, SendOptions)
.If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenIds
- IDs of token type(integer)amounts
- The amount of transfer corresponding to each token IDsendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData safeBatchTransferFrom(java.lang.String from, java.lang.String to, java.lang.String[] tokenIds, java.math.BigInteger[] amounts, java.lang.String data, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
safeTransferFrom(String, String, String, BigInteger, String, SendOptions)
.If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenIds
- IDs of token type(hex string)amounts
- The amount of transfer corresponding to each token IDdata
- Additional data with no specified format.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData safeBatchTransferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger[] tokenIds, java.math.BigInteger[] amounts, java.lang.String data, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
safeTransferFrom(String, String, BigInteger, BigInteger, String, SendOptions)
.If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
from
- Source address.to
- Target address.tokenIds
- IDs of token type(integer)amounts
- The amount of transfer corresponding to each token IDdata
- Additional data with no specified format.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData setApprovalForAll(java.lang.String operator, boolean approved) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
operator
- The address to add to the set of authorized operators.approved
- True if the operator is approved, false to revoke approvaljava.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData setApprovalForAll(java.lang.String operator, boolean approved, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
operator
- The address to add to the set of authorized operators.approved
- True if the operator is approved, false to revoke approvalsendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public boolean isApprovedForAll(java.lang.String owner, java.lang.String operator) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
owner
- The address of the token owner.operator
- The address of the authorized operator.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public java.math.BigInteger totalSupply(java.lang.String tokenId) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
tokenId
- The ID of the token.(hex string)java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public java.math.BigInteger totalSupply(java.math.BigInteger tokenId) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
tokenId
- The ID of the token.(integer)java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public TransactionReceipt.TransactionReceiptData create(java.lang.String tokenId, java.math.BigInteger initialSupply) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
tokenId
- The token id to create.(hex string)initialSupply
- The amount of tokens being minted.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData create(java.math.BigInteger tokenId, java.math.BigInteger initialSupply) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
tokenId
- The token id to create.(integer)initialSupply
- The amount of tokens being minted.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData create(java.lang.String tokenId, java.math.BigInteger initialSupply, java.lang.String uri) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
tokenId
- The token id to create.(hex string)initialSupply
- The amount of tokens being minted.uri
- The token URI of the created token.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData create(java.math.BigInteger tokenId, java.math.BigInteger initialSupply, java.lang.String uri) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
tokenId
- The token id to create.(integer)initialSupply
- The amount of tokens being minted.uri
- The token URI of the created token.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData create(java.lang.String tokenId, java.math.BigInteger initialSupply, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
tokenId
- The token id to create.(hex string)initialSupply
- The amount of tokens being minted.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData create(java.math.BigInteger tokenId, java.math.BigInteger initialSupply, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
tokenId
- The token id to create.(integer)initialSupply
- The amount of tokens being minted.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData create(java.lang.String tokenId, java.math.BigInteger initialSupply, java.lang.String uri, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
tokenId
- The token id to create.(hex string)initialSupply
- The amount of tokens being minted.uri
- The token URI of the created token.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData create(java.math.BigInteger tokenId, java.math.BigInteger initialSupply, java.lang.String uri, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
tokenId
- The token id to create.(integer)initialSupply
- The amount of tokens being minted.uri
- The token URI of the created token.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData mint(java.lang.String to, java.lang.String tokenId, java.math.BigInteger value) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
to
- The address that will receive the minted tokens.tokenId
- The token id to mint.(hex string)value
- The quantity of tokens being minted.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData mint(java.lang.String to, java.math.BigInteger tokenId, java.math.BigInteger value) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
to
- The address that will receive the minted tokens.tokenId
- The token id to mint.(integer)value
- The quantity of tokens being minted.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData mint(java.lang.String to, java.lang.String tokenId, java.math.BigInteger value, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
to
- The address that will receive the minted tokens.tokenId
- The token id to mint.(hex string)value
- The quantity of tokens being minted.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData mint(java.lang.String to, java.math.BigInteger tokenId, java.math.BigInteger value, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
to
- The address that will receive the minted tokens.tokenId
- The token id to mint.(integer)value
- The quantity of tokens being minted.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData mint(java.lang.String[] toList, java.lang.String tokenId, java.math.BigInteger[] values) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
toList
- The list of addresses that will receive the minted tokens.tokenId
- The token id to mint.(hex string)values
- The list of quantities of tokens being minted.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData mint(java.lang.String[] toList, java.math.BigInteger tokenId, java.math.BigInteger[] values) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
toList
- The list of addresses that will receive the minted tokens.tokenId
- The token id to mint.(integer)values
- The list of quantities of tokens being minted.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData mint(java.lang.String[] toList, java.lang.String tokenId, java.math.BigInteger[] values, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
toList
- The list of addresses that will receive the minted tokens.tokenId
- The token id to mint.(hex string)values
- The list of quantities of tokens being minted.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData mint(java.lang.String[] toList, java.math.BigInteger tokenId, java.math.BigInteger[] values, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
toList
- The list of addresses that will receive the minted tokens.tokenId
- The token id to mint.(integer)values
- The list of quantities of tokens being minted.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData mintBatch(java.lang.String to, java.lang.String[] tokenIds, java.math.BigInteger[] values) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
to
- The address that will receive the minted tokens.tokenIds
- The list of the token ids to mint.(hex string)values
- The list of quantities of token being minted.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData mintBatch(java.lang.String to, java.math.BigInteger[] tokenIds, java.math.BigInteger[] values) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
to
- The address that will receive the minted tokens.tokenIds
- The list of the token ids to mint.(integer)values
- The list of quantities of token being minted.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData mintBatch(java.lang.String to, java.lang.String[] tokenIds, java.math.BigInteger[] values, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
to
- The address that will receive the minted tokens.tokenIds
- The list of the token ids to mint.(hex string)values
- The list of quantities of token being minted.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData mintBatch(java.lang.String to, java.math.BigInteger[] tokenIds, java.math.BigInteger[] values, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
to
- The address that will receive the minted tokens.tokenIds
- The list of the token ids to mint.(integer)values
- The list of quantities of token being minted.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public boolean isMinter(java.lang.String account) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
account
- The address to check that has Minter rolejava.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public TransactionReceipt.TransactionReceiptData addMinter(java.lang.String account) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
account
- The account address to add minter role.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData addMinter(java.lang.String account, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
account
- The account address to add minter role.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData renounceMinter() throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData renounceMinter(SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData burn(java.lang.String address, java.lang.String tokenId, java.math.BigInteger value) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
address
- The account that owns tokens.tokenId
- The token id to burn.(hex string)value
- The token amount to burn.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData burn(java.lang.String address, java.math.BigInteger tokenId, java.math.BigInteger value) throws java.lang.NoSuchMethodException, org.web3j.protocol.exceptions.TransactionException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
address
- The account that owns tokens.tokenId
- The token id to burn.(integer)value
- The token amount to burn.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData burn(java.lang.String address, java.lang.String tokenId, java.math.BigInteger value, SendOptions sendParam) throws java.lang.NoSuchMethodException, org.web3j.protocol.exceptions.TransactionException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
address
- The account that owns tokens.tokenId
- The token id to burn.(hex string)value
- The token amount to burn.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
org.web3j.protocol.exceptions.TransactionException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public TransactionReceipt.TransactionReceiptData burn(java.lang.String address, java.math.BigInteger tokenId, java.math.BigInteger value, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
address
- The account that owns tokens.tokenId
- The token id to burn.(integer)value
- The token amount to burn.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
org.web3j.protocol.exceptions.TransactionException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public TransactionReceipt.TransactionReceiptData burnBatch(java.lang.String address, java.lang.String[] tokenIds, java.math.BigInteger[] values) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
address
- The account that owns tokens.tokenIds
- The list of the token ids to burn.(hex string)values
- The list of the token amounts to burn.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData burnBatch(java.lang.String address, java.math.BigInteger[] tokenIds, java.math.BigInteger[] values) throws java.lang.NoSuchMethodException, org.web3j.protocol.exceptions.TransactionException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
address
- The account that owns tokens.tokenIds
- The list of the token ids to burn.(integer)values
- The list of the token amounts to burn.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData burnBatch(java.lang.String address, java.lang.String[] tokenIds, java.math.BigInteger[] values, SendOptions sendParam) throws java.lang.NoSuchMethodException, org.web3j.protocol.exceptions.TransactionException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
address
- The account that owns tokens.tokenIds
- The list of the token ids to burn.(hex string)values
- The list of the token amounts to burn.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData burnBatch(java.lang.String address, java.math.BigInteger[] tokenIds, java.math.BigInteger[] values, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
address
- The account that owns tokens.tokenIds
- The list of the token ids to burn.(integer)values
- The list of the token amounts to burn.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public boolean paused() throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public boolean paused(java.lang.String tokenId) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
tokenId
- The token ID.(hex string)java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public boolean paused(java.math.BigInteger tokenId) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
tokenId
- The token ID.(integer)java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public TransactionReceipt.TransactionReceiptData pause() throws java.lang.NoSuchMethodException, org.web3j.protocol.exceptions.TransactionException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
java.lang.NoSuchMethodException
org.web3j.protocol.exceptions.TransactionException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public TransactionReceipt.TransactionReceiptData pause(SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData unpause() throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData unpause(SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData pause(java.lang.String tokenId) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
tokenId
- The token id to pause(hex string)java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData pause(java.math.BigInteger tokenId) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
tokenId
- The token id to pause(integer)java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData pause(java.lang.String tokenId, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
tokenId
- The token id to pause(hex string)sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData pause(java.math.BigInteger tokenId, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
tokenId
- The token id to pause(integer)sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData unpause(java.lang.String tokenId) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
tokenId
- he token id to unpause(hex string)java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData unpause(java.math.BigInteger tokenId) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
tokenId
- he token id to unpause(integer)java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData unpause(java.lang.String tokenId, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
tokenId
- he token id to unpause(hex string)sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData unpause(java.math.BigInteger tokenId, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
tokenId
- he token id to unpause(integer)sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
org.web3j.protocol.exceptions.TransactionException
public boolean isPauser(java.lang.String account) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
account
- The account address to check that has Pauser role.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public TransactionReceipt.TransactionReceiptData addPauser(java.lang.String account) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
account
- The account address to add Pauser role.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData addPauser(java.lang.String account, SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
account
- The account address to add Pauser role.sendParam
- A SendOptions need to execute contract's method.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData renouncePauser() throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData renouncePauser(SendOptions sendParam) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public boolean supportsInterface(java.lang.String interfaceId) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
interfaceId
- interface identifierjava.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException