From 71c9ae1fb16133e2225c831046f905399aad16d8 Mon Sep 17 00:00:00 2001 From: Aaron Gao Date: Mon, 2 Dec 2024 14:46:52 -0600 Subject: [PATCH] add 3 devnet txn with module events migrated --- ...78753811_coin_transfer_with_v2_events.json | 224 ++++++++++++ ...token_v1_mint_transfer_with_v2_events.json | 296 +++++++++++++++ ...token_v2_mint_transfer_with_v2_events.json | 338 ++++++++++++++++++ 3 files changed, 858 insertions(+) create mode 100644 ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_devnet_txns/78753811_coin_transfer_with_v2_events.json create mode 100644 ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_devnet_txns/78753831_token_v1_mint_transfer_with_v2_events.json create mode 100644 ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_devnet_txns/78753832_token_v2_mint_transfer_with_v2_events.json diff --git a/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_devnet_txns/78753811_coin_transfer_with_v2_events.json b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_devnet_txns/78753811_coin_transfer_with_v2_events.json new file mode 100644 index 0000000000000..da8144a60cee1 --- /dev/null +++ b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_devnet_txns/78753811_coin_transfer_with_v2_events.json @@ -0,0 +1,224 @@ +{ + "timestamp": { + "seconds": "1733169023", + "nanos": 607104000 + }, + "version": "78753811", + "info": { + "hash": "78AycFoduM5wZDbsCsMjZ5x7xaGmYUYsGwGWcTJ7QLs=", + "stateChangeHash": "Oy7P0tj9JFVYUm0rfxkF4dIkCLPbG98l8Wjd0k+jLyY=", + "eventRootHash": "z0ZIe1JzEBtGyo6IUKVuxoGa98vP7xPhLSsnVInQ4PQ=", + "gasUsed": "7", + "success": true, + "vmStatus": "Executed successfully", + "accumulatorRootHash": "aw9XZJK27gS1QOlm1zD+Qt+A7vyNPuhlmFf/lz7VuHk=", + "changes": [ + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x74512d8383e6857a9a587012c44ad98420cbc713301714402611d7f87a7f4fe0", + "stateKeyHash": "H+BsjnXgnvstj69e0KbR9VL8YyGz6eyuZ5aBlMtTaYw=", + "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\":\"2\"},\"deposit_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x74512d8383e6857a9a587012c44ad98420cbc713301714402611d7f87a7f4fe0\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x74512d8383e6857a9a587012c44ad98420cbc713301714402611d7f87a7f4fe0\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xe93dcd3dd5febf8d72bf8d33e1d85a6115300fedfe055c062834d264f103ce4c", + "stateKeyHash": "GyEDoNkbSkI/rXXhfOPJk7mOq/wyMbpwiE2mga8YbF4=", + "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\":\"34464975541459\"},\"deposit_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xe93dcd3dd5febf8d72bf8d33e1d85a6115300fedfe055c062834d264f103ce4c\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xe93dcd3dd5febf8d72bf8d33e1d85a6115300fedfe055c062834d264f103ce4c\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xe93dcd3dd5febf8d72bf8d33e1d85a6115300fedfe055c062834d264f103ce4c", + "stateKeyHash": "f20QhQxKQpYq+vQlsCOfyelvFcaXWS1sF9rP0ilbwAk=", + "type": { + "address": "0x1", + "module": "account", + "name": "Account" + }, + "typeStr": "0x1::account::Account", + "data": "{\"authentication_key\":\"0xe93dcd3dd5febf8d72bf8d33e1d85a6115300fedfe055c062834d264f103ce4c\",\"coin_register_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xe93dcd3dd5febf8d72bf8d33e1d85a6115300fedfe055c062834d264f103ce4c\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"8\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xe93dcd3dd5febf8d72bf8d33e1d85a6115300fedfe055c062834d264f103ce4c\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"2195678\",\"signer_capability_offer\":{\"for\":{\"vec\":[]}}}" + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "bkso1A+YoQamUWNTCSTA3LQME0nTqpFdEItNbPwd2xk=", + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "data": { + "key": "\"0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935\"", + "keyType": "address", + "value": "\"18447249875628517278\"", + "valueType": "u128" + } + } + } + ] + }, + "epoch": "63", + "blockHeight": "10811317", + "type": "TRANSACTION_TYPE_USER", + "sizeInfo": { + "transactionBytes": 311, + "eventSizeInfo": [ + { + "typeTagBytes": 52, + "totalBytes": 119 + }, + { + "typeTagBytes": 51, + "totalBytes": 118 + }, + { + "typeTagBytes": 63, + "totalBytes": 103 + } + ], + "writeOpSizeInfo": [ + { + "keyBytes": 138, + "valueBytes": 105 + }, + { + "keyBytes": 138, + "valueBytes": 105 + }, + { + "keyBytes": 84, + "valueBytes": 147 + }, + { + "keyBytes": 66, + "valueBytes": 16 + } + ] + }, + "user": { + "request": { + "sender": "0xe93dcd3dd5febf8d72bf8d33e1d85a6115300fedfe055c062834d264f103ce4c", + "sequenceNumber": "2195677", + "maxGasAmount": "2000000", + "gasUnitPrice": "100", + "expirationTimestampSecs": { + "seconds": "1733169083" + }, + "payload": { + "type": "TYPE_ENTRY_FUNCTION_PAYLOAD", + "entryFunctionPayload": { + "function": { + "module": { + "address": "0x1", + "name": "coin" + }, + "name": "transfer" + }, + "typeArguments": [ + { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "aptos_coin", + "name": "AptosCoin" + } + } + ], + "arguments": [ + "\"0x74512d8383e6857a9a587012c44ad98420cbc713301714402611d7f87a7f4fe0\"", + "\"1\"" + ], + "entryFunctionIdStr": "0x1::coin::transfer" + } + }, + "signature": { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "vRgtbj9K0drw2U5T2q7OY+vVcdio4AmKAqTAtOzHyZ4=", + "signature": "q+BUcKerXUuzrATrJomw74pTkK8WzRrGUa8kzxlvo/Fa8xjpEZprvsfFODGcK3+/Rd/bYX/44JzGLTvBnICzCQ==" + } + } + }, + "events": [ + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "coin", + "name": "CoinWithdraw" + } + }, + "typeStr": "0x1::coin::CoinWithdraw", + "data": "{\"account\":\"0xe93dcd3dd5febf8d72bf8d33e1d85a6115300fedfe055c062834d264f103ce4c\",\"amount\":\"1\",\"coin_type\":\"0x1::aptos_coin::AptosCoin\"}" + }, + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "coin", + "name": "CoinDeposit" + } + }, + "typeStr": "0x1::coin::CoinDeposit", + "data": "{\"account\":\"0x74512d8383e6857a9a587012c44ad98420cbc713301714402611d7f87a7f4fe0\",\"amount\":\"1\",\"coin_type\":\"0x1::aptos_coin::AptosCoin\"}" + }, + { + "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\":\"4\",\"io_gas_units\":\"4\",\"storage_fee_octas\":\"0\",\"storage_fee_refund_octas\":\"0\",\"total_charge_gas_units\":\"7\"}" + } + ] + } +} \ No newline at end of file diff --git a/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_devnet_txns/78753831_token_v1_mint_transfer_with_v2_events.json b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_devnet_txns/78753831_token_v1_mint_transfer_with_v2_events.json new file mode 100644 index 0000000000000..725a1a81f293c --- /dev/null +++ b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_devnet_txns/78753831_token_v1_mint_transfer_with_v2_events.json @@ -0,0 +1,296 @@ +{ + "timestamp": { + "seconds": "1733169023", + "nanos": 770129000 + }, + "version": "78753831", + "info": { + "hash": "w43BNnsj2PpsBN9oFPQeQkI6b83Tk1eK9ZaEibr79FA=", + "stateChangeHash": "zhKFGl5yxOh4aN1WvrYBcvFJZpQdf9PBwOQ+o+45upQ=", + "eventRootHash": "mDCT5P4esI+dEzcyuCK2p8QAVD0H6MZqih0xtBMkMZg=", + "gasUsed": "991", + "success": true, + "vmStatus": "Executed successfully", + "accumulatorRootHash": "oitILmzkmDySUYinpeA7XX1D51P23qxsZ3b2dUw3qqQ=", + "changes": [ + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x348cd99611633b0eb8ee803016bcd26bae4ce9d2954da8ab060cd90ecea39118", + "stateKeyHash": "G8wwBS2eFOFY8cN2oSttNxgsNsx8qVY24+nnKxHwfA8=", + "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\":\"34465468193254\"},\"deposit_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x348cd99611633b0eb8ee803016bcd26bae4ce9d2954da8ab060cd90ecea39118\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x348cd99611633b0eb8ee803016bcd26bae4ce9d2954da8ab060cd90ecea39118\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x348cd99611633b0eb8ee803016bcd26bae4ce9d2954da8ab060cd90ecea39118", + "stateKeyHash": "ONtWpx0BPmQGVKRDjVp92/c1/zBTK7hDfZfVMc5ITPQ=", + "type": { + "address": "0x1", + "module": "account", + "name": "Account" + }, + "typeStr": "0x1::account::Account", + "data": "{\"authentication_key\":\"0x348cd99611633b0eb8ee803016bcd26bae4ce9d2954da8ab060cd90ecea39118\",\"coin_register_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x348cd99611633b0eb8ee803016bcd26bae4ce9d2954da8ab060cd90ecea39118\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"8\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x348cd99611633b0eb8ee803016bcd26bae4ce9d2954da8ab060cd90ecea39118\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"2187669\",\"signer_capability_offer\":{\"for\":{\"vec\":[]}}}" + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "bkso1A+YoQamUWNTCSTA3LQME0nTqpFdEItNbPwd2xk=", + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "data": { + "key": "\"0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935\"", + "keyType": "address", + "value": "\"18447249875627498778\"", + "valueType": "u128" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "CfmP4qLNgYoUjFJnVN2TJbQXLHm9mQrdkLSngiSh0i4=", + "handle": "0x5b2921d6a8a8a6565432e265672fd6b9a06e243c31a7634f207eefc88fb2e7cf", + "key": "0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a16416e204e465420436f6c6c656374696f6e204e616d65164e465420436f6c6c65637469626c65202331333336300000000000000000", + "data": { + "key": "{\"property_version\":\"0\",\"token_data_id\":{\"collection\":\"An NFT Collection Name\",\"creator\":\"0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a\",\"name\":\"NFT Collectible #13360\"}}", + "keyType": "0x3::token::TokenId", + "value": "{\"amount\":\"1\",\"id\":{\"property_version\":\"0\",\"token_data_id\":{\"collection\":\"An NFT Collection Name\",\"creator\":\"0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a\",\"name\":\"NFT Collectible #13360\"}},\"token_properties\":{\"map\":{\"data\":[]}}}", + "valueType": "0x3::token::Token" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "a/8/9Al4bygHSJUzkGvmZz+Afwf1UNkssWEwj7lnD8k=", + "handle": "0x7b4b066837bccc25b973a04a0618695db6172e8ad0f2abbba29882cf7b9134a8", + "key": "0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a16416e204e465420436f6c6c656374696f6e204e616d65164e465420436f6c6c65637469626c6520233133333630", + "data": { + "key": "{\"collection\":\"An NFT Collection Name\",\"creator\":\"0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a\",\"name\":\"NFT Collectible #13360\"}", + "keyType": "0x3::token::TokenDataId", + "value": "{\"default_properties\":{\"map\":{\"data\":[]}},\"description\":\"\",\"largest_property_version\":\"0\",\"maximum\":\"1\",\"mutability_config\":{\"description\":true,\"maximum\":true,\"properties\":true,\"royalty\":true,\"uri\":true},\"name\":\"NFT Collectible #13360\",\"royalty\":{\"payee_address\":\"0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a\",\"royalty_points_denominator\":\"100\",\"royalty_points_numerator\":\"0\"},\"supply\":\"1\",\"uri\":\"https://aptos.dev\"}", + "valueType": "0x3::token::TokenData" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "p9Kn+cQa0KMTZmXw2ojtJzd94Y7gnrmTjdrSzg2DQsI=", + "handle": "0xfcaac4a1ffb8df81d954b182c31ddb77e2d506fac218104bd7ec67029b0fa46f", + "key": "0x16416e204e465420436f6c6c656374696f6e204e616d65", + "data": { + "key": "\"An NFT Collection Name\"", + "keyType": "0x1::string::String", + "value": "{\"description\":\"An NFT Collection Description\",\"maximum\":\"1000000\",\"mutability_config\":{\"description\":false,\"maximum\":false,\"uri\":false},\"name\":\"An NFT Collection Name\",\"supply\":\"13360\",\"uri\":\"\"}", + "valueType": "0x3::token::CollectionData" + } + } + } + ] + }, + "epoch": "63", + "blockHeight": "10811321", + "type": "TRANSACTION_TYPE_USER", + "sizeInfo": { + "transactionBytes": 284, + "eventSizeInfo": [ + { + "typeTagBytes": 58, + "totalBytes": 274 + }, + { + "typeTagBytes": 45, + "totalBytes": 163 + }, + { + "typeTagBytes": 53, + "totalBytes": 179 + }, + { + "typeTagBytes": 54, + "totalBytes": 180 + }, + { + "typeTagBytes": 53, + "totalBytes": 179 + }, + { + "typeTagBytes": 63, + "totalBytes": 103 + } + ], + "writeOpSizeInfo": [ + { + "keyBytes": 138, + "valueBytes": 105 + }, + { + "keyBytes": 84, + "valueBytes": 147 + }, + { + "keyBytes": 66, + "valueBytes": 16 + }, + { + "keyBytes": 120, + "valueBytes": 95 + }, + { + "keyBytes": 112, + "valueBytes": 120 + }, + { + "keyBytes": 57, + "valueBytes": 73 + } + ] + }, + "user": { + "request": { + "sender": "0x348cd99611633b0eb8ee803016bcd26bae4ce9d2954da8ab060cd90ecea39118", + "sequenceNumber": "2187668", + "maxGasAmount": "2000000", + "gasUnitPrice": "100", + "expirationTimestampSecs": { + "seconds": "1733169083" + }, + "payload": { + "type": "TYPE_ENTRY_FUNCTION_PAYLOAD", + "entryFunctionPayload": { + "function": { + "module": { + "address": "0xa1a48478a4f217b97198b9d828bd00abd8d96120bb97aca904e6203448f6babc", + "name": "token_v1" + }, + "name": "token_v1_mint_and_transfer_nft_sequential" + }, + "arguments": [ + "\"0xa1a48478a4f217b97198b9d828bd00abd8d96120bb97aca904e6203448f6babc\"" + ], + "entryFunctionIdStr": "0xa1a48478a4f217b97198b9d828bd00abd8d96120bb97aca904e6203448f6babc::token_v1::token_v1_mint_and_transfer_nft_sequential" + } + }, + "signature": { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "zBz/l6D5927191fRkjZWR6pwgMB7ecJLy047B8yBVjQ=", + "signature": "uFT4XF+VuXYOUHSTakrwtGDzuNd3Nq+nweQZ64ZPsnxB10h4pYLBC7EIcH3o8+zXk1lIlMndiKa+LCQPYbt7DA==" + } + } + }, + "events": [ + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "TokenDataCreation" + } + }, + "typeStr": "0x3::token::TokenDataCreation", + "data": "{\"creator\":\"0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a\",\"description\":\"\",\"id\":{\"collection\":\"An NFT Collection Name\",\"creator\":\"0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a\",\"name\":\"NFT Collectible #13360\"},\"maximum\":\"1\",\"mutability_config\":{\"description\":true,\"maximum\":true,\"properties\":true,\"royalty\":true,\"uri\":true},\"name\":\"NFT Collectible #13360\",\"property_keys\":[],\"property_types\":[],\"property_values\":[],\"royalty_payee_address\":\"0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a\",\"royalty_points_denominator\":\"100\",\"royalty_points_numerator\":\"0\",\"uri\":\"https://aptos.dev\"}" + }, + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "Mint" + } + }, + "typeStr": "0x3::token::Mint", + "data": "{\"amount\":\"1\",\"creator\":\"0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a\",\"id\":{\"collection\":\"An NFT Collection Name\",\"creator\":\"0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a\",\"name\":\"NFT Collectible #13360\"}}" + }, + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "TokenDeposit" + } + }, + "typeStr": "0x3::token::TokenDeposit", + "data": "{\"account\":\"0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a\",\"amount\":\"1\",\"id\":{\"property_version\":\"0\",\"token_data_id\":{\"collection\":\"An NFT Collection Name\",\"creator\":\"0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a\",\"name\":\"NFT Collectible #13360\"}}}" + }, + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "TokenWithdraw" + } + }, + "typeStr": "0x3::token::TokenWithdraw", + "data": "{\"account\":\"0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a\",\"amount\":\"1\",\"id\":{\"property_version\":\"0\",\"token_data_id\":{\"collection\":\"An NFT Collection Name\",\"creator\":\"0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a\",\"name\":\"NFT Collectible #13360\"}}}" + }, + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x3", + "module": "token", + "name": "TokenDeposit" + } + }, + "typeStr": "0x3::token::TokenDeposit", + "data": "{\"account\":\"0x348cd99611633b0eb8ee803016bcd26bae4ce9d2954da8ab060cd90ecea39118\",\"amount\":\"1\",\"id\":{\"property_version\":\"0\",\"token_data_id\":{\"collection\":\"An NFT Collection Name\",\"creator\":\"0xcdc14b3f3edbbb739a0a7168661ae562449dd88ede045f4a310a4cf41489001a\",\"name\":\"NFT Collectible #13360\"}}}" + }, + { + "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\":\"8\",\"io_gas_units\":\"6\",\"storage_fee_octas\":\"97720\",\"storage_fee_refund_octas\":\"0\",\"total_charge_gas_units\":\"991\"}" + } + ] + } +} \ No newline at end of file diff --git a/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_devnet_txns/78753832_token_v2_mint_transfer_with_v2_events.json b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_devnet_txns/78753832_token_v2_mint_transfer_with_v2_events.json new file mode 100644 index 0000000000000..c4503d3e48128 --- /dev/null +++ b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_devnet_txns/78753832_token_v2_mint_transfer_with_v2_events.json @@ -0,0 +1,338 @@ +{ + "timestamp": { + "seconds": "1733169023", + "nanos": 770129000 + }, + "version": "78753832", + "info": { + "hash": "sbaO6U6E3bhIKcFeuMVR8Xg1TdsxK0cVUtGOIVkcZ24=", + "stateChangeHash": "f52yKEG7gyDZM2YaX2PFziFjiuB/v4TBZhYAXUa2EKY=", + "eventRootHash": "b4xyZ6VqYs9tBxUfxdNX9Qd3Gns99NMqQFvJHmUFros=", + "gasUsed": "801", + "success": true, + "vmStatus": "Executed successfully", + "accumulatorRootHash": "ONu16d7ZHQOqFI/1QxNSWTtRkv6XruTpMrJ3TuP4ckA=", + "changes": [ + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x28adfb8a46395e7ccd83038860764193eea3f834ae6894e75cd80a3e1ff23b0b", + "stateKeyHash": "0AEC/45myF2zNRsWE3y0u12bQQupMZHK3wzx+6fGCYk=", + "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\":\"34465517137401\"},\"deposit_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x28adfb8a46395e7ccd83038860764193eea3f834ae6894e75cd80a3e1ff23b0b\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x28adfb8a46395e7ccd83038860764193eea3f834ae6894e75cd80a3e1ff23b0b\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x28adfb8a46395e7ccd83038860764193eea3f834ae6894e75cd80a3e1ff23b0b", + "stateKeyHash": "hG1GLIWoqV80Zg25NMtZIfr73saxe+eXw1Wn1z/FwVg=", + "type": { + "address": "0x1", + "module": "account", + "name": "Account" + }, + "typeStr": "0x1::account::Account", + "data": "{\"authentication_key\":\"0x28adfb8a46395e7ccd83038860764193eea3f834ae6894e75cd80a3e1ff23b0b\",\"coin_register_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x28adfb8a46395e7ccd83038860764193eea3f834ae6894e75cd80a3e1ff23b0b\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"8\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x28adfb8a46395e7ccd83038860764193eea3f834ae6894e75cd80a3e1ff23b0b\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"2184764\",\"signer_capability_offer\":{\"for\":{\"vec\":[]}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x58677eec16fc1a3d37dcfe5fa3ab62081d0838a694612a34e757caa7f7f2adb0", + "stateKeyHash": "u9MRoQG+Gm9/JPOstdsHZxrIOVzruB84dVjePLJ1dlk=", + "type": { + "address": "0x1", + "module": "object", + "name": "ObjectCore" + }, + "typeStr": "0x1::object::ObjectCore", + "data": "{\"allow_ungated_transfer\":false,\"guid_creation_num\":\"1125899906842626\",\"owner\":\"0xc8185b4484917ffda406f31fb71ab9a2b9ac7387041235b21dd7e4e5bdccb838\",\"transfer_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x58677eec16fc1a3d37dcfe5fa3ab62081d0838a694612a34e757caa7f7f2adb0\",\"creation_num\":\"1125899906842624\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x58677eec16fc1a3d37dcfe5fa3ab62081d0838a694612a34e757caa7f7f2adb0", + "stateKeyHash": "u9MRoQG+Gm9/JPOstdsHZxrIOVzruB84dVjePLJ1dlk=", + "type": { + "address": "0x4", + "module": "collection", + "name": "Collection" + }, + "typeStr": "0x4::collection::Collection", + "data": "{\"creator\":\"0xc8185b4484917ffda406f31fb71ab9a2b9ac7387041235b21dd7e4e5bdccb838\",\"description\":\"Ambassador Collection Description\",\"mutation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x58677eec16fc1a3d37dcfe5fa3ab62081d0838a694612a34e757caa7f7f2adb0\",\"creation_num\":\"1125899906842625\"}}},\"name\":\"Ambassador Collection Name\",\"uri\":\"Ambassador Collection URI\"}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x58677eec16fc1a3d37dcfe5fa3ab62081d0838a694612a34e757caa7f7f2adb0", + "stateKeyHash": "u9MRoQG+Gm9/JPOstdsHZxrIOVzruB84dVjePLJ1dlk=", + "type": { + "address": "0x4", + "module": "collection", + "name": "ConcurrentSupply" + }, + "typeStr": "0x4::collection::ConcurrentSupply", + "data": "{\"current_supply\":{\"max_value\":\"18446744073709551615\",\"value\":\"133740\"},\"total_minted\":{\"max_value\":\"18446744073709551615\",\"value\":\"133740\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xb63f1fe89e713c0bbd093ea2f5d7af58fa69e90af27035f0b2e202e66d432d6b", + "stateKeyHash": "mpG7Q4U/DJ8w2RLTcP5NfSr94LNKgcACM9ljxIwE720=", + "type": { + "address": "0x1", + "module": "object", + "name": "ObjectCore" + }, + "typeStr": "0x1::object::ObjectCore", + "data": "{\"allow_ungated_transfer\":false,\"guid_creation_num\":\"1125899906842626\",\"owner\":\"0x28adfb8a46395e7ccd83038860764193eea3f834ae6894e75cd80a3e1ff23b0b\",\"transfer_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xb63f1fe89e713c0bbd093ea2f5d7af58fa69e90af27035f0b2e202e66d432d6b\",\"creation_num\":\"1125899906842624\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xb63f1fe89e713c0bbd093ea2f5d7af58fa69e90af27035f0b2e202e66d432d6b", + "stateKeyHash": "mpG7Q4U/DJ8w2RLTcP5NfSr94LNKgcACM9ljxIwE720=", + "type": { + "address": "0x4", + "module": "property_map", + "name": "PropertyMap" + }, + "typeStr": "0x4::property_map::PropertyMap", + "data": "{\"inner\":{\"data\":[{\"key\":\"Rank\",\"value\":{\"type\":9,\"value\":\"0x0642726f6e7a65\"}}]}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xb63f1fe89e713c0bbd093ea2f5d7af58fa69e90af27035f0b2e202e66d432d6b", + "stateKeyHash": "mpG7Q4U/DJ8w2RLTcP5NfSr94LNKgcACM9ljxIwE720=", + "type": { + "address": "0x4", + "module": "token", + "name": "Token" + }, + "typeStr": "0x4::token::Token", + "data": "{\"collection\":{\"inner\":\"0x58677eec16fc1a3d37dcfe5fa3ab62081d0838a694612a34e757caa7f7f2adb0\"},\"description\":\"pd9eIPNuxydkn3JJsYvGKVGMomZXCvuc1EQ92PzpIW512zEeCJEKGXR21707nHmzRLokNVfJ5ufd5jzk3GINOLAZ2CjGlsM2SJWb\",\"index\":\"0\",\"mutation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xb63f1fe89e713c0bbd093ea2f5d7af58fa69e90af27035f0b2e202e66d432d6b\",\"creation_num\":\"1125899906842625\"}}},\"name\":\"\",\"uri\":\"fEL4YUz13hHhi573dzmC0yulbUh7RGcHxWjDteeRIuPE0dfBVBBronze\"}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xb63f1fe89e713c0bbd093ea2f5d7af58fa69e90af27035f0b2e202e66d432d6b", + "stateKeyHash": "mpG7Q4U/DJ8w2RLTcP5NfSr94LNKgcACM9ljxIwE720=", + "type": { + "address": "0x4", + "module": "token", + "name": "TokenIdentifiers" + }, + "typeStr": "0x4::token::TokenIdentifiers", + "data": "{\"index\":{\"value\":\"133740\"},\"name\":{\"padding\":\"0x0000000000000000000000000000\",\"value\":\"superstar #133740\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xb63f1fe89e713c0bbd093ea2f5d7af58fa69e90af27035f0b2e202e66d432d6b", + "stateKeyHash": "mpG7Q4U/DJ8w2RLTcP5NfSr94LNKgcACM9ljxIwE720=", + "type": { + "address": "0xc8185b4484917ffda406f31fb71ab9a2b9ac7387041235b21dd7e4e5bdccb838", + "module": "ambassador", + "name": "AmbassadorLevel" + }, + "typeStr": "0xc8185b4484917ffda406f31fb71ab9a2b9ac7387041235b21dd7e4e5bdccb838::ambassador::AmbassadorLevel", + "data": "{\"ambassador_level\":\"0\"}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xb63f1fe89e713c0bbd093ea2f5d7af58fa69e90af27035f0b2e202e66d432d6b", + "stateKeyHash": "mpG7Q4U/DJ8w2RLTcP5NfSr94LNKgcACM9ljxIwE720=", + "type": { + "address": "0xc8185b4484917ffda406f31fb71ab9a2b9ac7387041235b21dd7e4e5bdccb838", + "module": "ambassador", + "name": "AmbassadorToken" + }, + "typeStr": "0xc8185b4484917ffda406f31fb71ab9a2b9ac7387041235b21dd7e4e5bdccb838::ambassador::AmbassadorToken", + "data": "{\"base_uri\":\"fEL4YUz13hHhi573dzmC0yulbUh7RGcHxWjDteeRIuPE0dfBVB\",\"burn_ref\":{\"inner\":{\"vec\":[{\"self\":\"0xb63f1fe89e713c0bbd093ea2f5d7af58fa69e90af27035f0b2e202e66d432d6b\"}]},\"self\":{\"vec\":[]}},\"mutator_ref\":{\"self\":\"0xb63f1fe89e713c0bbd093ea2f5d7af58fa69e90af27035f0b2e202e66d432d6b\"},\"property_mutator_ref\":{\"self\":\"0xb63f1fe89e713c0bbd093ea2f5d7af58fa69e90af27035f0b2e202e66d432d6b\"}}" + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "bkso1A+YoQamUWNTCSTA3LQME0nTqpFdEItNbPwd2xk=", + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "data": { + "key": "\"0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935\"", + "keyType": "address", + "value": "\"18447249875627418678\"", + "valueType": "u128" + } + } + } + ] + }, + "epoch": "63", + "blockHeight": "10811321", + "type": "TRANSACTION_TYPE_USER", + "sizeInfo": { + "transactionBytes": 551, + "eventSizeInfo": [ + { + "typeTagBytes": 50, + "totalBytes": 122 + }, + { + "typeTagBytes": 50, + "totalBytes": 146 + }, + { + "typeTagBytes": 63, + "totalBytes": 103 + } + ], + "writeOpSizeInfo": [ + { + "keyBytes": 138, + "valueBytes": 105 + }, + { + "keyBytes": 84, + "valueBytes": 147 + }, + { + "keyBytes": 87, + "valueBytes": 460 + }, + { + "keyBytes": 87, + "valueBytes": 888 + }, + { + "keyBytes": 66, + "valueBytes": 16 + } + ] + }, + "user": { + "request": { + "sender": "0x28adfb8a46395e7ccd83038860764193eea3f834ae6894e75cd80a3e1ff23b0b", + "sequenceNumber": "2184763", + "maxGasAmount": "2000000", + "gasUnitPrice": "100", + "expirationTimestampSecs": { + "seconds": "1733169083" + }, + "payload": { + "type": "TYPE_ENTRY_FUNCTION_PAYLOAD", + "entryFunctionPayload": { + "function": { + "module": { + "address": "0xc8185b4484917ffda406f31fb71ab9a2b9ac7387041235b21dd7e4e5bdccb838", + "name": "ambassador" + }, + "name": "mint_numbered_ambassador_token_by_user" + }, + "arguments": [ + "\"pd9eIPNuxydkn3JJsYvGKVGMomZXCvuc1EQ92PzpIW512zEeCJEKGXR21707nHmzRLokNVfJ5ufd5jzk3GINOLAZ2CjGlsM2SJWb\"", + "\"superstar #\"", + "\"fEL4YUz13hHhi573dzmC0yulbUh7RGcHxWjDteeRIuPE0dfBVB\"" + ], + "entryFunctionIdStr": "0xc8185b4484917ffda406f31fb71ab9a2b9ac7387041235b21dd7e4e5bdccb838::ambassador::mint_numbered_ambassador_token_by_user" + } + }, + "signature": { + "type": "TYPE_MULTI_AGENT", + "multiAgent": { + "sender": { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "3wy7e9bUTFltc/XIZB3O1mjKaTljWNPAKZwkCMA0Qxo=", + "signature": "K07rNzIE6DdPaUh2dzGi1CZjsDVvEk9JlZG4JA5FVYciKMCKo/gFtXoPC0uy1IzD+43oNmm6VVWoEPNIWYa+DA==" + } + }, + "secondarySignerAddresses": [ + "0xc8185b4484917ffda406f31fb71ab9a2b9ac7387041235b21dd7e4e5bdccb838" + ], + "secondarySigners": [ + { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "/MmBThZ+Z4pcJGTjePvN+ySARSKW5tJMJoBxBLhvorc=", + "signature": "E9son29Wkr0nNzJmRPKy8RBVGgtdGNg4zxlKCMQPaSlTtFkrCJ+BjAYiVN8Jd/0qqCGmNEhxDW3AeAPJ2IAtAQ==" + } + } + ] + } + } + }, + "events": [ + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x4", + "module": "collection", + "name": "Mint" + } + }, + "typeStr": "0x4::collection::Mint", + "data": "{\"collection\":\"0x58677eec16fc1a3d37dcfe5fa3ab62081d0838a694612a34e757caa7f7f2adb0\",\"index\":{\"value\":\"133740\"},\"token\":\"0xb63f1fe89e713c0bbd093ea2f5d7af58fa69e90af27035f0b2e202e66d432d6b\"}" + }, + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "object", + "name": "Transfer" + } + }, + "typeStr": "0x1::object::Transfer", + "data": "{\"from\":\"0xc8185b4484917ffda406f31fb71ab9a2b9ac7387041235b21dd7e4e5bdccb838\",\"object\":\"0xb63f1fe89e713c0bbd093ea2f5d7af58fa69e90af27035f0b2e202e66d432d6b\",\"to\":\"0x28adfb8a46395e7ccd83038860764193eea3f834ae6894e75cd80a3e1ff23b0b\"}" + }, + { + "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\":\"6\",\"io_gas_units\":\"6\",\"storage_fee_octas\":\"78920\",\"storage_fee_refund_octas\":\"0\",\"total_charge_gas_units\":\"801\"}" + } + ] + } +} \ No newline at end of file