Class UserRegistry

java.lang.Object
org.web3j.tx.ManagedTransaction
org.web3j.tx.Contract
i5.las2peer.registry.contracts.UserRegistry

public class UserRegistry
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.0.1.

  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  UserRegistry.UserRegisteredEventResponse  
    static class  UserRegistry.UserTransferredEventResponse  

    Nested classes/interfaces inherited from class org.web3j.tx.Contract

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

    Fields 
    Modifier and Type Field Description
    protected static java.util.HashMap<java.lang.String,​java.lang.String> _addresses  
    static java.lang.String FUNC_DELEGATEDREGISTER  
    static java.lang.String FUNC_ISOWNER  
    static java.lang.String FUNC_NAMEISAVAILABLE  
    static java.lang.String FUNC_NAMEISTAKEN  
    static java.lang.String FUNC_NAMEISVALID  
    static java.lang.String FUNC_REGISTER  
    static java.lang.String FUNC_TRANSFER  
    static java.lang.String FUNC_USERS  
    static org.web3j.abi.datatypes.Event USERREGISTERED_EVENT  
    static org.web3j.abi.datatypes.Event USERTRANSFERRED_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 UserRegistry​(java.lang.String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
    Deprecated.
    protected UserRegistry​(java.lang.String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
    protected UserRegistry​(java.lang.String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
    Deprecated.
    protected UserRegistry​(java.lang.String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
  • Method Summary

    Modifier and Type Method Description
    org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt> delegatedRegister​(byte[] name, byte[] agentId, byte[] publicKey, java.lang.String consentee, byte[] consentSignature)  
    static org.web3j.protocol.core.RemoteCall<UserRegistry> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
    Deprecated.
    static org.web3j.protocol.core.RemoteCall<UserRegistry> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
    static org.web3j.protocol.core.RemoteCall<UserRegistry> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
    Deprecated.
    static org.web3j.protocol.core.RemoteCall<UserRegistry> deploy​(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
    static java.lang.String getPreviouslyDeployedAddress​(java.lang.String networkId)  
    protected java.lang.String getStaticDeployedAddress​(java.lang.String networkId)  
    java.util.List<UserRegistry.UserRegisteredEventResponse> getUserRegisteredEvents​(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)  
    java.util.List<UserRegistry.UserTransferredEventResponse> getUserTransferredEvents​(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)  
    org.web3j.protocol.core.RemoteCall<java.lang.Boolean> isOwner​(java.lang.String claimedOwner, byte[] userName)  
    static UserRegistry load​(java.lang.String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
    Deprecated.
    static UserRegistry load​(java.lang.String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
    static UserRegistry load​(java.lang.String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
    Deprecated.
    static UserRegistry load​(java.lang.String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)  
    org.web3j.protocol.core.RemoteCall<java.lang.Boolean> nameIsAvailable​(byte[] name)  
    org.web3j.protocol.core.RemoteCall<java.lang.Boolean> nameIsTaken​(byte[] name)  
    org.web3j.protocol.core.RemoteCall<java.lang.Boolean> nameIsValid​(byte[] name)  
    org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt> register​(byte[] name, byte[] agentId, byte[] publicKey)  
    org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transfer​(byte[] name, java.lang.String newOwner)  
    io.reactivex.Flowable<UserRegistry.UserRegisteredEventResponse> userRegisteredEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock)  
    io.reactivex.Flowable<UserRegistry.UserRegisteredEventResponse> userRegisteredEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)  
    org.web3j.protocol.core.RemoteCall<org.web3j.tuples.generated.Tuple4<byte[],​byte[],​byte[],​java.lang.String>> users​(byte[] param0)  
    io.reactivex.Flowable<UserRegistry.UserTransferredEventResponse> userTransferredEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock)  
    io.reactivex.Flowable<UserRegistry.UserTransferredEventResponse> userTransferredEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)  

    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, getTransactionReceipt, isValid, resolveContractAddress, setContractAddress, setDefaultBlockParameter, setDeployedAddress, setGasPrice, setGasProvider, setTransactionReceipt, staticExtractEventParameters, staticExtractEventParametersWithLog

    Methods inherited from class org.web3j.tx.ManagedTransaction

    call, getSyncThreshold, requestCurrentGasPrice, send, send, setSyncThreshold

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • UserRegistry

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

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

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

      protected UserRegistry​(java.lang.String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
  • Method Details

    • users

      public org.web3j.protocol.core.RemoteCall<org.web3j.tuples.generated.Tuple4<byte[],​byte[],​byte[],​java.lang.String>> users​(byte[] param0)
    • getUserRegisteredEvents

      public java.util.List<UserRegistry.UserRegisteredEventResponse> getUserRegisteredEvents​(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)
    • userRegisteredEventFlowable

      public io.reactivex.Flowable<UserRegistry.UserRegisteredEventResponse> userRegisteredEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
    • userRegisteredEventFlowable

      public io.reactivex.Flowable<UserRegistry.UserRegisteredEventResponse> userRegisteredEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock)
    • getUserTransferredEvents

      public java.util.List<UserRegistry.UserTransferredEventResponse> getUserTransferredEvents​(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)
    • userTransferredEventFlowable

      public io.reactivex.Flowable<UserRegistry.UserTransferredEventResponse> userTransferredEventFlowable​(org.web3j.protocol.core.methods.request.EthFilter filter)
    • userTransferredEventFlowable

      public io.reactivex.Flowable<UserRegistry.UserTransferredEventResponse> userTransferredEventFlowable​(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock)
    • nameIsValid

      public org.web3j.protocol.core.RemoteCall<java.lang.Boolean> nameIsValid​(byte[] name)
    • nameIsTaken

      public org.web3j.protocol.core.RemoteCall<java.lang.Boolean> nameIsTaken​(byte[] name)
    • nameIsAvailable

      public org.web3j.protocol.core.RemoteCall<java.lang.Boolean> nameIsAvailable​(byte[] name)
    • isOwner

      public org.web3j.protocol.core.RemoteCall<java.lang.Boolean> isOwner​(java.lang.String claimedOwner, byte[] userName)
    • register

      public org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt> register​(byte[] name, byte[] agentId, byte[] publicKey)
    • delegatedRegister

      public org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt> delegatedRegister​(byte[] name, byte[] agentId, byte[] publicKey, java.lang.String consentee, byte[] consentSignature)
    • transfer

      public org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt> transfer​(byte[] name, java.lang.String newOwner)
    • load

      @Deprecated public static UserRegistry load​(java.lang.String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
      Deprecated.
    • load

      @Deprecated public static UserRegistry load​(java.lang.String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
      Deprecated.
    • load

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

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

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

      protected java.lang.String getStaticDeployedAddress​(java.lang.String networkId)
      Overrides:
      getStaticDeployedAddress in class org.web3j.tx.Contract
    • getPreviouslyDeployedAddress

      public static java.lang.String getPreviouslyDeployedAddress​(java.lang.String networkId)