Class KIP17

    • 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_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_MINTWITHTOKENURI

        public static final java.lang.String FUNC_MINTWITHTOKENURI
        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 controller
        tokenId - 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 NFTs
        operator - 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 token
        tokenId - 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 token
        tokenId - The NFT identifier to be minted
        tokenURI - 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 NFT
        to - The new Owner
        tokenId - 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 NFT
        to - The new owner
        tokenId - 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 them
        index - 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 NFT
        to - The new owner
        tokenId - 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 Address
        caver - Caver Object
        credentials - KlayCredential Object to control Contract
        chainId - Klaytn network ID
        contractGasProvider - 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 Address
        caver - Caver Object
        transactionManager - transactionManger Object to control Contract
        contractGasProvider - 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 Object
        credentials - KlayCredential Object to deploy and control contract
        chainId - Klaytn Network ID
        contractGasProvider - GasProvider
        name - Contract Constructor parameter
        symbol - 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 Object
        transactionManager - TransactionManager Object for deploy and control contract
        contractGasProvider - GasProvider
        name - Contract Constructor parameter
        symbol - 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 class SmartContract
        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.