45 releases (25 stable)

new 3.12.0 Apr 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

#252 in Magic Beans

Download history 9/week @ 2024-01-15 7/week @ 2024-01-22 76/week @ 2024-02-12 4/week @ 2024-02-19 134/week @ 2024-02-26 5/week @ 2024-03-04 489/week @ 2024-03-11 669/week @ 2024-04-01

1,159 downloads per month
Used in 4 crates (via test-suite)

Apache-2.0

20KB
401 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–5.5MB
~121K SLoC