package
0.0.0-20250214075724-f3a4323aa330
Repository: https://github.com/nethermindeth/teeception.git
Documentation: pkg.go.dev
# Functions
NewAgentBalanceIndexer creates a new AgentBalanceIndexer.
NewAgentBalanceIndexerDatabaseInMemory creates a new in-memory AgentBalanceIndexerDatabase.
NewAgentIndexer instantiates an AgentIndexer.
NewAgentIndexerDatabaseInMemory creates a new in-memory AgentIndexerDatabase.
No description provided by the author
No description provided by the author
NewEventWatcher initializes a new EventWatcher.
NewTokenIndexer instantiates a TokenIndexer.
NewTokenIndexerDatabaseInMemory creates a new in-memory TokenIndexerDatabase.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
AgentBalanceIndexer responds to Transfer events for addresses known to be Agents, and updates their balances.
AgentBalanceIndexerConfig is the configuration for an AgentBalanceIndexer.
AgentBalanceIndexerDatabaseInMemory is an in-memory implementation of the AgentBalanceIndexerDatabase interface.
AgentBalanceIndexerInitialState is the initial state for an AgentBalanceIndexer.
AgentIndexer processes AgentRegistered events and tracks known agents.
AgentIndexerConfig is the configuration for an AgentIndexer.
AgentIndexerDatabaseInMemory is an in-memory implementation of the AgentIndexerDatabase interface.
AgentIndexerInitialState is the initial state for an AgentIndexer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AgentsByCreatorResult is the result of a GetAgentsByCreator call.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EventsListEntry holds a list of events and the number of subscribers watching them.
EventSubscriber is a write-only channel to receive parsed Events.
EventSubscriberConfig holds the necessary settings for constructing an EventSubscriber.
No description provided by the author
EventWatcher fetches events from Starknet in block ranges, parses them, and distributes them to subscribers (AgentRegistered, Transfer, PromptPaid, etc.).
EventWatcherConfig holds the necessary settings for constructing an EventWatcher.
EventWatcherInitialState holds the initial state of the EventWatcher.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TokenIndexer processes token events and tracks token prices.
TokenIndexerConfig is the configuration for a TokenIndexer.
TokenIndexerDatabaseInMemory is an in-memory implementation of the TokenIndexerDatabase interface.
TokenIndexerInitialState is the initial state for a TokenIndexer.
TokenPriceUpdate is a struct that contains the token price and its update block.
No description provided by the author
No description provided by the author
# Interfaces
AgentBalanceIndexerDatabase is the database for an AgentBalanceIndexer.
AgentBalanceIndexerDatabaseReader is the reader for an AgentBalanceIndexerDatabase.
AgentBalanceIndexerDatabaseWriter is the writer for an AgentBalanceIndexerDatabase.
No description provided by the author
AgentIndexerDatabase is the database for an AgentIndexer.
AgentIndexerDatabaseReader is the database reader for an AgentIndexer.
AgentIndexerDatabaseWriter is the database writer for an AgentIndexer.
No description provided by the author
No description provided by the author
No description provided by the author
TokenIndexerDatabase is the database for a TokenIndexer.
TokenIndexerDatabaseReader is the database reader for a TokenIndexer.
TokenIndexerDatabaseWriter is the database writer for a TokenIndexer.
# Type aliases
No description provided by the author
No description provided by the author