Class ENS
- java.lang.Object
-
- org.web3j.tx.ManagedTransaction
-
- org.web3j.tx.Contract
-
- org.web3j.ens.contracts.generated.ENS
-
public class ENS extends 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.0.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ENS.NewOwnerEventResponse
static class
ENS.NewResolverEventResponse
static class
ENS.NewTTLEventResponse
static class
ENS.TransferEventResponse
-
Nested classes/interfaces inherited from class org.web3j.tx.Contract
Contract.EventValuesWithLog
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FUNC_OWNER
static java.lang.String
FUNC_RESOLVER
static java.lang.String
FUNC_SETOWNER
static java.lang.String
FUNC_SETRESOLVER
static java.lang.String
FUNC_SETSUBNODEOWNER
static java.lang.String
FUNC_SETTTL
static java.lang.String
FUNC_TTL
static org.web3j.abi.datatypes.Event
NEWOWNER_EVENT
static org.web3j.abi.datatypes.Event
NEWRESOLVER_EVENT
static org.web3j.abi.datatypes.Event
NEWTTL_EVENT
static org.web3j.abi.datatypes.Event
TRANSFER_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
ENS(java.lang.String contractAddress, Web3j web3j, org.web3j.crypto.Credentials credentials, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
Deprecated.protected
ENS(java.lang.String contractAddress, Web3j web3j, org.web3j.crypto.Credentials credentials, ContractGasProvider contractGasProvider)
protected
ENS(java.lang.String contractAddress, Web3j web3j, TransactionManager transactionManager, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
Deprecated.protected
ENS(java.lang.String contractAddress, Web3j web3j, TransactionManager transactionManager, ContractGasProvider contractGasProvider)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RemoteCall<ENS>
deploy(Web3j web3j, org.web3j.crypto.Credentials credentials, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
Deprecated.static RemoteCall<ENS>
deploy(Web3j web3j, org.web3j.crypto.Credentials credentials, ContractGasProvider contractGasProvider)
static RemoteCall<ENS>
deploy(Web3j web3j, TransactionManager transactionManager, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
Deprecated.static RemoteCall<ENS>
deploy(Web3j web3j, TransactionManager transactionManager, ContractGasProvider contractGasProvider)
java.util.List<ENS.NewOwnerEventResponse>
getNewOwnerEvents(TransactionReceipt transactionReceipt)
java.util.List<ENS.NewResolverEventResponse>
getNewResolverEvents(TransactionReceipt transactionReceipt)
java.util.List<ENS.NewTTLEventResponse>
getNewTTLEvents(TransactionReceipt transactionReceipt)
java.util.List<ENS.TransferEventResponse>
getTransferEvents(TransactionReceipt transactionReceipt)
static ENS
load(java.lang.String contractAddress, Web3j web3j, org.web3j.crypto.Credentials credentials, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
Deprecated.static ENS
load(java.lang.String contractAddress, Web3j web3j, org.web3j.crypto.Credentials credentials, ContractGasProvider contractGasProvider)
static ENS
load(java.lang.String contractAddress, Web3j web3j, TransactionManager transactionManager, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
Deprecated.static ENS
load(java.lang.String contractAddress, Web3j web3j, TransactionManager transactionManager, ContractGasProvider contractGasProvider)
io.reactivex.Flowable<ENS.NewOwnerEventResponse>
newOwnerEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock)
io.reactivex.Flowable<ENS.NewOwnerEventResponse>
newOwnerEventFlowable(EthFilter filter)
io.reactivex.Flowable<ENS.NewResolverEventResponse>
newResolverEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock)
io.reactivex.Flowable<ENS.NewResolverEventResponse>
newResolverEventFlowable(EthFilter filter)
io.reactivex.Flowable<ENS.NewTTLEventResponse>
newTTLEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock)
io.reactivex.Flowable<ENS.NewTTLEventResponse>
newTTLEventFlowable(EthFilter filter)
RemoteCall<java.lang.String>
owner(byte[] node)
RemoteCall<java.lang.String>
resolver(byte[] node)
RemoteCall<TransactionReceipt>
setOwner(byte[] node, java.lang.String owner)
RemoteCall<TransactionReceipt>
setResolver(byte[] node, java.lang.String resolver)
RemoteCall<TransactionReceipt>
setSubnodeOwner(byte[] node, byte[] label, java.lang.String owner)
RemoteCall<TransactionReceipt>
setTTL(byte[] node, java.math.BigInteger ttl)
io.reactivex.Flowable<ENS.TransferEventResponse>
transferEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock)
io.reactivex.Flowable<ENS.TransferEventResponse>
transferEventFlowable(EthFilter filter)
RemoteCall<java.math.BigInteger>
ttl(byte[] node)
-
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 Detail
-
FUNC_RESOLVER
public static final java.lang.String FUNC_RESOLVER
- See Also:
- Constant Field Values
-
FUNC_OWNER
public static final java.lang.String FUNC_OWNER
- See Also:
- Constant Field Values
-
FUNC_SETSUBNODEOWNER
public static final java.lang.String FUNC_SETSUBNODEOWNER
- See Also:
- Constant Field Values
-
FUNC_SETTTL
public static final java.lang.String FUNC_SETTTL
- See Also:
- Constant Field Values
-
FUNC_TTL
public static final java.lang.String FUNC_TTL
- See Also:
- Constant Field Values
-
FUNC_SETRESOLVER
public static final java.lang.String FUNC_SETRESOLVER
- See Also:
- Constant Field Values
-
FUNC_SETOWNER
public static final java.lang.String FUNC_SETOWNER
- See Also:
- Constant Field Values
-
NEWOWNER_EVENT
public static final org.web3j.abi.datatypes.Event NEWOWNER_EVENT
-
TRANSFER_EVENT
public static final org.web3j.abi.datatypes.Event TRANSFER_EVENT
-
NEWRESOLVER_EVENT
public static final org.web3j.abi.datatypes.Event NEWRESOLVER_EVENT
-
NEWTTL_EVENT
public static final org.web3j.abi.datatypes.Event NEWTTL_EVENT
-
-
Constructor Detail
-
ENS
@Deprecated protected ENS(java.lang.String contractAddress, Web3j web3j, org.web3j.crypto.Credentials credentials, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
Deprecated.
-
ENS
protected ENS(java.lang.String contractAddress, Web3j web3j, org.web3j.crypto.Credentials credentials, ContractGasProvider contractGasProvider)
-
ENS
@Deprecated protected ENS(java.lang.String contractAddress, Web3j web3j, TransactionManager transactionManager, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
Deprecated.
-
ENS
protected ENS(java.lang.String contractAddress, Web3j web3j, TransactionManager transactionManager, ContractGasProvider contractGasProvider)
-
-
Method Detail
-
resolver
public RemoteCall<java.lang.String> resolver(byte[] node)
-
owner
public RemoteCall<java.lang.String> owner(byte[] node)
-
setSubnodeOwner
public RemoteCall<TransactionReceipt> setSubnodeOwner(byte[] node, byte[] label, java.lang.String owner)
-
setTTL
public RemoteCall<TransactionReceipt> setTTL(byte[] node, java.math.BigInteger ttl)
-
ttl
public RemoteCall<java.math.BigInteger> ttl(byte[] node)
-
setResolver
public RemoteCall<TransactionReceipt> setResolver(byte[] node, java.lang.String resolver)
-
setOwner
public RemoteCall<TransactionReceipt> setOwner(byte[] node, java.lang.String owner)
-
deploy
public static RemoteCall<ENS> deploy(Web3j web3j, org.web3j.crypto.Credentials credentials, ContractGasProvider contractGasProvider)
-
deploy
public static RemoteCall<ENS> deploy(Web3j web3j, TransactionManager transactionManager, ContractGasProvider contractGasProvider)
-
deploy
@Deprecated public static RemoteCall<ENS> deploy(Web3j web3j, org.web3j.crypto.Credentials credentials, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
Deprecated.
-
deploy
@Deprecated public static RemoteCall<ENS> deploy(Web3j web3j, TransactionManager transactionManager, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
Deprecated.
-
getNewOwnerEvents
public java.util.List<ENS.NewOwnerEventResponse> getNewOwnerEvents(TransactionReceipt transactionReceipt)
-
newOwnerEventFlowable
public io.reactivex.Flowable<ENS.NewOwnerEventResponse> newOwnerEventFlowable(EthFilter filter)
-
newOwnerEventFlowable
public io.reactivex.Flowable<ENS.NewOwnerEventResponse> newOwnerEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock)
-
getTransferEvents
public java.util.List<ENS.TransferEventResponse> getTransferEvents(TransactionReceipt transactionReceipt)
-
transferEventFlowable
public io.reactivex.Flowable<ENS.TransferEventResponse> transferEventFlowable(EthFilter filter)
-
transferEventFlowable
public io.reactivex.Flowable<ENS.TransferEventResponse> transferEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock)
-
getNewResolverEvents
public java.util.List<ENS.NewResolverEventResponse> getNewResolverEvents(TransactionReceipt transactionReceipt)
-
newResolverEventFlowable
public io.reactivex.Flowable<ENS.NewResolverEventResponse> newResolverEventFlowable(EthFilter filter)
-
newResolverEventFlowable
public io.reactivex.Flowable<ENS.NewResolverEventResponse> newResolverEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock)
-
getNewTTLEvents
public java.util.List<ENS.NewTTLEventResponse> getNewTTLEvents(TransactionReceipt transactionReceipt)
-
newTTLEventFlowable
public io.reactivex.Flowable<ENS.NewTTLEventResponse> newTTLEventFlowable(EthFilter filter)
-
newTTLEventFlowable
public io.reactivex.Flowable<ENS.NewTTLEventResponse> newTTLEventFlowable(DefaultBlockParameter startBlock, DefaultBlockParameter endBlock)
-
load
@Deprecated public static ENS load(java.lang.String contractAddress, Web3j web3j, org.web3j.crypto.Credentials credentials, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
Deprecated.
-
load
@Deprecated public static ENS load(java.lang.String contractAddress, Web3j web3j, TransactionManager transactionManager, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
Deprecated.
-
load
public static ENS load(java.lang.String contractAddress, Web3j web3j, org.web3j.crypto.Credentials credentials, ContractGasProvider contractGasProvider)
-
load
public static ENS load(java.lang.String contractAddress, Web3j web3j, TransactionManager transactionManager, ContractGasProvider contractGasProvider)
-
-