Expand description
Domain models and data structures for blockchain monitoring.
This module contains all the core data structures used throughout the application:
blockchain
: Platform-specific implementations for different blockchains (EVM, Stellar)config
: Configuration loading and validationcore
: Core domain models (Monitor, Network, Trigger)security
: Security models (Secret)
Structs§
- Contract address with optional ABI for decoding transactions and events
- Base Receipt struct Copied from web3 crate (now deprecated) and slightly modified for alloy compatibility
- Base Transaction struct Copied from web3 crate (now deprecated) and slightly modified for alloy compatibility
- Wrapper around Base Block that implements additional functionality
- Contract specification for an EVM smart contract
- Arguments matched from functions and events
- Single decoded parameter from a function or event
- Collection of decoded parameters from matched conditions
- Result of a successful monitor match on an EVM chain
- Base Log struct Copied from web3 crate (now deprecated) and slightly modified for alloy compatibility
- Wrapper around Base Transaction that implements additional functionality
- Wrapper around Base Receipt that implements additional functionality
- Condition for matching contract events
- Condition for matching contract function calls
- Collection of conditions that can trigger a monitor
- Configuration for monitoring specific blockchain activity.
- Configuration for connecting to and interacting with a blockchain network.
- Notification message fields
- Structure to hold block processing results
- RPC endpoint configuration with load balancing weight
- A string type that automatically zeroizes its contents when dropped.
- Wrapper around LedgerInfo that implements additional functionality
- Function definition within a Stellar contract specification
- Input parameter specification for a Stellar contract function
- Raw contract specification for a Stellar smart contract
- Decoded parameter from a Stellar contract function or event
- Decoded transaction data including envelope, result, and metadata
- Represents a contract event emitted during transaction execution
- Human-readable contract specification for a Stellar smart contract
- Information about a Stellar ledger (block)
- Arguments matched from functions and events
- Single decoded parameter from a function or event
- Collection of decoded parameters from matched conditions
- Result of a successful monitor match on a Stellar chain
- Parsed result of a Stellar contract operation
- Wrapper around TransactionInfo that provides additional functionality
- Information about a Stellar transaction
- Condition for matching transaction states
- Configuration for actions to take when monitored conditions are met.
- Conditions that should be met prior to triggering notifications
Enums§
- Supported blockchain platform types
- Block data from different blockchain platforms
- Represents errors that can occur during configuration operations
- Contract spec from different blockchain platforms
- Monitor match results from different blockchain platforms
- The possible languages of the script
- A type that represents a secret value that can be sourced from different places and ensures proper zeroization of sensitive data.
- Represents errors that can occur during security operations.
- Possible transaction execution states
- Transaction data from different blockchain platforms
- Supported trigger action types
- Type-specific configuration for triggers
Traits§
- Common interface for loading configuration files