java.lang.Object
tech.deplant.java4ever.framework.contract.OwnedContract
tech.deplant.java4ever.framework.contract.EverOSGiver
All Implemented Interfaces:
Giver

public class EverOSGiver extends OwnedContract implements Giver
Implementation of GiverV2 contract that is included in EverNodeSE image.
  • Field Details

  • Constructor Details

    • EverOSGiver

      public EverOSGiver(Sdk sdk) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • EverOSGiver

      public EverOSGiver(Sdk sdk, String address, Credentials owner, ContractAbi abi)
    • EverOSGiver

      public EverOSGiver(OwnedContract contract)
  • Method Details

    • DEFAULT_ABI

      public static ContractAbi DEFAULT_ABI() throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • give

      public void give(String to, BigInteger amount) throws tech.deplant.java4ever.binding.EverSdkException
      Description copied from interface: Giver
      Implementations of this method should send specified amount to specified address.
      Specified by:
      give in interface Giver
      Parameters:
      to - Everscale address where to send funds
      amount - Amount to send (in nanoevers)
      Throws:
      tech.deplant.java4ever.binding.EverSdkException