Slurp.Adapters.Evm (slurp v0.0.10)
Link to this section Summary
Functions
Callback implementation for Slurp.Adapter.block_number/1
.
Callback implementation for Slurp.Adapter.call/5
.
Callback implementation for Slurp.Adapter.deserialize_log_event/2
.
Callback implementation for Slurp.Adapter.get_logs/2
.
Callback implementation for Slurp.Adapter.hash_event_signature/1
.
Callback implementation for Slurp.Adapter.log_hashed_event_signature/1
.
Callback implementation for Slurp.Adapter.log_topics/1
.
Link to this section Types
abi_fragment()
Specs
abi_fragment() :: term()
address()
Specs
address() :: Slurp.Adapter.address()
block_number()
Specs
block_number() :: Slurp.Adapter.block_number()
call_params()
Specs
call_params() :: Slurp.Adapter.call_params()
endpoint()
Specs
endpoint() :: Slurp.Adapter.endpoint()
event_signature()
Specs
event_signature() :: Slurp.Adapter.event_signature()
hashed_event_signature()
Specs
hashed_event_signature() :: Slurp.Adapter.hashed_event_signature()
log()
Specs
log() :: Slurp.Adapter.log()
log_filter()
Specs
log_filter() :: Slurp.Adapter.log_filter()
log_subscription()
Specs
log_subscription() :: Slurp.Logs.LogSubscription.t()
topic()
Specs
topic() :: Slurp.Adapter.topic()
Link to this section Functions
block_number(endpoint)
Specs
block_number(endpoint()) :: {:ok, block_number()} | {:error, term()}
Callback implementation for Slurp.Adapter.block_number/1
.
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
.
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
.
get_logs(filter, endpoint)
Specs
get_logs(log_filter(), endpoint()) :: {:ok, [log()]} | {:error, term()}
Callback implementation for Slurp.Adapter.get_logs/2
.
hash_event_signature(event_signature)
Specs
hash_event_signature(event_signature()) :: binary()
Callback implementation for Slurp.Adapter.hash_event_signature/1
.
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
.
log_topics(log)
Callback implementation for Slurp.Adapter.log_topics/1
.