48 releases (28 stable)

3.15.0 Oct 1, 2024
3.14.0 Jun 4, 2024
3.13.0 Apr 26, 2024
3.7.0 Feb 13, 2024
0.21.1 Oct 26, 2022

#2 in #instantiate

47 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

~4–6MB
~126K SLoC