From 37d846aa7f466a4fdc23b8084732c3f9365076bb Mon Sep 17 00:00:00 2001 From: dermanyang Date: Fri, 1 Nov 2024 15:26:40 -0700 Subject: [PATCH 1/3] generate ans transactions --- ...80409_ans_current_ans_primary_name_v2.json | 623 ++++++++++++++++++ .../214433968_ans_lookup.json | 243 +++++++ .../2739163_ans_current_ans_lookup.json | 554 ++++++++++++++++ ...75584410_ans_current_ans_primary_name.json | 585 ++++++++++++++++ .../303690531_ans_lookup_v2.json | 340 ++++++++++ .../438536688_ans_current_ans_lookup_v2.json | 286 ++++++++ .../92331132_ans_primary_name.json | 299 +++++++++ .../imported_transactions.yaml | 41 +- 8 files changed, 2954 insertions(+), 17 deletions(-) create mode 100644 ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/1056780409_ans_current_ans_primary_name_v2.json create mode 100644 ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/214433968_ans_lookup.json create mode 100644 ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/2739163_ans_current_ans_lookup.json create mode 100644 ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/275584410_ans_current_ans_primary_name.json create mode 100644 ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/303690531_ans_lookup_v2.json create mode 100644 ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/438536688_ans_current_ans_lookup_v2.json create mode 100644 ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/92331132_ans_primary_name.json diff --git a/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/1056780409_ans_current_ans_primary_name_v2.json b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/1056780409_ans_current_ans_primary_name_v2.json new file mode 100644 index 0000000000000..ba8b3295d3a1e --- /dev/null +++ b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/1056780409_ans_current_ans_primary_name_v2.json @@ -0,0 +1,623 @@ +{ + "timestamp": { + "seconds": "1722187950", + "nanos": 947056000 + }, + "version": "1056780409", + "info": { + "hash": "dLN7wD29ULOqoSkDhVqRrGBYpH3JDNV702gvJq9v7dc=", + "stateChangeHash": "Dm3C8wVlrfVheMITGzDezHzIhR4/YPKaYm6YXzA851o=", + "eventRootHash": "VSrgSjdb+0bY1+zp+LddqMrxESuknTevmSm0XZenh6k=", + "gasUsed": "2370", + "success": true, + "vmStatus": "Executed successfully", + "accumulatorRootHash": "GkcuKPwXkwLZc1pUdPDHpZuch6VyZcnC80pbQ2AQ1cw=", + "changes": [ + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x11a5783e7b353bb3d66aba3f853418dd975e2a109b81ea05070319fdbf8aedd", + "stateKeyHash": "h29BTm0JKx/fcpfyReBjcN5pAW4XajaZ8QgldR3gA7o=", + "type": { + "address": "0x1", + "module": "coin", + "name": "CoinStore", + "genericTypeParams": [ + { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "aptos_coin", + "name": "AptosCoin" + } + } + ] + }, + "typeStr": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>", + "data": "{\"coin\":{\"value\":\"645987600\"},\"deposit_events\":{\"counter\":\"16\",\"guid\":{\"id\":{\"addr\":\"0x11a5783e7b353bb3d66aba3f853418dd975e2a109b81ea05070319fdbf8aedd\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x11a5783e7b353bb3d66aba3f853418dd975e2a109b81ea05070319fdbf8aedd\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "RegisterNameEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::RegisterNameEvents", + "data": "{\"register_name_events\":{\"counter\":\"316656\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"5\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "RenewNameEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::RenewNameEvents", + "data": "{\"renew_name_events\":{\"counter\":\"2176\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"6\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetReverseLookupEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetReverseLookupEvents", + "data": "{\"set_reverse_lookup_events\":{\"counter\":\"200372\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"7\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetTargetAddressEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetTargetAddressEvents", + "data": "{\"set_name_events\":{\"counter\":\"493970\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"4\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a", + "stateKeyHash": "tmhRP6AFe216738O/b4JjN/UwPYrdySPrDqgRdvlIkA=", + "type": { + "address": "0x1", + "module": "account", + "name": "Account" + }, + "typeStr": "0x1::account::Account", + "data": "{\"authentication_key\":\"0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a\",\"coin_register_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"2\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"1\",\"signer_capability_offer\":{\"for\":{\"vec\":[]}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a", + "stateKeyHash": "4MDubwuB0Or8JNsBg1cKdj3O+7qz/yXBuku9QACYHwQ=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "ReverseRecord" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::ReverseRecord", + "data": "{\"token_addr\":{\"vec\":[\"0x313f04ead8fa66e70f23ea26ef3ec7fbce485f776986a06302e6283c7e2bc2f8\"]}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x30fbc956f0f38db2d314bd9c018d34be3e047a804a71e30a4e5d43d8b7c539eb", + "stateKeyHash": "vXGIgDGrzAypxuPfCUOJ8pgM2MBAFo1K9Iz9d5u9W2M=", + "type": { + "address": "0x1", + "module": "object", + "name": "ObjectCore" + }, + "typeStr": "0x1::object::ObjectCore", + "data": "{\"allow_ungated_transfer\":false,\"guid_creation_num\":\"1125899906842628\",\"owner\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"transfer_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x30fbc956f0f38db2d314bd9c018d34be3e047a804a71e30a4e5d43d8b7c539eb\",\"creation_num\":\"1125899906842624\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x30fbc956f0f38db2d314bd9c018d34be3e047a804a71e30a4e5d43d8b7c539eb", + "stateKeyHash": "vXGIgDGrzAypxuPfCUOJ8pgM2MBAFo1K9Iz9d5u9W2M=", + "type": { + "address": "0x4", + "module": "collection", + "name": "Collection" + }, + "typeStr": "0x4::collection::Collection", + "data": "{\"creator\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"description\":\"subdomain of .apt names from Aptos Labs\",\"mutation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x30fbc956f0f38db2d314bd9c018d34be3e047a804a71e30a4e5d43d8b7c539eb\",\"creation_num\":\"1125899906842627\"}}},\"name\":\"Aptos Subdomain Names V2\",\"uri\":\"https://aptosnames.com\"}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x30fbc956f0f38db2d314bd9c018d34be3e047a804a71e30a4e5d43d8b7c539eb", + "stateKeyHash": "vXGIgDGrzAypxuPfCUOJ8pgM2MBAFo1K9Iz9d5u9W2M=", + "type": { + "address": "0x4", + "module": "collection", + "name": "UnlimitedSupply" + }, + "typeStr": "0x4::collection::UnlimitedSupply", + "data": "{\"burn_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x30fbc956f0f38db2d314bd9c018d34be3e047a804a71e30a4e5d43d8b7c539eb\",\"creation_num\":\"1125899906842625\"}}},\"current_supply\":\"171763\",\"mint_events\":{\"counter\":\"171763\",\"guid\":{\"id\":{\"addr\":\"0x30fbc956f0f38db2d314bd9c018d34be3e047a804a71e30a4e5d43d8b7c539eb\",\"creation_num\":\"1125899906842626\"}}},\"total_minted\":\"171763\"}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x313f04ead8fa66e70f23ea26ef3ec7fbce485f776986a06302e6283c7e2bc2f8", + "stateKeyHash": "Rgg0DR/xg2HuZ+2WFKM3RfX8e7ntmiAzZl/cgpaZcao=", + "type": { + "address": "0x1", + "module": "object", + "name": "ObjectCore" + }, + "typeStr": "0x1::object::ObjectCore", + "data": "{\"allow_ungated_transfer\":false,\"guid_creation_num\":\"1125899906842626\",\"owner\":\"0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a\",\"transfer_events\":{\"counter\":\"2\",\"guid\":{\"id\":{\"addr\":\"0x313f04ead8fa66e70f23ea26ef3ec7fbce485f776986a06302e6283c7e2bc2f8\",\"creation_num\":\"1125899906842624\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x313f04ead8fa66e70f23ea26ef3ec7fbce485f776986a06302e6283c7e2bc2f8", + "stateKeyHash": "Rgg0DR/xg2HuZ+2WFKM3RfX8e7ntmiAzZl/cgpaZcao=", + "type": { + "address": "0x4", + "module": "token", + "name": "Token" + }, + "typeStr": "0x4::token::Token", + "data": "{\"collection\":{\"inner\":\"0x30fbc956f0f38db2d314bd9c018d34be3e047a804a71e30a4e5d43d8b7c539eb\"},\"description\":\"This is an official Aptos Labs Name Service Name\",\"index\":\"0\",\"mutation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x313f04ead8fa66e70f23ea26ef3ec7fbce485f776986a06302e6283c7e2bc2f8\",\"creation_num\":\"1125899906842625\"}}},\"name\":\"\",\"uri\":\"https://www.aptosnames.com/api/mainnet/v2/metadata/abwehr1225.petra.apt\"}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x313f04ead8fa66e70f23ea26ef3ec7fbce485f776986a06302e6283c7e2bc2f8", + "stateKeyHash": "Rgg0DR/xg2HuZ+2WFKM3RfX8e7ntmiAzZl/cgpaZcao=", + "type": { + "address": "0x4", + "module": "token", + "name": "TokenIdentifiers" + }, + "typeStr": "0x4::token::TokenIdentifiers", + "data": "{\"index\":{\"value\":\"171763\"},\"name\":{\"padding\":\"0x\",\"value\":\"abwehr1225.petra.apt\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x313f04ead8fa66e70f23ea26ef3ec7fbce485f776986a06302e6283c7e2bc2f8", + "stateKeyHash": "7YaoJ48J5BPapsQTpXeToZlXLsZphvTl3hYAP+66J5U=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "NameRecord" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::NameRecord", + "data": "{\"domain_name\":\"petra\",\"expiration_time_sec\":\"1722274350\",\"extend_ref\":{\"self\":\"0x313f04ead8fa66e70f23ea26ef3ec7fbce485f776986a06302e6283c7e2bc2f8\"},\"registration_time_sec\":\"1722187950\",\"target_address\":{\"vec\":[\"0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a\"]},\"transfer_ref\":{\"self\":\"0x313f04ead8fa66e70f23ea26ef3ec7fbce485f776986a06302e6283c7e2bc2f8\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x313f04ead8fa66e70f23ea26ef3ec7fbce485f776986a06302e6283c7e2bc2f8", + "stateKeyHash": "7YaoJ48J5BPapsQTpXeToZlXLsZphvTl3hYAP+66J5U=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SubdomainExt" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SubdomainExt", + "data": "{\"subdomain_expiration_policy\":1,\"subdomain_name\":\"abwehr1225\"}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x78ee3915e67ef5d19fa91d1e05e60ae08751efd12ce58e23fc1109de87ea7865", + "stateKeyHash": "joMl1nETFJgKkA1huR4txIHsW1DwfGc1ZQouuEfF62I=", + "type": { + "address": "0x1", + "module": "coin", + "name": "CoinStore", + "genericTypeParams": [ + { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "aptos_coin", + "name": "AptosCoin" + } + } + ] + }, + "typeStr": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>", + "data": "{\"coin\":{\"value\":\"2827700840040\"},\"deposit_events\":{\"counter\":\"451146\",\"guid\":{\"id\":{\"addr\":\"0x78ee3915e67ef5d19fa91d1e05e60ae08751efd12ce58e23fc1109de87ea7865\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"4\",\"guid\":{\"id\":{\"addr\":\"0x78ee3915e67ef5d19fa91d1e05e60ae08751efd12ce58e23fc1109de87ea7865\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xfe2ffdb3a74307f7314a1c8ab3762b6b5869a3c1278cdd5d230249453e15a1db", + "stateKeyHash": "qnaAo9+x8CLGSqSRcT7b2QpLxmjQ9Hs6qk2bIoXuikA=", + "type": { + "address": "0xfe2ffdb3a74307f7314a1c8ab3762b6b5869a3c1278cdd5d230249453e15a1db", + "module": "petra_names", + "name": "PetraNamesData" + }, + "typeStr": "0xfe2ffdb3a74307f7314a1c8ab3762b6b5869a3c1278cdd5d230249453e15a1db::petra_names::PetraNamesData", + "data": "{\"claimed_addresses\":{\"buckets\":{\"inner\":{\"handle\":\"0x3ca2c9c65526e197b45b5ce51ac588daaa2fba66df4cba6b4de590d5c8549529\"},\"length\":\"2833\"},\"level\":11,\"num_buckets\":\"2833\",\"size\":\"44608\",\"split_load_threshold\":75,\"target_bucket_size\":\"21\"},\"is_enabled\":true,\"signer_cap\":{\"account\":\"0x5d953c8a12eb34083dacf656756a0a7402ed244c682cce751ec6575d130218d6\"}}" + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "bkso1A+YoQamUWNTCSTA3LQME0nTqpFdEItNbPwd2xk=", + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "data": { + "key": "\"0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935\"", + "keyType": "address", + "value": "\"110809303606638164\"", + "valueType": "u128" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "cpe/4suvis0QdzXGNg5nW+k365wxmgeLgyHIoHmnhrI=", + "handle": "0x3ca2c9c65526e197b45b5ce51ac588daaa2fba66df4cba6b4de590d5c8549529", + "key": "0x6407000000000000", + "data": { + "key": "\"1892\"", + "keyType": "u64", + "value": "[{\"hash\":\"3503852445279629156\",\"key\":\"0x8c1e0cbffd8740b796a37d3c45edab6565000954a19fa74fd28eedefca1d9ab6\",\"value\":\"jumanjili\"},{\"hash\":\"1878055947423436644\",\"key\":\"0x5bdeb642ed745b40b973531add99a78fcfac0cfdc10a37e24fdf0ee63da49232\",\"value\":\"304\"},{\"hash\":\"3274205857447427940\",\"key\":\"0xf49ba60a4ad043dc349de3ab7796b786ce2c8e3aceae81021c34ed20730e7915\",\"value\":\"belenay\"},{\"hash\":\"17036818568918368100\",\"key\":\"0x17b08699c08e252eea5ed803af831c885a2eeb71a19d19444c9702481af7e396\",\"value\":\"healt\"},{\"hash\":\"12746034720031131492\",\"key\":\"0xb201fa6d850148645518c979a76cd12e8f824e3c1dcc74e5dc2a415cc3c09a94\",\"value\":\"evaneskate\"},{\"hash\":\"13224931556429631332\",\"key\":\"0x648b723a7841e00d763b6e76f41e943bd6c4b81842e545a8d00aee19c9b606b0\",\"value\":\"kekyas\"},{\"hash\":\"9101845067558985572\",\"key\":\"0x239ced5e4f821acfc3dd473d216f72bd2fdc4f0936230d4bd6f305279bd2a53e\",\"value\":\"dantakum\"},{\"hash\":\"12177461896164153188\",\"key\":\"0x9066f69302792a033f420a62e195a4e7222014b7558fd79e52f59651864ab4be\",\"value\":\"sbeat\"},{\"hash\":\"4729319404803606372\",\"key\":\"0x1c12e209c0cad6956a7df921e3949a8a5542e322cfb3bd8ae637823fdb68f83d\",\"value\":\"nick\"},{\"hash\":\"10479050568525664100\",\"key\":\"0x3418d4d0bddfeb69e869992f6378f0730b79d487c8db8578cd8de2e993f5d1bf\",\"value\":\"aymz\"},{\"hash\":\"4573808150160930660\",\"key\":\"0xe4169a3e599d86c538aa15a50806c401de0a7e865b0f8b2a26e6747b932d567b\",\"value\":\"pollinbay\"},{\"hash\":\"13651267908242036580\",\"key\":\"0x9e9c6737fc1b491d4c0c5ee36147317cdc4a3995003c5c7c3995833337d193ba\",\"value\":\"andrei\"},{\"hash\":\"18341481708288618340\",\"key\":\"0x20bff0fb27b0219942ead3bf65c404fdea95a91ea62e204d277f7f190a9ba196\",\"value\":\"forest\"},{\"hash\":\"4264219452993029988\",\"key\":\"0x27339b8c76e0515b392cfac0cd9dfe918e0c22e6876503fc766a339deb439ad7\",\"value\":\"johan\"},{\"hash\":\"8830343872688557924\",\"key\":\"0x5b9d66ddf378d7189407d95b90e4403d78b34dcde2cbd23ff75c406c020a298e\",\"value\":\"michaelwoan\"},{\"hash\":\"15056438009492539236\",\"key\":\"0xee5ed35915328cce6ac97fa4ff7c315b14962e840c069b7b6532b319356e1223\",\"value\":\"nazlee\"},{\"hash\":\"11282229769420033892\",\"key\":\"0xfda901460ef77e251fd299e8f7b0fb7a4c54f7e076b594cc67c29cacb06b100d\",\"value\":\"charakapsa\"},{\"hash\":\"2893261547335245668\",\"key\":\"0xa2970b20edc64db5bdffc27f76301acf8c0e06322ec9e004f06d6b282e0f98a\",\"value\":\"pbxbt\"},{\"hash\":\"6516994123862628196\",\"key\":\"0x5f957978477b714ae395d7b98008ad8497b91dd3014f6d1f3d5b720b691063e3\",\"value\":\"0xandy\"},{\"hash\":\"11576322454539992932\",\"key\":\"0x26c859b15452eb8c4a80564f218e1abb3253264744cdfdb8c57fe4104c055dbf\",\"value\":\"0x0pouya\"},{\"hash\":\"10975073621034530660\",\"key\":\"0xe6491979646388ab219294e715aa0311f9febf33789ef4cd00de3e6cd3d0a86\",\"value\":\"grimsee\"},{\"hash\":\"5344172894837473124\",\"key\":\"0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a\",\"value\":\"abwehr1225\"}]", + "valueType": "vector<0x1::smart_table::Entry>" + } + } + } + ] + }, + "epoch": "7904", + "blockHeight": "207170162", + "type": "TRANSACTION_TYPE_USER", + "sizeInfo": { + "transactionBytes": 506, + "eventSizeInfo": [ + { + "typeTagBytes": 66, + "totalBytes": 109 + }, + { + "typeTagBytes": 52, + "totalBytes": 108 + }, + { + "typeTagBytes": 55, + "totalBytes": 143 + }, + { + "typeTagBytes": 55, + "totalBytes": 199 + }, + { + "typeTagBytes": 65, + "totalBytes": 147 + }, + { + "typeTagBytes": 69, + "totalBytes": 176 + }, + { + "typeTagBytes": 55, + "totalBytes": 199 + }, + { + "typeTagBytes": 69, + "totalBytes": 176 + }, + { + "typeTagBytes": 69, + "totalBytes": 180 + }, + { + "typeTagBytes": 63, + "totalBytes": 103 + } + ], + "writeOpSizeInfo": [ + { + "keyBytes": 138, + "valueBytes": 105 + }, + { + "keyBytes": 93, + "valueBytes": 462 + }, + { + "keyBytes": 84, + "valueBytes": 147 + }, + { + "keyBytes": 95, + "valueBytes": 33 + }, + { + "keyBytes": 87, + "valueBytes": 540 + }, + { + "keyBytes": 87, + "valueBytes": 486 + }, + { + "keyBytes": 93, + "valueBytes": 250 + }, + { + "keyBytes": 138, + "valueBytes": 105 + }, + { + "keyBytes": 95, + "valueBytes": 99 + }, + { + "keyBytes": 66, + "valueBytes": 16 + }, + { + "keyBytes": 42, + "valueBytes": 1053 + } + ] + }, + "user": { + "request": { + "sender": "0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a", + "maxGasAmount": "10000", + "gasUnitPrice": "100", + "expirationTimestampSecs": { + "seconds": "1722187970" + }, + "payload": { + "type": "TYPE_ENTRY_FUNCTION_PAYLOAD", + "entryFunctionPayload": { + "function": { + "module": { + "address": "0xfe2ffdb3a74307f7314a1c8ab3762b6b5869a3c1278cdd5d230249453e15a1db", + "name": "petra_names" + }, + "name": "claim_petra_name" + }, + "arguments": [ + "\"abwehr1225\"" + ], + "entryFunctionIdStr": "0xfe2ffdb3a74307f7314a1c8ab3762b6b5869a3c1278cdd5d230249453e15a1db::petra_names::claim_petra_name" + } + }, + "signature": { + "type": "TYPE_FEE_PAYER", + "feePayer": { + "sender": { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "yZ6xBVXaebVvxxBywhFetex0nwCtN6GCFUHf1Y8qej8=", + "signature": "EHVFrLoUeyJ4qInBxl0BAFN251MNuioMPGLMc31b7o8UQfN14d2oGWAKIYCOPCbZ5l7SUkF5X/RcMJvgbvNdBQ==" + } + }, + "secondarySignerAddresses": [ + "0x11a5783e7b353bb3d66aba3f853418dd975e2a109b81ea05070319fdbf8aedd" + ], + "secondarySigners": [ + { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "qyr71DaFfK39YXJ7RiUa6wUJJJNDgVhf8nctpPYd0n8=", + "signature": "qP3Go7/8oY5TF0/IzAWZZ3e0UtaEy51G2/RLH3fLgYS0OK8XjSnqugJxEkEpHsDkSbjvNmQ7xQyG9cakd1ySAQ==" + } + } + ], + "feePayerAddress": "0x11a5783e7b353bb3d66aba3f853418dd975e2a109b81ea05070319fdbf8aedd", + "feePayerSigner": { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "qyr71DaFfK39YXJ7RiUa6wUJJJNDgVhf8nctpPYd0n8=", + "signature": "qP3Go7/8oY5TF0/IzAWZZ3e0UtaEy51G2/RLH3fLgYS0OK8XjSnqugJxEkEpHsDkSbjvNmQ7xQyG9cakd1ySAQ==" + } + } + } + } + }, + "events": [ + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0xfe2ffdb3a74307f7314a1c8ab3762b6b5869a3c1278cdd5d230249453e15a1db", + "module": "petra_names", + "name": "ClaimPetraNameEvent" + } + }, + "typeStr": "0xfe2ffdb3a74307f7314a1c8ab3762b6b5869a3c1278cdd5d230249453e15a1db::petra_names::ClaimPetraNameEvent", + "data": "{\"name\":\"abwehr1225\",\"receiver_address\":\"0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a\"}" + }, + { + "key": { + "creationNumber": "2", + "accountAddress": "0x78ee3915e67ef5d19fa91d1e05e60ae08751efd12ce58e23fc1109de87ea7865" + }, + "sequenceNumber": "451145", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "coin", + "name": "DepositEvent" + } + }, + "typeStr": "0x1::coin::DepositEvent", + "data": "{\"amount\":\"0\"}" + }, + { + "key": { + "creationNumber": "1125899906842626", + "accountAddress": "0x30fbc956f0f38db2d314bd9c018d34be3e047a804a71e30a4e5d43d8b7c539eb" + }, + "sequenceNumber": "171762", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x4", + "module": "collection", + "name": "MintEvent" + } + }, + "typeStr": "0x4::collection::MintEvent", + "data": "{\"index\":\"171763\",\"token\":\"0x313f04ead8fa66e70f23ea26ef3ec7fbce485f776986a06302e6283c7e2bc2f8\"}" + }, + { + "key": { + "creationNumber": "1125899906842624", + "accountAddress": "0x313f04ead8fa66e70f23ea26ef3ec7fbce485f776986a06302e6283c7e2bc2f8" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "object", + "name": "TransferEvent" + } + }, + "typeStr": "0x1::object::TransferEvent", + "data": "{\"from\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"object\":\"0x313f04ead8fa66e70f23ea26ef3ec7fbce485f776986a06302e6283c7e2bc2f8\",\"to\":\"0x5d953c8a12eb34083dacf656756a0a7402ed244c682cce751ec6575d130218d6\"}" + }, + { + "key": { + "creationNumber": "5", + "accountAddress": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df" + }, + "sequenceNumber": "316655", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "RegisterNameEvent" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::RegisterNameEvent", + "data": "{\"domain_name\":\"petra\",\"expiration_time_secs\":\"1722274350\",\"registration_fee_octas\":\"0\",\"subdomain_name\":{\"vec\":[\"abwehr1225\"]}}" + }, + { + "key": { + "creationNumber": "4", + "accountAddress": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df" + }, + "sequenceNumber": "493968", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetTargetAddressEvent" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetTargetAddressEvent", + "data": "{\"domain_name\":\"petra\",\"expiration_time_secs\":\"1722274350\",\"new_address\":{\"vec\":[\"0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a\"]},\"subdomain_name\":{\"vec\":[\"abwehr1225\"]}}" + }, + { + "key": { + "creationNumber": "1125899906842624", + "accountAddress": "0x313f04ead8fa66e70f23ea26ef3ec7fbce485f776986a06302e6283c7e2bc2f8" + }, + "sequenceNumber": "1", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "object", + "name": "TransferEvent" + } + }, + "typeStr": "0x1::object::TransferEvent", + "data": "{\"from\":\"0x5d953c8a12eb34083dacf656756a0a7402ed244c682cce751ec6575d130218d6\",\"object\":\"0x313f04ead8fa66e70f23ea26ef3ec7fbce485f776986a06302e6283c7e2bc2f8\",\"to\":\"0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a\"}" + }, + { + "key": { + "creationNumber": "4", + "accountAddress": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df" + }, + "sequenceNumber": "493969", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetTargetAddressEvent" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetTargetAddressEvent", + "data": "{\"domain_name\":\"petra\",\"expiration_time_secs\":\"1722274350\",\"new_address\":{\"vec\":[\"0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a\"]},\"subdomain_name\":{\"vec\":[\"abwehr1225\"]}}" + }, + { + "key": { + "creationNumber": "7", + "accountAddress": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df" + }, + "sequenceNumber": "200371", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetReverseLookupEvent" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetReverseLookupEvent", + "data": "{\"account_addr\":\"0x18a88b9722c7af62308e79b713710876156c68c3e3fdbd408294af6b16dc046a\",\"curr_domain_name\":{\"vec\":[\"petra\"]},\"curr_expiration_time_secs\":{\"vec\":[\"1722274350\"]},\"curr_subdomain_name\":{\"vec\":[\"abwehr1225\"]},\"prev_domain_name\":{\"vec\":[]},\"prev_expiration_time_secs\":{\"vec\":[]},\"prev_subdomain_name\":{\"vec\":[]}}" + }, + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "transaction_fee", + "name": "FeeStatement" + } + }, + "typeStr": "0x1::transaction_fee::FeeStatement", + "data": "{\"execution_gas_units\":\"222\",\"io_gas_units\":\"21\",\"storage_fee_octas\":\"212720\",\"storage_fee_refund_octas\":\"0\",\"total_charge_gas_units\":\"2370\"}" + } + ] + } +} \ No newline at end of file diff --git a/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/214433968_ans_lookup.json b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/214433968_ans_lookup.json new file mode 100644 index 0000000000000..de3ffe4ae8074 --- /dev/null +++ b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/214433968_ans_lookup.json @@ -0,0 +1,243 @@ +{ + "timestamp": { + "seconds": "1691494645", + "nanos": 85585000 + }, + "version": "214433968", + "info": { + "hash": "p2mwf7M/7GcGiTvfflhXp+iEHHA54ZW+gjLxM9CiQTw=", + "stateChangeHash": "blFxBE6oaHIdI5uXAy7j7GoLiHbrGPHUlBfMvexbbVQ=", + "eventRootHash": "6XY62wcnX3kOCQ+lTW+QOimGiL39rCxeiqvVKmiamcg=", + "gasUsed": "35", + "success": true, + "vmStatus": "Executed successfully", + "accumulatorRootHash": "mlzH++kw7gK9khOHHo1rkTbvAG12iYKEsqN7hSvqehw=", + "changes": [ + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006", + "stateKeyHash": "qspP7DSdlSw6+daqDMLmjFx11i9HS/UIx3fyNVtNnRU=", + "type": { + "address": "0x1", + "module": "coin", + "name": "CoinStore", + "genericTypeParams": [ + { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "aptos_coin", + "name": "AptosCoin" + } + } + ] + }, + "typeStr": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>", + "data": "{\"coin\":{\"value\":\"110758984\"},\"deposit_events\":{\"counter\":\"3\",\"guid\":{\"id\":{\"addr\":\"0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"7\",\"guid\":{\"id\":{\"addr\":\"0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006", + "stateKeyHash": "cXA79NBtJgepdKahkaqhTkr8+6hcrhXGCvEUAMYfjQU=", + "type": { + "address": "0x1", + "module": "account", + "name": "Account" + }, + "typeStr": "0x1::account::Account", + "data": "{\"authentication_key\":\"0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006\",\"coin_register_events\":{\"counter\":\"3\",\"guid\":{\"id\":{\"addr\":\"0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"12\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"10\",\"signer_capability_offer\":{\"for\":{\"vec\":[]}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006", + "stateKeyHash": "fIbdQ5Yu+MsRusJ4mhPVecZRXdyEKtD95WtjUo/uC1U=", + "type": { + "address": "0x3", + "module": "token", + "name": "TokenStore" + }, + "typeStr": "0x3::token::TokenStore", + "data": "{\"burn_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006\",\"creation_num\":\"8\"}}},\"deposit_events\":{\"counter\":\"3\",\"guid\":{\"id\":{\"addr\":\"0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006\",\"creation_num\":\"6\"}}},\"direct_transfer\":false,\"mutate_token_property_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006\",\"creation_num\":\"9\"}}},\"tokens\":{\"handle\":\"0x53621280f0c9e381f0aee24750cf8a62e37966e014c73e6f6075040705766430\"},\"withdraw_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006\",\"creation_num\":\"7\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "stateKeyHash": "q4Wci+JMAePdRidB+XcB9eieDZ0/LA5Awh7i8qY+ekI=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "domains", + "name": "SetNameAddressEventsV1" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::SetNameAddressEventsV1", + "data": "{\"set_name_events\":{\"counter\":\"107460\",\"guid\":{\"id\":{\"addr\":\"0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c\",\"creation_num\":\"4\"}}}}" + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "bkso1A+YoQamUWNTCSTA3LQME0nTqpFdEItNbPwd2xk=", + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "data": { + "key": "\"0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935\"", + "keyType": "address", + "value": "\"104879388586174126\"", + "valueType": "u128" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "s4NRRy2W/l+mVlubpKaVMG6gS77b5Z1PhgMkjQnCmyI=", + "handle": "0x21a0fd41330f3a0a38173c7c0e4ac59cd51505f0594f64d3d637c12425c3c155", + "key": "0x01033033380f63727970746f676c61646961746f72", + "data": { + "key": "{\"domain_name\":\"cryptogladiator\",\"subdomain_name\":{\"vec\":[\"038\"]}}", + "keyType": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::NameRecordKeyV1", + "value": "{\"expiration_time_sec\":\"1715246873\",\"property_version\":\"1\",\"target_address\":{\"vec\":[\"0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006\"]}}", + "valueType": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::NameRecordV1" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "dMPAJnhb6Xu3SIvQv2ci8ImnthcANXKbKxNCbP+1s8E=", + "handle": "0x53621280f0c9e381f0aee24750cf8a62e37966e014c73e6f6075040705766430", + "key": "0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e19818380e4170746f73204e616d6573205631173033382e63727970746f676c61646961746f722e6170740100000000000000", + "data": { + "key": "{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"038.cryptogladiator.apt\"}}", + "keyType": "0x3::token::TokenId", + "value": "{\"amount\":\"1\",\"id\":{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"038.cryptogladiator.apt\"}},\"token_properties\":{\"map\":{\"data\":[{\"key\":\"creation_time_sec\",\"value\":{\"type\":\"u64\",\"value\":\"0x7c939c6400000000\"}},{\"key\":\"type\",\"value\":{\"type\":\"0x1::string::String\",\"value\":\"0x09737562646f6d61696e\"}},{\"key\":\"expiration_time_sec\",\"value\":{\"type\":\"u64\",\"value\":\"0x19973c6600000000\"}}]}}}", + "valueType": "0x3::token::Token" + } + } + } + ] + }, + "epoch": "3604", + "blockHeight": "78523174", + "type": "TRANSACTION_TYPE_USER", + "sizeInfo": { + "transactionBytes": 285, + "eventSizeInfo": [ + { + "typeTagBytes": 64, + "totalBytes": 182 + }, + { + "typeTagBytes": 68, + "totalBytes": 346 + } + ], + "writeOpSizeInfo": [ + { + "keyBytes": 138, + "valueBytes": 105 + }, + { + "keyBytes": 84, + "valueBytes": 147 + }, + { + "keyBytes": 85, + "valueBytes": 225 + }, + { + "keyBytes": 99, + "valueBytes": 48 + }, + { + "keyBytes": 66, + "valueBytes": 16 + }, + { + "keyBytes": 55, + "valueBytes": 49 + }, + { + "keyBytes": 113, + "valueBytes": 188 + } + ] + }, + "user": { + "request": { + "sender": "0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006", + "sequenceNumber": "9", + "maxGasAmount": "70", + "gasUnitPrice": "100", + "expirationTimestampSecs": { + "seconds": "1691494700" + }, + "payload": { + "type": "TYPE_ENTRY_FUNCTION_PAYLOAD", + "entryFunctionPayload": { + "function": { + "module": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "name": "domains" + }, + "name": "set_subdomain_address" + }, + "arguments": [ + "\"038\"", + "\"cryptogladiator\"", + "\"0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006\"" + ], + "entryFunctionIdStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::set_subdomain_address" + } + }, + "signature": { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "O575q+OaPUey682OrOiF7JCuIQK1nCs9qdSIe0BeUvQ=", + "signature": "xP0yplENYkvp0+6fvj5My9wbe1f1iQYbOiolkm7XCv6TwLRqJQDdkehDbOFHKMdDdzJbhDCjvm7ibxpjIzAlDg==" + } + } + }, + "events": [ + { + "key": { + "creationNumber": "4", + "accountAddress": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c" + }, + "sequenceNumber": "107459", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "domains", + "name": "SetNameAddressEventV1" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::SetNameAddressEventV1", + "data": "{\"domain_name\":\"cryptogladiator\",\"expiration_time_secs\":\"1715246873\",\"new_address\":{\"vec\":[\"0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006\"]},\"property_version\":\"1\",\"subdomain_name\":{\"vec\":[\"038\"]}}" + }, + { + "key": { + "creationNumber": "9", + "accountAddress": "0x2905e3f55d20eb418ea62569b2aea9a5a7afef17c05c9236364c9bb613d84006" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "MutateTokenPropertyMapEvent" + } + }, + "typeStr": "0x3::token::MutateTokenPropertyMapEvent", + "data": "{\"keys\":[\"type\",\"expiration_time_sec\"],\"new_id\":{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"038.cryptogladiator.apt\"}},\"old_id\":{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"038.cryptogladiator.apt\"}},\"types\":[\"0x1::string::String\",\"u64\"],\"values\":[\"0x09737562646f6d61696e\",\"0x19973c6600000000\"]}" + } + ] + } +} \ No newline at end of file diff --git a/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/2739163_ans_current_ans_lookup.json b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/2739163_ans_current_ans_lookup.json new file mode 100644 index 0000000000000..cdd2b135aabea --- /dev/null +++ b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/2739163_ans_current_ans_lookup.json @@ -0,0 +1,554 @@ +{ + "timestamp": { + "seconds": "1666161427", + "nanos": 319022000 + }, + "version": "2739163", + "info": { + "hash": "bGBehR+SkR9LE3vFScA95XkjcJ6B6ajMkHP47u3wXkI=", + "stateChangeHash": "cPuY+90B8Si2dopoiJlp9nsUpqQer8YhfbQK64uxd3Q=", + "eventRootHash": "+GO09DMrs4kwf0ZtQ3Yjh9vK7AbXAuYDQoHExNd8Xc4=", + "gasUsed": "20828", + "success": true, + "vmStatus": "Executed successfully", + "accumulatorRootHash": "r0BvAf6NW1uSynvnXHCoLI4NEIwbtfGifrZ3246X6lQ=", + "changes": [ + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838", + "stateKeyHash": "aAmhjO7ZOImINOiEUZ/O9E+t2P3yHIM4r8WhApN87Ns=", + "type": { + "address": "0x3", + "module": "token", + "name": "TokenStore" + }, + "typeStr": "0x3::token::TokenStore", + "data": "{\"burn_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"creation_num\":\"7\"}}},\"deposit_events\":{\"counter\":\"8882\",\"guid\":{\"id\":{\"addr\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"creation_num\":\"5\"}}},\"direct_transfer\":false,\"mutate_token_property_events\":{\"counter\":\"4441\",\"guid\":{\"id\":{\"addr\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"creation_num\":\"8\"}}},\"tokens\":{\"handle\":\"0xa18985171700c1f43182fd5b63a389b960b72ccae13aedd6cda384f566a45857\"},\"withdraw_events\":{\"counter\":\"8882\",\"guid\":{\"id\":{\"addr\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"creation_num\":\"6\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838", + "stateKeyHash": "Xje+VRCKryCJ5bUZLsYSyRBNVyz22fidfih9glQjqL8=", + "type": { + "address": "0x3", + "module": "token", + "name": "Collections" + }, + "typeStr": "0x3::token::Collections", + "data": "{\"collection_data\":{\"handle\":\"0x5a608d04222bd2de8c9fe6ddc7bc277c390cbc87bdf2688fcdb513b34179fe69\"},\"create_collection_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"creation_num\":\"2\"}}},\"create_token_data_events\":{\"counter\":\"4410\",\"guid\":{\"id\":{\"addr\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"creation_num\":\"3\"}}},\"mint_token_events\":{\"counter\":\"4441\",\"guid\":{\"id\":{\"addr\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"creation_num\":\"4\"}}},\"token_data\":{\"handle\":\"0x7c579e47a2ca935a7d06f90736a0be7a46d31467a190d453e6be308f7b8ced87\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0", + "stateKeyHash": "an17fkHWckbHy8TUFh1URbcl0SNTryKFffSmn7563QE=", + "type": { + "address": "0x1", + "module": "coin", + "name": "CoinStore", + "genericTypeParams": [ + { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "aptos_coin", + "name": "AptosCoin" + } + } + ] + }, + "typeStr": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>", + "data": "{\"coin\":{\"value\":\"5993209100\"},\"deposit_events\":{\"counter\":\"2\",\"guid\":{\"id\":{\"addr\":\"0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"4\",\"guid\":{\"id\":{\"addr\":\"0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0", + "stateKeyHash": "/bIKvNhHfAGWrfiD6pC7bump6G4x8jX0sgscHB/CFik=", + "type": { + "address": "0x1", + "module": "account", + "name": "Account" + }, + "typeStr": "0x1::account::Account", + "data": "{\"authentication_key\":\"0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0\",\"coin_register_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"8\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"5\",\"signer_capability_offer\":{\"for\":{\"vec\":[]}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0", + "stateKeyHash": "pJhea7RID/AkgwGn6VIFjUlURQ+MyNyW51Tqzc1aE70=", + "type": { + "address": "0x3", + "module": "token", + "name": "TokenStore" + }, + "typeStr": "0x3::token::TokenStore", + "data": "{\"burn_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0\",\"creation_num\":\"6\"}}},\"deposit_events\":{\"counter\":\"3\",\"guid\":{\"id\":{\"addr\":\"0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0\",\"creation_num\":\"4\"}}},\"direct_transfer\":true,\"mutate_token_property_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0\",\"creation_num\":\"7\"}}},\"tokens\":{\"handle\":\"0xd8215d9cac0244c0e4ff5603e42e4b6e1ad92a69fd5ea23a73f0fff79208109f\"},\"withdraw_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0\",\"creation_num\":\"5\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x78ee3915e67ef5d19fa91d1e05e60ae08751efd12ce58e23fc1109de87ea7865", + "stateKeyHash": "joMl1nETFJgKkA1huR4txIHsW1DwfGc1ZQouuEfF62I=", + "type": { + "address": "0x1", + "module": "coin", + "name": "CoinStore", + "genericTypeParams": [ + { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "aptos_coin", + "name": "AptosCoin" + } + } + ] + }, + "typeStr": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>", + "data": "{\"coin\":{\"value\":\"12339045941500\"},\"deposit_events\":{\"counter\":\"4031\",\"guid\":{\"id\":{\"addr\":\"0x78ee3915e67ef5d19fa91d1e05e60ae08751efd12ce58e23fc1109de87ea7865\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0x78ee3915e67ef5d19fa91d1e05e60ae08751efd12ce58e23fc1109de87ea7865\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "stateKeyHash": "PRT+heWBbgyc4UmVjGbYj1woWhI9Kq+dsxI5F7l9Q1Y=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "domains", + "name": "RegisterNameEventsV1" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::RegisterNameEventsV1", + "data": "{\"register_name_events\":{\"counter\":\"4441\",\"guid\":{\"id\":{\"addr\":\"0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c\",\"creation_num\":\"5\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "stateKeyHash": "q4Wci+JMAePdRidB+XcB9eieDZ0/LA5Awh7i8qY+ekI=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "domains", + "name": "SetNameAddressEventsV1" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::SetNameAddressEventsV1", + "data": "{\"set_name_events\":{\"counter\":\"4098\",\"guid\":{\"id\":{\"addr\":\"0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c\",\"creation_num\":\"4\"}}}}" + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "bkso1A+YoQamUWNTCSTA3LQME0nTqpFdEItNbPwd2xk=", + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "data": { + "key": "\"0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935\"", + "keyType": "address", + "value": "\"100097405859481624\"", + "valueType": "u128" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "bdas1Z4+JOgy7ljZDkuChhPwjAiyc8iY1VCtEFczqZY=", + "handle": "0x21a0fd41330f3a0a38173c7c0e4ac59cd51505f0594f64d3d637c12425c3c155", + "key": "0x0003302d30", + "data": { + "key": "{\"domain_name\":\"0-0\",\"subdomain_name\":{\"vec\":[]}}", + "keyType": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::NameRecordKeyV1", + "value": "{\"expiration_time_sec\":\"1697697427\",\"property_version\":\"1\",\"target_address\":{\"vec\":[\"0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0\"]}}", + "valueType": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::NameRecordV1" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "HZFE4QhcrZIPummP1ZzfyzurQ55jpPwV5lPxduC8m9Q=", + "handle": "0x7c579e47a2ca935a7d06f90736a0be7a46d31467a190d453e6be308f7b8ced87", + "key": "0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e19818380e4170746f73204e616d657320563107302d302e617074", + "data": { + "key": "{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"0-0.apt\"}", + "keyType": "0x3::token::TokenDataId", + "value": "{\"default_properties\":{\"map\":{\"data\":[{\"key\":\"type\",\"value\":{\"type\":\"0x1::string::String\",\"value\":\"0x06646f6d61696e\"}},{\"key\":\"creation_time_sec\",\"value\":{\"type\":\"u64\",\"value\":\"0x139b4f6300000000\"}}]}},\"description\":\"This is an official Aptos Labs Name Service Name\",\"largest_property_version\":\"1\",\"maximum\":\"0\",\"mutability_config\":{\"description\":true,\"maximum\":false,\"properties\":true,\"royalty\":false,\"uri\":true},\"name\":\"0-0.apt\",\"royalty\":{\"payee_address\":\"0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c\",\"royalty_points_denominator\":\"0\",\"royalty_points_numerator\":\"0\"},\"supply\":\"0\",\"uri\":\"https://www.aptosnames.com/api/mainnet/v1/metadata/0-0.apt\"}", + "valueType": "0x3::token::TokenData" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "z+S79df6MqBal/Dx1K9eG4X1l4OOOrBElRSXO7IpOuQ=", + "handle": "0xd8215d9cac0244c0e4ff5603e42e4b6e1ad92a69fd5ea23a73f0fff79208109f", + "key": "0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e19818380e4170746f73204e616d657320563107302d302e6170740100000000000000", + "data": { + "key": "{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"0-0.apt\"}}", + "keyType": "0x3::token::TokenId", + "value": "{\"amount\":\"1\",\"id\":{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"0-0.apt\"}},\"token_properties\":{\"map\":{\"data\":[{\"key\":\"type\",\"value\":{\"type\":\"0x1::string::String\",\"value\":\"0x06646f6d61696e\"}},{\"key\":\"creation_time_sec\",\"value\":{\"type\":\"u64\",\"value\":\"0x139b4f6300000000\"}},{\"key\":\"expiration_time_sec\",\"value\":{\"type\":\"u64\",\"value\":\"0x93ce306500000000\"}}]}}}", + "valueType": "0x3::token::Token" + } + } + } + ] + }, + "epoch": "79", + "blockHeight": "1181280", + "type": "TRANSACTION_TYPE_USER", + "sizeInfo": { + "transactionBytes": 312, + "eventSizeInfo": [ + { + "typeTagBytes": 53, + "totalBytes": 109 + }, + { + "typeTagBytes": 52, + "totalBytes": 108 + }, + { + "typeTagBytes": 61, + "totalBytes": 408 + }, + { + "typeTagBytes": 53, + "totalBytes": 172 + }, + { + "typeTagBytes": 55, + "totalBytes": 166 + }, + { + "typeTagBytes": 54, + "totalBytes": 173 + }, + { + "typeTagBytes": 53, + "totalBytes": 172 + }, + { + "typeTagBytes": 68, + "totalBytes": 311 + }, + { + "typeTagBytes": 54, + "totalBytes": 173 + }, + { + "typeTagBytes": 53, + "totalBytes": 172 + }, + { + "typeTagBytes": 62, + "totalBytes": 139 + }, + { + "typeTagBytes": 64, + "totalBytes": 166 + } + ], + "writeOpSizeInfo": [ + { + "keyBytes": 85, + "valueBytes": 225 + }, + { + "keyBytes": 86, + "valueBytes": 208 + }, + { + "keyBytes": 138, + "valueBytes": 105 + }, + { + "keyBytes": 84, + "valueBytes": 147 + }, + { + "keyBytes": 85, + "valueBytes": 225 + }, + { + "keyBytes": 138, + "valueBytes": 105 + }, + { + "keyBytes": 97, + "valueBytes": 48 + }, + { + "keyBytes": 99, + "valueBytes": 48 + }, + { + "keyBytes": 66, + "valueBytes": 16 + }, + { + "keyBytes": 39, + "valueBytes": 49 + }, + { + "keyBytes": 89, + "valueBytes": 258 + }, + { + "keyBytes": 97, + "valueBytes": 169 + } + ] + }, + "user": { + "request": { + "sender": "0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0", + "sequenceNumber": "4", + "maxGasAmount": "41400", + "gasUnitPrice": "100", + "expirationTimestampSecs": { + "seconds": "1666161448" + }, + "payload": { + "type": "TYPE_ENTRY_FUNCTION_PAYLOAD", + "entryFunctionPayload": { + "function": { + "module": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "name": "domains" + }, + "name": "register_domain_with_signature" + }, + "arguments": [ + "\"0-0\"", + "1", + "\"0x4094d6e92f6f53cbe829353ca96ecdaa334c0a301a911bb009df25cb96b5bb7f4455e6b28bc664f71c59be65fbca96b4249f4c4a107e422fabc79128f3b43303\"" + ], + "entryFunctionIdStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::register_domain_with_signature" + } + }, + "signature": { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "+N/0xb5NCczpimSEkojEKnNBeJ5pIwgHrn15g5MCEYo=", + "signature": "5BMukOKbRB2lf1ooHnt8DuVNSLtC7DnHajLVg2wNtFleUvr5VPWTDutjC/NkDxr60b7gM9uE49bYzdGIk/xPAg==" + } + } + }, + "events": [ + { + "key": { + "creationNumber": "3", + "accountAddress": "0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0" + }, + "sequenceNumber": "3", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "coin", + "name": "WithdrawEvent" + } + }, + "typeStr": "0x1::coin::WithdrawEvent", + "data": "{\"amount\":\"8000000000\"}" + }, + { + "key": { + "creationNumber": "2", + "accountAddress": "0x78ee3915e67ef5d19fa91d1e05e60ae08751efd12ce58e23fc1109de87ea7865" + }, + "sequenceNumber": "4030", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "coin", + "name": "DepositEvent" + } + }, + "typeStr": "0x1::coin::DepositEvent", + "data": "{\"amount\":\"8000000000\"}" + }, + { + "key": { + "creationNumber": "3", + "accountAddress": "0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838" + }, + "sequenceNumber": "4409", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "CreateTokenDataEvent" + } + }, + "typeStr": "0x3::token::CreateTokenDataEvent", + "data": "{\"description\":\"This is an official Aptos Labs Name Service Name\",\"id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"0-0.apt\"},\"maximum\":\"0\",\"mutability_config\":{\"description\":true,\"maximum\":false,\"properties\":true,\"royalty\":false,\"uri\":true},\"name\":\"0-0.apt\",\"property_keys\":[\"creation_time_sec\",\"type\"],\"property_types\":[\"u64\",\"0x1::string::String\"],\"property_values\":[\"0x139b4f6300000000\",\"0x06646f6d61696e\"],\"royalty_payee_address\":\"0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c\",\"royalty_points_denominator\":\"0\",\"royalty_points_numerator\":\"0\",\"uri\":\"https://www.aptosnames.com/api/mainnet/v1/metadata/0-0.apt\"}" + }, + { + "key": { + "creationNumber": "5", + "accountAddress": "0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838" + }, + "sequenceNumber": "8880", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "DepositEvent" + } + }, + "typeStr": "0x3::token::DepositEvent", + "data": "{\"amount\":\"1\",\"id\":{\"property_version\":\"0\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"0-0.apt\"}}}" + }, + { + "key": { + "creationNumber": "4", + "accountAddress": "0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838" + }, + "sequenceNumber": "4440", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "MintTokenEvent" + } + }, + "typeStr": "0x3::token::MintTokenEvent", + "data": "{\"amount\":\"1\",\"id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"0-0.apt\"}}" + }, + { + "key": { + "creationNumber": "6", + "accountAddress": "0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838" + }, + "sequenceNumber": "8880", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "WithdrawEvent" + } + }, + "typeStr": "0x3::token::WithdrawEvent", + "data": "{\"amount\":\"1\",\"id\":{\"property_version\":\"0\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"0-0.apt\"}}}" + }, + { + "key": { + "creationNumber": "5", + "accountAddress": "0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838" + }, + "sequenceNumber": "8881", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "DepositEvent" + } + }, + "typeStr": "0x3::token::DepositEvent", + "data": "{\"amount\":\"1\",\"id\":{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"0-0.apt\"}}}" + }, + { + "key": { + "creationNumber": "8", + "accountAddress": "0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838" + }, + "sequenceNumber": "4440", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "MutateTokenPropertyMapEvent" + } + }, + "typeStr": "0x3::token::MutateTokenPropertyMapEvent", + "data": "{\"keys\":[\"type\",\"expiration_time_sec\"],\"new_id\":{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"0-0.apt\"}},\"old_id\":{\"property_version\":\"0\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"0-0.apt\"}},\"types\":[\"0x1::string::String\",\"u64\"],\"values\":[\"0x06646f6d61696e\",\"0x93ce306500000000\"]}" + }, + { + "key": { + "creationNumber": "6", + "accountAddress": "0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838" + }, + "sequenceNumber": "8881", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "WithdrawEvent" + } + }, + "typeStr": "0x3::token::WithdrawEvent", + "data": "{\"amount\":\"1\",\"id\":{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"0-0.apt\"}}}" + }, + { + "key": { + "creationNumber": "4", + "accountAddress": "0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0" + }, + "sequenceNumber": "2", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "DepositEvent" + } + }, + "typeStr": "0x3::token::DepositEvent", + "data": "{\"amount\":\"1\",\"id\":{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"0-0.apt\"}}}" + }, + { + "key": { + "creationNumber": "5", + "accountAddress": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c" + }, + "sequenceNumber": "4440", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "domains", + "name": "RegisterNameEventV1" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::RegisterNameEventV1", + "data": "{\"domain_name\":\"0-0\",\"expiration_time_secs\":\"1697697427\",\"property_version\":\"1\",\"registration_fee_octas\":\"8000000000\",\"subdomain_name\":{\"vec\":[]}}" + }, + { + "key": { + "creationNumber": "4", + "accountAddress": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c" + }, + "sequenceNumber": "4097", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "domains", + "name": "SetNameAddressEventV1" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::SetNameAddressEventV1", + "data": "{\"domain_name\":\"0-0\",\"expiration_time_secs\":\"1697697427\",\"new_address\":{\"vec\":[\"0x36e993c5c2a55c82915ef398d844dd62be64cb42d69ec4f80000cbb09919add0\"]},\"property_version\":\"1\",\"subdomain_name\":{\"vec\":[]}}" + } + ] + } +} \ No newline at end of file diff --git a/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/275584410_ans_current_ans_primary_name.json b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/275584410_ans_current_ans_primary_name.json new file mode 100644 index 0000000000000..0054a1d61122c --- /dev/null +++ b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/275584410_ans_current_ans_primary_name.json @@ -0,0 +1,585 @@ +{ + "timestamp": { + "seconds": "1695703114", + "nanos": 96497000 + }, + "version": "275584410", + "info": { + "hash": "+mmrVMSQ9L27K7ZlV9qzbtkwFiDCvXhrmQ2dRvBbQNo=", + "stateChangeHash": "5tdECPOBVViDQQTJAoWydx+aE5v2aEzhYdIuUHlTBw8=", + "eventRootHash": "5Kn0s0GnOHCgtylGNIKFSz43831sUZ4Prc+VIRYkrV8=", + "gasUsed": "2294", + "success": true, + "vmStatus": "Executed successfully", + "accumulatorRootHash": "5kU5bt+UzgV//IdVOyHqMT/jZ1Q1obA3iRdGuIaPK9w=", + "changes": [ + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7", + "stateKeyHash": "ElYWhd7mWJX0G2l59welX0CPQ4QHGhXEuBLYF56w8ck=", + "type": { + "address": "0x1", + "module": "coin", + "name": "CoinStore", + "genericTypeParams": [ + { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "aptos_coin", + "name": "AptosCoin" + } + } + ] + }, + "typeStr": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>", + "data": "{\"coin\":{\"value\":\"1254960046535\"},\"deposit_events\":{\"counter\":\"11\",\"guid\":{\"id\":{\"addr\":\"0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7", + "stateKeyHash": "vV/ALCsC43g7v8DGhs8OiSaZhYg41Uzd+/LdVcRatqM=", + "type": { + "address": "0x1", + "module": "account", + "name": "Account" + }, + "typeStr": "0x1::account::Account", + "data": "{\"authentication_key\":\"0x000000007c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7\",\"coin_register_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"8\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"28\",\"signer_capability_offer\":{\"for\":{\"vec\":[]}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7", + "stateKeyHash": "Sj6cYOU7wveH2XwuPBKI1rPYHRN5xRdQfnZZnnwTMlw=", + "type": { + "address": "0x3", + "module": "token", + "name": "TokenStore" + }, + "typeStr": "0x3::token::TokenStore", + "data": "{\"burn_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7\",\"creation_num\":\"6\"}}},\"deposit_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7\",\"creation_num\":\"4\"}}},\"direct_transfer\":true,\"mutate_token_property_events\":{\"counter\":\"2\",\"guid\":{\"id\":{\"addr\":\"0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7\",\"creation_num\":\"7\"}}},\"tokens\":{\"handle\":\"0x1c03e426986f58abcd452520ade9e325948f5bd068f9292f0c705d78cf249a0e\"},\"withdraw_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7\",\"creation_num\":\"5\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7", + "stateKeyHash": "o5IBy6uNRmyLGrMXkT4mX6fN3NiMR348RmmH7IkHYq0=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "ReverseRecord" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::ReverseRecord", + "data": "{\"token_addr\":{\"vec\":[\"0xf04d6f00aa820b0662de65df585879539497c1f79718193d99db2de3d7cecd20\"]}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "RegisterNameEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::RegisterNameEvents", + "data": "{\"register_name_events\":{\"counter\":\"256\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"5\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "RenewNameEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::RenewNameEvents", + "data": "{\"renew_name_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"6\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetReverseLookupEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetReverseLookupEvents", + "data": "{\"set_reverse_lookup_events\":{\"counter\":\"91\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"7\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetTargetAddressEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetTargetAddressEvents", + "data": "{\"set_name_events\":{\"counter\":\"284\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"4\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x63d26a4e3a8aeececf9b878e46bad78997fb38e50936efeabb2c4453f4d7f746", + "stateKeyHash": "QPEAlSWynglsidGkzbP//4VitcvhIrKurAUO0+StkfM=", + "type": { + "address": "0x1", + "module": "object", + "name": "ObjectCore" + }, + "typeStr": "0x1::object::ObjectCore", + "data": "{\"allow_ungated_transfer\":false,\"guid_creation_num\":\"1125899906842628\",\"owner\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"transfer_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x63d26a4e3a8aeececf9b878e46bad78997fb38e50936efeabb2c4453f4d7f746\",\"creation_num\":\"1125899906842624\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x63d26a4e3a8aeececf9b878e46bad78997fb38e50936efeabb2c4453f4d7f746", + "stateKeyHash": "QPEAlSWynglsidGkzbP//4VitcvhIrKurAUO0+StkfM=", + "type": { + "address": "0x4", + "module": "collection", + "name": "Collection" + }, + "typeStr": "0x4::collection::Collection", + "data": "{\"creator\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"description\":\".apt names from Aptos Labs\",\"mutation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x63d26a4e3a8aeececf9b878e46bad78997fb38e50936efeabb2c4453f4d7f746\",\"creation_num\":\"1125899906842627\"}}},\"name\":\"Aptos Domain Names V2\",\"uri\":\"https://aptosnames.com\"}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x63d26a4e3a8aeececf9b878e46bad78997fb38e50936efeabb2c4453f4d7f746", + "stateKeyHash": "QPEAlSWynglsidGkzbP//4VitcvhIrKurAUO0+StkfM=", + "type": { + "address": "0x4", + "module": "collection", + "name": "UnlimitedSupply" + }, + "typeStr": "0x4::collection::UnlimitedSupply", + "data": "{\"burn_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x63d26a4e3a8aeececf9b878e46bad78997fb38e50936efeabb2c4453f4d7f746\",\"creation_num\":\"1125899906842625\"}}},\"current_supply\":\"242\",\"mint_events\":{\"counter\":\"242\",\"guid\":{\"id\":{\"addr\":\"0x63d26a4e3a8aeececf9b878e46bad78997fb38e50936efeabb2c4453f4d7f746\",\"creation_num\":\"1125899906842626\"}}},\"total_minted\":\"242\"}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x673edba0e0b864ca3eb458fdd45d55f6eced59bb5bdc3b1f3671fae0f9ea4e4d", + "stateKeyHash": "V4Isr6llE556kr41rw6XFKYVvLfzm8d5JDjusnlyunY=", + "type": { + "address": "0x3", + "module": "token", + "name": "TokenStore" + }, + "typeStr": "0x3::token::TokenStore", + "data": "{\"burn_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x673edba0e0b864ca3eb458fdd45d55f6eced59bb5bdc3b1f3671fae0f9ea4e4d\",\"creation_num\":\"4\"}}},\"deposit_events\":{\"counter\":\"227\",\"guid\":{\"id\":{\"addr\":\"0x673edba0e0b864ca3eb458fdd45d55f6eced59bb5bdc3b1f3671fae0f9ea4e4d\",\"creation_num\":\"2\"}}},\"direct_transfer\":false,\"mutate_token_property_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x673edba0e0b864ca3eb458fdd45d55f6eced59bb5bdc3b1f3671fae0f9ea4e4d\",\"creation_num\":\"5\"}}},\"tokens\":{\"handle\":\"0x9fdd179360735701130d02f5573569a8cdfdc2612b038ec188c8f5aaa6b7634c\"},\"withdraw_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x673edba0e0b864ca3eb458fdd45d55f6eced59bb5bdc3b1f3671fae0f9ea4e4d\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "stateKeyHash": "sj36uNjBXWXJieS4t0ZKkDQhUIgNqjO2LgqDnUtIyhQ=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "domains", + "name": "SetReverseLookupEventsV1" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::SetReverseLookupEventsV1", + "data": "{\"set_reverse_lookup_events\":{\"counter\":\"109530\",\"guid\":{\"id\":{\"addr\":\"0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c\",\"creation_num\":\"6\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xf04d6f00aa820b0662de65df585879539497c1f79718193d99db2de3d7cecd20", + "stateKeyHash": "dpyEnMXIxzrGQBey7wiHCOvXSHlnqu8O673oXjLWgn8=", + "type": { + "address": "0x1", + "module": "object", + "name": "ObjectCore" + }, + "typeStr": "0x1::object::ObjectCore", + "data": "{\"allow_ungated_transfer\":true,\"guid_creation_num\":\"1125899906842626\",\"owner\":\"0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7\",\"transfer_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0xf04d6f00aa820b0662de65df585879539497c1f79718193d99db2de3d7cecd20\",\"creation_num\":\"1125899906842624\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xf04d6f00aa820b0662de65df585879539497c1f79718193d99db2de3d7cecd20", + "stateKeyHash": "dpyEnMXIxzrGQBey7wiHCOvXSHlnqu8O673oXjLWgn8=", + "type": { + "address": "0x4", + "module": "token", + "name": "Token" + }, + "typeStr": "0x4::token::Token", + "data": "{\"collection\":{\"inner\":\"0x63d26a4e3a8aeececf9b878e46bad78997fb38e50936efeabb2c4453f4d7f746\"},\"description\":\"This is an official Aptos Labs Name Service Name\",\"index\":\"242\",\"mutation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xf04d6f00aa820b0662de65df585879539497c1f79718193d99db2de3d7cecd20\",\"creation_num\":\"1125899906842625\"}}},\"name\":\"guguru.apt\",\"uri\":\"https://www.aptosnames.com/api/mainnet/v2/metadata/guguru.apt\"}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xf04d6f00aa820b0662de65df585879539497c1f79718193d99db2de3d7cecd20", + "stateKeyHash": "dM2PYrnDkidDJRIJjPeycroAAIv5chBIX04LrHQLK/U=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "NameRecord" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::NameRecord", + "data": "{\"domain_name\":\"guguru\",\"expiration_time_sec\":\"1729186406\",\"extend_ref\":{\"self\":\"0xf04d6f00aa820b0662de65df585879539497c1f79718193d99db2de3d7cecd20\"},\"registration_time_sec\":\"1695703114\",\"target_address\":{\"vec\":[\"0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7\"]},\"transfer_ref\":{\"self\":\"0xf04d6f00aa820b0662de65df585879539497c1f79718193d99db2de3d7cecd20\"}}" + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "bkso1A+YoQamUWNTCSTA3LQME0nTqpFdEItNbPwd2xk=", + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "data": { + "key": "\"0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935\"", + "keyType": "address", + "value": "\"105701978080613442\"", + "valueType": "u128" + } + } + }, + { + "type": "TYPE_DELETE_TABLE_ITEM", + "deleteTableItem": { + "stateKeyHash": "UeRK+0B6CKMee7hBbpVBofwydQ+jSJ/XrIGSlWEjL0s=", + "handle": "0x1c03e426986f58abcd452520ade9e325948f5bd068f9292f0c705d78cf249a0e", + "key": "0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e19818380e4170746f73204e616d65732056310a6775677572752e6170740100000000000000", + "data": { + "key": "{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"guguru.apt\"}}", + "keyType": "0x3::token::TokenId" + } + } + }, + { + "type": "TYPE_DELETE_TABLE_ITEM", + "deleteTableItem": { + "stateKeyHash": "tWVOaCQxoh+QkVwGvguMFsjzNotZ7d/GFwHf1K3xRFw=", + "handle": "0x1d5f57aa505a2fa463b7a46341913b65757e3177c46a5e483a29d953627bee62", + "key": "0x000000007c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7", + "data": { + "key": "\"0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7\"", + "keyType": "address" + } + } + }, + { + "type": "TYPE_DELETE_TABLE_ITEM", + "deleteTableItem": { + "stateKeyHash": "mUDN4RaEm96EbRa6svMdjlF/BzrH4lUSkqFEyYdQgxc=", + "handle": "0x21a0fd41330f3a0a38173c7c0e4ac59cd51505f0594f64d3d637c12425c3c155", + "key": "0x0006677567757275", + "data": { + "key": "{\"domain_name\":\"guguru\",\"subdomain_name\":{\"vec\":[]}}", + "keyType": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::NameRecordKeyV1" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "C1lkr/sBxiAlQ6W9JkR1NId5dJq7khMGF1uU5ERxMwQ=", + "handle": "0x9fdd179360735701130d02f5573569a8cdfdc2612b038ec188c8f5aaa6b7634c", + "key": "0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e19818380e4170746f73204e616d65732056310a6775677572752e6170740100000000000000", + "data": { + "key": "{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"guguru.apt\"}}", + "keyType": "0x3::token::TokenId", + "value": "{\"amount\":\"1\",\"id\":{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"guguru.apt\"}},\"token_properties\":{\"map\":{\"data\":[{\"key\":\"type\",\"value\":{\"type\":\"0x1::string::String\",\"value\":\"0x06646f6d61696e\"}},{\"key\":\"creation_time_sec\",\"value\":{\"type\":\"u64\",\"value\":\"0x66e34e6300000000\"}},{\"key\":\"expiration_time_sec\",\"value\":{\"type\":\"u64\",\"value\":\"0xe616306500000000\"}}]}}}", + "valueType": "0x3::token::Token" + } + } + } + ] + }, + "epoch": "4191", + "blockHeight": "96498487", + "type": "TRANSACTION_TYPE_USER", + "sizeInfo": { + "transactionBytes": 234, + "eventSizeInfo": [ + { + "typeTagBytes": 54, + "totalBytes": 176 + }, + { + "typeTagBytes": 53, + "totalBytes": 175 + }, + { + "typeTagBytes": 55, + "totalBytes": 143 + }, + { + "typeTagBytes": 55, + "totalBytes": 199 + }, + { + "typeTagBytes": 65, + "totalBytes": 137 + }, + { + "typeTagBytes": 69, + "totalBytes": 166 + }, + { + "typeTagBytes": 69, + "totalBytes": 170 + }, + { + "typeTagBytes": 66, + "totalBytes": 123 + } + ], + "writeOpSizeInfo": [ + { + "keyBytes": 138, + "valueBytes": 105 + }, + { + "keyBytes": 84, + "valueBytes": 147 + }, + { + "keyBytes": 85, + "valueBytes": 225 + }, + { + "keyBytes": 95, + "valueBytes": 33 + }, + { + "keyBytes": 93, + "valueBytes": 462 + }, + { + "keyBytes": 87, + "valueBytes": 524 + }, + { + "keyBytes": 85, + "valueBytes": 225 + }, + { + "keyBytes": 101, + "valueBytes": 48 + }, + { + "keyBytes": 87, + "valueBytes": 399 + }, + { + "keyBytes": 93, + "valueBytes": 179 + }, + { + "keyBytes": 66, + "valueBytes": 16 + }, + { + "keyBytes": 100 + }, + { + "keyBytes": 66 + }, + { + "keyBytes": 42 + }, + { + "keyBytes": 100, + "valueBytes": 172 + } + ] + }, + "user": { + "request": { + "sender": "0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7", + "sequenceNumber": "27", + "maxGasAmount": "4586", + "gasUnitPrice": "100", + "expirationTimestampSecs": { + "seconds": "1695703203" + }, + "payload": { + "type": "TYPE_ENTRY_FUNCTION_PAYLOAD", + "entryFunctionPayload": { + "function": { + "module": { + "address": "0xf50e0bb52c52bd66b5f542f867418c63181f6d9eaa869008525beb553d97fb7d", + "name": "bulk" + }, + "name": "bulk_migrate_domain" + }, + "arguments": [ + "[\"guguru\"]" + ], + "entryFunctionIdStr": "0xf50e0bb52c52bd66b5f542f867418c63181f6d9eaa869008525beb553d97fb7d::bulk::bulk_migrate_domain" + } + }, + "signature": { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "E+D1P34LLxW7NeYnHQ0OwYg/t/y1nDUExI4vokKG1zc=", + "signature": "uEd/o0JOneju6bBbKCAnqQzUBEhawiOhdwyUhAc/At/A7nI2p2kGSp0LMclnLxo9qRzmXo3WlW4Z11PhaRqMCA==" + } + } + }, + "events": [ + { + "key": { + "creationNumber": "5", + "accountAddress": "0x000000007c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "WithdrawEvent" + } + }, + "typeStr": "0x3::token::WithdrawEvent", + "data": "{\"amount\":\"1\",\"id\":{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"guguru.apt\"}}}" + }, + { + "key": { + "creationNumber": "2", + "accountAddress": "0x673edba0e0b864ca3eb458fdd45d55f6eced59bb5bdc3b1f3671fae0f9ea4e4d" + }, + "sequenceNumber": "226", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "DepositEvent" + } + }, + "typeStr": "0x3::token::DepositEvent", + "data": "{\"amount\":\"1\",\"id\":{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"guguru.apt\"}}}" + }, + { + "key": { + "creationNumber": "1125899906842626", + "accountAddress": "0x63d26a4e3a8aeececf9b878e46bad78997fb38e50936efeabb2c4453f4d7f746" + }, + "sequenceNumber": "241", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x4", + "module": "collection", + "name": "MintEvent" + } + }, + "typeStr": "0x4::collection::MintEvent", + "data": "{\"index\":\"242\",\"token\":\"0xf04d6f00aa820b0662de65df585879539497c1f79718193d99db2de3d7cecd20\"}" + }, + { + "key": { + "creationNumber": "1125899906842624", + "accountAddress": "0xf04d6f00aa820b0662de65df585879539497c1f79718193d99db2de3d7cecd20" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "object", + "name": "TransferEvent" + } + }, + "typeStr": "0x1::object::TransferEvent", + "data": "{\"from\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"object\":\"0xf04d6f00aa820b0662de65df585879539497c1f79718193d99db2de3d7cecd20\",\"to\":\"0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7\"}" + }, + { + "key": { + "creationNumber": "5", + "accountAddress": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df" + }, + "sequenceNumber": "255", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "RegisterNameEvent" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::RegisterNameEvent", + "data": "{\"domain_name\":\"guguru\",\"expiration_time_secs\":\"1729186406\",\"registration_fee_octas\":\"0\",\"subdomain_name\":{\"vec\":[]}}" + }, + { + "key": { + "creationNumber": "4", + "accountAddress": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df" + }, + "sequenceNumber": "283", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetTargetAddressEvent" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetTargetAddressEvent", + "data": "{\"domain_name\":\"guguru\",\"expiration_time_secs\":\"1729186406\",\"new_address\":{\"vec\":[\"0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7\"]},\"subdomain_name\":{\"vec\":[]}}" + }, + { + "key": { + "creationNumber": "7", + "accountAddress": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df" + }, + "sequenceNumber": "90", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetReverseLookupEvent" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetReverseLookupEvent", + "data": "{\"account_addr\":\"0x7c9f6724cfc3ead36713389148bbeb48a310dacd43a767b52ada4be7\",\"curr_domain_name\":{\"vec\":[\"guguru\"]},\"curr_expiration_time_secs\":{\"vec\":[\"1729186406\"]},\"curr_subdomain_name\":{\"vec\":[]},\"prev_domain_name\":{\"vec\":[]},\"prev_expiration_time_secs\":{\"vec\":[]},\"prev_subdomain_name\":{\"vec\":[]}}" + }, + { + "key": { + "creationNumber": "6", + "accountAddress": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c" + }, + "sequenceNumber": "109529", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "domains", + "name": "SetReverseLookupEventV1" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::SetReverseLookupEventV1", + "data": "{\"domain_name\":\"guguru\",\"subdomain_name\":{\"vec\":[]},\"target_address\":{\"vec\":[]}}" + } + ] + } +} \ No newline at end of file diff --git a/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/303690531_ans_lookup_v2.json b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/303690531_ans_lookup_v2.json new file mode 100644 index 0000000000000..57ba3a527d0dc --- /dev/null +++ b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/303690531_ans_lookup_v2.json @@ -0,0 +1,340 @@ +{ + "timestamp": { + "seconds": "1697740582", + "nanos": 12595000 + }, + "version": "303690531", + "info": { + "hash": "ryZvpJ/uGDGGKrzTGc5C1t/ebYPFCB+fm9ahVbKpFvY=", + "stateChangeHash": "9yCM0ISuVxw9oi2gxuahATqQ4eJQ7LsJI7XFlB6+WGI=", + "eventRootHash": "F+uEb7t89EIDvYW9+DUMnKPR8ga5LIcLmHR++Q8mt0A=", + "gasUsed": "677", + "success": true, + "vmStatus": "Executed successfully", + "accumulatorRootHash": "PcHrzWvCf9sWvz/zrc9zvy6Ak9BXmULkbQ9/L4VgdcA=", + "changes": [ + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xa15d013a384df3334c97227851089b88794cf047a05503a1129187a101f898a", + "stateKeyHash": "6aSHowCbruROFVZYIiT5EGXIoMOqoIpnLYRpjXnBKdo=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "NameRecord" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::NameRecord", + "data": "{\"domain_name\":\"pepapati\",\"expiration_time_sec\":\"1723309056\",\"extend_ref\":{\"self\":\"0xa15d013a384df3334c97227851089b88794cf047a05503a1129187a101f898a\"},\"registration_time_sec\":\"1697740474\",\"target_address\":{\"vec\":[\"0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493\"]},\"transfer_ref\":{\"self\":\"0xa15d013a384df3334c97227851089b88794cf047a05503a1129187a101f898a\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "RegisterNameEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::RegisterNameEvents", + "data": "{\"register_name_events\":{\"counter\":\"36542\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"5\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "RenewNameEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::RenewNameEvents", + "data": "{\"renew_name_events\":{\"counter\":\"26\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"6\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetReverseLookupEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetReverseLookupEvents", + "data": "{\"set_reverse_lookup_events\":{\"counter\":\"21514\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"7\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetTargetAddressEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetTargetAddressEvents", + "data": "{\"set_name_events\":{\"counter\":\"42528\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"4\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "stateKeyHash": "sj36uNjBXWXJieS4t0ZKkDQhUIgNqjO2LgqDnUtIyhQ=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "domains", + "name": "SetReverseLookupEventsV1" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::SetReverseLookupEventsV1", + "data": "{\"set_reverse_lookup_events\":{\"counter\":\"120996\",\"guid\":{\"id\":{\"addr\":\"0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c\",\"creation_num\":\"6\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493", + "stateKeyHash": "ahl0muaQJ8jzmtxJ9KehBU9RpGAgCRw5awlhUUJTlfA=", + "type": { + "address": "0x1", + "module": "coin", + "name": "CoinStore", + "genericTypeParams": [ + { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "aptos_coin", + "name": "AptosCoin" + } + } + ] + }, + "typeStr": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>", + "data": "{\"coin\":{\"value\":\"121064318\"},\"deposit_events\":{\"counter\":\"13\",\"guid\":{\"id\":{\"addr\":\"0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"10\",\"guid\":{\"id\":{\"addr\":\"0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493", + "stateKeyHash": "VP1Ka6IdaTMRLpJfgOx8S//5Ydu1nS4uQxQe/H5fC1A=", + "type": { + "address": "0x1", + "module": "account", + "name": "Account" + }, + "typeStr": "0x1::account::Account", + "data": "{\"authentication_key\":\"0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493\",\"coin_register_events\":{\"counter\":\"11\",\"guid\":{\"id\":{\"addr\":\"0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"37\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"35\",\"signer_capability_offer\":{\"for\":{\"vec\":[]}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493", + "stateKeyHash": "VjfAJip4NISGb51pfOHVYOKehEvZuigZD6a1cECuOPE=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "ReverseRecord" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::ReverseRecord", + "data": "{\"token_addr\":{\"vec\":[\"0xa15d013a384df3334c97227851089b88794cf047a05503a1129187a101f898a\"]}}" + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "bkso1A+YoQamUWNTCSTA3LQME0nTqpFdEItNbPwd2xk=", + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "data": { + "key": "\"0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935\"", + "keyType": "address", + "value": "\"106102627722374012\"", + "valueType": "u128" + } + } + }, + { + "type": "TYPE_DELETE_TABLE_ITEM", + "deleteTableItem": { + "stateKeyHash": "2b1UvHyn4l+Q8LOU3OyZYLZSfzloBcAa7YZZWKtyObQ=", + "handle": "0x1d5f57aa505a2fa463b7a46341913b65757e3177c46a5e483a29d953627bee62", + "key": "0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493", + "data": { + "key": "\"0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493\"", + "keyType": "address" + } + } + } + ] + }, + "epoch": "4479", + "blockHeight": "104789939", + "type": "TRANSACTION_TYPE_USER", + "sizeInfo": { + "transactionBytes": 236, + "eventSizeInfo": [ + { + "typeTagBytes": 66, + "totalBytes": 129 + }, + { + "typeTagBytes": 69, + "totalBytes": 168 + }, + { + "typeTagBytes": 69, + "totalBytes": 172 + }, + { + "typeTagBytes": 63, + "totalBytes": 103 + } + ], + "writeOpSizeInfo": [ + { + "keyBytes": 93, + "valueBytes": 181 + }, + { + "keyBytes": 93, + "valueBytes": 462 + }, + { + "keyBytes": 101, + "valueBytes": 48 + }, + { + "keyBytes": 138, + "valueBytes": 105 + }, + { + "keyBytes": 84, + "valueBytes": 147 + }, + { + "keyBytes": 95, + "valueBytes": 33 + }, + { + "keyBytes": 66, + "valueBytes": 16 + }, + { + "keyBytes": 66 + } + ] + }, + "user": { + "request": { + "sender": "0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493", + "sequenceNumber": "34", + "maxGasAmount": "1354", + "gasUnitPrice": "100", + "expirationTimestampSecs": { + "seconds": "1697740637" + }, + "payload": { + "type": "TYPE_ENTRY_FUNCTION_PAYLOAD", + "entryFunctionPayload": { + "function": { + "module": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "name": "router" + }, + "name": "set_primary_name" + }, + "arguments": [ + "\"pepapati\"", + "{\"vec\":[]}" + ], + "entryFunctionIdStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::router::set_primary_name" + } + }, + "signature": { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "SD6qRgrKCJYTbU6AkMWsKXXkYUFXyQtBjWnV2CZK3bY=", + "signature": "PBj0RBq+UWnW/HI2Zqg56WPj7xDgrxfPInBb8Id2KBphAy+sQLajDKlp8pppiw+g63RLVgTBp3yMiueAKac/DQ==" + } + } + }, + "events": [ + { + "key": { + "creationNumber": "6", + "accountAddress": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c" + }, + "sequenceNumber": "120995", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "domains", + "name": "SetReverseLookupEventV1" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::SetReverseLookupEventV1", + "data": "{\"domain_name\":\"pepapati\",\"subdomain_name\":{\"vec\":[\"gem\"]},\"target_address\":{\"vec\":[]}}" + }, + { + "key": { + "creationNumber": "4", + "accountAddress": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df" + }, + "sequenceNumber": "42527", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetTargetAddressEvent" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetTargetAddressEvent", + "data": "{\"domain_name\":\"pepapati\",\"expiration_time_secs\":\"1723309056\",\"new_address\":{\"vec\":[\"0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493\"]},\"subdomain_name\":{\"vec\":[]}}" + }, + { + "key": { + "creationNumber": "7", + "accountAddress": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df" + }, + "sequenceNumber": "21513", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetReverseLookupEvent" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetReverseLookupEvent", + "data": "{\"account_addr\":\"0xb879a253da5c2887155600f61a5a3b7b827588f7b3c486b807975fc663ca5493\",\"curr_domain_name\":{\"vec\":[\"pepapati\"]},\"curr_expiration_time_secs\":{\"vec\":[\"1723309056\"]},\"curr_subdomain_name\":{\"vec\":[]},\"prev_domain_name\":{\"vec\":[]},\"prev_expiration_time_secs\":{\"vec\":[]},\"prev_subdomain_name\":{\"vec\":[]}}" + }, + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "transaction_fee", + "name": "FeeStatement" + } + }, + "typeStr": "0x1::transaction_fee::FeeStatement", + "data": "{\"execution_gas_units\":\"172\",\"io_gas_units\":\"5\",\"storage_fee_octas\":\"50000\",\"storage_fee_refund_octas\":\"0\",\"total_charge_gas_units\":\"677\"}" + } + ] + } +} \ No newline at end of file diff --git a/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/438536688_ans_current_ans_lookup_v2.json b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/438536688_ans_current_ans_lookup_v2.json new file mode 100644 index 0000000000000..fb1b416a7cedb --- /dev/null +++ b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/438536688_ans_current_ans_lookup_v2.json @@ -0,0 +1,286 @@ +{ + "timestamp": { + "seconds": "1707231780", + "nanos": 300559000 + }, + "version": "438536688", + "info": { + "hash": "NGSWLyq3eqgJ7EBJvHbBxaqo4aguNPZDoaqKE4a7dq0=", + "stateChangeHash": "qJidirP0QK3l2RccdqaEp5wGxLi0tsMnQUFlRKIlqOY=", + "eventRootHash": "n0cVoZKngC+xENBfQbvcJJUkQmJcKrFfBFWZRo9oQ1Y=", + "gasUsed": "36", + "success": true, + "vmStatus": "Executed successfully", + "accumulatorRootHash": "GoiTlY2CGLBX+TlraKgUojOwJAJbnpae+UFTp7ZkNjs=", + "changes": [ + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "RegisterNameEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::RegisterNameEvents", + "data": "{\"register_name_events\":{\"counter\":\"214724\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"5\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "RenewNameEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::RenewNameEvents", + "data": "{\"renew_name_events\":{\"counter\":\"254\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"6\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetReverseLookupEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetReverseLookupEvents", + "data": "{\"set_reverse_lookup_events\":{\"counter\":\"135779\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"7\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df", + "stateKeyHash": "ov6i4wX5Z/3XfMmokikYDOT1v9dAzedpOFklzOtE+sk=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetTargetAddressEvents" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetTargetAddressEvents", + "data": "{\"set_name_events\":{\"counter\":\"329690\",\"guid\":{\"id\":{\"addr\":\"0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df\",\"creation_num\":\"4\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x761e4e45d8c6d56fb9fab4ebd865ce4a3dfe3a7bea3956158b4be07f268bcff5", + "stateKeyHash": "9rIJ1eV2rR++fvi1e5+Z9sVtV+2FKlAKD2hJ8gczgKs=", + "type": { + "address": "0x1", + "module": "coin", + "name": "CoinStore", + "genericTypeParams": [ + { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "aptos_coin", + "name": "AptosCoin" + } + } + ] + }, + "typeStr": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>", + "data": "{\"coin\":{\"value\":\"272668498\"},\"deposit_events\":{\"counter\":\"3105\",\"guid\":{\"id\":{\"addr\":\"0x761e4e45d8c6d56fb9fab4ebd865ce4a3dfe3a7bea3956158b4be07f268bcff5\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"4468\",\"guid\":{\"id\":{\"addr\":\"0x761e4e45d8c6d56fb9fab4ebd865ce4a3dfe3a7bea3956158b4be07f268bcff5\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x761e4e45d8c6d56fb9fab4ebd865ce4a3dfe3a7bea3956158b4be07f268bcff5", + "stateKeyHash": "+HkBlpVOsKoAwVRJsTMhoz5dUmpdm9fUXWZu8d3p7n0=", + "type": { + "address": "0x1", + "module": "account", + "name": "Account" + }, + "typeStr": "0x1::account::Account", + "data": "{\"authentication_key\":\"0x761e4e45d8c6d56fb9fab4ebd865ce4a3dfe3a7bea3956158b4be07f268bcff5\",\"coin_register_events\":{\"counter\":\"7\",\"guid\":{\"id\":{\"addr\":\"0x761e4e45d8c6d56fb9fab4ebd865ce4a3dfe3a7bea3956158b4be07f268bcff5\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"124\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x761e4e45d8c6d56fb9fab4ebd865ce4a3dfe3a7bea3956158b4be07f268bcff5\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"14103\",\"signer_capability_offer\":{\"for\":{\"vec\":[]}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x761e4e45d8c6d56fb9fab4ebd865ce4a3dfe3a7bea3956158b4be07f268bcff5", + "stateKeyHash": "hC9ozB01r2ws8x9JWonvUo6InrooIfzdg3Yu37mvJXs=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "ReverseRecord" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::ReverseRecord", + "data": "{\"token_addr\":{\"vec\":[\"0xa5fdd9fec3d91c870c60094acfebc2fdd9f6c6bc2f7a36989b1d01f08015ee7d\"]}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xa5fdd9fec3d91c870c60094acfebc2fdd9f6c6bc2f7a36989b1d01f08015ee7d", + "stateKeyHash": "Sk9W0opTgvuwklHjD8EtTDJ75Gw5r371+HWyCkA9EQA=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "NameRecord" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::NameRecord", + "data": "{\"domain_name\":\"003\",\"expiration_time_sec\":\"1732023100\",\"extend_ref\":{\"self\":\"0xa5fdd9fec3d91c870c60094acfebc2fdd9f6c6bc2f7a36989b1d01f08015ee7d\"},\"registration_time_sec\":\"1700487100\",\"target_address\":{\"vec\":[\"0x761e4e45d8c6d56fb9fab4ebd865ce4a3dfe3a7bea3956158b4be07f268bcff5\"]},\"transfer_ref\":{\"self\":\"0xa5fdd9fec3d91c870c60094acfebc2fdd9f6c6bc2f7a36989b1d01f08015ee7d\"}}" + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "bkso1A+YoQamUWNTCSTA3LQME0nTqpFdEItNbPwd2xk=", + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "data": { + "key": "\"0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935\"", + "keyType": "address", + "value": "\"107968874667611923\"", + "valueType": "u128" + } + } + } + ] + }, + "epoch": "5806", + "blockHeight": "142700986", + "type": "TRANSACTION_TYPE_USER", + "sizeInfo": { + "transactionBytes": 231, + "eventSizeInfo": [ + { + "typeTagBytes": 69, + "totalBytes": 163 + }, + { + "typeTagBytes": 69, + "totalBytes": 182 + }, + { + "typeTagBytes": 63, + "totalBytes": 103 + } + ], + "writeOpSizeInfo": [ + { + "keyBytes": 93, + "valueBytes": 462 + }, + { + "keyBytes": 138, + "valueBytes": 105 + }, + { + "keyBytes": 84, + "valueBytes": 147 + }, + { + "keyBytes": 95, + "valueBytes": 33 + }, + { + "keyBytes": 93, + "valueBytes": 176 + }, + { + "keyBytes": 66, + "valueBytes": 16 + } + ] + }, + "user": { + "request": { + "sender": "0x761e4e45d8c6d56fb9fab4ebd865ce4a3dfe3a7bea3956158b4be07f268bcff5", + "sequenceNumber": "14102", + "maxGasAmount": "72", + "gasUnitPrice": "100", + "expirationTimestampSecs": { + "seconds": "1707231835" + }, + "payload": { + "type": "TYPE_ENTRY_FUNCTION_PAYLOAD", + "entryFunctionPayload": { + "function": { + "module": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "name": "router" + }, + "name": "set_primary_name" + }, + "arguments": [ + "\"003\"", + "{\"vec\":[]}" + ], + "entryFunctionIdStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::router::set_primary_name" + } + }, + "signature": { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "b1jRfEmwCBx8Vf64KEmWyZx81FJHQvIMmYfZ1wQrYX8=", + "signature": "dhIvt4695QBwN26yz/akZ83IeVynzCLLkhNtyXPmD8QKGYjcDpYVwVyV7lNt+xQYIRZYNWj7rclx6tdC2VNqCQ==" + } + } + }, + "events": [ + { + "key": { + "creationNumber": "4", + "accountAddress": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df" + }, + "sequenceNumber": "329689", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetTargetAddressEvent" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetTargetAddressEvent", + "data": "{\"domain_name\":\"003\",\"expiration_time_secs\":\"1732023100\",\"new_address\":{\"vec\":[\"0x761e4e45d8c6d56fb9fab4ebd865ce4a3dfe3a7bea3956158b4be07f268bcff5\"]},\"subdomain_name\":{\"vec\":[]}}" + }, + { + "key": { + "creationNumber": "7", + "accountAddress": "0x14464c04472a91941854ba9ffc48691e071874a1bcb51b89ff15afa5f80b76df" + }, + "sequenceNumber": "135778", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "v2_1_domains", + "name": "SetReverseLookupEvent" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::v2_1_domains::SetReverseLookupEvent", + "data": "{\"account_addr\":\"0x761e4e45d8c6d56fb9fab4ebd865ce4a3dfe3a7bea3956158b4be07f268bcff5\",\"curr_domain_name\":{\"vec\":[\"003\"]},\"curr_expiration_time_secs\":{\"vec\":[\"1732023100\"]},\"curr_subdomain_name\":{\"vec\":[]},\"prev_domain_name\":{\"vec\":[\"666066\"]},\"prev_expiration_time_secs\":{\"vec\":[\"1719096372\"]},\"prev_subdomain_name\":{\"vec\":[]}}" + }, + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "transaction_fee", + "name": "FeeStatement" + } + }, + "typeStr": "0x1::transaction_fee::FeeStatement", + "data": "{\"execution_gas_units\":\"27\",\"io_gas_units\":\"9\",\"storage_fee_octas\":\"0\",\"storage_fee_refund_octas\":\"0\",\"total_charge_gas_units\":\"36\"}" + } + ] + } +} \ No newline at end of file diff --git a/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/92331132_ans_primary_name.json b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/92331132_ans_primary_name.json new file mode 100644 index 0000000000000..c5566021dcb4d --- /dev/null +++ b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/92331132_ans_primary_name.json @@ -0,0 +1,299 @@ +{ + "timestamp": { + "seconds": "1677175225", + "nanos": 161699000 + }, + "version": "92331132", + "info": { + "hash": "3p526hoyFmd7YbjuXcNApB896m672foseZNwimfAM9M=", + "stateChangeHash": "DpL14PHgQZbvM6nnj9YiF9MsWs7x6Z1tDYQooeuEMCY=", + "eventRootHash": "oR5nxMGuUX8BHf6ZIzZRJLip4FjIHYX09LCPx3NhCDg=", + "gasUsed": "6403", + "success": true, + "vmStatus": "Executed successfully", + "accumulatorRootHash": "rL7vMUua78UuyYREnHB6jvchYse2pV7mQb5yg7C9Wmc=", + "changes": [ + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "stateKeyHash": "q4Wci+JMAePdRidB+XcB9eieDZ0/LA5Awh7i8qY+ekI=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "domains", + "name": "SetNameAddressEventsV1" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::SetNameAddressEventsV1", + "data": "{\"set_name_events\":{\"counter\":\"30007\",\"guid\":{\"id\":{\"addr\":\"0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c\",\"creation_num\":\"4\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "stateKeyHash": "sj36uNjBXWXJieS4t0ZKkDQhUIgNqjO2LgqDnUtIyhQ=", + "type": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "domains", + "name": "SetReverseLookupEventsV1" + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::SetReverseLookupEventsV1", + "data": "{\"set_reverse_lookup_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c\",\"creation_num\":\"6\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41", + "stateKeyHash": "Av40LJkn6KV7YPRIi6Fg8pkgRK0n5X1vHk/USouVVOQ=", + "type": { + "address": "0x1", + "module": "coin", + "name": "CoinStore", + "genericTypeParams": [ + { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "aptos_coin", + "name": "AptosCoin" + } + } + ] + }, + "typeStr": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>", + "data": "{\"coin\":{\"value\":\"6043294736\"},\"deposit_events\":{\"counter\":\"9\",\"guid\":{\"id\":{\"addr\":\"0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"16\",\"guid\":{\"id\":{\"addr\":\"0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41", + "stateKeyHash": "32re4D0TTgpA4b7Ob7z3JRje3NhS6eVzY0ay6WxkwBg=", + "type": { + "address": "0x1", + "module": "account", + "name": "Account" + }, + "typeStr": "0x1::account::Account", + "data": "{\"authentication_key\":\"0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41\",\"coin_register_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"9\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"21\",\"signer_capability_offer\":{\"for\":{\"vec\":[]}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41", + "stateKeyHash": "+mB27IuoeoRSdFxGTKzw4Mx1AW9Shx+LlTBHEepyDvc=", + "type": { + "address": "0x3", + "module": "token", + "name": "TokenStore" + }, + "typeStr": "0x3::token::TokenStore", + "data": "{\"burn_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41\",\"creation_num\":\"6\"}}},\"deposit_events\":{\"counter\":\"16\",\"guid\":{\"id\":{\"addr\":\"0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41\",\"creation_num\":\"4\"}}},\"direct_transfer\":true,\"mutate_token_property_events\":{\"counter\":\"5\",\"guid\":{\"id\":{\"addr\":\"0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41\",\"creation_num\":\"7\"}}},\"tokens\":{\"handle\":\"0x4f59fbe8917d06d223836156a314a62ee5cb83a553eefab08e302bfbb870ccae\"},\"withdraw_events\":{\"counter\":\"2\",\"guid\":{\"id\":{\"addr\":\"0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41\",\"creation_num\":\"5\"}}}}" + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "bkso1A+YoQamUWNTCSTA3LQME0nTqpFdEItNbPwd2xk=", + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "data": { + "key": "\"0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935\"", + "keyType": "address", + "value": "\"102128958197159981\"", + "valueType": "u128" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "8m5IP6/LL5vVjOFhkTQ0IBueD9L4+poC+AUwn/qvb+0=", + "handle": "0x1d5f57aa505a2fa463b7a46341913b65757e3177c46a5e483a29d953627bee62", + "key": "0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41", + "data": { + "key": "\"0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41\"", + "keyType": "address", + "value": "{\"domain_name\":\"zihanxx\",\"subdomain_name\":{\"vec\":[]}}", + "valueType": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::NameRecordKeyV1" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "OnrZk0xT062935mUf9hCMpw92AuZsYZzd5dVsJLmH3E=", + "handle": "0x21a0fd41330f3a0a38173c7c0e4ac59cd51505f0594f64d3d637c12425c3c155", + "key": "0x00077a6968616e7878", + "data": { + "key": "{\"domain_name\":\"zihanxx\",\"subdomain_name\":{\"vec\":[]}}", + "keyType": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::NameRecordKeyV1", + "value": "{\"expiration_time_sec\":\"1697761575\",\"property_version\":\"1\",\"target_address\":{\"vec\":[\"0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41\"]}}", + "valueType": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::NameRecordV1" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "cxoSQyEnDhrvr5dB+ndWCshmt6uuMNIKlaRoGyUj7HA=", + "handle": "0x4f59fbe8917d06d223836156a314a62ee5cb83a553eefab08e302bfbb870ccae", + "key": "0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e19818380e4170746f73204e616d65732056310b7a6968616e78782e6170740100000000000000", + "data": { + "key": "{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"zihanxx.apt\"}}", + "keyType": "0x3::token::TokenId", + "value": "{\"amount\":\"1\",\"id\":{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"zihanxx.apt\"}},\"token_properties\":{\"map\":{\"data\":[{\"key\":\"type\",\"value\":{\"type\":\"0x1::string::String\",\"value\":\"0x06646f6d61696e\"}},{\"key\":\"creation_time_sec\",\"value\":{\"type\":\"u64\",\"value\":\"0xa795506300000000\"}},{\"key\":\"expiration_time_sec\",\"value\":{\"type\":\"u64\",\"value\":\"0x27c9316500000000\"}}]}}}", + "valueType": "0x3::token::Token" + } + } + } + ] + }, + "epoch": "1609", + "blockHeight": "34965221", + "type": "TRANSACTION_TYPE_USER", + "sizeInfo": { + "transactionBytes": 244, + "eventSizeInfo": [ + { + "typeTagBytes": 64, + "totalBytes": 170 + }, + { + "typeTagBytes": 68, + "totalBytes": 319 + }, + { + "typeTagBytes": 66, + "totalBytes": 156 + } + ], + "writeOpSizeInfo": [ + { + "keyBytes": 99, + "valueBytes": 48 + }, + { + "keyBytes": 101, + "valueBytes": 48 + }, + { + "keyBytes": 138, + "valueBytes": 105 + }, + { + "keyBytes": 84, + "valueBytes": 147 + }, + { + "keyBytes": 85, + "valueBytes": 225 + }, + { + "keyBytes": 66, + "valueBytes": 16 + }, + { + "keyBytes": 66, + "valueBytes": 9 + }, + { + "keyBytes": 43, + "valueBytes": 49 + }, + { + "keyBytes": 101, + "valueBytes": 173 + } + ] + }, + "user": { + "request": { + "sender": "0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41", + "sequenceNumber": "20", + "maxGasAmount": "12746", + "gasUnitPrice": "100", + "expirationTimestampSecs": { + "seconds": "1677175284" + }, + "payload": { + "type": "TYPE_ENTRY_FUNCTION_PAYLOAD", + "entryFunctionPayload": { + "function": { + "module": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "name": "domains" + }, + "name": "set_reverse_lookup_entry" + }, + "arguments": [ + "\"\"", + "\"zihanxx\"" + ], + "entryFunctionIdStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::set_reverse_lookup_entry" + } + }, + "signature": { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "FUI0dtsKyBysZGUPHrEEhF7frRD1nsb8BypG5/PUam0=", + "signature": "jwFHdEa4IaRWNfWpgAiMV0SHW4b3nn0Ffkmxk/1sXblpb2yhbydokCK/0YD/gecDRpi3e/+VsvCOUQRPoYH6Bw==" + } + } + }, + "events": [ + { + "key": { + "creationNumber": "4", + "accountAddress": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c" + }, + "sequenceNumber": "30006", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "domains", + "name": "SetNameAddressEventV1" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::SetNameAddressEventV1", + "data": "{\"domain_name\":\"zihanxx\",\"expiration_time_secs\":\"1697761575\",\"new_address\":{\"vec\":[\"0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41\"]},\"property_version\":\"1\",\"subdomain_name\":{\"vec\":[]}}" + }, + { + "key": { + "creationNumber": "7", + "accountAddress": "0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41" + }, + "sequenceNumber": "4", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "MutateTokenPropertyMapEvent" + } + }, + "typeStr": "0x3::token::MutateTokenPropertyMapEvent", + "data": "{\"keys\":[\"type\",\"expiration_time_sec\"],\"new_id\":{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"zihanxx.apt\"}},\"old_id\":{\"property_version\":\"1\",\"token_data_id\":{\"collection\":\"Aptos Names V1\",\"creator\":\"0x305a97874974fdb9a7ba59dc7cab7714c8e8e00004ac887b6e348496e1981838\",\"name\":\"zihanxx.apt\"}},\"types\":[\"0x1::string::String\",\"u64\"],\"values\":[\"0x06646f6d61696e\",\"0x27c9316500000000\"]}" + }, + { + "key": { + "creationNumber": "6", + "accountAddress": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c", + "module": "domains", + "name": "SetReverseLookupEventV1" + } + }, + "typeStr": "0x867ed1f6bf916171b1de3ee92849b8978b7d1b9e0a8cc982a3d19d535dfd9c0c::domains::SetReverseLookupEventV1", + "data": "{\"domain_name\":\"zihanxx\",\"subdomain_name\":{\"vec\":[]},\"target_address\":{\"vec\":[\"0xa86a4f2516626b2538c2dbc9d4bc19d93d19c86fe14e5b4517937b18f7535d41\"]}}" + } + ] + } +} \ No newline at end of file diff --git a/ecosystem/indexer-grpc/indexer-transaction-generator/imported_transactions/imported_transactions.yaml b/ecosystem/indexer-grpc/indexer-transaction-generator/imported_transactions/imported_transactions.yaml index 3f4864147ee41..9b32bb08222ab 100644 --- a/ecosystem/indexer-grpc/indexer-transaction-generator/imported_transactions/imported_transactions.yaml +++ b/ecosystem/indexer-grpc/indexer-transaction-generator/imported_transactions/imported_transactions.yaml @@ -1,24 +1,24 @@ -testnet: - # Transaction Stream endpoint addresss. - transaction_stream_endpoint: https://grpc.testnet.aptoslabs.com:443 - # (Optional) The key to use with developers.aptoslabs.com - api_key: TESTNET_API_KEY - # A map from versions to dump and their output names. - versions_to_import: - # naming: - 1: 1_genesis - 2: 2_new_block_event - 3: 3_empty_txn - 278556781: 278556781_v1_coin_register_fa_metadata - 1255836496: 1255836496_v2_fa_metadata_ - 5979639459: 5979639459_coin_register - 5992795934: 5992795934_fa_activities - 5523474016: 5523474016_validator_txn +# testnet: +# # Transaction Stream endpoint addresss. +# transaction_stream_endpoint: https://grpc.testnet.aptoslabs.com:443 +# # (Optional) The key to use with developers.aptoslabs.com +# api_key: TESTNET_API_KEY +# # A map from versions to dump and their output names. +# versions_to_import: +# # naming: +# 1: 1_genesis +# 2: 2_new_block_event +# 3: 3_empty_txn +# 278556781: 278556781_v1_coin_register_fa_metadata +# 1255836496: 1255836496_v2_fa_metadata_ +# 5979639459: 5979639459_coin_register +# 5992795934: 5992795934_fa_activities +# 5523474016: 5523474016_validator_txn mainnet: transaction_stream_endpoint: https://grpc.mainnet.aptoslabs.com:443 - api_key: MAINNET_API_KEY + api_key: aptoslabs_hxr2RZXYUSR_GH15n92wXVvCh4rxZYMKuWJ35wgMhHkMS versions_to_import: 308783012: 308783012_fa_transfer 1058723093: 1058723093_token_v1_mint_withdraw_deposit_events @@ -39,3 +39,10 @@ mainnet: 513424821: 513424821_default_block_metadata_transactions 155112189: 155112189_default_table_items 145959468: 145959468_account_transaction + 2739163: 2739163_ans_current_ans_lookup + 214433968: 214433968_ans_lookup + 275584410: 275584410_ans_current_ans_primary_name + 92331132: 92331132_ans_primary_name + 438536688: 438536688_ans_current_ans_lookup_v2 + 303690531: 303690531_ans_lookup_v2 + 1056780409: 1056780409_ans_current_ans_primary_name_v2 From 934004405dfe180c04d9e3d2a4a953217fc8561c Mon Sep 17 00:00:00 2001 From: dermanyang Date: Fri, 1 Nov 2024 15:28:02 -0700 Subject: [PATCH 2/3] formatting --- .../imported_transactions.yaml | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/ecosystem/indexer-grpc/indexer-transaction-generator/imported_transactions/imported_transactions.yaml b/ecosystem/indexer-grpc/indexer-transaction-generator/imported_transactions/imported_transactions.yaml index 9b32bb08222ab..5b4c333459b4c 100644 --- a/ecosystem/indexer-grpc/indexer-transaction-generator/imported_transactions/imported_transactions.yaml +++ b/ecosystem/indexer-grpc/indexer-transaction-generator/imported_transactions/imported_transactions.yaml @@ -1,24 +1,24 @@ -# testnet: -# # Transaction Stream endpoint addresss. -# transaction_stream_endpoint: https://grpc.testnet.aptoslabs.com:443 -# # (Optional) The key to use with developers.aptoslabs.com -# api_key: TESTNET_API_KEY -# # A map from versions to dump and their output names. -# versions_to_import: -# # naming: -# 1: 1_genesis -# 2: 2_new_block_event -# 3: 3_empty_txn -# 278556781: 278556781_v1_coin_register_fa_metadata -# 1255836496: 1255836496_v2_fa_metadata_ -# 5979639459: 5979639459_coin_register -# 5992795934: 5992795934_fa_activities -# 5523474016: 5523474016_validator_txn +testnet: + # Transaction Stream endpoint addresss. + transaction_stream_endpoint: https://grpc.testnet.aptoslabs.com:443 + # (Optional) The key to use with developers.aptoslabs.com + api_key: TESTNET_API_KEY + # A map from versions to dump and their output names. + versions_to_import: + # naming: + 1: 1_genesis + 2: 2_new_block_event + 3: 3_empty_txn + 278556781: 278556781_v1_coin_register_fa_metadata + 1255836496: 1255836496_v2_fa_metadata_ + 5979639459: 5979639459_coin_register + 5992795934: 5992795934_fa_activities + 5523474016: 5523474016_validator_txn mainnet: transaction_stream_endpoint: https://grpc.mainnet.aptoslabs.com:443 - api_key: aptoslabs_hxr2RZXYUSR_GH15n92wXVvCh4rxZYMKuWJ35wgMhHkMS + api_key: MAINNET_API_KEY versions_to_import: 308783012: 308783012_fa_transfer 1058723093: 1058723093_token_v1_mint_withdraw_deposit_events From 946c79cbb3c245478366b95bd2bdb8aa30fd251f Mon Sep 17 00:00:00 2001 From: dermanyang Date: Mon, 4 Nov 2024 08:51:38 -0800 Subject: [PATCH 3/3] remove unneeded txns --- .../imported_transactions/imported_transactions.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ecosystem/indexer-grpc/indexer-transaction-generator/imported_transactions/imported_transactions.yaml b/ecosystem/indexer-grpc/indexer-transaction-generator/imported_transactions/imported_transactions.yaml index 5b4c333459b4c..171b42ef8a8b4 100644 --- a/ecosystem/indexer-grpc/indexer-transaction-generator/imported_transactions/imported_transactions.yaml +++ b/ecosystem/indexer-grpc/indexer-transaction-generator/imported_transactions/imported_transactions.yaml @@ -39,10 +39,6 @@ mainnet: 513424821: 513424821_default_block_metadata_transactions 155112189: 155112189_default_table_items 145959468: 145959468_account_transaction - 2739163: 2739163_ans_current_ans_lookup - 214433968: 214433968_ans_lookup - 275584410: 275584410_ans_current_ans_primary_name - 92331132: 92331132_ans_primary_name 438536688: 438536688_ans_current_ans_lookup_v2 303690531: 303690531_ans_lookup_v2 1056780409: 1056780409_ans_current_ans_primary_name_v2