Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate ANS Transactions #15163

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -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\"]}"
}
]
}
}
Loading
Loading