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..e33510bd --- /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", + "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" + } + ] + } +} 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..83835963 --- /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", + "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" + } + ] + } +} 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..040e2cf7 --- /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", + "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" + } + ] + } +} 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..1750667f --- /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", + "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" + } + ] + } +} 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..b013a8cc --- /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", + "table_name": "Aave_Lending_Pool_V2_event_Paused", + "table_description": "", + "schema": [] + } +} 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..51a838e4 --- /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", + "table_name": "Aave_Lending_Pool_V2_event_RebalanceStableBorrowRate", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + } + ] + } +} 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..caf9dfa0 --- /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", + "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" + } + ] + } +} 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..7d82e63d --- /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", + "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" + } + ] + } +} 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..4d68834b --- /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", + "table_name": "Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralDisabled", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + } + ] + } +} 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..8a4ef78c --- /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", + "table_name": "Aave_Lending_Pool_V2_event_ReserveUsedAsCollateralEnabled", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + } + ] + } +} 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..4a6ec7ae --- /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", + "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" + } + ] + } +} 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..f831cb85 --- /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", + "table_name": "Aave_Lending_Pool_V2_event_Unpaused", + "table_description": "", + "schema": [] + } +} 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..d30fd06a --- /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", + "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" + } + ] + } +} 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..63fdfcdc --- /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", + "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" + } + ] + } +} 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..a565cdfe --- /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", + "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" + } + ] + } +} 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..fb2c0cf8 --- /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", + "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" + } + ] + } +} 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..14db8599 --- /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", + "table_name": "Aave_V3_Pool_event_IsolationModeTotalDebtUpdated", + "table_description": "", + "schema": [ + { + "name": "asset", + "description": "", + "type": "STRING" + }, + { + "name": "totalDebt", + "description": "", + "type": "STRING" + } + ] + } +} 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..51cdd575 --- /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", + "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" + } + ] + } +} 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..6cba12c5 --- /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", + "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" + } + ] + } +} 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..ea040744 --- /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", + "table_name": "Aave_V3_Pool_event_MintedToTreasury", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "amountMinted", + "description": "", + "type": "STRING" + } + ] + } +} 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..bb470912 --- /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", + "table_name": "Aave_V3_Pool_event_RebalanceStableBorrowRate", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + } + ] + } +} 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..908b3db6 --- /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", + "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" + } + ] + } +} 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..5a643d25 --- /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", + "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" + } + ] + } +} 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..89bfd33b --- /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", + "table_name": "Aave_V3_Pool_event_ReserveUsedAsCollateralDisabled", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + } + ] + } +} 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..2210e9fb --- /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", + "table_name": "Aave_V3_Pool_event_ReserveUsedAsCollateralEnabled", + "table_description": "", + "schema": [ + { + "name": "reserve", + "description": "", + "type": "STRING" + }, + { + "name": "user", + "description": "", + "type": "STRING" + } + ] + } +} 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..5108788f --- /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", + "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" + } + ] + } +} 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..8836680d --- /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", + "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" + } + ] + } +} 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..49d52485 --- /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", + "table_name": "Aave_V3_Pool_event_UserEModeSet", + "table_description": "", + "schema": [ + { + "name": "user", + "description": "", + "type": "STRING" + }, + { + "name": "categoryId", + "description": "", + "type": "STRING" + } + ] + } +} 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..23efcb55 --- /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", + "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" + } + ] + } +} 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