Skip to content
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

Support withdraw authorizations on markers #406

Closed
4 tasks
iramiller opened this issue Jul 30, 2021 · 0 comments · Fixed by #832
Closed
4 tasks

Support withdraw authorizations on markers #406

iramiller opened this issue Jul 30, 2021 · 0 comments · Fixed by #832
Assignees
Labels
authz marker Marker Module
Milestone

Comments

@iramiller
Copy link
Member

iramiller commented Jul 30, 2021

Summary

Provide support in the marker module for delegation of withdraw from a marker with a specific total allocation.

Problem Definition

With the new authz module there are numerous applications for delegation and control within the marker module. In addition to the #265 support for transfer delegation the ability to delegate specific withdraw capability would also be useful. This authorization would allow an administrator with the withdraw permission to create an authorization grant for another account with a specific maximum amount that can be removed from escrow.

Proposal

  • Create an authz configuration that supports withdrawing specific coin balances from a marker "escrow" account.

One way this can be implemented via a custom endpoint on the marker module that allows a caller with withdraw access on a marker to submit a request that will generate a standard authz grant as if it were signed/submitted by the marker account address itself.

  • Include support for creating "feegrants" against the marker escrow balance such that other accounts can use the escrow to cover gas costs. Require the "admin" role to create this grants instead of the "withdraw" role given the indirect nature of the use of funds.

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@iramiller iramiller added marker Marker Module authz labels Jul 30, 2021
@iramiller iramiller added this to the backlog milestone Jul 30, 2021
@iramiller iramiller added this to Triage in Mainnet via automation Jul 30, 2021
@iramiller iramiller moved this from Triage to Backlog in Mainnet Aug 5, 2021
@iramiller iramiller modified the milestones: backlog, v1.7.0, v1.8.0 Sep 1, 2021
@iramiller iramiller moved this from Backlog to To Do in Mainnet Sep 13, 2021
@iramiller iramiller moved this from To Do to Backlog in Mainnet Dec 28, 2021
@iramiller iramiller modified the milestones: v1.8.0, backlog Dec 28, 2021
@iramiller iramiller removed this from Backlog in Mainnet Jan 20, 2022
@iramiller iramiller modified the milestones: backlog, v.1.9.0 Apr 14, 2022
@iramiller iramiller self-assigned this Apr 14, 2022
@iramiller iramiller modified the milestones: v.1.9.0, v1.10.0 Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
authz marker Marker Module
Projects
Development

Successfully merging a pull request may close this issue.

1 participant