How to create a vault: Manually
Prerequisites
Creating a vault - Guide
Step 1: Define Vault Parameters
Step 2: Deploy the vault
Step 2.1: Prepare the Parameters
Before deployment, you need to prepare the following parameters:
All these parameters need values (marked as "TODO" in your reference image).
Step 2.2: Clone the Repository
Navigate to the specific branch of the Moolah repository:
git clone https://github.com/lista-dao/moolah.git
git clone https://github.com/lista-dao/moolah.gitStep 2.3 Fill in the params
Step 2.4: Execute the Deployment Script
Make sure you have sufficient funds in your wallet to cover gas fees and that your environment is properly configured for Foundry.
Step 3: Configure the Vault
3.1 Set Fee
3.2 Set Fee Recipient
3.3 Set Skim Recipient
3.4 Set Market Supply Cap
3.5 Set Deposit Queue
3.6 Update Withdraw Queue
3.7 Set Market Removal
3.8 Role Management
3.8.1 Grant Role
3.8.2 Revoke Role
Step 4: Deploy the TimeLock
4.1: Prepare Parameters
4.2: Deploy the Timelock Contract
4.3: Fill in the params
Step 5: Verify and Activate
Post-Deployment Management
Last updated
Was this helpful?