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 blockchainsconfig: 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
- Chain
Configuration - Chain-specific configuration
- 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
Config - EVM-specific configuration
- 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
- Midnight
Base Transaction - Represents a Midnight transaction
- Midnight
Block - Wrapper around RpcBlock that implements additional functionality
- Midnight
Block Digest - Block digest containing logs
- Midnight
Block Header - Represents a Midnight block header
- Midnight
Call Details - Details of a contract call.
- Midnight
Claim Mint Details - Details of a mint claim operation.
- Midnight
Deployment Details - Details of a contract deployment.
- Midnight
Event - Wrapper around EventType that provides additional functionality.
- Midnight
Maintain Details - Details of a contract maintenance operation.
- Midnight
Match Arguments - Arguments matched from functions and events
- Midnight
Match Param Entry - Single decoded parameter from a function or event
- Midnight
Match Params Map - Collection of decoded parameters from matched conditions
- Midnight
Monitor Config - Midnight-specific configuration
- Midnight
Monitor Match - Result of a successful monitor match on an Midnight chain
- Midnight
Payout Details - Details of a payout operation.
- Midnight
RpcBlock - Represents a Midnight block
- Midnight
Topics - Contains a list of topics associated with an event.
- Midnight
Transaction - Wrapper around MidnightRpcTransaction that provides additional functionality
- Midnight
TxApplied Details - Details of a transaction that has been applied to the blockchain.
- 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 Event - Event definition within a Stellar contract specification
- Stellar
Contract Event Param - Event parameter specification for a Stellar contract event
- 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 Config - Stellar-specific configuration
- 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
- Midnight
Event Type - Enum representing different types of events that can occur in the Midnight blockchain.
- Midnight
Operation - Represents a Midnight transaction operations
- Midnight
Phase - Represents the phase of a blockchain event.
- Midnight
RpcTransaction Enum - Represents a Midnight RPC transaction Enum
- 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.
- Stellar
Event Param Location - Event parameter location (indexed or data)
- 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
Constants§
- SCRIPT_
LANGUAGE_ EXTENSIONS - Static mapping of script languages to their file extensions
Traits§
- Config
Loader - Common interface for loading configuration files