Skip to content

Commit

Permalink
Note
Browse files Browse the repository at this point in the history
  • Loading branch information
IanPhilips committed Sep 14, 2024
1 parent e7f21d1 commit 3d12e55
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions common/src/contract-metric.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export type ContractMetric = {
// These we can calculate during the bet
// These we can calculate during the bet:
id: number
userId: string
contractId: string
Expand All @@ -11,7 +11,7 @@ export type ContractMetric = {
invested: number
loan: number
maxSharesOutcome: string | null

payout: number
totalShares: {
[outcome: string]: number
}
Expand All @@ -33,7 +33,6 @@ export type ContractMetric = {
}
}
| undefined
payout: number
profit: number
profitPercent: number
userUsername?: string
Expand Down

0 comments on commit 3d12e55

Please sign in to comment.