Coin escrow without transferring out of account #1607
Labels
bank
Bank Module
cosmos-sdk
Issues/PRs related to our fork of the Cosmos-SDK
enhancement
New feature or request
Milestone
Summary
Provide a way for a signer to lock or hold coin in their account, while still granting another
account access to funds when conditions meet for exchange of coins, without having to transfer
coins to a smart contract or other "escrow" address.
Problem Definition
For more complex bilateral settlement of coins between two (or more accounts)
to occur when some condition has been met, coin must be first transferred to some escrow
account, usually a smart contract address, to guarantee availability and prevent possibility
of double spend or account holder changing their minds via removal of grant authz.
This can be considered suboptimal for the following reasons:
Proposal
Allow a signer to move a coin balance to a "held" bucket to lock/escrow funds in their account and designate
another address the ability to move those funds how they see fit.
The type of lock should be configurable:
Ideally, you would also be able to query for all held authorizations on an account that are still active.
You would also ideally be able to query for:
For Admin Use
The text was updated successfully, but these errors were encountered: