Factory
Nomos multisignature factory
Usually we can deploy many contracts instances on cosmos chains without a factory. The difference with our factory is that it sets special configuration that our project needs, including our custom indexer that listens to this contract.
Overview
Our factory contract is very simple. We use it to update the version of the wallet and create more of them. It only receives a single message.
Functions and Methods
Here are the primary functions and methods provided by the Nomos Factory:
CreateMultisig
CreateMultisig
This message instantiates a multi-signature wallet. Anyone can send this message.
Parameters:
members
: Members of the new multisig wallet.min_approval
: Minimum approval to execute a proposal.
UpdateMultisig
UpdateMultisig
This message only updates the code_id of the wallet. The factory stores the code_id of the wallet and uses it to upload the next version of the multisig. Only the factory deployer can send this message.
Last updated