Package org.web3j.abi.datatypes.ens
Class OffchainLookup
java.lang.Object
org.web3j.abi.datatypes.Array<T>
org.web3j.abi.datatypes.DynamicArray<Type>
org.web3j.abi.datatypes.DynamicStruct
org.web3j.abi.datatypes.ens.OffchainLookup
- All Implemented Interfaces:
StructType,Type<List<Type>>
https://eips.ethereum.org/EIPS/eip-3668#client-lookup-protocol
-
Field Summary
Fields inherited from interface org.web3j.abi.datatypes.Type
MAX_BIT_LENGTH, MAX_BYTE_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionOffchainLookup(String sender, List<String> urls, byte[] callData, byte[] callbackFunction, byte[] extraData) OffchainLookup(Address sender, DynamicArray<Utf8String> urls, DynamicBytes callData, Bytes4 callbackFunction, DynamicBytes extraData) -
Method Summary
Modifier and TypeMethodDescriptionstatic OffchainLookupbuild(byte[] bytes) byte[]byte[]byte[]getUrls()voidsetCallbackFunction(byte[] callbackFunction) voidsetCallData(byte[] callData) voidsetExtraData(byte[] extraData) voidvoidMethods inherited from class org.web3j.abi.datatypes.DynamicStruct
bytes32PaddedLength, getTypeAsStringMethods inherited from class org.web3j.abi.datatypes.DynamicArray
emptyMethods inherited from class org.web3j.abi.datatypes.Array
equals, getComponentType, getNativeValueCopy, getValue, hashCode
-
Constructor Details
-
OffchainLookup
-
OffchainLookup
public OffchainLookup(Address sender, DynamicArray<Utf8String> urls, DynamicBytes callData, Bytes4 callbackFunction, DynamicBytes extraData)
-
-
Method Details
-
build
-
getSender
-
setSender
-
getUrls
-
setUrls
-
getCallData
public byte[] getCallData() -
setCallData
public void setCallData(byte[] callData) -
getCallbackFunction
public byte[] getCallbackFunction() -
setCallbackFunction
public void setCallbackFunction(byte[] callbackFunction) -
getExtraData
public byte[] getExtraData() -
setExtraData
public void setExtraData(byte[] extraData)
-