Class Ownable


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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Ownable.OwnershipTransferredEventResponse  
      • Nested classes/interfaces inherited from class org.web3j.tx.Contract

        org.web3j.tx.Contract.EventValuesWithLog
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String BINARY  
      static String FUNC_OWNER  
      static String FUNC_RENOUNCEOWNERSHIP  
      static String FUNC_TRANSFEROWNERSHIP  
      static org.web3j.abi.datatypes.Event OWNERSHIPTRANSFERRED_EVENT  
      • Fields inherited from class org.web3j.tx.Contract

        BIN_NOT_PROVIDED, contractAddress, contractBinary, defaultBlockParameter, deployedAddresses, FUNC_DEPLOY, GAS_LIMIT, gasProvider, transactionReceipt
      • Fields inherited from class org.web3j.tx.ManagedTransaction

        ensResolver, GAS_PRICE, transactionManager, web3j
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Ownable​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)
      Deprecated.
      protected Ownable​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
      protected Ownable​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)
      Deprecated.
      protected Ownable​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static org.web3j.protocol.core.RemoteCall<Ownable> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)
      Deprecated.
      static org.web3j.protocol.core.RemoteCall<Ownable> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
      static org.web3j.protocol.core.RemoteCall<Ownable> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)
      Deprecated.
      static org.web3j.protocol.core.RemoteCall<Ownable> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
      List<Ownable.OwnershipTransferredEventResponse> getOwnershipTransferredEvents​(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)  
      static Ownable load​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)
      Deprecated.
      static Ownable load​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
      static Ownable load​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)
      Deprecated.
      static Ownable load​(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
      org.web3j.protocol.core.RemoteFunctionCall<String> owner()  
      io.reactivex.Flowable<Ownable.OwnershipTransferredEventResponse> ownershipTransferredEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock)  
      io.reactivex.Flowable<Ownable.OwnershipTransferredEventResponse> ownershipTransferredEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)  
      org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> renounceOwnership()  
      org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transferOwnership​(String newOwner)  
      • Methods inherited from class org.web3j.tx.Contract

        convertToNative, deploy, deploy, deploy, deploy, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, deployRemoteCall, executeCallMultipleValueReturn, executeCallSingleValueReturn, executeCallSingleValueReturn, executeRemoteCallMultipleValueReturn, executeRemoteCallSingleValueReturn, executeRemoteCallSingleValueReturn, executeRemoteCallTransaction, executeRemoteCallTransaction, executeTransaction, extractEventParameters, extractEventParameters, extractEventParametersWithLog, extractEventParametersWithLog, getContractAddress, getContractBinary, getDeployedAddress, getGasPrice, getStaticDeployedAddress, getTransactionReceipt, isValid, resolveContractAddress, setContractAddress, setDefaultBlockParameter, setDeployedAddress, setGasPrice, setGasProvider, setTransactionReceipt, staticExtractEventParameters, staticExtractEventParametersWithLog
      • Methods inherited from class org.web3j.tx.ManagedTransaction

        call, getSyncThreshold, requestCurrentGasPrice, send, send, sendEIP1559, setSyncThreshold
    • Constructor Detail

      • Ownable

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

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

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

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

      • ownershipTransferredEventFlowable

        public io.reactivex.Flowable<Ownable.OwnershipTransferredEventResponse> ownershipTransferredEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
      • ownershipTransferredEventFlowable

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

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

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

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

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

        public static Ownable 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<Ownable> 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<Ownable> deploy​(org.web3j.protocol.Web3j web3j,
                                                                         org.web3j.crypto.Credentials credentials,
                                                                         BigInteger gasPrice,
                                                                         BigInteger gasLimit)
        Deprecated.
      • deploy

        public static org.web3j.protocol.core.RemoteCall<Ownable> 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<Ownable> deploy​(org.web3j.protocol.Web3j web3j,
                                                                         org.web3j.tx.TransactionManager transactionManager,
                                                                         BigInteger gasPrice,
                                                                         BigInteger gasLimit)
        Deprecated.