Bertrand Rioux
Bertrand Rioux
Add to [dataLoader.ts](https://github.com/hyperledger-labs/blockchain-carbon-accounting/blob/main/data/src/dataLoader.ts) command to load data into product model added to postgres DB in [PR 580](https://github.com/hyperledger-labs/blockchain-carbon-accounting/pull/580). similar to [load_og_assets](https://github.com/hyperledger-labs/blockchain-carbon-accounting/blob/ea57504d24d87615fd60ecc5fe0d0f4d2bb5aef8/data/src/dataLoader.ts#L112) using [`importOilAndGasAssets`](https://github.com/hyperledger-labs/blockchain-carbon-accounting/blob/ea57504d24d87615fd60ecc5fe0d0f4d2bb5aef8/lib/data-common/spreadsheetImport.ts#L539). Command will use the ProductInterface from [lib/oil-and-gas-data/src/product.ts](https://github.com/hyperledger-labs/blockchain-carbon-accounting/pull/580/files) Additional...
There are inconsistencies between how emission_factor data is being loaded from spreadsheets to postgres and how emissions are calculated. The dataLoader script calls [`loadEmissionsFactors`](https://github.com/hyperledger-labs/blockchain-carbon-accounting/blob/c536016f66f090422210ed76755364ef8acd4e05/lib/data-common/spreadsheetImport.ts#L160) , to store values in the...
This is a proposal for adding a new tokenTypeId to NET. **tokeTypeId 4**: unrealized carbon emissions in traded fuels and feedstocks (e.g., oil, gas, coal, biomass). The purpose of this...
https://github.com/hyperledger-labs/blockchain-carbon-accounting/blob/1c5bc0aced65f24fd1befd133700c0c82a85d8d4/net-emissions-token-network/contracts/NetEmissionsTokenNetwork.sol#L593 We should move the require statements/modifiers in the transfer() function to the _beforeTokenTransfer() hook. This will ensure they are not skipped by users directly calling safeTransferFrom() or safeBatchTransferFrom(). Note:...