# Week 3 – Advanced Operations

#### !!! CURRENTLY ON HOLD PENDING UPDATES !!!

#### Quest 1: Emergency Withdrawal (Special Powers) (10 minutes)

**What you're doing:** Using a special "emergency" withdrawal that doesn't need guardian approval.

**Important:** This ONLY works for assets that aren't protected by guardians. The test tokens you've been using ARE protected, so we need to get different tokens.

**The Scenario:** You find an airdropped token in your vault that's not on the guardian-protected list. You want to withdraw it quickly without waiting for approvals.

**Setup:**

1. Go to the Multiminter page
2. Look for "Mint Non-Whitelisted Token" (this is a special token NOT protected)
3. Mint one to your wallet
4. Deposit it into your vault (yes, you can deposit unprotected tokens!)

<br>

**Emergency Withdrawal:**

5. Go to vault dashboard
6. Click "Emergency Withdraw" (might be under "Advanced")
7. Select the non-whitelisted token
8. Click "Emergency Withdraw All"
9. Approve transaction
10. Tokens return immediately - no guardian approval needed!

**Try this - it should FAIL:**

11. Try to emergency withdraw Token A (a protected token)
12. You'll get an error - protected tokens can't use emergency withdrawal
13. This is good! It means your main assets are always safe

**✅ Quest Complete! You know how emergency features work.**

***

#### Quest 2: Batch Operations (Multiple NFTs at Once) (15 minutes)

**What you're doing:** Depositing and withdrawing multiple NFTs in a single transaction to save gas fees.<br>

**First, get more NFTs:**

1. Go to Multiminter
2. Mint your NFT 3-5 times (you'll get token IDs #1, #2, #3, etc.)
3. Check your wallet - you should see multiple NFTs

**Batch Deposit:**

4. Click "Deposit" on your vault
5. Select the NFT collection
6. You'll see checkboxes for each NFT
7. Check 3 NFTs (select #1, #2, #3)
8. Click "Deposit Selected"
9. Approve transaction
10. All 3 NFTs move to your vault in ONE transaction!

**Batch Withdrawal:**

11. Request to withdraw multiple NFTs
12. Select 3 NFTs from your vault
13. Request the batch withdrawal
14. Get guardian approvals (2 needed)
15. Execute - all 3 come out at once<br>

**Test the limit:**

16. Try to select more than 5 NFTs at once
17. System should warn you or limit the selection
18. This prevents gas limit issues<br>

**✅ Quest Complete! You're saving gas with batch operations.**

***

#### Quest 3: Create a Maximum Security Vault (20 minutes)

**What you're doing:** Creating a vault with the maximum number of guardians (10) and custom security settings.

**Why 10 guardians:** For extremely valuable assets, you might want 10 different trusted parties all watching over things.

**Custom Security Per Action:**

1. Click "Create New Vault" (yes, you can have multiple vaults!)
2. Enter 10 guardian addresses:
3. Use different wallets you control, or
4. Coordinate with 9 friends for a real test
5. Each address must be unique
6. Set the security level: "7 out of 10"
7. This means 7 guardians must approve actions
8. This is high security but not impossible
9. Create the vault
10. Deposit some test assets into this new vault<br>

**Now let's set different rules for different actions:**

6. Go to "Advanced Security Settings"
7. Find "Custom Action Thresholds"
8. For Withdrawals: Set to "8 out of 10" (very high security)
9. For Transfers: Set to "6 out of 10" (slightly lower)
10. For Adding Guardians: Set to "9 out of 10" (almost everyone must agree)
11. Save these settings (needs current guardian approval)

**Test it:**

12. Try to request a withdrawal - you'll need 8 approvals
13. Try to request a transfer - you'll only need 6 approvals<br>

**✅ Quest Complete! You've mastered maximum security configurations.**

***

#### Quest 4: The Queue Challenge (Complex Scenario) (25 minutes)

**What you're doing:** Submitting multiple requests at once and managing a queue of pending actions.

**The Scenario:** You want to do several things with your vault, and you submit them all at once.<br>

1. Submit Request #1: Withdraw 50 Token A
2. Submit Request #2: Send 30 Token B to a friend
3. Submit Request #3: Add a new guardian
4. Submit Request #4: Change security threshold
5. Submit Request #5: Withdraw an NFT

**You now have 5 pending requests!**

6. Go to "Pending Requests" page
7. You'll see all 5 listed with their status<br>

**Understanding the Queue:**

* Requests are numbered (ID #1, #2, #3, etc.)
* They normally execute in order (first approved, first executed)
* Some emergency actions can "skip the line"<br>

**Approval Strategy:**

8. Get Request #3 approved first (add guardian)
9. Switch to guardians
10. Approve Request #3
11. Execute it
12. Now approve Request #1 (withdraw tokens)
13. Get guardian approvals
14. Execute
15. Cancel Request #2 (send to friend) using disapproval
16. Have guardians vote to disapprove
17. It gets cancelled
18. Let Request #4 expire (just leave it for 7 days - we won't wait, just understand it will)
19. Approve Request #5 last<br>

**What you learned:**

* You can have many pending requests
* They can be approved in any order for some actions
* You can cancel requests with disapproval
* You can let requests expire naturally

**✅ Quest Complete! You're a queue management expert.**

***

#### Quest 5: Check Your Vault Balances (5 minutes)

**What you're doing:** Using the balance checker to see everything in your vault.<br>

1. Click "View All Balances" or "Balance Sheet"
2. You'll see a complete list:
3. All Token A balance
4. All Token B balance
5. All NFTs (with token IDs)
6. All Collectibles
7. Compare to blockchain explorers - should match!
8. Take a screenshot - this is your vault inventory

**✅ Quest Complete! You can audit your vault anytime.**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.globalgold.finance/global-gold-1/product-mission-i-the-global-gold-vaults/week-3-advanced-operations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
