java.lang.Object
tech.deplant.java4ever.framework.AccountController
-
Constructor Summary
ConstructorsConstructorDescriptionAccountController
(Account account, Credentials externalOwner, AccountController internalOwner) -
Method Summary
Modifier and TypeMethodDescriptioncallExternalFromOwner
(@NonNull String functionName, Map<String, Object> functionInputs) callInternalFromCustom
(AccountController customSender, @NonNull String functionName, Map<String, Object> functionInputs, BigInteger functionValue, boolean functionBounce) callInternalFromOwner
(@NonNull String functionName, Map<String, Object> functionInputs, BigInteger functionValue, boolean functionBounce) static AccountController
ofAddress
(ContractAbi abi, Address address, Sdk sdk, Credentials externalOwner, AccountController internalOwner) void
refresh()
-
Constructor Details
-
AccountController
public AccountController(Account account, Credentials externalOwner, AccountController internalOwner)
-
-
Method Details
-
ofAddress
public static AccountController ofAddress(ContractAbi abi, Address address, Sdk sdk, Credentials externalOwner, AccountController internalOwner) throws Sdk.SdkException - Throws:
Sdk.SdkException
-
callExternalFromOwner
public Map<String,Object> callExternalFromOwner(@NonNull @NonNull String functionName, Map<String, Object> functionInputs) throws Sdk.SdkException- Throws:
Sdk.SdkException
-
callInternalFromCustom
public Map<String,Object> callInternalFromCustom(AccountController customSender, @NonNull @NonNull String functionName, Map<String, Object> functionInputs, BigInteger functionValue, boolean functionBounce) throws Sdk.SdkException- Throws:
Sdk.SdkException
-
callInternalFromOwner
public Map<String,Object> callInternalFromOwner(@NonNull @NonNull String functionName, Map<String, Object> functionInputs, BigInteger functionValue, boolean functionBounce) throws IOException, Sdk.SdkException- Throws:
IOException
Sdk.SdkException
-
runGetter
-
refresh
- Throws:
Sdk.SdkException
-