---
# System prepended metadata

title: Rite of Moloch - UI Documentation

---

# Rite of Moloch - UI Documentation

## Preface

This document covers the UI components of the RiteOfMoloch dAppp:

1. Stake to mint Soul Bound Token (SBT)
2. Sponsor another Initiate
3. Claim staked assets back for successful members
4. Cohort Proxy Factory UI

## Overview

RaidGuild is introducing an open source staking and Soulbound Token cohort dApp; for asynchronous cohort onboarding.

Cohort initiates will be required to stake RAID in exchange for a Soulbound Token (SBT) representing Cohort status.

## UX Flow

### Welcome Screen (all users)
![](https://i.imgur.com/aSNTUex.jpg)
>All users will see the same pre-wallet connection interface.


This welcome screen contains:
1. A button linking to documentation
2. A wallet connect button

### Cohort Initiate Experience Overview

1. RTFM - Cohorts and interested parties should use the link to documentation and familiarize themselves with the product.
2. Connect Wallet
3. Approve staking asset (current contract requires 5000 RAID; can be set to any ECR20 token and amount.)
4. Stake
5. Receive SBT



### Post-wallet connect Screen

![](https://i.imgur.com/mFPGnx0.jpg)

This screen is comprised of:
1. Required stake amount
2. Wallet balance of staking asset
3. Your allowance of staking asset 
4. Button to Approve required amount of staking asset
5. Checkbox to sponsor another cohort member
    - If selected, requires the members wallet address


### Post-Approval Screen
![](https://i.imgur.com/2iVrrNF.png)

1. Shows asset allowance
2. Ability to stake approved tokens
3. Ability to Sponsor an Initiate

### Post-Stake Screen
![](https://i.imgur.com/vkD6TLp.png)

This screen is comprised of:

1. Token image
2. Tagline showing the Cohort's stake for 1 RITE
3. Deadline to reach RaidGuild Membership to prevent slashing (Slashing allows DAO members to claim staked assets of a failed initiate.)
4. Countdown timer which corresponds to Deadline
5. Option to Sponsor an Initiate

	

### Sponsor an Initiate

![](https://i.imgur.com/9qAh4iJ.png)

Similar to the Cohort Initiate staking:
1. Connect Wallet
2. Approve required amount of staking asset
3. Choose sponsor an Initiate
4. Enter the Sponsored initiate's wallet address
5. Stake

## Claim stake tokens back UI

![](https://i.imgur.com/vV5B2mq.png)


After the cohort initiate becomes a RaidGuild member, they have the ability to reclaim their staked assets.
  
In the dApp, if the connected wallet meets the DAO membership criteria, and they have unclaimed stake, they are presented with a Claim Stake button.

After stake has been claimed, the UI should no longer show a timer countdown or the option to claim the stake back.  Instead, the Soulbound token can remain and a message of their status to the effect of:
    
“You have proven yourself worthy.  Your stake has been returned.  But your journey is just beginning.  Now slay with the best of them.”

## Cohort Proxy Factory UI


### Provides the ability to deploy a new RiteOfMoloch contract for your own DAO cohort.

Upon navigating to the Deploy Cohort dApp, you are presented with a button to "DEPLOY YOUR OWN COHORT"
![](https://i.imgur.com/PWwAKLV.png)


### Deploy Cohort Parameters
    
![](https://i.imgur.com/F1tkv2e.jpg)

After wallet connection the following parameters are required in order to initialize a RiteOfMoloch contract:

**Membership criteria contract Address** - The contract address used to ascertain cohort completion.
    
**Staking Token Asset Address** - Contract address for the token required to be staked to join the Cohort.
    
**Treasury Address** - The address which holds staked assets and receives assets when initiates are slashed.
    
**Threshold (shares required)**  - The minimum amount of required assets which constitutes DAO membership.
    
**BaseURI for Soulbound token** - The URI assigned for Soulbound token metadata.
    
**Duration** - The duration of time, after a initiate stakes, in which they have to become a DAO member before their stake can be slashed. (length represented in second)
    
**Name for SBT** - the name for the Soulbound token.
    
**Token Symbol** - The ticker symbol for cohort’s Soulbound token.
    
**Minimum staked asset to join Cohort** - The minimum required amount of staking asset required to join the cohort. 



