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 InvocationScopeTprotected abstract SmartContractInvocationResolution<InvokerT> newResolution(InvocationScopeT scopeT) resolve(String contractNameOrId, BlockchainNetwork blockchainNetwork) Generates aSmartContractInvocationResolutionfor the supplied contract, which can be used to invoke the underlying smart contract methods.voidsetSmartContractDao(SmartContractDao smartContractDao) voidsetVaultDao(VaultDao vaultDao) voidsetWalletDao(WalletDao walletDao) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:SmartContractInvocationServiceGenerates aSmartContractInvocationResolutionfor the supplied contract, which can be used to invoke the underlying smart contract methods.- Specified by:
resolvein 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
-