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

Include minting events in archive? #6

Open
jorgenbuilder opened this issue Aug 7, 2021 · 0 comments
Open

Include minting events in archive? #6

jorgenbuilder opened this issue Aug 7, 2021 · 0 comments

Comments

@jorgenbuilder
Copy link

Perhaps I'm missing something, but I don't see a way to keep track of minting events in the standard right now. Transactions are there, but not minting events. Update the @ext/archive Transaction type to include minting events?

type Transaction = {
    txid : TransactionId;
    data: { #TransferRequest; #MintingEvent; };  // Renamed request -> data
    date : Date;  // Sidenote: I think "timestamp" might be a better name
};

type MintingEvent = {
    minter : User;
    to : User;
    token : TokenIdentifier;
    amount : Balance;
    memo : Memo;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant