Skip to content

Commit ffa0c32

Browse files
committed
update lane table header
1 parent cb9300f commit ffa0c32

File tree

1 file changed

+85
-27
lines changed

1 file changed

+85
-27
lines changed

src/components/CCIP/Drawer/LaneDrawer.tsx

Lines changed: 85 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function LaneDrawer({
7373
<thead>
7474
<tr>
7575
<th style={{ width: "100px" }}>Ticker</th>
76-
<th style={{ width: "150px" }}>Token address (Source)</th>
76+
<th style={{ width: "150px" }}>Source token address</th>
7777
<th style={{ width: "80px" }}>Decimals</th>
7878
<th style={{ width: "100px" }}>
7979
Mechanism
@@ -91,34 +91,84 @@ function LaneDrawer({
9191
/>
9292
</th>
9393
<th style={{ width: "150px" }}>
94-
Rate limit capacity
95-
<Tooltip
96-
label=""
97-
tip="Maximum amount per transaction"
98-
labelStyle={{
99-
marginRight: "5px",
100-
}}
101-
style={{
102-
display: "inline-block",
103-
verticalAlign: "middle",
104-
marginBottom: "2px",
105-
}}
106-
/>
94+
<div>
95+
Rate limit capacity
96+
<Tooltip
97+
label=""
98+
tip="Maximum amount per transaction"
99+
labelStyle={{
100+
marginRight: "5px",
101+
}}
102+
style={{
103+
display: "inline-block",
104+
verticalAlign: "middle",
105+
marginBottom: "2px",
106+
}}
107+
/>
108+
</div>
109+
<div style={{ color: "var(--muted-more-foreground)", fontSize: "0.875rem", fontWeight: "normal" }}>
110+
(Tokens)
111+
</div>
107112
</th>
108113
<th style={{ width: "180px" }}>
109-
Rate limit refill rate
110-
<Tooltip
111-
label=""
112-
tip="Rate at which available capacity is replenished"
113-
labelStyle={{
114-
marginRight: "5px",
115-
}}
116-
style={{
117-
display: "inline-block",
118-
verticalAlign: "middle",
119-
marginBottom: "2px",
120-
}}
121-
/>
114+
<div>
115+
Rate limit refill rate
116+
<Tooltip
117+
label=""
118+
tip="Rate at which available capacity is replenished"
119+
labelStyle={{
120+
marginRight: "5px",
121+
}}
122+
style={{
123+
display: "inline-block",
124+
verticalAlign: "middle",
125+
marginBottom: "2px",
126+
}}
127+
/>
128+
</div>
129+
<div style={{ color: "var(--muted-more-foreground)", fontSize: "0.875rem", fontWeight: "normal" }}>
130+
(Tokens/sec)
131+
</div>
132+
</th>
133+
<th style={{ width: "150px" }}>
134+
<div>
135+
FTF Rate limit capacity
136+
<Tooltip
137+
label=""
138+
tip="Maximum amount per transaction for Fast Token Finality"
139+
labelStyle={{
140+
marginRight: "5px",
141+
}}
142+
style={{
143+
display: "inline-block",
144+
verticalAlign: "middle",
145+
marginBottom: "2px",
146+
}}
147+
/>
148+
</div>
149+
<div style={{ color: "var(--muted-more-foreground)", fontSize: "0.875rem", fontWeight: "normal" }}>
150+
(Tokens)
151+
</div>
152+
</th>
153+
<th style={{ width: "180px" }}>
154+
<div>
155+
FTF Rate limit refill rate
156+
<Tooltip
157+
label=""
158+
tip="Rate at which available capacity is replenished for Fast Token Finality"
159+
labelStyle={{
160+
marginRight: "5px",
161+
}}
162+
style={{
163+
display: "inline-block",
164+
verticalAlign: "middle",
165+
marginBottom: "2px",
166+
}}
167+
/>
168+
</div>
169+
<div style={{ color: "var(--muted-more-foreground)", fontSize: "0.875rem", fontWeight: "normal" }}>
170+
(Tokens/sec)
171+
</div>
122172
</th>
123173
</tr>
124174
</thead>
@@ -209,6 +259,14 @@ function LaneDrawer({
209259
/>
210260
)}
211261
</td>
262+
<td>
263+
{/* Placeholder for FTF Rate limit capacity - data not yet available */}
264+
-
265+
</td>
266+
<td>
267+
{/* Placeholder for FTF Rate limit refill rate - data not yet available */}
268+
-
269+
</td>
212270
</tr>
213271
)
214272
})}

0 commit comments

Comments
 (0)