Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
97359d8
feat: use hardcoded chains (#1117)
GarageInc Aug 27, 2025
d5c290b
feat (HQI-1973): L2 bridge (#1119)
GarageInc Sep 30, 2025
ba76c30
feat: upd wagmi lib (#1121)
GarageInc Sep 30, 2025
2aac4af
feat: restore tx by hash (#1122)
GarageInc Oct 1, 2025
ef0fad4
feat: review fixes for L2 swap page (#1123)
GarageInc Oct 2, 2025
6d69c1e
fix: bridge (#1124)
GarageInc Oct 3, 2025
b18387f
feat: new testethic (#1125)
GarageInc Oct 6, 2025
9d1d106
feat/pre release fixes (#1126)
GarageInc Oct 7, 2025
1da4137
Fix/decrease rpc calls (#1127)
GarageInc Oct 7, 2025
c04a45f
fix: eth transfer fee calculation (#1128)
GarageInc Oct 7, 2025
93e86b0
fix: correct chain switch
GarageInc Oct 7, 2025
56533cb
fix: show header links for all chains (#1132)
GarageInc Oct 7, 2025
f203b72
fix: correct chain switch (#1133)
GarageInc Oct 7, 2025
6c0df8a
Merge branch 'prod' into dev
GarageInc Oct 7, 2025
926f012
feat: chain mismatch bridge (#1134)
GarageInc Oct 7, 2025
862e05c
feat: auto switch to mainnet on shell (#1135)
GarageInc Oct 8, 2025
c52d2be
fix: renamed RPC and chain (#1136)
GarageInc Oct 8, 2025
9b47baa
chore: renamed links in header
GarageInc Oct 8, 2025
686a5cc
chore: cleanup
GarageInc Oct 8, 2025
7e53847
fix: recreating order
GarageInc Oct 8, 2025
28a5cf4
Merge branch 'prod' into dev
GarageInc Oct 8, 2025
b7622ba
fix: from address explorer url for withdraw
GarageInc Oct 9, 2025
f12fc26
chore: check current chain on bridge before switching to default
GarageInc Oct 9, 2025
77e7d80
Merge branch 'prod' into dev
GarageInc Oct 9, 2025
0bde48d
feat: refactored faucet (#1139)
GarageInc Oct 22, 2025
569d127
feat: correct link to testethiq faucet on bridge page
GarageInc Oct 23, 2025
52a1ffe
Merge branch 'prod' into dev
GarageInc Oct 24, 2025
6eb9e7d
chore: cleanup trash command
GarageInc Oct 24, 2025
275e846
fix: claim info counter
GarageInc Oct 24, 2025
4c44822
feat: show chain selector for faucet
GarageInc Oct 24, 2025
baf9dda
Merge branch 'prod' into dev
GarageInc Oct 24, 2025
781de41
fix: balances view and notFound page
GarageInc Oct 27, 2025
afde549
Merge branch 'prod' into dev
GarageInc Oct 27, 2025
3506e53
chore: remove file .txt
GarageInc Oct 27, 2025
6afb069
chore: self review, removed unused vars
GarageInc Nov 28, 2025
4604fa4
fix: bridge addresses
GarageInc Nov 28, 2025
875be4e
Merge branch 'prod' into dev
GarageInc Nov 28, 2025
01429f8
chore: trigger build
GarageInc Nov 30, 2025
ee0f5ac
chore: remove self hosted ubuntu
GarageInc Nov 30, 2025
bc76d38
chore: use ubuntu-latest
GarageInc Nov 30, 2025
2b63dd6
feat: contracts API
GarageInc Dec 8, 2025
09d89cf
fix: correct bridge addresses
GarageInc Dec 8, 2025
8e2c902
Merge branch 'prod' into dev
GarageInc Dec 8, 2025
2235b15
Merge branch 'prod' into dev
GarageInc Dec 9, 2025
278b568
fix: bridge state amount input
GarageInc Dec 9, 2025
276aa34
chore: typo approve msg
GarageInc Dec 10, 2025
8cd519f
feat: left only en locale
GarageInc Dec 10, 2025
fff7632
fix: bridge status msg
GarageInc Dec 10, 2025
5e0e7e4
feat: proves for withdrawals
GarageInc Dec 11, 2025
fa910a5
fix: locale direction
GarageInc Dec 11, 2025
b40e3a6
fix: proves state
GarageInc Dec 11, 2025
844b3f4
fix: bridge block
GarageInc Dec 12, 2025
fb3e402
Merge branch 'prod' into dev
GarageInc Dec 12, 2025
9b5e426
feat: enable precompiles
GarageInc Dec 12, 2025
35f9bf8
Merge branch 'prod' into dev
GarageInc Dec 15, 2025
4608a68
chore: update viem package to version 2.43.1 and refactor wallet clie…
GarageInc Dec 18, 2025
45ce0b2
Merge branch 'prod' into dev
GarageInc Dec 18, 2025
0b6fe50
feat: evmos beta proposals issue
GarageInc Dec 19, 2025
135ac3c
chore: self review
GarageInc Dec 19, 2025
055dbff
Merge branch 'prod' into dev
GarageInc Dec 19, 2025
c6b9e13
fix: revert evmos version
GarageInc Dec 19, 2025
0daae5a
fix: types
GarageInc Dec 19, 2025
f6e2d15
fix: switch to any from evmos type
GarageInc Dec 19, 2025
24ac907
fix: update proposal ID handling to use 'any' type for better compati…
GarageInc Dec 19, 2025
17403e2
fix: tally results display
GarageInc Dec 19, 2025
64a7473
fix: update tally response type to TallyResults for improved type safety
GarageInc Dec 19, 2025
ca99969
chore: self review
GarageInc Dec 19, 2025
2e57dc8
Merge branch 'prod' into dev
GarageInc Dec 19, 2025
9d4a67f
fix: eth label in bridge selector
GarageInc Dec 19, 2025
70ef5dc
feat: add order delete btn
GarageInc Dec 19, 2025
7141a94
fix: proposals
GarageInc Dec 20, 2025
35e9f44
Merge branch 'prod' into dev
GarageInc Dec 20, 2025
a0f4182
feat: add supported ETHIQ swaps
GarageInc Dec 22, 2025
b2c131d
feat: add mainnet support and USDC token to bridge utilities
GarageInc Dec 22, 2025
242b261
refactor: improve withdrawal hooks and modal input precision
GarageInc Dec 22, 2025
16058dc
refactor: update withdrawal hook to use readonly client and improve a…
GarageInc Dec 22, 2025
465b6f7
feat: filter orders by author
GarageInc Dec 22, 2025
7cdea9c
feat: show address on bridge page
GarageInc Dec 22, 2025
3ead272
fix: usage blockscout api for eth
GarageInc Dec 23, 2025
6ad9c73
fix: inputs
GarageInc Dec 23, 2025
d99404e
fix: improve precision handling in modal input for numeric values
GarageInc Dec 23, 2025
4a50dac
fix: url state changes
GarageInc Dec 23, 2025
a276bd1
refactor: enhance AccountButton and Web3ConnectButtons to support wit…
GarageInc Dec 23, 2025
bf9b0d4
feat: add native token balance fetching for supported chains in token…
GarageInc Dec 24, 2025
6d85c09
refactor: recover link
GarageInc Dec 24, 2025
696bbd7
Merge branch 'prod' into dev
GarageInc Dec 24, 2025
192f1f9
fix: correct precision handling in modal input to retain full decimal…
GarageInc Dec 24, 2025
d93e688
refactor: simplify token balance fetching by removing native token ba…
GarageInc Dec 25, 2025
b23675f
feat: fetch txs from explorer
GarageInc Dec 26, 2025
0bd7170
feat: implement pagination for fetching all withdrawal orders from ex…
GarageInc Dec 26, 2025
6c172b2
fix: testethiq withdrawals
GarageInc Dec 27, 2025
96a61d0
chore: savecommit
GarageInc Dec 30, 2025
a0d2060
Revert "chore: savecommit"
GarageInc Dec 30, 2025
be84445
feat: enhance L2 to L1 withdrawal hook with contract writing capabili…
GarageInc Dec 30, 2025
e76826e
fix: correct testethiq bridge addresses
GarageInc Dec 30, 2025
527a08f
chore: fix address for proxy
GarageInc Dec 30, 2025
074861b
feat: add script for bridging ETH from CSV and export transaction list
GarageInc Dec 30, 2025
b300814
chore: whitelist
GarageInc Jan 5, 2026
0fbabd3
refactor: disconnect btn and waitlist form enhancements
GarageInc Jan 5, 2026
832f4d7
feat: implement waitlist endpoints data fetching
GarageInc Jan 6, 2026
ce88810
refactor: ienhance data fetching for waitlist
GarageInc Jan 6, 2026
4405fb9
refactor: improve layout and validation logic in waitlist page
GarageInc Jan 6, 2026
295bd00
fix: build error
GarageInc Jan 6, 2026
7878f2b
fix: build error
GarageInc Jan 6, 2026
c2f4abc
feat: enhancements for inputs
GarageInc Jan 7, 2026
d6fc14c
feat: add skeleton for form and list
GarageInc Jan 7, 2026
25444b1
feat: reserve fees when setting max amount in waitlist page
GarageInc Jan 7, 2026
62066f8
refactor: update waitlist page to refetch balances and applications a…
GarageInc Jan 7, 2026
84b0a99
refactor: optimize refetching logic in waitlist
GarageInc Jan 7, 2026
7d9ee62
refactor: enhance formatting and validation logic in waitlist components
GarageInc Jan 8, 2026
3ac1d54
chore: merge prod into dev
GarageInc Jan 8, 2026
902c8c2
chore: fix build
GarageInc Jan 8, 2026
e7f19d7
refactor: improve input handling
GarageInc Jan 8, 2026
d9a1a16
feat: adjust max amount calculation to reserve fees in waitlist form
GarageInc Jan 8, 2026
2fbfd9c
feat: add warning for negative available balance in waitlist page
GarageInc Jan 8, 2026
269a7c6
refactor: remove auto-switch logic for ucDAO balance in waitlist page
GarageInc Jan 9, 2026
a071d82
feat: add L2 to L1 support in bridge components and update success me…
GarageInc Jan 10, 2026
3c5ce9d
refactor: optimize cancellation handling and refetching logic in wait…
GarageInc Jan 10, 2026
efc9f81
feat: implement user-friendly error message sanitization in waitlist …
GarageInc Jan 10, 2026
2124f1d
chore: fix refetch applications
GarageInc Jan 12, 2026
a29385e
chore: prod waitlist addresses
GarageInc Jan 12, 2026
810989a
Merge branch 'prod' into dev
GarageInc Jan 23, 2026
ed9c455
fix: tests
GarageInc Jan 23, 2026
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
1 change: 1 addition & 0 deletions libs/bridge/src/lib/bridge-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ export function BridgePage() {
isApproving || needsDeployment || isCheckingRemoteToken
}
onApprove={handleApprove}
isL2ToL1={isL2ToL1}
/>
)}

Expand Down
8 changes: 7 additions & 1 deletion libs/bridge/src/lib/components/bridge-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ export interface BridgeFormProps {
isApproving?: boolean;
disabledApproveBtn?: boolean;
onApprove?: () => void;
// Bridge direction
isL2ToL1: boolean;
}

export function BridgeForm({
Expand All @@ -62,6 +64,7 @@ export function BridgeForm({
isApproving = false,
disabledApproveBtn = false,
onApprove,
isL2ToL1,
}: BridgeFormProps) {
return (
<div className="space-y-[20px]">
Expand Down Expand Up @@ -129,7 +132,10 @@ export function BridgeForm({
</div>

{isTxSuccess && (
<BridgeSuccessMessage tokenSymbol={selectedToken?.symbol || 'ETH'} />
<BridgeSuccessMessage
tokenSymbol={selectedToken?.symbol || 'ETH'}
isL2ToL1={isL2ToL1}
/>
)}
</div>
);
Expand Down
14 changes: 12 additions & 2 deletions libs/bridge/src/lib/components/bridge-success-message.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
'use client';

export function BridgeSuccessMessage({ tokenSymbol }: { tokenSymbol: string }) {
export interface BridgeSuccessMessageProps {
tokenSymbol: string;
isL2ToL1?: boolean;
}

export function BridgeSuccessMessage({
tokenSymbol,
isL2ToL1 = false,
}: BridgeSuccessMessageProps) {
const confirmationMessage = isL2ToL1 ? 'min 7 days' : '1-3 minutes';

return (
<div className="rounded-[8px] bg-[#E8F5E8] p-[16px]">
<div className="text-[14px] font-[500] text-[#2E7D32]">
Bridge Successful!
</div>
<div className="mt-[4px] text-[12px] text-[#2E7D32]">
Your {tokenSymbol} has been successfully bridged. The transaction should
be confirmed within 1-3 minutes.
be confirmed within {confirmationMessage}.
</div>
</div>
);
Expand Down
199 changes: 187 additions & 12 deletions libs/burn-waitlist/src/lib/abi/waitlist.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ABI for Waitlist contract - Updated from deployments/54211/abi.json
// ABI for Waitlist contract - Updated from deployments/11235/abi.json (HAQQ Mainnet)
export const WaitlistAbi = [
{
inputs: [
Expand Down Expand Up @@ -88,11 +88,6 @@ export const WaitlistAbi = [
name: 'InvalidInitialOwner',
type: 'error',
},
{
inputs: [],
name: 'InvalidState',
type: 'error',
},
{
inputs: [],
name: 'OnlyAuthorCanCancel',
Expand Down Expand Up @@ -154,6 +149,25 @@ export const WaitlistAbi = [
name: 'BackendSignerChanged',
type: 'event',
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: 'address',
name: 'previousOwner',
type: 'address',
},
{
indexed: true,
internalType: 'address',
name: 'newOwner',
type: 'address',
},
],
name: 'OwnershipTransferStarted',
type: 'event',
},
{
anonymous: false,
inputs: [
Expand Down Expand Up @@ -227,7 +241,7 @@ export const WaitlistAbi = [
type: 'uint256',
},
{
indexed: false,
indexed: true,
internalType: 'enum Waitlist.FundsSource',
name: 'source',
type: 'uint8',
Expand Down Expand Up @@ -311,6 +325,13 @@ export const WaitlistAbi = [
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'acceptOwnership',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'backendSigner',
Expand Down Expand Up @@ -450,11 +471,6 @@ export const WaitlistAbi = [
name: 'cancelled',
type: 'bool',
},
{
internalType: 'bytes',
name: 'backendSignature',
type: 'bytes',
},
],
internalType: 'struct Waitlist.Request',
name: '',
Expand Down Expand Up @@ -581,13 +597,103 @@ export const WaitlistAbi = [
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'pendingOwner',
outputs: [
{
internalType: 'address',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'renounceOwnership',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
name: 'requestExists',
outputs: [
{
internalType: 'bool',
name: '',
type: 'bool',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
name: 'requestIdToIndex',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
name: 'requests',
outputs: [
{
internalType: 'uint256',
name: 'requestId',
type: 'uint256',
},
{
internalType: 'uint256',
name: 'amount',
type: 'uint256',
},
{
internalType: 'address',
name: 'author',
type: 'address',
},
{
internalType: 'enum Waitlist.FundsSource',
name: 'source',
type: 'uint8',
},
{
internalType: 'bool',
name: 'cancelled',
type: 'bool',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
Expand All @@ -601,6 +707,32 @@ export const WaitlistAbi = [
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [],
name: 'totalActiveAmount',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'totalActiveCount',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
Expand All @@ -621,6 +753,49 @@ export const WaitlistAbi = [
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '',
type: 'address',
},
],
name: 'userNonces',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '',
type: 'address',
},
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
name: 'userRequests',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'version',
Expand Down
Loading
Loading