From b92cbb842a5b59cd395ce51a18fb4b3022cd316a Mon Sep 17 00:00:00 2001 From: rtso <8248583+rtso@users.noreply.github.com> Date: Thu, 24 Oct 2024 18:41:16 -0400 Subject: [PATCH] add more fa txns --- .../508365567_fa_v1_events.json | 618 ++++++++++++++++++ .../1200394037_fa_v2_frozen_event.json | 198 ++++++ .../2646510387_concurrent_fa.json | 278 ++++++++ 3 files changed, 1094 insertions(+) create mode 100644 ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/508365567_fa_v1_events.json create mode 100644 ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_testnet_txns/1200394037_fa_v2_frozen_event.json create mode 100644 ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_testnet_txns/2646510387_concurrent_fa.json diff --git a/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/508365567_fa_v1_events.json b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/508365567_fa_v1_events.json new file mode 100644 index 0000000000000..9bc78f177a2e9 --- /dev/null +++ b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_mainnet_txns/508365567_fa_v1_events.json @@ -0,0 +1,618 @@ +{ + "timestamp": { + "seconds": "1710835556", + "nanos": 983680000 + }, + "version": "508365567", + "info": { + "hash": "+1flTt0mqc9n/ylzD8kuwg0c0jd1dnYEp0XqPuD0Xag=", + "stateChangeHash": "XhzqxepnfzhIF+aPo13COQSxoxb99q1k1ymGypv0LGw=", + "eventRootHash": "aZEEeh766WElWi7GHXgmTNdCt2wopb54kctaIWYCkBk=", + "gasUsed": "676", + "success": true, + "vmStatus": "Executed successfully", + "accumulatorRootHash": "63OAHx+lrYv0sCGGMRwUASyCsQapn1O4/zgKdw/5oIc=", + "changes": [ + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", + "stateKeyHash": "DxFxZz0uboErSy8PXxT6AmpHFiQPACQPRW0digfqGeg=", + "type": { + "address": "0x1", + "module": "fungible_asset", + "name": "FungibleAssetEvents" + }, + "typeStr": "0x1::fungible_asset::FungibleAssetEvents", + "data": "{\"deposit_events\":{\"counter\":\"3\",\"guid\":{\"id\":{\"addr\":\"0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65\",\"creation_num\":\"1125899906842628\"}}},\"frozen_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65\",\"creation_num\":\"1125899906842630\"}}},\"withdraw_events\":{\"counter\":\"4155\",\"guid\":{\"id\":{\"addr\":\"0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65\",\"creation_num\":\"1125899906842629\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", + "stateKeyHash": "DxFxZz0uboErSy8PXxT6AmpHFiQPACQPRW0digfqGeg=", + "type": { + "address": "0x1", + "module": "fungible_asset", + "name": "FungibleStore" + }, + "typeStr": "0x1::fungible_asset::FungibleStore", + "data": "{\"balance\":\"5329839355263\",\"frozen\":false,\"metadata\":{\"inner\":\"0x2ebb2ccac5e027a87fa0e2e5f656a3a4238d6a48d93ec9b610d570fc0aa0df12\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", + "stateKeyHash": "DxFxZz0uboErSy8PXxT6AmpHFiQPACQPRW0digfqGeg=", + "type": { + "address": "0x1", + "module": "object", + "name": "ObjectCore" + }, + "typeStr": "0x1::object::ObjectCore", + "data": "{\"allow_ungated_transfer\":false,\"guid_creation_num\":\"1125899906842631\",\"owner\":\"0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1\",\"transfer_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65\",\"creation_num\":\"1125899906842624\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", + "stateKeyHash": "DxFxZz0uboErSy8PXxT6AmpHFiQPACQPRW0digfqGeg=", + "type": { + "address": "0x4", + "module": "collection", + "name": "Collection" + }, + "typeStr": "0x4::collection::Collection", + "data": "{\"creator\":\"0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1\",\"description\":\"Cellana Voting Tokens\",\"mutation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65\",\"creation_num\":\"1125899906842627\"}}},\"name\":\"Cellana Voting Tokens\",\"uri\":\"https://api.cellana.finance/api/v1/ve-nft/uri/\"}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", + "stateKeyHash": "DxFxZz0uboErSy8PXxT6AmpHFiQPACQPRW0digfqGeg=", + "type": { + "address": "0x4", + "module": "collection", + "name": "UnlimitedSupply" + }, + "typeStr": "0x4::collection::UnlimitedSupply", + "data": "{\"burn_events\":{\"counter\":\"6277\",\"guid\":{\"id\":{\"addr\":\"0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65\",\"creation_num\":\"1125899906842625\"}}},\"current_supply\":\"127168\",\"mint_events\":{\"counter\":\"133445\",\"guid\":{\"id\":{\"addr\":\"0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65\",\"creation_num\":\"1125899906842626\"}}},\"total_minted\":\"133445\"}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65", + "stateKeyHash": "DxFxZz0uboErSy8PXxT6AmpHFiQPACQPRW0digfqGeg=", + "type": { + "address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", + "module": "voting_escrow", + "name": "VeCellanaCollection" + }, + "typeStr": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::VeCellanaCollection", + "data": "{\"rebases\":{\"buckets\":{\"inner\":{\"handle\":\"0xa92a82faa53d835a2e386e53d0fef43079f0c53084cf463718e99bc5420ca172\"},\"length\":\"2\"},\"level\":1,\"num_buckets\":\"2\",\"size\":\"3\",\"split_load_threshold\":75,\"target_bucket_size\":\"42\"},\"unscaled_total_voting_power_per_epoch\":{\"buckets\":{\"inner\":{\"handle\":\"0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd\"},\"length\":\"5\"},\"level\":2,\"num_buckets\":\"5\",\"size\":\"107\",\"split_load_threshold\":75,\"target_bucket_size\":\"32\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", + "stateKeyHash": "kK/zLRgZjPPjkIl4wAR1nfd3IAmVVcK+O26Lb9/+Lrw=", + "type": { + "address": "0x1", + "module": "account", + "name": "Account" + }, + "typeStr": "0x1::account::Account", + "data": "{\"authentication_key\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"coin_register_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"133533\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"0\",\"signer_capability_offer\":{\"for\":{\"vec\":[\"0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1\"]}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab", + "stateKeyHash": "ELRWIQYy0tAiFVW8ULMh7FKmZT8lNYag6paiLPswKsk=", + "type": { + "address": "0x1", + "module": "fungible_asset", + "name": "FungibleAssetEvents" + }, + "typeStr": "0x1::fungible_asset::FungibleAssetEvents", + "data": "{\"deposit_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab\",\"creation_num\":\"1125899906842625\"}}},\"frozen_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab\",\"creation_num\":\"1125899906842627\"}}},\"withdraw_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab\",\"creation_num\":\"1125899906842626\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab", + "stateKeyHash": "ELRWIQYy0tAiFVW8ULMh7FKmZT8lNYag6paiLPswKsk=", + "type": { + "address": "0x1", + "module": "fungible_asset", + "name": "FungibleStore" + }, + "typeStr": "0x1::fungible_asset::FungibleStore", + "data": "{\"balance\":\"0\",\"frozen\":false,\"metadata\":{\"inner\":\"0x2ebb2ccac5e027a87fa0e2e5f656a3a4238d6a48d93ec9b610d570fc0aa0df12\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab", + "stateKeyHash": "ELRWIQYy0tAiFVW8ULMh7FKmZT8lNYag6paiLPswKsk=", + "type": { + "address": "0x1", + "module": "object", + "name": "ObjectCore" + }, + "typeStr": "0x1::object::ObjectCore", + "data": "{\"allow_ungated_transfer\":false,\"guid_creation_num\":\"1125899906842628\",\"owner\":\"0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e\",\"transfer_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab\",\"creation_num\":\"1125899906842624\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", + "stateKeyHash": "hK/xWw/IC63q/1Qxd4l3qdLcwUDOUGY5h82yaz3DQuE=", + "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\":\"640250\"},\"deposit_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"2\",\"guid\":{\"id\":{\"addr\":\"0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", + "stateKeyHash": "NvsxmZjF9meLWmABan+wU1NUmUUKHww9BTxYRI7VfXI=", + "type": { + "address": "0x1", + "module": "account", + "name": "Account" + }, + "typeStr": "0x1::account::Account", + "data": "{\"authentication_key\":\"0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e\",\"coin_register_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"4\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"3\",\"signer_capability_offer\":{\"for\":{\"vec\":[]}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", + "stateKeyHash": "j/OcIgWV6fzAvExAxtzk9Rjjb4/b3JVwoz4ZQoArp2M=", + "type": { + "address": "0x1", + "module": "fungible_asset", + "name": "FungibleAssetEvents" + }, + "typeStr": "0x1::fungible_asset::FungibleAssetEvents", + "data": "{\"deposit_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665\",\"creation_num\":\"1125899906842626\"}}},\"frozen_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665\",\"creation_num\":\"1125899906842628\"}}},\"withdraw_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665\",\"creation_num\":\"1125899906842627\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", + "stateKeyHash": "j/OcIgWV6fzAvExAxtzk9Rjjb4/b3JVwoz4ZQoArp2M=", + "type": { + "address": "0x1", + "module": "fungible_asset", + "name": "FungibleStore" + }, + "typeStr": "0x1::fungible_asset::FungibleStore", + "data": "{\"balance\":\"14644184\",\"frozen\":true,\"metadata\":{\"inner\":\"0x2ebb2ccac5e027a87fa0e2e5f656a3a4238d6a48d93ec9b610d570fc0aa0df12\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", + "stateKeyHash": "j/OcIgWV6fzAvExAxtzk9Rjjb4/b3JVwoz4ZQoArp2M=", + "type": { + "address": "0x1", + "module": "object", + "name": "ObjectCore" + }, + "typeStr": "0x1::object::ObjectCore", + "data": "{\"allow_ungated_transfer\":true,\"guid_creation_num\":\"1125899906842629\",\"owner\":\"0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e\",\"transfer_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665\",\"creation_num\":\"1125899906842624\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", + "stateKeyHash": "j/OcIgWV6fzAvExAxtzk9Rjjb4/b3JVwoz4ZQoArp2M=", + "type": { + "address": "0x4", + "module": "token", + "name": "Token" + }, + "typeStr": "0x4::token::Token", + "data": "{\"collection\":{\"inner\":\"0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65\"},\"description\":\"NFT representing voting power in Cellana corresponding to $CELL locked up\",\"index\":\"133445\",\"mutation_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665\",\"creation_num\":\"1125899906842625\"}}},\"name\":\"veCELL\",\"uri\":\"https://api.cellana.finance/api/v1/ve-nft/uri/@0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665\"}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", + "stateKeyHash": "j/OcIgWV6fzAvExAxtzk9Rjjb4/b3JVwoz4ZQoArp2M=", + "type": { + "address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", + "module": "voting_escrow", + "name": "VeCellanaToken" + }, + "typeStr": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::VeCellanaToken", + "data": "{\"end_epoch\":\"2880\",\"locked_amount\":\"14644184\",\"next_rebase_epoch\":\"2828\",\"snapshots\":{\"big_vec\":{\"vec\":[]},\"bucket_size\":{\"vec\":[]},\"inline_capacity\":{\"vec\":[]},\"inline_vec\":[{\"end_epoch\":\"2880\",\"epoch\":\"2828\",\"locked_amount\":\"14644184\"}]}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665", + "stateKeyHash": "j/OcIgWV6fzAvExAxtzk9Rjjb4/b3JVwoz4ZQoArp2M=", + "type": { + "address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", + "module": "voting_escrow", + "name": "VeCellanaTokenRefs" + }, + "typeStr": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::VeCellanaTokenRefs", + "data": "{\"burn_ref\":{\"inner\":{\"vec\":[{\"self\":\"0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665\"}]},\"self\":{\"vec\":[]}},\"transfer_ref\":{\"self\":\"0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665\"}}" + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "bkso1A+YoQamUWNTCSTA3LQME0nTqpFdEItNbPwd2xk=", + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "data": { + "key": "\"0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935\"", + "keyType": "address", + "value": "\"108655487588791357\"", + "valueType": "u128" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "APAjxPOzzMrmLxFJkTUuYbltXOk5ZOdeWnsrg/ZqbVk=", + "handle": "0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd", + "key": "0x0000000000000000", + "data": { + "key": "\"0\"", + "keyType": "u64", + "value": "[{\"hash\":\"3646137689481008680\",\"key\":\"2845\",\"value\":\"3526999441995216423\"},{\"hash\":\"1217336543064928720\",\"key\":\"2846\",\"value\":\"3464669142405364851\"},{\"hash\":\"7642899159062986184\",\"key\":\"2847\",\"value\":\"3402338842815513279\"},{\"hash\":\"10601592535135219520\",\"key\":\"2853\",\"value\":\"3046150422361703094\"},{\"hash\":\"17609341267787423984\",\"key\":\"2856\",\"value\":\"2886885275372888084\"},{\"hash\":\"15084638918067494000\",\"key\":\"2867\",\"value\":\"2307270370153358581\"},{\"hash\":\"14237019224713366792\",\"key\":\"2869\",\"value\":\"2204382692234215203\"},{\"hash\":\"10301504076848624296\",\"key\":\"2872\",\"value\":\"2050051175355500136\"},{\"hash\":\"5574108621926661520\",\"key\":\"2879\",\"value\":\"1723987514489695051\"},{\"hash\":\"9265604649511958344\",\"key\":\"2883\",\"value\":\"1586486360458610308\"},{\"hash\":\"14483111981964522304\",\"key\":\"2885\",\"value\":\"1517743796540663300\"},{\"hash\":\"4407277645485278056\",\"key\":\"2898\",\"value\":\"1070917131074007748\"},{\"hash\":\"16646751508012959216\",\"key\":\"2903\",\"value\":\"899060721279140228\"},{\"hash\":\"2531054901531804488\",\"key\":\"2911\",\"value\":\"624090465607352196\"},{\"hash\":\"7062227929439204352\",\"key\":\"2912\",\"value\":\"589719183648378692\"},{\"hash\":\"10783721261085754416\",\"key\":\"2928\",\"value\":\"39778672304802628\"}]", + "valueType": "vector<0x1::smart_table::Entry>" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "dfePmk3Ejbk43SRW/s0YTKsMJwaN84pgHai9cF7/wZo=", + "handle": "0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd", + "key": "0x0100000000000000", + "data": { + "key": "\"1\"", + "keyType": "u64", + "value": "[{\"hash\":\"18060721298540783133\",\"key\":\"2827\",\"value\":\"4707392286981839528\"},{\"hash\":\"10624242726131113745\",\"key\":\"2829\",\"value\":\"4607054940343151529\"},{\"hash\":\"12089200328028032557\",\"key\":\"2833\",\"value\":\"4321037125589052602\"},{\"hash\":\"3463584878879311233\",\"key\":\"2844\",\"value\":\"3589329741585067995\"},{\"hash\":\"9577061388333227085\",\"key\":\"2848\",\"value\":\"3340008543225661707\"},{\"hash\":\"3059455167582961369\",\"key\":\"2849\",\"value\":\"3277678243635810135\"},{\"hash\":\"27166662291578269\",\"key\":\"2855\",\"value\":\"2939972975319159754\"},{\"hash\":\"3401304548324276317\",\"key\":\"2857\",\"value\":\"2833797575426616414\"},{\"hash\":\"17004694609804370797\",\"key\":\"2860\",\"value\":\"2674534475587801404\"},{\"hash\":\"15292061418041435081\",\"key\":\"2866\",\"value\":\"2358715256262930270\"},{\"hash\":\"10190200808666024905\",\"key\":\"2868\",\"value\":\"2255826531193786892\"},{\"hash\":\"1382151080527825285\",\"key\":\"2882\",\"value\":\"1620857642417583812\"},{\"hash\":\"5091492482980236473\",\"key\":\"2884\",\"value\":\"1552115078499636804\"},{\"hash\":\"13889149569643757033\",\"key\":\"2886\",\"value\":\"1483372514581689796\"},{\"hash\":\"3617986436090316869\",\"key\":\"2893\",\"value\":\"1242773540868875268\"},{\"hash\":\"5255501950869947165\",\"key\":\"2894\",\"value\":\"1208402258909901764\"},{\"hash\":\"7937965314786246533\",\"key\":\"2896\",\"value\":\"1139659694991954756\"},{\"hash\":\"1338645008863683845\",\"key\":\"2899\",\"value\":\"1036545849115034244\"},{\"hash\":\"18439416307427740033\",\"key\":\"2900\",\"value\":\"1002174567156060740\"},{\"hash\":\"9128344041145406561\",\"key\":\"2909\",\"value\":\"692833029525299204\"},{\"hash\":\"9558658696243610581\",\"key\":\"2915\",\"value\":\"486605337771458180\"},{\"hash\":\"8580726904502472969\",\"key\":\"2916\",\"value\":\"452234055812484676\"},{\"hash\":\"15081880210223102849\",\"key\":\"2921\",\"value\":\"280377646017617156\"},{\"hash\":\"11252215220150058913\",\"key\":\"2923\",\"value\":\"211635082099670148\"},{\"hash\":\"14963728602070465177\",\"key\":\"2924\",\"value\":\"177263800140696644\"}]", + "valueType": "vector<0x1::smart_table::Entry>" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "pr1zaygme0AobcnpXdq42GwI1TgrsSVs7axY9FsNHtc=", + "handle": "0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd", + "key": "0x0200000000000000", + "data": { + "key": "\"2\"", + "keyType": "u64", + "value": "[{\"hash\":\"2892928471492794894\",\"key\":\"2840\",\"value\":\"3838652220335674781\"},{\"hash\":\"7681912131802335158\",\"key\":\"2831\",\"value\":\"4463934601222518902\"},{\"hash\":\"14103043700510215266\",\"key\":\"2838\",\"value\":\"3963891224579585080\"},{\"hash\":\"4610865483590070538\",\"key\":\"2836\",\"value\":\"4106749559070431048\"},{\"hash\":\"16996240687496513862\",\"key\":\"2863\",\"value\":\"2515271375748986394\"},{\"hash\":\"14614593912552239166\",\"key\":\"2834\",\"value\":\"4249607893561277016\"},{\"hash\":\"9298927235795540518\",\"key\":\"2873\",\"value\":\"1998607336395928447\"},{\"hash\":\"3450740043895944166\",\"key\":\"2875\",\"value\":\"1895719658476785069\"},{\"hash\":\"6395072235206728642\",\"key\":\"2880\",\"value\":\"1689600206335530820\"},{\"hash\":\"7254918715717643366\",\"key\":\"2881\",\"value\":\"1655228924376557316\"},{\"hash\":\"9017771626443411650\",\"key\":\"2895\",\"value\":\"1174030976950928260\"},{\"hash\":\"3178037670275520594\",\"key\":\"2897\",\"value\":\"1105288413032981252\"},{\"hash\":\"16550369558054804510\",\"key\":\"2901\",\"value\":\"967803285197087236\"},{\"hash\":\"7405540004308307242\",\"key\":\"2902\",\"value\":\"933432003238113732\"},{\"hash\":\"3042141706501370290\",\"key\":\"2904\",\"value\":\"864689439320166724\"},{\"hash\":\"18220739594114719766\",\"key\":\"2907\",\"value\":\"761575593443246212\"},{\"hash\":\"3200376301249282774\",\"key\":\"2908\",\"value\":\"727204311484272708\"},{\"hash\":\"16362015975525489398\",\"key\":\"2910\",\"value\":\"658461747566325700\"},{\"hash\":\"5973287941210242510\",\"key\":\"2913\",\"value\":\"555347901689405188\"},{\"hash\":\"6621897072245050954\",\"key\":\"2914\",\"value\":\"520976619730431684\"},{\"hash\":\"18176036933628938962\",\"key\":\"2918\",\"value\":\"383491491894537668\"},{\"hash\":\"18047753918447341234\",\"key\":\"2926\",\"value\":\"108521236222749636\"},{\"hash\":\"487980492420812698\",\"key\":\"2929\",\"value\":\"5407390345829124\"},{\"hash\":\"5954398792945153718\",\"key\":\"2931\",\"value\":\"437519002817034\"}]", + "valueType": "vector<0x1::smart_table::Entry>" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "aeBwotnhj0o1LFPjdODjX2HIgAODIte0aWrCtRGzrcc=", + "handle": "0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd", + "key": "0x0300000000000000", + "data": { + "key": "\"3\"", + "keyType": "u64", + "value": "[{\"hash\":\"3349521823523090683\",\"key\":\"2841\",\"value\":\"3776320756975222960\"},{\"hash\":\"5182720289772606715\",\"key\":\"2837\",\"value\":\"4035320391825008064\"},{\"hash\":\"2704901616441791643\",\"key\":\"2835\",\"value\":\"4178178726315854032\"},{\"hash\":\"14183038132521517307\",\"key\":\"2892\",\"value\":\"1277144822827848772\"},{\"hash\":\"13950638736123059083\",\"key\":\"2891\",\"value\":\"1311516104786822276\"},{\"hash\":\"15698572281654316379\",\"key\":\"2889\",\"value\":\"1380258668704769284\"},{\"hash\":\"15633867026332385903\",\"key\":\"2888\",\"value\":\"1414629950663742788\"},{\"hash\":\"3572581251485441151\",\"key\":\"2887\",\"value\":\"1449001232622716292\"},{\"hash\":\"14063835449064283419\",\"key\":\"2854\",\"value\":\"2993060675265431424\"},{\"hash\":\"391623852730908099\",\"key\":\"2851\",\"value\":\"3153017644456106991\"},{\"hash\":\"3205718279945376075\",\"key\":\"2825\",\"value\":\"4474029927980661356\"},{\"hash\":\"5096048414815471923\",\"key\":\"2878\",\"value\":\"1758390013739472498\"},{\"hash\":\"5610397972030792715\",\"key\":\"2877\",\"value\":\"1792831980557641691\"},{\"hash\":\"17725105769266632063\",\"key\":\"2876\",\"value\":\"1844275819517213380\"},{\"hash\":\"18110788707895527807\",\"key\":\"2874\",\"value\":\"1947163497436356758\"},{\"hash\":\"6679829502033554095\",\"key\":\"2871\",\"value\":\"2101495014315071825\"},{\"hash\":\"12735241937101743735\",\"key\":\"2870\",\"value\":\"2152938853274643514\"},{\"hash\":\"16479565222871590983\",\"key\":\"2832\",\"value\":\"4392466357616828188\"},{\"hash\":\"509209042831768039\",\"key\":\"2826\",\"value\":\"4727161769900371087\"},{\"hash\":\"14865841968500012807\",\"key\":\"2864\",\"value\":\"2462183675802714724\"},{\"hash\":\"14397594139751957907\",\"key\":\"2862\",\"value\":\"2568359075695258064\"},{\"hash\":\"3175438155713499011\",\"key\":\"2861\",\"value\":\"2621446775641529734\"},{\"hash\":\"3743111858659915563\",\"key\":\"2905\",\"value\":\"830318157361193220\"},{\"hash\":\"7906474527446560819\",\"key\":\"2919\",\"value\":\"349120209935564164\"},{\"hash\":\"3395566119183745379\",\"key\":\"2920\",\"value\":\"314748927976590660\"},{\"hash\":\"9627865982505873215\",\"key\":\"2922\",\"value\":\"246006364058643652\"},{\"hash\":\"10823106174335338919\",\"key\":\"2927\",\"value\":\"74149954263776132\"},{\"hash\":\"14576959305790233851\",\"key\":\"2930\",\"value\":\"1501078827184360\"}]", + "valueType": "vector<0x1::smart_table::Entry>" + } + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "hfktGfE1sOuW5yS2/c7cOF7VJt01Pk07O125jbF6xxY=", + "handle": "0x635198ef8a973c8da529ca94a6b564706137eb6c95976ba9be1144408fe300dd", + "key": "0x0400000000000000", + "data": { + "key": "\"4\"", + "keyType": "u64", + "value": "[{\"hash\":\"13957368117148321892\",\"key\":\"2917\",\"value\":\"417862773853511172\"},{\"hash\":\"17103274175787935948\",\"key\":\"2865\",\"value\":\"2410209165322501959\"},{\"hash\":\"3961966284873786052\",\"key\":\"2859\",\"value\":\"2727622175534073074\"},{\"hash\":\"3156123644161662180\",\"key\":\"2906\",\"value\":\"795946875402219716\"},{\"hash\":\"1885230201764987300\",\"key\":\"2858\",\"value\":\"2780709875480344744\"},{\"hash\":\"11315028316870889988\",\"key\":\"2843\",\"value\":\"3651660041174919567\"},{\"hash\":\"13180892770101995524\",\"key\":\"2890\",\"value\":\"1345887386745795780\"},{\"hash\":\"17903771934079922444\",\"key\":\"2842\",\"value\":\"3713990340764771139\"},{\"hash\":\"4017853663930657460\",\"key\":\"2852\",\"value\":\"3099292446001134378\"},{\"hash\":\"17515907035087595636\",\"key\":\"2850\",\"value\":\"3215347944045958563\"},{\"hash\":\"5267624967993744892\",\"key\":\"2839\",\"value\":\"3901032706646126602\"},{\"hash\":\"8003312805622600236\",\"key\":\"2830\",\"value\":\"4535460379883072155\"},{\"hash\":\"12621427593526462996\",\"key\":\"2828\",\"value\":\"4678700021562707459\"},{\"hash\":\"5148129741842146364\",\"key\":\"2925\",\"value\":\"142892518181723140\"}]", + "valueType": "vector<0x1::smart_table::Entry>" + } + } + } + ] + }, + "epoch": "6306", + "blockHeight": "159068756", + "type": "TRANSACTION_TYPE_USER", + "sizeInfo": { + "transactionBytes": 250, + "eventSizeInfo": [ + { + "typeTagBytes": 63, + "totalBytes": 119 + }, + { + "typeTagBytes": 55, + "totalBytes": 143 + }, + { + "typeTagBytes": 62, + "totalBytes": 118 + }, + { + "typeTagBytes": 61, + "totalBytes": 110 + }, + { + "typeTagBytes": 55, + "totalBytes": 199 + }, + { + "typeTagBytes": 54, + "totalBytes": 267 + }, + { + "typeTagBytes": 64, + "totalBytes": 144 + }, + { + "typeTagBytes": 63, + "totalBytes": 103 + } + ], + "writeOpSizeInfo": [ + { + "keyBytes": 87, + "valueBytes": 1062 + }, + { + "keyBytes": 84, + "valueBytes": 179 + }, + { + "keyBytes": 87, + "valueBytes": 460 + }, + { + "keyBytes": 138, + "valueBytes": 105 + }, + { + "keyBytes": 84, + "valueBytes": 147 + }, + { + "keyBytes": 87, + "valueBytes": 1038 + }, + { + "keyBytes": 66, + "valueBytes": 16 + }, + { + "keyBytes": 42, + "valueBytes": 513 + }, + { + "keyBytes": 42, + "valueBytes": 801 + }, + { + "keyBytes": 42, + "valueBytes": 769 + }, + { + "keyBytes": 42, + "valueBytes": 897 + }, + { + "keyBytes": 42, + "valueBytes": 449 + } + ] + }, + "user": { + "request": { + "sender": "0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e", + "sequenceNumber": "2", + "maxGasAmount": "5000", + "gasUnitPrice": "100", + "expirationTimestampSecs": { + "seconds": "1710836156" + }, + "payload": { + "type": "TYPE_ENTRY_FUNCTION_PAYLOAD", + "entryFunctionPayload": { + "function": { + "module": { + "address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", + "name": "voting_escrow" + }, + "name": "create_lock_entry" + }, + "arguments": [ + "\"14644184\"", + "\"52\"" + ], + "entryFunctionIdStr": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::create_lock_entry" + } + }, + "signature": { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "C6p347tOk2dMf5LH+8pX43DGbC3FdbBGid5ehIpEsU4=", + "signature": "xEZH8JL89BAFO3wBj6RA26HgkA6O707Ea2ToaYQYyZLFpgrANBMDbmsVgs53gOz2fRlPGZ1HMiKGO4ZipKmFBg==" + } + } + }, + "events": [ + { + "key": { + "creationNumber": "1125899906842626", + "accountAddress": "0xb8ed486274e5078cf814dfd5d377e95333d58593d2eba6a1aa33c1bf9f39bdab" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "fungible_asset", + "name": "WithdrawEvent" + } + }, + "typeStr": "0x1::fungible_asset::WithdrawEvent", + "data": "{\"amount\":\"14644184\"}" + }, + { + "key": { + "creationNumber": "1125899906842626", + "accountAddress": "0x30e2f18b1f9c447e7dadd7a05966e721ab6512b81ee977cb053edb86cc1b1d65" + }, + "sequenceNumber": "133444", + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x4", + "module": "collection", + "name": "MintEvent" + } + }, + "typeStr": "0x4::collection::MintEvent", + "data": "{\"index\":\"133445\",\"token\":\"0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665\"}" + }, + { + "key": { + "creationNumber": "1125899906842626", + "accountAddress": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "fungible_asset", + "name": "DepositEvent" + } + }, + "typeStr": "0x1::fungible_asset::DepositEvent", + "data": "{\"amount\":\"14644184\"}" + }, + { + "key": { + "creationNumber": "1125899906842628", + "accountAddress": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "fungible_asset", + "name": "FrozenEvent" + } + }, + "typeStr": "0x1::fungible_asset::FrozenEvent", + "data": "{\"frozen\":true}" + }, + { + "key": { + "creationNumber": "1125899906842624", + "accountAddress": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "object", + "name": "TransferEvent" + } + }, + "typeStr": "0x1::object::TransferEvent", + "data": "{\"from\":\"0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1\",\"object\":\"0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665\",\"to\":\"0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e\"}" + }, + { + "key": { + "creationNumber": "1125899906842625", + "accountAddress": "0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x4", + "module": "token", + "name": "MutationEvent" + } + }, + "typeStr": "0x4::token::MutationEvent", + "data": "{\"mutated_field_name\":\"uri\",\"new_value\":\"https://api.cellana.finance/api/v1/ve-nft/uri/@0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665\",\"old_value\":\"https://api.cellana.finance/api/v1/ve-nft/uri/\"}" + }, + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1", + "module": "voting_escrow", + "name": "CreateLockEvent" + } + }, + "typeStr": "0x4bf51972879e3b95c4781a5cdcb9e1ee24ef483e7d22f2d903626f126df62bd1::voting_escrow::CreateLockEvent", + "data": "{\"amount\":\"14644184\",\"lockup_end_epoch\":\"2880\",\"owner\":\"0xc8af29debf02369958769a77388c84a3040b9ffe9ba1f82c1c9f5c6dcb61030e\",\"ve_token\":{\"inner\":\"0xeaa02d37c4896e95813543a3df80d09863d1a4d91f3f14c02db033f2f7a3f665\"}}" + }, + { + "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\":\"37\",\"io_gas_units\":\"14\",\"storage_fee_octas\":\"62620\",\"storage_fee_refund_octas\":\"0\",\"total_charge_gas_units\":\"676\"}" + } + ] + } +} \ No newline at end of file diff --git a/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_testnet_txns/1200394037_fa_v2_frozen_event.json b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_testnet_txns/1200394037_fa_v2_frozen_event.json new file mode 100644 index 0000000000000..6cef2617fc9ea --- /dev/null +++ b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_testnet_txns/1200394037_fa_v2_frozen_event.json @@ -0,0 +1,198 @@ +{ + "timestamp": { + "seconds": "1716357172", + "nanos": 437873000 + }, + "version": "1200394037", + "info": { + "hash": "pabMqE6A7Krr8reyLenQVU5fPCg8bLyrHpUrApuYebc=", + "stateChangeHash": "DtlkgmyZW6geAKnjvKnhZHCkJZ/WZZCOYUp2zJDyk4c=", + "eventRootHash": "CjEudG9lPAm1luENwDoMcqC4+8kCnGm8SV4zrMdGtVY=", + "gasUsed": "542", + "success": true, + "vmStatus": "Executed successfully", + "accumulatorRootHash": "i9/6ZEhZbp0a3L4+sI7KDnebm7TpgZuK4ENq/sfjjjY=", + "changes": [ + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x1fff287896925cd278649c9c18ccf22e8ee879964f0284f61df4fd811574cdb4", + "stateKeyHash": "HflDyVwAgSunwzFXNO4d9FXnurKwixbmfdIxOctreLU=", + "type": { + "address": "0x1", + "module": "fungible_asset", + "name": "FungibleStore" + }, + "typeStr": "0x1::fungible_asset::FungibleStore", + "data": "{\"balance\":\"0\",\"frozen\":true,\"metadata\":{\"inner\":\"0xa0e8bee18e7ed6c7f52ff2708c367c7214083e16dc69827c0311dab87f17f554\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x1fff287896925cd278649c9c18ccf22e8ee879964f0284f61df4fd811574cdb4", + "stateKeyHash": "HflDyVwAgSunwzFXNO4d9FXnurKwixbmfdIxOctreLU=", + "type": { + "address": "0x1", + "module": "object", + "name": "ObjectCore" + }, + "typeStr": "0x1::object::ObjectCore", + "data": "{\"allow_ungated_transfer\":false,\"guid_creation_num\":\"1125899906842625\",\"owner\":\"0xbc054b63705ba1440cd48527756adc0861310658dcb3b13b13f5193d447c1f1e\",\"transfer_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x1fff287896925cd278649c9c18ccf22e8ee879964f0284f61df4fd811574cdb4\",\"creation_num\":\"1125899906842624\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc", + "stateKeyHash": "SEZHpu/ao+/OVjnlh94TfA2zw7wAkhfL+5y+apuP7bc=", + "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\":\"99580400\"},\"deposit_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc\",\"creation_num\":\"2\"}}},\"frozen\":false,\"withdraw_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc\",\"creation_num\":\"3\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc", + "stateKeyHash": "VDErejzG4QxsBn+DthVdYBZmYfF6QQgHx1D2Gq0z0vs=", + "type": { + "address": "0x1", + "module": "account", + "name": "Account" + }, + "typeStr": "0x1::account::Account", + "data": "{\"authentication_key\":\"0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc\",\"coin_register_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"4\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"3\",\"signer_capability_offer\":{\"for\":{\"vec\":[]}}}" + } + }, + { + "type": "TYPE_WRITE_TABLE_ITEM", + "writeTableItem": { + "stateKeyHash": "bkso1A+YoQamUWNTCSTA3LQME0nTqpFdEItNbPwd2xk=", + "handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca", + "key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935", + "data": { + "key": "\"0x619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935\"", + "keyType": "address", + "value": "\"19151940986583212718\"", + "valueType": "u128" + } + } + } + ] + }, + "epoch": "14987", + "blockHeight": "275972253", + "type": "TRANSACTION_TYPE_USER", + "sizeInfo": { + "transactionBytes": 256, + "eventSizeInfo": [ + { + "typeTagBytes": 56, + "totalBytes": 89 + }, + { + "typeTagBytes": 63, + "totalBytes": 103 + } + ], + "writeOpSizeInfo": [ + { + "keyBytes": 87, + "valueBytes": 246 + }, + { + "keyBytes": 138, + "valueBytes": 105 + }, + { + "keyBytes": 84, + "valueBytes": 147 + }, + { + "keyBytes": 66, + "valueBytes": 16 + } + ] + }, + "user": { + "request": { + "sender": "0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc", + "sequenceNumber": "2", + "maxGasAmount": "200000", + "gasUnitPrice": "100", + "expirationTimestampSecs": { + "seconds": "1716357192" + }, + "payload": { + "type": "TYPE_ENTRY_FUNCTION_PAYLOAD", + "entryFunctionPayload": { + "function": { + "module": { + "address": "0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc", + "name": "fa_coin" + }, + "name": "freeze_account" + }, + "arguments": [ + "\"0xbc054b63705ba1440cd48527756adc0861310658dcb3b13b13f5193d447c1f1e\"" + ], + "entryFunctionIdStr": "0x8a735d61f2c98aa97f62fa3c328b63fc97b8a7d50cd8eda633124137639ce4fc::fa_coin::freeze_account" + } + }, + "signature": { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "g9Qoh9Mpg6pujjXfi9hcwS+YAlemmhWCnHGnFYGZ920=", + "signature": "txoVzNwi/VKnzleip35V1PsJWnV44i9daXxRM9GoJ+XwUM5U2TPW4vRi7D1T9wZKR7XYwTmdGzOWGnpxbOwQBQ==" + } + } + }, + "events": [ + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "fungible_asset", + "name": "Frozen" + } + }, + "typeStr": "0x1::fungible_asset::Frozen", + "data": "{\"frozen\":true,\"store\":\"0x1fff287896925cd278649c9c18ccf22e8ee879964f0284f61df4fd811574cdb4\"}" + }, + { + "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\":\"5\",\"io_gas_units\":\"5\",\"storage_fee_octas\":\"53240\",\"storage_fee_refund_octas\":\"0\",\"total_charge_gas_units\":\"542\"}" + } + ] + } +} \ No newline at end of file diff --git a/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_testnet_txns/2646510387_concurrent_fa.json b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_testnet_txns/2646510387_concurrent_fa.json new file mode 100644 index 0000000000000..2902da875e7e0 --- /dev/null +++ b/ecosystem/indexer-grpc/indexer-test-transactions/json_transactions/imported_testnet_txns/2646510387_concurrent_fa.json @@ -0,0 +1,278 @@ +{ + "timestamp": { + "seconds": "1719872107", + "nanos": 928320000 + }, + "version": "2646510387", + "info": { + "hash": "VvFc7gtGcc6rtXm0mJNdCz8xVWjOkpdbufn9nY3g+/o=", + "stateChangeHash": "FoavXXHz4BP5+E5nKSWACXpYtAtZG54Q3bRMk5Tkzsg=", + "eventRootHash": "nKTU9+VM1fbM6IXjRjrqjAf1DO9KuQIyJ4oXjgn55FM=", + "gasUsed": "3", + "success": true, + "vmStatus": "Executed successfully", + "accumulatorRootHash": "kMmvuiVwnuFolpkvUXTDmG5jAF3tu9/WJPx9l/6lb1I=", + "changes": [ + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xa", + "stateKeyHash": "HbVEHY+kIpxYRPc/1m2krYF2y4eT2LOn9sqFhyIDAEM=", + "type": { + "address": "0x1", + "module": "coin", + "name": "PairedCoinType" + }, + "typeStr": "0x1::coin::PairedCoinType", + "data": "{\"type\":{\"account_address\":\"0x1\",\"module_name\":\"0x6170746f735f636f696e\",\"struct_name\":\"0x4170746f73436f696e\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xa", + "stateKeyHash": "HbVEHY+kIpxYRPc/1m2krYF2y4eT2LOn9sqFhyIDAEM=", + "type": { + "address": "0x1", + "module": "coin", + "name": "PairedFungibleAssetRefs" + }, + "typeStr": "0x1::coin::PairedFungibleAssetRefs", + "data": "{\"burn_ref_opt\":{\"vec\":[{\"metadata\":{\"inner\":\"0xa\"}}]},\"mint_ref_opt\":{\"vec\":[{\"metadata\":{\"inner\":\"0xa\"}}]},\"transfer_ref_opt\":{\"vec\":[{\"metadata\":{\"inner\":\"0xa\"}}]}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xa", + "stateKeyHash": "HbVEHY+kIpxYRPc/1m2krYF2y4eT2LOn9sqFhyIDAEM=", + "type": { + "address": "0x1", + "module": "fungible_asset", + "name": "ConcurrentSupply" + }, + "typeStr": "0x1::fungible_asset::ConcurrentSupply", + "data": "{\"current\":{\"max_value\":\"340282366920938463463374607431768211455\",\"value\":\"126973053239\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xa", + "stateKeyHash": "HbVEHY+kIpxYRPc/1m2krYF2y4eT2LOn9sqFhyIDAEM=", + "type": { + "address": "0x1", + "module": "fungible_asset", + "name": "Metadata" + }, + "typeStr": "0x1::fungible_asset::Metadata", + "data": "{\"decimals\":8,\"icon_uri\":\"\",\"name\":\"Aptos Coin\",\"project_uri\":\"\",\"symbol\":\"APT\"}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xa", + "stateKeyHash": "HbVEHY+kIpxYRPc/1m2krYF2y4eT2LOn9sqFhyIDAEM=", + "type": { + "address": "0x1", + "module": "object", + "name": "ObjectCore" + }, + "typeStr": "0x1::object::ObjectCore", + "data": "{\"allow_ungated_transfer\":true,\"guid_creation_num\":\"1125899906842625\",\"owner\":\"0x1\",\"transfer_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0xa\",\"creation_num\":\"1125899906842624\"}}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0xa", + "stateKeyHash": "HbVEHY+kIpxYRPc/1m2krYF2y4eT2LOn9sqFhyIDAEM=", + "type": { + "address": "0x1", + "module": "primary_fungible_store", + "name": "DeriveRefPod" + }, + "typeStr": "0x1::primary_fungible_store::DeriveRefPod", + "data": "{\"metadata_derive_ref\":{\"self\":\"0xa\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x25b7c0bcd05c7ca74dfd664345f0c7a80678eea427a73cbd0792a8ceb34f59aa", + "stateKeyHash": "MQ2IJz1AAtcfEp6xXX5UPGapVKHBZSrGPLt98jK3aRw=", + "type": { + "address": "0x1", + "module": "account", + "name": "Account" + }, + "typeStr": "0x1::account::Account", + "data": "{\"authentication_key\":\"0x25b7c0bcd05c7ca74dfd664345f0c7a80678eea427a73cbd0792a8ceb34f59aa\",\"coin_register_events\":{\"counter\":\"1\",\"guid\":{\"id\":{\"addr\":\"0x25b7c0bcd05c7ca74dfd664345f0c7a80678eea427a73cbd0792a8ceb34f59aa\",\"creation_num\":\"0\"}}},\"guid_creation_num\":\"4\",\"key_rotation_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x25b7c0bcd05c7ca74dfd664345f0c7a80678eea427a73cbd0792a8ceb34f59aa\",\"creation_num\":\"1\"}}},\"rotation_capability_offer\":{\"for\":{\"vec\":[]}},\"sequence_number\":\"35\",\"signer_capability_offer\":{\"for\":{\"vec\":[]}}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x6999cbf188405f4732f0561e196c5fdde1e057415dd16c6c9e83e30c9a0e3019", + "stateKeyHash": "gUjqdF8ZTmsnnl5i7DEz1P8yA3BY+jrp4MaWv0i3h3s=", + "type": { + "address": "0x1", + "module": "coin", + "name": "MigrationFlag" + }, + "typeStr": "0x1::coin::MigrationFlag", + "data": "{\"dummy_field\":false}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x6999cbf188405f4732f0561e196c5fdde1e057415dd16c6c9e83e30c9a0e3019", + "stateKeyHash": "gUjqdF8ZTmsnnl5i7DEz1P8yA3BY+jrp4MaWv0i3h3s=", + "type": { + "address": "0x1", + "module": "fungible_asset", + "name": "ConcurrentFungibleBalance" + }, + "typeStr": "0x1::fungible_asset::ConcurrentFungibleBalance", + "data": "{\"balance\":{\"max_value\":\"18446744073709551615\",\"value\":\"398922140\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x6999cbf188405f4732f0561e196c5fdde1e057415dd16c6c9e83e30c9a0e3019", + "stateKeyHash": "gUjqdF8ZTmsnnl5i7DEz1P8yA3BY+jrp4MaWv0i3h3s=", + "type": { + "address": "0x1", + "module": "fungible_asset", + "name": "FungibleStore" + }, + "typeStr": "0x1::fungible_asset::FungibleStore", + "data": "{\"balance\":\"0\",\"frozen\":false,\"metadata\":{\"inner\":\"0xa\"}}" + } + }, + { + "type": "TYPE_WRITE_RESOURCE", + "writeResource": { + "address": "0x6999cbf188405f4732f0561e196c5fdde1e057415dd16c6c9e83e30c9a0e3019", + "stateKeyHash": "gUjqdF8ZTmsnnl5i7DEz1P8yA3BY+jrp4MaWv0i3h3s=", + "type": { + "address": "0x1", + "module": "object", + "name": "ObjectCore" + }, + "typeStr": "0x1::object::ObjectCore", + "data": "{\"allow_ungated_transfer\":false,\"guid_creation_num\":\"1125899906842625\",\"owner\":\"0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5\",\"transfer_events\":{\"counter\":\"0\",\"guid\":{\"id\":{\"addr\":\"0x6999cbf188405f4732f0561e196c5fdde1e057415dd16c6c9e83e30c9a0e3019\",\"creation_num\":\"1125899906842624\"}}}}" + } + } + ] + }, + "epoch": "15988", + "blockHeight": "305131416", + "type": "TRANSACTION_TYPE_USER", + "sizeInfo": { + "transactionBytes": 363, + "eventSizeInfo": [ + { + "typeTagBytes": 58, + "totalBytes": 98 + }, + { + "typeTagBytes": 63, + "totalBytes": 103 + } + ], + "writeOpSizeInfo": [ + { + "keyBytes": 87, + "valueBytes": 687 + }, + { + "keyBytes": 84, + "valueBytes": 147 + }, + { + "keyBytes": 87, + "valueBytes": 391 + } + ] + }, + "user": { + "request": { + "sender": "0x25b7c0bcd05c7ca74dfd664345f0c7a80678eea427a73cbd0792a8ceb34f59aa", + "sequenceNumber": "34", + "maxGasAmount": "2000000", + "gasUnitPrice": "100", + "expirationTimestampSecs": { + "seconds": "1719872167" + }, + "payload": { + "type": "TYPE_ENTRY_FUNCTION_PAYLOAD", + "entryFunctionPayload": { + "function": { + "module": { + "address": "0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5", + "name": "fungible_asset_example" + }, + "name": "no_op" + }, + "entryFunctionIdStr": "0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5::fungible_asset_example::no_op" + } + }, + "signature": { + "type": "TYPE_FEE_PAYER", + "feePayer": { + "sender": { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "VziK/IJj+PPrcfMXXfTQNNHQLdaG2ojBaFKMUCRKFWM=", + "signature": "0FCGu116FDfHkizZP0LL2fI+U43YasHax1GoQLr53M/WjUxmeGPLajMbJfRD/Lf0n2k61MxxtkznNyvVUo4qCg==" + } + }, + "feePayerAddress": "0x75fc2a90fa8ef566ddc3d82e84944eb886415bc19226ae1d88d5e7577aec1be5", + "feePayerSigner": { + "type": "TYPE_ED25519", + "ed25519": { + "publicKey": "A6Evbtg/K7iABytRfJw52F4dptiQ/uctGQnBLGvmoa0=", + "signature": "bT8uO7T2dWUgPQqcbNR6a3Vaihiq1itfcfA2tXGqCwEwf5+kcKJ1TtAtvA245BQ3JXar/4Pnib7zbeumRVpMDA==" + } + } + } + } + }, + "events": [ + { + "key": { + "accountAddress": "0x0" + }, + "type": { + "type": "MOVE_TYPES_STRUCT", + "struct": { + "address": "0x1", + "module": "fungible_asset", + "name": "Withdraw" + } + }, + "typeStr": "0x1::fungible_asset::Withdraw", + "data": "{\"amount\":\"300\",\"store\":\"0x6999cbf188405f4732f0561e196c5fdde1e057415dd16c6c9e83e30c9a0e3019\"}" + }, + { + "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\":\"3\",\"io_gas_units\":\"1\",\"storage_fee_octas\":\"0\",\"storage_fee_refund_octas\":\"0\",\"total_charge_gas_units\":\"3\"}" + } + ] + } +} \ No newline at end of file