Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.78 KB

TIP-92.md

File metadata and controls

32 lines (19 loc) · 1.78 KB
id Title Status Author Description Discussions to Created
TIP-92 Updates on Sports Markets Draft @scvija @grujawork @kirilaa Update the cap per sport and canceled markets cooldown https://discord.gg/thales 2022-10-03

Simple Summary

An update that adds a cap per sport and canceled markets cooldown timeout.

Motivation

During the almost 3 months that Overtime markets have been operational, we concluded that some sports would benefit from having a different cap per market from others. For example, it makes more sense for the NFL to have higher risks per market than College Football.

The second update is the cooldown of canceled markets. In case of a market being canceled, we want to have a cooldown period for this cancelation, allowing pDAO to check if this cancelation is valid and actually took place.

Specification

  • capPerSport - the property that will hold the mapping of the cap per sport.
  • setCapPerSport - setting the value of the capPerSport variable.
  • cancelTimeout - the time after the market was canceled, during which the user can't claim back their investment.
  • setCancelTimeout - setting the value of cancelTimeout.

The defaultCapPerGame is 5k, as it is currently.
If the capPerSport is set, the default value is overwritten. The value of capPerSport can be dynamically set by pDAO, as seen fit.

The value of cancelTimeout is set to 2 hours originally. In case of a wrongful cancelation, during the cooldown period, whitelisted addresses can set a correct result, so the users that have a winning position can actually claim their winnings.

Copyright

Copyright and related rights waived via CC0.