public class KIP7 extends Contract
Modifier and Type | Class and Description |
---|---|
static class |
KIP7.INTERFACE |
Constructor and Description |
---|
KIP7(Caver caver)
Creates a KIP7 instance.
|
KIP7(Caver caver,
java.lang.String contractAddress)
Creates a KIP7 instance
|
Modifier and Type | Method and Description |
---|---|
TransactionReceipt.TransactionReceiptData |
addMinter(java.lang.String account)
Execute a method "addMinter" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
addMinter(java.lang.String account,
SendOptions sendParam)
Execute a method "addMinter" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
addPauser(java.lang.String account)
Execute a method "addPauser" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
addPauser(java.lang.String account,
SendOptions sendParam)
Execute a method "addPauser" in KIP-7 standard contract.
|
java.math.BigInteger |
allowance(java.lang.String owner,
java.lang.String spender)
Call method "allowance" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
approve(java.lang.String spender,
java.math.BigInteger amount)
Execute a method "approve" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
approve(java.lang.String spender,
java.math.BigInteger amount,
SendOptions sendParam)
Execute a method "approve" in KIP-7 standard contract.
|
java.math.BigInteger |
balanceOf(java.lang.String account)
Call method "balanceOf" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
burn(java.math.BigInteger amount)
Execute a method "burn" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
burn(java.math.BigInteger amount,
SendOptions sendParam)
Execute a method "burn" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
burnFrom(java.lang.String account,
java.math.BigInteger amount)
Execute a method "burnFrom" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
burnFrom(java.lang.String account,
java.math.BigInteger amount,
SendOptions sendParam)
Execute a method "burnFrom" in KIP-7 standard contract.
|
KIP7 |
clone()
Copy instance
|
KIP7 |
clone(java.lang.String tokenAddress)
Copy instance with token address
|
static KIP7 |
create(Caver caver)
Creates a KIP7 instance.
|
static KIP7 |
create(Caver caver,
java.lang.String contractAddress)
Creates a KIP7 instance.
|
int |
decimals()
Call method "decimals" in KIP-7 standard contract.
|
static KIP7 |
deploy(Caver caver,
KIP7DeployParams tokenInfo,
SendOptions sendOptions)
Deploy KIP-7 contract.
|
static KIP7 |
deploy(Caver caver,
KIP7DeployParams tokenInfo,
SendOptions sendOptions,
IWallet wallet)
Deploy KIP-7 contract.
|
static KIP7 |
deploy(Caver caver,
KIP7DeployParams tokenInfo,
java.lang.String deployer)
Deploy KIP-7 contract.
|
static KIP7 |
deploy(Caver caver,
KIP7DeployParams tokenInfo,
java.lang.String deployer,
IWallet wallet)
Deploy KIP-7 contract.
|
static KIP7 |
deploy(Caver caver,
SendOptions sendOptions,
java.lang.String name,
java.lang.String symbol,
int decimals,
java.math.BigInteger initialSupply)
Deploy KIP-7 contract.
|
static KIP7 |
deploy(Caver caver,
SendOptions sendOptions,
java.lang.String name,
java.lang.String symbol,
int decimals,
java.math.BigInteger initialSupply,
IWallet wallet)
Deploy KIP-7 contract.
|
static KIP7 |
deploy(Caver caver,
java.lang.String deployer,
java.lang.String name,
java.lang.String symbol,
int decimals,
java.math.BigInteger initialSupply)
Deploy KIP-7 contract.
|
static KIP7 |
deploy(Caver caver,
java.lang.String deployer,
java.lang.String name,
java.lang.String symbol,
int decimals,
java.math.BigInteger initialSupply,
IWallet wallet)
Deploy KIP-7 contract.
|
java.util.Map<java.lang.String,java.lang.Boolean> |
detectInterface()
Detects which interface the KIP-7 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-7 token contract supports.
|
boolean |
isMinter(java.lang.String account)
Call method "isMinter" in KIP-7 standard contract.
|
boolean |
isPauser(java.lang.String account)
Call method "isPauser" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
mint(java.lang.String account,
java.math.BigInteger amount)
Execute a method "mint" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
mint(java.lang.String account,
java.math.BigInteger amount,
SendOptions sendParam)
Execute a method "mint" in KIP-7 standard contract.
|
java.lang.String |
name()
Call method "name" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
pause()
Execute a method "pause" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
pause(SendOptions sendParam)
Execute a method "pause" in KIP-7 standard contract.
|
boolean |
paused()
Call method "paused" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
renounceMinter()
Execute a method "renounceMinter" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
renounceMinter(SendOptions sendParam)
Execute a method "renounceMinter" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
renouncePauser()
Execute a method "unpause" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
renouncePauser(SendOptions sendParam)
Execute a method "unpause" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
safeTransfer(java.lang.String recipient,
java.math.BigInteger amount)
Execute a method "safeTransfer" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
safeTransfer(java.lang.String recipient,
java.math.BigInteger amount,
SendOptions sendParam)
Execute a method "safeTransfer" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
safeTransfer(java.lang.String recipient,
java.math.BigInteger amount,
java.lang.String data)
Execute a method "safeTransfer" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
safeTransfer(java.lang.String recipient,
java.math.BigInteger amount,
java.lang.String data,
SendOptions sendParam)
Execute a method "safeTransfer" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String sender,
java.lang.String recipient,
java.math.BigInteger amount)
Execute a method "safeTransfer" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String sender,
java.lang.String recipient,
java.math.BigInteger amount,
SendOptions sendParam)
Execute a method "safeTransfer" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String sender,
java.lang.String recipient,
java.math.BigInteger amount,
java.lang.String data)
Execute a method "safeTransferFrom" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String sender,
java.lang.String recipient,
java.math.BigInteger amount,
java.lang.String data,
SendOptions sendParam)
Execute a method "safeTransferFrom" in KIP-7 standard contract.
|
boolean |
supportInterface(java.lang.String interfaceId)
Call method "supportsInterface" in KIP-13 standard contract.
|
java.lang.String |
symbol()
Call method "symbol" in KIP-7 standard contract.
|
java.math.BigInteger |
totalSupply()
Call method "totalSupply" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
transfer(java.lang.String recipient,
java.math.BigInteger amount)
Execute a method "transfer" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
transfer(java.lang.String recipient,
java.math.BigInteger amount,
SendOptions sendParam)
Execute a method "transfer" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
transferFrom(java.lang.String sender,
java.lang.String recipient,
java.math.BigInteger amount)
Execute a method "transferFrom" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
transferFrom(java.lang.String sender,
java.lang.String recipient,
java.math.BigInteger amount,
SendOptions sendParam)
Execute a method "transferFrom" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
unpause()
Execute a method "unpause" in KIP-7 standard contract.
|
TransactionReceipt.TransactionReceiptData |
unpause(SendOptions sendParam)
Execute a method "unpause" in KIP-7 standard contract.
|
call, call, callWithSolidityType, callWithSolidityType, create, decodeFunctionCall, deploy, deploy, deploy, deploy, encodeABI, encodeABIWithSolidityType, estimateGas, estimateGasWithSolidityType, findContractMethodBySignature, getAbi, getCaver, getConstructor, getContractAddress, getDefaultSendOptions, getEvent, getEvents, getMethod, getMethods, getPastEvent, getWallet, once, send, send, send, sendWithSolidityType, sendWithSolidityType, sendWithSolidityType, setDefaultSendOptions, setWallet, sign, sign, signAsFeePayer, signAsFeePayer, signAsFeePayerWithSolidityType, signAsFeePayerWithSolidityType, signWithSolidityType, signWithSolidityType
public KIP7(Caver caver) throws java.io.IOException
caver
- A Caver instance.java.io.IOException
public KIP7(Caver caver, java.lang.String contractAddress) throws java.io.IOException
caver
- A Caver instancecontractAddress
- A contract addressjava.io.IOException
public static KIP7 create(Caver caver) throws java.io.IOException
caver
- A Caver instance.java.io.IOException
public static KIP7 create(Caver caver, java.lang.String contractAddress) throws java.io.IOException
caver
- A Caver instance.contractAddress
- A contract addressjava.io.IOException
public static KIP7 deploy(Caver caver, java.lang.String deployer, java.lang.String name, java.lang.String symbol, int decimals, java.math.BigInteger initialSupply) 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 must add deployer's keyring in caver.wallet.
caver
- A Caver instance.deployer
- A deployer's address.name
- A KIP-7 contract name.symbol
- A KIP-7 contract symbol.decimals
- A KIP-7 contract decimals.initialSupply
- A KIP-7 contract initial supply.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 static KIP7 deploy(Caver caver, SendOptions sendOptions, java.lang.String name, java.lang.String symbol, int decimals, java.math.BigInteger initialSupply) throws org.web3j.protocol.exceptions.TransactionException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException, java.lang.InstantiationException, java.lang.IllegalAccessException
It must add deployer's keyring in caver.wallet.
If you want to deploy a contract using fee delegation transaction, you can create and send a fee delegated transaction through setting a fee delegation field in `SendOptions` like below code example.
SendOptions sendOptions = new SendOptions();
sendOptions.setFrom("deployer address");
sendOptions.setGas(BigInteger.valueOf(gas value));
sendOptions.setFeeDelegation(true);
sendOptions.setFeePayer("fee payer address");
KIP7 kip7 = caver.kct.kip7.deploy(sendOptions, name, symbol, decimals, initialSupply);
caver
- A Caver instance.sendOptions
- The send options to deploy a contract.name
- A KIP-7 contract name.symbol
- A KIP-7 contract symbol.decimals
- A KIP-7 contract decimals.initialSupply
- A KIP-7 contract initial supply.org.web3j.protocol.exceptions.TransactionException
java.io.IOException
java.lang.ClassNotFoundException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.IllegalAccessException
public static KIP7 deploy(Caver caver, java.lang.String deployer, java.lang.String name, java.lang.String symbol, int decimals, java.math.BigInteger initialSupply, IWallet wallet) 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
The wallet used in the contract is set to the wallet type passed as a parameter of the method.
caver
- A Caver instance.deployer
- A deployer's address.name
- A KIP-7 contract name.symbol
- A KIP-7 contract symbol.decimals
- A KIP-7 contract decimals.initialSupply
- A KIP-7 contract initial supply.wallet
- The class instance implemented IWallet to sign transaction.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 static KIP7 deploy(Caver caver, SendOptions sendOptions, java.lang.String name, java.lang.String symbol, int decimals, java.math.BigInteger initialSupply, IWallet wallet) throws org.web3j.protocol.exceptions.TransactionException, java.io.IOException, java.lang.ClassNotFoundException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException, java.lang.InstantiationException, java.lang.IllegalAccessException
The wallet used in the contract is set to the wallet type passed as a parameter of the method.
If you want to deploy a contract using fee delegation transaction, you can create and send a fee delegated transaction through setting a fee delegation field in `SendOptions` like below code example.
SendOptions sendOptions = new SendOptions();
sendOptions.setFrom("deployer address");
sendOptions.setGas(BigInteger.valueOf(gas value));
sendOptions.setFeeDelegation(true);
sendOptions.setFeePayer("fee payer address");
KIP7 kip7 = caver.kct.kip7.deploy(sendOptions, name, symbol, decimals, initialSupply, caver.getWallet());
caver
- A Caver instance.sendOptions
- The send options to deploy a contract.name
- A KIP-7 contract name.symbol
- A KIP-7 contract symbol.decimals
- A KIP-7 contract decimals.initialSupply
- A KIP-7 contract initial supply.wallet
- The class instance implemented IWallet to sign transaction.org.web3j.protocol.exceptions.TransactionException
java.io.IOException
java.lang.ClassNotFoundException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.IllegalAccessException
public static KIP7 deploy(Caver caver, KIP7DeployParams tokenInfo, java.lang.String deployer) 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
The deployer's keyring should be added in `caver.wallet`.
caver
- A Caver instancetokenInfo
- The KIP-7 contract's deploy parameter valuesdeployer
- A deployer's addressjava.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public static KIP7 deploy(Caver caver, KIP7DeployParams tokenInfo, SendOptions sendOptions) 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
The deployer's keyring should be added in `caver.wallet`.
If you want to deploy a contract using fee delegation transaction, you can create and send a fee delegated transaction through setting a fee delegation field in `SendOptions` like below code example.
SendOptions sendOptions = new SendOptions();
sendOptions.setFrom("deployer address");
sendOptions.setGas(BigInteger.valueOf(gas value));
sendOptions.setFeeDelegation(true);
sendOptions.setFeePayer("fee payer address");
KIP7DeployParams tokenInfo = new KIP7DeployParams(name, symbol, decimals, initialSupply);
KIP7 kip7 = caver.kct.kip7.deploy(tokenInfo, sendOptions);
caver
- A Caver instancetokenInfo
- The KIP-7 contract's deploy parameter valuessendOptions
- The send options to deploy a contract.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 static KIP7 deploy(Caver caver, KIP7DeployParams tokenInfo, 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
The wallet used in the contract is set to the wallet type passed as a parameter of the method.
caver
- A Caver instancetokenInfo
- The KIP-7 contract's deploy parameter valuesdeployer
- A deployer's addresswallet
- The class instance implemented IWallet to sign transaction.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 static KIP7 deploy(Caver caver, KIP7DeployParams tokenInfo, SendOptions sendOptions, IWallet wallet) throws java.io.IOException, org.web3j.protocol.exceptions.TransactionException, java.lang.ClassNotFoundException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException, java.lang.InstantiationException, java.lang.IllegalAccessException
The wallet used in the contract is set to the wallet type passed as a parameter of the method.
If you want to deploy a contract using fee delegation transaction, you can create and send a fee delegated transaction through setting a fee delegation field in `SendOptions` like below code example.
SendOptions sendOptions = new SendOptions();
sendOptions.setFrom("deployer address");
sendOptions.setGas(BigInteger.valueOf(gas value));
sendOptions.setFeeDelegation(true);
sendOptions.setFeePayer("fee payer address");
KIP7DeployParams tokenInfo = new KIP7DeployParams(name, symbol, decimals, initialSupply);
KIP7 kip7 = caver.kct.kip7.deploy(tokenInfo, sendOptions, caver.getWallet());
caver
- A Caver instancetokenInfo
- The KIP-7 contract's deploy parameter valuessendOptions
- The send options to deploy a contract.wallet
- The class instance implemented IWallet to sign transaction.java.io.IOException
org.web3j.protocol.exceptions.TransactionException
java.lang.ClassNotFoundException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.IllegalAccessException
public static java.util.Map<java.lang.String,java.lang.Boolean> detectInterface(Caver caver, java.lang.String contractAddress)
Example :
Map<String, Boolean> result = KIP7.detectInterface();
result.get(KIP7.INTERFACE_ID_IKIP7);
result.get(KIP7.INTERFACE_ID_IKIP7_BURNABLE);
result.get(KIP7.INTERFACE_ID_IKIP7_METADATA);
result.get(KIP7.INTERFACE_ID_IKIP7_MINTABLE);
result.get(KIP7.INTERFACE_ID_IKIP7_PAUSABLE);
caver
- A Caver instance.contractAddress
- A contract address.public KIP7 clone()
clone
in class java.lang.Object
public KIP7 clone(java.lang.String tokenAddress)
tokenAddress
- A KIP-7 token addresspublic java.util.Map<java.lang.String,java.lang.Boolean> detectInterface()
Example :
KIP7 kip7 = new KIP7("0x{contract_address}");
Map<String, Boolean> result = kip7.detectInterface();
result.get(KIP7.INTERFACE_ID_IKIP7);
result.get(KIP7.INTERFACE_ID_IKIP7_BURNABLE);
result.get(KIP7.INTERFACE_ID_IKIP7_METADATA);
result.get(KIP7.INTERFACE_ID_IKIP7_MINTABLE);
result.get(KIP7.INTERFACE_ID_IKIP7_PAUSABLE);
public boolean supportInterface(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
public java.lang.String name() 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 java.lang.String symbol() 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 int decimals() 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 java.math.BigInteger totalSupply() 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 java.math.BigInteger balanceOf(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
- An address for whom to query the balancejava.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public java.math.BigInteger allowance(java.lang.String owner, java.lang.String spender) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
owner
- The account allowed `spender` to withdraw the tokens from the account.spender
- The address is approved to withdraw the tokens.java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
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 account to check the minting permissionjava.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
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 to check the pausing permissionjava.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
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 TransactionReceipt.TransactionReceiptData approve(java.lang.String spender, java.math.BigInteger amount) 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 default sendOptions has null, it will automatically set gas value through estimateGas().
spender
- The address is approved to withdraw the tokens.amount
- Amount the token amount will be approved.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 approve(java.lang.String spender, java.math.BigInteger amount, 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().
spender
- The address is approved to withdraw the tokens.amount
- Amount the token amount will be approved.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 transfer(java.lang.String recipient, java.math.BigInteger amount) 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().
recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.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 transfer(java.lang.String recipient, java.math.BigInteger amount, 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 default sendOptions has null, it will automatically set gas value through estimateGas().
recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.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 transferFrom(java.lang.String sender, java.lang.String recipient, java.math.BigInteger amount) 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().
sender
- The current owner of the tokens.recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.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 transferFrom(java.lang.String sender, java.lang.String recipient, java.math.BigInteger amount, 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 default sendOptions has null, it will automatically set gas value through estimateGas().
sender
- The current owner of the tokens.recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.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 safeTransfer(java.lang.String recipient, java.math.BigInteger amount) 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 default sendOptions has null, it will automatically set gas value through estimateGas().
recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.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 safeTransfer(java.lang.String recipient, java.math.BigInteger amount, 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().
recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.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 safeTransfer(java.lang.String recipient, java.math.BigInteger amount, 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
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in default sendOptions has null, it will automatically set gas value through estimateGas().
recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.data
- Additional data with no specified format, sent in call to `_to`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 safeTransfer(java.lang.String recipient, java.math.BigInteger amount, 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
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.data
- Additional data with no specified format, sent in call to `_to`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 safeTransferFrom(java.lang.String sender, java.lang.String recipient, java.math.BigInteger amount) 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 default sendOptions has null, it will automatically set gas value through estimateGas().
sender
- The current owner of the tokens.recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.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 safeTransferFrom(java.lang.String sender, java.lang.String recipient, java.math.BigInteger amount, 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().
sender
- The current owner of the tokens.recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.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 safeTransferFrom(java.lang.String sender, java.lang.String recipient, java.math.BigInteger amount, 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
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in default sendOptions has null, it will automatically set gas value through estimateGas().
sender
- The current owner of the tokens.recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.data
- Additional data with no specified format, sent in call to `_to`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 safeTransferFrom(java.lang.String sender, java.lang.String recipient, java.math.BigInteger amount, 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
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
sender
- The current owner of the tokens.recipient
- The address of the account to receive the token.amount
- The token amount will be transferred.data
- Additional data with no specified format, sent in call to `_to`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 mint(java.lang.String account, java.math.BigInteger amount) 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
Caller must have "Minter" Permission.
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in default sendOptions has null, it will automatically set gas value through estimateGas().
account
- The account that will receive the minted tokenamount
- The token amount to mintjava.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 mint(java.lang.String account, java.math.BigInteger amount, 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
Caller must have "Minter" Permission.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
account
- The account that will receive the minted tokenamount
- The token amount to mintsendParam
- 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 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
Caller must have "Minter" Permission.
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in default sendOptions has null, it will automatically set gas value through estimateGas().
account
- The account to be given the minting permissionjava.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
Caller must have "Minter" Permission.
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 to be given the minting permissionsendParam
- 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
Caller must have "Minter" Permission.
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in default 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
Caller must have "Minter" Permission.
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().
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.math.BigInteger amount) 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().
amount
- The token amount to be burnedjava.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.math.BigInteger amount, 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 default sendOptions has null, it will automatically set gas value through estimateGas().
amount
- The token amount to be burnedsendParam
- 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 burnFrom(java.lang.String account, java.math.BigInteger amount) 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().
account
- The account will be deducted is the The token amount to be burnedamount
- The token amount to be burnedjava.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 burnFrom(java.lang.String account, java.math.BigInteger amount, 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().
account
- The account will be deducted is the The token amount to be burnedamount
- The token amount to be burnedsendParam
- 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 addPauser(java.lang.String account) 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
Caller must have Pauser permission.
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in default sendOptions has null, it will automatically set gas value through estimateGas().
account
- The account to be given the pausing permissionjava.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
Caller must have Pauser permission.
If a gas value in sendOptions has null, it will automatically set gas value through estimateGas().
account
- The account to be given the pausing permissionsendParam
- 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 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
Caller must have Pauser permission.
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in default 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 pause(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
Caller must have Pauser permission.
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 unpause() 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
Caller must have Pauser permission.
It will use default sendOptions in contract instance to passed sendOptions.
If a gas value in default 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 unpause(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
Caller must have Pauser permission.
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 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
Caller must have Pauser permission.
It will use default sendOptions in contract instance to passed sendOptions. If a gas value in default 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
Caller must have Pauser permission.
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