Class ERTTokenV2


  • public class ERTTokenV2
    extends org.web3j.tx.Contract

    Auto generated code.

    Do not modify!

    Please use the web3j command line tools, or the org.web3j.codegen.SolidityFunctionWrapperGenerator in the codegen module to update.

    Generated with web3j version 4.5.11.

    • Constructor Detail

      • ERTTokenV2

        @Deprecated
        protected ERTTokenV2​(String contractAddress,
                             org.web3j.protocol.Web3j web3j,
                             org.web3j.crypto.Credentials credentials,
                             BigInteger gasPrice,
                             BigInteger gasLimit)
        Deprecated.
      • ERTTokenV2

        protected ERTTokenV2​(String contractAddress,
                             org.web3j.protocol.Web3j web3j,
                             org.web3j.crypto.Credentials credentials,
                             org.web3j.tx.gas.ContractGasProvider contractGasProvider)
      • ERTTokenV2

        @Deprecated
        protected ERTTokenV2​(String contractAddress,
                             org.web3j.protocol.Web3j web3j,
                             org.web3j.tx.TransactionManager transactionManager,
                             BigInteger gasPrice,
                             BigInteger gasLimit)
        Deprecated.
      • ERTTokenV2

        protected ERTTokenV2​(String contractAddress,
                             org.web3j.protocol.Web3j web3j,
                             org.web3j.tx.TransactionManager transactionManager,
                             org.web3j.tx.gas.ContractGasProvider contractGasProvider)
    • Method Detail

      • name

        public org.web3j.protocol.core.RemoteFunctionCall<String> name()
      • approve

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> approve​(String _spender,
                                                                                                                               BigInteger _value)
      • initialized

        public org.web3j.protocol.core.RemoteFunctionCall<Boolean> initialized()
      • removeAdmin

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> removeAdmin​(String _target)
      • totalSupply

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> totalSupply()
      • initialize

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> initialize​(BigInteger _initialAmount,
                                                                                                                                  String _tokenName,
                                                                                                                                  BigInteger _decimalUnits,
                                                                                                                                  String _tokenSymbol)
      • transferFrom

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transferFrom​(String _from,
                                                                                                                                    String _to,
                                                                                                                                    BigInteger _value)
      • decimals

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> decimals()
      • upgradeImplementation

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> upgradeImplementation​(String _proxy,
                                                                                                                                             BigInteger _version,
                                                                                                                                             String _newImplementation)
      • vestingBalanceOf

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> vestingBalanceOf​(String _target)
      • getSellPrice

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> getSellPrice()
      • isAdmin

        public org.web3j.protocol.core.RemoteFunctionCall<Boolean> isAdmin​(String _target,
                                                                           BigInteger _level)
      • reward

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> reward​(String _to,
                                                                                                                              BigInteger _amount,
                                                                                                                              BigInteger _reward)
      • addAdmin

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> addAdmin​(String _target,
                                                                                                                                BigInteger _level)
      • initializeAccount

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> initializeAccount​(String _to,
                                                                                                                                         BigInteger _tokenAmount,
                                                                                                                                         BigInteger weiValue)
      • version

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> version()
      • transformToVested

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transformToVested​(String _target,
                                                                                                                                         BigInteger _value)
      • paused

        public org.web3j.protocol.core.RemoteFunctionCall<Boolean> paused()
      • disapproveAccount

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> disapproveAccount​(String _target)
      • isInitializedAccount

        public org.web3j.protocol.core.RemoteFunctionCall<Boolean> isInitializedAccount​(String _target)
      • upgradeData

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> upgradeData​(BigInteger _dataVersion,
                                                                                                                                   String _dataAddress)
      • balanceOf

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> balanceOf​(String _target)
      • pause

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> pause()
      • owner

        public org.web3j.protocol.core.RemoteFunctionCall<String> owner()
      • getDataAddress

        public org.web3j.protocol.core.RemoteFunctionCall<String> getDataAddress​(BigInteger _version)
      • symbol

        public org.web3j.protocol.core.RemoteFunctionCall<String> symbol()
      • upgradeDataAndImplementation

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> upgradeDataAndImplementation​(String _proxy,
                                                                                                                                                    BigInteger _version,
                                                                                                                                                    String _newImplementation,
                                                                                                                                                    BigInteger _dataVersion,
                                                                                                                                                    String _dataAddress)
      • transfer

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transfer​(String _to,
                                                                                                                                BigInteger _value)
      • isApprovedAccount

        public org.web3j.protocol.core.RemoteFunctionCall<Boolean> isApprovedAccount​(String _target)
      • getAdminLevel

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> getAdminLevel​(String _target)
      • isPaused

        public org.web3j.protocol.core.RemoteFunctionCall<Boolean> isPaused()
      • setSymbol

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> setSymbol​(String _symbol)
      • implementationAddress

        public org.web3j.protocol.core.RemoteFunctionCall<String> implementationAddress()
      • setName

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> setName​(String _name)
      • allowance

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> allowance​(String _target,
                                                                                String _spender)
      • rewardBalanceOf

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> rewardBalanceOf​(String _target)
      • transferOwnership

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transferOwnership​(String _newOwner)
      • unPause

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> unPause()
      • approveAccount

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> approveAccount​(String _target)
      • setSellPrice

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> setSellPrice​(BigInteger _value)
      • vestingEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.VestingEventResponse> vestingEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • vestingEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.VestingEventResponse> vestingEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                           org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • vestingTransferEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.VestingTransferEventResponse> vestingTransferEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                           org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • rewardEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.RewardEventResponse> rewardEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • rewardEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.RewardEventResponse> rewardEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                         org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • initializationEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.InitializationEventResponse> initializationEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • initializationEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.InitializationEventResponse> initializationEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                         org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • upgradedEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.UpgradedEventResponse> upgradedEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • upgradedEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.UpgradedEventResponse> upgradedEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                             org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • upgradedDataEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.UpgradedDataEventResponse> upgradedDataEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • upgradedDataEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.UpgradedDataEventResponse> upgradedDataEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                     org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • tokenPriceChangedEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.TokenPriceChangedEventResponse> tokenPriceChangedEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                               org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • transactionFeeEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.TransactionFeeEventResponse> transactionFeeEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • transactionFeeEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.TransactionFeeEventResponse> transactionFeeEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                         org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • noSufficientFundEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.NoSufficientFundEventResponse> noSufficientFundEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                             org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • depositReceivedEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.DepositReceivedEventResponse> depositReceivedEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                           org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • transferEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.TransferEventResponse> transferEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • transferEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.TransferEventResponse> transferEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                             org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • approvalEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.ApprovalEventResponse> approvalEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • approvalEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.ApprovalEventResponse> approvalEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                             org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • approvedAccountEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.ApprovedAccountEventResponse> approvedAccountEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                           org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • disapprovedAccountEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.DisapprovedAccountEventResponse> disapprovedAccountEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                                 org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • contractPausedEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.ContractPausedEventResponse> contractPausedEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • contractPausedEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.ContractPausedEventResponse> contractPausedEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                         org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • contractUnPausedEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.ContractUnPausedEventResponse> contractUnPausedEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                             org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • addedAdminEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.AddedAdminEventResponse> addedAdminEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • addedAdminEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.AddedAdminEventResponse> addedAdminEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                 org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • removedAdminEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.RemovedAdminEventResponse> removedAdminEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • removedAdminEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.RemovedAdminEventResponse> removedAdminEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                     org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • transferOwnershipEventFlowable

        public io.reactivex.Flowable<ERTTokenV2.TransferOwnershipEventResponse> transferOwnershipEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                               org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • load

        public static ERTTokenV2 load​(String contractAddress,
                                      org.web3j.protocol.Web3j web3j,
                                      org.web3j.crypto.Credentials credentials,
                                      org.web3j.tx.gas.ContractGasProvider contractGasProvider)
      • load

        public static ERTTokenV2 load​(String contractAddress,
                                      org.web3j.protocol.Web3j web3j,
                                      org.web3j.tx.TransactionManager transactionManager,
                                      org.web3j.tx.gas.ContractGasProvider contractGasProvider)
      • deploy

        public static org.web3j.protocol.core.RemoteCall<ERTTokenV2> deploy​(org.web3j.protocol.Web3j web3j,
                                                                            org.web3j.crypto.Credentials credentials,
                                                                            org.web3j.tx.gas.ContractGasProvider contractGasProvider)
      • deploy

        @Deprecated
        public static org.web3j.protocol.core.RemoteCall<ERTTokenV2> deploy​(org.web3j.protocol.Web3j web3j,
                                                                            org.web3j.crypto.Credentials credentials,
                                                                            BigInteger gasPrice,
                                                                            BigInteger gasLimit)
        Deprecated.
      • deploy

        public static org.web3j.protocol.core.RemoteCall<ERTTokenV2> deploy​(org.web3j.protocol.Web3j web3j,
                                                                            org.web3j.tx.TransactionManager transactionManager,
                                                                            org.web3j.tx.gas.ContractGasProvider contractGasProvider)
      • deploy

        @Deprecated
        public static org.web3j.protocol.core.RemoteCall<ERTTokenV2> deploy​(org.web3j.protocol.Web3j web3j,
                                                                            org.web3j.tx.TransactionManager transactionManager,
                                                                            BigInteger gasPrice,
                                                                            BigInteger gasLimit)
        Deprecated.