Class Authentication

java.lang.Object
org.web3j.tx.ManagedTransaction
org.web3j.tx.Contract
it.unisa.KryptoAuth.contracts.Authentication

public class Authentication 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 1.4.1.

  • Field Details

  • Constructor Details

    • Authentication

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

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

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

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

    • getRoleAdminChangedEvents

      public List<Authentication.RoleAdminChangedEventResponse> getRoleAdminChangedEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)
    • roleAdminChangedEventFlowable

      public io.reactivex.Flowable<Authentication.RoleAdminChangedEventResponse> roleAdminChangedEventFlowable(org.web3j.protocol.core.methods.request.EthFilter filter)
    • roleAdminChangedEventFlowable

      public io.reactivex.Flowable<Authentication.RoleAdminChangedEventResponse> roleAdminChangedEventFlowable(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock)
    • getRoleGrantedEvents

      public List<Authentication.RoleGrantedEventResponse> getRoleGrantedEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)
    • roleGrantedEventFlowable

      public io.reactivex.Flowable<Authentication.RoleGrantedEventResponse> roleGrantedEventFlowable(org.web3j.protocol.core.methods.request.EthFilter filter)
    • roleGrantedEventFlowable

      public io.reactivex.Flowable<Authentication.RoleGrantedEventResponse> roleGrantedEventFlowable(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock)
    • getRoleRevokedEvents

      public List<Authentication.RoleRevokedEventResponse> getRoleRevokedEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)
    • roleRevokedEventFlowable

      public io.reactivex.Flowable<Authentication.RoleRevokedEventResponse> roleRevokedEventFlowable(org.web3j.protocol.core.methods.request.EthFilter filter)
    • roleRevokedEventFlowable

      public io.reactivex.Flowable<Authentication.RoleRevokedEventResponse> roleRevokedEventFlowable(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock)
    • DEFAULT_ADMIN_ROLE

      public org.web3j.protocol.core.RemoteFunctionCall<byte[]> DEFAULT_ADMIN_ROLE()
    • USER_ROLE

      public org.web3j.protocol.core.RemoteFunctionCall<byte[]> USER_ROLE()
    • addAdmin

      public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> addAdmin(String account)
    • addUser

      public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> addUser(String account)
    • getAddress

      public org.web3j.protocol.core.RemoteFunctionCall<String> getAddress()
    • getRoleAdmin

      public org.web3j.protocol.core.RemoteFunctionCall<byte[]> getRoleAdmin(byte[] role)
    • grantRole

      public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> grantRole(byte[] role, String account)
    • hasRole

      public org.web3j.protocol.core.RemoteFunctionCall<Boolean> hasRole(byte[] role, String account)
    • isAdmin

      public org.web3j.protocol.core.RemoteFunctionCall<Boolean> isAdmin(String account)
    • isUser

      public org.web3j.protocol.core.RemoteFunctionCall<Boolean> isUser(String account)
    • loginAdmin

      public org.web3j.protocol.core.RemoteFunctionCall<Boolean> loginAdmin(String _address, String _name, String _password)
    • loginUser

      public org.web3j.protocol.core.RemoteFunctionCall<Boolean> loginUser(String _address, String _name, String _password)
    • registerUser

      public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> registerUser(String _address, String _name, String _password)
    • removeUser

      public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> removeUser(String account)
    • renounceAdmin

      public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> renounceAdmin(String account)
    • renounceRole

      public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> renounceRole(byte[] role, String account)
    • revokeRole

      public org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt> revokeRole(byte[] role, String account)
    • supportsInterface

      public org.web3j.protocol.core.RemoteFunctionCall<Boolean> supportsInterface(byte[] interfaceId)
    • load

      @Deprecated public static Authentication load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit)
      Deprecated.
    • load

      @Deprecated public static Authentication load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit)
      Deprecated.
    • load

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

      public static Authentication 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<Authentication> deploy(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
    • deploy

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

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