Last active
December 13, 2023 11:54
-
-
Save leeduckgo/2ce1511a4b284fe819ff807a1701da38 to your computer and use it in GitHub Desktop.
CodesOnChain.GalxeInteractor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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