Commit Graph

8 Commits

Author SHA1 Message Date
mantikoros
a0be5b6394 calculateMoneyRatio 2022-01-15 00:11:27 -06:00
mantikoros
3805adff58 calculateMoneyRatio: use share value amount 2022-01-14 11:35:32 -06:00
mantikoros
6d536c4e16 change fee structure (paid only on winnings); calculateMoneyRatio 2022-01-14 11:11:01 -06:00
mantikoros
3cffccdd3f calculateMoneyRatio 2022-01-13 20:52:03 -06:00
mantikoros
bc454e89ba calculateMoneyRatio 2022-01-12 23:43: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
b97a65cf2c refactor data structures, calculations to common directory 2022-01-10 15:07:57 -06:00