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

Mint with Withdraw #1841

Open
4 tasks
iramiller opened this issue Feb 12, 2024 · 1 comment
Open
4 tasks

Mint with Withdraw #1841

iramiller opened this issue Feb 12, 2024 · 1 comment
Labels
marker Marker Module nice-to-have Features not required in upcoming milestone
Milestone

Comments

@iramiller
Copy link
Member

Summary

A significant number of transactions are submitted which mint then distribute the resulting tokens. In the interest of streamlining the workload on the system it should be possible to add a recipient address to a mint request

Problem Definition

Streamlining and improving the efficiency of the blockchain is all about identifying areas where things can be done more efficiently. There are a number of transactions can be consolidated if the mint and withdraw steps were combined

Proposal

Add an optional recipient address to the mint message/end point. The caller must possess both the mint and withdraw permissions if using the target address, otherwise the existing behavior of mint and hold in the marker should be used.

NOTE: verify that a withdraw operation is not bypassing the transfer restrictions for moving funds between two accounts. A withdraw operation is equivalent to a bank send where the signer holding the withdraw permission effectively is granted the send permission from the marker's escrow account.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@iramiller iramiller added nice-to-have Features not required in upcoming milestone marker Marker Module labels Feb 12, 2024
@iramiller iramiller added this to the v1.19.0 milestone Feb 12, 2024
@SpicyLemon SpicyLemon modified the milestones: v1.19.0, v1.20.0 Jul 15, 2024
@SpicyLemon
Copy link
Contributor

SpicyLemon commented Aug 7, 2024

Figure brought up that sometimes, it'd be helpful to have the newly minted funds committed to a market in this process.

It might also be worthwhile to create an endpoint in the marker module that allows funds in a marker's escrow to be committed to a market. That way, if the funds are already minted (and in escrow), there's a way to have them committed before sending them somewhere. They'd have to be sent with a market commitment settlement, though.

@iramiller iramiller modified the milestones: v1.20.0, v1.21.0 Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
marker Marker Module nice-to-have Features not required in upcoming milestone
Projects
Development

No branches or pull requests

2 participants