hicommonwealth / commonwealth

A platform for decentralized communities
https://commonwealth.im
GNU General Public License v3.0
67 stars 44 forks source link

Add launchpad_liquidity and market cap goal to the Tokens model and update Command #9813

Open kurtisassad opened 5 hours ago

kurtisassad commented 5 hours ago

Describe the bug

We will move away from a hardcoded launchpadLiquidity into a dynamic one, which means we will need to store this and the market cap goal in the Tokens model. These will come from the LPBondingCurve TokenRegistered event which "should" (correct me if I am wrong here) be in the same transaction as the TokenLaunched event.

timolegros commented 5 hours ago

Yep and just for visibility, tagging @ianrowan who will add the launchpadLiquidity value to the TokenRegistered event and will create the getMarketGoal helper function.