Summary
Distributing a dividend to a creator with zero total supply is meaningless and should revert to prevent XLM being locked in the contract with no holders to claim it.
Scope
- Register a creator but do not buy any keys (total supply remains zero)
- Attempt to call
distribute_dividend and assert it reverts with a descriptive error
- Assert no XLM was transferred from the caller
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
Distributing a dividend to a creator with zero total supply is meaningless and should revert to prevent XLM being locked in the contract with no holders to claim it.
Scope
distribute_dividendand assert it reverts with a descriptive errorAcceptance Criteria
ETA: 12 hours
Coordinate on Telegram