Is it guaranteed that protocol-funded value must originate from shared objects? #27295
mashahabi15
started this conversation in
General
Replies: 0 comments
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.
Hi Sui team,
I'm implementing a blockchain indexer that should detect only sender-funded wallet transfers while avoiding protocol interactions (DEXs, staking, bridges, reward claims, etc.).
I'm considering the following invariant:
transaction succeeds
no shared object inputs
recipient gains supported coins (balanceChanges)
sender loses the corresponding value (after gas/storage adjustment)
Is it guaranteed by Sui's object model that, if a transaction has no shared object inputs, every transferable coin credited to another address must ultimately originate from the transaction sender (or owned objects they provided)?
Or are there other ownership models (e.g. object-owned objects, party objects, future protocol features, etc.) that could legitimately fund a recipient without involving a shared object?
In other words, is "no shared object involvement" a sound provenance filter for excluding DEX swaps, bridge withdrawals, staking rewards, protocol payouts, and similar interactions?
Thanks!
All reactions