Skip to content

Conversation

saurabh-7797
Copy link

  • Track initial deposit amounts from all vaults
  • Support Base chain with 112 vaults discovered
  • Total volume: 1.04M USDC (613 rebalances + 43 withdrawals + 4.59K initial deposits)

NOTE

Please enable "Allow edits by maintainers" while putting up the PR.


  • If you would like to add a tvl adapter please submit the PR here.
  1. Once your adapter has been merged, it takes time to show on the UI. If more than 24 hours have passed, please let us know in Discord.
  2. Please fill the form below only if the PR is for listing a new protocol else it can be ignored/replaced with reason/details about the PR
  3. For updating listing info It is a different repo, you can find your listing in this file: https://github.com/DefiLlama/defillama-server/blob/master/defi/src/protocols/data4.ts, you can edit it there and put up a PR
  4. Do not edit/push poackage.json/package-lock.json file as part of your changes
  5. No need to go to our discord/other channel and announce that you've created a PR, we monitor all PRs and will review it asap

Name (to be shown on DefiLlama):
Twitter Link:
List of audit links if any:
Website Link:
Logo (High resolution, will be shown with rounded borders):
Current TVL:
Treasury Addresses (if the protocol has treasury)
Chain:
Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed): (https://api.coingecko.com/api/v3/coins/list)
Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed): (https://api.coinmarketcap.com/data-api/v3/map/all?listing_status=active,inactive,untracked&start=1&limit=10000)
Short Description (to be shown on DefiLlama):
Token address and ticker if any:
Category (full list at https://defillama.com/categories) *Please choose only one:
Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.):
Implementation Details: Briefly describe how the oracle is integrated into your project:
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage:
forkedFrom (Does your project originate from another project):
methodology (what is being counted as tvl, how is tvl being calculated):
Github org/user (Optional, if your code is open source, we can track activity):

- Track initial deposit amounts from all vaults
- Support Base chain with 112 vaults discovered
- Total volume: 1.04M USDC (613 rebalances + 43 withdrawals + 4.59K initial deposits)
@llamabutler
Copy link

The surf-morpho-rebalancer adapter exports:

> [email protected] test
> ts-node --transpile-only cli/testAdapter.ts dexs surf-morpho-rebalancer

🦙 Running SURF-MORPHO-REBALANCER adapter 🦙
---------------------------------------------------
Start Date:	Thu, 09 Oct 2025 07:19:20 GMT
End Date:	Fri, 10 Oct 2025 07:19:20 GMT
---------------------------------------------------

📊 Skipping chain: arbitrum (only Base chain supported)
📊 Skipping chain: polygon (only Base chain supported)
📊 Skipping chain: bsc (only Base chain supported)
📊 Skipping chain: optimism (only Base chain supported)
🔍 Starting core volume tracking for chain: base
🏭 Discovering vaults using UserVaultTracker...

🏭 SURF MORPHO USER VAULT TRACKER
=================================
Factory Address: 0x1D283b668F947E03E8ac8ce8DA5505020434ea0E
Chain: base
Admin Address: 0xEeEE7d713aDf6f408dd3637987191B35E3A872b0

🔍 Getting total vaults from factory 0x1D283b668F947E03E8ac8ce8DA5505020434ea0E...
📊 Total vaults found: 113

🔍 Fetching vault details...

📋 Processing vault 1/113...
📋 Processing vault 2/113...
📋 Processing vault 3/113...
📋 Processing vault 4/113...
📋 Processing vault 5/113...
📋 Processing vault 6/113...
📋 Processing vault 7/113...
📋 Processing vault 8/113...
📋 Processing vault 9/113...
📋 Processing vault 10/113...
📋 Processing vault 11/113...
📋 Processing vault 12/113...
📋 Processing vault 13/113...
📋 Processing vault 14/113...
📋 Processing vault 15/113...
📋 Processing vault 16/113...📊 Skipping chain: ethereum (only Base chain supported)

📋 Processing vault 17/113...
📋 Processing vault 18/113...
📋 Processing vault 19/113...
📋 Processing vault 20/113...
📋 Processing vault 21/113...
📋 Processing vault 22/113...
📋 Processing vault 23/113...
📋 Processing vault 24/113...
📋 Processing vault 25/113...
📋 Processing vault 26/113...
📋 Processing vault 27/113...
📋 Processing vault 28/113...
📋 Processing vault 29/113...
📋 Processing vault 30/113...
📋 Processing vault 31/113...
📋 Processing vault 32/113...
📋 Processing vault 33/113...
📋 Processing vault 34/113...
📋 Processing vault 35/113...
📋 Processing vault 36/113...
📋 Processing vault 37/113...
📋 Processing vault 38/113...
📋 Processing vault 39/113...
📋 Processing vault 40/113...
📋 Processing vault 41/113...
📋 Processing vault 42/113...
📋 Processing vault 43/113...
📋 Processing vault 44/113...
📋 Processing vault 45/113...
📋 Processing vault 46/113...
📋 Processing vault 47/113...
📋 Processing vault 48/113...
📋 Processing vault 49/113...
📋 Processing vault 50/113...
📋 Processing vault 51/113...
📋 Processing vault 52/113...
📋 Processing vault 53/113...
📋 Processing vault 54/113...
📋 Processing vault 55/113...
📋 Processing vault 56/113...
📋 Processing vault 57/113...
📋 Processing vault 58/113...
📋 Processing vault 59/113...
📋 Processing vault 60/113...
📋 Processing vault 61/113...
📋 Processing vault 62/113...
📋 Processing vault 63/113...
📋 Processing vault 64/113...
📋 Processing vault 65/113...
📋 Processing vault 66/113...
📋 Processing vault 67/113...
📋 Processing vault 68/113...
📋 Processing vault 69/113...
📋 Processing vault 70/113...
📋 Processing vault 71/113...
📋 Processing vault 72/113...
📋 Processing vault 73/113...
📋 Processing vault 74/113...
📋 Processing vault 75/113...
📋 Processing vault 76/113...
📋 Processing vault 77/113...
📋 Processing vault 78/113...
📋 Processing vault 79/113...
📋 Processing vault 80/113...
📋 Processing vault 81/113...
📋 Processing vault 82/113...
📋 Processing vault 83/113...
📋 Processing vault 84/113...
📋 Processing vault 85/113...
📋 Processing vault 86/113...
📋 Processing vault 87/113...
📋 Processing vault 88/113...
📋 Processing vault 89/113...
📋 Processing vault 90/113...
📋 Processing vault 91/113...
📋 Processing vault 92/113...
📋 Processing vault 93/113...
📋 Processing vault 94/113...
📋 Processing vault 95/113...
📋 Processing vault 96/113...
📋 Processing vault 97/113...
📋 Processing vault 98/113...
📋 Processing vault 99/113...
📋 Processing vault 100/113...
📋 Processing vault 101/113...
📋 Processing vault 102/113...
📋 Processing vault 103/113...
📋 Processing vault 104/113...
📋 Processing vault 105/113...
📋 Processing vault 106/113...
📋 Processing vault 107/113...
📋 Processing vault 108/113...
📋 Processing vault 109/113...
📋 Processing vault 110/113...
📋 Processing vault 111/113...
📋 Processing vault 112/113...
📋 Processing vault 113/113...
✅ Successfully processed 113 vaults!
📊 Discovered 113 vault addresses dynamically
📅 Requested time range: 2025-10-09T07:19:19.000Z to 2025-10-10T07:19:19.000Z
🔢 Daily blocks: 36602506 to 36645706
📅 TOTAL HISTORY time range: 2025-08-30T12:52:57.000Z to 2025-10-10T09:52:10.313Z
🔢 Total history blocks: 34884515 to 36650291
🔄 Fetching daily rebalance events...
🔄 Fetching total history rebalance events...
💸 Fetching daily withdrawal events...
💸 Fetching total history withdrawal events...
💰 Fetching daily deposit events...
💰 Fetching total history deposit events...
🔢 Fetching initial deposit amounts from 113 vaults...
[Warning] Invalid Fragment "initialDepositAmount": unsupported frgament object (argument="obj", value={ }, code=INVALID_ARGUMENT, version=6.13.2)
[Warning] Invalid Fragment undefined: unsupported frgament object (argument="obj", value=null, code=INVALID_ARGUMENT, version=6.13.2)
📊 Calculating volumes...

════════════════════════════════════════════════════════════════════════════════════════════════════
📊 SURF MORPHO REBALANCER - VOLUME SUMMARY
════════════════════════════════════════════════════════════════════════════════════════════════════

📅 DAILY VOLUME (2025-10-09 to 2025-10-10):
   Rebalanced Events: 2 → 701.80 USDC
   Withdrawal Events: 0 → 0 USDC
   Initial Deposits: 0 vaults → 0 USDC
   ────────────────────────────────────────────────────────────
   DAILY TOTAL: 701.80 USDC

📈 TOTAL HISTORY (Aug 30, 2025 to now):
   Rebalanced Events: 613 → 1.01M USDC
   Withdrawal Events: 43 → 29.00K USDC
   Initial Deposits: 113 vaults → 4.59K USDC
   ────────────────────────────────────────────────────────────
   TOTAL VOLUME: 1.04M USDC

📊 EVENT BREAKDOWN:
   Rebalance Events (globally): 613
   Withdrawal Events: 43
   Vaults Tracked: 113
   Function Calls: 112/113

💰 INITIAL DEPOSIT AMOUNTS BY VAULT:
   Showing top 10 of 112 vaults with initial deposits:

   1. 0xA863...AA72: 2.00K USDC
   2. 0x3823...30e8: 100.00 USDC
   3. 0x6635...199A: 100.00 USDC
   4. 0x7bb7...9664: 100.00 USDC
   5. 0xFE5d...45C1: 100.00 USDC
   6. 0x54b0...2799: 100.00 USDC
   7. 0xc7d9...058D: 100.00 USDC
   8. 0x91F2...aF51: 100.00 USDC
   9. 0xe315...E20e: 100.00 USDC
   10. 0x3548...A356: 100.00 USDC
   ... and 102 more vaults

   Total from 112 vaults: 4.59K USDC
════════════════════════════════════════════════════════════════════════════════════════════════════

chain     | Daily volume | Total volume | Start Time
---       | ---          | ---          | ---       
ethereum  | 0            | 0            | 1/1/2024  
arbitrum  | 0            | 0            | 1/1/2024  
base      | 702          | 1.04 M       | 30/8/2025 
polygon   | 0            | 0            | 1/1/2024  
optimism  | 0            | 0            | 1/1/2024  
bsc       | 0            | 0            | 1/1/2024  
Aggregate | 702          | 1.04 M       |           

@saurabh-7797
Copy link
Author

The total volume is added on a daily basis, and it also includes the total volume from the contract deployment date to the present date . Additionally, I want to display the total number of users on the dashboard.

@saurabh-7797
Copy link
Author

i want still waiting your response.. and i alsowant to display the total number of users on the your dashboard

@treeoflife2 treeoflife2 self-assigned this Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants