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

FEAT: (Climate Explorer) Send email for token events #45

Open
ccornick opened this issue Jun 20, 2023 · 2 comments
Open

FEAT: (Climate Explorer) Send email for token events #45

ccornick opened this issue Jun 20, 2023 · 2 comments

Comments

@ccornick
Copy link
Collaborator

ccornick commented Jun 20, 2023

Currently no web hooks exist. Need to add a web hook for tokenization actions (tokenize, retire, detokenize), along with with an action to send actions to particular emails.

Should probably set this as a configuration value that can be set to "[email protected]".

Email address is pulled from config and that is who gets the email.

@ccornick
Copy link
Collaborator Author

ccornick commented Jun 20, 2023

The details that should make it into the email are:

  • projectId
  • vintage
  • Quantity
  • Timestamp
    The email for TOKENIZATION should ideally be formatted and should state approximately:
    "[amount] amount of credits were tokenized from project [id] and vintage [year] at [timestamp]. Please make the corresponding change in your registry."

The email for RETIREMENT should ideally be formatted and should state approximately:
"[amount] amount of credits were retired from project [id] and vintage [year] at [timestamp]. Please make the corresponding change in your registry."

The email for DETOKENIZATION should ideally be formatted and should state approximately:
"[amount] amount of credits were detokenized from project [id] and vintage [year] at [timestamp]. Please make the corresponding change in your registry."

@fizpawiz
Copy link

fizpawiz commented Jul 7, 2023

Ideally, all of these emails will also include the total amount of that token issued, retired and detokenized to date. This will allow the recipient to verify that the registry reconciles with the tokenization engine.

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

2 participants