Skip to content

Issue 3 — No events emitted anywhere #3

Description

@Junman140

Labels: security, interoperability, priority:high
Body:

Problem
mint, burn, transfer, transfer_from, and approve in both wpi-token and (pre-removal) mock-usdc emit no events. Wallets, explorers, and any future indexer/relayer confirmation logic cannot observe token activity on-chain.
Proposed fix
Add env.events().publish(...) calls matching the conventional ("transfer", from, to), ("mint", admin, to), ("burn", admin, from), ("approve", from, spender) topic/data shape used by other Soroban token contracts, so block explorers (StellarExpert) and wallets render history correctly.
Acceptance criteria

Every state-mutating function emits an event
Event shape verified against StellarExpert/Freighter rendering on testnet

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions