From f2d41fadbf69822e707e8897eed0593554fd63c5 Mon Sep 17 00:00:00 2001 From: katiebk <71089359+katiebk@users.noreply.github.com> Date: Wed, 16 Oct 2024 12:55:27 -0400 Subject: [PATCH] [Gauntlet] Update kelpdao withdrawal events (#794) * add * update * update table names --- ...alManager_event_AssetUnlocked_Upgrade.json | 76 +++++++++++++++++++ ...nt_MinAmountToWithdrawUpdated_Upgrade.json | 43 +++++++++++ ...drawalManager_event_ReferralIdEmitted.json | 32 ++++++++ 3 files changed, 151 insertions(+) create mode 100644 dags/resources/stages/parse/table_definitions/kelpdao/LRTWithdrawalManager_event_AssetUnlocked_Upgrade.json create mode 100644 dags/resources/stages/parse/table_definitions/kelpdao/LRTWithdrawalManager_event_MinAmountToWithdrawUpdated_Upgrade.json create mode 100644 dags/resources/stages/parse/table_definitions/kelpdao/LRTWithdrawalManager_event_ReferralIdEmitted.json diff --git a/dags/resources/stages/parse/table_definitions/kelpdao/LRTWithdrawalManager_event_AssetUnlocked_Upgrade.json b/dags/resources/stages/parse/table_definitions/kelpdao/LRTWithdrawalManager_event_AssetUnlocked_Upgrade.json new file mode 100644 index 00000000..95e1f7a4 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/kelpdao/LRTWithdrawalManager_event_AssetUnlocked_Upgrade.json @@ -0,0 +1,76 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "rsEthAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "assetAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "rsEThPrice", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "assetPrice", + "type": "uint256" + } + ], + "name": "AssetUnlocked", + "type": "event" + }, + "contract_address": "0x62de59c08eb5dae4b7e6f7a8cad3006d6965ec16", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "kelpdao", + "schema": [ + { + "description": "", + "name": "asset", + "type": "STRING" + }, + { + "description": "", + "name": "rsEthAmount", + "type": "STRING" + }, + { + "description": "", + "name": "assetAmount", + "type": "STRING" + }, + { + "description": "", + "name": "rsEThPrice", + "type": "STRING" + }, + { + "description": "", + "name": "assetPrice", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "LRTWithdrawalManager_event_AssetUnlocked_Upgrade" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/kelpdao/LRTWithdrawalManager_event_MinAmountToWithdrawUpdated_Upgrade.json b/dags/resources/stages/parse/table_definitions/kelpdao/LRTWithdrawalManager_event_MinAmountToWithdrawUpdated_Upgrade.json new file mode 100644 index 00000000..221b1aa2 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/kelpdao/LRTWithdrawalManager_event_MinAmountToWithdrawUpdated_Upgrade.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "minRsEthAmountToWithdraw", + "type": "uint256" + } + ], + "name": "MinAmountToWithdrawUpdated", + "type": "event" + }, + "contract_address": "0x62de59c08eb5dae4b7e6f7a8cad3006d6965ec16", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "kelpdao", + "schema": [ + { + "description": "", + "name": "asset", + "type": "STRING" + }, + { + "description": "", + "name": "minRsEthAmountToWithdraw", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "LRTWithdrawalManager_event_MinAmountToWithdrawUpdated_Upgrade" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/kelpdao/LRTWithdrawalManager_event_ReferralIdEmitted.json b/dags/resources/stages/parse/table_definitions/kelpdao/LRTWithdrawalManager_event_ReferralIdEmitted.json new file mode 100644 index 00000000..66557c49 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/kelpdao/LRTWithdrawalManager_event_ReferralIdEmitted.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "string", + "name": "referralId", + "type": "string" + } + ], + "name": "ReferralIdEmitted", + "type": "event" + }, + "contract_address": "0x62de59c08eb5dae4b7e6f7a8cad3006d6965ec16", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "kelpdao", + "schema": [ + { + "description": "", + "name": "referralId", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "LRTWithdrawalManager_event_ReferralIdEmitted" + } +} \ No newline at end of file