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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    dev.getelements.elements.sdk.model.blockchain.contract.near.NearContractFunctionCallResult
    call(String accountId, String methodName, Map<String,?> arguments)
     
    com.syntifi.near.api.rpc.NearClient
     
    dev.getelements.elements.sdk.service.blockchain.invoke.near.NearInvocationScope
     
    com.fasterxml.jackson.databind.ObjectMapper
     
    void
    initialize(dev.getelements.elements.sdk.service.blockchain.invoke.near.NearInvocationScope nearInvocationScope)
     
    dev.getelements.elements.sdk.model.blockchain.contract.near.NearInvokeContractResponse
     
    dev.getelements.elements.sdk.model.blockchain.contract.near.NearInvokeContractResponse
     
    void
    setNearClient(com.syntifi.near.api.rpc.NearClient nearClient)
     
    void
    setNearInvocationScope(dev.getelements.elements.sdk.service.blockchain.invoke.near.NearInvocationScope nearInvocationScope)
     
    void
    setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
     

    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.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:
      initialize in interface dev.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:
      send in interface dev.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:
      sendDirect in interface dev.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:
      call in interface dev.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)