Module java4ever.framework
Record Class SetcodeMultisigWallet2
java.lang.Object
java.lang.Record
tech.deplant.java4ever.framework.contract.multisig2.SetcodeMultisigWallet2
- All Implemented Interfaces:
Contract,Giver,MultisigWallet2
public record SetcodeMultisigWallet2(Sdk sdk, String address, ContractAbi abi, Credentials credentials)
extends Record
implements MultisigWallet2
Java wrapper class for usage of SetcodeMultisigWallet2 contract for Everscale blockchain.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSetcodeMultisigWallet2(Sdk sdk, String address) SetcodeMultisigWallet2(Sdk sdk, String address, ContractAbi abi) SetcodeMultisigWallet2(Sdk sdk, String address, ContractAbi abi, Credentials credentials) Creates an instance of aSetcodeMultisigWallet2record class.SetcodeMultisigWallet2(Sdk sdk, String address, Credentials credentials) -
Method Summary
Modifier and TypeMethodDescriptionabi()Returns the value of theabirecord component.address()Returns the value of theaddressrecord component.confirmTransaction(Long transactionId) confirmUpdate(Long updateId) Returns the value of thecredentialsrecord component.static ContractAbifinal booleanIndicates whether some other object is "equal to" this one.executeUpdate(Long updateId, Optional<TvmCell> code) getTransaction(Long transactionId) final inthashCode()Returns a hash code value for this object.isConfirmed(Integer mask, Integer index) sdk()Returns the value of thesdkrecord component.sendTransaction(Address dest, BigInteger value, Boolean bounce, Integer flags, TvmCell payload) submitTransaction(Address dest, BigInteger value, Boolean bounce, Boolean allBalance, TvmCell payload, Optional<TvmCell> stateInit) submitUpdate(Optional<BigInteger> codeHash, Optional<BigInteger[]> owners, Optional<Integer> reqConfirms, Optional<Integer> lifetime) final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface tech.deplant.java4ever.framework.contract.Contract
account, accountBalance, decodeMessageBoc, prepareCall, subscribeOnAccount, subscribeOnIncomingMessages, subscribeOnOutgoingMessages, subscribeOnTransactions, tvmPubkey, waitForTransactionMethods inherited from interface tech.deplant.java4ever.framework.contract.multisig2.MultisigWallet2
give
-
Constructor Details
-
SetcodeMultisigWallet2
public SetcodeMultisigWallet2(Sdk sdk, String address) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
SetcodeMultisigWallet2
-
SetcodeMultisigWallet2
public SetcodeMultisigWallet2(Sdk sdk, String address, Credentials credentials) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
SetcodeMultisigWallet2
Creates an instance of aSetcodeMultisigWallet2record class.- Parameters:
sdk- the value for thesdkrecord componentaddress- the value for theaddressrecord componentabi- the value for theabirecord componentcredentials- the value for thecredentialsrecord component
-
-
Method Details
-
DEFAULT_ABI
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
sendTransaction
public FunctionHandle<Void> sendTransaction(Address dest, BigInteger value, Boolean bounce, Integer flags, TvmCell payload) - Specified by:
sendTransactionin interfaceMultisigWallet2
-
submitTransaction
public FunctionHandle<ResultOfSubmitTransaction> submitTransaction(Address dest, BigInteger value, Boolean bounce, Boolean allBalance, TvmCell payload, Optional<TvmCell> stateInit) - Specified by:
submitTransactionin interfaceMultisigWallet2
-
confirmTransaction
- Specified by:
confirmTransactionin interfaceMultisigWallet2
-
isConfirmed
- Specified by:
isConfirmedin interfaceMultisigWallet2
-
getParameters
- Specified by:
getParametersin interfaceMultisigWallet2
-
getTransaction
- Specified by:
getTransactionin interfaceMultisigWallet2
-
getTransactions
- Specified by:
getTransactionsin interfaceMultisigWallet2
-
getCustodians
- Specified by:
getCustodiansin interfaceMultisigWallet2
-
submitUpdate
public FunctionHandle<ResultOfSubmitUpdate> submitUpdate(Optional<BigInteger> codeHash, Optional<BigInteger[]> owners, Optional<Integer> reqConfirms, Optional<Integer> lifetime) -
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 thesdkrecord component. -
address
Returns the value of theaddressrecord component. -
abi
Returns the value of theabirecord component. -
credentials
Returns the value of thecredentialsrecord component.- Specified by:
credentialsin interfaceContract- Returns:
- the value of the
credentialsrecord component
-