Module java4ever.framework
Package tech.deplant.java4ever.framework
Record Class DeployHandle<RETURN>
java.lang.Object
java.lang.Record
tech.deplant.java4ever.framework.DeployHandle<RETURN>
-
Constructor Summary
ConstructorsConstructorDescriptionDeployHandle(Class<RETURN> clazz, Sdk sdk, ContractAbi abi, Tvc tvc, int workchainId, Credentials credentials, Map<String, Object> initialDataFields, Map<String, Object> constructorInputs, tech.deplant.java4ever.binding.Abi.FunctionHeader constructorHeader) Creates an instance of aDeployHandlerecord class. -
Method Summary
Modifier and TypeMethodDescriptionabi()Returns the value of theabirecord component.clazz()Returns the value of theclazzrecord component.tech.deplant.java4ever.binding.Abi.FunctionHeaderReturns the value of theconstructorHeaderrecord component.Returns the value of theconstructorInputsrecord component.Returns the value of thecredentialsrecord component.deploy()deployWithGiver(Giver giver, BigInteger value) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinitialDataFieldsrecord component.sdk()Returns the value of thesdkrecord component.tech.deplant.java4ever.binding.Abi.Signersign()tech.deplant.java4ever.binding.Abi.CallSettech.deplant.java4ever.binding.Abi.DeploySetfinal StringtoString()Returns a string representation of this record class.tvc()Returns the value of thetvcrecord component.withConstructorHeader(tech.deplant.java4ever.binding.Abi.FunctionHeader constructorHeader) withConstructorInputs(Map<String, Object> constructorInputs) withCredentials(Credentials credentials) withInitDataFields(Map<String, Object> initialDataFields) <T> DeployHandle<T>withReturnClass(Class<T> returnClass) intReturns the value of theworkchainIdrecord component.
-
Constructor Details
-
DeployHandle
public DeployHandle(Class<RETURN> clazz, Sdk sdk, ContractAbi abi, Tvc tvc, int workchainId, Credentials credentials, Map<String, Object> initialDataFields, Map<String, Object> constructorInputs, tech.deplant.java4ever.binding.Abi.FunctionHeader constructorHeader) Creates an instance of aDeployHandlerecord class.- Parameters:
clazz- the value for theclazzrecord componentsdk- the value for thesdkrecord componentabi- the value for theabirecord componenttvc- the value for thetvcrecord componentworkchainId- the value for theworkchainIdrecord componentcredentials- the value for thecredentialsrecord componentinitialDataFields- the value for theinitialDataFieldsrecord componentconstructorInputs- the value for theconstructorInputsrecord componentconstructorHeader- the value for theconstructorHeaderrecord component
-
-
Method Details
-
withReturnClass
-
withConstructorHeader
public DeployHandle<RETURN> withConstructorHeader(tech.deplant.java4ever.binding.Abi.FunctionHeader constructorHeader) -
withConstructorInputs
-
withInitDataFields
-
withCredentials
-
toDeploySet
public tech.deplant.java4ever.binding.Abi.DeploySet toDeploySet() throws tech.deplant.java4ever.binding.EverSdkException- Throws:
tech.deplant.java4ever.binding.EverSdkException
-
toConstructorCallSet
public tech.deplant.java4ever.binding.Abi.CallSet toConstructorCallSet() throws tech.deplant.java4ever.binding.EverSdkException- Throws:
tech.deplant.java4ever.binding.EverSdkException
-
sign
public tech.deplant.java4ever.binding.Abi.Signer sign() -
toAddress
- Throws:
tech.deplant.java4ever.binding.EverSdkException
-
deployWithGiver
public RETURN deployWithGiver(Giver giver, BigInteger value) throws tech.deplant.java4ever.binding.EverSdkException - Throws:
tech.deplant.java4ever.binding.EverSdkException
-
deploy
- Throws:
tech.deplant.java4ever.binding.EverSdkException
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
clazz
Returns the value of theclazzrecord component.- Returns:
- the value of the
clazzrecord component
-
sdk
Returns the value of thesdkrecord component.- Returns:
- the value of the
sdkrecord component
-
abi
Returns the value of theabirecord component.- Returns:
- the value of the
abirecord component
-
tvc
Returns the value of thetvcrecord component.- Returns:
- the value of the
tvcrecord component
-
workchainId
public int workchainId()Returns the value of theworkchainIdrecord component.- Returns:
- the value of the
workchainIdrecord component
-
credentials
Returns the value of thecredentialsrecord component.- Returns:
- the value of the
credentialsrecord component
-
initialDataFields
Returns the value of theinitialDataFieldsrecord component.- Returns:
- the value of the
initialDataFieldsrecord component
-
constructorInputs
Returns the value of theconstructorInputsrecord component.- Returns:
- the value of the
constructorInputsrecord component
-
constructorHeader
public tech.deplant.java4ever.binding.Abi.FunctionHeader constructorHeader()Returns the value of theconstructorHeaderrecord component.- Returns:
- the value of the
constructorHeaderrecord component
-