Package i5.las2peer.registry.contracts
Class ServiceRegistry
java.lang.Object
org.web3j.tx.ManagedTransaction
org.web3j.tx.Contract
i5.las2peer.registry.contracts.ServiceRegistry
public class ServiceRegistry
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
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
Nested classes/interfaces inherited from class org.web3j.tx.Contract
org.web3j.tx.Contract.EventValuesWithLog
-
Field Summary
Modifier 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 org.web3j.abi.datatypes.Event
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
ModifierConstructorDescriptionprotected
ServiceRegistry
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit) Deprecated.protected
ServiceRegistry
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider) protected
ServiceRegistry
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit) Deprecated.protected
ServiceRegistry
(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.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
announceDeployment
(String serviceName, String className, BigInteger versionMajor, BigInteger versionMinor, BigInteger versionPatch, String nodeId) org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
announceDeploymentEnd
(String serviceName, String className, BigInteger versionMajor, BigInteger versionMinor, BigInteger versionPatch, String nodeId) org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
delegatedRegister
(String serviceName, byte[] authorName, String consentee, byte[] consentSignature) org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
delegatedRelease
(String serviceName, byte[] authorName, BigInteger versionMajor, BigInteger versionMinor, BigInteger versionPatch, byte[] hash, String consentee, byte[] consentSignature) static org.web3j.protocol.core.RemoteCall<ServiceRegistry>
deploy
(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit, String userRegistryAddress) Deprecated.static org.web3j.protocol.core.RemoteCall<ServiceRegistry>
deploy
(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider, String userRegistryAddress) static org.web3j.protocol.core.RemoteCall<ServiceRegistry>
deploy
(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit, String userRegistryAddress) Deprecated.static org.web3j.protocol.core.RemoteCall<ServiceRegistry>
deploy
(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider, String userRegistryAddress) static String
getPreviouslyDeployedAddress
(String networkId) getServiceCreatedEvents
(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) getServiceDeploymentEndEvents
(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) getServiceDeploymentEvents
(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) getServiceReleasedEvents
(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) protected String
getStaticDeployedAddress
(String networkId) org.web3j.protocol.core.RemoteCall<String>
hashToName
(byte[] hashOfName) static ServiceRegistry
load
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit) Deprecated.static ServiceRegistry
load
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider) static ServiceRegistry
load
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit) Deprecated.static ServiceRegistry
load
(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider) org.web3j.protocol.core.RemoteCall<Boolean>
nameIsAvailable
(String serviceName) org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt>
release
(String serviceName, byte[] authorName, BigInteger versionMajor, BigInteger versionMinor, BigInteger versionPatch, byte[] hash) io.reactivex.Flowable<ServiceRegistry.ServiceCreatedEventResponse>
serviceCreatedEventFlowable
(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) io.reactivex.Flowable<ServiceRegistry.ServiceCreatedEventResponse>
serviceCreatedEventFlowable
(org.web3j.protocol.core.methods.request.EthFilter filter) io.reactivex.Flowable<ServiceRegistry.ServiceDeploymentEndEventResponse>
serviceDeploymentEndEventFlowable
(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) io.reactivex.Flowable<ServiceRegistry.ServiceDeploymentEndEventResponse>
serviceDeploymentEndEventFlowable
(org.web3j.protocol.core.methods.request.EthFilter filter) io.reactivex.Flowable<ServiceRegistry.ServiceDeploymentEventResponse>
serviceDeploymentEventFlowable
(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) io.reactivex.Flowable<ServiceRegistry.ServiceDeploymentEventResponse>
serviceDeploymentEventFlowable
(org.web3j.protocol.core.methods.request.EthFilter filter) io.reactivex.Flowable<ServiceRegistry.ServiceReleasedEventResponse>
serviceReleasedEventFlowable
(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) io.reactivex.Flowable<ServiceRegistry.ServiceReleasedEventResponse>
serviceReleasedEventFlowable
(org.web3j.protocol.core.methods.request.EthFilter filter) org.web3j.protocol.core.RemoteCall<org.web3j.tuples.generated.Tuple2<String,
byte[]>> services
(byte[] param0) org.web3j.protocol.core.RemoteCall<org.web3j.tuples.generated.Tuple3<BigInteger,
BigInteger, BigInteger>> serviceVersions
(byte[] param0, BigInteger param1) org.web3j.protocol.core.RemoteCall<byte[]>
stringHash
(String name) org.web3j.protocol.core.RemoteCall<String>
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, sendEIP1559, setSyncThreshold
-
Field Details
-
FUNC_SERVICES
- See Also:
-
FUNC_SERVICEVERSIONS
- See Also:
-
FUNC_USERREGISTRY
- See Also:
-
FUNC_STRINGHASH
- See Also:
-
FUNC_NAMEISAVAILABLE
- See Also:
-
FUNC_HASHTONAME
- See Also:
-
FUNC_REGISTER
- See Also:
-
FUNC_DELEGATEDREGISTER
- See Also:
-
FUNC_RELEASE
- See Also:
-
FUNC_DELEGATEDRELEASE
- See Also:
-
FUNC_ANNOUNCEDEPLOYMENT
- See Also:
-
FUNC_ANNOUNCEDEPLOYMENTEND
- See Also:
-
SERVICECREATED_EVENT
public static final org.web3j.abi.datatypes.Event SERVICECREATED_EVENT -
SERVICERELEASED_EVENT
public static final org.web3j.abi.datatypes.Event SERVICERELEASED_EVENT -
SERVICEDEPLOYMENT_EVENT
public static final org.web3j.abi.datatypes.Event SERVICEDEPLOYMENT_EVENT -
SERVICEDEPLOYMENTEND_EVENT
public static final org.web3j.abi.datatypes.Event SERVICEDEPLOYMENTEND_EVENT -
_addresses
-
-
Constructor Details
-
ServiceRegistry
@Deprecated protected ServiceRegistry(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit) Deprecated. -
ServiceRegistry
protected ServiceRegistry(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider) -
ServiceRegistry
@Deprecated protected ServiceRegistry(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit) Deprecated. -
ServiceRegistry
protected ServiceRegistry(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider)
-
-
Method Details
-
services
public org.web3j.protocol.core.RemoteCall<org.web3j.tuples.generated.Tuple2<String,byte[]>> services(byte[] param0) -
serviceVersions
public org.web3j.protocol.core.RemoteCall<org.web3j.tuples.generated.Tuple3<BigInteger,BigInteger, serviceVersionsBigInteger>> (byte[] param0, BigInteger param1) -
userRegistry
-
getServiceCreatedEvents
public List<ServiceRegistry.ServiceCreatedEventResponse> getServiceCreatedEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) -
serviceCreatedEventFlowable
public io.reactivex.Flowable<ServiceRegistry.ServiceCreatedEventResponse> serviceCreatedEventFlowable(org.web3j.protocol.core.methods.request.EthFilter filter) -
serviceCreatedEventFlowable
public io.reactivex.Flowable<ServiceRegistry.ServiceCreatedEventResponse> serviceCreatedEventFlowable(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) -
getServiceReleasedEvents
public List<ServiceRegistry.ServiceReleasedEventResponse> getServiceReleasedEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) -
serviceReleasedEventFlowable
public io.reactivex.Flowable<ServiceRegistry.ServiceReleasedEventResponse> serviceReleasedEventFlowable(org.web3j.protocol.core.methods.request.EthFilter filter) -
serviceReleasedEventFlowable
public io.reactivex.Flowable<ServiceRegistry.ServiceReleasedEventResponse> serviceReleasedEventFlowable(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) -
getServiceDeploymentEvents
public List<ServiceRegistry.ServiceDeploymentEventResponse> getServiceDeploymentEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) -
serviceDeploymentEventFlowable
public io.reactivex.Flowable<ServiceRegistry.ServiceDeploymentEventResponse> serviceDeploymentEventFlowable(org.web3j.protocol.core.methods.request.EthFilter filter) -
serviceDeploymentEventFlowable
public io.reactivex.Flowable<ServiceRegistry.ServiceDeploymentEventResponse> serviceDeploymentEventFlowable(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) -
getServiceDeploymentEndEvents
public List<ServiceRegistry.ServiceDeploymentEndEventResponse> getServiceDeploymentEndEvents(org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) -
serviceDeploymentEndEventFlowable
public io.reactivex.Flowable<ServiceRegistry.ServiceDeploymentEndEventResponse> serviceDeploymentEndEventFlowable(org.web3j.protocol.core.methods.request.EthFilter filter) -
serviceDeploymentEndEventFlowable
public io.reactivex.Flowable<ServiceRegistry.ServiceDeploymentEndEventResponse> serviceDeploymentEndEventFlowable(org.web3j.protocol.core.DefaultBlockParameter startBlock, org.web3j.protocol.core.DefaultBlockParameter endBlock) -
stringHash
-
nameIsAvailable
-
hashToName
-
register
public org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt> register(String serviceName, byte[] authorName) -
delegatedRegister
-
release
public org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt> release(String serviceName, byte[] authorName, BigInteger versionMajor, BigInteger versionMinor, BigInteger versionPatch, byte[] hash) -
delegatedRelease
public org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt> delegatedRelease(String serviceName, byte[] authorName, BigInteger versionMajor, BigInteger versionMinor, BigInteger versionPatch, byte[] hash, String consentee, byte[] consentSignature) -
announceDeployment
public org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt> announceDeployment(String serviceName, String className, BigInteger versionMajor, BigInteger versionMinor, BigInteger versionPatch, String nodeId) -
announceDeploymentEnd
public org.web3j.protocol.core.RemoteCall<org.web3j.protocol.core.methods.response.TransactionReceipt> announceDeploymentEnd(String serviceName, String className, BigInteger versionMajor, BigInteger versionMinor, BigInteger versionPatch, String nodeId) -
load
@Deprecated public static ServiceRegistry load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit) Deprecated. -
load
@Deprecated public static ServiceRegistry load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit) Deprecated. -
load
public static ServiceRegistry load(String contractAddress, org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider) -
load
public static ServiceRegistry 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<ServiceRegistry> deploy(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, org.web3j.tx.gas.ContractGasProvider contractGasProvider, String userRegistryAddress) -
deploy
public static org.web3j.protocol.core.RemoteCall<ServiceRegistry> deploy(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, org.web3j.tx.gas.ContractGasProvider contractGasProvider, String userRegistryAddress) -
deploy
@Deprecated public static org.web3j.protocol.core.RemoteCall<ServiceRegistry> deploy(org.web3j.protocol.Web3j web3j, org.web3j.crypto.Credentials credentials, BigInteger gasPrice, BigInteger gasLimit, String userRegistryAddress) Deprecated. -
deploy
@Deprecated public static org.web3j.protocol.core.RemoteCall<ServiceRegistry> deploy(org.web3j.protocol.Web3j web3j, org.web3j.tx.TransactionManager transactionManager, BigInteger gasPrice, BigInteger gasLimit, String userRegistryAddress) Deprecated. -
getStaticDeployedAddress
- Overrides:
getStaticDeployedAddress
in classorg.web3j.tx.Contract
-
getPreviouslyDeployedAddress
-