47f7a5f795
* Introduced concept of denom details No longer exposing plain 'DENOM' Denom registration + conversion Generating typescript type for DecCoin 'New' API on 'send' Further WIP work on transforming usages of MajorCurrencyAmount into DecCoin Further replacements of MajorCurrencyAmount into DecCoin Attempt at dec-coinifying get_all_mix_delegations Finished purge of MajorCurrencyAmount Display for Fee More unification for conversion methods Fixed up tests and made clippy happier Minor post-merge fixes Removed explicit Arc and RwLock from all tauri commands Fixed conversion to display coin More type-restrictive exported denom type Regenerated rust => ts types * post-rebase fixes * update frontend * fix lint errors * Adjusted Display implementation of DecCoin to include space between amount and denom * Adding separate base and display denoms for account * Fixed account constructor * Using CurrencyDenom for display_mix_denom * uppercase denom on frontend * Changed AutoFeeGrant constructor Co-authored-by: Jędrzej Stuczyński <jedrzej.stuczynski@gmail.com>
Nym vesting contract
- Initial vesting tokens are deposited and assigned to existing addresses via
CreatePeriodicVestingAccount - Admin account can then delegate vested and unvested tokens to mixnodes on behalf of vesting accounts
- Vesting accounts can withdraw vested and undelegated (spendable) coins to their addresses
Glossary
| Term | Definition |
|---|---|
| original vesting coins | vesting amount specified at account creation |
| vested coins | coins vested up to the current vesting period, current period excluded |
| vesting coins | original vesting amount minus vested coins, claimed rewards are not part of vesting coins |
| delegated free coins | delegated coins that have vested |
| delegated vesting coins | total delegation amount minus delegated free coins |
| pledged free coins | pledged coins that have vested |
| pledged vesting coins | total pledge amount minus pledged free coins |
| locked coins | vesting coins minus delegated vesting and pledged vesting coins |
| spendable coins | current vesting account balance minus locked coins |
