You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Claiming a receipt will return the value of tokens with respect to the balance of the holder. If I mint 100 receipts, keep 5 in my inventory, the calculation for returning assets will be based on the 5. For instance "claiming 1 token will return 20% of all assets".
Diagnosis
Calculated based on the amount and the supply left in the pool. This will likely need revisiting.
Issue
Claiming a receipt will return the value of tokens with respect to the balance of the holder. If I mint 100 receipts, keep 5 in my inventory, the calculation for returning assets will be based on the 5. For instance "claiming 1 token will return 20% of all assets".
Diagnosis
Calculated based on the amount and the supply left in the pool. This will likely need revisiting.
Something along these lines.
parseInt(this.holding.amount) / parseInt(this.pool.amount)) / 100 * this.percentage
Resolution
Solved for prototype release v0.0.3
The text was updated successfully, but these errors were encountered: