From 37fafe69fd7dade20135cc074d3c8c30c57cafe8 Mon Sep 17 00:00:00 2001 From: katiebk <71089359+katiebk@users.noreply.github.com> Date: Tue, 22 Oct 2024 17:13:41 -0400 Subject: [PATCH] [Gauntlet] add puffer withdrawal manager events (#797) --- ...hdrawalManager_event_AuthorityUpdated.json | 32 +++++++++ ...ithdrawalManager_event_BatchFinalized.json | 65 +++++++++++++++++++ ...drawalManager_event_ExcessETHReturned.json | 43 ++++++++++++ ...erWithdrawalManager_event_Initialized.json | 32 +++++++++ ...ager_event_MaxWithdrawalAmountChanged.json | 43 ++++++++++++ ...ufferWithdrawalManager_event_Upgraded.json | 32 +++++++++ ...awalManager_event_WithdrawalCompleted.json | 65 +++++++++++++++++++ ...awalManager_event_WithdrawalRequested.json | 65 +++++++++++++++++++ 8 files changed, 377 insertions(+) create mode 100644 dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_AuthorityUpdated.json create mode 100644 dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_BatchFinalized.json create mode 100644 dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_ExcessETHReturned.json create mode 100644 dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_Initialized.json create mode 100644 dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_MaxWithdrawalAmountChanged.json create mode 100644 dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_Upgraded.json create mode 100644 dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_WithdrawalCompleted.json create mode 100644 dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_WithdrawalRequested.json diff --git a/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_AuthorityUpdated.json b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_AuthorityUpdated.json new file mode 100644 index 00000000..8eba703d --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_AuthorityUpdated.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "authority", + "type": "address" + } + ], + "name": "AuthorityUpdated", + "type": "event" + }, + "contract_address": "0xdda0483184e75a5579ef9635ed14baccf9d50283", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "puffer", + "schema": [ + { + "description": "", + "name": "authority", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "PufferWithdrawalManager_event_AuthorityUpdated" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_BatchFinalized.json b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_BatchFinalized.json new file mode 100644 index 00000000..a41e24ae --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_BatchFinalized.json @@ -0,0 +1,65 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "batchIdx", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "expectedETHAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "actualEthAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "pufETHBurnAmount", + "type": "uint256" + } + ], + "name": "BatchFinalized", + "type": "event" + }, + "contract_address": "0xdda0483184e75a5579ef9635ed14baccf9d50283", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "puffer", + "schema": [ + { + "description": "", + "name": "batchIdx", + "type": "STRING" + }, + { + "description": "", + "name": "expectedETHAmount", + "type": "STRING" + }, + { + "description": "", + "name": "actualEthAmount", + "type": "STRING" + }, + { + "description": "", + "name": "pufETHBurnAmount", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "PufferWithdrawalManager_event_BatchFinalized" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_ExcessETHReturned.json b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_ExcessETHReturned.json new file mode 100644 index 00000000..373c8813 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_ExcessETHReturned.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256[]", + "name": "batchIndices", + "type": "uint256[]" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "totalExcessETH", + "type": "uint256" + } + ], + "name": "ExcessETHReturned", + "type": "event" + }, + "contract_address": "0xdda0483184e75a5579ef9635ed14baccf9d50283", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "puffer", + "schema": [ + { + "description": "", + "name": "batchIndices", + "type": "STRING" + }, + { + "description": "", + "name": "totalExcessETH", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "PufferWithdrawalManager_event_ExcessETHReturned" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_Initialized.json b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_Initialized.json new file mode 100644 index 00000000..9adc33b8 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_Initialized.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint64", + "name": "version", + "type": "uint64" + } + ], + "name": "Initialized", + "type": "event" + }, + "contract_address": "0xdda0483184e75a5579ef9635ed14baccf9d50283", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "puffer", + "schema": [ + { + "description": "", + "name": "version", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "PufferWithdrawalManager_event_Initialized" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_MaxWithdrawalAmountChanged.json b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_MaxWithdrawalAmountChanged.json new file mode 100644 index 00000000..f70ccd0b --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_MaxWithdrawalAmountChanged.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "oldMaxWithdrawalAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newMaxWithdrawalAmount", + "type": "uint256" + } + ], + "name": "MaxWithdrawalAmountChanged", + "type": "event" + }, + "contract_address": "0xdda0483184e75a5579ef9635ed14baccf9d50283", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "puffer", + "schema": [ + { + "description": "", + "name": "oldMaxWithdrawalAmount", + "type": "STRING" + }, + { + "description": "", + "name": "newMaxWithdrawalAmount", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "PufferWithdrawalManager_event_MaxWithdrawalAmountChanged" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_Upgraded.json b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_Upgraded.json new file mode 100644 index 00000000..79de6313 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_Upgraded.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "Upgraded", + "type": "event" + }, + "contract_address": "0xdda0483184e75a5579ef9635ed14baccf9d50283", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "puffer", + "schema": [ + { + "description": "", + "name": "implementation", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "PufferWithdrawalManager_event_Upgraded" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_WithdrawalCompleted.json b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_WithdrawalCompleted.json new file mode 100644 index 00000000..c41477af --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_WithdrawalCompleted.json @@ -0,0 +1,65 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "withdrawalIdx", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "ethPayoutAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "payoutExchangeRate", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "recipient", + "type": "address" + } + ], + "name": "WithdrawalCompleted", + "type": "event" + }, + "contract_address": "0xdda0483184e75a5579ef9635ed14baccf9d50283", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "puffer", + "schema": [ + { + "description": "", + "name": "withdrawalIdx", + "type": "STRING" + }, + { + "description": "", + "name": "ethPayoutAmount", + "type": "STRING" + }, + { + "description": "", + "name": "payoutExchangeRate", + "type": "STRING" + }, + { + "description": "", + "name": "recipient", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "PufferWithdrawalManager_event_WithdrawalCompleted" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_WithdrawalRequested.json b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_WithdrawalRequested.json new file mode 100644 index 00000000..d2bb0f21 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/puffer/PufferWithdrawalManager_event_WithdrawalRequested.json @@ -0,0 +1,65 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "uint256", + "name": "withdrawalIdx", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "batchIdx", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "pufETHAmount", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "address", + "name": "recipient", + "type": "address" + } + ], + "name": "WithdrawalRequested", + "type": "event" + }, + "contract_address": "0xdda0483184e75a5579ef9635ed14baccf9d50283", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "puffer", + "schema": [ + { + "description": "", + "name": "withdrawalIdx", + "type": "STRING" + }, + { + "description": "", + "name": "batchIdx", + "type": "STRING" + }, + { + "description": "", + "name": "pufETHAmount", + "type": "STRING" + }, + { + "description": "", + "name": "recipient", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "PufferWithdrawalManager_event_WithdrawalRequested" + } +} \ No newline at end of file