Skip to content

Commit

Permalink
fix(TxHandler): fix forget of default type interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ghivert committed Aug 8, 2023
1 parent f6567ec commit b7ccd89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/txHandler/Bulker.TxHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,20 @@ type FullfillableSignature<Fullfilled extends boolean = boolean> =
? { deadline: BigNumber; signature: Signature }
: undefined;

interface BaseBulkerSignature<Fullfilled extends boolean> {
interface BaseBulkerSignature<Fullfilled extends boolean = boolean> {
signature: FullfillableSignature<Fullfilled>;
transactionIndex: number;
nonce: BigNumber;
}
export interface BulkerTransferSignature<Fullfilled extends boolean>
export interface BulkerTransferSignature<Fullfilled extends boolean = boolean>
extends BaseBulkerSignature<Fullfilled> {
type: BulkerSignatureType.transfer;
underlyingAddress: Address;
amount: BigNumber;
to: Address;
}

export interface BulkerApprovalSignature<Fullfilled extends boolean>
export interface BulkerApprovalSignature<Fullfilled extends boolean = boolean>
extends BaseBulkerSignature<Fullfilled> {
type: BulkerSignatureType.managerApproval;
manager: Address;
Expand Down

0 comments on commit b7ccd89

Please sign in to comment.