diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Bridge_event_OwnershipTransferred.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Bridge_event_OwnershipTransferred.json new file mode 100644 index 00000000..e380ca4b --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Bridge_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": "0x296f55f8fb28e498b858d0bcda06d955b2cb3f97", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "previousOwner", + "type": "STRING" + }, + { + "description": "", + "name": "newOwner", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Bridge_event_OwnershipTransferred" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Bridge_event_SendMsg.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Bridge_event_SendMsg.json new file mode 100644 index 00000000..3c507877 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Bridge_event_SendMsg.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "msgType", + "type": "uint8" + }, + { + "indexed": false, + "internalType": "uint64", + "name": "nonce", + "type": "uint64" + } + ], + "name": "SendMsg", + "type": "event" + }, + "contract_address": "0x296f55f8fb28e498b858d0bcda06d955b2cb3f97", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "msgType", + "type": "STRING" + }, + { + "description": "", + "name": "nonce", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Bridge_event_SendMsg" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_Approval.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_Approval.json new file mode 100644 index 00000000..1d8b8df6 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_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 * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "owner", + "type": "STRING" + }, + { + "description": "", + "name": "spender", + "type": "STRING" + }, + { + "description": "", + "name": "value", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_Approval" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_Burn.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_Burn.json new file mode 100644 index 00000000..1389b03f --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_Burn.json @@ -0,0 +1,54 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountLP", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountSD", + "type": "uint256" + } + ], + "name": "Burn", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "from", + "type": "STRING" + }, + { + "description": "", + "name": "amountLP", + "type": "STRING" + }, + { + "description": "", + "name": "amountSD", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_Burn" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_ChainPathUpdate.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_ChainPathUpdate.json new file mode 100644 index 00000000..5fe0f204 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_ChainPathUpdate.json @@ -0,0 +1,54 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint16", + "name": "dstChainId", + "type": "uint16" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "dstPoolId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "weight", + "type": "uint256" + } + ], + "name": "ChainPathUpdate", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "dstChainId", + "type": "STRING" + }, + { + "description": "", + "name": "dstPoolId", + "type": "STRING" + }, + { + "description": "", + "name": "weight", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_ChainPathUpdate" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_CreditChainPath.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_CreditChainPath.json new file mode 100644 index 00000000..88ca5b7e --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_CreditChainPath.json @@ -0,0 +1,65 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint16", + "name": "chainId", + "type": "uint16" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "srcPoolId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountSD", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "idealBalance", + "type": "uint256" + } + ], + "name": "CreditChainPath", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "chainId", + "type": "STRING" + }, + { + "description": "", + "name": "srcPoolId", + "type": "STRING" + }, + { + "description": "", + "name": "amountSD", + "type": "STRING" + }, + { + "description": "", + "name": "idealBalance", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_CreditChainPath" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_DeltaParamUpdated.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_DeltaParamUpdated.json new file mode 100644 index 00000000..c10b2d30 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_DeltaParamUpdated.json @@ -0,0 +1,76 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bool", + "name": "batched", + "type": "bool" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "swapDeltaBP", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "lpDeltaBP", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bool", + "name": "defaultSwapMode", + "type": "bool" + }, + { + "indexed": false, + "internalType": "bool", + "name": "defaultLPMode", + "type": "bool" + } + ], + "name": "DeltaParamUpdated", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "batched", + "type": "STRING" + }, + { + "description": "", + "name": "swapDeltaBP", + "type": "STRING" + }, + { + "description": "", + "name": "lpDeltaBP", + "type": "STRING" + }, + { + "description": "", + "name": "defaultSwapMode", + "type": "STRING" + }, + { + "description": "", + "name": "defaultLPMode", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_DeltaParamUpdated" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_FeeLibraryUpdated.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_FeeLibraryUpdated.json new file mode 100644 index 00000000..f0dd10b2 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_FeeLibraryUpdated.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "feeLibraryAddr", + "type": "address" + } + ], + "name": "FeeLibraryUpdated", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "feeLibraryAddr", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_FeeLibraryUpdated" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_FeesUpdated.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_FeesUpdated.json new file mode 100644 index 00000000..8de56f9b --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_FeesUpdated.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "mintFeeBP", + "type": "uint256" + } + ], + "name": "FeesUpdated", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "mintFeeBP", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_FeesUpdated" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_InstantRedeemLocal.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_InstantRedeemLocal.json new file mode 100644 index 00000000..415b1b97 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_InstantRedeemLocal.json @@ -0,0 +1,65 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountLP", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountSD", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "InstantRedeemLocal", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "from", + "type": "STRING" + }, + { + "description": "", + "name": "amountLP", + "type": "STRING" + }, + { + "description": "", + "name": "amountSD", + "type": "STRING" + }, + { + "description": "", + "name": "to", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_InstantRedeemLocal" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_Mint.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_Mint.json new file mode 100644 index 00000000..fc896185 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_Mint.json @@ -0,0 +1,65 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountLP", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountSD", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "mintFeeAmountSD", + "type": "uint256" + } + ], + "name": "Mint", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "to", + "type": "STRING" + }, + { + "description": "", + "name": "amountLP", + "type": "STRING" + }, + { + "description": "", + "name": "amountSD", + "type": "STRING" + }, + { + "description": "", + "name": "mintFeeAmountSD", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_Mint" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_RedeemLocal.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_RedeemLocal.json new file mode 100644 index 00000000..659439e3 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_RedeemLocal.json @@ -0,0 +1,87 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountLP", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountSD", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint16", + "name": "chainId", + "type": "uint16" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "dstPoolId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "to", + "type": "bytes" + } + ], + "name": "RedeemLocal", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "from", + "type": "STRING" + }, + { + "description": "", + "name": "amountLP", + "type": "STRING" + }, + { + "description": "", + "name": "amountSD", + "type": "STRING" + }, + { + "description": "", + "name": "chainId", + "type": "STRING" + }, + { + "description": "", + "name": "dstPoolId", + "type": "STRING" + }, + { + "description": "", + "name": "to", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_RedeemLocal" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_RedeemLocalCallback.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_RedeemLocalCallback.json new file mode 100644 index 00000000..5a3895ea --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_RedeemLocalCallback.json @@ -0,0 +1,54 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amountSD", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amountToMintSD", + "type": "uint256" + } + ], + "name": "RedeemLocalCallback", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "_to", + "type": "STRING" + }, + { + "description": "", + "name": "_amountSD", + "type": "STRING" + }, + { + "description": "", + "name": "_amountToMintSD", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_RedeemLocalCallback" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_RedeemRemote.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_RedeemRemote.json new file mode 100644 index 00000000..0c9d5202 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_RedeemRemote.json @@ -0,0 +1,76 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint16", + "name": "chainId", + "type": "uint16" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "dstPoolId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountLP", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountSD", + "type": "uint256" + } + ], + "name": "RedeemRemote", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "chainId", + "type": "STRING" + }, + { + "description": "", + "name": "dstPoolId", + "type": "STRING" + }, + { + "description": "", + "name": "from", + "type": "STRING" + }, + { + "description": "", + "name": "amountLP", + "type": "STRING" + }, + { + "description": "", + "name": "amountSD", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_RedeemRemote" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_SendCredits.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_SendCredits.json new file mode 100644 index 00000000..3073f546 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_SendCredits.json @@ -0,0 +1,65 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint16", + "name": "dstChainId", + "type": "uint16" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "dstPoolId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "credits", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "idealBalance", + "type": "uint256" + } + ], + "name": "SendCredits", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "dstChainId", + "type": "STRING" + }, + { + "description": "", + "name": "dstPoolId", + "type": "STRING" + }, + { + "description": "", + "name": "credits", + "type": "STRING" + }, + { + "description": "", + "name": "idealBalance", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_SendCredits" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_StopSwapUpdated.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_StopSwapUpdated.json new file mode 100644 index 00000000..5ade2dd7 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_StopSwapUpdated.json @@ -0,0 +1,32 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bool", + "name": "swapStop", + "type": "bool" + } + ], + "name": "StopSwapUpdated", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "swapStop", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_StopSwapUpdated" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_Swap.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_Swap.json new file mode 100644 index 00000000..eb581229 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_Swap.json @@ -0,0 +1,109 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint16", + "name": "chainId", + "type": "uint16" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "dstPoolId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountSD", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "eqReward", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "eqFee", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "protocolFee", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "lpFee", + "type": "uint256" + } + ], + "name": "Swap", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "chainId", + "type": "STRING" + }, + { + "description": "", + "name": "dstPoolId", + "type": "STRING" + }, + { + "description": "", + "name": "from", + "type": "STRING" + }, + { + "description": "", + "name": "amountSD", + "type": "STRING" + }, + { + "description": "", + "name": "eqReward", + "type": "STRING" + }, + { + "description": "", + "name": "eqFee", + "type": "STRING" + }, + { + "description": "", + "name": "protocolFee", + "type": "STRING" + }, + { + "description": "", + "name": "lpFee", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_Swap" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_SwapRemote.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_SwapRemote.json new file mode 100644 index 00000000..e9fa2829 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_SwapRemote.json @@ -0,0 +1,65 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountSD", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "protocolFee", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "dstFee", + "type": "uint256" + } + ], + "name": "SwapRemote", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "to", + "type": "STRING" + }, + { + "description": "", + "name": "amountSD", + "type": "STRING" + }, + { + "description": "", + "name": "protocolFee", + "type": "STRING" + }, + { + "description": "", + "name": "dstFee", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_SwapRemote" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_Transfer.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_Transfer.json new file mode 100644 index 00000000..b8e2951d --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_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 * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "from", + "type": "STRING" + }, + { + "description": "", + "name": "to", + "type": "STRING" + }, + { + "description": "", + "name": "value", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_Transfer" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_WithdrawMintFeeBalance.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_WithdrawMintFeeBalance.json new file mode 100644 index 00000000..9555bb79 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_WithdrawMintFeeBalance.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountSD", + "type": "uint256" + } + ], + "name": "WithdrawMintFeeBalance", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "to", + "type": "STRING" + }, + { + "description": "", + "name": "amountSD", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_WithdrawMintFeeBalance" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_WithdrawProtocolFeeBalance.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_WithdrawProtocolFeeBalance.json new file mode 100644 index 00000000..3ec7d44f --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_WithdrawProtocolFeeBalance.json @@ -0,0 +1,43 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountSD", + "type": "uint256" + } + ], + "name": "WithdrawProtocolFeeBalance", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "to", + "type": "STRING" + }, + { + "description": "", + "name": "amountSD", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_WithdrawProtocolFeeBalance" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_WithdrawRemote.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_WithdrawRemote.json new file mode 100644 index 00000000..444f9a28 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Pool_event_WithdrawRemote.json @@ -0,0 +1,65 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint16", + "name": "srcChainId", + "type": "uint16" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "srcPoolId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "swapAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "mintAmount", + "type": "uint256" + } + ], + "name": "WithdrawRemote", + "type": "event" + }, + "contract_address": "SELECT * FROM UNNEST(['0x101816545f6bd2b1076434b54383a1e633390a2e', '0x101816545f6bd2b1076434b54383a1e633390a2e', '0xdf0770df86a8034b3efef0a1bb3c889b8332ff56', '0x38ea452219524bb87e18de1c24d3bb59510bd783', '0x692953e758c3669290cb1677180c64183cee374e', '0x0faf1d2d3ced330824de3b8200fc8dc6e397850d', '0xfa0f307783ac21c39e939acff795e27b650f6e68', '0x590d4f8a68583639f215f675f3a259ed84790580', '0xe8f55368c82d38bbbbdb5533e7f56afc2e978cc2', '0x9cef9a0b1be0d289ac9f4a98ff317c33eaa84eb8', '0xd8772edbf88bba2667ed011542343b0eddacda47', '0x430ebff5e3e80a6c58e7e6ada1d90f5c28aa116d'])", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "srcChainId", + "type": "STRING" + }, + { + "description": "", + "name": "srcPoolId", + "type": "STRING" + }, + { + "description": "", + "name": "swapAmount", + "type": "STRING" + }, + { + "description": "", + "name": "mintAmount", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Pool_event_WithdrawRemote" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Router_event_CachedSwapSaved.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Router_event_CachedSwapSaved.json new file mode 100644 index 00000000..fed28502 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Router_event_CachedSwapSaved.json @@ -0,0 +1,109 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint16", + "name": "chainId", + "type": "uint16" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "srcAddress", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "nonce", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountLD", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "payload", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "reason", + "type": "bytes" + } + ], + "name": "CachedSwapSaved", + "type": "event" + }, + "contract_address": "0x8731d54e9d02c286767d56ac03e8037c07e01e98", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "chainId", + "type": "STRING" + }, + { + "description": "", + "name": "srcAddress", + "type": "STRING" + }, + { + "description": "", + "name": "nonce", + "type": "STRING" + }, + { + "description": "", + "name": "token", + "type": "STRING" + }, + { + "description": "", + "name": "amountLD", + "type": "STRING" + }, + { + "description": "", + "name": "to", + "type": "STRING" + }, + { + "description": "", + "name": "payload", + "type": "STRING" + }, + { + "description": "", + "name": "reason", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Router_event_CachedSwapSaved" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Router_event_OwnershipTransferred.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Router_event_OwnershipTransferred.json new file mode 100644 index 00000000..9295f3b7 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Router_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": "0x8731d54e9d02c286767d56ac03e8037c07e01e98", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "previousOwner", + "type": "STRING" + }, + { + "description": "", + "name": "newOwner", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Router_event_OwnershipTransferred" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Router_event_RedeemLocalCallback.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Router_event_RedeemLocalCallback.json new file mode 100644 index 00000000..6af136bf --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Router_event_RedeemLocalCallback.json @@ -0,0 +1,109 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint16", + "name": "srcChainId", + "type": "uint16" + }, + { + "indexed": true, + "internalType": "bytes", + "name": "srcAddress", + "type": "bytes" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "nonce", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "srcPoolId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "dstPoolId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amountSD", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "mintAmountSD", + "type": "uint256" + } + ], + "name": "RedeemLocalCallback", + "type": "event" + }, + "contract_address": "0x8731d54e9d02c286767d56ac03e8037c07e01e98", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "srcChainId", + "type": "STRING" + }, + { + "description": "", + "name": "srcAddress", + "type": "STRING" + }, + { + "description": "", + "name": "nonce", + "type": "STRING" + }, + { + "description": "", + "name": "srcPoolId", + "type": "STRING" + }, + { + "description": "", + "name": "dstPoolId", + "type": "STRING" + }, + { + "description": "", + "name": "to", + "type": "STRING" + }, + { + "description": "", + "name": "amountSD", + "type": "STRING" + }, + { + "description": "", + "name": "mintAmountSD", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Router_event_RedeemLocalCallback" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Router_event_Revert.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Router_event_Revert.json new file mode 100644 index 00000000..8885e0b1 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Router_event_Revert.json @@ -0,0 +1,65 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint8", + "name": "bridgeFunctionType", + "type": "uint8" + }, + { + "indexed": false, + "internalType": "uint16", + "name": "chainId", + "type": "uint16" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "srcAddress", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "nonce", + "type": "uint256" + } + ], + "name": "Revert", + "type": "event" + }, + "contract_address": "0x8731d54e9d02c286767d56ac03e8037c07e01e98", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "bridgeFunctionType", + "type": "STRING" + }, + { + "description": "", + "name": "chainId", + "type": "STRING" + }, + { + "description": "", + "name": "srcAddress", + "type": "STRING" + }, + { + "description": "", + "name": "nonce", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Router_event_Revert" + } +} \ No newline at end of file diff --git a/dags/resources/stages/parse/table_definitions/stargate_finance/Router_event_RevertRedeemLocal.json b/dags/resources/stages/parse/table_definitions/stargate_finance/Router_event_RevertRedeemLocal.json new file mode 100644 index 00000000..dbbab752 --- /dev/null +++ b/dags/resources/stages/parse/table_definitions/stargate_finance/Router_event_RevertRedeemLocal.json @@ -0,0 +1,109 @@ +{ + "parser": { + "abi": { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint16", + "name": "srcChainId", + "type": "uint16" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_srcPoolId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_dstPoolId", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "to", + "type": "bytes" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "redeemAmountSD", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "mintAmountSD", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "uint256", + "name": "nonce", + "type": "uint256" + }, + { + "indexed": true, + "internalType": "bytes", + "name": "srcAddress", + "type": "bytes" + } + ], + "name": "RevertRedeemLocal", + "type": "event" + }, + "contract_address": "0x8731d54e9d02c286767d56ac03e8037c07e01e98", + "field_mapping": {}, + "type": "log" + }, + "table": { + "dataset_name": "stargate_finance", + "schema": [ + { + "description": "", + "name": "srcChainId", + "type": "STRING" + }, + { + "description": "", + "name": "_srcPoolId", + "type": "STRING" + }, + { + "description": "", + "name": "_dstPoolId", + "type": "STRING" + }, + { + "description": "", + "name": "to", + "type": "STRING" + }, + { + "description": "", + "name": "redeemAmountSD", + "type": "STRING" + }, + { + "description": "", + "name": "mintAmountSD", + "type": "STRING" + }, + { + "description": "", + "name": "nonce", + "type": "STRING" + }, + { + "description": "", + "name": "srcAddress", + "type": "STRING" + } + ], + "table_description": "", + "table_name": "Router_event_RevertRedeemLocal" + } +} \ No newline at end of file