Skip to content

Commit

Permalink
added referrer
Browse files Browse the repository at this point in the history
  • Loading branch information
NourAlharithi committed Nov 13, 2023
1 parent 35fedd0 commit b759d32
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 b759d32

Please sign in to comment.