@pwngh/economy-lab
    Preparing search index...

    Type Alias Recipient

    One party who gets a cut of a sale. The platform's fee comes off the top (platformFeeBps); shareBps is each recipient's basis points of the post-fee net (100 bps = 1%), and the shares must sum to exactly 10,000 — the platform never keeps an unclaimed remainder.

    type Recipient = {
        sellerId: string;
        shareBps: number;
    }
    Index
    sellerId: string

    The seller this share belongs to; the sale credits their earned wallet.

    shareBps: number

    This recipient's basis points of the post-fee net (100 bps = 1%); all shares sum to 10,000.