Structure
Introduction
The contracts that form the Super Accounts are designed to provide a secure, flexible, and user-friendly experience for managing account operations across different chains in the Cosmos ecosystem. At the core of our contract suite is an adherence to the CW3 spec from CosmWasm, which sets a standard for multisig contracts by defining a clear specification for their behavior and interaction patterns.
Understanding CW3 Flex
The CW3 Flex is a specification from CosmWasm that outlines a standard for multisig wallets. It allows a group of users to collectively manage resources or permissions in a decentralized manner. In essence, the CW3 spec provides a framework where:
Proposals can be made by members of the multisig.
Voting on proposals is conducted according to predefined rules.
Execution of the proposal happens once it meets the criteria defined by the wallet's governance structure.
This framework not only enhances security by requiring multiple signatories for critical actions but also introduces a democratic approach to decision-making within decentralized applications. You can read more about the CW3 flex specifications here.
You can still use all the features and benefits of Super Accounts without having many members for them.
Contract Components
Our Super Accounts implement and extends the CW3 Flex spec to cater to the specific needs of the Cosmos ecosystem. Below are the key components of the account system:
Wallet
The wallet contract is the central piece that coordinates the Super Account functionalities. It holds assets and, upon successful voting, executes the actions decided by the wallet members.
Modules
Voting
The voting module is an essential part of the Super Account system. It defines how proposals are made, voted on, and how decisions are reached. The module is flexible, allowing for various voting mechanisms and quorum requirements based on the wallet's setup. Still, the voting module can be replaced for other modules as long as it fulfills the message schema defined by the cw3 spec.
Membership
The membership contract manages the list of members in the Super Account, along with their voting weights. It allows for dynamic adjustments to the membership, accommodating the evolving nature of the wallet's governance, it can be extended to work on different ways such as members by token (like a dao!).
Membership Contract Documentation
Additional Contracts
Beyond the core CW3-spec contracts, our Super Account includes additional contracts that enhance its functionality and integration capabilities within the Cosmos ecosystem:
Factory
The factory contract is responsible for creating new instances of the Super Account. It allows users to deploy their accounts with custom parameters and configurations in a single transaction. Allows for creation of interchain accounts and authz permissions.
Factory Contract Documentation
CW ICA Controller
The CW ICA (Interchain Account) Controller contract facilitates operations across different chains, enabling the Super Account to interact with various blockchain protocols within the Cosmos network. This interaction can be done from a host chain without using the native coin of the target chain.
CW ICA Controller Documentation
Through this suite of contracts, the Super Account aims to provide a comprehensive, secure, and adaptable solution for operations in the Cosmos ecosystem. Each contract plays a pivotal role in ensuring that the wallet's functionality aligns with the needs of its users, offering a robust platform for decentralized governance and asset management.
Last updated