Slurp.Adapters.Evm (slurp v0.0.10)

Link to this section Summary

Link to this section Types

Link to this type

abi_fragment()

Specs

abi_fragment() :: term()

Specs

address() :: Slurp.Adapter.address()
Link to this type

block_number()

Specs

block_number() :: Slurp.Adapter.block_number()
Link to this type

call_params()

Specs

call_params() :: Slurp.Adapter.call_params()

Specs

endpoint() :: Slurp.Adapter.endpoint()
Link to this type

event_signature()

Specs

event_signature() :: Slurp.Adapter.event_signature()
Link to this type

hashed_event_signature()

Specs

hashed_event_signature() :: Slurp.Adapter.hashed_event_signature()

Specs

log() :: Slurp.Adapter.log()
Link to this type

log_filter()

Specs

log_filter() :: Slurp.Adapter.log_filter()
Link to this type

log_subscription()

Specs

log_subscription() :: Slurp.Logs.LogSubscription.t()

Specs

topic() :: Slurp.Adapter.topic()

Link to this section Functions

Link to this function

block_number(endpoint)

Specs

block_number(endpoint()) :: {:ok, block_number()} | {:error, term()}

Callback implementation for Slurp.Adapter.block_number/1.

Link to this function

call(address, abi_fragment, arguments, transaction, endpoint)

Specs

call(address(), abi_fragment(), list(), call_params(), endpoint()) ::
  {:ok, term()} | {:error, term()}

Callback implementation for Slurp.Adapter.call/5.

Link to this function

deserialize_log_event(log, log_subscription)

Specs

deserialize_log_event(log(), log_subscription()) ::
  {:ok, struct()} | {:error, term()}

Callback implementation for Slurp.Adapter.deserialize_log_event/2.

Link to this function

get_logs(filter, endpoint)

Specs

get_logs(log_filter(), endpoint()) :: {:ok, [log()]} | {:error, term()}

Callback implementation for Slurp.Adapter.get_logs/2.

Link to this function

hash_event_signature(event_signature)

Specs

hash_event_signature(event_signature()) :: binary()

Callback implementation for Slurp.Adapter.hash_event_signature/1.

Link to this function

log_hashed_event_signature(log)

Specs

log_hashed_event_signature(log()) ::
  {:ok, hashed_event_signature()} | {:error, :not_found}

Callback implementation for Slurp.Adapter.log_hashed_event_signature/1.

Link to this function

log_topics(log)

Callback implementation for Slurp.Adapter.log_topics/1.