Class TokenFactory


  • public class TokenFactory
    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.8.9.

    • Constructor Detail

      • TokenFactory

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

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

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

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

      • depositEventFlowable

        public io.reactivex.Flowable<TokenFactory.DepositEventResponse> depositEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • depositEventFlowable

        public io.reactivex.Flowable<TokenFactory.DepositEventResponse> depositEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                             org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • emergencyWithdrawEventFlowable

        public io.reactivex.Flowable<TokenFactory.EmergencyWithdrawEventResponse> emergencyWithdrawEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                                 org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • fundAddedEventFlowable

        public io.reactivex.Flowable<TokenFactory.FundAddedEventResponse> fundAddedEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • fundAddedEventFlowable

        public io.reactivex.Flowable<TokenFactory.FundAddedEventResponse> fundAddedEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                 org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • fundAllocationChangedEventFlowable

        public io.reactivex.Flowable<TokenFactory.FundAllocationChangedEventResponse> fundAllocationChangedEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                                         org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • harvestEventFlowable

        public io.reactivex.Flowable<TokenFactory.HarvestEventResponse> harvestEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • harvestEventFlowable

        public io.reactivex.Flowable<TokenFactory.HarvestEventResponse> harvestEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                             org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • maxSupplyReachedEventFlowable

        public io.reactivex.Flowable<TokenFactory.MaxSupplyReachedEventResponse> maxSupplyReachedEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                               org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • ownershipTransferredEventFlowable

        public io.reactivex.Flowable<TokenFactory.OwnershipTransferredEventResponse> ownershipTransferredEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                                                       org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • withdrawEventFlowable

        public io.reactivex.Flowable<TokenFactory.WithdrawEventResponse> withdrawEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • withdrawEventFlowable

        public io.reactivex.Flowable<TokenFactory.WithdrawEventResponse> withdrawEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock,
                                                                                               org.web3j.protocol.core.DefaultBlockParameter endBlock)
      • MAX_MEED_SUPPLY

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> MAX_MEED_SUPPLY()
      • MEED_REWARDING_PRECISION

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> MEED_REWARDING_PRECISION()
      • addFund

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> addFund​(String _fundAddress,
                                                                                                                               BigInteger _value,
                                                                                                                               Boolean _isFixedPercentage)
      • addLPToken

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> addLPToken​(String _lpToken,
                                                                                                                                  BigInteger _value,
                                                                                                                                  Boolean _isFixedPercentage)
      • batchSendRewards

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> batchSendRewards​(List<String> _fundAddresses)
      • deposit

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> deposit​(String _lpToken,
                                                                                                                               BigInteger _amount)
      • emergencyWithdraw

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> emergencyWithdraw​(String _lpToken)
      • fundAddresses

        public org.web3j.protocol.core.RemoteFunctionCall<String> fundAddresses​(BigInteger param0)
      • fundsLength

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> fundsLength()
      • harvest

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> harvest​(String _lpAddress)
      • isOwner

        public org.web3j.protocol.core.RemoteFunctionCall<Boolean> isOwner()
      • meed

        public org.web3j.protocol.core.RemoteFunctionCall<String> meed()
      • meedPerMinute

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> meedPerMinute()
      • owner

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

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> pendingRewardBalanceOf​(String _fundAddress)
      • pendingRewardBalanceOf

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> pendingRewardBalanceOf​(String _lpToken,
                                                                                             String _user)
      • renounceOwnership

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> renounceOwnership()
      • sendAllRewards

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> sendAllRewards()
      • sendReward

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> sendReward​(String _fundAddress)
      • setMeedPerMinute

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> setMeedPerMinute​(BigInteger _meedPerMinute)
      • startRewardsTime

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> startRewardsTime()
      • totalAllocationPoints

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> totalAllocationPoints()
      • totalFixedPercentage

        public org.web3j.protocol.core.RemoteFunctionCall<BigInteger> totalFixedPercentage()
      • transferOwnership

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

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> updateAllocation​(String _fundAddress,
                                                                                                                                        BigInteger _value,
                                                                                                                                        Boolean _isFixedPercentage)
      • userLpInfos

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.tuples.generated.Tuple2<BigInteger,​BigInteger>> userLpInfos​(String param0,
                                                                                                                                      String param1)
      • withdraw

        public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> withdraw​(String _lpToken,
                                                                                                                                BigInteger _amount)
      • load

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

        public static TokenFactory 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<TokenFactory> deploy​(org.web3j.protocol.Web3j web3j,
                                                                              org.web3j.crypto.Credentials credentials,
                                                                              org.web3j.tx.gas.ContractGasProvider contractGasProvider,
                                                                              String _meed,
                                                                              BigInteger _meedPerMinute,
                                                                              BigInteger _startRewardsTime)
      • deploy

        public static org.web3j.protocol.core.RemoteCall<TokenFactory> deploy​(org.web3j.protocol.Web3j web3j,
                                                                              org.web3j.tx.TransactionManager transactionManager,
                                                                              org.web3j.tx.gas.ContractGasProvider contractGasProvider,
                                                                              String _meed,
                                                                              BigInteger _meedPerMinute,
                                                                              BigInteger _startRewardsTime)