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

Reshape get_ton_equivalent and Absorber_project_carbon #56

Open
julienbrs opened this issue May 30, 2024 · 0 comments
Open

Reshape get_ton_equivalent and Absorber_project_carbon #56

julienbrs opened this issue May 30, 2024 · 0 comments
Assignees

Comments

@julienbrs
Copy link
Collaborator

Description

In Cpv3, get_ton_equivalent and Absorber_project_carbon (formerly called project_value in Cpv2) have different usages compared to their previous versions.

  • Should we keep these functions as they are or adapt them?

Additional context

get_ton_equivalent:

  • This function might be utilized for better interoperability across various types of projects, not limited to carbon credits.
  • It converts different units to ton equivalent, which could enhance the system's versatility.

Absorber_project_carbon:

  • Currently, it represents the total absorption of the project in grams.
  • It is a storage variable that should be updated during a rebase.
  • It might be more effective as a view getter, calculated from the sum supply of vintages.
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