diff --git a/airflow/dags/resources/stages/parse/table_definitions/equalizer/FlashLoanProvider_call_flashLoan.json b/airflow/dags/resources/stages/parse/table_definitions/equalizer/FlashLoanProvider_call_flashLoan.json new file mode 100644 index 0000000..1a3511f --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/equalizer/FlashLoanProvider_call_flashLoan.json @@ -0,0 +1,68 @@ +{ + "parser": { + "abi": { + "inputs": [ + { + "internalType": "contract IERC3156FlashBorrower", + "name": "receiver", + "type": "address" + }, + { + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "flashLoan", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + "contract_address": "0xbd332e2f7240487db5cab355a9cdd945fe2234c9", + "field_mapping": {}, + "type": "trace" + }, + "table": { + "dataset_name": "equalizer", + "schema": [ + { + "description": "", + "name": "receiver", + "type": "STRING" + }, + { + "description": "", + "name": "token", + "type": "STRING" + }, + { + "description": "", + "name": "amount", + "type": "STRING" + }, + { + "description": "", + "name": "data", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "FlashLoanProvider_call_flashLoan" + } +} \ No newline at end of file diff --git a/airflow/dags/resources/stages/parse/table_definitions/equalizer/FlashLoanProvider_event_FlashLoan.json b/airflow/dags/resources/stages/parse/table_definitions/equalizer/FlashLoanProvider_event_FlashLoan.json new file mode 100644 index 0000000..d988f36 --- /dev/null +++ b/airflow/dags/resources/stages/parse/table_definitions/equalizer/FlashLoanProvider_event_FlashLoan.json @@ -0,0 +1,76 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "fee", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "treasuryFee", + "type": "uint256" + } + ], + "name": "FlashLoan", + "type": "event" + }, + "contract_address": "0xbd332e2f7240487db5cab355a9cdd945fe2234c9", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "equalizer", + "schema": [ + { + "description": "", + "name": "receiver", + "type": "STRING" + }, + { + "description": "", + "name": "token", + "type": "STRING" + }, + { + "description": "", + "name": "amount", + "type": "STRING" + }, + { + "description": "", + "name": "fee", + "type": "STRING" + }, + { + "description": "", + "name": "treasuryFee", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "FlashLoanProvider_event_FlashLoan" + } +} \ No newline at end of file