Baz.VenueAdapter behaviour (baz v0.0.2)
Link to this section Summary
Link to this section Types
Link to this type
address()
@type address() :: String.t()
Link to this type
collection()
@type collection() :: Baz.Collections.Collection.t()
Link to this type
collection_slug()
@type collection_slug() :: String.t()
Link to this type
get_collection_assets_by_slug_result()
@type get_collection_assets_by_slug_result() :: [Ecto.Changeset.t()] | {:error, shared_errors()}
Link to this type
get_collection_by_slug_result()
@type get_collection_by_slug_result() :: Ecto.Changeset.t() | {:error, shared_errors()}
Link to this type
token_id()
@type token_id() :: non_neg_integer()
Link to this type
token_ids()
@type token_ids() :: [token_id()]
Link to this type
venue()
@type venue() :: struct()
Link to this section Callbacks
Link to this callback
get_collection_assets_by_slug(venue, address, token_ids)
@callback get_collection_assets_by_slug(venue(), address(), token_ids()) :: get_collection_assets_by_slug_result()
Link to this callback
get_collection_by_slug(venue, collection_slug)
@callback get_collection_by_slug(venue(), collection_slug()) :: get_collection_by_slug_result()
Link to this section Functions
Link to this function
get_collection_assets_by_slug(venue, collection_address, token_ids)
@spec get_collection_assets_by_slug(venue(), address(), token_ids()) :: get_collection_assets_by_slug_result()
Link to this function
get_collection_by_slug(venue, slug)
@spec get_collection_by_slug(venue(), collection_slug()) :: get_collection_by_slug_result()