Module java4ever.framework
Record Class SurfMultisigWallet
java.lang.Object
java.lang.Record
tech.deplant.java4ever.framework.contract.SurfMultisigWallet
- All Implemented Interfaces:
Contract
,Giver
,MultisigWallet
public record SurfMultisigWallet(Sdk sdk, String address, ContractAbi abi, Credentials credentials)
extends Record
implements MultisigWallet
Java wrapper class for usage of SurfMultisigWallet contract for Everscale blockchain.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
static final record
static final record
static final record
static final record
static final record
static final record
static final record
static final record
-
Constructor Summary
ConstructorsConstructorDescriptionSurfMultisigWallet
(Sdk sdk, String address) SurfMultisigWallet
(Sdk sdk, String address, ContractAbi abi) SurfMultisigWallet
(Sdk sdk, String address, ContractAbi abi, Credentials credentials) Creates an instance of aSurfMultisigWallet
record class.SurfMultisigWallet
(Sdk sdk, String address, Credentials credentials) -
Method Summary
Modifier and TypeMethodDescriptionabi()
Returns the value of theabi
record component.acceptTransfer
(String payload) address()
Returns the value of theaddress
record component.confirmTransaction
(Long transactionId) confirmUpdate
(Long updateId) Returns the value of thecredentials
record component.static ContractAbi
final boolean
Indicates whether some other object is "equal to" this one.executeUpdate
(Long updateId, TvmCell code) getTransaction
(Long transactionId) final int
hashCode()
Returns a hash code value for this object.isConfirmed
(Integer mask, Integer index) sdk()
Returns the value of thesdk
record component.sendTransaction
(Address dest, BigInteger value, Boolean bounce, Integer flags, TvmCell payload) submitTransaction
(Address dest, BigInteger value, Boolean bounce, Boolean allBalance, TvmCell payload) submitUpdate
(BigInteger codeHash, BigInteger[] owners, Integer reqConfirms) final String
toString()
Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface tech.deplant.java4ever.framework.contract.Contract
account, accountBalance, prepareCall, tvmPubkey
Methods inherited from interface tech.deplant.java4ever.framework.contract.MultisigWallet
give
-
Constructor Details
-
SurfMultisigWallet
public SurfMultisigWallet(Sdk sdk, String address) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
SurfMultisigWallet
-
SurfMultisigWallet
public SurfMultisigWallet(Sdk sdk, String address, Credentials credentials) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
SurfMultisigWallet
Creates an instance of aSurfMultisigWallet
record class.- Parameters:
sdk
- the value for thesdk
record componentaddress
- the value for theaddress
record componentabi
- the value for theabi
record componentcredentials
- the value for thecredentials
record component
-
-
Method Details
-
DEFAULT_ABI
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
acceptTransfer
-
sendTransaction
public FunctionHandle<Void> sendTransaction(Address dest, BigInteger value, Boolean bounce, Integer flags, TvmCell payload) - Specified by:
sendTransaction
in interfaceMultisigWallet
-
submitTransaction
public FunctionHandle<SurfMultisigWallet.ResultOfSubmitTransaction> submitTransaction(Address dest, BigInteger value, Boolean bounce, Boolean allBalance, TvmCell payload) -
confirmTransaction
-
isConfirmed
public FunctionHandle<SurfMultisigWallet.ResultOfIsConfirmed> isConfirmed(Integer mask, Integer index) -
getParameters
-
getTransaction
-
getTransactions
-
getTransactionIds
-
getCustodians
-
submitUpdate
public FunctionHandle<SurfMultisigWallet.ResultOfSubmitUpdate> submitUpdate(BigInteger codeHash, BigInteger[] owners, Integer reqConfirms) -
confirmUpdate
-
executeUpdate
-
getUpdateRequests
-
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
sdk
Returns the value of thesdk
record component. -
address
Returns the value of theaddress
record component. -
abi
Returns the value of theabi
record component. -
credentials
Returns the value of thecredentials
record component.- Specified by:
credentials
in interfaceContract
- Returns:
- the value of the
credentials
record component
-