47 releases (27 stable)

3.14.0 Jun 4, 2024
3.7.0 Feb 13, 2024
3.3.0 Oct 11, 2023
3.0.0 Jul 2, 2023
0.21.1 Oct 26, 2022

#1617 in Magic Beans

21 downloads per month
Used in 4 crates (via test-suite)

Apache-2.0

21KB
415 lines

Stargaze Splits

A contract that distributes funds to a cw4-group based on their weights.

How to create a split

Step 1: Instantiate a group contract with members and weights

Weights should be sufficiently large to allow for more granularity in payment distribution.

Step 2: Instantiate a splits contract with the group contract.

How to use splits for Launchpad payments

Use the split contract address for the payment address.

How to use splits for Marketplace payments (royalties)

Use the split contract for the royalty payment address.

Dependencies

~5–6.5MB
~139K SLoC