From 95cf2d82fe172ea5f9f74c38977933c36c32ca06 Mon Sep 17 00:00:00 2001 From: Michalis Alifierakis Date: Fri, 1 Mar 2024 16:07:27 -0400 Subject: [PATCH] [Gauntlet] Add Metamorpho Vault events (#680) * add morpho contract * add morpho blue * add borrow rate update and rewards emission set * add metamorpho factory * add metamorpho vault events * add supplyVault events * make address lower case --- .../MetaMorpho_event_AccrueInterest.json | 43 +++++++++++ .../morpho/MetaMorpho_event_Approval.json | 54 +++++++++++++ .../morpho/MetaMorpho_event_Deposit.json | 65 ++++++++++++++++ .../MetaMorpho_event_EIP712DomainChanged.json | 19 +++++ ...Morpho_event_OwnershipTransferStarted.json | 43 +++++++++++ ...MetaMorpho_event_OwnershipTransferred.json | 43 +++++++++++ .../MetaMorpho_event_ReallocateSupply.json | 65 ++++++++++++++++ .../MetaMorpho_event_ReallocateWithdraw.json | 65 ++++++++++++++++ .../MetaMorpho_event_RevokePendingCap.json | 43 +++++++++++ ...etaMorpho_event_RevokePendingGuardian.json | 32 ++++++++ ...rpho_event_RevokePendingMarketRemoval.json | 43 +++++++++++ ...etaMorpho_event_RevokePendingTimelock.json | 32 ++++++++ .../morpho/MetaMorpho_event_SetCap.json | 54 +++++++++++++ .../morpho/MetaMorpho_event_SetCurator.json | 32 ++++++++ .../morpho/MetaMorpho_event_SetFee.json | 43 +++++++++++ .../MetaMorpho_event_SetFeeRecipient.json | 32 ++++++++ .../morpho/MetaMorpho_event_SetGuardian.json | 43 +++++++++++ .../MetaMorpho_event_SetIsAllocator.json | 43 +++++++++++ .../MetaMorpho_event_SetSkimRecipient.json | 32 ++++++++ .../MetaMorpho_event_SetSupplyQueue.json | 43 +++++++++++ .../morpho/MetaMorpho_event_SetTimelock.json | 43 +++++++++++ .../MetaMorpho_event_SetWithdrawQueue.json | 43 +++++++++++ .../morpho/MetaMorpho_event_Skim.json | 54 +++++++++++++ .../morpho/MetaMorpho_event_SubmitCap.json | 54 +++++++++++++ .../MetaMorpho_event_SubmitGuardian.json | 32 ++++++++ .../MetaMorpho_event_SubmitMarketRemoval.json | 43 +++++++++++ .../MetaMorpho_event_SubmitTimelock.json | 32 ++++++++ .../morpho/MetaMorpho_event_Transfer.json | 54 +++++++++++++ ...etaMorpho_event_UpdateLastTotalAssets.json | 32 ++++++++ .../morpho/MetaMorpho_event_Withdraw.json | 76 +++++++++++++++++++ .../morpho/SupplyVault_event_Approval.json | 54 +++++++++++++ .../morpho/SupplyVault_event_Deposit.json | 65 ++++++++++++++++ .../morpho/SupplyVault_event_Initialized.json | 32 ++++++++ .../SupplyVault_event_MaxIterationsSet.json | 32 ++++++++ ...yVault_event_OwnershipTransferStarted.json | 43 +++++++++++ ...upplyVault_event_OwnershipTransferred.json | 43 +++++++++++ .../SupplyVault_event_RecipientSet.json | 32 ++++++++ .../morpho/SupplyVault_event_Skimmed.json | 54 +++++++++++++ .../morpho/SupplyVault_event_Transfer.json | 54 +++++++++++++ .../morpho/SupplyVault_event_Withdraw.json | 76 +++++++++++++++++++ 40 files changed, 1817 insertions(+) create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_AccrueInterest.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Approval.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Deposit.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_EIP712DomainChanged.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_OwnershipTransferStarted.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_OwnershipTransferred.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_ReallocateSupply.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_ReallocateWithdraw.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingCap.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingGuardian.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingMarketRemoval.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingTimelock.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetCap.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetCurator.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetFee.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetFeeRecipient.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetGuardian.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetIsAllocator.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetSkimRecipient.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetSupplyQueue.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetTimelock.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetWithdrawQueue.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Skim.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitCap.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitGuardian.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitMarketRemoval.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitTimelock.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Transfer.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_UpdateLastTotalAssets.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Withdraw.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Approval.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Deposit.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Initialized.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_MaxIterationsSet.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_OwnershipTransferStarted.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_OwnershipTransferred.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_RecipientSet.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Skimmed.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Transfer.json create mode 100644 dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Withdraw.json diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_AccrueInterest.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_AccrueInterest.json new file mode 100644 index 00000000..f88e2c72 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_AccrueInterest.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "newTotalAssets", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "feeShares", + "type": "uint256" + } + ], + "name": "AccrueInterest", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "newTotalAssets", + "type": "STRING" + }, + { + "description": "", + "name": "feeShares", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_AccrueInterest" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Approval.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Approval.json new file mode 100644 index 00000000..8122e609 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Approval.json @@ -0,0 +1,54 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "owner", + "type": "STRING" + }, + { + "description": "", + "name": "spender", + "type": "STRING" + }, + { + "description": "", + "name": "value", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_Approval" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Deposit.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Deposit.json new file mode 100644 index 00000000..3674f041 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Deposit.json @@ -0,0 +1,65 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "assets", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "shares", + "type": "uint256" + } + ], + "name": "Deposit", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "sender", + "type": "STRING" + }, + { + "description": "", + "name": "owner", + "type": "STRING" + }, + { + "description": "", + "name": "assets", + "type": "STRING" + }, + { + "description": "", + "name": "shares", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_Deposit" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_EIP712DomainChanged.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_EIP712DomainChanged.json new file mode 100644 index 00000000..dce5a346 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_EIP712DomainChanged.json @@ -0,0 +1,19 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [], + "name": "EIP712DomainChanged", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [], + "table_description": "", + "table_name": "MetaMorpho_event_EIP712DomainChanged" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_OwnershipTransferStarted.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_OwnershipTransferStarted.json new file mode 100644 index 00000000..a170857c --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_OwnershipTransferStarted.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferStarted", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "previousOwner", + "type": "STRING" + }, + { + "description": "", + "name": "newOwner", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_OwnershipTransferStarted" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_OwnershipTransferred.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_OwnershipTransferred.json new file mode 100644 index 00000000..49bed3eb --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_OwnershipTransferred.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "previousOwner", + "type": "STRING" + }, + { + "description": "", + "name": "newOwner", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_OwnershipTransferred" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_ReallocateSupply.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_ReallocateSupply.json new file mode 100644 index 00000000..ac242180 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_ReallocateSupply.json @@ -0,0 +1,65 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "caller", + "type": "address" + }, + { + "indexed": true, + "internalType": "Id", + "name": "id", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "suppliedAssets", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "suppliedShares", + "type": "uint256" + } + ], + "name": "ReallocateSupply", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "caller", + "type": "STRING" + }, + { + "description": "", + "name": "id", + "type": "STRING" + }, + { + "description": "", + "name": "suppliedAssets", + "type": "STRING" + }, + { + "description": "", + "name": "suppliedShares", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_ReallocateSupply" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_ReallocateWithdraw.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_ReallocateWithdraw.json new file mode 100644 index 00000000..ac6f7e62 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_ReallocateWithdraw.json @@ -0,0 +1,65 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "caller", + "type": "address" + }, + { + "indexed": true, + "internalType": "Id", + "name": "id", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "withdrawnAssets", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "withdrawnShares", + "type": "uint256" + } + ], + "name": "ReallocateWithdraw", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "caller", + "type": "STRING" + }, + { + "description": "", + "name": "id", + "type": "STRING" + }, + { + "description": "", + "name": "withdrawnAssets", + "type": "STRING" + }, + { + "description": "", + "name": "withdrawnShares", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_ReallocateWithdraw" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingCap.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingCap.json new file mode 100644 index 00000000..af005c7a --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingCap.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "caller", + "type": "address" + }, + { + "indexed": true, + "internalType": "Id", + "name": "id", + "type": "bytes32" + } + ], + "name": "RevokePendingCap", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "caller", + "type": "STRING" + }, + { + "description": "", + "name": "id", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_RevokePendingCap" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingGuardian.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingGuardian.json new file mode 100644 index 00000000..9b7b60ad --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingGuardian.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "caller", + "type": "address" + } + ], + "name": "RevokePendingGuardian", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "caller", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_RevokePendingGuardian" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingMarketRemoval.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingMarketRemoval.json new file mode 100644 index 00000000..fd64dfe7 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingMarketRemoval.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "caller", + "type": "address" + }, + { + "indexed": true, + "internalType": "Id", + "name": "id", + "type": "bytes32" + } + ], + "name": "RevokePendingMarketRemoval", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "caller", + "type": "STRING" + }, + { + "description": "", + "name": "id", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_RevokePendingMarketRemoval" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingTimelock.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingTimelock.json new file mode 100644 index 00000000..91965fca --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_RevokePendingTimelock.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "caller", + "type": "address" + } + ], + "name": "RevokePendingTimelock", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "caller", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_RevokePendingTimelock" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetCap.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetCap.json new file mode 100644 index 00000000..b7c2405c --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetCap.json @@ -0,0 +1,54 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "caller", + "type": "address" + }, + { + "indexed": true, + "internalType": "Id", + "name": "id", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "cap", + "type": "uint256" + } + ], + "name": "SetCap", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "caller", + "type": "STRING" + }, + { + "description": "", + "name": "id", + "type": "STRING" + }, + { + "description": "", + "name": "cap", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_SetCap" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetCurator.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetCurator.json new file mode 100644 index 00000000..383dc65d --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetCurator.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "newCurator", + "type": "address" + } + ], + "name": "SetCurator", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "newCurator", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_SetCurator" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetFee.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetFee.json new file mode 100644 index 00000000..81b26c3a --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetFee.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "caller", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newFee", + "type": "uint256" + } + ], + "name": "SetFee", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "caller", + "type": "STRING" + }, + { + "description": "", + "name": "newFee", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_SetFee" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetFeeRecipient.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetFeeRecipient.json new file mode 100644 index 00000000..44a56b78 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetFeeRecipient.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "newFeeRecipient", + "type": "address" + } + ], + "name": "SetFeeRecipient", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "newFeeRecipient", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_SetFeeRecipient" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetGuardian.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetGuardian.json new file mode 100644 index 00000000..e3f9929d --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetGuardian.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "caller", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "guardian", + "type": "address" + } + ], + "name": "SetGuardian", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "caller", + "type": "STRING" + }, + { + "description": "", + "name": "guardian", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_SetGuardian" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetIsAllocator.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetIsAllocator.json new file mode 100644 index 00000000..a47fb39c --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetIsAllocator.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "allocator", + "type": "address" + }, + { + "indexed": false, + "internalType": "bool", + "name": "isAllocator", + "type": "bool" + } + ], + "name": "SetIsAllocator", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "allocator", + "type": "STRING" + }, + { + "description": "", + "name": "isAllocator", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_SetIsAllocator" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetSkimRecipient.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetSkimRecipient.json new file mode 100644 index 00000000..c0401b12 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetSkimRecipient.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "newSkimRecipient", + "type": "address" + } + ], + "name": "SetSkimRecipient", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "newSkimRecipient", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_SetSkimRecipient" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetSupplyQueue.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetSupplyQueue.json new file mode 100644 index 00000000..b9b46b95 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetSupplyQueue.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "caller", + "type": "address" + }, + { + "indexed": false, + "internalType": "Id[]", + "name": "newSupplyQueue", + "type": "bytes32[]" + } + ], + "name": "SetSupplyQueue", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "caller", + "type": "STRING" + }, + { + "description": "", + "name": "newSupplyQueue", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_SetSupplyQueue" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetTimelock.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetTimelock.json new file mode 100644 index 00000000..8bea3f8e --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetTimelock.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "caller", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newTimelock", + "type": "uint256" + } + ], + "name": "SetTimelock", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "caller", + "type": "STRING" + }, + { + "description": "", + "name": "newTimelock", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_SetTimelock" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetWithdrawQueue.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetWithdrawQueue.json new file mode 100644 index 00000000..8186a544 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SetWithdrawQueue.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "caller", + "type": "address" + }, + { + "indexed": false, + "internalType": "Id[]", + "name": "newWithdrawQueue", + "type": "bytes32[]" + } + ], + "name": "SetWithdrawQueue", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "caller", + "type": "STRING" + }, + { + "description": "", + "name": "newWithdrawQueue", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_SetWithdrawQueue" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Skim.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Skim.json new file mode 100644 index 00000000..0b226344 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Skim.json @@ -0,0 +1,54 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "caller", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Skim", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "caller", + "type": "STRING" + }, + { + "description": "", + "name": "token", + "type": "STRING" + }, + { + "description": "", + "name": "amount", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_Skim" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitCap.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitCap.json new file mode 100644 index 00000000..d59c82bf --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitCap.json @@ -0,0 +1,54 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "caller", + "type": "address" + }, + { + "indexed": true, + "internalType": "Id", + "name": "id", + "type": "bytes32" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "cap", + "type": "uint256" + } + ], + "name": "SubmitCap", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "caller", + "type": "STRING" + }, + { + "description": "", + "name": "id", + "type": "STRING" + }, + { + "description": "", + "name": "cap", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_SubmitCap" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitGuardian.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitGuardian.json new file mode 100644 index 00000000..ba781a0d --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitGuardian.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "newGuardian", + "type": "address" + } + ], + "name": "SubmitGuardian", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "newGuardian", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_SubmitGuardian" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitMarketRemoval.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitMarketRemoval.json new file mode 100644 index 00000000..eac61b64 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitMarketRemoval.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "caller", + "type": "address" + }, + { + "indexed": true, + "internalType": "Id", + "name": "id", + "type": "bytes32" + } + ], + "name": "SubmitMarketRemoval", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "caller", + "type": "STRING" + }, + { + "description": "", + "name": "id", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_SubmitMarketRemoval" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitTimelock.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitTimelock.json new file mode 100644 index 00000000..4faf31c7 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_SubmitTimelock.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "newTimelock", + "type": "uint256" + } + ], + "name": "SubmitTimelock", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "newTimelock", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_SubmitTimelock" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Transfer.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Transfer.json new file mode 100644 index 00000000..94ecfffc --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Transfer.json @@ -0,0 +1,54 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "from", + "type": "STRING" + }, + { + "description": "", + "name": "to", + "type": "STRING" + }, + { + "description": "", + "name": "value", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_Transfer" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_UpdateLastTotalAssets.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_UpdateLastTotalAssets.json new file mode 100644 index 00000000..98966fee --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_UpdateLastTotalAssets.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "updatedTotalAssets", + "type": "uint256" + } + ], + "name": "UpdateLastTotalAssets", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "updatedTotalAssets", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_UpdateLastTotalAssets" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Withdraw.json b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Withdraw.json new file mode 100644 index 00000000..0638d886 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/MetaMorpho_event_Withdraw.json @@ -0,0 +1,76 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "assets", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "shares", + "type": "uint256" + } + ], + "name": "Withdraw", + "type": "event" + }, + "contract_address": "SELECT metaMorpho FROM ref('MetaMorphoFactory_event_CreateMetaMorpho') group by metaMorpho", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "sender", + "type": "STRING" + }, + { + "description": "", + "name": "receiver", + "type": "STRING" + }, + { + "description": "", + "name": "owner", + "type": "STRING" + }, + { + "description": "", + "name": "assets", + "type": "STRING" + }, + { + "description": "", + "name": "shares", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "MetaMorpho_event_Withdraw" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Approval.json b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Approval.json new file mode 100644 index 00000000..0531f1ea --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Approval.json @@ -0,0 +1,54 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + "contract_address": "0x39dd7790e75c6f663731f7e1fdc0f35007d3879b", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "owner", + "type": "STRING" + }, + { + "description": "", + "name": "spender", + "type": "STRING" + }, + { + "description": "", + "name": "value", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "SupplyVault_event_Approval" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Deposit.json b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Deposit.json new file mode 100644 index 00000000..85c505d7 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Deposit.json @@ -0,0 +1,65 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "assets", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "shares", + "type": "uint256" + } + ], + "name": "Deposit", + "type": "event" + }, + "contract_address": "0x39dd7790e75c6f663731f7e1fdc0f35007d3879b", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "sender", + "type": "STRING" + }, + { + "description": "", + "name": "owner", + "type": "STRING" + }, + { + "description": "", + "name": "assets", + "type": "STRING" + }, + { + "description": "", + "name": "shares", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "SupplyVault_event_Deposit" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Initialized.json b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Initialized.json new file mode 100644 index 00000000..c82af8ae --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Initialized.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "version", + "type": "uint8" + } + ], + "name": "Initialized", + "type": "event" + }, + "contract_address": "0x39dd7790e75c6f663731f7e1fdc0f35007d3879b", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "version", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "SupplyVault_event_Initialized" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_MaxIterationsSet.json b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_MaxIterationsSet.json new file mode 100644 index 00000000..ec115703 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_MaxIterationsSet.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint96", + "name": "maxIterations", + "type": "uint96" + } + ], + "name": "MaxIterationsSet", + "type": "event" + }, + "contract_address": "0x39dd7790e75c6f663731f7e1fdc0f35007d3879b", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "maxIterations", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "SupplyVault_event_MaxIterationsSet" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_OwnershipTransferStarted.json b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_OwnershipTransferStarted.json new file mode 100644 index 00000000..0e424fdb --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_OwnershipTransferStarted.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferStarted", + "type": "event" + }, + "contract_address": "0x39dd7790e75c6f663731f7e1fdc0f35007d3879b", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "previousOwner", + "type": "STRING" + }, + { + "description": "", + "name": "newOwner", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "SupplyVault_event_OwnershipTransferStarted" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_OwnershipTransferred.json b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_OwnershipTransferred.json new file mode 100644 index 00000000..0020e412 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_OwnershipTransferred.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + "contract_address": "0x39dd7790e75c6f663731f7e1fdc0f35007d3879b", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "previousOwner", + "type": "STRING" + }, + { + "description": "", + "name": "newOwner", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "SupplyVault_event_OwnershipTransferred" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_RecipientSet.json b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_RecipientSet.json new file mode 100644 index 00000000..4cccf868 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_RecipientSet.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "recipient", + "type": "address" + } + ], + "name": "RecipientSet", + "type": "event" + }, + "contract_address": "0x39dd7790e75c6f663731f7e1fdc0f35007d3879b", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "recipient", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "SupplyVault_event_RecipientSet" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Skimmed.json b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Skimmed.json new file mode 100644 index 00000000..288edae6 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Skimmed.json @@ -0,0 +1,54 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "recipient", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Skimmed", + "type": "event" + }, + "contract_address": "0x39dd7790e75c6f663731f7e1fdc0f35007d3879b", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "token", + "type": "STRING" + }, + { + "description": "", + "name": "recipient", + "type": "STRING" + }, + { + "description": "", + "name": "amount", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "SupplyVault_event_Skimmed" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Transfer.json b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Transfer.json new file mode 100644 index 00000000..0083ecbb --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Transfer.json @@ -0,0 +1,54 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + "contract_address": "0x39dd7790e75c6f663731f7e1fdc0f35007d3879b", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "from", + "type": "STRING" + }, + { + "description": "", + "name": "to", + "type": "STRING" + }, + { + "description": "", + "name": "value", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "SupplyVault_event_Transfer" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Withdraw.json b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Withdraw.json new file mode 100644 index 00000000..629392ef --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/morpho/SupplyVault_event_Withdraw.json @@ -0,0 +1,76 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "assets", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "shares", + "type": "uint256" + } + ], + "name": "Withdraw", + "type": "event" + }, + "contract_address": "0x39dd7790e75c6f663731f7e1fdc0f35007d3879b", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "morpho", + "schema": [ + { + "description": "", + "name": "sender", + "type": "STRING" + }, + { + "description": "", + "name": "receiver", + "type": "STRING" + }, + { + "description": "", + "name": "owner", + "type": "STRING" + }, + { + "description": "", + "name": "assets", + "type": "STRING" + }, + { + "description": "", + "name": "shares", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "SupplyVault_event_Withdraw" + } +} \ No newline at end of file