Commit Graph

7 Commits

Author SHA1 Message Date
James Grugett
f161661e7e Remove Contract and Bet type params. Use string type for outcomes. 2022-02-16 23:05:45 -06:00
James Grugett
58afde2772 Convert rest of calcuate file to generic multi contracts 2022-02-14 17:03:59 -06:00
James Grugett
b9248499c9 Answer bet panel 2022-02-14 14:14:02 -06:00
James Grugett
893016a7c3 Create answer 2022-02-12 19:25:07 -06:00
mantikoros
9d5490cf9a
Switch to new dpm mechanism (#26)
* initial commit

* antes

* rename path, compute to contractPath, contractMetrics

* merge

* Include antes as bets; more calculations

* fees on estimated winnings

* mkt payout calculation

* contract: remove startPool, add phantomShares

* Merge branch 'main' into new-dpm

* dpm migration script

* my service account
2022-01-12 13:01:04 -06:00
mantikoros
9a834526c0 formatting 2022-01-10 17:52:03 -06:00
mantikoros
a1aeabeab4 move market logic to common 2022-01-10 16:49:13 -06:00