Skip to content

Commit 7d3e4d2

Browse files
authored
Merge pull request #2515 from AmbireTech/refactor/portfolio-hints-controller
Refactor/ Move hints logic from the portfolio to `HintsController`
2 parents 08ece3e + 2b3602d commit 7d3e4d2

4 files changed

Lines changed: 780 additions & 610 deletions

File tree

src/controllers/AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ ALWAYS update this list when creating a new controller, and provide a one-senten
121121
- **FeatureFlagsController** – Toggles application features at runtime for roll-outs and A/B testing.
122122
- **EstimationController** – Estimates gas, fees, and payment options for smart-account transactions.
123123
- **GasPriceController** – Fetches and formats gas-price recommendations and bundler gas speeds.
124+
- **HintsController** – Owns the portfolio's token/NFT hints (learned assets, to-be-learned assets, custom tokens, token preferences) and their storage; a sub-controller of the PortfolioController.
124125
- **InviteController** – Manages invite codes and OG status (legacy; now used for status tracking only).
125126
- **KeystoreController** – Encrypts seeds and private keys under a multi-secret–wrapped main key, manages unlock state, and routes signing to internal or hardware-backed keys.
126127
- **NetworksController** – Manages blockchain networks and their configuration

0 commit comments

Comments
 (0)