This repository was archived by the owner on Dec 23, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff 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
6972export {
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} ;
Original file line number Diff line number Diff 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 {
7475export function getWithdrawalAddress (
7576 withdrawalParams : WithdrawalAddressParams & {
7677 blockNumber : bigint ;
77- withdrawalNonce ?: number ;
7878 }
7979) : string {
8080 // pack and hash data
You can’t perform that action at this time.
0 commit comments