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§
- Address
With Spec - Contract address with optional ABI for decoding transactions and events
- EVMBase
Receipt - Base Receipt struct Copied from web3 crate (now deprecated) and slightly modified for alloy compatibility
- EVMBase
Transaction - Base Transaction struct Copied from web3 crate (now deprecated) and slightly modified for alloy compatibility
- EVMBlock
- Wrapper around Base Block that implements additional functionality
- EVMContract
Spec - Contract specification for an EVM smart contract
- EVMMatch
Arguments - Arguments matched from functions and events
- EVMMatch
Param Entry - Single decoded parameter from a function or event
- EVMMatch
Params Map - Collection of decoded parameters from matched conditions
- EVMMonitor
Match - Result of a successful monitor match on an EVM chain
- EVMReceipt
Log - Base Log struct Copied from web3 crate (now deprecated) and slightly modified for alloy compatibility
- EVMTransaction
- Wrapper around Base Transaction that implements additional functionality
- EVMTransaction
Receipt - Wrapper around Base Receipt that implements additional functionality
- Event
Condition - Condition for matching contract events
- Function
Condition - Condition for matching contract function calls
- Match
Conditions - Collection of conditions that can trigger a monitor
- Monitor
- Configuration for monitoring specific blockchain activity.
- Network
- Configuration for connecting to and interacting with a blockchain network.
- Notification
Message - Notification message fields
- Processed
Block - Structure to hold block processing results
- RpcUrl
- RPC endpoint configuration with load balancing weight
- Secret
String - A string type that automatically zeroizes its contents when dropped.
- Stellar
Block - Wrapper around LedgerInfo that implements additional functionality
- Stellar
Contract Function - Function definition within a Stellar contract specification
- Stellar
Contract Input - Input parameter specification for a Stellar contract function
- Stellar
Contract Spec - Raw contract specification for a Stellar smart contract
- Stellar
Decoded Param Entry - Decoded parameter from a Stellar contract function or event
- Stellar
Decoded Transaction - Decoded transaction data including envelope, result, and metadata
- Stellar
Event - Represents a contract event emitted during transaction execution
- Stellar
Formatted Contract Spec - Human-readable contract specification for a Stellar smart contract
- Stellar
Ledger Info - Information about a Stellar ledger (block)
- Stellar
Match Arguments - Arguments matched from functions and events
- Stellar
Match Param Entry - Single decoded parameter from a function or event
- Stellar
Match Params Map - Collection of decoded parameters from matched conditions
- Stellar
Monitor Match - Result of a successful monitor match on a Stellar chain
- Stellar
Parsed Operation Result - Parsed result of a Stellar contract operation
- Stellar
Transaction - Wrapper around TransactionInfo that provides additional functionality
- Stellar
Transaction Info - Information about a Stellar transaction
- Transaction
Condition - Condition for matching transaction states
- Trigger
- Configuration for actions to take when monitored conditions are met.
- Trigger
Conditions - Conditions that should be met prior to triggering notifications
Enums§
- Block
Chain Type - Supported blockchain platform types
- Block
Type - Block data from different blockchain platforms
- Config
Error - Represents errors that can occur during configuration operations
- Contract
Spec - Contract spec from different blockchain platforms
- Monitor
Match - Monitor match results from different blockchain platforms
- Script
Language - The possible languages of the script
- Secret
Value - A type that represents a secret value that can be sourced from different places and ensures proper zeroization of sensitive data.
- Security
Error - Represents errors that can occur during security operations.
- Transaction
Status - Possible transaction execution states
- Transaction
Type - Transaction data from different blockchain platforms
- Trigger
Type - Supported trigger action types
- Trigger
Type Config - Type-specific configuration for triggers
Traits§
- Config
Loader - Common interface for loading configuration files