diff --git a/models/_sector/lending/borrow/base/platforms/aave_v3_base_base_borrow.sql b/models/_sector/lending/borrow/base/platforms/aave_v3_base_base_borrow.sql index 5e2ea87bb64..01962c69346 100644 --- a/models/_sector/lending/borrow/base/platforms/aave_v3_base_base_borrow.sql +++ b/models/_sector/lending/borrow/base/platforms/aave_v3_base_base_borrow.sql @@ -14,6 +14,7 @@ lending_aave_v3_compatible_borrow( blockchain = 'base', project = 'aave', - version = '3' + version = '3', + decoded_contract_name = 'L2Pool' ) }} diff --git a/models/_sector/lending/flashloans/base/platforms/aave_v3_base_base_flashloans.sql b/models/_sector/lending/flashloans/base/platforms/aave_v3_base_base_flashloans.sql index 628ce2ef509..5f32671c69b 100644 --- a/models/_sector/lending/flashloans/base/platforms/aave_v3_base_base_flashloans.sql +++ b/models/_sector/lending/flashloans/base/platforms/aave_v3_base_base_flashloans.sql @@ -14,6 +14,7 @@ lending_aave_v3_compatible_flashloans( blockchain = 'base', project = 'aave', - version = '3' + version = '3', + decoded_contract_name = 'L2Pool' ) }} diff --git a/models/_sector/lending/supply/base/platforms/aave_v3_base_base_supply.sql b/models/_sector/lending/supply/base/platforms/aave_v3_base_base_supply.sql index e913f15b9bf..b893d14a89e 100644 --- a/models/_sector/lending/supply/base/platforms/aave_v3_base_base_supply.sql +++ b/models/_sector/lending/supply/base/platforms/aave_v3_base_base_supply.sql @@ -14,6 +14,7 @@ lending_aave_v3_compatible_supply( blockchain = 'base', project = 'aave', - version = '3' + version = '3', + decoded_contract_name = 'L2Pool' ) }} diff --git a/seeds/_sector/lending/aave_base_base_borrow_seed.csv b/seeds/_sector/lending/aave_base_base_borrow_seed.csv index eb4b4981cad..99d6080eb47 100644 --- a/seeds/_sector/lending/aave_base_base_borrow_seed.csv +++ b/seeds/_sector/lending/aave_base_base_borrow_seed.csv @@ -1,3 +1,4 @@ blockchain,project,version,block_number,block_time,tx_hash,evt_index,transaction_type,token_address,borrower,amount -base,aave,3,4247158,2023-09-21 08:07:43.000 UTC,0x784bf7303eb3cc92fdc8fe8b3e6b48442e3fdee5bc15eec98d750ad8566a6c2a,32,borrow,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0xb2c466b176492eca88b68f4f8923361c398abf49,1.3238031e+07 -base,aave,3,4178980,2023-09-19 18:15:07.000 UTC,0x69bcb7d2f26674409427689eb12a684fc80ab0e59c47a55bb71fde1b88c8df1e,9,repay,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0xd439481da065bbc84bf34d792d608ada8ce6ae2c,-1.05e+08 +base,aave,3,15827853,2024-06-15 09:50:53.000 UTC,0xaa7ba6e0f84a840fd5eb848b798a464662bb52282b091db880ae67c9d5cda6e0,188,borrow,0x4200000000000000000000000000000000000006,0x8be473dcfa93132658821e67cbeb684ec8ea2e74,1.5522e+16 +base,aave,3,15800022,2024-06-14 18:23:11.000 UTC,0x848c21ee62024e5fef4087df08d54a40c4fdec184d7f4b2db3acb0b7219e9375,53,borrow_liquidation,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0x738863d4a6a006a6fa740182521388fb3627cda0,-3.004921e+06 +base,aave,3,15827947,2024-06-15 09:54:01.000 UTC,0xe06073b006174376394a726474578e3957649e932d454ceee67a1f3c238f9ff6,162,repay,0x833589fcd6edb6e08f4c7c32d4f71b54bda02913,0xd195b3573e9789e97f74aea9cd7268fc5180d7de,-2.71600267e+09 diff --git a/seeds/_sector/lending/aave_base_base_flashloans_seed.csv b/seeds/_sector/lending/aave_base_base_flashloans_seed.csv index 7a805e33930..908d4f9b5c6 100644 --- a/seeds/_sector/lending/aave_base_base_flashloans_seed.csv +++ b/seeds/_sector/lending/aave_base_base_flashloans_seed.csv @@ -1 +1,4 @@ blockchain,project,version,block_number,block_time,tx_hash,evt_index,token_address,recipient,amount +base,aave,3,15826208,2024-06-15 08:56:03.000 UTC,0xf6cc21fd7e04c0f204de4782bb9dff7bef69bd47fb1fa769a2f3e85877427f64,2213,0x4200000000000000000000000000000000000006,0x5f4d15d761528c57a5c30c43c1dab26fc5452731,1.0743019712252126e+16 +base,aave,3,15825782,2024-06-15 08:41:51.000 UTC,0xcdfad04a2a61952d6d5821e94198fc70af22fc435dceca157c4302289e546c09,309,0x833589fcd6edb6e08f4c7c32d4f71b54bda02913,0x5f4d15d761528c57a5c30c43c1dab26fc5452731,4.52885299e+08 +base,aave,3,15825761,2024-06-15 08:41:09.000 UTC,0x954180faf2bd1a86d6a19e2bf6e03026c38cea2a4167715d31d63fb62ca794a3,215,0x4200000000000000000000000000000000000006,0x5f4d15d761528c57a5c30c43c1dab26fc5452731,4.249983661949834e+16 diff --git a/seeds/_sector/lending/aave_base_base_supply_seed.csv b/seeds/_sector/lending/aave_base_base_supply_seed.csv index 61f3afb2273..c48497ca715 100644 --- a/seeds/_sector/lending/aave_base_base_supply_seed.csv +++ b/seeds/_sector/lending/aave_base_base_supply_seed.csv @@ -1,3 +1,4 @@ blockchain,project,version,block_number,block_time,tx_hash,evt_index,transaction_type,token_address,depositor,amount -base,aave,3,5894355,2023-10-29 11:14:17.000 UTC,0x3959fc08d3314105fe5f1f49c37b723caed74ffb41004b63aabb6743296147a3,72,deposit,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0x2bde6a71265becec57fd5127992101f73f41f62e,2.085e+07 -base,aave,3,6451756,2023-11-11 08:54:19.000 UTC,0xb9c30cf48fccac51d48468e675630c0d735e29d2787bef75fdaeed91a74bf8d6,28,withdraw,0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca,0xf3279a09118f5491cbccac49a2377fca368837d6,-8.7004743e+07 +base,aave,3,15827955,2024-06-15 09:54:17.000 UTC,0x1c471d349cf1346f1559c6971738e0c39ff353710ac31291b71a8821fa8f5db4,1071,deposit,0x4200000000000000000000000000000000000006,0x18cd499e3d7ed42feba981ac9236a278e4cdc2ee,4.36871496594842e+14 +base,aave,3,15800022,2024-06-14 18:23:11.000 UTC,0x848c21ee62024e5fef4087df08d54a40c4fdec184d7f4b2db3acb0b7219e9375,53,deposit_liquidation,0x4200000000000000000000000000000000000006,0x738863d4a6a006a6fa740182521388fb3627cda0,-9.32650210500932e+14 +base,aave,3,15827963,2024-06-15 09:54:33.000 UTC,0xc9c8a306223b1f8b4f798e956e8ae73d4467728e5f5e3fe7077f872a604f50a3,42,withdraw,0x4200000000000000000000000000000000000006,0x18cd499e3d7ed42feba981ac9236a278e4cdc2ee,-6.60000004593744e+14 diff --git a/sources/_sector/lending/borrow/base/_sources.yml b/sources/_sector/lending/borrow/base/_sources.yml index 134c15d2e6c..47696e0c280 100644 --- a/sources/_sector/lending/borrow/base/_sources.yml +++ b/sources/_sector/lending/borrow/base/_sources.yml @@ -3,9 +3,9 @@ version: 2 sources: - name: aave_v3_base tables: - - name: Pool_evt_Borrow - - name: Pool_evt_Repay - - name: Pool_evt_LiquidationCall + - name: L2Pool_evt_Borrow + - name: L2Pool_evt_Repay + - name: L2Pool_evt_LiquidationCall - name: compound_v3_base tables: diff --git a/sources/_sector/lending/flashloans/base/_sources.yml b/sources/_sector/lending/flashloans/base/_sources.yml index ef1a2c15e22..e710193c472 100644 --- a/sources/_sector/lending/flashloans/base/_sources.yml +++ b/sources/_sector/lending/flashloans/base/_sources.yml @@ -3,7 +3,7 @@ version: 2 sources: - name: aave_v3_base tables: - - name: Pool_evt_FlashLoan + - name: L2Pool_evt_FlashLoan - name: seamlessprotocol_base tables: diff --git a/sources/_sector/lending/supply/base/_sources.yml b/sources/_sector/lending/supply/base/_sources.yml index f8c8d7eb2d1..14938b65ef6 100644 --- a/sources/_sector/lending/supply/base/_sources.yml +++ b/sources/_sector/lending/supply/base/_sources.yml @@ -3,9 +3,9 @@ version: 2 sources: - name: aave_v3_base tables: - - name: Pool_evt_Supply - - name: Pool_evt_Withdraw - - name: Pool_evt_RedeemUnderlying + - name: L2Pool_evt_Supply + - name: L2Pool_evt_Withdraw + - name: L2Pool_evt_RedeemUnderlying - name: compound_v3_base tables: