Module java4ever.framework
Class MultisigContract
java.lang.Object
tech.deplant.java4ever.framework.contract.AbstractContract
tech.deplant.java4ever.framework.contract.GiverContract
tech.deplant.java4ever.framework.contract.multisig.MultisigContract
- All Implemented Interfaces:
Contract
- Direct Known Subclasses:
SafeMultisigWalletContract,SetcodeMultisigWalletContract,SurfMultisigWalletContract
The type Multisig contract.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMultisigContract(int sdk, String address, ContractAbi abi, Credentials credentials) Instantiates a new Multisig contract. -
Method Summary
Modifier and TypeMethodDescriptionabstract FunctionHandle<Void> acceptTransfer(Byte[] payload) Accept transfer function handle.abstract FunctionHandle<Void> confirmTransaction(BigInteger transactionId) Confirm transaction function handle.abstract FunctionHandle<ResultOfGetCustodians> Gets custodians.abstract FunctionHandle<ResultOfGetParameters> Gets parameters.abstract FunctionHandle<ResultOfGetTransaction> getTransaction(BigInteger transactionId) Gets transaction.abstract FunctionHandle<ResultOfGetTransactionIds> Gets transaction ids.abstract FunctionHandle<ResultOfGetTransactions> Gets transactions.give(Address to, BigInteger value) Give function handle.abstract FunctionHandle<ResultOfIsConfirmed> isConfirmed(Long mask, Integer index) Is confirmed function handle.sendTransaction(Address dest, BigInteger value, Boolean bounce) Send transaction function handle.abstract FunctionHandle<Void> sendTransaction(Address dest, BigInteger value, Boolean bounce, Integer flags, TvmCell payload) Send transaction function handle.abstract FunctionHandle<ResultOfSubmitTransaction> submitTransaction(Address dest, BigInteger value, Boolean bounce, Boolean allBalance, TvmCell payload) Submit transaction function handle.Methods inherited from class tech.deplant.java4ever.framework.contract.AbstractContract
abi, address, contextId, credentials, equals, functionCallBuilder, hashCode, subscribeOnAccount, subscribeOnIncomingMessages, subscribeOnOutgoingMessages, subscribeOnTransactionsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tech.deplant.java4ever.framework.contract.Contract
account, accountBalance, decodeMessageBoc, prepareCall
-
Constructor Details
-
MultisigContract
Instantiates a new Multisig contract.- Parameters:
sdk- the sdkaddress- the addressabi- the abicredentials- the credentials
-
-
Method Details
-
sendTransaction
public abstract FunctionHandle<Void> sendTransaction(Address dest, BigInteger value, Boolean bounce, Integer flags, TvmCell payload) Send transaction function handle.- Parameters:
dest- the destvalue- the valuebounce- the bounceflags- the flagspayload- the payload- Returns:
- the function handle
-
sendTransaction
Description copied from class:GiverContractSend transaction function handle.- Specified by:
sendTransactionin classGiverContract- Parameters:
dest- the destvalue- the valuebounce- the bounce- Returns:
- the function handle
-
give
Description copied from class:GiverContractGive function handle.- Overrides:
givein classGiverContract- Parameters:
to- the tovalue- the value- Returns:
- the function handle
-
confirmTransaction
Confirm transaction function handle.- Parameters:
transactionId- the transaction id- Returns:
- the function handle
-
isConfirmed
Is confirmed function handle.- Parameters:
mask- the maskindex- the index- Returns:
- the function handle
-
getParameters
Gets parameters.- Returns:
- the parameters
-
getCustodians
Gets custodians.- Returns:
- the custodians
-
acceptTransfer
Accept transfer function handle.- Parameters:
payload- the payload- Returns:
- the function handle
-
submitTransaction
public abstract FunctionHandle<ResultOfSubmitTransaction> submitTransaction(Address dest, BigInteger value, Boolean bounce, Boolean allBalance, TvmCell payload) Submit transaction function handle.- Parameters:
dest- the destvalue- the valuebounce- the bounceallBalance- the all balancepayload- the payload- Returns:
- the function handle
-
getTransaction
Gets transaction.- Parameters:
transactionId- the transaction id- Returns:
- the transaction
-
getTransactions
Gets transactions.- Returns:
- the transactions
-
getTransactionIds
Gets transaction ids.- Returns:
- the transaction ids
-