Class SuperUserSmartContractInvocationService<InvocationScopeT extends InvocationScope,InvokerT>
java.lang.Object
dev.getelements.elements.service.blockchain.invoke.SuperUserSmartContractInvocationService<InvocationScopeT,InvokerT>
- All Implemented Interfaces:
SmartContractInvocationService<InvokerT>
- Direct Known Subclasses:
SuperUserEvmSmartContractInvocationService
,SuperUserFlowSmartContractInvocationService
,SuperUserNearSmartContractInvocationService
public abstract class SuperUserSmartContractInvocationService<InvocationScopeT extends InvocationScope,InvokerT>
extends Object
implements SmartContractInvocationService<InvokerT>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract InvocationScopeT
protected abstract SmartContractInvocationResolution
<InvokerT> newResolution
(InvocationScopeT scopeT) resolve
(String contractNameOrId, BlockchainNetwork blockchainNetwork) Generates aSmartContractInvocationResolution
for the supplied contract, which can be used to invoke the underlying smart contract methods.void
setSmartContractDao
(SmartContractDao smartContractDao) void
setVaultDao
(VaultDao vaultDao) void
setWalletDao
(WalletDao walletDao) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.getelements.elements.sdk.service.blockchain.SmartContractInvocationService
resolve
-
Constructor Details
-
SuperUserSmartContractInvocationService
public SuperUserSmartContractInvocationService()
-
-
Method Details
-
resolve
public SmartContractInvocationResolution<InvokerT> resolve(String contractNameOrId, BlockchainNetwork blockchainNetwork) Description copied from interface:SmartContractInvocationService
Generates aSmartContractInvocationResolution
for the supplied contract, which can be used to invoke the underlying smart contract methods.- Specified by:
resolve
in interfaceSmartContractInvocationService<InvocationScopeT extends InvocationScope>
- Parameters:
contractNameOrId
- the contract name or IDblockchainNetwork
- the network- Returns:
- the
SmartContractInvocationResolution
-
newInvocationScope
-
newResolution
protected abstract SmartContractInvocationResolution<InvokerT> newResolution(InvocationScopeT scopeT) -
getVaultDao
-
setVaultDao
-
getWalletDao
-
setWalletDao
-
getSmartContractDao
-
setSmartContractDao
-