@@ -38,6 +38,7 @@ In the Mento protocol, circuit breakers are safety mechanisms that can temporari
38382 . ** Value Delta Breaker** : Monitors the absolute value of price changes
3939
4040The breakers can be in three states:
41+
4142- ** Active** : Monitoring and allowing trades
4243- ** Tripped** : Triggered and preventing trades
4344- ** Disabled** : Not monitoring the rate feed
@@ -46,22 +47,23 @@ The breakers can be in three states:
4647
4748The script produces a table with the following columns:
4849
49- | Column | Description |
50- | --------| -------------|
51- | Rate Feed ID | The unique identifier for the rate feed |
52- | Exchange ID | The associated exchange identifier |
53- | Asset 0 | The first asset in the trading pair |
54- | Asset 1 | The second asset in the trading pair |
55- | Status | Current state of the circuit breaker (active/tripped/disabled) |
56- | Trading Mode | Current trading mode (0=active, 1=tripped, 2=disabled) |
57- | Median Thresh | Threshold for median price changes |
58- | Median Smooth | Smoothing factor for median calculations |
59- | Median EMA | Current Exponential Moving Average |
60- | Value Thresh | Threshold for absolute value changes |
61- | Value Ref | Reference value for value breaker |
62- | Cooldown | Cooldown period in seconds |
50+ | Column | Description |
51+ | ------------- | -------------------------------------------------------------- |
52+ | Rate Feed ID | The unique identifier for the rate feed |
53+ | Exchange ID | The associated exchange identifier |
54+ | Asset 0 | The first asset in the trading pair |
55+ | Asset 1 | The second asset in the trading pair |
56+ | Status | Current state of the circuit breaker (active/tripped/disabled) |
57+ | Trading Mode | Current trading mode (0=active, 1=tripped, 2=disabled) |
58+ | Median Thresh | Threshold for median price changes |
59+ | Median Smooth | Smoothing factor for median calculations |
60+ | Median EMA | Current Exponential Moving Average |
61+ | Value Thresh | Threshold for absolute value changes |
62+ | Value Ref | Reference value for value breaker |
63+ | Cooldown | Cooldown period in seconds |
6364
6465The tool uses color-coded status indicators:
66+
6567- Green: Active
6668- Red: Tripped
6769- Yellow: Disabled
@@ -93,4 +95,4 @@ The script uses the following key components:
93952 . ** IBreakerBox Contract** - Interacts with the breaker box to get breaker states for each rate feed
94963 . ** MedianDeltaBreaker & ValueDeltaBreaker** - Fetches specific breaker parameters for each rate feed
95974 . ** Token Symbol Resolution** - Resolves token addresses to their human-readable symbols
96- 5 . ** Table Formatting** - Creates a clean, readable table output with proper column alignment
98+ 5 . ** Table Formatting** - Creates a clean, readable table output with proper column alignment
0 commit comments