Skip to content

Instantly share code, notes, and snippets.

@leeduckgo
Last active December 13, 2023 11:54
Show Gist options
  • Save leeduckgo/2ce1511a4b284fe819ff807a1701da38 to your computer and use it in GitHub Desktop.
Save leeduckgo/2ce1511a4b284fe819ff807a1701da38 to your computer and use it in GitHub Desktop.
CodesOnChain.GalxeInteractor
defmodule CodesOnChain.GalxeInteractor do
@moduledoc """
Interact with Galxe.
"""
alias Components.GalxeGraphQLInteractor
def get_module_doc, do: @moduledoc
def query_campaign_list(the_alias, fir, aft) do
{:ok,
%Neuron.Response{
body: content
}} =
GalxeGraphQLInteractor.query_campaign_list(the_alias, fir, aft)
content
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment