-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Balance Transfer - Any Proxy - adding a limit / threshold #7564
Comments
We can think here about having a limit of a proxy for the amounts of funds that it can transfer. The limit should have:
For example: Alice authorized proxy Bob to be able to transfer up to 1000 DOT over the next week. |
This is not really important here, because this logic needs to be implemented downstream in the real runtime. I see the following two ways to implement this:
|
@bkchr Let me give it a shot, assign me please. |
One thing I forgot to mention, the extra |
In AHM we could add one new proxy type that delegates the logic to a smart contract, which can implement all sorts of proxy types. This won't play well with the proxy replication methods though. |
Yeah, but this would also only work on AHM and is basically ETH account abstractions. |
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Motivation
The ability to transfer funds is associated to the Any Proxy.
However there is no limit outside of the available balance to transfer all funds.
This prevents to delegate with granularity / guardrails
And in case of security events it exposes all funds
Request
Modifying / Complementing current pallet in order to have a proxy which permit to define a max amount up to transfer can be done.
This limit will be allowed for a specific period of time which can be set (like for the delayed proxy)
Solution
No response
Are you willing to help with this request?
Yes!
The text was updated successfully, but these errors were encountered: