0x1::aptos_account::transfer transaction exist 0x1::coin::DepositEvent event #748
Unanswered
18216151611
asked this question in
Questions
Replies: 1 comment
-
instead of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Discord user ID
No response
Describe your question in detail.
Why is there
0x1::coin::DepositEvent
event for this transaction?FA has been enabled and I don't know why this event still occurs, can you give me the reason?
https://github.com/aptos-labs/aptos-core/blob/main/aptos-move/framework/aptos-framework/sources/aptos_account.move#L83
https://fullnode.mainnet.aptoslabs.com/v1/transactions/by_hash/0x1f3dab4d902bed0003070ef41ce494d3dfe9bdc28846962f40afd895c2eedd32
{
"version": "3135578477",
"hash": "0x1f3dab4d902bed0003070ef41ce494d3dfe9bdc28846962f40afd895c2eedd32",
"state_change_hash": "0x12b06c8e05bfd5d9c666464cf03bd62e9421b7a0da1d3e621220e453c9d9e9a1",
"event_root_hash": "0xf25f1fbfb1cfb5b8c48f602476e30980b4685b3b32686d20d66caf6fbd98ca1b",
"state_checkpoint_hash": null,
"gas_used": "15",
"success": true,
"vm_status": "Executed successfully",
"accumulator_root_hash": "0xf6ea9b1fbd0cbeecc7b01117f6f94e2d4573d229d19934a4c55ab5e76cb400bd",
"changes": [
{
"address": "0xa",
"state_key_hash": "0x1db5441d8fa4229c5844f73fd66da4ad8176cb8793d8b3a7f6ca858722030043",
"data": {
"type": "0x1::coin::PairedCoinType",
"data": {
"type": {
"account_address": "0x1",
"module_name": "0x6170746f735f636f696e",
"struct_name": "0x4170746f73436f696e"
}
}
},
"type": "write_resource"
},
{
"address": "0xa",
"state_key_hash": "0x1db5441d8fa4229c5844f73fd66da4ad8176cb8793d8b3a7f6ca858722030043",
"data": {
"type": "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": "write_resource"
},
{
"address": "0xa",
"state_key_hash": "0x1db5441d8fa4229c5844f73fd66da4ad8176cb8793d8b3a7f6ca858722030043",
"data": {
"type": "0x1::fungible_asset::ConcurrentSupply",
"data": {
"current": {
"max_value": "340282366920938463463374607431768211455",
"value": "3824633733917988"
}
}
},
"type": "write_resource"
},
{
"address": "0xa",
"state_key_hash": "0x1db5441d8fa4229c5844f73fd66da4ad8176cb8793d8b3a7f6ca858722030043",
"data": {
"type": "0x1::fungible_asset::Metadata",
"data": {
"decimals": 8,
"icon_uri": "",
"name": "Aptos Coin",
"project_uri": "",
"symbol": "APT"
}
},
"type": "write_resource"
},
{
"address": "0xa",
"state_key_hash": "0x1db5441d8fa4229c5844f73fd66da4ad8176cb8793d8b3a7f6ca858722030043",
"data": {
"type": "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": "write_resource"
},
{
"address": "0xa",
"state_key_hash": "0x1db5441d8fa4229c5844f73fd66da4ad8176cb8793d8b3a7f6ca858722030043",
"data": {
"type": "0x1::primary_fungible_store::DeriveRefPod",
"data": {
"metadata_derive_ref": {
"self": "0xa"
}
}
},
"type": "write_resource"
},
{
"address": "0x1845957c9ac924ff66305be5efa5870223b08bd12004758716c3dc5c533d8430",
"state_key_hash": "0xf817c3b5d8b207f9227b5c61f211111c5aaff6030e244f12a133896859b732a9",
"data": {
"type": "0x1::account::Account",
"data": {
"authentication_key": "0x1845957c9ac924ff66305be5efa5870223b08bd12004758716c3dc5c533d8430",
"coin_register_events": {
"counter": "0",
"guid": {
"id": {
"addr": "0x1845957c9ac924ff66305be5efa5870223b08bd12004758716c3dc5c533d8430",
"creation_num": "0"
}
}
},
"guid_creation_num": "2",
"key_rotation_events": {
"counter": "0",
"guid": {
"id": {
"addr": "0x1845957c9ac924ff66305be5efa5870223b08bd12004758716c3dc5c533d8430",
"creation_num": "1"
}
}
},
"rotation_capability_offer": {
"for": {
"vec": []
}
},
"sequence_number": "2",
"signer_capability_offer": {
"for": {
"vec": []
}
}
}
},
"type": "write_resource"
},
{
"address": "0x4d341d19da4a7114dc4512322a2bde1fea1a3f532fa6dac783df502c52118f9b",
"state_key_hash": "0x0ae4cec0eff4be26e8375cb04642a6f4df977b60c8b452fb5b3c45196d5770f8",
"data": {
"type": "0x1::fungible_asset::FungibleStore",
"data": {
"balance": "5900",
"frozen": false,
"metadata": {
"inner": "0xa"
}
}
},
"type": "write_resource"
},
{
"address": "0x4d341d19da4a7114dc4512322a2bde1fea1a3f532fa6dac783df502c52118f9b",
"state_key_hash": "0x0ae4cec0eff4be26e8375cb04642a6f4df977b60c8b452fb5b3c45196d5770f8",
"data": {
"type": "0x1::object::ObjectCore",
"data": {
"allow_ungated_transfer": false,
"guid_creation_num": "1125899906842625",
"owner": "0x1845957c9ac924ff66305be5efa5870223b08bd12004758716c3dc5c533d8430",
"transfer_events": {
"counter": "0",
"guid": {
"id": {
"addr": "0x4d341d19da4a7114dc4512322a2bde1fea1a3f532fa6dac783df502c52118f9b",
"creation_num": "1125899906842624"
}
}
}
}
},
"type": "write_resource"
},
{
"address": "0x51c6abe562e755582d268340b2cf0e2d8895a155dc9b7a7fb5465000d62d770b",
"state_key_hash": "0x760924cf14cb24ba6dd8541f6ae9d651431870d337e296ed287f56b88602bd96",
"data": {
"type": "0x1::coin::CoinStore<0x1::aptos_coin::AptosCoin>",
"data": {
"coin": {
"value": "156191800214"
},
"deposit_events": {
"counter": "34",
"guid": {
"id": {
"addr": "0x51c6abe562e755582d268340b2cf0e2d8895a155dc9b7a7fb5465000d62d770b",
"creation_num": "2"
}
}
},
"frozen": false,
"withdraw_events": {
"counter": "1",
"guid": {
"id": {
"addr": "0x51c6abe562e755582d268340b2cf0e2d8895a155dc9b7a7fb5465000d62d770b",
"creation_num": "3"
}
}
}
}
},
"type": "write_resource"
},
{
"state_key_hash": "0x6e4b28d40f98a106a65163530924c0dcb40c1349d3aa915d108b4d6cfc1ddb19",
"handle": "0x1b854694ae746cdbd8d44186ca4929b2b337df21d1c74633be19b2710552fdca",
"key": "0x0619dc29a0aac8fa146714058e8dd6d2d0f3bdf5f6331907bf91f3acd81e6935",
"value": "0x85f14e432b2691010000000000000000",
"data": null,
"type": "write_table_item"
}
],
"sender": "0x1845957c9ac924ff66305be5efa5870223b08bd12004758716c3dc5c533d8430",
"sequence_number": "1",
"max_gas_amount": "37",
"gas_unit_price": "100",
"expiration_timestamp_secs": "1753734736",
"payload": {
"function": "0x1::aptos_account::transfer",
"type_arguments": [],
"arguments": [
"0x51c6abe562e755582d268340b2cf0e2d8895a155dc9b7a7fb5465000d62d770b",
"41947716"
],
"type": "entry_function_payload"
},
"signature": {
"public_key": "0xddcd1bbda36fa40bcffcc0d9a42978ec38cf27552abfba922b6f857d2d383806",
"signature": "0xdfcf6f8d51c3ab578c98ad16e78d9bb9fad517e5e80a89a7026199f31aaba7b1ecd765ffd0be163af67fde1021055852308821c9a37c09477926310b4cf2d001",
"type": "ed25519_signature"
},
"replay_protection_nonce": null,
"events": [
{
"guid": {
"creation_number": "0",
"account_address": "0x0"
},
"sequence_number": "0",
"type": "0x1::fungible_asset::Withdraw",
"data": {
"amount": "41947716",
"store": "0x4d341d19da4a7114dc4512322a2bde1fea1a3f532fa6dac783df502c52118f9b"
}
},
{
"guid": {
"creation_number": "2",
"account_address": "0x51c6abe562e755582d268340b2cf0e2d8895a155dc9b7a7fb5465000d62d770b"
},
"sequence_number": "33",
"type": "0x1::coin::DepositEvent",
"data": {
"amount": "41947716"
}
},
{
"guid": {
"creation_number": "0",
"account_address": "0x0"
},
"sequence_number": "0",
"type": "0x1::transaction_fee::FeeStatement",
"data": {
"execution_gas_units": "6",
"io_gas_units": "10",
"storage_fee_octas": "0",
"storage_fee_refund_octas": "0",
"total_charge_gas_units": "15"
}
}
],
"timestamp": "1753731137994092",
"type": "user_transaction"
}
What error, if any, are you getting?
No response
What have you tried or looked at? Or how can we reproduce the error?
No response
Which operating system are you using?
macOS
Which SDK or tool are you using? (if any)
TypeScript SDK
Describe your environment or tooling in detail
No response
Beta Was this translation helpful? Give feedback.
All reactions