district0x / district-registry

A community-curated registry of marketplaces on the district0x Network.
Eclipse Public License 1.0
11 stars 9 forks source link

Implement bonding curve when minting district tokens #4

Closed madvas closed 6 years ago

madvas commented 6 years ago

When user stakes DNT to obtain governance token, he doesn't necessarily gets it in 1:1 ratio, but he gets it according to a bonding curve defined for that district. Early stakers should be getting more governance token for the same amount of DNT staked.

District submitter defines type and parameters of bonding curve for that district. Not sure how many types are there, I imagine something like logarithmic, etc. etc. We should probably offer 1:1 ratio as an option as well.