BalanceMonitor defines a condition-based alert that triggers a callback when a balance meets the specified criteria.
| 50 | |
| 51 | // BalanceMonitor defines a condition-based alert that triggers a callback when a balance meets the specified criteria. |
| 52 | type 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. |
| 62 | type LineageMapping struct { |
nothing calls this directly
no outgoing calls
no test coverage detected