public class KIP17 extends Contract
Modifier and Type | Class and Description |
---|---|
static class |
KIP17.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_APPROVE |
static java.lang.String |
FUNCTION_BALANCE_OF |
static java.lang.String |
FUNCTION_BURN |
static java.lang.String |
FUNCTION_GET_APPROVED |
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_WITH_TOKEN_URI |
static java.lang.String |
FUNCTION_NAME |
static java.lang.String |
FUNCTION_OWNER_OF |
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_TRANSFER_FROM |
static java.lang.String |
FUNCTION_SET_APPROVAL_FOR_ALL |
static java.lang.String |
FUNCTION_SUPPORTS_INTERFACE |
static java.lang.String |
FUNCTION_SYMBOL |
static java.lang.String |
FUNCTION_TOKEN_BY_INDEX |
static java.lang.String |
FUNCTION_TOKEN_OF_OWNER_BY_INDEX |
static java.lang.String |
FUNCTION_TOKEN_URI |
static java.lang.String |
FUNCTION_TOTAL_SUPPLY |
static java.lang.String |
FUNCTION_TRANSFER_FROM |
static java.lang.String |
FUNCTION_UNPAUSE |
Constructor and Description |
---|
KIP17(Caver caver)
Creates a KIP17 instance.
|
KIP17(Caver caver,
java.lang.String contractAddress)
Creates a KIP17 instance
|
Modifier and Type | Method and Description |
---|---|
TransactionReceipt.TransactionReceiptData |
addMinter(java.lang.String account)
Execute method "addMinter" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
addMinter(java.lang.String account,
SendOptions sendParam)
Execute method "addMinter" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
addPauser(java.lang.String account)
Execute method "addPauser" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
addPauser(java.lang.String account,
SendOptions sendParam)
Execute method "addPauser" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
approve(java.lang.String to,
java.math.BigInteger tokenId)
Execute method "approve" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
approve(java.lang.String to,
java.math.BigInteger tokenId,
SendOptions sendParam)
Execute method "approve" in KIP-17 standard contract.
|
java.math.BigInteger |
balanceOf(java.lang.String account)
Call method "balanceOf" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
burn(java.math.BigInteger tokenId)
Execute method "burn" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
burn(java.math.BigInteger tokenId,
SendOptions sendParam)
Execute method "burn" in KIP-17 standard contract.
|
KIP17 |
clone()
Copy instance
|
KIP17 |
clone(java.lang.String tokenAddress)
Copy instance with token address
|
static KIP17 |
deploy(Caver caver,
KIP17DeployParams tokenInfo,
java.lang.String deployer)
Deploy KIP17 contract
It must add deployer's keyring in caver.wallet.
|
static KIP17 |
deploy(Caver caver,
KIP17DeployParams tokenInfo,
java.lang.String deployer,
IWallet wallet)
Deploy KIP17 contract
The wallet used in the contract is set to the wallet type passed as a parameter of the method.
|
static KIP17 |
deploy(Caver caver,
java.lang.String deployer,
java.lang.String name,
java.lang.String symbol)
Deploy a KIP-17 contract.
|
static KIP17 |
deploy(Caver caver,
java.lang.String deployer,
java.lang.String name,
java.lang.String symbol,
IWallet wallet)
Deploy a KIP-17 contract.
|
java.util.Map<java.lang.String,java.lang.Boolean> |
detectInterface()
Detects which interface the KIP-17 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-17 token contract supports.
|
java.lang.String |
getApproved(java.math.BigInteger tokenId)
Call method "getApproved" in KIP-17 standard contract.
|
boolean |
isApprovedForAll(java.lang.String owner,
java.lang.String operator)
Call method "isApprovedForAll" in KIP-17 standard contract.
|
boolean |
isMinter(java.lang.String account)
Call method "isMinter" in KIP-17 standard contract.
|
boolean |
isPauser(java.lang.String account)
Call method "isPauser" in KIP-17 standard contract
|
TransactionReceipt.TransactionReceiptData |
mint(java.lang.String to,
java.math.BigInteger tokenId)
Execute method "mint" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
mint(java.lang.String to,
java.math.BigInteger tokenId,
SendOptions sendParam)
Execute method "mint" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
mintWithTokenURI(java.lang.String to,
java.math.BigInteger tokenId,
java.lang.String tokenURI)
Execute method "mintWithTokenURI" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
mintWithTokenURI(java.lang.String to,
java.math.BigInteger tokenId,
java.lang.String tokenURI,
SendOptions sendParam)
Execute method "mintWithTokenURI" in KIP-17 standard contract.
|
java.lang.String |
name()
Call method "name" in KIP-17 standard contract.
|
java.lang.String |
ownerOf(java.math.BigInteger tokenId)
Call method "ownerOf" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
pause()
Execute method "pause" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
pause(SendOptions sendParam)
Execute method "pause" in KIP-17 standard contract.
|
boolean |
paused()
Call method "paused" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
renounceMinter()
Execute method "renounceMinter" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
renounceMinter(SendOptions sendParam)
Execute method "renounceMinter" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
renouncePauser()
Execute method "renouncePauser" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
renouncePauser(SendOptions sendParam)
Execute method "renouncePauser" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger tokenId)
Execute method "safeTransferFrom" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger tokenId,
SendOptions sendParam)
Execute method "safeTransferFrom" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger tokenId,
java.lang.String data)
Execute method "safeTransferFrom" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
safeTransferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger tokenId,
java.lang.String data,
SendOptions sendParam)
Execute method "safeTransferFrom" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
setApproveForAll(java.lang.String to,
boolean approved)
Execute method "setApprovedForAll" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
setApproveForAll(java.lang.String to,
boolean approved,
SendOptions sendParam)
Execute method "setApprovedForAll" in KIP-17 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-17 standard contract.
|
java.math.BigInteger |
tokenByIndex(java.math.BigInteger index)
Call method "tokenByIndex" in KIP-17 standard contract.
|
java.math.BigInteger |
tokenOwnerByIndex(java.lang.String owner,
java.math.BigInteger index)
Call method "tokenOwnerByIndex" in KIP-17 standard contract.
|
java.lang.String |
tokenURI(java.math.BigInteger tokenId)
Call method "tokenURI" in KIP-17 standard contract.
|
java.math.BigInteger |
totalSupply()
Call method "totalSupply" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
transferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger tokenId)
Execute method "transferFrom" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
transferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger tokenId,
SendOptions sendParam)
Execute method "transferFrom" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
unpause()
Execute method "unpause" in KIP-17 standard contract.
|
TransactionReceipt.TransactionReceiptData |
unpause(SendOptions sendParam)
Execute method "unpause" in KIP-17 standard contract.
|
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_ADD_MINTER
public static final java.lang.String FUNCTION_ADD_PAUSER
public static final java.lang.String FUNCTION_APPROVE
public static final java.lang.String FUNCTION_BALANCE_OF
public static final java.lang.String FUNCTION_BURN
public static final java.lang.String FUNCTION_GET_APPROVED
public static final java.lang.String FUNCTION_IS_APPROVED_FOR_ALL
public static final java.lang.String FUNCTION_IS_MINTER
public static final java.lang.String FUNCTION_IS_PAUSER
public static final java.lang.String FUNCTION_MINT
public static final java.lang.String FUNCTION_MINT_WITH_TOKEN_URI
public static final java.lang.String FUNCTION_NAME
public static final java.lang.String FUNCTION_OWNER_OF
public static final java.lang.String FUNCTION_PAUSE
public static final java.lang.String FUNCTION_PAUSED
public static final java.lang.String FUNCTION_RENOUNCE_MINTER
public static final java.lang.String FUNCTION_RENOUNCE_PAUSER
public static final java.lang.String FUNCTION_SAFE_TRANSFER_FROM
public static final java.lang.String FUNCTION_SET_APPROVAL_FOR_ALL
public static final java.lang.String FUNCTION_SUPPORTS_INTERFACE
public static final java.lang.String FUNCTION_SYMBOL
public static final java.lang.String FUNCTION_TOKEN_BY_INDEX
public static final java.lang.String FUNCTION_TOKEN_OF_OWNER_BY_INDEX
public static final java.lang.String FUNCTION_TOKEN_URI
public static final java.lang.String FUNCTION_TOTAL_SUPPLY
public static final java.lang.String FUNCTION_TRANSFER_FROM
public static final java.lang.String FUNCTION_UNPAUSE
public KIP17(Caver caver) throws java.io.IOException
caver
- A Caver instance.java.io.IOException
public KIP17(Caver caver, java.lang.String contractAddress) throws java.io.IOException
caver
- A Caver instance.contractAddress
- A contract addressjava.io.IOException
public static KIP17 deploy(Caver caver, java.lang.String deployer, java.lang.String name, java.lang.String symbol) 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
caver
- A Caver instance.deployer
- A deployer's address.name
- A KIP-17 contract namesymbol
- A KIP-17 contract symboljava.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 KIP17 deploy(Caver caver, java.lang.String deployer, java.lang.String name, java.lang.String symbol, IWallet wallet) 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
caver
- A Caver instance.deployer
- A deployer's address.name
- A KIP-17 contract namesymbol
- A KIP-17 contract symbolwallet
- 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 KIP17 deploy(Caver caver, KIP17DeployParams tokenInfo, java.lang.String deployer) 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
caver
- A Caver instance.tokenInfo
- The KIP-17 contract's deploy parameter values.deployer
- A deployer's address.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 KIP17 deploy(Caver caver, KIP17DeployParams tokenInfo, java.lang.String deployer, IWallet wallet) 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
caver
- A Caver instance.tokenInfo
- The KIP-17 contract's deploy parameter values.deployer
- A deployer's address.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 java.util.Map<java.lang.String,java.lang.Boolean> detectInterface(Caver caver, java.lang.String contractAddress)
Example :
Map<String, Boolean> result = KIP17.detectInterface();
result.get(KIP17.INTERFACE_ID_IKIP17);
result.get(KIP17.INTERFACE_ID_IKIP17_METADATA);
result.get(KIP17.INTERFACE_ID_IKIP17_ENUMERABLE);
result.get(KIP17.INTERFACE_ID_IKIP17_MINTABLE);
result.get(KIP17.INTERFACE_ID_IKIP17_METADATA_MINTABLE);
result.get(KIP17.INTERFACE_ID_IKIP17_BURNABLE);
result.get(KIP17.INTERFACE_ID_IKIP17_PAUSABLE);
caver
- A Caver instance.contractAddress
- A contract instancepublic KIP17 clone()
clone
in class java.lang.Object
public KIP17 clone(java.lang.String tokenAddress)
tokenAddress
- A KIP-17 token addresspublic java.util.Map<java.lang.String,java.lang.Boolean> detectInterface()
Example :
KIP17 kip17 = new KIP17("0x{contract_address}");
Map<String, Boolean> result = kip17.detectInterface();
result.get(KIP17.INTERFACE_ID_IKIP17);
result.get(KIP17.INTERFACE_ID_IKIP17_METADATA);
result.get(KIP17.INTERFACE_ID_IKIP17_ENUMERABLE);
result.get(KIP17.INTERFACE_ID_IKIP17_MINTABLE);
result.get(KIP17.INTERFACE_ID_IKIP17_METADATA_MINTABLE);
result.get(KIP17.INTERFACE_ID_IKIP17_BURNABLE);
result.get(KIP17.INTERFACE_ID_IKIP17_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 java.lang.String tokenURI(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
- 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 tokenOwnerByIndex(java.lang.String owner, java.math.BigInteger index) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
owner
- An account where we are interested in NFTs owned by themindex
- A counter less than "balanceOf(owner)"java.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public java.math.BigInteger tokenByIndex(java.math.BigInteger index) throws java.lang.NoSuchMethodException, java.io.IOException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.ClassNotFoundException
index
- A counter less than "totalSupply"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 account 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.lang.String ownerOf(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 identifier of NFTjava.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
public java.lang.String getApproved(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 identifier of NFTjava.lang.NoSuchMethodException
java.io.IOException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.ClassNotFoundException
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 account that owns the NFTsoperator
- The account that act on behalf of the ownerjava.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 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 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 TransactionReceipt.TransactionReceiptData approve(java.lang.String to, java.math.BigInteger tokenId) 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
to
- The new account approved NFT controllertokenId
- The NFT ID to approvejava.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 to, java.math.BigInteger tokenId, 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
to
- The new account approved NFT controllertokenId
- The NFT ID to approvesendParam
- 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 setApproveForAll(java.lang.String to, boolean approved) 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
to
- Account to add 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.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData setApproveForAll(java.lang.String to, boolean approved, 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
to
- Account to add 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.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
org.web3j.protocol.exceptions.TransactionException
public TransactionReceipt.TransactionReceiptData transferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger tokenId) 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
from
- The current owner of the NFTto
- The new ownertokenId
- The NFT identifier to transferjava.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 from, java.lang.String to, java.math.BigInteger tokenId, 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
from
- The current owner of the NFTto
- The new ownertokenId
- The NFT identifier to transfersendParam
- 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 from, java.lang.String to, java.math.BigInteger tokenId) 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
from
- The current owner of the NFTto
- The new ownertokenId
- The NFT identifier to transferjava.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 from, java.lang.String to, java.math.BigInteger tokenId, 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
from
- The current owner of the NFTto
- The new ownertokenId
- The NFT identifier to transfersendParam
- 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 from, java.lang.String to, java.math.BigInteger tokenId, 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
from
- The current owner of the NFTto
- The new ownertokenId
- The NFT identifier to transferdata
- 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 from, java.lang.String to, java.math.BigInteger tokenId, 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
from
- The current owner of the NFTto
- The new ownertokenId
- The NFT identifier to transferdata
- 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 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
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
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
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
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 to, java.math.BigInteger tokenId) 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
to
- The account that will receive the minted tokentokenId
- The NFT identifier to be mintedjava.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 to, java.math.BigInteger tokenId, 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
to
- The account that will receive the minted tokentokenId
- The NFT identifier to be mintedsendParam
- 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 mintWithTokenURI(java.lang.String to, java.math.BigInteger tokenId, java.lang.String tokenURI) 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
to
- The account that will receive the minted tokentokenId
- The NFT identifier to be mintedtokenURI
- The NFT URI(Uniform Resource Identifier) to be mintedjava.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 mintWithTokenURI(java.lang.String to, java.math.BigInteger tokenId, java.lang.String tokenURI, 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
to
- The account that will receive the minted tokentokenId
- The NFT identifier to be mintedtokenURI
- The NFT URI(Uniform Resource Identifier) to be mintedsendParam
- 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 tokenId) 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
tokenId
- The NFT identifier to be mintedjava.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 tokenId, 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
tokenId
- The NFT identifier to be mintedsendParam
- 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, java.io.IOException, java.lang.InstantiationException, java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, org.web3j.protocol.exceptions.TransactionException
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
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
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
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 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
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
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 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
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
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