#controllers #contracts #terp #reuse

terp-code-controllers

Common controllers we can reuse in many contracts

1 unstable release

0.1.0 Dec 7, 2023

#7 in #terp

Apache-2.0

14KB
189 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.

Dependencies

~4.5–6MB
~135K SLoC