Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.

Commit 97450de

Browse files
committed
add to index
1 parent bfd91f3 commit 97450de

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/index.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ import {
6464
SubmitWithdrawRequest,
6565
getSubmitWithdrawRequestHash,
6666
getWithdrawalAddress,
67-
} from "./messages/v2.2/allocator";
67+
WithdrawalAddressParams,
68+
WithdrawalInitiationMessage,
69+
WithdrawalInitiatedMessage,
70+
} from "./messages/v2.2/withdrawal-execution";
6871

6972
export {
7073
// Order
@@ -126,8 +129,11 @@ export {
126129
encodeAction,
127130
decodeAction,
128131

129-
// Allocator
132+
// Onchain withdrawals
130133
SubmitWithdrawRequest,
131134
getSubmitWithdrawRequestHash,
132135
getWithdrawalAddress,
136+
WithdrawalAddressParams,
137+
WithdrawalInitiationMessage,
138+
WithdrawalInitiatedMessage,
133139
};

src/messages/v2.2/withdrawal-execution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export interface WithdrawalAddressParams {
5757
tokenId: bigint;
5858
recipientAddress: string;
5959
amount: bigint;
60+
withdrawalNonce?: number;
6061
}
6162

6263
/**
@@ -74,7 +75,6 @@ export interface WithdrawalAddressParams {
7475
export function getWithdrawalAddress(
7576
withdrawalParams: WithdrawalAddressParams & {
7677
blockNumber: bigint;
77-
withdrawalNonce?: number;
7878
}
7979
): string {
8080
// pack and hash data

0 commit comments

Comments
 (0)