Questions tagged [locked-balance]
The locked-balance tag has no usage guidance.
5
questions
1
vote
1
answer
37
views
How to get Locked Balance of a particular account with a particular LockIdentifier in a pallet?
In a pallet I have used set_lock() with a own LockIdentifier for that pallet. Now I need to check the locked balance of an account with that LockIdentifier and not the global locked amount. how to do ...
0
votes
1
answer
27
views
After using set_lock() should we manually subtract free_balance()?
In a custom pallet, I have been using set_lock() for a staking purpose. But once the lock is done I thought the free_balance() will reduce in the account's balance but it stays the same and only the ...
1
vote
1
answer
40
views
Assets pallet token and democracy pallet
Is it possible to use a custom_token created with the assets_pallet in the democracy_pallet instead of the native_token?
EXPLANATION
When voting during a referendum, I would like the balance parameter ...
2
votes
1
answer
142
views
Why is `reserve` restricted for locked balances?
I read the answer of Shawn about locked and reserved balances. What is the difference between Free Balance, Reserved Balance, Locked Balance, Vesting Balance, etc...?
He pointed out, that locked funds ...
11
votes
1
answer
299
views
What is the difference between Free Balance, Reserved Balance, Locked Balance, Vesting Balance, etc...?
In the Substrate blockchain development framework, the FRAME Balances pallet references 4 different kinds of balance:
Free Balance
Reserved Balance
Locked Balance
Vesting Balance
What are the ...