iotaledger / iotaledger/firefly

[Task]: Improve available mana for allotment

Open
#8,535 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
478
Forks
100
PR merge metrics
No merged PRs in 30d

Description

### Task description

The total mana that you can allot has to exclude the mana of all explicit accounts, except for the one you are sending to if its yours, if I have 50Mana in my wallet, but 49 come from the stored and potential of an account, that means I can only allot to someone else 1 Mana. The logic is
- If you allot to your own, you can allot all your available mana except for all the mana of other explicit accounts
- If you allot to someone else, you can allot all your available mana except for the mana of all accounts
Stored and potential mana of an account are soulbound to the account unless its used for allotments of its own, or go through a mana lock cooldown, which we dont support atm

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.