Class NearInvoker
java.lang.Object
dev.getelements.elements.service.blockchain.invoke.near.NearInvoker
- All Implemented Interfaces:
dev.getelements.elements.sdk.service.blockchain.invoke.ScopedInvoker<dev.getelements.elements.sdk.service.blockchain.invoke.near.NearInvocationScope>,dev.getelements.elements.sdk.service.blockchain.NearSmartContractInvocationService.Invoker
public class NearInvoker
extends Object
implements dev.getelements.elements.sdk.service.blockchain.NearSmartContractInvocationService.Invoker
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.getelements.elements.sdk.service.blockchain.invoke.ScopedInvoker
dev.getelements.elements.sdk.service.blockchain.invoke.ScopedInvoker.Factory<InvocationScopeT extends dev.getelements.elements.sdk.service.blockchain.invoke.InvocationScope,InvokerT extends dev.getelements.elements.sdk.service.blockchain.invoke.ScopedInvoker<InvocationScopeT>> -
Field Summary
Fields inherited from interface dev.getelements.elements.sdk.service.blockchain.NearSmartContractInvocationService.Invoker
DEFAULT_GAS_LIMIT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondev.getelements.elements.sdk.model.blockchain.contract.near.NearContractFunctionCallResultcom.syntifi.near.api.rpc.NearClientdev.getelements.elements.sdk.service.blockchain.invoke.near.NearInvocationScopecom.fasterxml.jackson.databind.ObjectMappervoidinitialize(dev.getelements.elements.sdk.service.blockchain.invoke.near.NearInvocationScope nearInvocationScope) dev.getelements.elements.sdk.model.blockchain.contract.near.NearInvokeContractResponsedev.getelements.elements.sdk.model.blockchain.contract.near.NearInvokeContractResponsevoidsetNearClient(com.syntifi.near.api.rpc.NearClient nearClient) voidsetNearInvocationScope(dev.getelements.elements.sdk.service.blockchain.invoke.near.NearInvocationScope nearInvocationScope) voidsetObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) 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.NearSmartContractInvocationService.Invoker
call, send, sendDirect
-
Constructor Details
-
NearInvoker
public NearInvoker()
-
-
Method Details
-
initialize
public void initialize(dev.getelements.elements.sdk.service.blockchain.invoke.near.NearInvocationScope nearInvocationScope) - Specified by:
initializein interfacedev.getelements.elements.sdk.service.blockchain.invoke.ScopedInvoker<dev.getelements.elements.sdk.service.blockchain.invoke.near.NearInvocationScope>
-
send
public dev.getelements.elements.sdk.model.blockchain.contract.near.NearInvokeContractResponse send(List<Map.Entry<String, Map<String, Object>>> actions) - Specified by:
sendin interfacedev.getelements.elements.sdk.service.blockchain.NearSmartContractInvocationService.Invoker
-
sendDirect
public dev.getelements.elements.sdk.model.blockchain.contract.near.NearInvokeContractResponse sendDirect(String receiverId, List<Map.Entry<String, Map<String, Object>>> actions) - Specified by:
sendDirectin interfacedev.getelements.elements.sdk.service.blockchain.NearSmartContractInvocationService.Invoker
-
call
public dev.getelements.elements.sdk.model.blockchain.contract.near.NearContractFunctionCallResult call(String accountId, String methodName, Map<String, ?> arguments) - Specified by:
callin interfacedev.getelements.elements.sdk.service.blockchain.NearSmartContractInvocationService.Invoker
-
getNearInvocationScope
public dev.getelements.elements.sdk.service.blockchain.invoke.near.NearInvocationScope getNearInvocationScope() -
setNearInvocationScope
@Inject public void setNearInvocationScope(dev.getelements.elements.sdk.service.blockchain.invoke.near.NearInvocationScope nearInvocationScope) -
getNearClient
public com.syntifi.near.api.rpc.NearClient getNearClient() -
setNearClient
@Inject public void setNearClient(com.syntifi.near.api.rpc.NearClient nearClient) -
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper() -
setObjectMapper
@Inject public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-