Record Class TIP4Wallet

java.lang.Object
java.lang.Record
tech.deplant.java4ever.framework.contract.TIP4Wallet
All Implemented Interfaces:
Contract

public record TIP4Wallet(Sdk sdk, String address, ContractAbi abi, Credentials credentials) extends Record implements Contract
Java wrapper class for usage of TIP4Wallet contract for Everscale blockchain.
  • Constructor Details

    • TIP4Wallet

      public TIP4Wallet(Sdk sdk, String address) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • TIP4Wallet

      public TIP4Wallet(Sdk sdk, String address, ContractAbi abi)
    • TIP4Wallet

      public TIP4Wallet(Sdk sdk, String address, Credentials credentials) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • TIP4Wallet

      public TIP4Wallet(Sdk sdk, String address, ContractAbi abi, Credentials credentials)
      Creates an instance of a TIP4Wallet record class.
      Parameters:
      sdk - the value for the sdk record component
      address - the value for the address record component
      abi - the value for the abi record component
      credentials - the value for the credentials record component
  • Method Details

    • DEFAULT_ABI

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

      public FunctionHandle<Void> sendTransaction(Address dest, BigInteger value, Boolean bounce, Integer flags, TvmCell payload)
    • transferOwnership

      public FunctionHandle<Void> transferOwnership(BigInteger newOwner)
    • owner

    • _randomNonce

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • sdk

      public Sdk sdk()
      Returns the value of the sdk record component.
      Specified by:
      sdk in interface Contract
      Returns:
      the value of the sdk record component
    • address

      public String address()
      Returns the value of the address record component.
      Specified by:
      address in interface Contract
      Returns:
      the value of the address record component
    • abi

      public ContractAbi abi()
      Returns the value of the abi record component.
      Specified by:
      abi in interface Contract
      Returns:
      the value of the abi record component
    • credentials

      public Credentials credentials()
      Returns the value of the credentials record component.
      Specified by:
      credentials in interface Contract
      Returns:
      the value of the credentials record component