Skip to content

Commit

Permalink
Add credit transfer history records (#75)
Browse files Browse the repository at this point in the history
* wip

* Basic provenance logic

* Schema documentation

* Merge resolution

* Toucan Batch ABI

* Merge schema conflicts

* Update datasource start blocks to deployed block

* comments

* Disregard transfer and retirement events with zero value

* Exclude MCO2 from Provenance

* Record C3 retirement provenance

* Ignore retirement events with zero value

* Handle Toucan direct credit bridging from pool

* fix: Correct reversion in CarbonCredit schema

* Add overall Epoch entity for overall credit supply changes

* Bump graph-cli version and update deprecated yarn CI

* update yarn lock

* main package graph-cli bump

* Exclude MCO2 from SMA totals
  • Loading branch information
cujowolf authored Sep 20, 2023
1 parent 7d33f61 commit 42f3d67
Show file tree
Hide file tree
Showing 29 changed files with 2,698 additions and 2,964 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
node-version: '16'
- name: Install dependencies
run: yarn --frozen-lockfile
run: yarn --immutable
working-directory: '${{ matrix.value }}'

# Generate code and check for uncommitted changes
Expand Down
4 changes: 2 additions & 2 deletions bonds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"deploy": "graph deploy --product hosted-service klimadao/klimadao-bonds"
},
"devDependencies": {
"@graphprotocol/graph-cli": "0.45.0",
"@graphprotocol/graph-ts": "0.29.3",
"@graphprotocol/graph-cli": "0.56.0",
"@graphprotocol/graph-ts": "0.31.0",
"prettier": "2.7.1"
}
}
4 changes: 2 additions & 2 deletions celo-bridged-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"deploy-hosted": "graph deploy --product hosted-service $npm_config_path"
},
"devDependencies": {
"@graphprotocol/graph-cli": "0.45.0",
"@graphprotocol/graph-ts": "0.29.3",
"@graphprotocol/graph-cli": "0.56.0",
"@graphprotocol/graph-ts": "0.31.0",
"prettier": "2.7.1"
}
}
4 changes: 2 additions & 2 deletions ethereum-bridged-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"deploy-hosted": "graph deploy --product hosted-service $npm_config_path"
},
"devDependencies": {
"@graphprotocol/graph-cli": "0.45.0",
"@graphprotocol/graph-ts": "0.29.3",
"@graphprotocol/graph-cli": "0.56.0",
"@graphprotocol/graph-ts": "0.31.0",
"prettier": "2.7.1"
}
}
Loading

0 comments on commit 42f3d67

Please sign in to comment.