65 releases (28 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.12.2 Jul 25, 2022

#1558 in Magic Beans

45 downloads per month
Used in 6 crates (4 directly)


96 lines

SG Controllers: Common controllers for many contracts

This is a collection of "controllers" that we end up reimplementing in many contracts. I use the word "controller" similar to the MVC framework style, where it is an element that encapsulated business logic and data access. We can also directly handle some ExecuteMsg and QueryMsg variants by adding a sub-router to these controllers.

This work is derived from cw-plus.


~121K SLoC