-
-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding ArrakisV2 Mint and Burn (#796)
* adding arrakis mint and burn events to blockchain-etl so we can improve performance tracking. * assign proper name to dataset
- Loading branch information
1 parent
f2d41fa
commit a7f29e2
Showing
2 changed files
with
130 additions
and
0 deletions.
There are no files selected for viewing
65 changes: 65 additions & 0 deletions
65
dags/resources/stages/parse/table_definitions/arrakis/ArrakisV2_event_LogBurn.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "receiver", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "burnAmount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "amount0Out", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "amount1Out", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "LogBurn", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT vault FROM ref('ArrakisV2_event_VaultCreated')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "arrakis", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "receiver", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "burnAmount", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "amount0Out", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "amount1Out", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "ArrakisV2_event_LogBurn" | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
dags/resources/stages/parse/table_definitions/arrakis/ArrakisV2_event_LogMint.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "receiver", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "mintAmount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "amount0In", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "amount1In", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "LogMint", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT vault FROM ref('ArrakisV2_event_VaultCreated')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "arrakis", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "receiver", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "mintAmount", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "amount0In", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "amount1In", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "ArrakisV2_event_LogMint" | ||
} | ||
} |