From c0e75d516b0f3bfd232a31b6838a212746f8597a Mon Sep 17 00:00:00 2001 From: yuunlimm Date: Thu, 24 Oct 2024 12:49:08 -0700 Subject: [PATCH] generate expected db output for existing events processor --- .../events_processor/999929475/events.json | 145 +++++++++++++++++ .../999929475/coin_supply.json | 10 ++ .../current_fungible_asset_balances.json | 90 +++++++++++ .../999929475/fungible_asset_activities.json | 146 ++++++++++++++++++ .../999929475/fungible_asset_balances.json | 98 ++++++++++++ .../999929475/fungible_asset_metadata.json | 53 +++++++ .../999929475/token_activities_v2.json} | 0 .../token_v2_processor_1255836496.json | 1 - .../token_v2_processor_278556781.json | 1 - .../token_v2_processor_5523474016.json | 1 - .../token_v2_processor_5979639459.json | 1 - .../token_v2_processor_5992795934.json | 1 - 12 files changed, 542 insertions(+), 5 deletions(-) create mode 100644 rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/999929475/events.json create mode 100644 rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/coin_supply.json create mode 100644 rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/current_fungible_asset_balances.json create mode 100644 rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_activities.json create mode 100644 rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_balances.json create mode 100644 rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_metadata.json rename rust/integration-tests/expected_db_output_files/{imported_testnet_txns/token_v2_processor/token_v2_processor_1.json => imported_mainnet_txns/token_v2_processor/999929475/token_activities_v2.json} (100%) delete mode 100644 rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_1255836496.json delete mode 100644 rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_278556781.json delete mode 100644 rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_5523474016.json delete mode 100644 rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_5979639459.json delete mode 100644 rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_5992795934.json diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/999929475/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/999929475/events.json new file mode 100644 index 000000000..979013be2 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/999929475/events.json @@ -0,0 +1,145 @@ +[ + { + "sequence_number": 88, + "creation_number": 3, + "account_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", + "transaction_version": 999929475, + "transaction_block_height": 194508912, + "type_": "0x1::coin::WithdrawEvent", + "data": { + "amount": "2333720700" + }, + "indexed_type": "0x1::coin::WithdrawEvent", + "event_index": 0 + }, + { + "sequence_number": 1357171, + "creation_number": 2, + "account_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", + "transaction_version": 999929475, + "transaction_block_height": 194508912, + "type_": "0x1::coin::DepositEvent", + "data": { + "amount": "2333720700" + }, + "indexed_type": "0x1::coin::DepositEvent", + "event_index": 1 + }, + { + "sequence_number": 0, + "creation_number": 0, + "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", + "transaction_version": 999929475, + "transaction_block_height": 194508912, + "type_": "0x1::fungible_asset::Deposit", + "data": { + "store": "0x9120a6a57b1463607f27c140b3a8c5542c74a2411d632eb6f25bab0b40a987a4", + "amount": "2331386980" + }, + "indexed_type": "0x1::fungible_asset::Deposit", + "event_index": 2 + }, + { + "sequence_number": 0, + "creation_number": 0, + "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", + "transaction_version": 999929475, + "transaction_block_height": 194508912, + "type_": "0x1::fungible_asset::Deposit", + "data": { + "store": "0x97325d3a5abbfe422b8dece076302efd20c0a2dc5c2a5b7954ba8cc203d2f08e", + "amount": "2333720" + }, + "indexed_type": "0x1::fungible_asset::Deposit", + "event_index": 3 + }, + { + "sequence_number": 0, + "creation_number": 0, + "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", + "transaction_version": 999929475, + "transaction_block_height": 194508912, + "type_": "0x1::fungible_asset::Withdraw", + "data": { + "store": "0x89cee32338902b6f79f9c75c317d32ac061771817c0d5b0802f97ec44ebfc7d4", + "amount": "162105637" + }, + "indexed_type": "0x1::fungible_asset::Withdraw", + "event_index": 4 + }, + { + "sequence_number": 0, + "creation_number": 0, + "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", + "transaction_version": 999929475, + "transaction_block_height": 194508912, + "type_": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::liquidity_pool::SwapEvent", + "data": { + "pool": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "to_token": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC", + "amount_in": "2333720700", + "amount_out": "162105637", + "from_token": "0x1::aptos_coin::AptosCoin" + }, + "indexed_type": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::liquidity_pool::SwapEvent", + "event_index": 5 + }, + { + "sequence_number": 0, + "creation_number": 0, + "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", + "transaction_version": 999929475, + "transaction_block_height": 194508912, + "type_": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::liquidity_pool::SyncEvent", + "data": { + "pool": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "reserves_1": "429891425615", + "reserves_2": "6184986629106" + }, + "indexed_type": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::liquidity_pool::SyncEvent", + "event_index": 6 + }, + { + "sequence_number": 269832, + "creation_number": 7, + "account_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", + "transaction_version": 999929475, + "transaction_block_height": 194508912, + "type_": "0x1::coin::WithdrawEvent", + "data": { + "amount": "162105637" + }, + "indexed_type": "0x1::coin::WithdrawEvent", + "event_index": 7 + }, + { + "sequence_number": 142, + "creation_number": 4, + "account_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", + "transaction_version": 999929475, + "transaction_block_height": 194508912, + "type_": "0x1::coin::DepositEvent", + "data": { + "amount": "162105637" + }, + "indexed_type": "0x1::coin::DepositEvent", + "event_index": 8 + }, + { + "sequence_number": 0, + "creation_number": 0, + "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", + "transaction_version": 999929475, + "transaction_block_height": 194508912, + "type_": "0x1::transaction_fee::FeeStatement", + "data": { + "io_gas_units": "21", + "storage_fee_octas": "0", + "execution_gas_units": "19", + "total_charge_gas_units": "40", + "storage_fee_refund_octas": "0" + }, + "indexed_type": "0x1::transaction_fee::FeeStatement", + "event_index": 9 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/coin_supply.json new file mode 100644 index 000000000..bab49b88c --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/coin_supply.json @@ -0,0 +1,10 @@ +[ + { + "transaction_version": 999929475, + "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", + "coin_type": "0x1::aptos_coin::AptosCoin", + "supply": "110269921639741626", + "transaction_timestamp": "2024-06-25T23:55:53", + "transaction_epoch": 7509 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/current_fungible_asset_balances.json new file mode 100644 index 000000000..02be6d1fc --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/current_fungible_asset_balances.json @@ -0,0 +1,90 @@ +[ + { + "storage_id": "0x12aee8d4b8ba1ff0b7b943fe2db30bdde3f3d52f83912e92a90c4610e11c1412", + "owner_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "114994000", + "last_transaction_timestamp": "2024-06-25T23:55:53", + "last_transaction_version": 999929475, + "token_standard": "v1" + }, + { + "storage_id": "0x2283606d1303cb8c6df599a6b7d0cec85873d747d5db2f2142b594c2db9d83ad", + "owner_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", + "asset_type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC", + "is_primary": true, + "is_frozen": false, + "amount": "162105637", + "last_transaction_timestamp": "2024-06-25T23:55:53", + "last_transaction_version": 999929475, + "token_standard": "v1" + }, + { + "storage_id": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", + "asset_type": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "is_primary": false, + "is_frozen": false, + "amount": "1000", + "last_transaction_timestamp": "2024-06-25T23:55:53", + "last_transaction_version": 999929475, + "token_standard": "v2" + }, + { + "storage_id": "0x3e10c1bcedce2b6f6a51cf44682309fcb159151f4fcd8d1e5403cf5fa3d607b2", + "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "111198107496469", + "last_transaction_timestamp": "2024-06-25T23:55:53", + "last_transaction_version": 999929475, + "token_standard": "v1" + }, + { + "storage_id": "0x809c69006e5492c65a1d4b273c65318fb482bed7988c75c48b96d283263ba029", + "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", + "asset_type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC", + "is_primary": true, + "is_frozen": false, + "amount": "2060898834867", + "last_transaction_timestamp": "2024-06-25T23:55:53", + "last_transaction_version": 999929475, + "token_standard": "v1" + }, + { + "storage_id": "0x89cee32338902b6f79f9c75c317d32ac061771817c0d5b0802f97ec44ebfc7d4", + "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "asset_type": "0x50fdfa97914bd00b656e3041e143f157c84931eb1ca7224b8a8570e7d5be70f2", + "is_primary": false, + "is_frozen": false, + "amount": "429891425615", + "last_transaction_timestamp": "2024-06-25T23:55:53", + "last_transaction_version": 999929475, + "token_standard": "v2" + }, + { + "storage_id": "0x9120a6a57b1463607f27c140b3a8c5542c74a2411d632eb6f25bab0b40a987a4", + "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "asset_type": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", + "is_primary": false, + "is_frozen": false, + "amount": "6184986629106", + "last_transaction_timestamp": "2024-06-25T23:55:53", + "last_transaction_version": 999929475, + "token_standard": "v2" + }, + { + "storage_id": "0x97325d3a5abbfe422b8dece076302efd20c0a2dc5c2a5b7954ba8cc203d2f08e", + "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "asset_type": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", + "is_primary": false, + "is_frozen": false, + "amount": "5880750526", + "last_transaction_timestamp": "2024-06-25T23:55:53", + "last_transaction_version": 999929475, + "token_standard": "v2" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_activities.json new file mode 100644 index 000000000..7aafc7a90 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_activities.json @@ -0,0 +1,146 @@ +[ + { + "transaction_version": 999929475, + "event_index": -1, + "owner_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", + "storage_id": "0x12aee8d4b8ba1ff0b7b943fe2db30bdde3f3d52f83912e92a90c4610e11c1412", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_frozen": null, + "amount": "6000", + "type_": "0x1::aptos_coin::GasFeeEvent", + "is_gas_fee": true, + "gas_fee_payer_address": null, + "is_transaction_success": true, + "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", + "block_height": 194508912, + "token_standard": "v1", + "transaction_timestamp": "2024-06-25T23:55:53", + "storage_refund_amount": "0" + }, + { + "transaction_version": 999929475, + "event_index": 0, + "owner_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", + "storage_id": "0x12aee8d4b8ba1ff0b7b943fe2db30bdde3f3d52f83912e92a90c4610e11c1412", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_frozen": null, + "amount": "2333720700", + "type_": "0x1::coin::WithdrawEvent", + "is_gas_fee": false, + "gas_fee_payer_address": null, + "is_transaction_success": true, + "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", + "block_height": 194508912, + "token_standard": "v1", + "transaction_timestamp": "2024-06-25T23:55:53", + "storage_refund_amount": "0" + }, + { + "transaction_version": 999929475, + "event_index": 1, + "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", + "storage_id": "0x3e10c1bcedce2b6f6a51cf44682309fcb159151f4fcd8d1e5403cf5fa3d607b2", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_frozen": null, + "amount": "2333720700", + "type_": "0x1::coin::DepositEvent", + "is_gas_fee": false, + "gas_fee_payer_address": null, + "is_transaction_success": true, + "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", + "block_height": 194508912, + "token_standard": "v1", + "transaction_timestamp": "2024-06-25T23:55:53", + "storage_refund_amount": "0" + }, + { + "transaction_version": 999929475, + "event_index": 2, + "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "storage_id": "0x9120a6a57b1463607f27c140b3a8c5542c74a2411d632eb6f25bab0b40a987a4", + "asset_type": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", + "is_frozen": null, + "amount": "2331386980", + "type_": "0x1::fungible_asset::Deposit", + "is_gas_fee": false, + "gas_fee_payer_address": null, + "is_transaction_success": true, + "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", + "block_height": 194508912, + "token_standard": "v2", + "transaction_timestamp": "2024-06-25T23:55:53", + "storage_refund_amount": "0" + }, + { + "transaction_version": 999929475, + "event_index": 3, + "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "storage_id": "0x97325d3a5abbfe422b8dece076302efd20c0a2dc5c2a5b7954ba8cc203d2f08e", + "asset_type": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", + "is_frozen": null, + "amount": "2333720", + "type_": "0x1::fungible_asset::Deposit", + "is_gas_fee": false, + "gas_fee_payer_address": null, + "is_transaction_success": true, + "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", + "block_height": 194508912, + "token_standard": "v2", + "transaction_timestamp": "2024-06-25T23:55:53", + "storage_refund_amount": "0" + }, + { + "transaction_version": 999929475, + "event_index": 4, + "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "storage_id": "0x89cee32338902b6f79f9c75c317d32ac061771817c0d5b0802f97ec44ebfc7d4", + "asset_type": "0x50fdfa97914bd00b656e3041e143f157c84931eb1ca7224b8a8570e7d5be70f2", + "is_frozen": null, + "amount": "162105637", + "type_": "0x1::fungible_asset::Withdraw", + "is_gas_fee": false, + "gas_fee_payer_address": null, + "is_transaction_success": true, + "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", + "block_height": 194508912, + "token_standard": "v2", + "transaction_timestamp": "2024-06-25T23:55:53", + "storage_refund_amount": "0" + }, + { + "transaction_version": 999929475, + "event_index": 7, + "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", + "storage_id": "0x809c69006e5492c65a1d4b273c65318fb482bed7988c75c48b96d283263ba029", + "asset_type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC", + "is_frozen": null, + "amount": "162105637", + "type_": "0x1::coin::WithdrawEvent", + "is_gas_fee": false, + "gas_fee_payer_address": null, + "is_transaction_success": true, + "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", + "block_height": 194508912, + "token_standard": "v1", + "transaction_timestamp": "2024-06-25T23:55:53", + "storage_refund_amount": "0" + }, + { + "transaction_version": 999929475, + "event_index": 8, + "owner_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", + "storage_id": "0x2283606d1303cb8c6df599a6b7d0cec85873d747d5db2f2142b594c2db9d83ad", + "asset_type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC", + "is_frozen": null, + "amount": "162105637", + "type_": "0x1::coin::DepositEvent", + "is_gas_fee": false, + "gas_fee_payer_address": null, + "is_transaction_success": true, + "entry_function_id_str": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::router::swap_route_entry_both_coins", + "block_height": 194508912, + "token_standard": "v1", + "transaction_timestamp": "2024-06-25T23:55:53", + "storage_refund_amount": "0" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_balances.json new file mode 100644 index 000000000..5d96311a9 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_balances.json @@ -0,0 +1,98 @@ +[ + { + "transaction_version": 999929475, + "write_set_change_index": 1, + "storage_id": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "owner_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", + "asset_type": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "is_primary": false, + "is_frozen": false, + "amount": "1000", + "transaction_timestamp": "2024-06-25T23:55:53", + "token_standard": "v2" + }, + { + "transaction_version": 999929475, + "write_set_change_index": 8, + "storage_id": "0x3e10c1bcedce2b6f6a51cf44682309fcb159151f4fcd8d1e5403cf5fa3d607b2", + "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "111198107496469", + "transaction_timestamp": "2024-06-25T23:55:53", + "token_standard": "v1" + }, + { + "transaction_version": 999929475, + "write_set_change_index": 9, + "storage_id": "0x809c69006e5492c65a1d4b273c65318fb482bed7988c75c48b96d283263ba029", + "owner_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", + "asset_type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC", + "is_primary": true, + "is_frozen": false, + "amount": "2060898834867", + "transaction_timestamp": "2024-06-25T23:55:53", + "token_standard": "v1" + }, + { + "transaction_version": 999929475, + "write_set_change_index": 15, + "storage_id": "0x89cee32338902b6f79f9c75c317d32ac061771817c0d5b0802f97ec44ebfc7d4", + "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "asset_type": "0x50fdfa97914bd00b656e3041e143f157c84931eb1ca7224b8a8570e7d5be70f2", + "is_primary": false, + "is_frozen": false, + "amount": "429891425615", + "transaction_timestamp": "2024-06-25T23:55:53", + "token_standard": "v2" + }, + { + "transaction_version": 999929475, + "write_set_change_index": 18, + "storage_id": "0x9120a6a57b1463607f27c140b3a8c5542c74a2411d632eb6f25bab0b40a987a4", + "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "asset_type": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", + "is_primary": false, + "is_frozen": false, + "amount": "6184986629106", + "transaction_timestamp": "2024-06-25T23:55:53", + "token_standard": "v2" + }, + { + "transaction_version": 999929475, + "write_set_change_index": 21, + "storage_id": "0x97325d3a5abbfe422b8dece076302efd20c0a2dc5c2a5b7954ba8cc203d2f08e", + "owner_address": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "asset_type": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", + "is_primary": false, + "is_frozen": false, + "amount": "5880750526", + "transaction_timestamp": "2024-06-25T23:55:53", + "token_standard": "v2" + }, + { + "transaction_version": 999929475, + "write_set_change_index": 23, + "storage_id": "0x12aee8d4b8ba1ff0b7b943fe2db30bdde3f3d52f83912e92a90c4610e11c1412", + "owner_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "114994000", + "transaction_timestamp": "2024-06-25T23:55:53", + "token_standard": "v1" + }, + { + "transaction_version": 999929475, + "write_set_change_index": 24, + "storage_id": "0x2283606d1303cb8c6df599a6b7d0cec85873d747d5db2f2142b594c2db9d83ad", + "owner_address": "0xaf1fbd1c118239498c0fec0e5cec54a50d03250fe1aca589a6b903566ba1d4db", + "asset_type": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC", + "is_primary": true, + "is_frozen": false, + "amount": "162105637", + "transaction_timestamp": "2024-06-25T23:55:53", + "token_standard": "v1" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_metadata.json new file mode 100644 index 000000000..5148c1322 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_metadata.json @@ -0,0 +1,53 @@ +[ + { + "asset_type": "0x234f0be57d6acfb2f0f19c17053617311a8d03c9ce358bdf9cd5c460e4a02b7c", + "creator_address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", + "name": "LP-USDC-APT", + "symbol": "LP", + "decimals": 8, + "icon_uri": "", + "project_uri": "", + "last_transaction_version": 999929475, + "last_transaction_timestamp": "2024-06-25T23:55:53", + "supply_aggregator_table_handle_v1": null, + "supply_aggregator_table_key_v1": null, + "token_standard": "v2", + "is_token_v2": null, + "maximum_v2": null, + "supply_v2": "1597732577821" + }, + { + "asset_type": "0x50fdfa97914bd00b656e3041e143f157c84931eb1ca7224b8a8570e7d5be70f2", + "creator_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", + "name": "USD Coin", + "symbol": "USDC", + "decimals": 6, + "icon_uri": "", + "project_uri": "", + "last_transaction_version": 999929475, + "last_transaction_timestamp": "2024-06-25T23:55:53", + "supply_aggregator_table_handle_v1": null, + "supply_aggregator_table_key_v1": null, + "token_standard": "v2", + "is_token_v2": null, + "maximum_v2": null, + "supply_v2": "2060898834867" + }, + { + "asset_type": "0xedc2704f2cef417a06d1756a04a16a9fa6faaed13af469be9cdfcac5a21a8e2e", + "creator_address": "0x3b38735644d0be8ac37ebd84a1e42fa5c2487495ef8782f6c694b1a147f82426", + "name": "Aptos Coin", + "symbol": "APT", + "decimals": 8, + "icon_uri": "", + "project_uri": "", + "last_transaction_version": 999929475, + "last_transaction_timestamp": "2024-06-25T23:55:53", + "supply_aggregator_table_handle_v1": null, + "supply_aggregator_table_key_v1": null, + "token_standard": "v2", + "is_token_v2": null, + "maximum_v2": null, + "supply_v2": "111198107496469" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_1.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/token_activities_v2.json similarity index 100% rename from rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_1.json rename to rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/token_activities_v2.json diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_1255836496.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_1255836496.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_1255836496.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_278556781.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_278556781.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_278556781.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_5523474016.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_5523474016.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_5523474016.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_5979639459.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_5979639459.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_5979639459.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_5992795934.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_5992795934.json deleted file mode 100644 index 0637a088a..000000000 --- a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/token_v2_processor_5992795934.json +++ /dev/null @@ -1 +0,0 @@ -[] \ No newline at end of file