From 72d6788ab2da09c2203f7be2b6a590242d7b8fe5 Mon Sep 17 00:00:00 2001 From: Onur Erkin Sucu <27698003+onurerkin@users.noreply.github.com> Date: Tue, 27 Feb 2024 11:33:59 -0500 Subject: [PATCH] add kelp dao events (#674) --- .../LRTDepositPool_event_AssetDeposit.json | 76 +++++++++++++++++++ .../LRTDepositPool_event_ETHDeposit.json | 65 ++++++++++++++++ ...LRTDepositPool_event_ETHSwappedForLST.json | 54 +++++++++++++ .../LRTDepositPool_event_Initialized.json | 32 ++++++++ ...ol_event_MaxNodeDelegatorLimitUpdated.json | 32 ++++++++ ...tPool_event_MinAmountToDepositUpdated.json | 32 ++++++++ ...tPool_event_NodeDelegatorAddedinQueue.json | 32 ++++++++ ...l_event_NodeDelegatorRemovedFromQueue.json | 32 ++++++++ .../kelpdao/LRTDepositPool_event_Paused.json | 32 ++++++++ .../LRTDepositPool_event_Unpaused.json | 32 ++++++++ ...LRTDepositPool_event_UpdatedLRTConfig.json | 32 ++++++++ 11 files changed, 451 insertions(+) create mode 100644 dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_AssetDeposit.json create mode 100644 dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_ETHDeposit.json create mode 100644 dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_ETHSwappedForLST.json create mode 100644 dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_Initialized.json create mode 100644 dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_MaxNodeDelegatorLimitUpdated.json create mode 100644 dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_MinAmountToDepositUpdated.json create mode 100644 dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_NodeDelegatorAddedinQueue.json create mode 100644 dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_NodeDelegatorRemovedFromQueue.json create mode 100644 dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_Paused.json create mode 100644 dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_Unpaused.json create mode 100644 dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_UpdatedLRTConfig.json diff --git a/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_AssetDeposit.json b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_AssetDeposit.json new file mode 100644 index 00000000..f1560fad --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_AssetDeposit.json @@ -0,0 +1,76 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "depositor", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "depositAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "rsethMintAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "referralId", + "type": "string" + } + ], + "name": "AssetDeposit", + "type": "event" + }, + "contract_address": "0x036676389e48133b63a802f8635ad39e752d375d", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "kelpdao", + "schema": [ + { + "description": "", + "name": "depositor", + "type": "STRING" + }, + { + "description": "", + "name": "asset", + "type": "STRING" + }, + { + "description": "", + "name": "depositAmount", + "type": "STRING" + }, + { + "description": "", + "name": "rsethMintAmount", + "type": "STRING" + }, + { + "description": "", + "name": "referralId", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "LRTDepositPool_event_AssetDeposit" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_ETHDeposit.json b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_ETHDeposit.json new file mode 100644 index 00000000..e82bf11b --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_ETHDeposit.json @@ -0,0 +1,65 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "depositor", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "depositAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "rsethMintAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "referralId", + "type": "string" + } + ], + "name": "ETHDeposit", + "type": "event" + }, + "contract_address": "0x036676389e48133b63a802f8635ad39e752d375d", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "kelpdao", + "schema": [ + { + "description": "", + "name": "depositor", + "type": "STRING" + }, + { + "description": "", + "name": "depositAmount", + "type": "STRING" + }, + { + "description": "", + "name": "rsethMintAmount", + "type": "STRING" + }, + { + "description": "", + "name": "referralId", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "LRTDepositPool_event_ETHDeposit" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_ETHSwappedForLST.json b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_ETHSwappedForLST.json new file mode 100644 index 00000000..e3feec67 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_ETHSwappedForLST.json @@ -0,0 +1,54 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "ethAmount", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "toAsset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "returnAmount", + "type": "uint256" + } + ], + "name": "ETHSwappedForLST", + "type": "event" + }, + "contract_address": "0x036676389e48133b63a802f8635ad39e752d375d", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "kelpdao", + "schema": [ + { + "description": "", + "name": "ethAmount", + "type": "STRING" + }, + { + "description": "", + "name": "toAsset", + "type": "STRING" + }, + { + "description": "", + "name": "returnAmount", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "LRTDepositPool_event_ETHSwappedForLST" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_Initialized.json b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_Initialized.json new file mode 100644 index 00000000..1bd11e3a --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_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": "0x036676389e48133b63a802f8635ad39e752d375d", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "kelpdao", + "schema": [ + { + "description": "", + "name": "version", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "LRTDepositPool_event_Initialized" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_MaxNodeDelegatorLimitUpdated.json b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_MaxNodeDelegatorLimitUpdated.json new file mode 100644 index 00000000..9798d3f5 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_MaxNodeDelegatorLimitUpdated.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "maxNodeDelegatorLimit", + "type": "uint256" + } + ], + "name": "MaxNodeDelegatorLimitUpdated", + "type": "event" + }, + "contract_address": "0x036676389e48133b63a802f8635ad39e752d375d", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "kelpdao", + "schema": [ + { + "description": "", + "name": "maxNodeDelegatorLimit", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "LRTDepositPool_event_MaxNodeDelegatorLimitUpdated" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_MinAmountToDepositUpdated.json b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_MinAmountToDepositUpdated.json new file mode 100644 index 00000000..d473a283 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_MinAmountToDepositUpdated.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "minAmountToDeposit", + "type": "uint256" + } + ], + "name": "MinAmountToDepositUpdated", + "type": "event" + }, + "contract_address": "0x036676389e48133b63a802f8635ad39e752d375d", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "kelpdao", + "schema": [ + { + "description": "", + "name": "minAmountToDeposit", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "LRTDepositPool_event_MinAmountToDepositUpdated" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_NodeDelegatorAddedinQueue.json b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_NodeDelegatorAddedinQueue.json new file mode 100644 index 00000000..56f16a2b --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_NodeDelegatorAddedinQueue.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address[]", + "name": "nodeDelegatorContracts", + "type": "address[]" + } + ], + "name": "NodeDelegatorAddedinQueue", + "type": "event" + }, + "contract_address": "0x036676389e48133b63a802f8635ad39e752d375d", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "kelpdao", + "schema": [ + { + "description": "", + "name": "nodeDelegatorContracts", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "LRTDepositPool_event_NodeDelegatorAddedinQueue" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_NodeDelegatorRemovedFromQueue.json b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_NodeDelegatorRemovedFromQueue.json new file mode 100644 index 00000000..521787ee --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_NodeDelegatorRemovedFromQueue.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "nodeDelegatorContracts", + "type": "address" + } + ], + "name": "NodeDelegatorRemovedFromQueue", + "type": "event" + }, + "contract_address": "0x036676389e48133b63a802f8635ad39e752d375d", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "kelpdao", + "schema": [ + { + "description": "", + "name": "nodeDelegatorContracts", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "LRTDepositPool_event_NodeDelegatorRemovedFromQueue" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_Paused.json b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_Paused.json new file mode 100644 index 00000000..78e59405 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_Paused.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "Paused", + "type": "event" + }, + "contract_address": "0x036676389e48133b63a802f8635ad39e752d375d", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "kelpdao", + "schema": [ + { + "description": "", + "name": "account", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "LRTDepositPool_event_Paused" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_Unpaused.json b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_Unpaused.json new file mode 100644 index 00000000..ebaefa2a --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_Unpaused.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "Unpaused", + "type": "event" + }, + "contract_address": "0x036676389e48133b63a802f8635ad39e752d375d", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "kelpdao", + "schema": [ + { + "description": "", + "name": "account", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "LRTDepositPool_event_Unpaused" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_UpdatedLRTConfig.json b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_UpdatedLRTConfig.json new file mode 100644 index 00000000..b1a413bd --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/kelpdao/LRTDepositPool_event_UpdatedLRTConfig.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "lrtConfig", + "type": "address" + } + ], + "name": "UpdatedLRTConfig", + "type": "event" + }, + "contract_address": "0x036676389e48133b63a802f8635ad39e752d375d", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "kelpdao", + "schema": [ + { + "description": "", + "name": "lrtConfig", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "LRTDepositPool_event_UpdatedLRTConfig" + } +} \ No newline at end of file