Skip to content

Commit

Permalink
Merge pull request #90 from drift-labs/add-referrer
Browse files Browse the repository at this point in the history
added referrer
  • Loading branch information
NourAlharithi authored Nov 14, 2023
2 parents 35fedd0 + b759d32 commit 91eb99d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bots/uncrossArbBot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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!],
Expand Down

0 comments on commit 91eb99d

Please sign in to comment.