KIP17
instead.@Deprecated public class KIP17 extends SmartContract
KIP17
Modifier and Type | Class and Description |
---|---|
static class |
KIP17.ApprovalEventResponse
Deprecated.
|
static class |
KIP17.ApprovalForAllEventResponse
Deprecated.
|
static class |
KIP17.MinterAddedEventResponse
Deprecated.
|
static class |
KIP17.MinterRemovedEventResponse
Deprecated.
|
static class |
KIP17.PausedEventResponse
Deprecated.
|
static class |
KIP17.PauserAddedEventResponse
Deprecated.
|
static class |
KIP17.PauserRemovedEventResponse
Deprecated.
|
static class |
KIP17.TransferEventResponse
Deprecated.
|
static class |
KIP17.UnpausedEventResponse
Deprecated.
|
SmartContract.EventValuesWithLog
Modifier and Type | Field and Description |
---|---|
protected static java.util.HashMap<java.lang.String,java.lang.String> |
_addresses
Deprecated.
|
static org.web3j.abi.datatypes.Event |
APPROVAL_EVENT
Deprecated.
|
static org.web3j.abi.datatypes.Event |
APPROVALFORALL_EVENT
Deprecated.
|
static java.lang.String |
FUNC_ADDMINTER
Deprecated.
|
static java.lang.String |
FUNC_ADDPAUSER
Deprecated.
|
static java.lang.String |
FUNC_APPROVE
Deprecated.
|
static java.lang.String |
FUNC_BALANCEOF
Deprecated.
|
static java.lang.String |
FUNC_BURN
Deprecated.
|
static java.lang.String |
FUNC_GETAPPROVED
Deprecated.
|
static java.lang.String |
FUNC_ISAPPROVEDFORALL
Deprecated.
|
static java.lang.String |
FUNC_ISMINTER
Deprecated.
|
static java.lang.String |
FUNC_ISPAUSER
Deprecated.
|
static java.lang.String |
FUNC_MINT
Deprecated.
|
static java.lang.String |
FUNC_MINTWITHTOKENURI
Deprecated.
|
static java.lang.String |
FUNC_NAME
Deprecated.
|
static java.lang.String |
FUNC_OWNEROF
Deprecated.
|
static java.lang.String |
FUNC_PAUSE
Deprecated.
|
static java.lang.String |
FUNC_PAUSED
Deprecated.
|
static java.lang.String |
FUNC_RENOUNCEMINTER
Deprecated.
|
static java.lang.String |
FUNC_RENOUNCEPAUSER
Deprecated.
|
static java.lang.String |
FUNC_SAFETRANSFERFROM
Deprecated.
|
static java.lang.String |
FUNC_SETAPPROVALFORALL
Deprecated.
|
static java.lang.String |
FUNC_SUPPORTSINTERFACE
Deprecated.
|
static java.lang.String |
FUNC_SYMBOL
Deprecated.
|
static java.lang.String |
FUNC_TOKENBYINDEX
Deprecated.
|
static java.lang.String |
FUNC_TOKENOFOWNERBYINDEX
Deprecated.
|
static java.lang.String |
FUNC_TOKENURI
Deprecated.
|
static java.lang.String |
FUNC_TOTALSUPPLY
Deprecated.
|
static java.lang.String |
FUNC_TRANSFERFROM
Deprecated.
|
static java.lang.String |
FUNC_UNPAUSE
Deprecated.
|
static org.web3j.abi.datatypes.Event |
MINTERADDED_EVENT
Deprecated.
|
static org.web3j.abi.datatypes.Event |
MINTERREMOVED_EVENT
Deprecated.
|
static org.web3j.abi.datatypes.Event |
PAUSED_EVENT
Deprecated.
|
static org.web3j.abi.datatypes.Event |
PAUSERADDED_EVENT
Deprecated.
|
static org.web3j.abi.datatypes.Event |
PAUSERREMOVED_EVENT
Deprecated.
|
static org.web3j.abi.datatypes.Event |
TRANSFER_EVENT
Deprecated.
|
static org.web3j.abi.datatypes.Event |
UNPAUSED_EVENT
Deprecated.
|
BIN_NOT_PROVIDED, contractAddress, contractBinary, defaultBlockParameter, deployedAddresses, FUNC_DEPLOY, GAS_LIMIT, gasProvider, transactionReceipt
caver, GAS_PRICE, transactionManager
Modifier | Constructor and Description |
---|---|
protected |
KIP17(java.lang.String contractAddress,
Caver caver,
KlayCredentials credentials,
int chainId,
org.web3j.tx.gas.ContractGasProvider contractGasProvider)
Deprecated.
|
protected |
KIP17(java.lang.String contractAddress,
Caver caver,
TransactionManager transactionManager,
org.web3j.tx.gas.ContractGasProvider contractGasProvider)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
addMinter(java.lang.String account)
Deprecated.
Instance method for calling method "addMinter" in KIP-17 Standard Token
Function Caller must have "Minter" permission
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
addPauser(java.lang.String account)
Deprecated.
Instance method for calling method "addPauser" in KIP-17 Standard Token
Function Caller must have "Pauser" permission
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
approve(java.lang.String to,
java.math.BigInteger tokenId)
Deprecated.
Instance method for calling method "approve" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.math.BigInteger> |
balanceOf(java.lang.String owner)
Deprecated.
Instance method for calling method "balanceOf" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
burn(java.math.BigInteger tokenId)
Deprecated.
Instance method for calling method "burn" in KIP-17 Standard Token
|
static org.web3j.protocol.core.RemoteCall<KIP17> |
deploy(Caver caver,
KlayCredentials credentials,
int chainId,
org.web3j.tx.gas.ContractGasProvider contractGasProvider,
java.lang.String name,
java.lang.String symbol)
Deprecated.
Static method for deploying KIP-17 Standard Token
|
static org.web3j.protocol.core.RemoteCall<KIP17> |
deploy(Caver caver,
TransactionManager transactionManager,
org.web3j.tx.gas.ContractGasProvider contractGasProvider,
java.lang.String name,
java.lang.String symbol)
Deprecated.
Static method for deploying KIP-17 Standard Token
|
java.util.List<KIP17.ApprovalEventResponse> |
getApprovalEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "Approval" in KIP-17 Standard Token
|
java.util.List<KIP17.ApprovalForAllEventResponse> |
getApprovalForAllEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "ApprovalForAll" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.lang.String> |
getApproved(java.math.BigInteger tokenId)
Deprecated.
Instance method for calling method "getApproved" in KIP-17 Standard Token
|
java.util.List<KIP17.MinterAddedEventResponse> |
getMinterAddedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "MinterAdded" in KIP-17 Standard Token
|
java.util.List<KIP17.MinterRemovedEventResponse> |
getMinterRemovedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "MinterRemoved" in KIP-17 Standard Token
|
java.util.List<KIP17.PausedEventResponse> |
getPausedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "Paused" in KIP-17 Standard Token
|
java.util.List<KIP17.PauserAddedEventResponse> |
getPauserAddedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "PauserAdded" in KIP-17 Standard Token
|
java.util.List<KIP17.PauserRemovedEventResponse> |
getPauserRemovedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "PauserRemoved" in KIP-17 Standard Token
|
static java.lang.String |
getPreviouslyDeployedAddress(java.lang.String networkId)
Deprecated.
|
protected java.lang.String |
getStaticDeployedAddress(java.lang.String networkId)
Deprecated.
Subclasses should implement this method to return pre-existing addresses for deployed
contracts.
|
java.util.List<KIP17.TransferEventResponse> |
getTransferEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "Transfer" in KIP-17 Standard Token
|
java.util.List<KIP17.UnpausedEventResponse> |
getUnpausedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.
Instance method for getting Event "Unpaused" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.lang.Boolean> |
isApprovedForAll(java.lang.String owner,
java.lang.String operator)
Deprecated.
Instance method for calling method "isApprovedForAll" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.lang.Boolean> |
isMinter(java.lang.String account)
Deprecated.
Instance method for calling method "isMinter" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.lang.Boolean> |
isPauser(java.lang.String account)
Deprecated.
Instance method for calling method "isPauser" in KIP-17 Standard Token
|
static KIP17 |
load(java.lang.String contractAddress,
Caver caver,
KlayCredentials credentials,
int chainId,
org.web3j.tx.gas.ContractGasProvider contractGasProvider)
Deprecated.
static method create KIP-17 Standard Token handler connection existed Contract
The credential with the "KlayCredential Object" passed as a function parameter will control the contract
|
static KIP17 |
load(java.lang.String contractAddress,
Caver caver,
TransactionManager transactionManager,
org.web3j.tx.gas.ContractGasProvider contractGasProvider)
Deprecated.
static method create KIP-17 Standard Token handler connection existed Contract
The default credential in transactionManager passed as a function parameter will control the contract
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
mint(java.lang.String to,
java.math.BigInteger tokenId)
Deprecated.
Instance method for calling method "mint" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
mintWithTokenURI(java.lang.String to,
java.math.BigInteger tokenId,
java.lang.String tokenURI)
Deprecated.
Instance method for calling method "mintWithTokenURI" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.lang.String> |
name()
Deprecated.
Instance method for calling method "name" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.lang.String> |
ownerOf(java.math.BigInteger tokenId)
Deprecated.
Instance method for calling method "ownerOf" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
pause()
Deprecated.
Instance method for calling method "pause" in KIP-17 Standard Token
Caller must have "Pauser" permission
|
org.web3j.protocol.core.RemoteCall<java.lang.Boolean> |
paused()
Deprecated.
Instance method for calling method "paused" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
renounceMinter()
Deprecated.
Instance method for calling method "renounceMinter" in KIP-17 Standard Token
Caller must have "Minter" permission
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
renouncePauser()
Deprecated.
Instance method for calling method "renouncePauser" in KIP-17 Standard Token
Caller must have "Pauser" permission
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
safeTransferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger tokenId)
Deprecated.
Instance method for calling method "safeTransferFrom" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
safeTransferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger tokenId,
byte[] _data)
Deprecated.
Instance method for calling method "safeTransferFrom" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
setApprovalForAll(java.lang.String to,
java.lang.Boolean approved)
Deprecated.
Instance method for calling method "setApprovalForAll" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.lang.Boolean> |
supportsInterface(byte[] interfaceId)
Deprecated.
Instance method for calling method "supportsInterface" in KIP-13 Standard
check whether interface(extension) is supported or not
|
org.web3j.protocol.core.RemoteCall<java.lang.String> |
symbol()
Deprecated.
Instance method for calling method "symbol" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.math.BigInteger> |
tokenByIndex(java.math.BigInteger index)
Deprecated.
Instance method for calling method "tokenByIndex" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.math.BigInteger> |
tokenOfOwnerByIndex(java.lang.String owner,
java.math.BigInteger index)
Deprecated.
Instance method for calling method "tokenOfOwnerByIndex" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.lang.String> |
tokenURI(java.math.BigInteger tokenId)
Deprecated.
Instance method for calling method "tokenURI" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<java.math.BigInteger> |
totalSupply()
Deprecated.
Instance method for calling method "totalSupply" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
transferFrom(java.lang.String from,
java.lang.String to,
java.math.BigInteger tokenId)
Deprecated.
Instance method for calling method "transferFrom" in KIP-17 Standard Token
|
org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> |
unpause()
Deprecated.
Instance method for calling method "unpause" in KIP-17 Standard Token
Caller must have "Pauser" permission
|
convertToNative, create, create, deploy, deploy, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, executeCallMultipleValueReturn, executeCallSingleValueReturn, executeCallSingleValueReturn, executeRemoteCallMultipleValueReturn, executeRemoteCallSingleValueReturn, executeRemoteCallSingleValueReturn, executeRemoteCallTransaction, executeRemoteCallTransaction, executeTransaction, extractEventParameters, extractEventParameters, extractEventParametersWithLog, extractEventParametersWithLog, getContractAddress, getContractBinary, getDeployedAddress, getGasPrice, getTransactionReceipt, isValid, sendDeployTransaction, sendDeployTransaction, sendDeployTransaction, sendExecutionTransaction, sendExecutionTransaction, sendExecutionTransaction, setContractAddress, setDefaultBlockParameter, setDeployedAddress, setGasPrice, setGasProvider, setTransactionReceipt, staticExtractEventParameters
send
public static final java.lang.String FUNC_ADDMINTER
public static final java.lang.String FUNC_ADDPAUSER
public static final java.lang.String FUNC_APPROVE
public static final java.lang.String FUNC_BALANCEOF
public static final java.lang.String FUNC_BURN
public static final java.lang.String FUNC_GETAPPROVED
public static final java.lang.String FUNC_ISAPPROVEDFORALL
public static final java.lang.String FUNC_ISMINTER
public static final java.lang.String FUNC_ISPAUSER
public static final java.lang.String FUNC_MINT
public static final java.lang.String FUNC_MINTWITHTOKENURI
public static final java.lang.String FUNC_NAME
public static final java.lang.String FUNC_OWNEROF
public static final java.lang.String FUNC_PAUSE
public static final java.lang.String FUNC_PAUSED
public static final java.lang.String FUNC_RENOUNCEMINTER
public static final java.lang.String FUNC_RENOUNCEPAUSER
public static final java.lang.String FUNC_SAFETRANSFERFROM
public static final java.lang.String FUNC_SETAPPROVALFORALL
public static final java.lang.String FUNC_SUPPORTSINTERFACE
public static final java.lang.String FUNC_SYMBOL
public static final java.lang.String FUNC_TOKENBYINDEX
public static final java.lang.String FUNC_TOKENOFOWNERBYINDEX
public static final java.lang.String FUNC_TOKENURI
public static final java.lang.String FUNC_TOTALSUPPLY
public static final java.lang.String FUNC_TRANSFERFROM
public static final java.lang.String FUNC_UNPAUSE
public static final org.web3j.abi.datatypes.Event APPROVAL_EVENT
public static final org.web3j.abi.datatypes.Event APPROVALFORALL_EVENT
public static final org.web3j.abi.datatypes.Event MINTERADDED_EVENT
public static final org.web3j.abi.datatypes.Event MINTERREMOVED_EVENT
public static final org.web3j.abi.datatypes.Event PAUSED_EVENT
public static final org.web3j.abi.datatypes.Event PAUSERADDED_EVENT
public static final org.web3j.abi.datatypes.Event PAUSERREMOVED_EVENT
public static final org.web3j.abi.datatypes.Event TRANSFER_EVENT
public static final org.web3j.abi.datatypes.Event UNPAUSED_EVENT
protected static final java.util.HashMap<java.lang.String,java.lang.String> _addresses
protected KIP17(java.lang.String contractAddress, Caver caver, KlayCredentials credentials, int chainId, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
protected KIP17(java.lang.String contractAddress, Caver caver, TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
public java.util.List<KIP17.ApprovalEventResponse> getApprovalEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContract Execution Transaction invoking "Approval" eventpublic java.util.List<KIP17.ApprovalForAllEventResponse> getApprovalForAllEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContract Execution Transaction invoking "ApprovalForAll" eventpublic java.util.List<KIP17.MinterAddedEventResponse> getMinterAddedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContract Execution Transaction invoking "MinterAdded" eventpublic java.util.List<KIP17.MinterRemovedEventResponse> getMinterRemovedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContract Execution Transaction invoking "MinterRemoved" eventpublic java.util.List<KIP17.PausedEventResponse> getPausedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "Paused" eventpublic java.util.List<KIP17.PauserAddedEventResponse> getPauserAddedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "PauserAdded" eventpublic java.util.List<KIP17.PauserRemovedEventResponse> getPauserRemovedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "PauserRemoved" eventpublic java.util.List<KIP17.TransferEventResponse> getTransferEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "Transfer" eventpublic java.util.List<KIP17.UnpausedEventResponse> getUnpausedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "Unpaused" eventpublic org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> approve(java.lang.String to, java.math.BigInteger tokenId)
to
- The new account approved NFT controllertokenId
- The NFT ID to approvepublic org.web3j.protocol.core.RemoteCall<java.math.BigInteger> balanceOf(java.lang.String owner)
owner
- An account for whom to query the balancepublic org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> burn(java.math.BigInteger tokenId)
tokenId
- The NFT identifier to be burnedpublic org.web3j.protocol.core.RemoteCall<java.lang.String> getApproved(java.math.BigInteger tokenId)
tokenId
- The NFT identifier to find the approved account forpublic org.web3j.protocol.core.RemoteCall<java.lang.Boolean> isApprovedForAll(java.lang.String owner, java.lang.String operator)
owner
- The account that owns the NFTsoperator
- The account that act on behalf of the ownerpublic org.web3j.protocol.core.RemoteCall<java.lang.Boolean> isMinter(java.lang.String account)
account
- The account to check the minting permissionpublic org.web3j.protocol.core.RemoteCall<java.lang.Boolean> isPauser(java.lang.String account)
account
- The account to check the pausing permissionpublic org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> mint(java.lang.String to, java.math.BigInteger tokenId)
to
- The account that will receive the minted tokentokenId
- The NFT identifier to be mintedpublic org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> mintWithTokenURI(java.lang.String to, java.math.BigInteger tokenId, java.lang.String tokenURI)
to
- The account that will receive the minted tokentokenId
- The NFT identifier to be mintedtokenURI
- The NFT URI(Uniform Resource Identifier) to be mintedpublic org.web3j.protocol.core.RemoteCall<java.lang.String> name()
public org.web3j.protocol.core.RemoteCall<java.lang.String> ownerOf(java.math.BigInteger tokenId)
tokenId
- The identifier of NFTpublic org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> pause()
public org.web3j.protocol.core.RemoteCall<java.lang.Boolean> paused()
public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> addMinter(java.lang.String account)
account
- The account to be given the minting permissionpublic org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> addPauser(java.lang.String account)
account
- The account to be given the pausing permissionpublic org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> renounceMinter()
public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> renouncePauser()
public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> safeTransferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger tokenId)
from
- The current owner of the NFTto
- The new OwnertokenId
- The NFT identifier to transferpublic org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> safeTransferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger tokenId, byte[] _data)
from
- The current owner of the NFTto
- The new ownertokenId
- The NFT identifier to transfer_data
- Additional data with no specified format, sent in call to "to"public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> setApprovalForAll(java.lang.String to, java.lang.Boolean approved)
to
- Account to add the set of authorized operators.approved
- True if the operator is approved, false to revoke approvalpublic org.web3j.protocol.core.RemoteCall<java.lang.Boolean> supportsInterface(byte[] interfaceId)
interfaceId
- interface identifierpublic org.web3j.protocol.core.RemoteCall<java.lang.String> symbol()
public org.web3j.protocol.core.RemoteCall<java.math.BigInteger> tokenByIndex(java.math.BigInteger index)
index
- A counter less than "totalSupply"public org.web3j.protocol.core.RemoteCall<java.math.BigInteger> tokenOfOwnerByIndex(java.lang.String owner, java.math.BigInteger index)
owner
- An account where we are interested in NFTs owned by themindex
- A counter less than "balanceOf(owner)"public org.web3j.protocol.core.RemoteCall<java.lang.String> tokenURI(java.math.BigInteger tokenId)
tokenId
- The NFT identifierpublic org.web3j.protocol.core.RemoteCall<java.math.BigInteger> totalSupply()
public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> transferFrom(java.lang.String from, java.lang.String to, java.math.BigInteger tokenId)
from
- The current owner of the NFTto
- The new ownertokenId
- The NFT identifier to transferpublic org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> unpause()
public static KIP17 load(java.lang.String contractAddress, Caver caver, KlayCredentials credentials, int chainId, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
contractAddress
- KIP-17 Standard Token Addresscaver
- Caver Objectcredentials
- KlayCredential Object to control ContractchainId
- Klaytn network IDcontractGasProvider
- GasProviderpublic static KIP17 load(java.lang.String contractAddress, Caver caver, TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
contractAddress
- KIP-17 Standard Token Addresscaver
- Caver ObjecttransactionManager
- transactionManger Object to control ContractcontractGasProvider
- GasProviderpublic static org.web3j.protocol.core.RemoteCall<KIP17> deploy(Caver caver, KlayCredentials credentials, int chainId, org.web3j.tx.gas.ContractGasProvider contractGasProvider, java.lang.String name, java.lang.String symbol)
caver
- Caver Objectcredentials
- KlayCredential Object to deploy and control contractchainId
- Klaytn Network IDcontractGasProvider
- GasProvidername
- Contract Constructor parametersymbol
- Contract Constructor parameterpublic static org.web3j.protocol.core.RemoteCall<KIP17> deploy(Caver caver, TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider, java.lang.String name, java.lang.String symbol)
caver
- Caver ObjecttransactionManager
- TransactionManager Object for deploy and control contractcontractGasProvider
- GasProvidername
- Contract Constructor parametersymbol
- Contract Constructor parameterprotected java.lang.String getStaticDeployedAddress(java.lang.String networkId)
SmartContract
getStaticDeployedAddress
in class SmartContract
networkId
- the network id, for example "1" for the main-net, "1001" for baobab.public static java.lang.String getPreviouslyDeployedAddress(java.lang.String networkId)