Class ContractTemplate

java.lang.Object
tech.deplant.java4ever.framework.template.ContractTemplate
Direct Known Subclasses:
MsigTemplate, Tip31RootTemplate, Tip31WalletTemplate

public class ContractTemplate extends Object
  • Constructor Details

  • Method Details

    • abi

      public ContractAbi abi()
    • tvc

      public ContractTvc tvc()
    • doDeploy

      protected OwnedContract doDeploy(Sdk sdk, int workchainId, Address address, Map<String,Object> initialData, Credentials credentials, Map<String,Object> constructorInputs) throws tech.deplant.java4ever.binding.EverSdkException
      Throws:
      tech.deplant.java4ever.binding.EverSdkException
    • deploy

      public OwnedContract deploy(Sdk sdk, int workchainId, Map<String,Object> initialData, Credentials credentials, Map<String,Object> constructorInputs) throws tech.deplant.java4ever.binding.EverSdkException
      Throws:
      tech.deplant.java4ever.binding.EverSdkException
    • deployWithGiver

      public OwnedContract deployWithGiver(Sdk sdk, Giver giver, BigInteger value, int workchainId, Map<String,Object> initialData, Credentials credentials, Map<String,Object> constructorInputs) throws tech.deplant.java4ever.binding.EverSdkException
      Throws:
      tech.deplant.java4ever.binding.EverSdkException
    • decodeInitialData

      public Map<String,Object> decodeInitialData(Sdk sdk) throws tech.deplant.java4ever.binding.EverSdkException
      Throws:
      tech.deplant.java4ever.binding.EverSdkException
    • decodeInitialPubkey

      public String decodeInitialPubkey(Sdk sdk) throws tech.deplant.java4ever.binding.EverSdkException
      Throws:
      tech.deplant.java4ever.binding.EverSdkException
    • calculateAddress

      public Address calculateAddress(Sdk sdk) throws tech.deplant.java4ever.binding.EverSdkException
      Throws:
      tech.deplant.java4ever.binding.EverSdkException
    • isDeployed

      public boolean isDeployed(Sdk sdk) throws tech.deplant.java4ever.binding.EverSdkException
      Throws:
      tech.deplant.java4ever.binding.EverSdkException
    • withUpdatedInitialData

      public ContractTemplate withUpdatedInitialData(Sdk sdk, Map<String,Object> initialData, String publicKey) throws tech.deplant.java4ever.binding.EverSdkException
      Throws:
      tech.deplant.java4ever.binding.EverSdkException