-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FA migration] When coinstore is deleted we miss the FA activities (#691
- Loading branch information
1 parent
d68d37e
commit 0764e6f
Showing
12 changed files
with
298 additions
and
21 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
10 changes: 10 additions & 0 deletions
10
...ed_db_output_files/fungible_asset_processor/coin_store_deletion_no_event/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": 2186504987, | ||
"coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", | ||
"coin_type": "0x1::aptos_coin::AptosCoin", | ||
"supply": "113534547660282355", | ||
"transaction_timestamp": "2025-01-11T14:41:54", | ||
"transaction_epoch": 9917 | ||
} | ||
] |
59 changes: 59 additions & 0 deletions
59
...ungible_asset_processor/coin_store_deletion_no_event/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,59 @@ | ||
[ | ||
{ | ||
"storage_id": "0x0c45a2c470e687bd011ead8c19f69b3c1cda9dad656c3f44947168d4ec62f1ee", | ||
"owner_address": "0x9145f11536bda903471ac026c907b76ef0f957e81cfd2d443850362c52715b20", | ||
"asset_type_v2": "0x000000000000000000000000000000000000000000000000000000000000000a", | ||
"asset_type_v1": "0x1::aptos_coin::AptosCoin", | ||
"is_primary": true, | ||
"is_frozen": false, | ||
"amount_v1": null, | ||
"amount_v2": "1200000000", | ||
"amount": "1200000000", | ||
"last_transaction_version_v1": null, | ||
"last_transaction_version_v2": 2186504987, | ||
"last_transaction_version": 2186504987, | ||
"last_transaction_timestamp_v1": null, | ||
"last_transaction_timestamp_v2": "2025-01-11T14:41:54", | ||
"last_transaction_timestamp": "2025-01-11T14:41:54", | ||
"token_standard": "v1", | ||
"asset_type": "0x1::aptos_coin::AptosCoin" | ||
}, | ||
{ | ||
"storage_id": "0x2c87f6bda15c67be2791d1b084194cc322bb0e432ca49066c20d21de4a45957d", | ||
"owner_address": "0xc5855db74d8b2a3b0cc62b5afa75f2d0bce471b47a5f90082336d00ae4289dd8", | ||
"asset_type_v2": null, | ||
"asset_type_v1": "0x1::aptos_coin::AptosCoin", | ||
"is_primary": true, | ||
"is_frozen": false, | ||
"amount_v1": "1117884340", | ||
"amount_v2": null, | ||
"amount": "1117884340", | ||
"last_transaction_version_v1": 2186504987, | ||
"last_transaction_version_v2": null, | ||
"last_transaction_version": 2186504987, | ||
"last_transaction_timestamp_v1": "2025-01-11T14:41:54", | ||
"last_transaction_timestamp_v2": null, | ||
"last_transaction_timestamp": "2025-01-11T14:41:54", | ||
"token_standard": "v1", | ||
"asset_type": "0x1::aptos_coin::AptosCoin" | ||
}, | ||
{ | ||
"storage_id": "0xe1d533aa4a76f9d711109c46d6830fee0da63d5bd63aeb53ad69f589bbd2e2ea", | ||
"owner_address": "0x3e91d912e7c62dfd884fd8b9a2261fecd33c78cf4da1b1ef2e7452c585c6f30d", | ||
"asset_type_v2": "0x000000000000000000000000000000000000000000000000000000000000000a", | ||
"asset_type_v1": "0x1::aptos_coin::AptosCoin", | ||
"is_primary": true, | ||
"is_frozen": false, | ||
"amount_v1": null, | ||
"amount_v2": "116557238", | ||
"amount": "116557238", | ||
"last_transaction_version_v1": null, | ||
"last_transaction_version_v2": 2186504987, | ||
"last_transaction_version": 2186504987, | ||
"last_transaction_timestamp_v1": null, | ||
"last_transaction_timestamp_v2": "2025-01-11T14:41:54", | ||
"last_transaction_timestamp": "2025-01-11T14:41:54", | ||
"token_standard": "v1", | ||
"asset_type": "0x1::aptos_coin::AptosCoin" | ||
} | ||
] |
92 changes: 92 additions & 0 deletions
92
...iles/fungible_asset_processor/coin_store_deletion_no_event/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,92 @@ | ||
[ | ||
{ | ||
"transaction_version": 2186504987, | ||
"event_index": -1, | ||
"owner_address": "0x3e91d912e7c62dfd884fd8b9a2261fecd33c78cf4da1b1ef2e7452c585c6f30d", | ||
"storage_id": "0xe1d533aa4a76f9d711109c46d6830fee0da63d5bd63aeb53ad69f589bbd2e2ea", | ||
"asset_type": "0x1::aptos_coin::AptosCoin", | ||
"is_frozen": null, | ||
"amount": "284100", | ||
"type_": "0x1::aptos_coin::GasFeeEvent", | ||
"is_gas_fee": true, | ||
"gas_fee_payer_address": "0xc5855db74d8b2a3b0cc62b5afa75f2d0bce471b47a5f90082336d00ae4289dd8", | ||
"is_transaction_success": true, | ||
"entry_function_id_str": "0xff5580c435e563ecb9ec27d2b8fa2fc4b09be38852ad96c1054849b0611005f3::red_envelope_entry::create_red_envelope_coin_by_multi_entry", | ||
"block_height": 275903047, | ||
"token_standard": "v1", | ||
"transaction_timestamp": "2025-01-11T14:41:54", | ||
"storage_refund_amount": "49640" | ||
}, | ||
{ | ||
"transaction_version": 2186504987, | ||
"event_index": 1, | ||
"owner_address": "0x3e91d912e7c62dfd884fd8b9a2261fecd33c78cf4da1b1ef2e7452c585c6f30d", | ||
"storage_id": "0xe1d533aa4a76f9d711109c46d6830fee0da63d5bd63aeb53ad69f589bbd2e2ea", | ||
"asset_type": "0x1::aptos_coin::AptosCoin", | ||
"is_frozen": null, | ||
"amount": "641197548", | ||
"type_": "0x1::coin::WithdrawEvent", | ||
"is_gas_fee": false, | ||
"gas_fee_payer_address": null, | ||
"is_transaction_success": true, | ||
"entry_function_id_str": "0xff5580c435e563ecb9ec27d2b8fa2fc4b09be38852ad96c1054849b0611005f3::red_envelope_entry::create_red_envelope_coin_by_multi_entry", | ||
"block_height": 275903047, | ||
"token_standard": "v1", | ||
"transaction_timestamp": "2025-01-11T14:41:54", | ||
"storage_refund_amount": "0" | ||
}, | ||
{ | ||
"transaction_version": 2186504987, | ||
"event_index": 2, | ||
"owner_address": "0x3e91d912e7c62dfd884fd8b9a2261fecd33c78cf4da1b1ef2e7452c585c6f30d", | ||
"storage_id": "0xe1d533aa4a76f9d711109c46d6830fee0da63d5bd63aeb53ad69f589bbd2e2ea", | ||
"asset_type": "0x000000000000000000000000000000000000000000000000000000000000000a", | ||
"is_frozen": null, | ||
"amount": "641197548", | ||
"type_": "0x1::fungible_asset::Deposit", | ||
"is_gas_fee": false, | ||
"gas_fee_payer_address": null, | ||
"is_transaction_success": true, | ||
"entry_function_id_str": "0xff5580c435e563ecb9ec27d2b8fa2fc4b09be38852ad96c1054849b0611005f3::red_envelope_entry::create_red_envelope_coin_by_multi_entry", | ||
"block_height": 275903047, | ||
"token_standard": "v2", | ||
"transaction_timestamp": "2025-01-11T14:41:54", | ||
"storage_refund_amount": "0" | ||
}, | ||
{ | ||
"transaction_version": 2186504987, | ||
"event_index": 3, | ||
"owner_address": "0x3e91d912e7c62dfd884fd8b9a2261fecd33c78cf4da1b1ef2e7452c585c6f30d", | ||
"storage_id": "0xe1d533aa4a76f9d711109c46d6830fee0da63d5bd63aeb53ad69f589bbd2e2ea", | ||
"asset_type": "0x000000000000000000000000000000000000000000000000000000000000000a", | ||
"is_frozen": null, | ||
"amount": "1200000000", | ||
"type_": "0x1::fungible_asset::Withdraw", | ||
"is_gas_fee": false, | ||
"gas_fee_payer_address": null, | ||
"is_transaction_success": true, | ||
"entry_function_id_str": "0xff5580c435e563ecb9ec27d2b8fa2fc4b09be38852ad96c1054849b0611005f3::red_envelope_entry::create_red_envelope_coin_by_multi_entry", | ||
"block_height": 275903047, | ||
"token_standard": "v2", | ||
"transaction_timestamp": "2025-01-11T14:41:54", | ||
"storage_refund_amount": "0" | ||
}, | ||
{ | ||
"transaction_version": 2186504987, | ||
"event_index": 4, | ||
"owner_address": "0x9145f11536bda903471ac026c907b76ef0f957e81cfd2d443850362c52715b20", | ||
"storage_id": "0x0c45a2c470e687bd011ead8c19f69b3c1cda9dad656c3f44947168d4ec62f1ee", | ||
"asset_type": "0x000000000000000000000000000000000000000000000000000000000000000a", | ||
"is_frozen": null, | ||
"amount": "1200000000", | ||
"type_": "0x1::fungible_asset::Deposit", | ||
"is_gas_fee": false, | ||
"gas_fee_payer_address": null, | ||
"is_transaction_success": true, | ||
"entry_function_id_str": "0xff5580c435e563ecb9ec27d2b8fa2fc4b09be38852ad96c1054849b0611005f3::red_envelope_entry::create_red_envelope_coin_by_multi_entry", | ||
"block_height": 275903047, | ||
"token_standard": "v2", | ||
"transaction_timestamp": "2025-01-11T14:41:54", | ||
"storage_refund_amount": "0" | ||
} | ||
] |
50 changes: 50 additions & 0 deletions
50
..._files/fungible_asset_processor/coin_store_deletion_no_event/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,50 @@ | ||
[ | ||
{ | ||
"transaction_version": 2186504987, | ||
"write_set_change_index": 6, | ||
"storage_id": "0x0c45a2c470e687bd011ead8c19f69b3c1cda9dad656c3f44947168d4ec62f1ee", | ||
"owner_address": "0x9145f11536bda903471ac026c907b76ef0f957e81cfd2d443850362c52715b20", | ||
"asset_type": "0x000000000000000000000000000000000000000000000000000000000000000a", | ||
"is_primary": true, | ||
"is_frozen": false, | ||
"amount": "1200000000", | ||
"transaction_timestamp": "2025-01-11T14:41:54", | ||
"token_standard": "v2" | ||
}, | ||
{ | ||
"transaction_version": 2186504987, | ||
"write_set_change_index": 8, | ||
"storage_id": "0xe1d533aa4a76f9d711109c46d6830fee0da63d5bd63aeb53ad69f589bbd2e2ea", | ||
"owner_address": "0x3e91d912e7c62dfd884fd8b9a2261fecd33c78cf4da1b1ef2e7452c585c6f30d", | ||
"asset_type": "0x1::aptos_coin::AptosCoin", | ||
"is_primary": true, | ||
"is_frozen": false, | ||
"amount": "0", | ||
"transaction_timestamp": "2025-01-11T14:41:54", | ||
"token_standard": "v1" | ||
}, | ||
{ | ||
"transaction_version": 2186504987, | ||
"write_set_change_index": 13, | ||
"storage_id": "0x2c87f6bda15c67be2791d1b084194cc322bb0e432ca49066c20d21de4a45957d", | ||
"owner_address": "0xc5855db74d8b2a3b0cc62b5afa75f2d0bce471b47a5f90082336d00ae4289dd8", | ||
"asset_type": "0x1::aptos_coin::AptosCoin", | ||
"is_primary": true, | ||
"is_frozen": false, | ||
"amount": "1117884340", | ||
"transaction_timestamp": "2025-01-11T14:41:54", | ||
"token_standard": "v1" | ||
}, | ||
{ | ||
"transaction_version": 2186504987, | ||
"write_set_change_index": 14, | ||
"storage_id": "0xe1d533aa4a76f9d711109c46d6830fee0da63d5bd63aeb53ad69f589bbd2e2ea", | ||
"owner_address": "0x3e91d912e7c62dfd884fd8b9a2261fecd33c78cf4da1b1ef2e7452c585c6f30d", | ||
"asset_type": "0x000000000000000000000000000000000000000000000000000000000000000a", | ||
"is_primary": true, | ||
"is_frozen": false, | ||
"amount": "116557238", | ||
"transaction_timestamp": "2025-01-11T14:41:54", | ||
"token_standard": "v2" | ||
} | ||
] |
19 changes: 19 additions & 0 deletions
19
..._files/fungible_asset_processor/coin_store_deletion_no_event/fungible_asset_metadata.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,19 @@ | ||
[ | ||
{ | ||
"asset_type": "0x000000000000000000000000000000000000000000000000000000000000000a", | ||
"creator_address": "0x0000000000000000000000000000000000000000000000000000000000000001", | ||
"name": "Aptos Coin", | ||
"symbol": "APT", | ||
"decimals": 8, | ||
"icon_uri": "", | ||
"project_uri": "", | ||
"last_transaction_version": 2186504987, | ||
"last_transaction_timestamp": "2025-01-11T14:41:54", | ||
"supply_aggregator_table_handle_v1": null, | ||
"supply_aggregator_table_key_v1": null, | ||
"token_standard": "v2", | ||
"maximum_v2": "340282366920938463463374607431768211455", | ||
"is_token_v2": null, | ||
"supply_v2": "20705635276853" | ||
} | ||
] |
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
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
Oops, something went wrong.