Fee split
AutoRedeemQueue
Shared object for users who opted into batch redemption. The resolver keeper reads opted-in entries on expiry and settles them in batch (one PTB per position to isolate aborts).distribute_fees<COLLATERAL>
gross into 4 parts: protocol fee, resolver fee, creator fee, net. Transfers the three fees to their respective addresses and returns the net coin for the caller to forward to the user.
Emits SettlementEvent { market_link_id, resolver, total_winners_redeemed, gross_payout, protocol_fee, resolver_fee, creator_fee }.
Tests
tests/settlement_tests.move. Verifies the 2% total fee invariant from BP constants.