Skip to content
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
8 changes: 8 additions & 0 deletions lib/api/puffer-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { NucleusBoringVaultHandler } from '../contracts/handlers/nucleus-boring-
import { NucleusTellerHandler } from '../contracts/handlers/nucleus-teller-handler';
import { NucleusAccountantHandler } from '../contracts/handlers/nucleus-accountant-handler';
import { NucleusAtomicQueueHandler } from '../contracts/handlers/nucleus-atomic-queue-handler';
import { MtwCarrotHandler } from '../contracts/handlers/mtw-carrot-handler';

/**
* The core class and the main entry point of the Puffer SDK.
Expand Down Expand Up @@ -51,6 +52,8 @@ export class PufferClient {
public nucleusAccountant: NucleusAccountantHandler;
/** Handler for the `NucleusAtomicQueue` contract. */
public nucleusAtomicQueue: NucleusAtomicQueueHandler;
/** Handler for the `mtwCARROT` (Merkl Token Wrapper) contract. */
public mtwCarrot: MtwCarrotHandler;

/**
* Create the Puffer Client.
Expand Down Expand Up @@ -142,6 +145,11 @@ export class PufferClient {
this.walletClient,
this.publicClient,
);
this.mtwCarrot = new MtwCarrotHandler(
chain,
this.walletClient,
this.publicClient,
);
}

/**
Expand Down
Loading