Skip to content

feat: deploy CETES Blend strategy and vault on testnet#817

Merged
chopan123 merged 5 commits intomainfrom
deploy/testnet_cetes
Mar 20, 2026
Merged

feat: deploy CETES Blend strategy and vault on testnet#817
chopan123 merged 5 commits intomainfrom
deploy/testnet_cetes

Conversation

@MattPoblete
Copy link
Collaborator

Summary

  • Add CETES Blend strategy support to deploy scripts (filter by asset symbol, CETES enum, optional constants)
  • Deploy CETES Blend strategy and vault on testnet — addresses published to public address books
  • Add comprehensive deployment guide to contracts README documenting all config files and deploy flow

Changes

Code

  • blend_deploy_config.json — CETES testnet strategy entry (RSP pool)
  • deploy_blend.ts — filter strategies by asset_symbol arg to avoid re-deploying existing ones
  • deploy_tools.ts — add CETES to Assets enum and AssetFromString switch
  • constants.ts — add CETES_BLEND_POOL and CETES_TOKEN with optional lookup (no throw if key missing)

Config / Address books

  • configs.json — update testnet account keys
  • apps/contracts/public/testnet.contracts.json — add blend_pool_cetes and cetes_token
  • public/testnet.contracts.json — add CETES_blend_strategy and cetes_paltalabs_vault

Deployed testnet addresses

Contract Address
CETES_blend_strategy CCP4RBDWPRNO2LWO23XFU4BBLGA73J5N3BK7EHRJUHVN33YEMMFB2MBE
cetes_paltalabs_vault CBIS5TEMTNNOTBE3WXPQUAGUEDYZZVIWAKTXEQCOUJ34OJJ3FJ5NLF2P

Docs

  • Rewrote the Production Deployment section in apps/contracts/README.md with full documentation of config files, field descriptions, and step-by-step deploy instructions for strategies and vaults

Test plan

  • Verify strategy address on testnet explorer
  • Verify vault address on testnet explorer
  • Deposit & invest CETES on testnet vault

- Add CETES testnet entry to blend_deploy_config.json
- Filter strategies by asset_symbol in deploy_blend.ts to avoid re-deploying existing ones
- Add CETES to Assets enum and AssetFromString switch in deploy_tools.ts
- Add CETES_BLEND_POOL and CETES_TOKEN constants with optional lookup (no throw if key missing)
- Update testnet account keys in configs.json
- Add blend_pool_cetes and cetes_token to apps/contracts/public/testnet.contracts.json
- Add CETES_blend_strategy and cetes_paltalabs_vault to public/testnet.contracts.json
- Document all configuration files (configs.json, public/*.contracts.json, blend_deploy_config.json)
- Explain each field and its purpose with tables
- Add step-by-step Blend strategy deployment instructions including asset filtering
- Add vault deployment instructions with prerequisites and data flow
- Add full deployment sequence for a new asset
Copilot AI review requested due to automatic review settings March 16, 2026 16:55
@vercel
Copy link

vercel bot commented Mar 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
defindex-dapp Ready Ready Preview, Comment Mar 18, 2026 2:17pm
defindex-landing Ready Ready Preview, Comment Mar 18, 2026 2:17pm
defindex-rust-docs Ready Ready Preview, Comment Mar 18, 2026 2:17pm

Request Review

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds CETES Blend strategy + vault deployment support for testnet and documents the deployment flow/address-book setup across the monorepo.

Changes:

  • Adds CETES strategy entry to blend_deploy_config.json and publishes new testnet strategy/vault addresses to address books
  • Updates deploy tooling to recognize CETES as an asset and adds optional CETES constants lookup
  • Rewrites apps/contracts/README.md deployment docs with config/address-book explanations and step-by-step commands

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
public/testnet.contracts.json Publishes new testnet factory/strategy/vault addresses (root-level address book)
apps/contracts/src/utils/deploy_tools.ts Adds CETES asset handling in deploy utilities
apps/contracts/src/strategies/deploy_blend.ts Adds optional filtering to deploy only strategies matching an asset_symbol argument
apps/contracts/src/strategies/blend_deploy_config.json Adds CETES testnet strategy config (RSP pool)
apps/contracts/src/constants.ts Adds CETES constants with “optional” lookup helper
apps/contracts/public/testnet.contracts.json Adds CETES token/pool addresses (contracts workspace address book)
apps/contracts/configs.json Updates testnet role/fee receiver accounts
apps/contracts/README.md Expanded deployment documentation and address-book guidance

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
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