mirror of
https://github.com/Instadapp/Swap-Aggregator-Subgraph.git
synced 2024-07-29 21:57:12 +00:00
25 lines
654 B
YAML
25 lines
654 B
YAML
specVersion: 0.0.5
|
|
schema:
|
|
file: ./schema.graphql
|
|
dataSources:
|
|
- kind: ethereum
|
|
name: SwapAggregator
|
|
network: matic
|
|
source:
|
|
abi: ConnectV2SwapAggregator
|
|
address: "0x403e1559ef503C12CF2ec8E07dBC592Ff298EEc3"
|
|
startBlock: 29593000
|
|
mapping:
|
|
kind: ethereum/events
|
|
apiVersion: 0.0.5
|
|
language: wasm/assemblyscript
|
|
entities:
|
|
- SwapAggregatorData
|
|
abis:
|
|
- name: ConnectV2SwapAggregator
|
|
file: ./abis/ConnectV2SwapAggregator.json
|
|
callHandlers:
|
|
- function: swap(string[],bytes[])
|
|
handler: handleSwap
|
|
file: ./src/connect-v-2-swap-aggregator.ts
|