From 5a4d29be1d29621df87a6860dc1b9c34d2048b0b Mon Sep 17 00:00:00 2001 From: Rebecca Stevens Date: Mon, 31 Oct 2022 22:07:48 +0000 Subject: [PATCH 1/4] Add Aave V2 Lending Pool table defs --- .../Aave_Lending_Pool_V2_event_Borrow.json | 98 +++++++++++++++++++ .../Aave_Lending_Pool_V2_event_Deposit.json | 76 ++++++++++++++ .../Aave_Lending_Pool_V2_event_FlashLoan.json | 87 ++++++++++++++++ ...Lending_Pool_V2_event_LiquidationCall.json | 98 +++++++++++++++++++ .../Aave_Lending_Pool_V2_event_Paused.json | 19 ++++ ...ol_V2_event_RebalanceStableBorrowRate.json | 43 ++++++++ .../Aave_Lending_Pool_V2_event_Repay.json | 65 ++++++++++++ ...ding_Pool_V2_event_ReserveDataUpdated.json | 87 ++++++++++++++++ ...event_ReserveUsedAsCollateralDisabled.json | 43 ++++++++ ..._event_ReserveUsedAsCollateralEnabled.json | 43 ++++++++ .../aave/Aave_Lending_Pool_V2_event_Swap.json | 54 ++++++++++ .../Aave_Lending_Pool_V2_event_Unpaused.json | 19 ++++ .../Aave_Lending_Pool_V2_event_Withdraw.json | 65 ++++++++++++ 13 files changed, 797 insertions(+) create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Borrow.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Deposit.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_FlashLoan.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_LiquidationCall.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Paused.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_RebalanceStableBorrowRate.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Repay.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveDataUpdated.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralDisabled.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralEnabled.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Swap.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Unpaused.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Withdraw.json diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Borrow.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Borrow.json new file mode 100644 index 00000000..32b5e0fc --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Borrow.json @@ -0,0 +1,98 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x8dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "onBehalfOf", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "borrowRateMode", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "borrowRate", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "uint16", + "name": "referral", + "type": "uint16" + } + ], + "name": "Borrow", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V2", + "table_name": "Aave_Lending_Pool_V2_event_Borrow", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + }, + { + "name": "onBehalfOf", + "description": "", + "type": "STRING" + }, + { + "name": "amount", + "description": "", + "type": "STRING" + }, + { + "name": "borrowRateMode", + "description": "", + "type": "STRING" + }, + { + "name": "borrowRate", + "description": "", + "type": "STRING" + }, + { + "name": "referral", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Deposit.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Deposit.json new file mode 100644 index 00000000..5d1e77f5 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Deposit.json @@ -0,0 +1,76 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x8dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "onBehalfOf", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "uint16", + "name": "referral", + "type": "uint16" + } + ], + "name": "Deposit", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V2", + "table_name": "Aave_Lending_Pool_V2_event_Deposit", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + }, + { + "name": "onBehalfOf", + "description": "", + "type": "STRING" + }, + { + "name": "amount", + "description": "", + "type": "STRING" + }, + { + "name": "referral", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_FlashLoan.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_FlashLoan.json new file mode 100644 index 00000000..ed4557fe --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_FlashLoan.json @@ -0,0 +1,87 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x8dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "target", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "initiator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "premium", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint16", + "name": "referralCode", + "type": "uint16" + } + ], + "name": "FlashLoan", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V2", + "table_name": "Aave_Lending_Pool_V2_event_FlashLoan", + "table_description": "", + "schema": [ + { + "name": "target", + "description": "", + "type": "STRING" + }, + { + "name": "initiator", + "description": "", + "type": "STRING" + }, + { + "name": "asset", + "description": "", + "type": "STRING" + }, + { + "name": "amount", + "description": "", + "type": "STRING" + }, + { + "name": "premium", + "description": "", + "type": "STRING" + }, + { + "name": "referralCode", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_LiquidationCall.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_LiquidationCall.json new file mode 100644 index 00000000..58e79e35 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_LiquidationCall.json @@ -0,0 +1,98 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x8dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "collateralAsset", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "debtAsset", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "debtToCover", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "liquidatedCollateralAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "liquidator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "receiveAToken", + "type": "bool" + } + ], + "name": "LiquidationCall", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V2", + "table_name": "Aave_Lending_Pool_V2_event_LiquidationCall", + "table_description": "", + "schema": [ + { + "name": "collateralAsset", + "description": "", + "type": "STRING" + }, + { + "name": "debtAsset", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + }, + { + "name": "debtToCover", + "description": "", + "type": "STRING" + }, + { + "name": "liquidatedCollateralAmount", + "description": "", + "type": "STRING" + }, + { + "name": "liquidator", + "description": "", + "type": "STRING" + }, + { + "name": "receiveAToken", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Paused.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Paused.json new file mode 100644 index 00000000..c53e4e9d --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Paused.json @@ -0,0 +1,19 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x8dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf", + "abi": { + "anonymous": false, + "inputs": [], + "name": "Paused", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V2", + "table_name": "Aave_Lending_Pool_V2_event_Paused", + "table_description": "", + "schema": [] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_RebalanceStableBorrowRate.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_RebalanceStableBorrowRate.json new file mode 100644 index 00000000..5deb5e25 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_RebalanceStableBorrowRate.json @@ -0,0 +1,43 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x8dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "RebalanceStableBorrowRate", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V2", + "table_name": "Aave_Lending_Pool_V2_event_RebalanceStableBorrowRate", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Repay.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Repay.json new file mode 100644 index 00000000..73031c58 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Repay.json @@ -0,0 +1,65 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x8dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "repayer", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Repay", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V2", + "table_name": "Aave_Lending_Pool_V2_event_Repay", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + }, + { + "name": "repayer", + "description": "", + "type": "STRING" + }, + { + "name": "amount", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveDataUpdated.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveDataUpdated.json new file mode 100644 index 00000000..21e64235 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveDataUpdated.json @@ -0,0 +1,87 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x8dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "liquidityRate", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "stableBorrowRate", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "variableBorrowRate", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "liquidityIndex", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "variableBorrowIndex", + "type": "uint256" + } + ], + "name": "ReserveDataUpdated", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V2", + "table_name": "Aave_Lending_Pool_V2_event_ReserveDataUpdated", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "liquidityRate", + "description": "", + "type": "STRING" + }, + { + "name": "stableBorrowRate", + "description": "", + "type": "STRING" + }, + { + "name": "variableBorrowRate", + "description": "", + "type": "STRING" + }, + { + "name": "liquidityIndex", + "description": "", + "type": "STRING" + }, + { + "name": "variableBorrowIndex", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralDisabled.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralDisabled.json new file mode 100644 index 00000000..5e1e1fb7 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralDisabled.json @@ -0,0 +1,43 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x8dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "ReserveUsedAsCollateralDisabled", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V2", + "table_name": "Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralDisabled", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralEnabled.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralEnabled.json new file mode 100644 index 00000000..f7d78aaf --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralEnabled.json @@ -0,0 +1,43 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x8dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "ReserveUsedAsCollateralEnabled", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V2", + "table_name": "Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralEnabled", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Swap.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Swap.json new file mode 100644 index 00000000..2f22bc76 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Swap.json @@ -0,0 +1,54 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x8dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "rateMode", + "type": "uint256" + } + ], + "name": "Swap", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V2", + "table_name": "Aave_Lending_Pool_V2_event_Swap", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + }, + { + "name": "rateMode", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Unpaused.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Unpaused.json new file mode 100644 index 00000000..e3e80eeb --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Unpaused.json @@ -0,0 +1,19 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x8dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf", + "abi": { + "anonymous": false, + "inputs": [], + "name": "Unpaused", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V2", + "table_name": "Aave_Lending_Pool_V2_event_Unpaused", + "table_description": "", + "schema": [] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Withdraw.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Withdraw.json new file mode 100644 index 00000000..b97cea9e --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Withdraw.json @@ -0,0 +1,65 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x8dff5e27ea6b7ac08ebfdf9eb090f32ee9a30fcf", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Withdraw", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V2", + "table_name": "Aave_Lending_Pool_V2_event_Withdraw", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + }, + { + "name": "to", + "description": "", + "type": "STRING" + }, + { + "name": "amount", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file From 730726bb17d7d51ae1103a3884dbe3bc3d54177b Mon Sep 17 00:00:00 2001 From: Rebecca Stevens Date: Tue, 1 Nov 2022 18:08:17 +0000 Subject: [PATCH 2/4] add aave v3 lending pool table defs --- .../aave/Aave_V3_Pool_event_BackUnbacked.json | 65 ++++++++++++ .../aave/Aave_V3_Pool_event_Borrow.json | 98 +++++++++++++++++++ .../aave/Aave_V3_Pool_event_FlashLoan.json | 98 +++++++++++++++++++ ...l_event_IsolationModeTotalDebtUpdated.json | 43 ++++++++ .../Aave_V3_Pool_event_LiquidationCall.json | 98 +++++++++++++++++++ .../aave/Aave_V3_Pool_event_MintUnbacked.json | 76 ++++++++++++++ .../Aave_V3_Pool_event_MintedToTreasury.json | 43 ++++++++ ..._Pool_event_RebalanceStableBorrowRate.json | 43 ++++++++ .../aave/Aave_V3_Pool_event_Repay.json | 76 ++++++++++++++ ...Aave_V3_Pool_event_ReserveDataUpdated.json | 87 ++++++++++++++++ ...event_ReserveUsedAsCollateralDisabled.json | 43 ++++++++ ..._event_ReserveUsedAsCollateralEnabled.json | 43 ++++++++ .../aave/Aave_V3_Pool_event_Supply.json | 76 ++++++++++++++ ...Aave_V3_Pool_event_SwapBorrowRateMode.json | 54 ++++++++++ .../aave/Aave_V3_Pool_event_UserEModeSet.json | 43 ++++++++ .../aave/Aave_V3_Pool_event_Withdraw.json | 65 ++++++++++++ 16 files changed, 1051 insertions(+) create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_BackUnbacked.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Borrow.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_FlashLoan.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_IsolationModeTotalDebtUpdated.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_LiquidationCall.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintUnbacked.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintedToTreasury.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_RebalanceStableBorrowRate.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Repay.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveDataUpdated.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralDisabled.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralEnabled.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Supply.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_SwapBorrowRateMode.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_UserEModeSet.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Withdraw.json diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_BackUnbacked.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_BackUnbacked.json new file mode 100644 index 00000000..477f0430 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_BackUnbacked.json @@ -0,0 +1,65 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "backer", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "fee", + "type": "uint256" + } + ], + "name": "BackUnbacked", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_BackUnbacked", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "backer", + "description": "", + "type": "STRING" + }, + { + "name": "amount", + "description": "", + "type": "STRING" + }, + { + "name": "fee", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Borrow.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Borrow.json new file mode 100644 index 00000000..f3f63716 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Borrow.json @@ -0,0 +1,98 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "onBehalfOf", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "enum DataTypes.InterestRateMode", + "name": "interestRateMode", + "type": "uint8" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "borrowRate", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "uint16", + "name": "referralCode", + "type": "uint16" + } + ], + "name": "Borrow", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_Borrow", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + }, + { + "name": "onBehalfOf", + "description": "", + "type": "STRING" + }, + { + "name": "amount", + "description": "", + "type": "STRING" + }, + { + "name": "interestRateMode", + "description": "", + "type": "STRING" + }, + { + "name": "borrowRate", + "description": "", + "type": "STRING" + }, + { + "name": "referralCode", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_FlashLoan.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_FlashLoan.json new file mode 100644 index 00000000..8e980950 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_FlashLoan.json @@ -0,0 +1,98 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "target", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "initiator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "enum DataTypes.InterestRateMode", + "name": "interestRateMode", + "type": "uint8" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "premium", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "uint16", + "name": "referralCode", + "type": "uint16" + } + ], + "name": "FlashLoan", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_FlashLoan", + "table_description": "", + "schema": [ + { + "name": "target", + "description": "", + "type": "STRING" + }, + { + "name": "initiator", + "description": "", + "type": "STRING" + }, + { + "name": "asset", + "description": "", + "type": "STRING" + }, + { + "name": "amount", + "description": "", + "type": "STRING" + }, + { + "name": "interestRateMode", + "description": "", + "type": "STRING" + }, + { + "name": "premium", + "description": "", + "type": "STRING" + }, + { + "name": "referralCode", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_IsolationModeTotalDebtUpdated.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_IsolationModeTotalDebtUpdated.json new file mode 100644 index 00000000..349116b1 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_IsolationModeTotalDebtUpdated.json @@ -0,0 +1,43 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "totalDebt", + "type": "uint256" + } + ], + "name": "IsolationModeTotalDebtUpdated", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_IsolationModeTotalDebtUpdated", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + }, + { + "name": "totalDebt", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_LiquidationCall.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_LiquidationCall.json new file mode 100644 index 00000000..9209bfdd --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_LiquidationCall.json @@ -0,0 +1,98 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "collateralAsset", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "debtAsset", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "debtToCover", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "liquidatedCollateralAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "liquidator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "receiveAToken", + "type": "bool" + } + ], + "name": "LiquidationCall", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_LiquidationCall", + "table_description": "", + "schema": [ + { + "name": "collateralAsset", + "description": "", + "type": "STRING" + }, + { + "name": "debtAsset", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + }, + { + "name": "debtToCover", + "description": "", + "type": "STRING" + }, + { + "name": "liquidatedCollateralAmount", + "description": "", + "type": "STRING" + }, + { + "name": "liquidator", + "description": "", + "type": "STRING" + }, + { + "name": "receiveAToken", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintUnbacked.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintUnbacked.json new file mode 100644 index 00000000..9a770a50 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintUnbacked.json @@ -0,0 +1,76 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "onBehalfOf", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "uint16", + "name": "referralCode", + "type": "uint16" + } + ], + "name": "MintUnbacked", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_MintUnbacked", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + }, + { + "name": "onBehalfOf", + "description": "", + "type": "STRING" + }, + { + "name": "amount", + "description": "", + "type": "STRING" + }, + { + "name": "referralCode", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintedToTreasury.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintedToTreasury.json new file mode 100644 index 00000000..281e4734 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintedToTreasury.json @@ -0,0 +1,43 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountMinted", + "type": "uint256" + } + ], + "name": "MintedToTreasury", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_MintedToTreasury", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "amountMinted", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_RebalanceStableBorrowRate.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_RebalanceStableBorrowRate.json new file mode 100644 index 00000000..22f6737f --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_RebalanceStableBorrowRate.json @@ -0,0 +1,43 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "RebalanceStableBorrowRate", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_RebalanceStableBorrowRate", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Repay.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Repay.json new file mode 100644 index 00000000..ffe41835 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Repay.json @@ -0,0 +1,76 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "repayer", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bool", + "name": "useATokens", + "type": "bool" + } + ], + "name": "Repay", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_Repay", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + }, + { + "name": "repayer", + "description": "", + "type": "STRING" + }, + { + "name": "amount", + "description": "", + "type": "STRING" + }, + { + "name": "useATokens", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveDataUpdated.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveDataUpdated.json new file mode 100644 index 00000000..e758cdb9 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveDataUpdated.json @@ -0,0 +1,87 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "liquidityRate", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "stableBorrowRate", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "variableBorrowRate", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "liquidityIndex", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "variableBorrowIndex", + "type": "uint256" + } + ], + "name": "ReserveDataUpdated", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_ReserveDataUpdated", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "liquidityRate", + "description": "", + "type": "STRING" + }, + { + "name": "stableBorrowRate", + "description": "", + "type": "STRING" + }, + { + "name": "variableBorrowRate", + "description": "", + "type": "STRING" + }, + { + "name": "liquidityIndex", + "description": "", + "type": "STRING" + }, + { + "name": "variableBorrowIndex", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralDisabled.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralDisabled.json new file mode 100644 index 00000000..e356b8a2 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralDisabled.json @@ -0,0 +1,43 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "ReserveUsedAsCollateralDisabled", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_ReserveUsedAsCollateralDisabled", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralEnabled.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralEnabled.json new file mode 100644 index 00000000..21c11610 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralEnabled.json @@ -0,0 +1,43 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "ReserveUsedAsCollateralEnabled", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_ReserveUsedAsCollateralEnabled", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Supply.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Supply.json new file mode 100644 index 00000000..63f17800 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Supply.json @@ -0,0 +1,76 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "onBehalfOf", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "uint16", + "name": "referralCode", + "type": "uint16" + } + ], + "name": "Supply", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_Supply", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + }, + { + "name": "onBehalfOf", + "description": "", + "type": "STRING" + }, + { + "name": "amount", + "description": "", + "type": "STRING" + }, + { + "name": "referralCode", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_SwapBorrowRateMode.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_SwapBorrowRateMode.json new file mode 100644 index 00000000..39f6ee2d --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_SwapBorrowRateMode.json @@ -0,0 +1,54 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": false, + "internalType": "enum DataTypes.InterestRateMode", + "name": "interestRateMode", + "type": "uint8" + } + ], + "name": "SwapBorrowRateMode", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_SwapBorrowRateMode", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + }, + { + "name": "interestRateMode", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_UserEModeSet.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_UserEModeSet.json new file mode 100644 index 00000000..4627ca99 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_UserEModeSet.json @@ -0,0 +1,43 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint8", + "name": "categoryId", + "type": "uint8" + } + ], + "name": "UserEModeSet", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_UserEModeSet", + "table_description": "", + "schema": [ + { + "name": "user", + "description": "", + "type": "STRING" + }, + { + "name": "categoryId", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Withdraw.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Withdraw.json new file mode 100644 index 00000000..8a69f37a --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Withdraw.json @@ -0,0 +1,65 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x794a61358d6845594f94dc1db02a252b5b4814ad", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "reserve", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Withdraw", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "Aave_V3", + "table_name": "Aave_V3_Pool_event_Withdraw", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + }, + { + "name": "to", + "description": "", + "type": "STRING" + }, + { + "name": "amount", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file From f9c814d27f98378c0f374922848d731229ad7c7e Mon Sep 17 00:00:00 2001 From: Rebecca Stevens Date: Mon, 7 Nov 2022 20:39:50 +0000 Subject: [PATCH 3/4] fix dataset names --- .../aave/Aave_Lending_Pool_V2_event_Borrow.json | 4 ++-- .../aave/Aave_Lending_Pool_V2_event_Deposit.json | 4 ++-- .../aave/Aave_Lending_Pool_V2_event_FlashLoan.json | 4 ++-- .../aave/Aave_Lending_Pool_V2_event_LiquidationCall.json | 4 ++-- .../aave/Aave_Lending_Pool_V2_event_Paused.json | 4 ++-- .../Aave_Lending_Pool_V2_event_RebalanceStableBorrowRate.json | 4 ++-- .../aave/Aave_Lending_Pool_V2_event_Repay.json | 4 ++-- .../aave/Aave_Lending_Pool_V2_event_ReserveDataUpdated.json | 4 ++-- ...Lending_Pool_V2_event_ReserveUsedAsCollateralDisabled.json | 4 ++-- ..._Lending_Pool_V2_event_ReserveUsedAsCollateralEnabled.json | 4 ++-- .../aave/Aave_Lending_Pool_V2_event_Swap.json | 4 ++-- .../aave/Aave_Lending_Pool_V2_event_Unpaused.json | 4 ++-- .../aave/Aave_Lending_Pool_V2_event_Withdraw.json | 4 ++-- .../aave/Aave_V3_Pool_event_BackUnbacked.json | 4 ++-- .../table_definitions/aave/Aave_V3_Pool_event_Borrow.json | 4 ++-- .../table_definitions/aave/Aave_V3_Pool_event_FlashLoan.json | 4 ++-- .../Aave_V3_Pool_event_IsolationModeTotalDebtUpdated.json | 4 ++-- .../aave/Aave_V3_Pool_event_LiquidationCall.json | 4 ++-- .../aave/Aave_V3_Pool_event_MintUnbacked.json | 4 ++-- .../aave/Aave_V3_Pool_event_MintedToTreasury.json | 4 ++-- .../aave/Aave_V3_Pool_event_RebalanceStableBorrowRate.json | 4 ++-- .../table_definitions/aave/Aave_V3_Pool_event_Repay.json | 4 ++-- .../aave/Aave_V3_Pool_event_ReserveDataUpdated.json | 4 ++-- .../Aave_V3_Pool_event_ReserveUsedAsCollateralDisabled.json | 4 ++-- .../Aave_V3_Pool_event_ReserveUsedAsCollateralEnabled.json | 4 ++-- .../table_definitions/aave/Aave_V3_Pool_event_Supply.json | 4 ++-- .../aave/Aave_V3_Pool_event_SwapBorrowRateMode.json | 4 ++-- .../aave/Aave_V3_Pool_event_UserEModeSet.json | 4 ++-- .../table_definitions/aave/Aave_V3_Pool_event_Withdraw.json | 4 ++-- 29 files changed, 58 insertions(+), 58 deletions(-) diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Borrow.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Borrow.json index 32b5e0fc..e33510bd 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Borrow.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Borrow.json @@ -54,7 +54,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V2", + "dataset_name": "aave", "table_name": "Aave_Lending_Pool_V2_event_Borrow", "table_description": "", "schema": [ @@ -95,4 +95,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Deposit.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Deposit.json index 5d1e77f5..83835963 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Deposit.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Deposit.json @@ -42,7 +42,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V2", + "dataset_name": "aave", "table_name": "Aave_Lending_Pool_V2_event_Deposit", "table_description": "", "schema": [ @@ -73,4 +73,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_FlashLoan.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_FlashLoan.json index ed4557fe..040e2cf7 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_FlashLoan.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_FlashLoan.json @@ -48,7 +48,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V2", + "dataset_name": "aave", "table_name": "Aave_Lending_Pool_V2_event_FlashLoan", "table_description": "", "schema": [ @@ -84,4 +84,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_LiquidationCall.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_LiquidationCall.json index 58e79e35..1750667f 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_LiquidationCall.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_LiquidationCall.json @@ -54,7 +54,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V2", + "dataset_name": "aave", "table_name": "Aave_Lending_Pool_V2_event_LiquidationCall", "table_description": "", "schema": [ @@ -95,4 +95,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Paused.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Paused.json index c53e4e9d..b013a8cc 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Paused.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Paused.json @@ -11,9 +11,9 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V2", + "dataset_name": "aave", "table_name": "Aave_Lending_Pool_V2_event_Paused", "table_description": "", "schema": [] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_RebalanceStableBorrowRate.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_RebalanceStableBorrowRate.json index 5deb5e25..51a838e4 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_RebalanceStableBorrowRate.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_RebalanceStableBorrowRate.json @@ -24,7 +24,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V2", + "dataset_name": "aave", "table_name": "Aave_Lending_Pool_V2_event_RebalanceStableBorrowRate", "table_description": "", "schema": [ @@ -40,4 +40,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Repay.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Repay.json index 73031c58..caf9dfa0 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Repay.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Repay.json @@ -36,7 +36,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V2", + "dataset_name": "aave", "table_name": "Aave_Lending_Pool_V2_event_Repay", "table_description": "", "schema": [ @@ -62,4 +62,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveDataUpdated.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveDataUpdated.json index 21e64235..7d82e63d 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveDataUpdated.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveDataUpdated.json @@ -48,7 +48,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V2", + "dataset_name": "aave", "table_name": "Aave_Lending_Pool_V2_event_ReserveDataUpdated", "table_description": "", "schema": [ @@ -84,4 +84,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralDisabled.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralDisabled.json index 5e1e1fb7..4d68834b 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralDisabled.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralDisabled.json @@ -24,7 +24,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V2", + "dataset_name": "aave", "table_name": "Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralDisabled", "table_description": "", "schema": [ @@ -40,4 +40,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralEnabled.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralEnabled.json index f7d78aaf..8a4ef78c 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralEnabled.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralEnabled.json @@ -24,7 +24,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V2", + "dataset_name": "aave", "table_name": "Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralEnabled", "table_description": "", "schema": [ @@ -40,4 +40,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Swap.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Swap.json index 2f22bc76..4a6ec7ae 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Swap.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Swap.json @@ -30,7 +30,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V2", + "dataset_name": "aave", "table_name": "Aave_Lending_Pool_V2_event_Swap", "table_description": "", "schema": [ @@ -51,4 +51,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Unpaused.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Unpaused.json index e3e80eeb..f831cb85 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Unpaused.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Unpaused.json @@ -11,9 +11,9 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V2", + "dataset_name": "aave", "table_name": "Aave_Lending_Pool_V2_event_Unpaused", "table_description": "", "schema": [] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Withdraw.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Withdraw.json index b97cea9e..d30fd06a 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Withdraw.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_Lending_Pool_V2_event_Withdraw.json @@ -36,7 +36,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V2", + "dataset_name": "aave", "table_name": "Aave_Lending_Pool_V2_event_Withdraw", "table_description": "", "schema": [ @@ -62,4 +62,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_BackUnbacked.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_BackUnbacked.json index 477f0430..63fdfcdc 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_BackUnbacked.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_BackUnbacked.json @@ -36,7 +36,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_BackUnbacked", "table_description": "", "schema": [ @@ -62,4 +62,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Borrow.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Borrow.json index f3f63716..a565cdfe 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Borrow.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Borrow.json @@ -54,7 +54,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_Borrow", "table_description": "", "schema": [ @@ -95,4 +95,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_FlashLoan.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_FlashLoan.json index 8e980950..fb2c0cf8 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_FlashLoan.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_FlashLoan.json @@ -54,7 +54,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_FlashLoan", "table_description": "", "schema": [ @@ -95,4 +95,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_IsolationModeTotalDebtUpdated.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_IsolationModeTotalDebtUpdated.json index 349116b1..14db8599 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_IsolationModeTotalDebtUpdated.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_IsolationModeTotalDebtUpdated.json @@ -24,7 +24,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_IsolationModeTotalDebtUpdated", "table_description": "", "schema": [ @@ -40,4 +40,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_LiquidationCall.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_LiquidationCall.json index 9209bfdd..51cdd575 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_LiquidationCall.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_LiquidationCall.json @@ -54,7 +54,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_LiquidationCall", "table_description": "", "schema": [ @@ -95,4 +95,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintUnbacked.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintUnbacked.json index 9a770a50..6cba12c5 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintUnbacked.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintUnbacked.json @@ -42,7 +42,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_MintUnbacked", "table_description": "", "schema": [ @@ -73,4 +73,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintedToTreasury.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintedToTreasury.json index 281e4734..ea040744 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintedToTreasury.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_MintedToTreasury.json @@ -24,7 +24,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_MintedToTreasury", "table_description": "", "schema": [ @@ -40,4 +40,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_RebalanceStableBorrowRate.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_RebalanceStableBorrowRate.json index 22f6737f..bb470912 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_RebalanceStableBorrowRate.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_RebalanceStableBorrowRate.json @@ -24,7 +24,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_RebalanceStableBorrowRate", "table_description": "", "schema": [ @@ -40,4 +40,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Repay.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Repay.json index ffe41835..908b3db6 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Repay.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Repay.json @@ -42,7 +42,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_Repay", "table_description": "", "schema": [ @@ -73,4 +73,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveDataUpdated.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveDataUpdated.json index e758cdb9..5a643d25 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveDataUpdated.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveDataUpdated.json @@ -48,7 +48,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_ReserveDataUpdated", "table_description": "", "schema": [ @@ -84,4 +84,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralDisabled.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralDisabled.json index e356b8a2..89bfd33b 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralDisabled.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralDisabled.json @@ -24,7 +24,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_ReserveUsedAsCollateralDisabled", "table_description": "", "schema": [ @@ -40,4 +40,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralEnabled.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralEnabled.json index 21c11610..2210e9fb 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralEnabled.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_ReserveUsedAsCollateralEnabled.json @@ -24,7 +24,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_ReserveUsedAsCollateralEnabled", "table_description": "", "schema": [ @@ -40,4 +40,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Supply.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Supply.json index 63f17800..5108788f 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Supply.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Supply.json @@ -42,7 +42,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_Supply", "table_description": "", "schema": [ @@ -73,4 +73,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_SwapBorrowRateMode.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_SwapBorrowRateMode.json index 39f6ee2d..8836680d 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_SwapBorrowRateMode.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_SwapBorrowRateMode.json @@ -30,7 +30,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_SwapBorrowRateMode", "table_description": "", "schema": [ @@ -51,4 +51,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_UserEModeSet.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_UserEModeSet.json index 4627ca99..49d52485 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_UserEModeSet.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_UserEModeSet.json @@ -24,7 +24,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_UserEModeSet", "table_description": "", "schema": [ @@ -40,4 +40,4 @@ } ] } -} \ No newline at end of file +} diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Withdraw.json b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Withdraw.json index 8a69f37a..23efcb55 100644 --- a/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Withdraw.json +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/Aave_V3_Pool_event_Withdraw.json @@ -36,7 +36,7 @@ "field_mapping": {} }, "table": { - "dataset_name": "Aave_V3", + "dataset_name": "aave", "table_name": "Aave_V3_Pool_event_Withdraw", "table_description": "", "schema": [ @@ -62,4 +62,4 @@ } ] } -} \ No newline at end of file +} From db4f83dba9f303f7cff5b87586fa6f644357c245 Mon Sep 17 00:00:00 2001 From: Rebecca Stevens Date: Tue, 22 Nov 2022 15:00:38 +0000 Subject: [PATCH 4/4] add lending pool configurator tables --- ...lConfigurator_v2_event_ATokenUpgraded.json | 54 +++++++++++++ ...r_v2_event_BorrowingDisabledOnReserve.json | 32 ++++++++ ...or_v2_event_BorrowingEnabledOnReserve.json | 43 +++++++++++ ..._event_CollateralConfigurationChanged.json | 65 ++++++++++++++++ ...onfigurator_v2_event_ReserveActivated.json | 32 ++++++++ ...figurator_v2_event_ReserveDeactivated.json | 32 ++++++++ ...rator_v2_event_ReserveDecimalsChanged.json | 43 +++++++++++ ...gurator_v2_event_ReserveFactorChanged.json | 43 +++++++++++ ...olConfigurator_v2_event_ReserveFrozen.json | 32 ++++++++ ...figurator_v2_event_ReserveInitialized.json | 76 +++++++++++++++++++ ...nt_ReserveInterestRateStrategyChanged.json | 43 +++++++++++ ...Configurator_v2_event_ReserveUnfrozen.json | 32 ++++++++ ...ator_v2_event_StableDebtTokenUpgraded.json | 54 +++++++++++++ ..._v2_event_StableRateDisabledOnReserve.json | 32 ++++++++ ...r_v2_event_StableRateEnabledOnReserve.json | 32 ++++++++ ...or_v2_event_VariableDebtTokenUpgraded.json | 54 +++++++++++++ 16 files changed, 699 insertions(+) create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ATokenUpgraded.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_BorrowingDisabledOnReserve.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_BorrowingEnabledOnReserve.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_CollateralConfigurationChanged.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveActivated.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveDeactivated.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveDecimalsChanged.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveFactorChanged.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveFrozen.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveInitialized.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveInterestRateStrategyChanged.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveUnfrozen.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_StableDebtTokenUpgraded.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_StableRateDisabledOnReserve.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_StableRateEnabledOnReserve.json create mode 100644 airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_VariableDebtTokenUpgraded.json diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ATokenUpgraded.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ATokenUpgraded.json new file mode 100644 index 00000000..d478888e --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ATokenUpgraded.json @@ -0,0 +1,54 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "proxy", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "ATokenUpgraded", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_ATokenUpgraded", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + }, + { + "name": "proxy", + "description": "", + "type": "STRING" + }, + { + "name": "implementation", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_BorrowingDisabledOnReserve.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_BorrowingDisabledOnReserve.json new file mode 100644 index 00000000..930586bc --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_BorrowingDisabledOnReserve.json @@ -0,0 +1,32 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "BorrowingDisabledOnReserve", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_BorrowingDisabledOnReserve", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_BorrowingEnabledOnReserve.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_BorrowingEnabledOnReserve.json new file mode 100644 index 00000000..ef3bd3ce --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_BorrowingEnabledOnReserve.json @@ -0,0 +1,43 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "stableRateEnabled", + "type": "bool" + } + ], + "name": "BorrowingEnabledOnReserve", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_BorrowingEnabledOnReserve", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + }, + { + "name": "stableRateEnabled", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_CollateralConfigurationChanged.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_CollateralConfigurationChanged.json new file mode 100644 index 00000000..0d6ac589 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_CollateralConfigurationChanged.json @@ -0,0 +1,65 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "ltv", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "liquidationThreshold", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "liquidationBonus", + "type": "uint256" + } + ], + "name": "CollateralConfigurationChanged", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_CollateralConfigurationChanged", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + }, + { + "name": "ltv", + "description": "", + "type": "STRING" + }, + { + "name": "liquidationThreshold", + "description": "", + "type": "STRING" + }, + { + "name": "liquidationBonus", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveActivated.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveActivated.json new file mode 100644 index 00000000..ce68cfb4 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveActivated.json @@ -0,0 +1,32 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "ReserveActivated", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_ReserveActivated", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveDeactivated.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveDeactivated.json new file mode 100644 index 00000000..83126ee5 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveDeactivated.json @@ -0,0 +1,32 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "ReserveDeactivated", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_ReserveDeactivated", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveDecimalsChanged.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveDecimalsChanged.json new file mode 100644 index 00000000..1806ba0e --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveDecimalsChanged.json @@ -0,0 +1,43 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "decimals", + "type": "uint256" + } + ], + "name": "ReserveDecimalsChanged", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_ReserveDecimalsChanged", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + }, + { + "name": "decimals", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveFactorChanged.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveFactorChanged.json new file mode 100644 index 00000000..96e0e00d --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveFactorChanged.json @@ -0,0 +1,43 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "factor", + "type": "uint256" + } + ], + "name": "ReserveFactorChanged", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_ReserveFactorChanged", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + }, + { + "name": "factor", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveFrozen.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveFrozen.json new file mode 100644 index 00000000..ab7ae558 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveFrozen.json @@ -0,0 +1,32 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "ReserveFrozen", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_ReserveFrozen", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveInitialized.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveInitialized.json new file mode 100644 index 00000000..07bbd07b --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveInitialized.json @@ -0,0 +1,76 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "aToken", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "stableDebtToken", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "variableDebtToken", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "interestRateStrategyAddress", + "type": "address" + } + ], + "name": "ReserveInitialized", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_ReserveInitialized", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + }, + { + "name": "aToken", + "description": "", + "type": "STRING" + }, + { + "name": "stableDebtToken", + "description": "", + "type": "STRING" + }, + { + "name": "variableDebtToken", + "description": "", + "type": "STRING" + }, + { + "name": "interestRateStrategyAddress", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveInterestRateStrategyChanged.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveInterestRateStrategyChanged.json new file mode 100644 index 00000000..3a0d16bc --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveInterestRateStrategyChanged.json @@ -0,0 +1,43 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "strategy", + "type": "address" + } + ], + "name": "ReserveInterestRateStrategyChanged", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_ReserveInterestRateStrategyChanged", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + }, + { + "name": "strategy", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveUnfrozen.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveUnfrozen.json new file mode 100644 index 00000000..56333312 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_ReserveUnfrozen.json @@ -0,0 +1,32 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "ReserveUnfrozen", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_ReserveUnfrozen", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_StableDebtTokenUpgraded.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_StableDebtTokenUpgraded.json new file mode 100644 index 00000000..07fd9825 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_StableDebtTokenUpgraded.json @@ -0,0 +1,54 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "proxy", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "StableDebtTokenUpgraded", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_StableDebtTokenUpgraded", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + }, + { + "name": "proxy", + "description": "", + "type": "STRING" + }, + { + "name": "implementation", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_StableRateDisabledOnReserve.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_StableRateDisabledOnReserve.json new file mode 100644 index 00000000..f3d49f8c --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_StableRateDisabledOnReserve.json @@ -0,0 +1,32 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "StableRateDisabledOnReserve", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_StableRateDisabledOnReserve", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_StableRateEnabledOnReserve.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_StableRateEnabledOnReserve.json new file mode 100644 index 00000000..a6b6e224 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_StableRateEnabledOnReserve.json @@ -0,0 +1,32 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "StableRateEnabledOnReserve", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_StableRateEnabledOnReserve", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_VariableDebtTokenUpgraded.json b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_VariableDebtTokenUpgraded.json new file mode 100644 index 00000000..8abcb6b6 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/aave/LendingPoolConfigurator_v2_event_VariableDebtTokenUpgraded.json @@ -0,0 +1,54 @@ +{ + "parser": { + "type": "log", + "contract_address": "0x26db2b833021583566323e3b8985999981b9f1f3", + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "proxy", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "VariableDebtTokenUpgraded", + "type": "event" + }, + "field_mapping": {} + }, + "table": { + "dataset_name": "aave", + "table_name": "LendingPoolConfigurator_v2_event_VariableDebtTokenUpgraded", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + }, + { + "name": "proxy", + "description": "", + "type": "STRING" + }, + { + "name": "implementation", + "description": "", + "type": "STRING" + } + ] + } +} \ No newline at end of file