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: connext #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
466 changes: 466 additions & 0 deletions abis/ConnextABI.json

Large diffs are not rendered by default.

788 changes: 788 additions & 0 deletions build/Connext/abis/ConnextABI.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion build/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,5 @@ type DelegatingHistory @entity {
fromDelegate: String
toDelegate: String
delegator: String!
amount: BigInt!
timestamp: BigInt!
}
25 changes: 24 additions & 1 deletion build/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dataSources:
startBlock: 34284528
mapping:
kind: ethereum/events
apiVersion: 0.0.6
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Delegate
Expand All @@ -27,3 +27,26 @@ dataSources:
- event: Transfer(indexed address,indexed address,uint256)
handler: transfer
file: DimoToken/DimoToken.wasm
- kind: ethereum
name: Connext
network: matic
source:
abi: Connext
address: "0x58b9cB810A68a7f3e1E4f8Cb45D1B9B3c79705E8"
startBlock: 47110158
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- DelegateChanged
- DelegateVotesChanged
abis:
- name: Connext
file: Connext/abis/ConnextABI.json
eventHandlers:
- event: DelegateChanged(indexed address,indexed address,indexed address)
handler: handleDelegateChanged
- event: DelegateVotesChanged(indexed address,uint256,uint256)
handler: handleDelegateVotesChanged
file: Connext/Connext.wasm
Loading