Skip to content

Commit

Permalink
Adding ArrakisV2 Mint and Burn (#796)
Browse files Browse the repository at this point in the history
* adding arrakis mint and burn events to blockchain-etl so we can improve performance tracking.

* assign proper name to dataset
  • Loading branch information
walter-cavinaw authored Oct 18, 2024
1 parent f2d41fa commit a7f29e2
Show file tree
Hide file tree
Showing 2 changed files with 130 additions and 0 deletions.
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"
}
}
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"
}
}

0 comments on commit a7f29e2

Please sign in to comment.