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 aDeployHandle
record class. -
Method Summary
Modifier and TypeMethodDescriptionabi()
Returns the value of theabi
record component.clazz()
Returns the value of theclazz
record component.tech.deplant.java4ever.binding.Abi.FunctionHeader
Returns the value of theconstructorHeader
record component.Returns the value of theconstructorInputs
record component.Returns the value of thecredentials
record component.deploy()
deployWithGiver
(Giver giver, BigInteger value) final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theinitialDataFields
record component.sdk()
Returns the value of thesdk
record component.tech.deplant.java4ever.binding.Abi.Signer
sign()
tech.deplant.java4ever.binding.Abi.CallSet
tech.deplant.java4ever.binding.Abi.DeploySet
final String
toString()
Returns a string representation of this record class.tvc()
Returns the value of thetvc
record 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) int
Returns the value of theworkchainId
record 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 aDeployHandle
record class.- Parameters:
clazz
- the value for theclazz
record componentsdk
- the value for thesdk
record componentabi
- the value for theabi
record componenttvc
- the value for thetvc
record componentworkchainId
- the value for theworkchainId
record componentcredentials
- the value for thecredentials
record componentinitialDataFields
- the value for theinitialDataFields
record componentconstructorInputs
- the value for theconstructorInputs
record componentconstructorHeader
- the value for theconstructorHeader
record 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 theclazz
record component.- Returns:
- the value of the
clazz
record component
-
sdk
Returns the value of thesdk
record component.- Returns:
- the value of the
sdk
record component
-
abi
Returns the value of theabi
record component.- Returns:
- the value of the
abi
record component
-
tvc
Returns the value of thetvc
record component.- Returns:
- the value of the
tvc
record component
-
workchainId
public int workchainId()Returns the value of theworkchainId
record component.- Returns:
- the value of the
workchainId
record component
-
credentials
Returns the value of thecredentials
record component.- Returns:
- the value of the
credentials
record component
-
initialDataFields
Returns the value of theinitialDataFields
record component.- Returns:
- the value of the
initialDataFields
record component
-
constructorInputs
Returns the value of theconstructorInputs
record component.- Returns:
- the value of the
constructorInputs
record component
-
constructorHeader
public tech.deplant.java4ever.binding.Abi.FunctionHeader constructorHeader()Returns the value of theconstructorHeader
record component.- Returns:
- the value of the
constructorHeader
record component
-