Skip to content

feat: add co-creator revenue splits (#516)#531

Open
nomsoscript wants to merge 1 commit into
accesslayerorg:mainfrom
nomsoscript:fix/co-creator-revenue-split-516
Open

feat: add co-creator revenue splits (#516)#531
nomsoscript wants to merge 1 commit into
accesslayerorg:mainfrom
nomsoscript:fix/co-creator-revenue-split-516

Conversation

@nomsoscript

Copy link
Copy Markdown

Closes #516

Changes

  • Added optional immutable CoCreatorConfig support during creator registration.
  • Validates co-creator share_bps to require 1..=9999.
  • Splits creator fees on buy and sell between the creator fee recipient and co-creator.
  • Added get_co_creator and get_co_creator_fee_balance read methods.
  • Emits CoCreatorFeeEarned when a co-creator receives a fee.
  • Added focused tests for valid splits, invalid shares, events, config reads, and default no-co-creator behavior.

Testing

  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add co-creator revenue split so teams can share creator fees automatically on every trade

2 participants