1Hive / time-lock-app

The Time Lock app enables Aragon organizations to require users transfer or temporarily lock tokens before forwarding an intent.
GNU General Public License v3.0
16 stars 11 forks source link

Update frontend to show griefing values #38

Closed fabriziovigevani closed 5 years ago

fabriziovigevani commented 5 years ago
fabriziovigevani commented 5 years ago

If we want to show the amount and duration of tokens that are going to be locked from radspec we need to change radspec so it can check the number of output values a function has so we can then parsed them. Currently radspec only supports functions with one output value.

See https://github.com/aragon/radspec/blob/d49ddba1edea208afd2763f5590cf4b018803ed3/src/evaluator/index.js#L228

I can give it a try and make a PR for this.