Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add apxETH #342

Merged
merged 2 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@headlessui/react": "^2.2.0",
"@hyperlane-xyz/registry": "6.1.0",
"@hyperlane-xyz/registry": "6.2.0",
"@hyperlane-xyz/sdk": "7.1.0",
"@hyperlane-xyz/utils": "7.1.0",
"@hyperlane-xyz/widgets": "7.1.0",
Expand Down
3 changes: 3 additions & 0 deletions src/consts/warpRouteWhitelist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ export const warpRouteWhitelist: Array<string> | null = [
// tETH routes
'tETH/eclipsemainnet-ethereum',

// apxETH routes
'apxETH/eclipsemainnet-ethereum',

// ECLIP routes
'ECLIP/arbitrum-neutron',

Expand Down
2 changes: 1 addition & 1 deletion src/features/transfer/TransferTokenForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function RecipientSection({ isReview }: { isReview: boolean }) {
}

function TokenBalance({ label, balance }: { label: string; balance?: TokenAmount | null }) {
const value = balance?.getDecimalFormattedAmount().toFixed(4) || '0';
const value = balance?.getDecimalFormattedAmount().toFixed(5) || '0';
tkporter marked this conversation as resolved.
Show resolved Hide resolved
return <div className="text-right text-xs text-gray-600">{`${label}: ${value}`}</div>;
}

Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3899,13 +3899,13 @@ __metadata:
languageName: node
linkType: hard

"@hyperlane-xyz/registry@npm:6.1.0":
version: 6.1.0
resolution: "@hyperlane-xyz/registry@npm:6.1.0"
"@hyperlane-xyz/registry@npm:6.2.0":
version: 6.2.0
resolution: "@hyperlane-xyz/registry@npm:6.2.0"
dependencies:
yaml: "npm:2.4.5"
zod: "npm:^3.21.2"
checksum: 10/a0e1ecc02d83604793ddda0a3e00a9ffcaa38b1cddf9883b47cf8f1919b4474abd6cc2ee84846e6a35e1bc7539299b9bec92bfdf06be72beecff6aa44b73d382
checksum: 10/4fb270af56e75589e01dead30de2a42a7f3bc15ba15436300b9b58e7e5fe059a4ec3b4e95b2fe1dd105d4512ba007c6bd61908487a27740956d747d3fd5f4e59
languageName: node
linkType: hard

Expand Down Expand Up @@ -3971,7 +3971,7 @@ __metadata:
"@emotion/react": "npm:^11.13.3"
"@emotion/styled": "npm:^11.13.0"
"@headlessui/react": "npm:^2.2.0"
"@hyperlane-xyz/registry": "npm:6.1.0"
"@hyperlane-xyz/registry": "npm:6.2.0"
"@hyperlane-xyz/sdk": "npm:7.1.0"
"@hyperlane-xyz/utils": "npm:7.1.0"
"@hyperlane-xyz/widgets": "npm:7.1.0"
Expand Down