diff --git a/polygon-digital-carbon/src/templates/ICRCarbonContractRegistry.ts b/polygon-digital-carbon/src/templates/ICRCarbonContractRegistry.ts index e8e965fc..8409b081 100644 --- a/polygon-digital-carbon/src/templates/ICRCarbonContractRegistry.ts +++ b/polygon-digital-carbon/src/templates/ICRCarbonContractRegistry.ts @@ -18,6 +18,7 @@ export function handleNewICC(event: ProjectCreated): void { for (let i = 0; i < ICR_PROJECT_INFO.length; i++) { if (event.params.projectAddress.toHexString().toLowerCase() == ICR_PROJECT_INFO[i][0]) { project.id = ICR_PROJECT_INFO[i][1] + project.projectID = ICR_PROJECT_INFO[i][1] project.name = ICR_PROJECT_INFO[i][2] project.methodologies = ICR_PROJECT_INFO[i][3] project.category = ICR_PROJECT_INFO[i][4]