Skip to content

Commit

Permalink
Merge pull request #260 from luxfi/dev/newProd
Browse files Browse the repository at this point in the history
Dev/new prod
  • Loading branch information
venuswhispers authored Nov 29, 2024
2 parents 1aa0306 + f0beaf4 commit c4f068c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/bridge/src/components/SwapHistory/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ function TransactionsHistory() {
(n: CryptoNetwork) =>
n.internal_name === swap.source_network
)
console.log(sourceNetwork)
const destinationNetwork = networks.find(
(n: CryptoNetwork) =>
n.internal_name === swap.destination_network
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const DepositActionItem: React.FC<{
target="_blank"
className="cursor-pointer hover:underline hover:opacity-70"
>
{shortenAddress(value, 15)}
{shortenAddress(value, 10)}
</a>
<ClipboardCopier text={value} size={16} />
</div>
Expand Down Expand Up @@ -68,7 +68,7 @@ const DepositActionItem: React.FC<{
</div>
<div
className={cn(
'px-6 py-2 opacity-80 text-sm overflow-hidden',
'pl-6 py-2 opacity-80 text-sm overflow-hidden',
open ? '' : 'hidden'
)}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const BridgeProcessor: React.FC<IProps> = ({
</div>
}

<div className="flex flex-col px-2 gap-1">
<div className="flex flex-col pl-2 gap-1">
{depositActions.map((item: DepositAction) => (
<DepositActionItem
key={'deposit_action_' + item.id}
Expand Down
9 changes: 9 additions & 0 deletions app/server/src/settings/mainnet/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -1071,6 +1071,7 @@
{
"name": "CELO",
"asset": "CELO",
"logo": "https://cdn.lux.network/bridge/currencies/celo.svg",
"contract_address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"status": "inactive",
Expand Down Expand Up @@ -1393,6 +1394,7 @@
{
"name": "xDAI",
"asset": "xDAI",
"logo": "https://cdn.lux.network/bridge/currencies/xdai.png",
"contract_address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"status": "inactive",
Expand Down Expand Up @@ -1604,6 +1606,7 @@
{
"name": "FTM",
"asset": "FTM",
"logo": "https://cdn.lux.network/bridge/currencies/ftm.svg",
"contract_address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"status": "inactive",
Expand Down Expand Up @@ -2068,6 +2071,7 @@
{
"display_name": "Bitcoin",
"internal_name": "BITCOIN_MAINNET",
"logo": "https://cdn.lux.network/bridge/networks/bitcoin_mainnet.png",
"native_currency": "BTC",
"is_testnet": false,
"is_featured": true,
Expand All @@ -2081,6 +2085,7 @@
{
"name": "BTC",
"asset": "BTC",
"logo": "https://cdn.lux.network/bridge/currencies/btc.png",
"contract_address": null,
"decimals": 8,
"status": "active",
Expand All @@ -2102,6 +2107,7 @@
{
"display_name": "Cardano",
"internal_name": "CARDANO_MAINNET",
"logo": "https://cdn.lux.network/bridge/networks/cardano_mainnet.png",
"native_currency": "ADA",
"is_testnet": false,
"is_featured": true,
Expand All @@ -2115,6 +2121,7 @@
{
"name": "ADA",
"asset": "ADA",
"logo": "https://cdn.lux.network/bridge/currencies/ada.svg",
"contract_address": null,
"decimals": 8,
"status": "inactive",
Expand All @@ -2136,6 +2143,7 @@
{
"display_name": "Solana",
"internal_name": "SOLANA_MAINNET",
"logo": "https://cdn.lux.network/bridge/networks/solana_mainnet.png",
"native_currency": "SOL",
"is_testnet": false,
"is_featured": true,
Expand All @@ -2149,6 +2157,7 @@
{
"name": "SOL",
"asset": "SOL",
"logo": "https://cdn.lux.network/bridge/currencies/sol.png",
"contract_address": null,
"decimals": 9,
"status": "active",
Expand Down
1 change: 1 addition & 0 deletions app/server/src/settings/testnet/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@
{
"display_name": "Zoo Testnet",
"internal_name": "ZOO_TESTNET",
"logo": "https://cdn.lux.network/bridge/networks/zoo_mainnet.svg",
"native_currency": "ZOO",
"is_testnet": true,
"is_featured": true,
Expand Down

0 comments on commit c4f068c

Please sign in to comment.