Description
Summary
Add an allow list, an optional list of addresses allowed to receive bank assets via the granted authz MsgSend.
Problem Definition
One feature I wish authz had, would be the ability to specify which wallet addresses a grantee is allowed to send funds to when they are sending on behalf of the grantor using the cosmos.bank.v1beta1.MsgSend
message command.
The auth SendAuthorization does allow the SpendLimit to be specified, but not to whom it can be spent.
I could see many use cases for adding this feature; the grantee could sign transactions that facilitate distributions of funds from a validator, or from a treasury wallet, to a list of specified recipient wallets, thus ensuring that funds flow only to authorized accounts.
Proposal
A store AllowList
would be needed along with SpendLimit
AllowList
would contain a list of addresses authorized to receive bank assets
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned