Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aelmanaa committed Jan 13, 2025
1 parent b089889 commit 3cd3d37
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions src/components/CCIP/Drawer/LaneDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
LaneFilter,
Version,
displayCapacity,
tokenPoolDisplay,
determineTokenMechanism,
} from "~/config/data/ccip"

import { useState } from "react"
Expand Down Expand Up @@ -76,7 +76,21 @@ function LaneDrawer({
<th>Ticker</th>
<th>Token address (Source)</th>
<th>Decimals</th>
<th>Mechanism</th>
<th>
Mechanism
<Tooltip
label=""
tip="Token pool mechanism: Lock & Mint, Burn & Mint, Lock & Unlock, Burn & Unlock."
labelStyle={{
marginRight: "5px",
}}
style={{
display: "inline-block",
verticalAlign: "middle",
marginBottom: "2px",
}}
/>
</th>
<th>
Rate limit capacity
<Tooltip
Expand Down Expand Up @@ -147,8 +161,18 @@ function LaneDrawer({
/>
</td>
<td>{data[sourceNetwork.key].decimals}</td>
<td>
{inOutbound === LaneFilter.Outbound
? determineTokenMechanism(
data[sourceNetwork.key].poolType,
data[destinationNetwork.key].poolType
)
: determineTokenMechanism(
data[destinationNetwork.key].poolType,
data[sourceNetwork.key].poolType
)}
</td>

<td>{tokenPoolDisplay(data[sourceNetwork.key].poolType)}</td>
<td>
{lane.supportedTokens &&
displayCapacity(
Expand Down

0 comments on commit 3cd3d37

Please sign in to comment.