Package it.unisa.KryptoAuth.contracts
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
Nested classes/interfaces inherited from class org.web3j.tx.Contract
org.web3j.tx.Contract.EventValuesWithLog
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final org.web3j.abi.datatypes.Event
static final org.web3j.abi.datatypes.Event
static final org.web3j.abi.datatypes.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
ConstructorsModifierConstructorDescriptionprotected
Authentication
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit) Deprecated.protected
Authentication
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider) protected
Authentication
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit) Deprecated.protected
Authentication
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider) -
Method Summary
Modifier and TypeMethodDescriptionorg.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
org.web3j.protocol.core.RemoteFunctionCall<byte[]>
static org.web3j.protocol.core.RemoteCall<Authentication>
deploy
(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit) Deprecated.static org.web3j.protocol.core.RemoteCall<Authentication>
deploy
(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider) static org.web3j.protocol.core.RemoteCall<Authentication>
deploy
(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit) Deprecated.static org.web3j.protocol.core.RemoteCall<Authentication>
deploy
(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider) org.web3j.protocol.core.RemoteFunctionCall<String>
org.web3j.protocol.core.RemoteFunctionCall<byte[]>
getRoleAdmin
(byte[] role) getRoleAdminChangedEvents
(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) getRoleGrantedEvents
(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) getRoleRevokedEvents
(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
org.web3j.protocol.core.RemoteFunctionCall<Boolean>
org.web3j.protocol.core.RemoteFunctionCall<Boolean>
org.web3j.protocol.core.RemoteFunctionCall<Boolean>
static Authentication
load
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit) Deprecated.static Authentication
load
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider) static Authentication
load
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit) Deprecated.static Authentication
load
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider) org.web3j.protocol.core.RemoteFunctionCall<Boolean>
loginAdmin
(String _address, String _name, String _password) org.web3j.protocol.core.RemoteFunctionCall<Boolean>
org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
registerUser
(String _address, String _name, String _password) org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
removeUser
(String account) org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
renounceAdmin
(String account) org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
renounceRole
(byte[] role, String account) org.web3j.protocol.core.RemoteFunctionCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
revokeRole
(byte[] role, String account) io.reactivex.Flowable<Authentication.RoleAdminChangedEventResponse>
roleAdminChangedEventFlowable
(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) io.reactivex.Flowable<Authentication.RoleAdminChangedEventResponse>
roleAdminChangedEventFlowable
(org.web3j.protocol.core.methods.request.EthFilter filter) io.reactivex.Flowable<Authentication.RoleGrantedEventResponse>
roleGrantedEventFlowable
(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) io.reactivex.Flowable<Authentication.RoleGrantedEventResponse>
roleGrantedEventFlowable
(org.web3j.protocol.core.methods.request.EthFilter filter) io.reactivex.Flowable<Authentication.RoleRevokedEventResponse>
roleRevokedEventFlowable
(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) io.reactivex.Flowable<Authentication.RoleRevokedEventResponse>
roleRevokedEventFlowable
(org.web3j.protocol.core.methods.request.EthFilter filter) org.web3j.protocol.core.RemoteFunctionCall<Boolean>
supportsInterface
(byte[] interfaceId) org.web3j.protocol.core.RemoteFunctionCall<byte[]>
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
-
Field Details
-
BINARY
- See Also:
-
FUNC_DEFAULT_ADMIN_ROLE
- See Also:
-
FUNC_USER_ROLE
- See Also:
-
FUNC_ADDADMIN
- See Also:
-
FUNC_ADDUSER
- See Also:
-
FUNC_GETADDRESS
- See Also:
-
FUNC_GETROLEADMIN
- See Also:
-
FUNC_GRANTROLE
- See Also:
-
FUNC_HASROLE
- See Also:
-
FUNC_ISADMIN
- See Also:
-
FUNC_ISUSER
- See Also:
-
FUNC_LOGINADMIN
- See Also:
-
FUNC_LOGINUSER
- See Also:
-
FUNC_REGISTERUSER
- See Also:
-
FUNC_REMOVEUSER
- See Also:
-
FUNC_RENOUNCEADMIN
- See Also:
-
FUNC_RENOUNCEROLE
- See Also:
-
FUNC_REVOKEROLE
- See Also:
-
FUNC_SUPPORTSINTERFACE
- See Also:
-
ROLEADMINCHANGED_EVENT
public static final org.web3j.abi.datatypes.Event ROLEADMINCHANGED_EVENT -
ROLEGRANTED_EVENT
public static final org.web3j.abi.datatypes.Event ROLEGRANTED_EVENT -
ROLEREVOKED_EVENT
public static final org.web3j.abi.datatypes.Event ROLEREVOKED_EVENT
-
-
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
-
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
-
isAdmin
-
isUser
-
loginAdmin
-
loginUser
-
registerUser
-
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
-
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.
-