Package com.klaytn.caver.kct
Class KIP17
- java.lang.Object
-
- com.klaytn.caver.tx.ManagedTransaction
-
- com.klaytn.caver.tx.SmartContract
-
- com.klaytn.caver.kct.KIP17
-
@Deprecated public class KIP17 extends SmartContract
Deprecated.Please useKIP17
instead.- See Also:
KIP17
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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.-
Nested classes/interfaces inherited from class com.klaytn.caver.tx.SmartContract
SmartContract.EventValuesWithLog
-
-
Field Summary
Fields Modifier and Type Field 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.-
Fields inherited from class com.klaytn.caver.tx.SmartContract
BIN_NOT_PROVIDED, contractAddress, contractBinary, defaultBlockParameter, deployedAddresses, FUNC_DEPLOY, GAS_LIMIT, gasProvider, transactionReceipt
-
Fields inherited from class com.klaytn.caver.tx.ManagedTransaction
caver, GAS_PRICE, transactionManager
-
-
Constructor Summary
Constructors Modifier Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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" permissionorg.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" permissionorg.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 Tokenorg.web3j.protocol.core.RemoteCall<java.math.BigInteger>
balanceOf(java.lang.String owner)
Deprecated.Instance method for calling method "balanceOf" in KIP-17 Standard Tokenorg.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt>
burn(java.math.BigInteger tokenId)
Deprecated.Instance method for calling method "burn" in KIP-17 Standard Tokenstatic 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 Tokenstatic 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 Tokenjava.util.List<KIP17.ApprovalEventResponse>
getApprovalEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "Approval" in KIP-17 Standard Tokenjava.util.List<KIP17.ApprovalForAllEventResponse>
getApprovalForAllEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "ApprovalForAll" in KIP-17 Standard Tokenorg.web3j.protocol.core.RemoteCall<java.lang.String>
getApproved(java.math.BigInteger tokenId)
Deprecated.Instance method for calling method "getApproved" in KIP-17 Standard Tokenjava.util.List<KIP17.MinterAddedEventResponse>
getMinterAddedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "MinterAdded" in KIP-17 Standard Tokenjava.util.List<KIP17.MinterRemovedEventResponse>
getMinterRemovedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "MinterRemoved" in KIP-17 Standard Tokenjava.util.List<KIP17.PausedEventResponse>
getPausedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "Paused" in KIP-17 Standard Tokenjava.util.List<KIP17.PauserAddedEventResponse>
getPauserAddedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "PauserAdded" in KIP-17 Standard Tokenjava.util.List<KIP17.PauserRemovedEventResponse>
getPauserRemovedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "PauserRemoved" in KIP-17 Standard Tokenstatic 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 Tokenjava.util.List<KIP17.UnpausedEventResponse>
getUnpausedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "Unpaused" in KIP-17 Standard Tokenorg.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 Tokenorg.web3j.protocol.core.RemoteCall<java.lang.Boolean>
isMinter(java.lang.String account)
Deprecated.Instance method for calling method "isMinter" in KIP-17 Standard Tokenorg.web3j.protocol.core.RemoteCall<java.lang.Boolean>
isPauser(java.lang.String account)
Deprecated.Instance method for calling method "isPauser" in KIP-17 Standard Tokenstatic 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 contractstatic 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 contractorg.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 Tokenorg.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 Tokenorg.web3j.protocol.core.RemoteCall<java.lang.String>
name()
Deprecated.Instance method for calling method "name" in KIP-17 Standard Tokenorg.web3j.protocol.core.RemoteCall<java.lang.String>
ownerOf(java.math.BigInteger tokenId)
Deprecated.Instance method for calling method "ownerOf" in KIP-17 Standard Tokenorg.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt>
pause()
Deprecated.Instance method for calling method "pause" in KIP-17 Standard Token Caller must have "Pauser" permissionorg.web3j.protocol.core.RemoteCall<java.lang.Boolean>
paused()
Deprecated.Instance method for calling method "paused" in KIP-17 Standard Tokenorg.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt>
renounceMinter()
Deprecated.Instance method for calling method "renounceMinter" in KIP-17 Standard Token Caller must have "Minter" permissionorg.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt>
renouncePauser()
Deprecated.Instance method for calling method "renouncePauser" in KIP-17 Standard Token Caller must have "Pauser" permissionorg.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 Tokenorg.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 Tokenorg.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 Tokenorg.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 notorg.web3j.protocol.core.RemoteCall<java.lang.String>
symbol()
Deprecated.Instance method for calling method "symbol" in KIP-17 Standard Tokenorg.web3j.protocol.core.RemoteCall<java.math.BigInteger>
tokenByIndex(java.math.BigInteger index)
Deprecated.Instance method for calling method "tokenByIndex" in KIP-17 Standard Tokenorg.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 Tokenorg.web3j.protocol.core.RemoteCall<java.lang.String>
tokenURI(java.math.BigInteger tokenId)
Deprecated.Instance method for calling method "tokenURI" in KIP-17 Standard Tokenorg.web3j.protocol.core.RemoteCall<java.math.BigInteger>
totalSupply()
Deprecated.Instance method for calling method "totalSupply" in KIP-17 Standard Tokenorg.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 Tokenorg.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt>
unpause()
Deprecated.Instance method for calling method "unpause" in KIP-17 Standard Token Caller must have "Pauser" permission-
Methods inherited from class com.klaytn.caver.tx.SmartContract
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
-
Methods inherited from class com.klaytn.caver.tx.ManagedTransaction
send
-
-
-
-
Field Detail
-
FUNC_ADDMINTER
public static final java.lang.String FUNC_ADDMINTER
Deprecated.- See Also:
- Constant Field Values
-
FUNC_ADDPAUSER
public static final java.lang.String FUNC_ADDPAUSER
Deprecated.- See Also:
- Constant Field Values
-
FUNC_APPROVE
public static final java.lang.String FUNC_APPROVE
Deprecated.- See Also:
- Constant Field Values
-
FUNC_BALANCEOF
public static final java.lang.String FUNC_BALANCEOF
Deprecated.- See Also:
- Constant Field Values
-
FUNC_BURN
public static final java.lang.String FUNC_BURN
Deprecated.- See Also:
- Constant Field Values
-
FUNC_GETAPPROVED
public static final java.lang.String FUNC_GETAPPROVED
Deprecated.- See Also:
- Constant Field Values
-
FUNC_ISAPPROVEDFORALL
public static final java.lang.String FUNC_ISAPPROVEDFORALL
Deprecated.- See Also:
- Constant Field Values
-
FUNC_ISMINTER
public static final java.lang.String FUNC_ISMINTER
Deprecated.- See Also:
- Constant Field Values
-
FUNC_ISPAUSER
public static final java.lang.String FUNC_ISPAUSER
Deprecated.- See Also:
- Constant Field Values
-
FUNC_MINT
public static final java.lang.String FUNC_MINT
Deprecated.- See Also:
- Constant Field Values
-
FUNC_MINTWITHTOKENURI
public static final java.lang.String FUNC_MINTWITHTOKENURI
Deprecated.- See Also:
- Constant Field Values
-
FUNC_NAME
public static final java.lang.String FUNC_NAME
Deprecated.- See Also:
- Constant Field Values
-
FUNC_OWNEROF
public static final java.lang.String FUNC_OWNEROF
Deprecated.- See Also:
- Constant Field Values
-
FUNC_PAUSE
public static final java.lang.String FUNC_PAUSE
Deprecated.- See Also:
- Constant Field Values
-
FUNC_PAUSED
public static final java.lang.String FUNC_PAUSED
Deprecated.- See Also:
- Constant Field Values
-
FUNC_RENOUNCEMINTER
public static final java.lang.String FUNC_RENOUNCEMINTER
Deprecated.- See Also:
- Constant Field Values
-
FUNC_RENOUNCEPAUSER
public static final java.lang.String FUNC_RENOUNCEPAUSER
Deprecated.- See Also:
- Constant Field Values
-
FUNC_SAFETRANSFERFROM
public static final java.lang.String FUNC_SAFETRANSFERFROM
Deprecated.- See Also:
- Constant Field Values
-
FUNC_SETAPPROVALFORALL
public static final java.lang.String FUNC_SETAPPROVALFORALL
Deprecated.- See Also:
- Constant Field Values
-
FUNC_SUPPORTSINTERFACE
public static final java.lang.String FUNC_SUPPORTSINTERFACE
Deprecated.- See Also:
- Constant Field Values
-
FUNC_SYMBOL
public static final java.lang.String FUNC_SYMBOL
Deprecated.- See Also:
- Constant Field Values
-
FUNC_TOKENBYINDEX
public static final java.lang.String FUNC_TOKENBYINDEX
Deprecated.- See Also:
- Constant Field Values
-
FUNC_TOKENOFOWNERBYINDEX
public static final java.lang.String FUNC_TOKENOFOWNERBYINDEX
Deprecated.- See Also:
- Constant Field Values
-
FUNC_TOKENURI
public static final java.lang.String FUNC_TOKENURI
Deprecated.- See Also:
- Constant Field Values
-
FUNC_TOTALSUPPLY
public static final java.lang.String FUNC_TOTALSUPPLY
Deprecated.- See Also:
- Constant Field Values
-
FUNC_TRANSFERFROM
public static final java.lang.String FUNC_TRANSFERFROM
Deprecated.- See Also:
- Constant Field Values
-
FUNC_UNPAUSE
public static final java.lang.String FUNC_UNPAUSE
Deprecated.- See Also:
- Constant Field Values
-
APPROVAL_EVENT
public static final org.web3j.abi.datatypes.Event APPROVAL_EVENT
Deprecated.
-
APPROVALFORALL_EVENT
public static final org.web3j.abi.datatypes.Event APPROVALFORALL_EVENT
Deprecated.
-
MINTERADDED_EVENT
public static final org.web3j.abi.datatypes.Event MINTERADDED_EVENT
Deprecated.
-
MINTERREMOVED_EVENT
public static final org.web3j.abi.datatypes.Event MINTERREMOVED_EVENT
Deprecated.
-
PAUSED_EVENT
public static final org.web3j.abi.datatypes.Event PAUSED_EVENT
Deprecated.
-
PAUSERADDED_EVENT
public static final org.web3j.abi.datatypes.Event PAUSERADDED_EVENT
Deprecated.
-
PAUSERREMOVED_EVENT
public static final org.web3j.abi.datatypes.Event PAUSERREMOVED_EVENT
Deprecated.
-
TRANSFER_EVENT
public static final org.web3j.abi.datatypes.Event TRANSFER_EVENT
Deprecated.
-
UNPAUSED_EVENT
public static final org.web3j.abi.datatypes.Event UNPAUSED_EVENT
Deprecated.
-
_addresses
protected static final java.util.HashMap<java.lang.String,java.lang.String> _addresses
Deprecated.
-
-
Constructor Detail
-
KIP17
protected KIP17(java.lang.String contractAddress, Caver caver, KlayCredentials credentials, int chainId, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
Deprecated.
-
KIP17
protected KIP17(java.lang.String contractAddress, Caver caver, TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
Deprecated.
-
-
Method Detail
-
getApprovalEvents
public java.util.List<KIP17.ApprovalEventResponse> getApprovalEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "Approval" in KIP-17 Standard Token- Parameters:
transactionReceipt
- transactionReceipt after sending SmartContract Execution Transaction invoking "Approval" event- Returns:
- List Object to Approval Event Response
-
getApprovalForAllEvents
public java.util.List<KIP17.ApprovalForAllEventResponse> getApprovalForAllEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "ApprovalForAll" in KIP-17 Standard Token- Parameters:
transactionReceipt
- transactionReceipt after sending SmartContract Execution Transaction invoking "ApprovalForAll" event- Returns:
- List Object to ApprovalForAll Event Response
-
getMinterAddedEvents
public java.util.List<KIP17.MinterAddedEventResponse> getMinterAddedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "MinterAdded" in KIP-17 Standard Token- Parameters:
transactionReceipt
- transactionReceipt after sending SmartContract Execution Transaction invoking "MinterAdded" event- Returns:
- List Object to MinterAdded Event Response
-
getMinterRemovedEvents
public java.util.List<KIP17.MinterRemovedEventResponse> getMinterRemovedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "MinterRemoved" in KIP-17 Standard Token- Parameters:
transactionReceipt
- transactionReceipt after sending SmartContract Execution Transaction invoking "MinterRemoved" event- Returns:
- List Object to MinterRemoved Event Response
-
getPausedEvents
public java.util.List<KIP17.PausedEventResponse> getPausedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "Paused" in KIP-17 Standard Token- Parameters:
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "Paused" event- Returns:
- List Object to Paused Event Response
-
getPauserAddedEvents
public java.util.List<KIP17.PauserAddedEventResponse> getPauserAddedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "PauserAdded" in KIP-17 Standard Token- Parameters:
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "PauserAdded" event- Returns:
- List Object to PauserAdded Event Response
-
getPauserRemovedEvents
public java.util.List<KIP17.PauserRemovedEventResponse> getPauserRemovedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "PauserRemoved" in KIP-17 Standard Token- Parameters:
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "PauserRemoved" event- Returns:
- List Object to PauserRemoved Event Response
-
getTransferEvents
public java.util.List<KIP17.TransferEventResponse> getTransferEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "Transfer" in KIP-17 Standard Token- Parameters:
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "Transfer" event- Returns:
- List Object to Transfer Event Response
-
getUnpausedEvents
public java.util.List<KIP17.UnpausedEventResponse> getUnpausedEvents(KlayTransactionReceipt.TransactionReceipt transactionReceipt)
Deprecated.Instance method for getting Event "Unpaused" in KIP-17 Standard Token- Parameters:
transactionReceipt
- transactionReceipt after sending SmartContractExecution Transaction invoking "Unpaused" event- Returns:
- List Object to Unpaused Event Response
-
approve
public 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- Parameters:
to
- The new account approved NFT controllertokenId
- The NFT ID to approve- Returns:
- RemoteCall
-
balanceOf
public 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- Parameters:
owner
- An account for whom to query the balance- Returns:
- RemoteCall
-
burn
public org.web3j.protocol.core.RemoteCall<KlayTransactionReceipt.TransactionReceipt> burn(java.math.BigInteger tokenId)
Deprecated.Instance method for calling method "burn" in KIP-17 Standard Token- Parameters:
tokenId
- The NFT identifier to be burned- Returns:
- RemoteCall
-
getApproved
public 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- Parameters:
tokenId
- The NFT identifier to find the approved account for- Returns:
- RemoteCall
-
isApprovedForAll
public 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- Parameters:
owner
- The account that owns the NFTsoperator
- The account that act on behalf of the owner- Returns:
- RemoteCall
-
isMinter
public 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- Parameters:
account
- The account to check the minting permission- Returns:
- RemoteCall
-
isPauser
public 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- Parameters:
account
- The account to check the pausing permission- Returns:
- RemoteCall
-
mint
public 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- Parameters:
to
- The account that will receive the minted tokentokenId
- The NFT identifier to be minted- Returns:
- RemoteCall
-
mintWithTokenURI
public 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- Parameters:
to
- The account that will receive the minted tokentokenId
- The NFT identifier to be mintedtokenURI
- The NFT URI(Uniform Resource Identifier) to be minted- Returns:
- RemoteCall
-
name
public org.web3j.protocol.core.RemoteCall<java.lang.String> name()
Deprecated.Instance method for calling method "name" in KIP-17 Standard Token- Returns:
- RemoteCall
-
ownerOf
public 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- Parameters:
tokenId
- The identifier of NFT- Returns:
- RemoteCall
-
pause
public 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- Returns:
- RemoteCall
-
paused
public org.web3j.protocol.core.RemoteCall<java.lang.Boolean> paused()
Deprecated.Instance method for calling method "paused" in KIP-17 Standard Token- Returns:
- RemoteCall
-
addMinter
public 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- Parameters:
account
- The account to be given the minting permission- Returns:
- RemoteCall
-
addPauser
public 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- Parameters:
account
- The account to be given the pausing permission- Returns:
- RemoteCall
-
renounceMinter
public 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- Returns:
- RemoteCall
-
renouncePauser
public 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- Returns:
- RemoteCall
-
safeTransferFrom
public 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- Parameters:
from
- The current owner of the NFTto
- The new OwnertokenId
- The NFT identifier to transfer- Returns:
- RemoteCall
-
safeTransferFrom
public 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- Parameters:
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"- Returns:
- RemoteCall
-
setApprovalForAll
public 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- Parameters:
to
- Account to add the set of authorized operators.approved
- True if the operator is approved, false to revoke approval- Returns:
- RemoteCall
-
supportsInterface
public 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- Parameters:
interfaceId
- interface identifier- Returns:
- RemoteCall
-
symbol
public org.web3j.protocol.core.RemoteCall<java.lang.String> symbol()
Deprecated.Instance method for calling method "symbol" in KIP-17 Standard Token- Returns:
- RemoteCall
-
tokenByIndex
public 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- Parameters:
index
- A counter less than "totalSupply"- Returns:
- RemoteCall
-
tokenOfOwnerByIndex
public 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- Parameters:
owner
- An account where we are interested in NFTs owned by themindex
- A counter less than "balanceOf(owner)"- Returns:
- RemoteCall
-
tokenURI
public 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- Parameters:
tokenId
- The NFT identifier- Returns:
- RemoteCall
-
totalSupply
public org.web3j.protocol.core.RemoteCall<java.math.BigInteger> totalSupply()
Deprecated.Instance method for calling method "totalSupply" in KIP-17 Standard Token- Returns:
- RemoteCall
-
transferFrom
public 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- Parameters:
from
- The current owner of the NFTto
- The new ownertokenId
- The NFT identifier to transfer- Returns:
- RemoteCall
-
unpause
public 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- Returns:
- RemoteCall
-
load
public 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- Parameters:
contractAddress
- KIP-17 Standard Token Addresscaver
- Caver Objectcredentials
- KlayCredential Object to control ContractchainId
- Klaytn network IDcontractGasProvider
- GasProvider- Returns:
- KIP17
-
load
public 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- Parameters:
contractAddress
- KIP-17 Standard Token Addresscaver
- Caver ObjecttransactionManager
- transactionManger Object to control ContractcontractGasProvider
- GasProvider- Returns:
- KIP17
-
deploy
public 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- Parameters:
caver
- Caver Objectcredentials
- KlayCredential Object to deploy and control contractchainId
- Klaytn Network IDcontractGasProvider
- GasProvidername
- Contract Constructor parametersymbol
- Contract Constructor parameter- Returns:
- KIP17
-
deploy
public 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- Parameters:
caver
- Caver ObjecttransactionManager
- TransactionManager Object for deploy and control contractcontractGasProvider
- GasProvidername
- Contract Constructor parametersymbol
- Contract Constructor parameter- Returns:
- KIP17
-
getStaticDeployedAddress
protected java.lang.String getStaticDeployedAddress(java.lang.String networkId)
Deprecated.Description copied from class:SmartContract
Subclasses should implement this method to return pre-existing addresses for deployed contracts.- Overrides:
getStaticDeployedAddress
in classSmartContract
- Parameters:
networkId
- the network id, for example "1" for the main-net, "1001" for baobab.- Returns:
- the deployed address of the contract, if known, and null otherwise.
-
getPreviouslyDeployedAddress
public static java.lang.String getPreviouslyDeployedAddress(java.lang.String networkId)
Deprecated.
-
-