From b759d32517ffce0a0f33a58c0b2ad29351f48cc2 Mon Sep 17 00:00:00 2001 From: Nour Alharithi Date: Mon, 13 Nov 2023 13:40:47 -0800 Subject: [PATCH] added referrer --- src/bots/uncrossArbBot.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bots/uncrossArbBot.ts b/src/bots/uncrossArbBot.ts index 956e09a7..6578af6d 100644 --- a/src/bots/uncrossArbBot.ts +++ b/src/bots/uncrossArbBot.ts @@ -225,6 +225,9 @@ export class UncrossArbBot implements Bot { await this.jitProxyClient.getArbPerpIx({ marketIndex: perpIdx, makerInfos: [bidMakerInfo, askMakerInfo], + referrerInfo: this.driftClient + .getUserStats() + .getReferrerInfo(), }), ], [this.lookupTableAccount!],