-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generate expected db output for existing events processor
- Loading branch information
Showing
12 changed files
with
542 additions
and
5 deletions.
There are no files selected for viewing
145 changes: 145 additions & 0 deletions
145
...sts/expected_db_output_files/imported_mainnet_txns/events_processor/999929475/events.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
] |
10 changes: 10 additions & 0 deletions
10
...db_output_files/imported_mainnet_txns/fungible_asset_processor/999929475/coin_supply.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
] |
90 changes: 90 additions & 0 deletions
90
...rted_mainnet_txns/fungible_asset_processor/999929475/current_fungible_asset_balances.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
] |
146 changes: 146 additions & 0 deletions
146
...s/imported_mainnet_txns/fungible_asset_processor/999929475/fungible_asset_activities.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
] |
Oops, something went wrong.