Module abstract_os::os_factory

source ·
Expand description

Os Factory

abstract_os::os_factory handles OS creation and registration.

Description

The OS factory instantiates a new OS instance and registeres it with the crate::version_control contract. It then forwards the payment to the main os’s subscription module.

Create a new OS

Call ExecuteMsg::CreateOs on this contract along with a crate::objects::gov_type and name you’d like to display on your OS.

Modules

Structs

Enums