java.lang.Object
tech.deplant.java4ever.framework.contract.AbstractContract
tech.deplant.java4ever.framework.contract.GiverContract
- All Implemented Interfaces:
Contract
- Direct Known Subclasses:
GiverV2Contract
,MultisigContract
,MultisigContract2
The type Giver contract.
-
Constructor Summary
ConstructorsConstructorDescriptionGiverContract
(int sdk, String address, ContractAbi abi, Credentials credentials) Instantiates a new Giver contract. -
Method Summary
Modifier and TypeMethodDescriptiongive
(Address to, BigInteger value) Give function handle.abstract FunctionHandle
<Void> sendTransaction
(Address dest, BigInteger value, Boolean bounce) Send transaction function handle.Methods inherited from class tech.deplant.java4ever.framework.contract.AbstractContract
abi, address, contextId, credentials, equals, functionCallBuilder, hashCode, subscribeOnAccount, subscribeOnIncomingMessages, subscribeOnOutgoingMessages, subscribeOnTransactions, waitForTransaction
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tech.deplant.java4ever.framework.contract.Contract
account, accountBalance, decodeMessageBoc, prepareCall
-
Constructor Details
-
GiverContract
Instantiates a new Giver 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) Send transaction function handle.- Parameters:
dest
- the destvalue
- the valuebounce
- the bounce- Returns:
- the function handle
-
give
Give function handle.- Parameters:
to
- the tovalue
- the value- Returns:
- the function handle
-