MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / BalanceMonitor

Struct BalanceMonitor

model/balance.go:52–59  ·  view source on GitHub ↗

BalanceMonitor defines a condition-based alert that triggers a callback when a balance meets the specified criteria.

Source from the content-addressed store, hash-verified

50
51// BalanceMonitor defines a condition-based alert that triggers a callback when a balance meets the specified criteria.
52type BalanceMonitor struct {
53 MonitorID string `json:"monitor_id"`
54 BalanceID string `json:"balance_id"`
55 Description string `json:"description,omitempty"`
56 CallBackURL string `json:"-"`
57 CreatedAt time.Time `json:"created_at"`
58 Condition AlertCondition `json:"condition"`
59}
60
61// LineageMapping tracks the relationship between a balance, its fund provider, and associated shadow/aggregate balances.
62type LineageMapping struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected