Skip to content

msg.sender within event DepositForBurn can be misleading  #65

@0xhowen

Description

@0xhowen

Request: Add tx.origin to DepositForBurn event for more transparency

Currently, the DepositForBurn event only emits msg.sender as the depositor. When a user initiates a transaction on a third party protocol, that protocol burn tokens on behalf of users (DEX aggregators, DeFi protocols, etc.), this shows the protocol address but not the end user.

Suggestion: Add tx.origin as an additional field like originalSender or initiator to provide more transparency about who ultimately initiated the cross-chain transfer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions