Add injectable locked coins function into the bank module. #1619
Labels
bank
Bank Module
cosmos-sdk
Issues/PRs related to our fork of the Cosmos-SDK
enhancement
New feature or request
Milestone
Summary
Add a way to inject a "locked coins" function into the bank module as a way for other modules to indicate certain funds are locked.
Problem Definition
When we mark funds as being in escrow, it'd be nice if the bank module didn't still indicate that they are spendable.
Proposal
Similar to the
SendRestrictionFn
stuff, add a way to inject aLockedCoinsFn
that returns ansdk.Coins
indicating funds that are locked. Update theLockedCoins
keeper function to call the injected function and add them to whatever it's currently returning.For Admin Use
The text was updated successfully, but these errors were encountered: