2022-07-03 02:00:05 +00:00
|
|
|
specVersion: 0.0.5
|
2022-07-03 00:53:42 +00:00
|
|
|
schema:
|
|
|
|
file: ./schema.graphql
|
|
|
|
dataSources:
|
|
|
|
- kind: ethereum
|
2022-07-03 02:00:05 +00:00
|
|
|
name: SwapAggregator
|
|
|
|
network: matic
|
2022-07-03 00:53:42 +00:00
|
|
|
source:
|
|
|
|
abi: ConnectV2SwapAggregator
|
2022-07-03 02:00:05 +00:00
|
|
|
address: "0x403e1559ef503C12CF2ec8E07dBC592Ff298EEc3"
|
|
|
|
startBlock: 29593000
|
2022-07-03 00:53:42 +00:00
|
|
|
mapping:
|
|
|
|
kind: ethereum/events
|
|
|
|
apiVersion: 0.0.5
|
|
|
|
language: wasm/assemblyscript
|
|
|
|
entities:
|
2022-07-03 02:00:05 +00:00
|
|
|
- SwapAggregatorData
|
2022-07-03 00:53:42 +00:00
|
|
|
abis:
|
|
|
|
- name: ConnectV2SwapAggregator
|
|
|
|
file: ./abis/ConnectV2SwapAggregator.json
|
2022-07-03 02:00:05 +00:00
|
|
|
callHandlers:
|
|
|
|
- function: swap(string[],bytes[])
|
|
|
|
handler: handleSwap
|
2022-07-03 00:53:42 +00:00
|
|
|
file: ./src/connect-v-2-swap-aggregator.ts
|