Removed Features in v2
This document lists all hooks, modules, and features that have been completely removed in v2. If you use any of these, you'll need to find alternatives or implement custom solutions.
Core Hooks Removed
VeBetterDAO Module (Completely Removed)
The entire VeBetterDAO module has been removed. All hooks under api/vebetterdao/
are no longer available.
Other Removed Modules
Removed Utility Hooks
Migration Strategies
For VeBetterDAO Features
If you depend on VeBetterDAO functionality:
Option 1: Implement custom hooks using
useCallClause
Option 2: Wait for community implementations
Option 3: Use direct contract interactions
Example custom implementation:
// Custom Galaxy Member balance hook
const useGMBalance = (address: string) => {
return useCallClause({
abi: GalaxyMemberABI,
address: GM_CONTRACT_ADDRESS,
method: 'balanceOf',
args: [address],
queryOptions: {
enabled: !!address
}
});
};
For Removed Utility Functions
Most removed utilities can be replaced with:
Direct contract calls using
useCallClause
Thor client methods
External libraries (ethers.js, web3.js)
Last updated
Was this helpful?