Skip to content

Reserve holder may do refund immediately by issuing and redeeming a note #7

Description

@kushti

It is possible for a reserve holder to refund immediately by issuing a note and redeeming it.

After considering multiple options, I think the best one would be to introduce note counter token stored in reserve box, and mint action in reserve contract which is instantiating a note with note counter tokens. Approximate creation height to be written into a note box as well. This root note creation height is then passed through spending chains. Redemption is possible after refund period passed (since note creation).

And then we can relax note spending conditions, by not checking spendings history related conditions, thus allowing for offchain progression there.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions