Questions tagged [locked-balance]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
Immanuel John's user avatar
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 ...
Immanuel John's user avatar
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 ...
Kazunobu Ndong's user avatar
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 ...
Chralt's user avatar
  • 503
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 ...
Shawn Tabrizi's user avatar
  • 15.8k