-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add polygon token initialization events for aave v2 (#189)
- Loading branch information
Showing
3 changed files
with
305 additions
and
0 deletions.
There are no files selected for viewing
109 changes: 109 additions & 0 deletions
109
airflow/dags/resources/stages/parse/table_definitions/aave/ATokenV2_event_Initialized.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,109 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "underlyingAsset", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "pool", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "treasury", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "incentivesController", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint8", | ||
"name": "aTokenDecimals", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "aTokenName", | ||
"type": "string" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "aTokenSymbol", | ||
"type": "string" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "bytes", | ||
"name": "params", | ||
"type": "bytes" | ||
} | ||
], | ||
"name": "Initialized", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT aToken FROM ref('LendingPoolConfigurator_v2_event_ReserveInitialized')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "aave", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "underlyingAsset", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "pool", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "treasury", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "incentivesController", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "aTokenDecimals", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "aTokenName", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "aTokenSymbol", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "params", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "ATokenV2_event_Initialized" | ||
} | ||
} |
98 changes: 98 additions & 0 deletions
98
...gs/resources/stages/parse/table_definitions/aave/StableDebtTokenV2_event_Initialized.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,98 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "underlyingAsset", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "pool", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "incentivesController", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint8", | ||
"name": "debtTokenDecimals", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "debtTokenName", | ||
"type": "string" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "debtTokenSymbol", | ||
"type": "string" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "bytes", | ||
"name": "params", | ||
"type": "bytes" | ||
} | ||
], | ||
"name": "Initialized", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT stableDebtToken FROM ref('LendingPoolConfigurator_v2_event_ReserveInitialized')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "aave", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "underlyingAsset", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "pool", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "incentivesController", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "debtTokenDecimals", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "debtTokenName", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "debtTokenSymbol", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "params", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "StableDebtTokenV2_event_Initialized" | ||
} | ||
} |
98 changes: 98 additions & 0 deletions
98
.../resources/stages/parse/table_definitions/aave/VariableDebtTokenV2_event_Initialized.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,98 @@ | ||
{ | ||
"parser": { | ||
"abi": { | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "underlyingAsset", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "pool", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "address", | ||
"name": "incentivesController", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint8", | ||
"name": "debtTokenDecimals", | ||
"type": "uint8" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "debtTokenName", | ||
"type": "string" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "string", | ||
"name": "debtTokenSymbol", | ||
"type": "string" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "bytes", | ||
"name": "params", | ||
"type": "bytes" | ||
} | ||
], | ||
"name": "Initialized", | ||
"type": "event" | ||
}, | ||
"contract_address": "SELECT variableDebtToken FROM ref('LendingPoolConfigurator_v2_event_ReserveInitialized')", | ||
"field_mapping": {}, | ||
"type": "log" | ||
}, | ||
"table": { | ||
"dataset_name": "aave", | ||
"schema": [ | ||
{ | ||
"description": "", | ||
"name": "underlyingAsset", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "pool", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "incentivesController", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "debtTokenDecimals", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "debtTokenName", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "debtTokenSymbol", | ||
"type": "STRING" | ||
}, | ||
{ | ||
"description": "", | ||
"name": "params", | ||
"type": "STRING" | ||
} | ||
], | ||
"table_description": "", | ||
"table_name": "VariableDebtTokenV2_event_Initialized" | ||
} | ||
} |