diff --git a/.gitignore b/.gitignore index 8a599ebf3..2cac184fa 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ config.yaml cursor.txt build node_modules/ +lcov.info # Rust specific ignores # Please follow https://help.github.com/en/articles/ignoring-files to create a global diff --git a/rust/Cargo.lock b/rust/Cargo.lock index e37fc63a0..517aaf44b 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -198,9 +198,9 @@ dependencies = [ [[package]] name = "aptos-indexer-test-transactions" version = "1.0.0" -source = "git+https://github.com/aptos-labs/aptos-core.git?rev=7429012893b530e6880877750ade5b879858285d#7429012893b530e6880877750ade5b879858285d" +source = "git+https://github.com/aptos-labs/aptos-core.git?rev=48f26a88b24f7e8351714150e7a4c2f980c1ba6d#48f26a88b24f7e8351714150e7a4c2f980c1ba6d" dependencies = [ - "aptos-protos 1.3.1 (git+https://github.com/aptos-labs/aptos-core.git?rev=7429012893b530e6880877750ade5b879858285d)", + "aptos-protos 1.3.1 (git+https://github.com/aptos-labs/aptos-core.git?rev=48f26a88b24f7e8351714150e7a4c2f980c1ba6d)", "serde_json", ] @@ -297,7 +297,7 @@ dependencies = [ [[package]] name = "aptos-protos" version = "1.3.1" -source = "git+https://github.com/aptos-labs/aptos-core.git?rev=5c48aee129b5a141be2792ffa3d9bd0a1a61c9cb#5c48aee129b5a141be2792ffa3d9bd0a1a61c9cb" +source = "git+https://github.com/aptos-labs/aptos-core.git?rev=48f26a88b24f7e8351714150e7a4c2f980c1ba6d#48f26a88b24f7e8351714150e7a4c2f980c1ba6d" dependencies = [ "futures-core", "pbjson", @@ -309,7 +309,7 @@ dependencies = [ [[package]] name = "aptos-protos" version = "1.3.1" -source = "git+https://github.com/aptos-labs/aptos-core.git?rev=7429012893b530e6880877750ade5b879858285d#7429012893b530e6880877750ade5b879858285d" +source = "git+https://github.com/aptos-labs/aptos-core.git?rev=5c48aee129b5a141be2792ffa3d9bd0a1a61c9cb#5c48aee129b5a141be2792ffa3d9bd0a1a61c9cb" dependencies = [ "futures-core", "pbjson", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 2e86e4093..6dacc8976 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -34,7 +34,7 @@ aptos-indexer-processor-sdk = { git = "https://github.com/aptos-labs/aptos-index aptos-indexer-processor-sdk-server-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "c8f12a75c3648fba889c3da657ff713cd5e676dc" } aptos-protos = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "5c48aee129b5a141be2792ffa3d9bd0a1a61c9cb" } aptos-system-utils = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "202bdccff2b2d333a385ae86a4fcf23e89da9f62" } -aptos-indexer-test-transactions = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "7429012893b530e6880877750ade5b879858285d" } +aptos-indexer-test-transactions = { git = "https://github.com/aptos-labs/aptos-core.git", rev = "48f26a88b24f7e8351714150e7a4c2f980c1ba6d" } aptos-indexer-testing-framework = { git = "https://github.com/aptos-labs/aptos-indexer-processor-sdk.git", rev = "c8f12a75c3648fba889c3da657ff713cd5e676dc" } async-trait = "0.1.53" backtrace = "0.3.58" diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1058723093/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1058723093/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1058723093/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1058723093/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1058723093/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1058723093/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1058723093/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1058723093/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1058723093/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1058723093/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1058723093/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/1058723093/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/11648867/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/11648867/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/11648867/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/11648867/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/11648867/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/11648867/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/11648867/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/11648867/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/11648867/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/11648867/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/11648867/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/11648867/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/141135867/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/141135867/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/141135867/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/141135867/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/141135867/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/141135867/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/141135867/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/141135867/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/141135867/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/141135867/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/141135867/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/141135867/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/178179220/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/178179220/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/178179220/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/178179220/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/178179220/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/178179220/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/178179220/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/178179220/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/178179220/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/178179220/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/178179220/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/178179220/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/84023785/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/84023785/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/84023785/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/84023785/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/84023785/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/84023785/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/84023785/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/84023785/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/84023785/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/84023785/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/84023785/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/84023785/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/97963136/ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/97963136/ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/97963136/ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/97963136/ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/97963136/ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/97963136/ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/97963136/current_ans_lookup_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/97963136/current_ans_lookup_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/97963136/current_ans_lookup_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/97963136/current_ans_primary_name_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/97963136/current_ans_primary_name_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/ans_processor/97963136/current_ans_primary_name_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1058723093/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1058723093/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1058723093/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1058723093/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1058723093/current_table_items.json new file mode 100644 index 000000000..934806a27 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1058723093/current_table_items.json @@ -0,0 +1,96 @@ +[ + { + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key_hash": "61ff6dde49d23af0395c534ca7bee92391910cd0ac4e4ba3d35a2619e49a1775", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "110825801751155699", + "is_deleted": false, + "last_transaction_version": 1058723093 + }, + { + "table_handle": "0x28418760527ca583ca1dea9807b21574952f9eac6f2cbef9369f0c87f1940497", + "key_hash": "806ddaf24ffff81a226637c94d1af97f5d416be4b306f66831e9e3334c35bf6b", + "key": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f80947616c7865204f4154194170746f73204349532078204a6f756c652046696e616e6365", + "decoded_key": { + "name": "Aptos CIS x Joule Finance", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "decoded_value": { + "uri": "https://graphigo.prd.galaxy.eco/metadata/aptos/0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8/GCoqbtkpAd.json", + "name": "Aptos CIS x Joule Finance", + "supply": "2893", + "maximum": "10000000000", + "royalty": { + "payee_address": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "royalty_points_numerator": "0", + "royalty_points_denominator": "0" + }, + "description": "", + "mutability_config": { + "uri": true, + "maximum": true, + "royalty": true, + "properties": false, + "description": false + }, + "default_properties": { + "map": { + "data": [ + { + "key": "Galxe Campaign", + "value": { + "type": "0x1::string::String", + "value": "0x0a47436f7162746b704164" + } + } + ] + } + }, + "largest_property_version": "0" + }, + "is_deleted": false, + "last_transaction_version": 1058723093 + }, + { + "table_handle": "0x9005cc042f0a553e12e63d2e67da6e4522dbec500eb798ff3199066f3590a03e", + "key_hash": "9bf0cc9076e25587fc7e102446702e6ed470c102031fd10f5c79164146be888d", + "key": "0xc5f39f3500000000", + "decoded_key": "899675077", + "decoded_value": true, + "is_deleted": false, + "last_transaction_version": 1058723093 + }, + { + "table_handle": "0xe2d4df48ee30234ecfd2e53216b000e485a304809099f77af060fb4a31153e77", + "key_hash": "8cdc37f890a20e5ad59318a1d20345a65f7d9772350623b55188abf6f91c51e1", + "key": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f80947616c7865204f4154194170746f73204349532078204a6f756c652046696e616e63650000000000000000", + "decoded_key": { + "token_data_id": { + "name": "Aptos CIS x Joule Finance", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "property_version": "0" + }, + "decoded_value": { + "id": { + "token_data_id": { + "name": "Aptos CIS x Joule Finance", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "property_version": "0" + }, + "amount": "1", + "token_properties": { + "map": { + "data": [] + } + } + }, + "is_deleted": false, + "last_transaction_version": 1058723093 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1058723093/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1058723093/table_items.json new file mode 100644 index 000000000..f34f76487 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/1058723093/table_items.json @@ -0,0 +1,100 @@ +[ + { + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "transaction_version": 1058723093, + "write_set_change_index": 6, + "transaction_block_height": 207536557, + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "110825801751155699", + "is_deleted": false + }, + { + "key": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f80947616c7865204f4154194170746f73204349532078204a6f756c652046696e616e6365", + "transaction_version": 1058723093, + "write_set_change_index": 7, + "transaction_block_height": 207536557, + "table_handle": "0x28418760527ca583ca1dea9807b21574952f9eac6f2cbef9369f0c87f1940497", + "decoded_key": { + "name": "Aptos CIS x Joule Finance", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "decoded_value": { + "uri": "https://graphigo.prd.galaxy.eco/metadata/aptos/0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8/GCoqbtkpAd.json", + "name": "Aptos CIS x Joule Finance", + "supply": "2893", + "maximum": "10000000000", + "royalty": { + "payee_address": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "royalty_points_numerator": "0", + "royalty_points_denominator": "0" + }, + "description": "", + "mutability_config": { + "uri": true, + "maximum": true, + "royalty": true, + "properties": false, + "description": false + }, + "default_properties": { + "map": { + "data": [ + { + "key": "Galxe Campaign", + "value": { + "type": "0x1::string::String", + "value": "0x0a47436f7162746b704164" + } + } + ] + } + }, + "largest_property_version": "0" + }, + "is_deleted": false + }, + { + "key": "0xc5f39f3500000000", + "transaction_version": 1058723093, + "write_set_change_index": 8, + "transaction_block_height": 207536557, + "table_handle": "0x9005cc042f0a553e12e63d2e67da6e4522dbec500eb798ff3199066f3590a03e", + "decoded_key": "899675077", + "decoded_value": true, + "is_deleted": false + }, + { + "key": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f80947616c7865204f4154194170746f73204349532078204a6f756c652046696e616e63650000000000000000", + "transaction_version": 1058723093, + "write_set_change_index": 9, + "transaction_block_height": 207536557, + "table_handle": "0xe2d4df48ee30234ecfd2e53216b000e485a304809099f77af060fb4a31153e77", + "decoded_key": { + "token_data_id": { + "name": "Aptos CIS x Joule Finance", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "property_version": "0" + }, + "decoded_value": { + "id": { + "token_data_id": { + "name": "Aptos CIS x Joule Finance", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "property_version": "0" + }, + "amount": "1", + "token_properties": { + "map": { + "data": [] + } + } + }, + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/11648867/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/11648867/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/11648867/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/11648867/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/11648867/current_table_items.json new file mode 100644 index 000000000..d628f90ae --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/11648867/current_table_items.json @@ -0,0 +1,149 @@ +[ + { + "table_handle": "0x220fcbceea542f3d660a9064b9b526a5b9d55476ce475ca4bd6df695b756f8a1", + "key_hash": "81162b4aef63df503a5370b406e76383bd6b4d5b2a430589b825a28bec45b2e0", + "key": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926054150617373066b7573616d61", + "decoded_key": { + "name": "kusama", + "creator": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "collection": "APass" + }, + "decoded_value": { + "uri": "https://aptpp.com/namepic/main/kusama", + "name": "kusama", + "supply": "1", + "maximum": "1", + "royalty": { + "payee_address": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb", + "royalty_points_numerator": "0", + "royalty_points_denominator": "0" + }, + "description": "APass Name", + "mutability_config": { + "uri": true, + "maximum": true, + "royalty": true, + "properties": true, + "description": true + }, + "default_properties": { + "map": { + "data": [ + { + "key": "TOKEN_PROPERTY_MUTABLE", + "value": { + "type": "bool", + "value": "0x01" + } + }, + { + "key": "TOKEN_BURNABLE_BY_OWNER", + "value": { + "type": "bool", + "value": "0x01" + } + } + ] + } + }, + "largest_property_version": "0" + }, + "is_deleted": false, + "last_transaction_version": 11648867 + }, + { + "table_handle": "0x60a5cc08464436cf702049e5727a0fd55964a0422425f1a65ae5b30f60ea264d", + "key_hash": "0b1dc7e87e70e3c14facaebddf6c3d8dd2d10eaf237c37f9d516418c809fd7d8", + "key": "0x066b7573616d61", + "decoded_key": "0x6b7573616d61", + "decoded_value": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "is_deleted": false, + "last_transaction_version": 11648867 + }, + { + "table_handle": "0xa68b3ef96b68f4b8fb3fb5c686138e1f1996aa9f2bf6daed12e41bb2b78f1ffc", + "key_hash": "0b1dc7e87e70e3c14facaebddf6c3d8dd2d10eaf237c37f9d516418c809fd7d8", + "key": "0x066b7573616d61", + "decoded_key": "0x6b7573616d61", + "decoded_value": { + "data": { + "data": [ + { + "key": "1", + "value": "0x307832363236363232303363356361353339303631653836343462383132346264366539643437356439616231383164303637346337326538303637373532613165" + } + ] + }, + "domain": "kusama", + "creator": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "regtime": "1666656981", + "tokenid": { + "token_data_id": { + "name": "kusama", + "creator": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "collection": "APass" + }, + "property_version": "0" + }, + "expiration": "1698192981" + }, + "is_deleted": false, + "last_transaction_version": 11648867 + }, + { + "table_handle": "0xbcc63037e21f85eed097fe75243e0131015d8c44f9dfb99d185813f4d1fb7524", + "key_hash": "2906a7bbf2d20a4b914dc799866e6e9b2df96e920a26dc87c0ac3e8e43f179f2", + "key": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "decoded_key": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "decoded_value": "0x6b7573616d61", + "is_deleted": false, + "last_transaction_version": 11648867 + }, + { + "table_handle": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "key_hash": "754f16a856473d77b8a9c5821c26f917d7e79b86f174a360a0528d41773c9962", + "key": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926054150617373066b7573616d610000000000000000", + "decoded_key": { + "token_data_id": { + "name": "kusama", + "creator": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "collection": "APass" + }, + "property_version": "0" + }, + "decoded_value": { + "id": { + "token_data_id": { + "name": "kusama", + "creator": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "collection": "APass" + }, + "property_version": "0" + }, + "amount": "1", + "token_properties": { + "map": { + "data": [] + } + } + }, + "is_deleted": false, + "last_transaction_version": 11648867 + }, + { + "table_handle": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "key_hash": "d2fbeb272f2904de3793db2c56ae6d3b4a3cd911daf4b438fe78afe45b060532", + "key": "0x42c289240fd449c03479f18abe739999e6aa5b6ceed0819026f6b597ca0d0d0d0c417074657220436f75706f6e174150617373203541505420436f75706f6e2023323034320000000000000000", + "decoded_key": { + "token_data_id": { + "name": "APass 5APT Coupon #2042", + "creator": "0x42c289240fd449c03479f18abe739999e6aa5b6ceed0819026f6b597ca0d0d0d", + "collection": "Apter Coupon" + }, + "property_version": "0" + }, + "decoded_value": null, + "is_deleted": true, + "last_transaction_version": 11648867 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/11648867/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/11648867/table_items.json new file mode 100644 index 000000000..3d421fda6 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/11648867/table_items.json @@ -0,0 +1,165 @@ +[ + { + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "transaction_version": 11648867, + "write_set_change_index": 7, + "transaction_block_height": 3156251, + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "100185653790274252", + "is_deleted": false + }, + { + "key": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926054150617373066b7573616d61", + "transaction_version": 11648867, + "write_set_change_index": 8, + "transaction_block_height": 3156251, + "table_handle": "0x220fcbceea542f3d660a9064b9b526a5b9d55476ce475ca4bd6df695b756f8a1", + "decoded_key": { + "name": "kusama", + "creator": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "collection": "APass" + }, + "decoded_value": { + "uri": "https://aptpp.com/namepic/main/kusama", + "name": "kusama", + "supply": "1", + "maximum": "1", + "royalty": { + "payee_address": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb", + "royalty_points_numerator": "0", + "royalty_points_denominator": "0" + }, + "description": "APass Name", + "mutability_config": { + "uri": true, + "maximum": true, + "royalty": true, + "properties": true, + "description": true + }, + "default_properties": { + "map": { + "data": [ + { + "key": "TOKEN_PROPERTY_MUTABLE", + "value": { + "type": "bool", + "value": "0x01" + } + }, + { + "key": "TOKEN_BURNABLE_BY_OWNER", + "value": { + "type": "bool", + "value": "0x01" + } + } + ] + } + }, + "largest_property_version": "0" + }, + "is_deleted": false + }, + { + "key": "0x066b7573616d61", + "transaction_version": 11648867, + "write_set_change_index": 9, + "transaction_block_height": 3156251, + "table_handle": "0x60a5cc08464436cf702049e5727a0fd55964a0422425f1a65ae5b30f60ea264d", + "decoded_key": "0x6b7573616d61", + "decoded_value": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "is_deleted": false + }, + { + "key": "0x066b7573616d61", + "transaction_version": 11648867, + "write_set_change_index": 10, + "transaction_block_height": 3156251, + "table_handle": "0xa68b3ef96b68f4b8fb3fb5c686138e1f1996aa9f2bf6daed12e41bb2b78f1ffc", + "decoded_key": "0x6b7573616d61", + "decoded_value": { + "data": { + "data": [ + { + "key": "1", + "value": "0x307832363236363232303363356361353339303631653836343462383132346264366539643437356439616231383164303637346337326538303637373532613165" + } + ] + }, + "domain": "kusama", + "creator": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "regtime": "1666656981", + "tokenid": { + "token_data_id": { + "name": "kusama", + "creator": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "collection": "APass" + }, + "property_version": "0" + }, + "expiration": "1698192981" + }, + "is_deleted": false + }, + { + "key": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "transaction_version": 11648867, + "write_set_change_index": 11, + "transaction_block_height": 3156251, + "table_handle": "0xbcc63037e21f85eed097fe75243e0131015d8c44f9dfb99d185813f4d1fb7524", + "decoded_key": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "decoded_value": "0x6b7573616d61", + "is_deleted": false + }, + { + "key": "0x42c289240fd449c03479f18abe739999e6aa5b6ceed0819026f6b597ca0d0d0d0c417074657220436f75706f6e174150617373203541505420436f75706f6e2023323034320000000000000000", + "transaction_version": 11648867, + "write_set_change_index": 12, + "transaction_block_height": 3156251, + "table_handle": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "decoded_key": { + "token_data_id": { + "name": "APass 5APT Coupon #2042", + "creator": "0x42c289240fd449c03479f18abe739999e6aa5b6ceed0819026f6b597ca0d0d0d", + "collection": "Apter Coupon" + }, + "property_version": "0" + }, + "decoded_value": null, + "is_deleted": true + }, + { + "key": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926054150617373066b7573616d610000000000000000", + "transaction_version": 11648867, + "write_set_change_index": 13, + "transaction_block_height": 3156251, + "table_handle": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "decoded_key": { + "token_data_id": { + "name": "kusama", + "creator": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "collection": "APass" + }, + "property_version": "0" + }, + "decoded_value": { + "id": { + "token_data_id": { + "name": "kusama", + "creator": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "collection": "APass" + }, + "property_version": "0" + }, + "amount": "1", + "token_properties": { + "map": { + "data": [] + } + } + }, + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/141135867/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/141135867/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/141135867/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/141135867/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/141135867/current_table_items.json new file mode 100644 index 000000000..08203b2f5 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/141135867/current_table_items.json @@ -0,0 +1,52 @@ +[ + { + "table_handle": "0x9a6bdbe18a85fbe456660ae68a7e64e1d186b242bfe3c940d47643044e489d65", + "key_hash": "19f27663d7197b68957f75321b18a9fabf038e37bbb6f153790cfe3eb8a253bb", + "key": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f80947616c7865204f41542b4772616e20536167613a20556e6c696d69746564205469746c6520416e6e6f756e63656d656e74204f41540000000000000000", + "decoded_key": { + "token_data_id": { + "name": "Gran Saga: Unlimited Title Announcement OAT", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "property_version": "0" + }, + "decoded_value": null, + "is_deleted": true, + "last_transaction_version": 141135867 + }, + { + "table_handle": "0xe67fe5afafcffe75ac55e33067d32c2a962435053d769a0ab4e476030a4de753", + "key_hash": "b644f2727a7ed0723587ed271f68d5bae4eb50381acbb415f51d004a4f9ed0d4", + "key": "0x15ca0ddee3416b0d8177c0cce554f140c99a94b72e02a55a55fd2d717999c39f092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f80947616c7865204f41542b4772616e20536167613a20556e6c696d69746564205469746c6520416e6e6f756e63656d656e74204f41540000000000000000", + "decoded_key": { + "to_addr": "0x15ca0ddee3416b0d8177c0cce554f140c99a94b72e02a55a55fd2d717999c39f", + "token_id": { + "token_data_id": { + "name": "Gran Saga: Unlimited Title Announcement OAT", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "property_version": "0" + } + }, + "decoded_value": { + "id": { + "token_data_id": { + "name": "Gran Saga: Unlimited Title Announcement OAT", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "property_version": "0" + }, + "amount": "1", + "token_properties": { + "map": { + "data": [] + } + } + }, + "is_deleted": false, + "last_transaction_version": 141135867 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/141135867/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/141135867/table_items.json new file mode 100644 index 000000000..6c1bc44d0 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/141135867/table_items.json @@ -0,0 +1,64 @@ +[ + { + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "transaction_version": 141135867, + "write_set_change_index": 4, + "transaction_block_height": 54943661, + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "103422835322352575", + "is_deleted": false + }, + { + "key": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f80947616c7865204f41542b4772616e20536167613a20556e6c696d69746564205469746c6520416e6e6f756e63656d656e74204f41540000000000000000", + "transaction_version": 141135867, + "write_set_change_index": 5, + "transaction_block_height": 54943661, + "table_handle": "0x9a6bdbe18a85fbe456660ae68a7e64e1d186b242bfe3c940d47643044e489d65", + "decoded_key": { + "token_data_id": { + "name": "Gran Saga: Unlimited Title Announcement OAT", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "property_version": "0" + }, + "decoded_value": null, + "is_deleted": true + }, + { + "key": "0x15ca0ddee3416b0d8177c0cce554f140c99a94b72e02a55a55fd2d717999c39f092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f80947616c7865204f41542b4772616e20536167613a20556e6c696d69746564205469746c6520416e6e6f756e63656d656e74204f41540000000000000000", + "transaction_version": 141135867, + "write_set_change_index": 6, + "transaction_block_height": 54943661, + "table_handle": "0xe67fe5afafcffe75ac55e33067d32c2a962435053d769a0ab4e476030a4de753", + "decoded_key": { + "to_addr": "0x15ca0ddee3416b0d8177c0cce554f140c99a94b72e02a55a55fd2d717999c39f", + "token_id": { + "token_data_id": { + "name": "Gran Saga: Unlimited Title Announcement OAT", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "property_version": "0" + } + }, + "decoded_value": { + "id": { + "token_data_id": { + "name": "Gran Saga: Unlimited Title Announcement OAT", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "property_version": "0" + }, + "amount": "1", + "token_properties": { + "map": { + "data": [] + } + } + }, + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/178179220/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/178179220/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/178179220/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/178179220/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/178179220/current_table_items.json new file mode 100644 index 000000000..63e8c16e9 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/178179220/current_table_items.json @@ -0,0 +1,200 @@ +[ + { + "table_handle": "0x59be6698e4e2da85f7780bf1c74f30951fc71c21a370ea1f25889b574e237e38", + "key_hash": "ed21581c9aee306d4614be09183276542a5406a554d08f39d2af7134564fbf6b", + "key": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a8307572657204547470b5726572045474720233635", + "decoded_key": { + "name": "W&W EGG #65", + "creator": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection": "W&W EGG" + }, + "decoded_value": { + "uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_common.png", + "name": "W&W EGG #65", + "supply": "1", + "maximum": "1", + "royalty": { + "payee_address": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08", + "royalty_points_numerator": "4000", + "royalty_points_denominator": "100000" + }, + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "mutability_config": { + "uri": true, + "maximum": false, + "royalty": true, + "properties": true, + "description": true + }, + "default_properties": { + "map": { + "data": [ + { + "key": "TOKEN_BURNABLE_BY_OWNER", + "value": { + "type": "bool", + "value": "0x01" + } + }, + { + "key": "TOKEN_BURNABLE_BY_CREATOR", + "value": { + "type": "bool", + "value": "0x01" + } + }, + { + "key": "TOKEN_PROPERTY_MUTATBLE", + "value": { + "type": "bool", + "value": "0x01" + } + }, + { + "key": "W_RARITY", + "value": { + "type": "u64", + "value": "0x0100000000000000" + } + } + ] + } + }, + "largest_property_version": "0" + }, + "is_deleted": false, + "last_transaction_version": 178179220 + }, + { + "table_handle": "0xbb26ae908fcb19ba5bb8353ce7599be7330cfa20f0c8081d7f0e8c608311962b", + "key_hash": "51787afe0c6a32f95f3c0e364c4090b9ee1e444e65e30b262d51ca51ac52a60d", + "key": "0x0757265720454747", + "decoded_key": "W&W EGG", + "decoded_value": { + "uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_epic.png", + "name": "W&W EGG", + "supply": "66", + "maximum": "99999", + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "mutability_config": { + "uri": true, + "maximum": true, + "description": true + } + }, + "is_deleted": false, + "last_transaction_version": 178179220 + }, + { + "table_handle": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "key_hash": "18a595526db5e6c670cde704cc646a46b041ada4b35ea83a1458c91c325962d5", + "key": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a8307572657204547470b57265720454747202336350000000000000000", + "decoded_key": { + "token_data_id": { + "name": "W&W EGG #65", + "creator": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection": "W&W EGG" + }, + "property_version": "0" + }, + "decoded_value": { + "id": { + "token_data_id": { + "name": "W&W EGG #65", + "creator": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection": "W&W EGG" + }, + "property_version": "0" + }, + "amount": "1", + "token_properties": { + "map": { + "data": [] + } + } + }, + "is_deleted": false, + "last_transaction_version": 178179220 + }, + { + "table_handle": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "key_hash": "900ba114be9d90688fa845508fc0e5b0c347df1f0119cc64375cfdbaabbbbfc8", + "key": "0xcf2d3d6e933f23bf9e2d27961be088370b1787db05324d5ccbe12eb776952f271357265720426561737420436f6c6c6563746f721857265720426561737420436f6c6c6563746f7220233133340100000000000000", + "decoded_key": { + "token_data_id": { + "name": "W&W Beast Collector #134", + "creator": "0xcf2d3d6e933f23bf9e2d27961be088370b1787db05324d5ccbe12eb776952f27", + "collection": "W&W Beast Collector" + }, + "property_version": "1" + }, + "decoded_value": { + "id": { + "token_data_id": { + "name": "W&W Beast Collector #134", + "creator": "0xcf2d3d6e933f23bf9e2d27961be088370b1787db05324d5ccbe12eb776952f27", + "collection": "W&W Beast Collector" + }, + "property_version": "1" + }, + "amount": "1", + "token_properties": { + "map": { + "data": [ + { + "key": "TOKEN_BURNABLE_BY_OWNER", + "value": { + "type": "bool", + "value": "0x01" + } + }, + { + "key": "TOKEN_BURNABLE_BY_CREATOR", + "value": { + "type": "bool", + "value": "0x01" + } + }, + { + "key": "TOKEN_PROPERTY_MUTATBLE", + "value": { + "type": "bool", + "value": "0x01" + } + }, + { + "key": "W_EXP", + "value": { + "type": "u64", + "value": "0x0900000000000000" + } + }, + { + "key": "W_LEVEL", + "value": { + "type": "u64", + "value": "0x0200000000000000" + } + }, + { + "key": "W_NEXT_EXPLORATION_TIME", + "value": { + "type": "u64", + "value": "0x5f1aae6400000000" + } + }, + { + "key": "W_GRADE", + "value": { + "type": "u64", + "value": "0x0100000000000000" + } + } + ] + } + } + }, + "is_deleted": false, + "last_transaction_version": 178179220 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/178179220/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/178179220/table_items.json new file mode 100644 index 000000000..53f3017ac --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/178179220/table_items.json @@ -0,0 +1,214 @@ +[ + { + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "transaction_version": 178179220, + "write_set_change_index": 7, + "transaction_block_height": 68127082, + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "104394269633475578", + "is_deleted": false + }, + { + "key": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a8307572657204547470b5726572045474720233635", + "transaction_version": 178179220, + "write_set_change_index": 8, + "transaction_block_height": 68127082, + "table_handle": "0x59be6698e4e2da85f7780bf1c74f30951fc71c21a370ea1f25889b574e237e38", + "decoded_key": { + "name": "W&W EGG #65", + "creator": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection": "W&W EGG" + }, + "decoded_value": { + "uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_common.png", + "name": "W&W EGG #65", + "supply": "1", + "maximum": "1", + "royalty": { + "payee_address": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08", + "royalty_points_numerator": "4000", + "royalty_points_denominator": "100000" + }, + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "mutability_config": { + "uri": true, + "maximum": false, + "royalty": true, + "properties": true, + "description": true + }, + "default_properties": { + "map": { + "data": [ + { + "key": "TOKEN_BURNABLE_BY_OWNER", + "value": { + "type": "bool", + "value": "0x01" + } + }, + { + "key": "TOKEN_BURNABLE_BY_CREATOR", + "value": { + "type": "bool", + "value": "0x01" + } + }, + { + "key": "TOKEN_PROPERTY_MUTATBLE", + "value": { + "type": "bool", + "value": "0x01" + } + }, + { + "key": "W_RARITY", + "value": { + "type": "u64", + "value": "0x0100000000000000" + } + } + ] + } + }, + "largest_property_version": "0" + }, + "is_deleted": false + }, + { + "key": "0x0757265720454747", + "transaction_version": 178179220, + "write_set_change_index": 9, + "transaction_block_height": 68127082, + "table_handle": "0xbb26ae908fcb19ba5bb8353ce7599be7330cfa20f0c8081d7f0e8c608311962b", + "decoded_key": "W&W EGG", + "decoded_value": { + "uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_epic.png", + "name": "W&W EGG", + "supply": "66", + "maximum": "99999", + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "mutability_config": { + "uri": true, + "maximum": true, + "description": true + } + }, + "is_deleted": false + }, + { + "key": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a8307572657204547470b57265720454747202336350000000000000000", + "transaction_version": 178179220, + "write_set_change_index": 10, + "transaction_block_height": 68127082, + "table_handle": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "decoded_key": { + "token_data_id": { + "name": "W&W EGG #65", + "creator": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection": "W&W EGG" + }, + "property_version": "0" + }, + "decoded_value": { + "id": { + "token_data_id": { + "name": "W&W EGG #65", + "creator": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection": "W&W EGG" + }, + "property_version": "0" + }, + "amount": "1", + "token_properties": { + "map": { + "data": [] + } + } + }, + "is_deleted": false + }, + { + "key": "0xcf2d3d6e933f23bf9e2d27961be088370b1787db05324d5ccbe12eb776952f271357265720426561737420436f6c6c6563746f721857265720426561737420436f6c6c6563746f7220233133340100000000000000", + "transaction_version": 178179220, + "write_set_change_index": 11, + "transaction_block_height": 68127082, + "table_handle": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "decoded_key": { + "token_data_id": { + "name": "W&W Beast Collector #134", + "creator": "0xcf2d3d6e933f23bf9e2d27961be088370b1787db05324d5ccbe12eb776952f27", + "collection": "W&W Beast Collector" + }, + "property_version": "1" + }, + "decoded_value": { + "id": { + "token_data_id": { + "name": "W&W Beast Collector #134", + "creator": "0xcf2d3d6e933f23bf9e2d27961be088370b1787db05324d5ccbe12eb776952f27", + "collection": "W&W Beast Collector" + }, + "property_version": "1" + }, + "amount": "1", + "token_properties": { + "map": { + "data": [ + { + "key": "TOKEN_BURNABLE_BY_OWNER", + "value": { + "type": "bool", + "value": "0x01" + } + }, + { + "key": "TOKEN_BURNABLE_BY_CREATOR", + "value": { + "type": "bool", + "value": "0x01" + } + }, + { + "key": "TOKEN_PROPERTY_MUTATBLE", + "value": { + "type": "bool", + "value": "0x01" + } + }, + { + "key": "W_EXP", + "value": { + "type": "u64", + "value": "0x0900000000000000" + } + }, + { + "key": "W_LEVEL", + "value": { + "type": "u64", + "value": "0x0200000000000000" + } + }, + { + "key": "W_NEXT_EXPLORATION_TIME", + "value": { + "type": "u64", + "value": "0x5f1aae6400000000" + } + }, + { + "key": "W_GRADE", + "value": { + "type": "u64", + "value": "0x0100000000000000" + } + } + ] + } + } + }, + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/84023785/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/84023785/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/84023785/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/84023785/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/84023785/current_table_items.json new file mode 100644 index 000000000..47f53329b --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/84023785/current_table_items.json @@ -0,0 +1,52 @@ +[ + { + "table_handle": "0xb6ace9a0a40e40f00579433e40d9deb49fd9eda638867a2eab4469158a1e5a6f", + "key_hash": "6514a4b4f971ecac5e2d8ca6723bf9c5bf9f4074ae30914f4bb2dbe1d5c4fe2b", + "key": "0x01592786351606410ce368d6c58bc56f4573ed82cdc092bd16089b9eae370211094561737465722d41490e4561737465722d414920233236350000000000000000", + "decoded_key": { + "token_data_id": { + "name": "Easter-AI #265", + "creator": "0x1592786351606410ce368d6c58bc56f4573ed82cdc092bd16089b9eae370211", + "collection": "Easter-AI" + }, + "property_version": "0" + }, + "decoded_value": { + "id": { + "token_data_id": { + "name": "Easter-AI #265", + "creator": "0x1592786351606410ce368d6c58bc56f4573ed82cdc092bd16089b9eae370211", + "collection": "Easter-AI" + }, + "property_version": "0" + }, + "amount": "1", + "token_properties": { + "map": { + "data": [] + } + } + }, + "is_deleted": false, + "last_transaction_version": 84023785 + }, + { + "table_handle": "0xf7fc9be5db4893f6cd86e7fc163ad8fba05828b1fce16a995fb01ff028d65bb2", + "key_hash": "c29c8c80490445710eefcf006a6f3a32b0052ee895675bde538cc1b9c3738001", + "key": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae01592786351606410ce368d6c58bc56f4573ed82cdc092bd16089b9eae370211094561737465722d41490e4561737465722d414920233236350000000000000000", + "decoded_key": { + "to_addr": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "token_id": { + "token_data_id": { + "name": "Easter-AI #265", + "creator": "0x1592786351606410ce368d6c58bc56f4573ed82cdc092bd16089b9eae370211", + "collection": "Easter-AI" + }, + "property_version": "0" + } + }, + "decoded_value": null, + "is_deleted": true, + "last_transaction_version": 84023785 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/84023785/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/84023785/table_items.json new file mode 100644 index 000000000..b8c07687d --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/84023785/table_items.json @@ -0,0 +1,64 @@ +[ + { + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "transaction_version": 84023785, + "write_set_change_index": 4, + "transaction_block_height": 31443230, + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "101884637825546853", + "is_deleted": false + }, + { + "key": "0x01592786351606410ce368d6c58bc56f4573ed82cdc092bd16089b9eae370211094561737465722d41490e4561737465722d414920233236350000000000000000", + "transaction_version": 84023785, + "write_set_change_index": 5, + "transaction_block_height": 31443230, + "table_handle": "0xb6ace9a0a40e40f00579433e40d9deb49fd9eda638867a2eab4469158a1e5a6f", + "decoded_key": { + "token_data_id": { + "name": "Easter-AI #265", + "creator": "0x1592786351606410ce368d6c58bc56f4573ed82cdc092bd16089b9eae370211", + "collection": "Easter-AI" + }, + "property_version": "0" + }, + "decoded_value": { + "id": { + "token_data_id": { + "name": "Easter-AI #265", + "creator": "0x1592786351606410ce368d6c58bc56f4573ed82cdc092bd16089b9eae370211", + "collection": "Easter-AI" + }, + "property_version": "0" + }, + "amount": "1", + "token_properties": { + "map": { + "data": [] + } + } + }, + "is_deleted": false + }, + { + "key": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae01592786351606410ce368d6c58bc56f4573ed82cdc092bd16089b9eae370211094561737465722d41490e4561737465722d414920233236350000000000000000", + "transaction_version": 84023785, + "write_set_change_index": 6, + "transaction_block_height": 31443230, + "table_handle": "0xf7fc9be5db4893f6cd86e7fc163ad8fba05828b1fce16a995fb01ff028d65bb2", + "decoded_key": { + "to_addr": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "token_id": { + "token_data_id": { + "name": "Easter-AI #265", + "creator": "0x1592786351606410ce368d6c58bc56f4573ed82cdc092bd16089b9eae370211", + "collection": "Easter-AI" + }, + "property_version": "0" + } + }, + "decoded_value": null, + "is_deleted": true + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/97963136/block_metadata_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/97963136/block_metadata_transactions.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/97963136/block_metadata_transactions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/97963136/current_table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/97963136/current_table_items.json new file mode 100644 index 000000000..b6a8588e1 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/97963136/current_table_items.json @@ -0,0 +1,52 @@ +[ + { + "table_handle": "0x3e33411747d4f778f2aeeb66aa22568db5bfbfab84f72f4943c562a3cdc4a095", + "key_hash": "39dd3ccd0ff34c9fd99a93332c0cafc881bff1a012680cd834f2d76a2caae91b", + "key": "0x02ff54fea1e710bafb56eb3d14e1b07ce86c4d06bdbc226973fea8d156cad2c19bc7a139e5c2c70625f30625d4f704ce11d3a305267b22f7b913fe85aa151b6907426c7565457965074e4654202332350000000000000000", + "decoded_key": { + "to_addr": "0x2ff54fea1e710bafb56eb3d14e1b07ce86c4d06bdbc226973fea8d156cad2c1", + "token_id": { + "token_data_id": { + "name": "NFT #25", + "creator": "0x9bc7a139e5c2c70625f30625d4f704ce11d3a305267b22f7b913fe85aa151b69", + "collection": "BlueEye" + }, + "property_version": "0" + } + }, + "decoded_value": null, + "is_deleted": true, + "last_transaction_version": 97963136 + }, + { + "table_handle": "0xcaaa88b30540f763e53ed4cbd363a40bdef8c20e59ffa2ca36be986f41eb9f4b", + "key_hash": "e1c0739183bae7f147401e1a8674a8e58d3d408b70fcdf5490d017c131a5bd2e", + "key": "0x9bc7a139e5c2c70625f30625d4f704ce11d3a305267b22f7b913fe85aa151b6907426c7565457965074e4654202332350000000000000000", + "decoded_key": { + "token_data_id": { + "name": "NFT #25", + "creator": "0x9bc7a139e5c2c70625f30625d4f704ce11d3a305267b22f7b913fe85aa151b69", + "collection": "BlueEye" + }, + "property_version": "0" + }, + "decoded_value": { + "id": { + "token_data_id": { + "name": "NFT #25", + "creator": "0x9bc7a139e5c2c70625f30625d4f704ce11d3a305267b22f7b913fe85aa151b69", + "collection": "BlueEye" + }, + "property_version": "0" + }, + "amount": "1", + "token_properties": { + "map": { + "data": [] + } + } + }, + "is_deleted": false, + "last_transaction_version": 97963136 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/97963136/table_items.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/97963136/table_items.json new file mode 100644 index 000000000..93144a5de --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/default_processor/97963136/table_items.json @@ -0,0 +1,64 @@ +[ + { + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "transaction_version": 97963136, + "write_set_change_index": 4, + "transaction_block_height": 37453754, + "table_handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "decoded_key": "0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "decoded_value": "102309332057188482", + "is_deleted": false + }, + { + "key": "0x02ff54fea1e710bafb56eb3d14e1b07ce86c4d06bdbc226973fea8d156cad2c19bc7a139e5c2c70625f30625d4f704ce11d3a305267b22f7b913fe85aa151b6907426c7565457965074e4654202332350000000000000000", + "transaction_version": 97963136, + "write_set_change_index": 5, + "transaction_block_height": 37453754, + "table_handle": "0x3e33411747d4f778f2aeeb66aa22568db5bfbfab84f72f4943c562a3cdc4a095", + "decoded_key": { + "to_addr": "0x2ff54fea1e710bafb56eb3d14e1b07ce86c4d06bdbc226973fea8d156cad2c1", + "token_id": { + "token_data_id": { + "name": "NFT #25", + "creator": "0x9bc7a139e5c2c70625f30625d4f704ce11d3a305267b22f7b913fe85aa151b69", + "collection": "BlueEye" + }, + "property_version": "0" + } + }, + "decoded_value": null, + "is_deleted": true + }, + { + "key": "0x9bc7a139e5c2c70625f30625d4f704ce11d3a305267b22f7b913fe85aa151b6907426c7565457965074e4654202332350000000000000000", + "transaction_version": 97963136, + "write_set_change_index": 6, + "transaction_block_height": 37453754, + "table_handle": "0xcaaa88b30540f763e53ed4cbd363a40bdef8c20e59ffa2ca36be986f41eb9f4b", + "decoded_key": { + "token_data_id": { + "name": "NFT #25", + "creator": "0x9bc7a139e5c2c70625f30625d4f704ce11d3a305267b22f7b913fe85aa151b69", + "collection": "BlueEye" + }, + "property_version": "0" + }, + "decoded_value": { + "id": { + "token_data_id": { + "name": "NFT #25", + "creator": "0x9bc7a139e5c2c70625f30625d4f704ce11d3a305267b22f7b913fe85aa151b69", + "collection": "BlueEye" + }, + "property_version": "0" + }, + "amount": "1", + "token_properties": { + "map": { + "data": [] + } + } + }, + "is_deleted": false + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/1058723093/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/1058723093/events.json new file mode 100644 index 000000000..c8ced216c --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/1058723093/events.json @@ -0,0 +1,121 @@ +[ + { + "sequence_number": 1376795, + "creation_number": 10, + "account_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "transaction_version": 1058723093, + "transaction_block_height": 207536557, + "type_": "0x3::token::MintTokenEvent", + "data": { + "id": { + "name": "Aptos CIS x Joule Finance", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::MintTokenEvent", + "event_index": 0 + }, + { + "sequence_number": 1376795, + "creation_number": 11, + "account_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "transaction_version": 1058723093, + "transaction_block_height": 207536557, + "type_": "0x3::token::DepositEvent", + "data": { + "id": { + "token_data_id": { + "name": "Aptos CIS x Joule Finance", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "property_version": "0" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::DepositEvent", + "event_index": 1 + }, + { + "sequence_number": 1376795, + "creation_number": 12, + "account_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "transaction_version": 1058723093, + "transaction_block_height": 207536557, + "type_": "0x3::token::WithdrawEvent", + "data": { + "id": { + "token_data_id": { + "name": "Aptos CIS x Joule Finance", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "property_version": "0" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::WithdrawEvent", + "event_index": 2 + }, + { + "sequence_number": 7, + "creation_number": 24, + "account_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "transaction_version": 1058723093, + "transaction_block_height": 207536557, + "type_": "0x3::token::DepositEvent", + "data": { + "id": { + "token_data_id": { + "name": "Aptos CIS x Joule Finance", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "property_version": "0" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::DepositEvent", + "event_index": 3 + }, + { + "sequence_number": 1376795, + "creation_number": 6, + "account_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "transaction_version": 1058723093, + "transaction_block_height": 207536557, + "type_": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::ClaimEvent", + "data": { + "amount": "1", + "sig_id": "899675077", + "pubkey_id": "0", + "receiver_addr": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "token_data_id": { + "name": "Aptos CIS x Joule Finance", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + } + }, + "indexed_type": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::ClaimEvent", + "event_index": 4 + }, + { + "sequence_number": 0, + "creation_number": 0, + "account_address": "0x0000000000000000000000000000000000000000000000000000000000000000", + "transaction_version": 1058723093, + "transaction_block_height": 207536557, + "type_": "0x1::transaction_fee::FeeStatement", + "data": { + "io_gas_units": "7", + "storage_fee_octas": "89360", + "execution_gas_units": "9", + "total_charge_gas_units": "611", + "storage_fee_refund_octas": "0" + }, + "indexed_type": "0x1::transaction_fee::FeeStatement", + "event_index": 5 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/11648867/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/11648867/events.json new file mode 100644 index 000000000..138852b11 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/11648867/events.json @@ -0,0 +1,218 @@ +[ + { + "sequence_number": 0, + "creation_number": 5, + "account_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "transaction_version": 11648867, + "transaction_block_height": 3156251, + "type_": "0x3::token::WithdrawEvent", + "data": { + "id": { + "token_data_id": { + "name": "APass 5APT Coupon #2042", + "creator": "0x42c289240fd449c03479f18abe739999e6aa5b6ceed0819026f6b597ca0d0d0d", + "collection": "Apter Coupon" + }, + "property_version": "0" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::WithdrawEvent", + "event_index": 0 + }, + { + "sequence_number": 0, + "creation_number": 6, + "account_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "transaction_version": 11648867, + "transaction_block_height": 3156251, + "type_": "0x3::token::BurnTokenEvent", + "data": { + "id": { + "token_data_id": { + "name": "APass 5APT Coupon #2042", + "creator": "0x42c289240fd449c03479f18abe739999e6aa5b6ceed0819026f6b597ca0d0d0d", + "collection": "Apter Coupon" + }, + "property_version": "0" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::BurnTokenEvent", + "event_index": 1 + }, + { + "sequence_number": 2119, + "creation_number": 7, + "account_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "transaction_version": 11648867, + "transaction_block_height": 3156251, + "type_": "0x3::token::CreateTokenDataEvent", + "data": { + "id": { + "name": "kusama", + "creator": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "collection": "APass" + }, + "uri": "https://aptpp.com/namepic/main/kusama", + "name": "kusama", + "maximum": "1", + "description": "APass Name", + "property_keys": [ + "TOKEN_BURNABLE_BY_OWNER", + "TOKEN_PROPERTY_MUTABLE" + ], + "property_types": [ + "bool", + "bool" + ], + "property_values": [ + "0x01", + "0x01" + ], + "mutability_config": { + "uri": true, + "maximum": true, + "royalty": true, + "properties": true, + "description": true + }, + "royalty_payee_address": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb", + "royalty_points_numerator": "0", + "royalty_points_denominator": "0" + }, + "indexed_type": "0x3::token::CreateTokenDataEvent", + "event_index": 2 + }, + { + "sequence_number": 2119, + "creation_number": 2, + "account_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "transaction_version": 11648867, + "transaction_block_height": 3156251, + "type_": "0x3::token::DepositEvent", + "data": { + "id": { + "token_data_id": { + "name": "kusama", + "creator": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "collection": "APass" + }, + "property_version": "0" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::DepositEvent", + "event_index": 3 + }, + { + "sequence_number": 2119, + "creation_number": 8, + "account_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "transaction_version": 11648867, + "transaction_block_height": 3156251, + "type_": "0x3::token::MintTokenEvent", + "data": { + "id": { + "name": "kusama", + "creator": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "collection": "APass" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::MintTokenEvent", + "event_index": 4 + }, + { + "sequence_number": 2119, + "creation_number": 3, + "account_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "transaction_version": 11648867, + "transaction_block_height": 3156251, + "type_": "0x3::token::WithdrawEvent", + "data": { + "id": { + "token_data_id": { + "name": "kusama", + "creator": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "collection": "APass" + }, + "property_version": "0" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::WithdrawEvent", + "event_index": 5 + }, + { + "sequence_number": 1, + "creation_number": 4, + "account_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "transaction_version": 11648867, + "transaction_block_height": 3156251, + "type_": "0x3::token::DepositEvent", + "data": { + "id": { + "token_data_id": { + "name": "kusama", + "creator": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "collection": "APass" + }, + "property_version": "0" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::DepositEvent", + "event_index": 6 + }, + { + "sequence_number": 2120, + "creation_number": 4, + "account_address": "0x0000777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb", + "transaction_version": 11648867, + "transaction_block_height": 3156251, + "type_": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::RegisterEvent", + "data": { + "time": "1666656981", + "price": "0", + "years": "1", + "domain": "kusama", + "account": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "tokenid": { + "token_data_id": { + "name": "kusama", + "creator": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "collection": "APass" + }, + "property_version": "0" + } + }, + "indexed_type": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::RegisterEvent", + "event_index": 7 + }, + { + "sequence_number": 0, + "creation_number": 9, + "account_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "transaction_version": 11648867, + "transaction_block_height": 3156251, + "type_": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::RegisterEvent", + "data": { + "time": "1666656981", + "price": "0", + "years": "1", + "domain": "kusama", + "account": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "tokenid": { + "token_data_id": { + "name": "kusama", + "creator": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "collection": "APass" + }, + "property_version": "0" + } + }, + "indexed_type": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::RegisterEvent", + "event_index": 8 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/141135867/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/141135867/events.json new file mode 100644 index 000000000..4331bdb06 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/141135867/events.json @@ -0,0 +1,45 @@ +[ + { + "sequence_number": 3, + "creation_number": 5, + "account_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "transaction_version": 141135867, + "transaction_block_height": 54943661, + "type_": "0x3::token::WithdrawEvent", + "data": { + "id": { + "token_data_id": { + "name": "Gran Saga: Unlimited Title Announcement OAT", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "property_version": "0" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::WithdrawEvent", + "event_index": 0 + }, + { + "sequence_number": 0, + "creation_number": 12, + "account_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "transaction_version": 141135867, + "transaction_block_height": 54943661, + "type_": "0x3::token_transfers::TokenOfferEvent", + "data": { + "amount": "1", + "token_id": { + "token_data_id": { + "name": "Gran Saga: Unlimited Title Announcement OAT", + "creator": "0x92d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection": "Galxe OAT" + }, + "property_version": "0" + }, + "to_address": "0x15ca0ddee3416b0d8177c0cce554f140c99a94b72e02a55a55fd2d717999c39f" + }, + "indexed_type": "0x3::token_transfers::TokenOfferEvent", + "event_index": 1 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/178179220/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/178179220/events.json new file mode 100644 index 000000000..a2e12646d --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/178179220/events.json @@ -0,0 +1,188 @@ +[ + { + "sequence_number": 2952, + "creation_number": 7, + "account_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "transaction_version": 178179220, + "transaction_block_height": 68127082, + "type_": "0x3::token::MutateTokenPropertyMapEvent", + "data": { + "keys": [ + "W_LEVEL", + "W_EXP", + "W_NEXT_EXPLORATION_TIME" + ], + "types": [ + "u64", + "u64", + "u64" + ], + "new_id": { + "token_data_id": { + "name": "W&W Beast Collector #134", + "creator": "0xcf2d3d6e933f23bf9e2d27961be088370b1787db05324d5ccbe12eb776952f27", + "collection": "W&W Beast Collector" + }, + "property_version": "1" + }, + "old_id": { + "token_data_id": { + "name": "W&W Beast Collector #134", + "creator": "0xcf2d3d6e933f23bf9e2d27961be088370b1787db05324d5ccbe12eb776952f27", + "collection": "W&W Beast Collector" + }, + "property_version": "1" + }, + "values": [ + "0x0200000000000000", + "0x0900000000000000", + "0x5f1aae6400000000" + ] + }, + "indexed_type": "0x3::token::MutateTokenPropertyMapEvent", + "event_index": 0 + }, + { + "sequence_number": 4762, + "creation_number": 7, + "account_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "transaction_version": 178179220, + "transaction_block_height": 68127082, + "type_": "0x3::token::CreateTokenDataEvent", + "data": { + "id": { + "name": "W&W EGG #65", + "creator": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection": "W&W EGG" + }, + "uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_common.png", + "name": "W&W EGG #65", + "maximum": "1", + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "property_keys": [ + "TOKEN_BURNABLE_BY_OWNER", + "TOKEN_BURNABLE_BY_CREATOR", + "TOKEN_PROPERTY_MUTATBLE", + "W_RARITY" + ], + "property_types": [ + "bool", + "bool", + "bool", + "u64" + ], + "property_values": [ + "0x01", + "0x01", + "0x01", + "0x0100000000000000" + ], + "mutability_config": { + "uri": true, + "maximum": false, + "royalty": true, + "properties": true, + "description": true + }, + "royalty_payee_address": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08", + "royalty_points_numerator": "4000", + "royalty_points_denominator": "100000" + }, + "indexed_type": "0x3::token::CreateTokenDataEvent", + "event_index": 1 + }, + { + "sequence_number": 4762, + "creation_number": 8, + "account_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "transaction_version": 178179220, + "transaction_block_height": 68127082, + "type_": "0x3::token::MintTokenEvent", + "data": { + "id": { + "name": "W&W EGG #65", + "creator": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection": "W&W EGG" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::MintTokenEvent", + "event_index": 2 + }, + { + "sequence_number": 4762, + "creation_number": 2, + "account_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "transaction_version": 178179220, + "transaction_block_height": 68127082, + "type_": "0x3::token::DepositEvent", + "data": { + "id": { + "token_data_id": { + "name": "W&W EGG #65", + "creator": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection": "W&W EGG" + }, + "property_version": "0" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::DepositEvent", + "event_index": 3 + }, + { + "sequence_number": 868, + "creation_number": 11, + "account_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "transaction_version": 178179220, + "transaction_block_height": 68127082, + "type_": "0x3::token_event_store::OptInTransferEvent", + "data": { + "opt_in": true + }, + "indexed_type": "0x3::token_event_store::OptInTransferEvent", + "event_index": 4 + }, + { + "sequence_number": 4762, + "creation_number": 3, + "account_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "transaction_version": 178179220, + "transaction_block_height": 68127082, + "type_": "0x3::token::WithdrawEvent", + "data": { + "id": { + "token_data_id": { + "name": "W&W EGG #65", + "creator": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection": "W&W EGG" + }, + "property_version": "0" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::WithdrawEvent", + "event_index": 5 + }, + { + "sequence_number": 1303, + "creation_number": 4, + "account_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "transaction_version": 178179220, + "transaction_block_height": 68127082, + "type_": "0x3::token::DepositEvent", + "data": { + "id": { + "token_data_id": { + "name": "W&W EGG #65", + "creator": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection": "W&W EGG" + }, + "property_version": "0" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::DepositEvent", + "event_index": 6 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/84023785/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/84023785/events.json new file mode 100644 index 000000000..28f529869 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/84023785/events.json @@ -0,0 +1,45 @@ +[ + { + "sequence_number": 0, + "creation_number": 4, + "account_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "transaction_version": 84023785, + "transaction_block_height": 31443230, + "type_": "0x3::token::DepositEvent", + "data": { + "id": { + "token_data_id": { + "name": "Easter-AI #265", + "creator": "0x1592786351606410ce368d6c58bc56f4573ed82cdc092bd16089b9eae370211", + "collection": "Easter-AI" + }, + "property_version": "0" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::DepositEvent", + "event_index": 0 + }, + { + "sequence_number": 0, + "creation_number": 17, + "account_address": "0x02018f7b38b9c783d6385ec722490082425dc43d3a5e4afac4ebb9cfe92033e9", + "transaction_version": 84023785, + "transaction_block_height": 31443230, + "type_": "0x3::token_transfers::TokenClaimEvent", + "data": { + "amount": "1", + "token_id": { + "token_data_id": { + "name": "Easter-AI #265", + "creator": "0x1592786351606410ce368d6c58bc56f4573ed82cdc092bd16089b9eae370211", + "collection": "Easter-AI" + }, + "property_version": "0" + }, + "to_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae" + }, + "indexed_type": "0x3::token_transfers::TokenClaimEvent", + "event_index": 1 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/97963136/events.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/97963136/events.json new file mode 100644 index 000000000..f4dc9c827 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/events_processor/97963136/events.json @@ -0,0 +1,45 @@ +[ + { + "sequence_number": 15, + "creation_number": 6, + "account_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "transaction_version": 97963136, + "transaction_block_height": 37453754, + "type_": "0x3::token::DepositEvent", + "data": { + "id": { + "token_data_id": { + "name": "NFT #25", + "creator": "0x9bc7a139e5c2c70625f30625d4f704ce11d3a305267b22f7b913fe85aa151b69", + "collection": "BlueEye" + }, + "property_version": "0" + }, + "amount": "1" + }, + "indexed_type": "0x3::token::DepositEvent", + "event_index": 0 + }, + { + "sequence_number": 0, + "creation_number": 11, + "account_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "transaction_version": 97963136, + "transaction_block_height": 37453754, + "type_": "0x3::token_transfers::TokenCancelOfferEvent", + "data": { + "amount": "1", + "token_id": { + "token_data_id": { + "name": "NFT #25", + "creator": "0x9bc7a139e5c2c70625f30625d4f704ce11d3a305267b22f7b913fe85aa151b69", + "collection": "BlueEye" + }, + "property_version": "0" + }, + "to_address": "0x2ff54fea1e710bafb56eb3d14e1b07ce86c4d06bdbc226973fea8d156cad2c1" + }, + "indexed_type": "0x3::token_transfers::TokenCancelOfferEvent", + "event_index": 1 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1058723093/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1058723093/coin_supply.json new file mode 100644 index 000000000..b50dd76b7 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1058723093/coin_supply.json @@ -0,0 +1,10 @@ +[ + { + "transaction_version": 1058723093, + "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", + "coin_type": "0x1::aptos_coin::AptosCoin", + "supply": "110825801751155699", + "transaction_timestamp": "2024-07-29T17:42:38", + "transaction_epoch": 7916 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1058723093/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1058723093/current_fungible_asset_balances.json new file mode 100644 index 000000000..279c0afad --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1058723093/current_fungible_asset_balances.json @@ -0,0 +1,13 @@ +[ + { + "storage_id": "0x47e6cde519b1febd1a14f06017de6b20269af5c54ef273833957a3fed1520a9f", + "owner_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "27944206", + "last_transaction_timestamp": "2024-07-29T17:42:38", + "last_transaction_version": 1058723093, + "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/1058723093/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1058723093/fungible_asset_activities.json new file mode 100644 index 000000000..ece7f2a5d --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1058723093/fungible_asset_activities.json @@ -0,0 +1,20 @@ +[ + { + "transaction_version": 1058723093, + "event_index": -1, + "owner_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "storage_id": "0x47e6cde519b1febd1a14f06017de6b20269af5c54ef273833957a3fed1520a9f", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_frozen": null, + "amount": "91650", + "type_": "0x1::aptos_coin::GasFeeEvent", + "is_gas_fee": true, + "gas_fee_payer_address": null, + "is_transaction_success": true, + "entry_function_id_str": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::claim", + "block_height": 207536557, + "token_standard": "v1", + "transaction_timestamp": "2024-07-29T17:42:38", + "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/1058723093/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1058723093/fungible_asset_balances.json new file mode 100644 index 000000000..c7ab83427 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1058723093/fungible_asset_balances.json @@ -0,0 +1,14 @@ +[ + { + "transaction_version": 1058723093, + "write_set_change_index": 3, + "storage_id": "0x47e6cde519b1febd1a14f06017de6b20269af5c54ef273833957a3fed1520a9f", + "owner_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "27944206", + "transaction_timestamp": "2024-07-29T17:42:38", + "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/1058723093/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1058723093/fungible_asset_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/1058723093/fungible_asset_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/11648867/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/11648867/coin_supply.json new file mode 100644 index 000000000..314e22fa7 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/11648867/coin_supply.json @@ -0,0 +1,10 @@ +[ + { + "transaction_version": 11648867, + "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", + "coin_type": "0x1::aptos_coin::AptosCoin", + "supply": "100185653790274252", + "transaction_timestamp": "2022-10-25T00:16:21", + "transaction_epoch": 148 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/11648867/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/11648867/current_fungible_asset_balances.json new file mode 100644 index 000000000..64b123db5 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/11648867/current_fungible_asset_balances.json @@ -0,0 +1,13 @@ +[ + { + "storage_id": "0x17f2fa24f5cb31c1f6cca9a7b9aeca5f5b51f0dfca497a4311467953a63642b7", + "owner_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "8119801", + "last_transaction_timestamp": "2022-10-25T00:16:21", + "last_transaction_version": 11648867, + "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/11648867/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/11648867/fungible_asset_activities.json new file mode 100644 index 000000000..88af01f6c --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/11648867/fungible_asset_activities.json @@ -0,0 +1,20 @@ +[ + { + "transaction_version": 11648867, + "event_index": -1, + "owner_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "storage_id": "0x17f2fa24f5cb31c1f6cca9a7b9aeca5f5b51f0dfca497a4311467953a63642b7", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_frozen": null, + "amount": "1184831", + "type_": "0x1::aptos_coin::GasFeeEvent", + "is_gas_fee": true, + "gas_fee_payer_address": null, + "is_transaction_success": true, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "block_height": 3156251, + "token_standard": "v1", + "transaction_timestamp": "2022-10-25T00:16:21", + "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/11648867/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/11648867/fungible_asset_balances.json new file mode 100644 index 000000000..1ab241472 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/11648867/fungible_asset_balances.json @@ -0,0 +1,14 @@ +[ + { + "transaction_version": 11648867, + "write_set_change_index": 1, + "storage_id": "0x17f2fa24f5cb31c1f6cca9a7b9aeca5f5b51f0dfca497a4311467953a63642b7", + "owner_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "8119801", + "transaction_timestamp": "2022-10-25T00:16:21", + "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/11648867/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/11648867/fungible_asset_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/11648867/fungible_asset_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/141135867/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/141135867/coin_supply.json new file mode 100644 index 000000000..a7e17dfd4 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/141135867/coin_supply.json @@ -0,0 +1,10 @@ +[ + { + "transaction_version": 141135867, + "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", + "coin_type": "0x1::aptos_coin::AptosCoin", + "supply": "103422835322352575", + "transaction_timestamp": "2023-05-14T02:08:22", + "transaction_epoch": 2563 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/141135867/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/141135867/current_fungible_asset_balances.json new file mode 100644 index 000000000..6c612039e --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/141135867/current_fungible_asset_balances.json @@ -0,0 +1,13 @@ +[ + { + "storage_id": "0x10d6d8d4758ae07660390c716a56f480b3e5793a8e380049c87ae770948bd05e", + "owner_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "700536", + "last_transaction_timestamp": "2023-05-14T02:08:22", + "last_transaction_version": 141135867, + "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/141135867/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/141135867/fungible_asset_activities.json new file mode 100644 index 000000000..c4d82339c --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/141135867/fungible_asset_activities.json @@ -0,0 +1,20 @@ +[ + { + "transaction_version": 141135867, + "event_index": -1, + "owner_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "storage_id": "0x10d6d8d4758ae07660390c716a56f480b3e5793a8e380049c87ae770948bd05e", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_frozen": null, + "amount": "102300", + "type_": "0x1::aptos_coin::GasFeeEvent", + "is_gas_fee": true, + "gas_fee_payer_address": null, + "is_transaction_success": true, + "entry_function_id_str": "0x3::token_transfers::offer_script", + "block_height": 54943661, + "token_standard": "v1", + "transaction_timestamp": "2023-05-14T02:08:22", + "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/141135867/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/141135867/fungible_asset_balances.json new file mode 100644 index 000000000..4f173592c --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/141135867/fungible_asset_balances.json @@ -0,0 +1,14 @@ +[ + { + "transaction_version": 141135867, + "write_set_change_index": 0, + "storage_id": "0x10d6d8d4758ae07660390c716a56f480b3e5793a8e380049c87ae770948bd05e", + "owner_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "700536", + "transaction_timestamp": "2023-05-14T02:08:22", + "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/141135867/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/141135867/fungible_asset_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/141135867/fungible_asset_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/178179220/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/178179220/coin_supply.json new file mode 100644 index 000000000..1d8fd0e94 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/178179220/coin_supply.json @@ -0,0 +1,10 @@ +[ + { + "transaction_version": 178179220, + "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", + "coin_type": "0x1::aptos_coin::AptosCoin", + "supply": "104394269633475578", + "transaction_timestamp": "2023-07-11T03:13:35", + "transaction_epoch": 3261 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/178179220/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/178179220/current_fungible_asset_balances.json new file mode 100644 index 000000000..37542e933 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/178179220/current_fungible_asset_balances.json @@ -0,0 +1,13 @@ +[ + { + "storage_id": "0xa8a074473d971df6e2cb92fd1698cb699036bceda7388b46e2d2dccd3b4ec287", + "owner_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "9121536", + "last_transaction_timestamp": "2023-07-11T03:13:35", + "last_transaction_version": 178179220, + "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/178179220/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/178179220/fungible_asset_activities.json new file mode 100644 index 000000000..4ec48bc26 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/178179220/fungible_asset_activities.json @@ -0,0 +1,20 @@ +[ + { + "transaction_version": 178179220, + "event_index": -1, + "owner_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "storage_id": "0xa8a074473d971df6e2cb92fd1698cb699036bceda7388b46e2d2dccd3b4ec287", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_frozen": null, + "amount": "143700", + "type_": "0x1::aptos_coin::GasFeeEvent", + "is_gas_fee": true, + "gas_fee_payer_address": null, + "is_transaction_success": true, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "block_height": 68127082, + "token_standard": "v1", + "transaction_timestamp": "2023-07-11T03:13:35", + "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/178179220/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/178179220/fungible_asset_balances.json new file mode 100644 index 000000000..d1bd3875d --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/178179220/fungible_asset_balances.json @@ -0,0 +1,14 @@ +[ + { + "transaction_version": 178179220, + "write_set_change_index": 0, + "storage_id": "0xa8a074473d971df6e2cb92fd1698cb699036bceda7388b46e2d2dccd3b4ec287", + "owner_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "9121536", + "transaction_timestamp": "2023-07-11T03:13:35", + "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/178179220/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/178179220/fungible_asset_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/178179220/fungible_asset_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/84023785/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/84023785/coin_supply.json new file mode 100644 index 000000000..ac9fd2ec6 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/84023785/coin_supply.json @@ -0,0 +1,10 @@ +[ + { + "transaction_version": 84023785, + "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", + "coin_type": "0x1::aptos_coin::AptosCoin", + "supply": "101884637825546853", + "transaction_timestamp": "2023-02-08T13:41:41", + "transaction_epoch": 1427 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/84023785/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/84023785/current_fungible_asset_balances.json new file mode 100644 index 000000000..dbc90092f --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/84023785/current_fungible_asset_balances.json @@ -0,0 +1,13 @@ +[ + { + "storage_id": "0x81e0b4b59dfacbbf8d0b91498e83204e86afef486f1b11374c40277fecaf135c", + "owner_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "711535323", + "last_transaction_timestamp": "2023-02-08T13:41:41", + "last_transaction_version": 84023785, + "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/84023785/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/84023785/fungible_asset_activities.json new file mode 100644 index 000000000..21f1db144 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/84023785/fungible_asset_activities.json @@ -0,0 +1,20 @@ +[ + { + "transaction_version": 84023785, + "event_index": -1, + "owner_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "storage_id": "0x81e0b4b59dfacbbf8d0b91498e83204e86afef486f1b11374c40277fecaf135c", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_frozen": null, + "amount": "302974", + "type_": "0x1::aptos_coin::GasFeeEvent", + "is_gas_fee": true, + "gas_fee_payer_address": null, + "is_transaction_success": true, + "entry_function_id_str": "0x3::token_transfers::claim_script", + "block_height": 31443230, + "token_standard": "v1", + "transaction_timestamp": "2023-02-08T13:41:41", + "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/84023785/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/84023785/fungible_asset_balances.json new file mode 100644 index 000000000..9d2b96d47 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/84023785/fungible_asset_balances.json @@ -0,0 +1,14 @@ +[ + { + "transaction_version": 84023785, + "write_set_change_index": 1, + "storage_id": "0x81e0b4b59dfacbbf8d0b91498e83204e86afef486f1b11374c40277fecaf135c", + "owner_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "711535323", + "transaction_timestamp": "2023-02-08T13:41:41", + "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/84023785/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/84023785/fungible_asset_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/84023785/fungible_asset_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/97963136/coin_supply.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/97963136/coin_supply.json new file mode 100644 index 000000000..4a31ecc79 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/97963136/coin_supply.json @@ -0,0 +1,10 @@ +[ + { + "transaction_version": 97963136, + "coin_type_hash": "91ceb1308a98389691e05158b07ed5f079ab78461a6bb8d5a4054b1bb5cb8bb6", + "coin_type": "0x1::aptos_coin::AptosCoin", + "supply": "102309332057188482", + "transaction_timestamp": "2023-03-06T22:17:05", + "transaction_epoch": 1743 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/97963136/current_fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/97963136/current_fungible_asset_balances.json new file mode 100644 index 000000000..ccacac153 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/97963136/current_fungible_asset_balances.json @@ -0,0 +1,13 @@ +[ + { + "storage_id": "0x0e199ed6bf51aee4c7925ec438f921d2f421850216a541ea3d107267f13b2eeb", + "owner_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "43037891", + "last_transaction_timestamp": "2023-03-06T22:17:05", + "last_transaction_version": 97963136, + "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/97963136/fungible_asset_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/97963136/fungible_asset_activities.json new file mode 100644 index 000000000..6cd67e048 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/97963136/fungible_asset_activities.json @@ -0,0 +1,20 @@ +[ + { + "transaction_version": 97963136, + "event_index": -1, + "owner_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "storage_id": "0x0e199ed6bf51aee4c7925ec438f921d2f421850216a541ea3d107267f13b2eeb", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_frozen": null, + "amount": "157000", + "type_": "0x1::aptos_coin::GasFeeEvent", + "is_gas_fee": true, + "gas_fee_payer_address": null, + "is_transaction_success": true, + "entry_function_id_str": "0x3::token_transfers::cancel_offer_script", + "block_height": 37453754, + "token_standard": "v1", + "transaction_timestamp": "2023-03-06T22:17:05", + "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/97963136/fungible_asset_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/97963136/fungible_asset_balances.json new file mode 100644 index 000000000..3b5fbd13b --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/97963136/fungible_asset_balances.json @@ -0,0 +1,14 @@ +[ + { + "transaction_version": 97963136, + "write_set_change_index": 0, + "storage_id": "0x0e199ed6bf51aee4c7925ec438f921d2f421850216a541ea3d107267f13b2eeb", + "owner_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "asset_type": "0x1::aptos_coin::AptosCoin", + "is_primary": true, + "is_frozen": false, + "amount": "43037891", + "transaction_timestamp": "2023-03-06T22:17:05", + "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/97963136/fungible_asset_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/97963136/fungible_asset_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/fungible_asset_processor/97963136/fungible_asset_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1058723093/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1058723093/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1058723093/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1058723093/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1058723093/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/1058723093/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/11648867/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/11648867/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/11648867/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/11648867/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/11648867/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/11648867/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/141135867/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/141135867/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/141135867/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/141135867/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/141135867/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/141135867/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/178179220/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/178179220/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/178179220/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/178179220/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/178179220/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/178179220/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/84023785/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/84023785/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/84023785/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/84023785/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/84023785/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/84023785/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/97963136/current_objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/97963136/current_objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/97963136/current_objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/97963136/objects.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/97963136/objects.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/objects_processor/97963136/objects.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/1058723093/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/11648867/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/141135867/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/178179220/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/84023785/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/current_delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/current_delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/current_delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/current_delegated_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/current_delegated_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/current_delegated_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/current_delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/current_delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/current_delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/current_staking_pool_voter.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/current_staking_pool_voter.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/current_staking_pool_voter.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/delegated_staking_activities.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/delegated_staking_activities.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/delegated_staking_activities.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/delegated_staking_pool_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/delegated_staking_pool_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/delegated_staking_pool_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/delegated_staking_pools.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/delegated_staking_pools.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/delegated_staking_pools.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/delegator_balances.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/delegator_balances.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/delegator_balances.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/proposal_votes.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/proposal_votes.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/stake_processor/97963136/proposal_votes.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/current_collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/current_collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/current_token_datas_v2.json new file mode 100644 index 000000000..2a4f65230 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/current_token_datas_v2.json @@ -0,0 +1,21 @@ +[ + { + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "collection_id": "0x2ae74f6f02bb77746263f3f32b17a4ea3196b467029c588b323d136af0c45cd4", + "token_name": "Aptos CIS x Joule Finance", + "maximum": "10000000000", + "supply": "2893", + "largest_property_version_v1": "0", + "token_uri": "https://graphigo.prd.galaxy.eco/metadata/aptos/0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8/GCoqbtkpAd.json", + "description": "", + "token_properties": { + "Galxe Campaign": "GCoqbtkpAd" + }, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 1058723093, + "last_transaction_timestamp": "2024-07-29T17:42:38.476025", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/current_token_ownerships_v2.json new file mode 100644 index 000000000..3910ab3a8 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/current_token_ownerships_v2.json @@ -0,0 +1,17 @@ +[ + { + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "owner_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "storage_id": "0xe2d4df48ee30234ecfd2e53216b000e485a304809099f77af060fb4a31153e77", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 1058723093, + "last_transaction_timestamp": "2024-07-29T17:42:38.476025", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/current_token_v2_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/current_token_v2_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/token_activities_v2.json new file mode 100644 index 000000000..2d761fcea --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/token_activities_v2.json @@ -0,0 +1,70 @@ +[ + { + "transaction_version": 1058723093, + "event_index": 0, + "event_account_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "type_": "0x3::token::MintTokenEvent", + "from_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::claim", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025" + }, + { + "transaction_version": 1058723093, + "event_index": 1, + "event_account_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::claim", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025" + }, + { + "transaction_version": 1058723093, + "event_index": 2, + "event_account_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "type_": "0x3::token::WithdrawEvent", + "from_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::claim", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025" + }, + { + "transaction_version": 1058723093, + "event_index": 3, + "event_account_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::claim", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/token_datas_v2.json new file mode 100644 index 000000000..8bbbbec9f --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/token_datas_v2.json @@ -0,0 +1,22 @@ +[ + { + "transaction_version": 1058723093, + "write_set_change_index": 7, + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "collection_id": "0x2ae74f6f02bb77746263f3f32b17a4ea3196b467029c588b323d136af0c45cd4", + "token_name": "Aptos CIS x Joule Finance", + "maximum": "10000000000", + "supply": "2893", + "largest_property_version_v1": "0", + "token_uri": "https://graphigo.prd.galaxy.eco/metadata/aptos/0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8/GCoqbtkpAd.json", + "token_properties": { + "Galxe Campaign": "GCoqbtkpAd" + }, + "description": "", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/token_ownerships_v2.json new file mode 100644 index 000000000..313523712 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1058723093/token_ownerships_v2.json @@ -0,0 +1,18 @@ +[ + { + "transaction_version": 1058723093, + "write_set_change_index": 9, + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "owner_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "storage_id": "0xe2d4df48ee30234ecfd2e53216b000e485a304809099f77af060fb4a31153e77", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1080786089/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/current_collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/current_collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/current_token_datas_v2.json new file mode 100644 index 000000000..087c8006a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/current_token_datas_v2.json @@ -0,0 +1,22 @@ +[ + { + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "collection_id": "0xa77534506f24582ef8a164b8e13d1b0b67989854243faef312c9fa1049e47eef", + "token_name": "kusama", + "maximum": "1", + "supply": "1", + "largest_property_version_v1": "0", + "token_uri": "https://aptpp.com/namepic/main/kusama", + "description": "APass Name", + "token_properties": { + "TOKEN_PROPERTY_MUTABLE": "true", + "TOKEN_BURNABLE_BY_OWNER": "true" + }, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 11648867, + "last_transaction_timestamp": "2022-10-25T00:16:21.907807", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/current_token_ownerships_v2.json new file mode 100644 index 000000000..1e6e6becc --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/current_token_ownerships_v2.json @@ -0,0 +1,32 @@ +[ + { + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "owner_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "storage_id": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 11648867, + "last_transaction_timestamp": "2022-10-25T00:16:21.907807", + "non_transferrable_by_owner": null + }, + { + "token_data_id": "0xedaa0ae425fc01fc52c0873e837713d3ab35009ed423ddad11fb2da06262e8fa", + "property_version_v1": "0", + "owner_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "storage_id": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "amount": "0", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": null, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 11648867, + "last_transaction_timestamp": "2022-10-25T00:16:21.907807", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/current_token_v2_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/current_token_v2_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/token_activities_v2.json new file mode 100644 index 000000000..676a889d9 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/token_activities_v2.json @@ -0,0 +1,104 @@ +[ + { + "transaction_version": 11648867, + "event_index": 0, + "event_account_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "token_data_id": "0xedaa0ae425fc01fc52c0873e837713d3ab35009ed423ddad11fb2da06262e8fa", + "property_version_v1": "0", + "type_": "0x3::token::WithdrawEvent", + "from_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + }, + { + "transaction_version": 11648867, + "event_index": 1, + "event_account_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "token_data_id": "0xedaa0ae425fc01fc52c0873e837713d3ab35009ed423ddad11fb2da06262e8fa", + "property_version_v1": "0", + "type_": "0x3::token::BurnTokenEvent", + "from_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + }, + { + "transaction_version": 11648867, + "event_index": 3, + "event_account_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + }, + { + "transaction_version": 11648867, + "event_index": 4, + "event_account_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "type_": "0x3::token::MintTokenEvent", + "from_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + }, + { + "transaction_version": 11648867, + "event_index": 5, + "event_account_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "type_": "0x3::token::WithdrawEvent", + "from_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + }, + { + "transaction_version": 11648867, + "event_index": 6, + "event_account_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/token_datas_v2.json new file mode 100644 index 000000000..e371060de --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/token_datas_v2.json @@ -0,0 +1,23 @@ +[ + { + "transaction_version": 11648867, + "write_set_change_index": 8, + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "collection_id": "0xa77534506f24582ef8a164b8e13d1b0b67989854243faef312c9fa1049e47eef", + "token_name": "kusama", + "maximum": "1", + "supply": "1", + "largest_property_version_v1": "0", + "token_uri": "https://aptpp.com/namepic/main/kusama", + "token_properties": { + "TOKEN_PROPERTY_MUTABLE": "true", + "TOKEN_BURNABLE_BY_OWNER": "true" + }, + "description": "APass Name", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/token_ownerships_v2.json new file mode 100644 index 000000000..5a5591f89 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/11648867/token_ownerships_v2.json @@ -0,0 +1,34 @@ +[ + { + "transaction_version": 11648867, + "write_set_change_index": 12, + "token_data_id": "0xedaa0ae425fc01fc52c0873e837713d3ab35009ed423ddad11fb2da06262e8fa", + "property_version_v1": "0", + "owner_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "storage_id": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "amount": "0", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": null, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807", + "non_transferrable_by_owner": null + }, + { + "transaction_version": 11648867, + "write_set_change_index": 13, + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "owner_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "storage_id": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/current_collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/current_collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/current_token_datas_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/current_token_datas_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/current_token_ownerships_v2.json new file mode 100644 index 000000000..425944692 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/current_token_ownerships_v2.json @@ -0,0 +1,17 @@ +[ + { + "token_data_id": "0xfbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802", + "property_version_v1": "0", + "owner_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "storage_id": "0x9a6bdbe18a85fbe456660ae68a7e64e1d186b242bfe3c940d47643044e489d65", + "amount": "0", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": null, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 141135867, + "last_transaction_timestamp": "2023-05-14T02:08:22.327431", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/current_token_pending_claims.json new file mode 100644 index 000000000..fe0c96c98 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/current_token_pending_claims.json @@ -0,0 +1,18 @@ +[ + { + "token_data_id_hash": "fbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802", + "property_version": "0", + "from_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "to_address": "0x15ca0ddee3416b0d8177c0cce554f140c99a94b72e02a55a55fd2d717999c39f", + "collection_data_id_hash": "2ae74f6f02bb77746263f3f32b17a4ea3196b467029c588b323d136af0c45cd4", + "creator_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection_name": "Galxe OAT", + "name": "Gran Saga: Unlimited Title Announcement OAT", + "amount": "1", + "table_handle": "0xe67fe5afafcffe75ac55e33067d32c2a962435053d769a0ab4e476030a4de753", + "last_transaction_version": 141135867, + "collection_id": "0x2ae74f6f02bb77746263f3f32b17a4ea3196b467029c588b323d136af0c45cd4", + "last_transaction_timestamp": "2023-05-14T02:08:22.327431", + "token_data_id": "0xfbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/current_token_v2_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/current_token_v2_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/token_activities_v2.json new file mode 100644 index 000000000..b49632d39 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/token_activities_v2.json @@ -0,0 +1,36 @@ +[ + { + "transaction_version": 141135867, + "event_index": 0, + "event_account_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "token_data_id": "0xfbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802", + "property_version_v1": "0", + "type_": "0x3::token::WithdrawEvent", + "from_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::offer_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-05-14T02:08:22.327431" + }, + { + "transaction_version": 141135867, + "event_index": 1, + "event_account_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "token_data_id": "0xfbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802", + "property_version_v1": "0", + "type_": "0x3::token_transfers::TokenOfferEvent", + "from_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "to_address": "0x15ca0ddee3416b0d8177c0cce554f140c99a94b72e02a55a55fd2d717999c39f", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::offer_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-05-14T02:08:22.327431" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/token_datas_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/token_datas_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/token_ownerships_v2.json new file mode 100644 index 000000000..58baa8fda --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/141135867/token_ownerships_v2.json @@ -0,0 +1,18 @@ +[ + { + "transaction_version": 141135867, + "write_set_change_index": 5, + "token_data_id": "0xfbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802", + "property_version_v1": "0", + "owner_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "storage_id": "0x9a6bdbe18a85fbe456660ae68a7e64e1d186b242bfe3c940d47643044e489d65", + "amount": "0", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": null, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-05-14T02:08:22.327431", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/145959468/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/155112189/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/collections_v2.json new file mode 100644 index 000000000..d918fbd47 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/collections_v2.json @@ -0,0 +1,20 @@ +[ + { + "transaction_version": 178179220, + "write_set_change_index": 9, + "collection_id": "0x370e2acd14849283ce83a963d5d6263d4dcf451c8d7a7d5213412bf211787a12", + "creator_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection_name": "W&W EGG", + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_epic.png", + "current_supply": "66", + "max_supply": "99999", + "total_minted_v2": null, + "mutable_description": true, + "mutable_uri": true, + "table_handle_v1": "0xbb26ae908fcb19ba5bb8353ce7599be7330cfa20f0c8081d7f0e8c608311962b", + "token_standard": "v1", + "transaction_timestamp": "2023-07-11T03:13:35.970315", + "collection_properties": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/current_collections_v2.json new file mode 100644 index 000000000..5644a5e8d --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/current_collections_v2.json @@ -0,0 +1,19 @@ +[ + { + "collection_id": "0x370e2acd14849283ce83a963d5d6263d4dcf451c8d7a7d5213412bf211787a12", + "creator_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection_name": "W&W EGG", + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_epic.png", + "current_supply": "66", + "max_supply": "99999", + "total_minted_v2": null, + "mutable_description": true, + "mutable_uri": true, + "table_handle_v1": "0xbb26ae908fcb19ba5bb8353ce7599be7330cfa20f0c8081d7f0e8c608311962b", + "token_standard": "v1", + "last_transaction_version": 178179220, + "last_transaction_timestamp": "2023-07-11T03:13:35.970315", + "collection_properties": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/current_token_datas_v2.json new file mode 100644 index 000000000..a46639ef7 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/current_token_datas_v2.json @@ -0,0 +1,24 @@ +[ + { + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "collection_id": "0x370e2acd14849283ce83a963d5d6263d4dcf451c8d7a7d5213412bf211787a12", + "token_name": "W&W EGG #65", + "maximum": "1", + "supply": "1", + "largest_property_version_v1": "0", + "token_uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_common.png", + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "token_properties": { + "W_RARITY": "1", + "TOKEN_BURNABLE_BY_OWNER": "true", + "TOKEN_PROPERTY_MUTATBLE": "true", + "TOKEN_BURNABLE_BY_CREATOR": "true" + }, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 178179220, + "last_transaction_timestamp": "2023-07-11T03:13:35.970315", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/current_token_ownerships_v2.json new file mode 100644 index 000000000..ff5bf00a8 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/current_token_ownerships_v2.json @@ -0,0 +1,40 @@ +[ + { + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "owner_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "storage_id": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 178179220, + "last_transaction_timestamp": "2023-07-11T03:13:35.970315", + "non_transferrable_by_owner": null + }, + { + "token_data_id": "0x9dd00d7fcf20705113406b2b566270de36d3d394832beb157816639057e3e9c6", + "property_version_v1": "1", + "owner_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "storage_id": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": { + "W_EXP": "9", + "W_GRADE": "1", + "W_LEVEL": "2", + "TOKEN_BURNABLE_BY_OWNER": "true", + "TOKEN_PROPERTY_MUTATBLE": "true", + "W_NEXT_EXPLORATION_TIME": "1689131615", + "TOKEN_BURNABLE_BY_CREATOR": "true" + }, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 178179220, + "last_transaction_timestamp": "2023-07-11T03:13:35.970315", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/current_token_v2_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/current_token_v2_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/token_activities_v2.json new file mode 100644 index 000000000..b57020f42 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/token_activities_v2.json @@ -0,0 +1,87 @@ +[ + { + "transaction_version": 178179220, + "event_index": 0, + "event_account_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "token_data_id": "0x9dd00d7fcf20705113406b2b566270de36d3d394832beb157816639057e3e9c6", + "property_version_v1": "1", + "type_": "0x3::token::MutateTokenPropertyMapEvent", + "from_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "to_address": null, + "token_amount": "0", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315" + }, + { + "transaction_version": 178179220, + "event_index": 2, + "event_account_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "type_": "0x3::token::MintTokenEvent", + "from_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315" + }, + { + "transaction_version": 178179220, + "event_index": 3, + "event_account_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315" + }, + { + "transaction_version": 178179220, + "event_index": 5, + "event_account_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "type_": "0x3::token::WithdrawEvent", + "from_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315" + }, + { + "transaction_version": 178179220, + "event_index": 6, + "event_account_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/token_datas_v2.json new file mode 100644 index 000000000..69509584f --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/token_datas_v2.json @@ -0,0 +1,25 @@ +[ + { + "transaction_version": 178179220, + "write_set_change_index": 8, + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "collection_id": "0x370e2acd14849283ce83a963d5d6263d4dcf451c8d7a7d5213412bf211787a12", + "token_name": "W&W EGG #65", + "maximum": "1", + "supply": "1", + "largest_property_version_v1": "0", + "token_uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_common.png", + "token_properties": { + "W_RARITY": "1", + "TOKEN_BURNABLE_BY_OWNER": "true", + "TOKEN_PROPERTY_MUTATBLE": "true", + "TOKEN_BURNABLE_BY_CREATOR": "true" + }, + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/token_ownerships_v2.json new file mode 100644 index 000000000..5160dab91 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/178179220/token_ownerships_v2.json @@ -0,0 +1,42 @@ +[ + { + "transaction_version": 178179220, + "write_set_change_index": 10, + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "owner_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "storage_id": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315", + "non_transferrable_by_owner": null + }, + { + "transaction_version": 178179220, + "write_set_change_index": 11, + "token_data_id": "0x9dd00d7fcf20705113406b2b566270de36d3d394832beb157816639057e3e9c6", + "property_version_v1": "1", + "owner_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "storage_id": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": { + "W_EXP": "9", + "W_GRADE": "1", + "W_LEVEL": "2", + "TOKEN_BURNABLE_BY_OWNER": "true", + "TOKEN_PROPERTY_MUTATBLE": "true", + "W_NEXT_EXPLORATION_TIME": "1689131615", + "TOKEN_BURNABLE_BY_CREATOR": "true" + }, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/1845035942/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/308783012/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/325355235/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/453498957/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/508365567/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/513424821/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/537250181/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/578366445/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/602320562/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/current_collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/current_collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/current_token_datas_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/current_token_datas_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/current_token_ownerships_v2.json new file mode 100644 index 000000000..68d0f8f00 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/current_token_ownerships_v2.json @@ -0,0 +1,17 @@ +[ + { + "token_data_id": "0x8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c", + "property_version_v1": "0", + "owner_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "storage_id": "0xb6ace9a0a40e40f00579433e40d9deb49fd9eda638867a2eab4469158a1e5a6f", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 84023785, + "last_transaction_timestamp": "2023-02-08T13:41:41.695045", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/current_token_pending_claims.json new file mode 100644 index 000000000..b9560027d --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/current_token_pending_claims.json @@ -0,0 +1,18 @@ +[ + { + "token_data_id_hash": "8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c", + "property_version": "0", + "from_address": "0x02018f7b38b9c783d6385ec722490082425dc43d3a5e4afac4ebb9cfe92033e9", + "to_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "collection_data_id_hash": "acf73ef1391408374882ee764d2ec113529c486a7fbeb6fbabe36ba995ad0dfe", + "creator_address": "0x01592786351606410ce368d6c58bc56f4573ed82cdc092bd16089b9eae370211", + "collection_name": "Easter-AI", + "name": "Easter-AI #265", + "amount": "0", + "table_handle": "0xf7fc9be5db4893f6cd86e7fc163ad8fba05828b1fce16a995fb01ff028d65bb2", + "last_transaction_version": 84023785, + "collection_id": "0xacf73ef1391408374882ee764d2ec113529c486a7fbeb6fbabe36ba995ad0dfe", + "last_transaction_timestamp": "2023-02-08T13:41:41.695045", + "token_data_id": "0x8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/current_token_v2_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/current_token_v2_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/token_activities_v2.json new file mode 100644 index 000000000..a2adc216d --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/token_activities_v2.json @@ -0,0 +1,36 @@ +[ + { + "transaction_version": 84023785, + "event_index": 0, + "event_account_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "token_data_id": "0x8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::claim_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-02-08T13:41:41.695045" + }, + { + "transaction_version": 84023785, + "event_index": 1, + "event_account_address": "0x02018f7b38b9c783d6385ec722490082425dc43d3a5e4afac4ebb9cfe92033e9", + "token_data_id": "0x8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c", + "property_version_v1": "0", + "type_": "0x3::token_transfers::TokenClaimEvent", + "from_address": "0x02018f7b38b9c783d6385ec722490082425dc43d3a5e4afac4ebb9cfe92033e9", + "to_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::claim_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-02-08T13:41:41.695045" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/token_datas_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/token_datas_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/token_ownerships_v2.json new file mode 100644 index 000000000..5f983e16f --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/84023785/token_ownerships_v2.json @@ -0,0 +1,18 @@ +[ + { + "transaction_version": 84023785, + "write_set_change_index": 5, + "token_data_id": "0x8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c", + "property_version_v1": "0", + "owner_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "storage_id": "0xb6ace9a0a40e40f00579433e40d9deb49fd9eda638867a2eab4469158a1e5a6f", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-02-08T13:41:41.695045", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/967255533/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/current_collections_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/current_collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/current_collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/current_token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/current_token_datas_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/current_token_datas_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/current_token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/current_token_ownerships_v2.json new file mode 100644 index 000000000..4aef1e4b2 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/current_token_ownerships_v2.json @@ -0,0 +1,17 @@ +[ + { + "token_data_id": "0x86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394", + "property_version_v1": "0", + "owner_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "storage_id": "0xcaaa88b30540f763e53ed4cbd363a40bdef8c20e59ffa2ca36be986f41eb9f4b", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 97963136, + "last_transaction_timestamp": "2023-03-06T22:17:05.827743", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/current_token_pending_claims.json new file mode 100644 index 000000000..30f21775a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/current_token_pending_claims.json @@ -0,0 +1,18 @@ +[ + { + "token_data_id_hash": "86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394", + "property_version": "0", + "from_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "to_address": "0x02ff54fea1e710bafb56eb3d14e1b07ce86c4d06bdbc226973fea8d156cad2c1", + "collection_data_id_hash": "21fe1de18c24db28b02a13a69a7b7215164695cdebd460ed79fd004d6962eadf", + "creator_address": "0x9bc7a139e5c2c70625f30625d4f704ce11d3a305267b22f7b913fe85aa151b69", + "collection_name": "BlueEye", + "name": "NFT #25", + "amount": "0", + "table_handle": "0x3e33411747d4f778f2aeeb66aa22568db5bfbfab84f72f4943c562a3cdc4a095", + "last_transaction_version": 97963136, + "collection_id": "0x21fe1de18c24db28b02a13a69a7b7215164695cdebd460ed79fd004d6962eadf", + "last_transaction_timestamp": "2023-03-06T22:17:05.827743", + "token_data_id": "0x86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/current_token_v2_metadata.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/current_token_v2_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/current_token_v2_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/token_activities_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/token_activities_v2.json new file mode 100644 index 000000000..b7b915b13 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/token_activities_v2.json @@ -0,0 +1,36 @@ +[ + { + "transaction_version": 97963136, + "event_index": 0, + "event_account_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "token_data_id": "0x86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::cancel_offer_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-03-06T22:17:05.827743" + }, + { + "transaction_version": 97963136, + "event_index": 1, + "event_account_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "token_data_id": "0x86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394", + "property_version_v1": "0", + "type_": "0x3::token_transfers::TokenCancelOfferEvent", + "from_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "to_address": "0x02ff54fea1e710bafb56eb3d14e1b07ce86c4d06bdbc226973fea8d156cad2c1", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::cancel_offer_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-03-06T22:17:05.827743" + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/token_datas_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/token_datas_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/token_datas_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/token_ownerships_v2.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/token_ownerships_v2.json new file mode 100644 index 000000000..6e8496bfc --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/97963136/token_ownerships_v2.json @@ -0,0 +1,18 @@ +[ + { + "transaction_version": 97963136, + "write_set_change_index": 6, + "token_data_id": "0x86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394", + "property_version_v1": "0", + "owner_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "storage_id": "0xcaaa88b30540f763e53ed4cbd363a40bdef8c20e59ffa2ca36be986f41eb9f4b", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-03-06T22:17:05.827743", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999929475/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/token_v2_processor/999930475/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1058723093/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1058723093/signatures.json new file mode 100644 index 000000000..e782ee04d --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1058723093/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 1058723093, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 207536557, + "signer": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0x771f0b03e9a7b990a991fb42cc4e46396ed62a4f3755df186647fe49ab4cab16", + "signature": "0xa97078e353b4f2e0ffff9dd2aa68e1293401500bea13ef48cb0ece01ff59d1527b4758af30dec748df56657adeecae3f6dd6bd7d4257a0f9a692f722bd296908", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1058723093/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1058723093/user_transactions.json new file mode 100644 index 000000000..49e93fed6 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/1058723093/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 1058723093, + "block_height": 207536557, + "parent_signature_type": "ed25519_signature", + "sender": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "sequence_number": 162, + "max_gas_amount": "1222", + "expiration_timestamp_secs": "2024-07-29T17:44:07", + "gas_unit_price": "150", + "timestamp": "2024-07-29T17:42:38.476025", + "entry_function_id_str": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::claim", + "epoch": 7916 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/11648867/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/11648867/signatures.json new file mode 100644 index 000000000..28fce2375 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/11648867/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 11648867, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 3156251, + "signer": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0x3be422b4d9c31330ca7a27e833388694e5f49cc36f426b4cac55757056ddcad7", + "signature": "0x976e8f91a4cb26d055a7109268cb695911726b37308319c701cfa5bc7736a48a248741583064ce7fa665b9184717a7c7102859d756babfa632759e805d37b305", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/11648867/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/11648867/user_transactions.json new file mode 100644 index 000000000..0a136e596 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/11648867/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 11648867, + "block_height": 3156251, + "parent_signature_type": "ed25519_signature", + "sender": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "sequence_number": 3, + "max_gas_amount": "23274", + "expiration_timestamp_secs": "2022-10-25T00:16:41", + "gas_unit_price": "101", + "timestamp": "2022-10-25T00:16:21.907807", + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "epoch": 148 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/141135867/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/141135867/signatures.json new file mode 100644 index 000000000..f6865af53 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/141135867/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 141135867, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 54943661, + "signer": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0x25042a2b29a82d612cccb6e52d3efa37ee49205c937bb297a3c77b00e1a18bf6", + "signature": "0x279d195acde84669274b2e11f851b28d45084071c255c2eda527b39c4f7216bd600c7438fada556ae97cbe7c6da44b04f3ebec3cd72ad5d21b8d50c9b41ec904", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/141135867/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/141135867/user_transactions.json new file mode 100644 index 000000000..2dd7c94f1 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/141135867/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 141135867, + "block_height": 54943661, + "parent_signature_type": "ed25519_signature", + "sender": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "sequence_number": 11, + "max_gas_amount": "2046", + "expiration_timestamp_secs": "2023-05-14T02:09:22", + "gas_unit_price": "100", + "timestamp": "2023-05-14T02:08:22.327431", + "entry_function_id_str": "0x3::token_transfers::offer_script", + "epoch": 2563 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/178179220/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/178179220/signatures.json new file mode 100644 index 000000000..693e94b81 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/178179220/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 178179220, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 68127082, + "signer": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0x9eec1983b14b245500d9b48c2b808f0a84a7bf391185d00e29358e8ecddc3531", + "signature": "0x8dc63886218ce93a48b47928e3a6749ef3e959869f0fd2c6d1681ab7c445c61cf989b80c625d1dbf505e698b26f02cb264c325c1763c91bd543bc6a2383e910c", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/178179220/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/178179220/user_transactions.json new file mode 100644 index 000000000..9bdff0fa4 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/178179220/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 178179220, + "block_height": 68127082, + "parent_signature_type": "ed25519_signature", + "sender": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "sequence_number": 3290, + "max_gas_amount": "5846", + "expiration_timestamp_secs": "2023-07-11T03:15:05", + "gas_unit_price": "100", + "timestamp": "2023-07-11T03:13:35.970315", + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "epoch": 3261 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/84023785/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/84023785/signatures.json new file mode 100644 index 000000000..1d3904143 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/84023785/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 84023785, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 31443230, + "signer": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0x3664942413a541779a7fb5c3fd232652f80a4cfb4576fba5b7db6d88020f7261", + "signature": "0x9efb4501de1edd5c9234a0d33d477891a4e8715df36f97d4733e332e8014e8f41818c4488bc57b206a16e1dd6e18b1f4c0f2f1ab369ed637efa037135805330e", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/84023785/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/84023785/user_transactions.json new file mode 100644 index 000000000..3bedf5747 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/84023785/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 84023785, + "block_height": 31443230, + "parent_signature_type": "ed25519_signature", + "sender": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "sequence_number": 0, + "max_gas_amount": "200000", + "expiration_timestamp_secs": "2023-02-08T13:42:01", + "gas_unit_price": "133", + "timestamp": "2023-02-08T13:41:41.695045", + "entry_function_id_str": "0x3::token_transfers::claim_script", + "epoch": 1427 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/97963136/signatures.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/97963136/signatures.json new file mode 100644 index 000000000..adb4e9960 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/97963136/signatures.json @@ -0,0 +1,15 @@ +[ + { + "transaction_version": 97963136, + "multi_agent_index": 0, + "multi_sig_index": 0, + "transaction_block_height": 37453754, + "signer": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "is_sender_primary": true, + "type_": "ed25519_signature", + "public_key": "0xb1b48e15862ad98e0594d1598fa00e675d5025b38713c7f8ff777cf618945936", + "signature": "0x7b73f0bbbbb73abf78f489a2f09625cfaa6a9aec54bcf218de8d5d6be3a08b6f85b3dfa677cd46fb4096b914d899c859869ff468fb32e6a355957fdfaee76606", + "threshold": 1, + "public_key_indices": [] + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/97963136/user_transactions.json b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/97963136/user_transactions.json new file mode 100644 index 000000000..868e850c5 --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_mainnet_txns/user_transaction_processor/97963136/user_transactions.json @@ -0,0 +1,15 @@ +[ + { + "version": 97963136, + "block_height": 37453754, + "parent_signature_type": "ed25519_signature", + "sender": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "sequence_number": 43, + "max_gas_amount": "3140", + "expiration_timestamp_secs": "2023-03-06T22:17:15", + "gas_unit_price": "100", + "timestamp": "2023-03-06T22:17:05.827743", + "entry_function_id_str": "0x3::token_transfers::cancel_offer_script", + "epoch": 1743 + } +] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1200394037/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/1255836496/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/2646510387/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/278556781/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/3/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5523474016/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5979639459/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/current_token_pending_claims.json b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/expected_db_output_files/imported_testnet_txns/token_v2_processor/5992795934/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/collections_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_collections_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_datas_v2.json new file mode 100644 index 000000000..087c8006a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_datas_v2.json @@ -0,0 +1,22 @@ +[ + { + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "collection_id": "0xa77534506f24582ef8a164b8e13d1b0b67989854243faef312c9fa1049e47eef", + "token_name": "kusama", + "maximum": "1", + "supply": "1", + "largest_property_version_v1": "0", + "token_uri": "https://aptpp.com/namepic/main/kusama", + "description": "APass Name", + "token_properties": { + "TOKEN_PROPERTY_MUTABLE": "true", + "TOKEN_BURNABLE_BY_OWNER": "true" + }, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 11648867, + "last_transaction_timestamp": "2022-10-25T00:16:21.907807", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_ownerships_v2.json new file mode 100644 index 000000000..1e6e6becc --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_ownerships_v2.json @@ -0,0 +1,32 @@ +[ + { + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "owner_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "storage_id": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 11648867, + "last_transaction_timestamp": "2022-10-25T00:16:21.907807", + "non_transferrable_by_owner": null + }, + { + "token_data_id": "0xedaa0ae425fc01fc52c0873e837713d3ab35009ed423ddad11fb2da06262e8fa", + "property_version_v1": "0", + "owner_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "storage_id": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "amount": "0", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": null, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 11648867, + "last_transaction_timestamp": "2022-10-25T00:16:21.907807", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_v2_metadata.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_v2_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/current_token_v2_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_activities_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_activities_v2.json new file mode 100644 index 000000000..676a889d9 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_activities_v2.json @@ -0,0 +1,104 @@ +[ + { + "transaction_version": 11648867, + "event_index": 0, + "event_account_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "token_data_id": "0xedaa0ae425fc01fc52c0873e837713d3ab35009ed423ddad11fb2da06262e8fa", + "property_version_v1": "0", + "type_": "0x3::token::WithdrawEvent", + "from_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + }, + { + "transaction_version": 11648867, + "event_index": 1, + "event_account_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "token_data_id": "0xedaa0ae425fc01fc52c0873e837713d3ab35009ed423ddad11fb2da06262e8fa", + "property_version_v1": "0", + "type_": "0x3::token::BurnTokenEvent", + "from_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + }, + { + "transaction_version": 11648867, + "event_index": 3, + "event_account_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + }, + { + "transaction_version": 11648867, + "event_index": 4, + "event_account_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "type_": "0x3::token::MintTokenEvent", + "from_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + }, + { + "transaction_version": 11648867, + "event_index": 5, + "event_account_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "type_": "0x3::token::WithdrawEvent", + "from_address": "0xb731146f64e49695f67ec7d7cd11b58a94194c897a5c2a1fea6e00d36e220926", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + }, + { + "transaction_version": 11648867, + "event_index": 6, + "event_account_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x777821c78442e17d82c3d7a371f42de7189e4248e529fe6eee6bca40ddbb::APDomain::register_with_discount", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807" + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_datas_v2.json new file mode 100644 index 000000000..e371060de --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_datas_v2.json @@ -0,0 +1,23 @@ +[ + { + "transaction_version": 11648867, + "write_set_change_index": 8, + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "collection_id": "0xa77534506f24582ef8a164b8e13d1b0b67989854243faef312c9fa1049e47eef", + "token_name": "kusama", + "maximum": "1", + "supply": "1", + "largest_property_version_v1": "0", + "token_uri": "https://aptpp.com/namepic/main/kusama", + "token_properties": { + "TOKEN_PROPERTY_MUTABLE": "true", + "TOKEN_BURNABLE_BY_OWNER": "true" + }, + "description": "APass Name", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_ownerships_v2.json new file mode 100644 index 000000000..5a5591f89 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_burn_event/token_ownerships_v2.json @@ -0,0 +1,34 @@ +[ + { + "transaction_version": 11648867, + "write_set_change_index": 12, + "token_data_id": "0xedaa0ae425fc01fc52c0873e837713d3ab35009ed423ddad11fb2da06262e8fa", + "property_version_v1": "0", + "owner_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "storage_id": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "amount": "0", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": null, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807", + "non_transferrable_by_owner": null + }, + { + "transaction_version": 11648867, + "write_set_change_index": 13, + "token_data_id": "0x5f25efaa91cc4131dae76c6b21430e3cda78ec859d7e251f272614970c8434b6", + "property_version_v1": "0", + "owner_address": "0x262662203c5ca539061e8644b8124bd6e9d475d9ab181d0674c72e8067752a1e", + "storage_id": "0xfe4bf4bb39ba78b9b87a4bd5d0b2116fa33dece102ec39992c55fd1941b338db", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2022-10-25T00:16:21.907807", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/collections_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_collections_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_datas_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_datas_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_ownerships_v2.json new file mode 100644 index 000000000..4aef1e4b2 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_ownerships_v2.json @@ -0,0 +1,17 @@ +[ + { + "token_data_id": "0x86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394", + "property_version_v1": "0", + "owner_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "storage_id": "0xcaaa88b30540f763e53ed4cbd363a40bdef8c20e59ffa2ca36be986f41eb9f4b", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 97963136, + "last_transaction_timestamp": "2023-03-06T22:17:05.827743", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_pending_claims.json new file mode 100644 index 000000000..30f21775a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_pending_claims.json @@ -0,0 +1,18 @@ +[ + { + "token_data_id_hash": "86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394", + "property_version": "0", + "from_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "to_address": "0x02ff54fea1e710bafb56eb3d14e1b07ce86c4d06bdbc226973fea8d156cad2c1", + "collection_data_id_hash": "21fe1de18c24db28b02a13a69a7b7215164695cdebd460ed79fd004d6962eadf", + "creator_address": "0x9bc7a139e5c2c70625f30625d4f704ce11d3a305267b22f7b913fe85aa151b69", + "collection_name": "BlueEye", + "name": "NFT #25", + "amount": "0", + "table_handle": "0x3e33411747d4f778f2aeeb66aa22568db5bfbfab84f72f4943c562a3cdc4a095", + "last_transaction_version": 97963136, + "collection_id": "0x21fe1de18c24db28b02a13a69a7b7215164695cdebd460ed79fd004d6962eadf", + "last_transaction_timestamp": "2023-03-06T22:17:05.827743", + "token_data_id": "0x86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394" + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_v2_metadata.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_v2_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/current_token_v2_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_activities_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_activities_v2.json new file mode 100644 index 000000000..b7b915b13 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_activities_v2.json @@ -0,0 +1,36 @@ +[ + { + "transaction_version": 97963136, + "event_index": 0, + "event_account_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "token_data_id": "0x86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::cancel_offer_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-03-06T22:17:05.827743" + }, + { + "transaction_version": 97963136, + "event_index": 1, + "event_account_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "token_data_id": "0x86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394", + "property_version_v1": "0", + "type_": "0x3::token_transfers::TokenCancelOfferEvent", + "from_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "to_address": "0x02ff54fea1e710bafb56eb3d14e1b07ce86c4d06bdbc226973fea8d156cad2c1", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::cancel_offer_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-03-06T22:17:05.827743" + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_datas_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_datas_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_ownerships_v2.json new file mode 100644 index 000000000..6e8496bfc --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_cancel_offer/token_ownerships_v2.json @@ -0,0 +1,18 @@ +[ + { + "transaction_version": 97963136, + "write_set_change_index": 6, + "token_data_id": "0x86cd172eba55478fdfc1c83cc8409fb2f6b73338a4221654ff8293b293ea0394", + "property_version_v1": "0", + "owner_address": "0xbe7307edb51640511a7556cad597b03bffb3e2ea6f9d7f8ba2a16cdb3cf6d4b8", + "storage_id": "0xcaaa88b30540f763e53ed4cbd363a40bdef8c20e59ffa2ca36be986f41eb9f4b", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-03-06T22:17:05.827743", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/collections_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_collections_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_datas_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_datas_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_ownerships_v2.json new file mode 100644 index 000000000..68d0f8f00 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_ownerships_v2.json @@ -0,0 +1,17 @@ +[ + { + "token_data_id": "0x8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c", + "property_version_v1": "0", + "owner_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "storage_id": "0xb6ace9a0a40e40f00579433e40d9deb49fd9eda638867a2eab4469158a1e5a6f", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 84023785, + "last_transaction_timestamp": "2023-02-08T13:41:41.695045", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_pending_claims.json new file mode 100644 index 000000000..b9560027d --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_pending_claims.json @@ -0,0 +1,18 @@ +[ + { + "token_data_id_hash": "8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c", + "property_version": "0", + "from_address": "0x02018f7b38b9c783d6385ec722490082425dc43d3a5e4afac4ebb9cfe92033e9", + "to_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "collection_data_id_hash": "acf73ef1391408374882ee764d2ec113529c486a7fbeb6fbabe36ba995ad0dfe", + "creator_address": "0x01592786351606410ce368d6c58bc56f4573ed82cdc092bd16089b9eae370211", + "collection_name": "Easter-AI", + "name": "Easter-AI #265", + "amount": "0", + "table_handle": "0xf7fc9be5db4893f6cd86e7fc163ad8fba05828b1fce16a995fb01ff028d65bb2", + "last_transaction_version": 84023785, + "collection_id": "0xacf73ef1391408374882ee764d2ec113529c486a7fbeb6fbabe36ba995ad0dfe", + "last_transaction_timestamp": "2023-02-08T13:41:41.695045", + "token_data_id": "0x8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c" + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_v2_metadata.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_v2_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/current_token_v2_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_activities_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_activities_v2.json new file mode 100644 index 000000000..a2adc216d --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_activities_v2.json @@ -0,0 +1,36 @@ +[ + { + "transaction_version": 84023785, + "event_index": 0, + "event_account_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "token_data_id": "0x8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::claim_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-02-08T13:41:41.695045" + }, + { + "transaction_version": 84023785, + "event_index": 1, + "event_account_address": "0x02018f7b38b9c783d6385ec722490082425dc43d3a5e4afac4ebb9cfe92033e9", + "token_data_id": "0x8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c", + "property_version_v1": "0", + "type_": "0x3::token_transfers::TokenClaimEvent", + "from_address": "0x02018f7b38b9c783d6385ec722490082425dc43d3a5e4afac4ebb9cfe92033e9", + "to_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::claim_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-02-08T13:41:41.695045" + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_datas_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_datas_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_ownerships_v2.json new file mode 100644 index 000000000..5f983e16f --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_claim_offer/token_ownerships_v2.json @@ -0,0 +1,18 @@ +[ + { + "transaction_version": 84023785, + "write_set_change_index": 5, + "token_data_id": "0x8b5bf15b19557d943ec8af90b4f874138de7e5fd125fa7ccf28d85a49e33bf0c", + "property_version_v1": "0", + "owner_address": "0x62367f3fa5c24c07a9ebe41a5f008327dae19e10b1aa6878aa2ee1183dd983ae", + "storage_id": "0xb6ace9a0a40e40f00579433e40d9deb49fd9eda638867a2eab4469158a1e5a6f", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-02-08T13:41:41.695045", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/collections_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_collections_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_datas_v2.json new file mode 100644 index 000000000..2a4f65230 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_datas_v2.json @@ -0,0 +1,21 @@ +[ + { + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "collection_id": "0x2ae74f6f02bb77746263f3f32b17a4ea3196b467029c588b323d136af0c45cd4", + "token_name": "Aptos CIS x Joule Finance", + "maximum": "10000000000", + "supply": "2893", + "largest_property_version_v1": "0", + "token_uri": "https://graphigo.prd.galaxy.eco/metadata/aptos/0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8/GCoqbtkpAd.json", + "description": "", + "token_properties": { + "Galxe Campaign": "GCoqbtkpAd" + }, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 1058723093, + "last_transaction_timestamp": "2024-07-29T17:42:38.476025", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_ownerships_v2.json new file mode 100644 index 000000000..3910ab3a8 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_ownerships_v2.json @@ -0,0 +1,17 @@ +[ + { + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "owner_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "storage_id": "0xe2d4df48ee30234ecfd2e53216b000e485a304809099f77af060fb4a31153e77", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 1058723093, + "last_transaction_timestamp": "2024-07-29T17:42:38.476025", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_v2_metadata.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_v2_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/current_token_v2_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_activities_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_activities_v2.json new file mode 100644 index 000000000..2d761fcea --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_activities_v2.json @@ -0,0 +1,70 @@ +[ + { + "transaction_version": 1058723093, + "event_index": 0, + "event_account_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "type_": "0x3::token::MintTokenEvent", + "from_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::claim", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025" + }, + { + "transaction_version": 1058723093, + "event_index": 1, + "event_account_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::claim", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025" + }, + { + "transaction_version": 1058723093, + "event_index": 2, + "event_account_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "type_": "0x3::token::WithdrawEvent", + "from_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::claim", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025" + }, + { + "transaction_version": 1058723093, + "event_index": 3, + "event_account_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0xe7c7bb0e53fc6fb86aa7464645fbac96b96716463b4e2269c62945c135aa26fd::oat::claim", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025" + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_datas_v2.json new file mode 100644 index 000000000..8bbbbec9f --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_datas_v2.json @@ -0,0 +1,22 @@ +[ + { + "transaction_version": 1058723093, + "write_set_change_index": 7, + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "collection_id": "0x2ae74f6f02bb77746263f3f32b17a4ea3196b467029c588b323d136af0c45cd4", + "token_name": "Aptos CIS x Joule Finance", + "maximum": "10000000000", + "supply": "2893", + "largest_property_version_v1": "0", + "token_uri": "https://graphigo.prd.galaxy.eco/metadata/aptos/0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8/GCoqbtkpAd.json", + "token_properties": { + "Galxe Campaign": "GCoqbtkpAd" + }, + "description": "", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_ownerships_v2.json new file mode 100644 index 000000000..313523712 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_events/token_ownerships_v2.json @@ -0,0 +1,18 @@ +[ + { + "transaction_version": 1058723093, + "write_set_change_index": 9, + "token_data_id": "0xc00d409177c3265544651b938d857a7675afe57fb4d276a37bcc18ecbecd0dac", + "property_version_v1": "0", + "owner_address": "0xc50d395a79199699f061f49b2c06d31affd08bb53a380d3cfce5f693fb82a0a2", + "storage_id": "0xe2d4df48ee30234ecfd2e53216b000e485a304809099f77af060fb4a31153e77", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2024-07-29T17:42:38.476025", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/collections_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/collections_v2.json new file mode 100644 index 000000000..d918fbd47 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/collections_v2.json @@ -0,0 +1,20 @@ +[ + { + "transaction_version": 178179220, + "write_set_change_index": 9, + "collection_id": "0x370e2acd14849283ce83a963d5d6263d4dcf451c8d7a7d5213412bf211787a12", + "creator_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection_name": "W&W EGG", + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_epic.png", + "current_supply": "66", + "max_supply": "99999", + "total_minted_v2": null, + "mutable_description": true, + "mutable_uri": true, + "table_handle_v1": "0xbb26ae908fcb19ba5bb8353ce7599be7330cfa20f0c8081d7f0e8c608311962b", + "token_standard": "v1", + "transaction_timestamp": "2023-07-11T03:13:35.970315", + "collection_properties": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_collections_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_collections_v2.json new file mode 100644 index 000000000..5644a5e8d --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_collections_v2.json @@ -0,0 +1,19 @@ +[ + { + "collection_id": "0x370e2acd14849283ce83a963d5d6263d4dcf451c8d7a7d5213412bf211787a12", + "creator_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "collection_name": "W&W EGG", + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_epic.png", + "current_supply": "66", + "max_supply": "99999", + "total_minted_v2": null, + "mutable_description": true, + "mutable_uri": true, + "table_handle_v1": "0xbb26ae908fcb19ba5bb8353ce7599be7330cfa20f0c8081d7f0e8c608311962b", + "token_standard": "v1", + "last_transaction_version": 178179220, + "last_transaction_timestamp": "2023-07-11T03:13:35.970315", + "collection_properties": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_datas_v2.json new file mode 100644 index 000000000..a46639ef7 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_datas_v2.json @@ -0,0 +1,24 @@ +[ + { + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "collection_id": "0x370e2acd14849283ce83a963d5d6263d4dcf451c8d7a7d5213412bf211787a12", + "token_name": "W&W EGG #65", + "maximum": "1", + "supply": "1", + "largest_property_version_v1": "0", + "token_uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_common.png", + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "token_properties": { + "W_RARITY": "1", + "TOKEN_BURNABLE_BY_OWNER": "true", + "TOKEN_PROPERTY_MUTATBLE": "true", + "TOKEN_BURNABLE_BY_CREATOR": "true" + }, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 178179220, + "last_transaction_timestamp": "2023-07-11T03:13:35.970315", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_ownerships_v2.json new file mode 100644 index 000000000..ff5bf00a8 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_ownerships_v2.json @@ -0,0 +1,40 @@ +[ + { + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "owner_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "storage_id": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 178179220, + "last_transaction_timestamp": "2023-07-11T03:13:35.970315", + "non_transferrable_by_owner": null + }, + { + "token_data_id": "0x9dd00d7fcf20705113406b2b566270de36d3d394832beb157816639057e3e9c6", + "property_version_v1": "1", + "owner_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "storage_id": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": { + "W_EXP": "9", + "W_GRADE": "1", + "W_LEVEL": "2", + "TOKEN_BURNABLE_BY_OWNER": "true", + "TOKEN_PROPERTY_MUTATBLE": "true", + "W_NEXT_EXPLORATION_TIME": "1689131615", + "TOKEN_BURNABLE_BY_CREATOR": "true" + }, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 178179220, + "last_transaction_timestamp": "2023-07-11T03:13:35.970315", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_v2_metadata.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_v2_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/current_token_v2_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_activities_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_activities_v2.json new file mode 100644 index 000000000..b57020f42 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_activities_v2.json @@ -0,0 +1,87 @@ +[ + { + "transaction_version": 178179220, + "event_index": 0, + "event_account_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "token_data_id": "0x9dd00d7fcf20705113406b2b566270de36d3d394832beb157816639057e3e9c6", + "property_version_v1": "1", + "type_": "0x3::token::MutateTokenPropertyMapEvent", + "from_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "to_address": null, + "token_amount": "0", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315" + }, + { + "transaction_version": 178179220, + "event_index": 2, + "event_account_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "type_": "0x3::token::MintTokenEvent", + "from_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315" + }, + { + "transaction_version": 178179220, + "event_index": 3, + "event_account_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315" + }, + { + "transaction_version": 178179220, + "event_index": 5, + "event_account_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "type_": "0x3::token::WithdrawEvent", + "from_address": "0x7a370c1993c5517868b93004f1f72853160e758fa30de2edfec2574237bf9a83", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315" + }, + { + "transaction_version": 178179220, + "event_index": 6, + "event_account_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "type_": "0x3::token::DepositEvent", + "from_address": null, + "to_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x55f710b0b0330e060c41f731ffdd61b846910576bacd0a87be9fd37172012e08::trainer_exploration::trainer_exploration", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315" + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_datas_v2.json new file mode 100644 index 000000000..69509584f --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_datas_v2.json @@ -0,0 +1,25 @@ +[ + { + "transaction_version": 178179220, + "write_set_change_index": 8, + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "collection_id": "0x370e2acd14849283ce83a963d5d6263d4dcf451c8d7a7d5213412bf211787a12", + "token_name": "W&W EGG #65", + "maximum": "1", + "supply": "1", + "largest_property_version_v1": "0", + "token_uri": "https://werewolfandwitch-beast-collection.s3.ap-northeast-2.amazonaws.com/egg/egg_common.png", + "token_properties": { + "W_RARITY": "1", + "TOKEN_BURNABLE_BY_OWNER": "true", + "TOKEN_PROPERTY_MUTATBLE": "true", + "TOKEN_BURNABLE_BY_CREATOR": "true" + }, + "description": "https://beast.werewolfandwitch.xyz/ / Eggs are the key to obtaining Beasts through hatching. There exists a diverse array of eggs, each representing a different species or variation. Rare eggs hold the promise of acquiring even rarer and more extraordinary Beasts. ", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315", + "is_deleted_v2": null, + "decimals": 0 + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_ownerships_v2.json new file mode 100644 index 000000000..5160dab91 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_mutate_event/token_ownerships_v2.json @@ -0,0 +1,42 @@ +[ + { + "transaction_version": 178179220, + "write_set_change_index": 10, + "token_data_id": "0x6a0c359c0f404a9975dc97bcbba2be53937295fa555ea08a59b7c8accd8bdcbd", + "property_version_v1": "0", + "owner_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "storage_id": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": {}, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315", + "non_transferrable_by_owner": null + }, + { + "transaction_version": 178179220, + "write_set_change_index": 11, + "token_data_id": "0x9dd00d7fcf20705113406b2b566270de36d3d394832beb157816639057e3e9c6", + "property_version_v1": "1", + "owner_address": "0x2b21bcb64594e271a76ccabd7fd07d9e1474d44101d68849ca82b65393a73f57", + "storage_id": "0xf94282998db494e309eb57cd121b3d220c50aeb7fda750fa3dd4f106f9bfaf19", + "amount": "1", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": { + "W_EXP": "9", + "W_GRADE": "1", + "W_LEVEL": "2", + "TOKEN_BURNABLE_BY_OWNER": "true", + "TOKEN_PROPERTY_MUTATBLE": "true", + "W_NEXT_EXPLORATION_TIME": "1689131615", + "TOKEN_BURNABLE_BY_CREATOR": "true" + }, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-07-11T03:13:35.970315", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/collections_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_collections_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_collections_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_collections_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_datas_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_datas_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_ownerships_v2.json new file mode 100644 index 000000000..425944692 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_ownerships_v2.json @@ -0,0 +1,17 @@ +[ + { + "token_data_id": "0xfbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802", + "property_version_v1": "0", + "owner_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "storage_id": "0x9a6bdbe18a85fbe456660ae68a7e64e1d186b242bfe3c940d47643044e489d65", + "amount": "0", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": null, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "last_transaction_version": 141135867, + "last_transaction_timestamp": "2023-05-14T02:08:22.327431", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_pending_claims.json new file mode 100644 index 000000000..fe0c96c98 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_pending_claims.json @@ -0,0 +1,18 @@ +[ + { + "token_data_id_hash": "fbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802", + "property_version": "0", + "from_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "to_address": "0x15ca0ddee3416b0d8177c0cce554f140c99a94b72e02a55a55fd2d717999c39f", + "collection_data_id_hash": "2ae74f6f02bb77746263f3f32b17a4ea3196b467029c588b323d136af0c45cd4", + "creator_address": "0x092d2f7ad00630e4dfffcca01bee12c84edf004720347fb1fd57016d2cc8d3f8", + "collection_name": "Galxe OAT", + "name": "Gran Saga: Unlimited Title Announcement OAT", + "amount": "1", + "table_handle": "0xe67fe5afafcffe75ac55e33067d32c2a962435053d769a0ab4e476030a4de753", + "last_transaction_version": 141135867, + "collection_id": "0x2ae74f6f02bb77746263f3f32b17a4ea3196b467029c588b323d136af0c45cd4", + "last_transaction_timestamp": "2023-05-14T02:08:22.327431", + "token_data_id": "0xfbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802" + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_v2_metadata.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_v2_metadata.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/current_token_v2_metadata.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_activities_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_activities_v2.json new file mode 100644 index 000000000..b49632d39 --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_activities_v2.json @@ -0,0 +1,36 @@ +[ + { + "transaction_version": 141135867, + "event_index": 0, + "event_account_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "token_data_id": "0xfbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802", + "property_version_v1": "0", + "type_": "0x3::token::WithdrawEvent", + "from_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "to_address": null, + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::offer_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-05-14T02:08:22.327431" + }, + { + "transaction_version": 141135867, + "event_index": 1, + "event_account_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "token_data_id": "0xfbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802", + "property_version_v1": "0", + "type_": "0x3::token_transfers::TokenOfferEvent", + "from_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "to_address": "0x15ca0ddee3416b0d8177c0cce554f140c99a94b72e02a55a55fd2d717999c39f", + "token_amount": "1", + "before_value": null, + "after_value": null, + "entry_function_id_str": "0x3::token_transfers::offer_script", + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-05-14T02:08:22.327431" + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_datas_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_datas_v2.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_datas_v2.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_ownerships_v2.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_ownerships_v2.json new file mode 100644 index 000000000..58baa8fda --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v1_offer/token_ownerships_v2.json @@ -0,0 +1,18 @@ +[ + { + "transaction_version": 141135867, + "write_set_change_index": 5, + "token_data_id": "0xfbfd7848ba09f6ef63498de614844339efc9264cc41b0e50f2e3ca1dca3b0802", + "property_version_v1": "0", + "owner_address": "0x12e0de4f294305602939ebfdbcd5b267493ae1255776e7749db177bdb7148d01", + "storage_id": "0x9a6bdbe18a85fbe456660ae68a7e64e1d186b242bfe3c940d47643044e489d65", + "amount": "0", + "table_type_v1": "0x3::token::TokenStore", + "token_properties_mutated_v1": null, + "is_soulbound_v2": null, + "token_standard": "v1", + "is_fungible_v2": null, + "transaction_timestamp": "2023-05-14T02:08:22.327431", + "non_transferrable_by_owner": null + } +] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_burn_event_v1/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_burn_event_v1/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_burn_event_v1/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_burn_event_v2/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_burn_event_v2/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_burn_event_v2/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_concurrent_aptos_mint/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_concurrent_aptos_mint/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_concurrent_aptos_mint/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_fixed_supply/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_fixed_supply/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_fixed_supply/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_mint_and_transfer_event_v1/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_mint_and_transfer_event_v1/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_mint_and_transfer_event_v1/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_mutation_event/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_mutation_event/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_mutation_event/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_unlimited_supply/current_token_pending_claims.json b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_unlimited_supply/current_token_pending_claims.json new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/rust/integration-tests/sdk_expected_db_output_files/token_v2_processor/test_token_v2_unlimited_supply/current_token_pending_claims.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/rust/integration-tests/src/diff_test_helper/token_v2_processor.rs b/rust/integration-tests/src/diff_test_helper/token_v2_processor.rs index 96355094e..91b3569b2 100644 --- a/rust/integration-tests/src/diff_test_helper/token_v2_processor.rs +++ b/rust/integration-tests/src/diff_test_helper/token_v2_processor.rs @@ -8,8 +8,9 @@ use diesel::{ use processor::schema::{ collections_v2::dsl as cv2_dsl, current_collections_v2::dsl as ccv2_dsl, current_token_datas_v2::dsl as ctdv2_dsl, current_token_ownerships_v2::dsl as ctov2_dsl, - current_token_v2_metadata::dsl as ctmv2_dsl, token_activities_v2::dsl as tav2_dsl, - token_datas_v2::dsl as tdv2_dsl, token_ownerships_v2::dsl as tov2_dsl, + current_token_pending_claims::dsl as ctpc_dsl, current_token_v2_metadata::dsl as ctmv2_dsl, + token_activities_v2::dsl as tav2_dsl, token_datas_v2::dsl as tdv2_dsl, + token_ownerships_v2::dsl as tov2_dsl, }; use serde_json::Value; use std::collections::HashMap; @@ -133,5 +134,19 @@ pub fn load_data( serde_json::from_str(¤t_token_ownerships_v2_json_data)?, ); + let current_token_pending_claims_result = ctpc_dsl::current_token_pending_claims + .filter(ctpc_dsl::last_transaction_version.eq_any(&txn_versions)) + .then_order_by(ctpc_dsl::last_transaction_version.asc()) + .load::(conn); + + let all_current_token_pending_claims = current_token_pending_claims_result?; + let current_token_pending_claims_json_data = + serde_json::to_string_pretty(&all_current_token_pending_claims)?; + + result_map.insert( + "current_token_pending_claims".to_string(), + serde_json::from_str(¤t_token_pending_claims_json_data)?, + ); + Ok(result_map) } diff --git a/rust/integration-tests/src/models/token_v2_models.rs b/rust/integration-tests/src/models/token_v2_models.rs index 42f0c3b8b..1cf802a83 100644 --- a/rust/integration-tests/src/models/token_v2_models.rs +++ b/rust/integration-tests/src/models/token_v2_models.rs @@ -8,7 +8,8 @@ use diesel::{Identifiable, Insertable, Queryable}; use field_count::FieldCount; use processor::schema::{ collections_v2, current_collections_v2, current_token_datas_v2, current_token_ownerships_v2, - current_token_v2_metadata, token_activities_v2, token_datas_v2, token_ownerships_v2, + current_token_pending_claims, current_token_v2_metadata, token_activities_v2, token_datas_v2, + token_ownerships_v2, }; use serde::{Deserialize, Serialize}; use serde_json::Value; @@ -201,3 +202,35 @@ pub struct CurrentTokenOwnershipV2 { pub inserted_at: chrono::NaiveDateTime, pub non_transferrable_by_owner: Option, } + +#[derive( + Clone, + Debug, + Deserialize, + Eq, + FieldCount, + Identifiable, + Insertable, + PartialEq, + Serialize, + Queryable, +)] +#[diesel(primary_key(token_data_id_hash, property_version, from_address, to_address))] +#[diesel(table_name = current_token_pending_claims)] +pub struct CurrentTokenPendingClaim { + pub token_data_id_hash: String, + pub property_version: BigDecimal, + pub from_address: String, + pub to_address: String, + pub collection_data_id_hash: String, + pub creator_address: String, + pub collection_name: String, + pub name: String, + pub amount: BigDecimal, + pub table_handle: String, + pub last_transaction_version: i64, + pub inserted_at: chrono::NaiveDateTime, + pub last_transaction_timestamp: chrono::NaiveDateTime, + pub token_data_id: String, + pub collection_id: String, +} diff --git a/rust/integration-tests/src/sdk_tests/token_v2_processor_tests.rs b/rust/integration-tests/src/sdk_tests/token_v2_processor_tests.rs index f24e83d4f..bce76a7ab 100644 --- a/rust/integration-tests/src/sdk_tests/token_v2_processor_tests.rs +++ b/rust/integration-tests/src/sdk_tests/token_v2_processor_tests.rs @@ -61,12 +61,18 @@ mod sdk_token_v2_processor_tests { }, }; use aptos_indexer_test_transactions::{ + IMPORTED_MAINNET_TXNS_1058723093_TOKEN_V1_MINT_WITHDRAW_DEPOSIT_EVENTS, IMPORTED_MAINNET_TXNS_1080786089_TOKEN_V2_BURN_EVENT_V1, + IMPORTED_MAINNET_TXNS_11648867_TOKEN_V1_BURN_EVENT, + IMPORTED_MAINNET_TXNS_141135867_TOKEN_V1_OFFER, + IMPORTED_MAINNET_TXNS_178179220_TOKEN_V1_MUTATE_EVENT, IMPORTED_MAINNET_TXNS_325355235_TOKEN_V2_UNLIMITED_SUPPLY_MINT, IMPORTED_MAINNET_TXNS_453498957_TOKEN_V2_MINT_AND_TRANSFER_EVENT_V1, IMPORTED_MAINNET_TXNS_537250181_TOKEN_V2_FIXED_SUPPLY_MINT, IMPORTED_MAINNET_TXNS_578366445_TOKEN_V2_BURN_EVENT_V2, + IMPORTED_MAINNET_TXNS_84023785_TOKEN_V2_CLAIM_OFFER, IMPORTED_MAINNET_TXNS_967255533_TOKEN_V2_MUTATION_EVENT, + IMPORTED_MAINNET_TXNS_97963136_TOKEN_V2_CANCEL_OFFER, IMPORTED_MAINNET_TXNS_999930475_TOKEN_V2_CONCURRENT_MINT, }; use aptos_indexer_testing_framework::{cli_parser::get_test_config, database::TestDatabase}; @@ -97,15 +103,11 @@ mod sdk_token_v2_processor_tests { /** * This test includes processing for the following: * - Resources - * - 0x4::aptos_token::AptosCollection * - 0x4::collection::Collection - * - 0x4::collection::ConcurrentSupply - * - 0x4::aptos_token::AptosToken - * - 0x4::property_map::PropertyMap - * - 0x4::token::Token - + * - 0x4::collection::UnlimitedSupply * - Events - * - 0x4::collection::Mint + * - 0x4::collection::BurnEvent + */ #[tokio::test(flavor = "multi_thread", worker_threads = 2)] async fn test_token_v2_burn_event_v1() { @@ -117,18 +119,15 @@ mod sdk_token_v2_processor_tests { } /** - * This test includes processing for the following: - * - Resources - * - 0x4::aptos_token::AptosCollection - * - 0x4::collection::Collection - * - 0x4::collection::ConcurrentSupply - * - 0x4::aptos_token::AptosToken - * - 0x4::property_map::PropertyMap - * - 0x4::token::Token - - * - Events - * - 0x4::collection::Mint - */ + * This test includes processing for the following: + * - Resources + * - 0x4::collection::UnlimitedSupply + * - 0x4::collection::Collection + * - 0x4::token::Token + * - Events + * - 0x4::collection::MintEvent + * - 0x1::object::TransferEvent + */ #[tokio::test(flavor = "multi_thread", worker_threads = 2)] async fn test_token_v2_unlimited_supply() { process_single_transaction( @@ -143,13 +142,14 @@ mod sdk_token_v2_processor_tests { * - Resources * - 0x4::aptos_token::AptosCollection * - 0x4::collection::Collection - * - 0x4::collection::ConcurrentSupply + * - 0x4::collection::FixedSupply * - 0x4::aptos_token::AptosToken * - 0x4::property_map::PropertyMap * - 0x4::token::Token * - Events - * - 0x4::collection::Mint + * - 0x4::collection::MintEvent + * - 0x1::object::TransferEvent */ #[tokio::test(flavor = "multi_thread", worker_threads = 2)] async fn test_token_v2_mint_and_transfer_event_v1() { @@ -165,13 +165,13 @@ mod sdk_token_v2_processor_tests { * - Resources * - 0x4::aptos_token::AptosCollection * - 0x4::collection::Collection - * - 0x4::collection::ConcurrentSupply + * - 0x4::collection::FixedSupply * - 0x4::aptos_token::AptosToken * - 0x4::property_map::PropertyMap * - 0x4::token::Token * - Events - * - 0x4::collection::Mint + * - 0x4::collection::MintEvent */ #[tokio::test(flavor = "multi_thread", worker_threads = 2)] async fn test_token_v2_fixed_supply() { @@ -188,12 +188,9 @@ mod sdk_token_v2_processor_tests { * - 0x4::aptos_token::AptosCollection * - 0x4::collection::Collection * - 0x4::collection::ConcurrentSupply - * - 0x4::aptos_token::AptosToken - * - 0x4::property_map::PropertyMap - * - 0x4::token::Token - * - Events - * - 0x4::collection::Mint + * - 0x4::collection::Burn + */ #[tokio::test(flavor = "multi_thread", worker_threads = 2)] async fn test_token_v2_burn_event_v2() { @@ -207,15 +204,12 @@ mod sdk_token_v2_processor_tests { /** * This test includes processing for the following: * - Resources - * - 0x4::aptos_token::AptosCollection - * - 0x4::collection::Collection - * - 0x4::collection::ConcurrentSupply - * - 0x4::aptos_token::AptosToken * - 0x4::property_map::PropertyMap * - 0x4::token::Token - + * - 0x4::token::TokenIdentifiers * - Events - * - 0x4::collection::Mint + * - 0x4::token::MutationEvent + */ #[tokio::test(flavor = "multi_thread", worker_threads = 2)] async fn test_token_v2_mutation_event() { @@ -226,6 +220,120 @@ mod sdk_token_v2_processor_tests { .await; } + /** + * This test includes processing for the following: + * - Resources + * - 0x4::property_map::PropertyMap + * - 0x4::token::Token + * - 0x4::token::TokenIdentifiers + * - Events + * - 0x4::token::MutationEvent + + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_token_v1_events() { + process_single_transaction( + IMPORTED_MAINNET_TXNS_1058723093_TOKEN_V1_MINT_WITHDRAW_DEPOSIT_EVENTS, + Some("test_token_v1_events".to_string()), + ) + .await; + } + + /** + * This test includes processing for the following: + * - Resources + * - 0x4::property_map::PropertyMap + * - 0x4::token::Token + * - 0x4::token::TokenIdentifiers + * - Events + * - 0x4::token::MutationEvent + + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_token_v1_burn_event() { + process_single_transaction( + IMPORTED_MAINNET_TXNS_11648867_TOKEN_V1_BURN_EVENT, + Some("test_token_v1_burn_event".to_string()), + ) + .await; + } + + /** + * This test includes processing for the following: + * - Resources + * - 0x4::property_map::PropertyMap + * - 0x4::token::Token + * - 0x4::token::TokenIdentifiers + * - Events + * - 0x4::token::MutationEvent + + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_token_v1_offer() { + process_single_transaction( + IMPORTED_MAINNET_TXNS_141135867_TOKEN_V1_OFFER, + Some("test_token_v1_offer".to_string()), + ) + .await; + } + + /** + * This test includes processing for the following: + * - Resources + * - 0x4::property_map::PropertyMap + * - 0x4::token::Token + * - 0x4::token::TokenIdentifiers + * - Events + * - 0x4::token::MutationEvent + + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_token_v1_mutate_event() { + process_single_transaction( + IMPORTED_MAINNET_TXNS_178179220_TOKEN_V1_MUTATE_EVENT, + Some("test_token_v1_mutate_event".to_string()), + ) + .await; + } + + /** + * This test includes processing for the following: + * - Resources + * - 0x4::property_map::PropertyMap + * - 0x4::token::Token + * - 0x4::token::TokenIdentifiers + * - Events + * - 0x4::token::MutationEvent + + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_token_v1_claim_offer() { + process_single_transaction( + IMPORTED_MAINNET_TXNS_84023785_TOKEN_V2_CLAIM_OFFER, + Some("test_token_v1_claim_offer".to_string()), + ) + .await; + } + + /** + * This test includes processing for the following: + * - Resources + * - 0x4::property_map::PropertyMap + * - 0x4::token::Token + * - 0x4::token::TokenIdentifiers + * - Events + * - 0x4::token::MutationEvent + + */ + #[tokio::test(flavor = "multi_thread", worker_threads = 2)] + async fn test_token_v1_cancel_offer() { + process_single_transaction( + IMPORTED_MAINNET_TXNS_97963136_TOKEN_V2_CANCEL_OFFER, + Some("test_token_v1_cancel_offer".to_string()), + ) + .await; + } + // Helper function to abstract out the transaction processing async fn process_single_transaction(txn: &[u8], test_case_name: Option) { let (diff_flag, custom_output_path) = get_test_config();