[SDK] Statics registry for wrapper↔underlying pairs - #9467
Conversation
8a2f38f to
3b7a172
Compare
Carry underlyingErc20Address, rate, and requiresApprovalReset on Erc7984Coin for Hoodi terc7984 tokens only, leaving mainnet served configs unchanged. Ticket: CHALO-1156 Co-authored-by: Cursor <cursoragent@cursor.com>
|
Claude finished @0xPrabh's task —— View job Code Review for ERC-7984 Wrapper Registry ✅Todo List:
I've completed a thorough analysis of the PR and found a well-implemented ERC-7984 wrapper registry feature. The code appears to be clean, well-documented, and follows good engineering practices. 📋 SummaryThis PR adds ERC-7984 wrapper↔underlying registry functionality to the 🔍 Code Analysis✅ Positive Aspects:
🧪 Test Quality✅ Excellent Test Coverage:
🛠️ Implementation DetailsFile Changes Analysis:
🔧 Minor Observations
✅ Overall AssessmentThis is a high-quality implementation that:
Recommendation: APPROVE - The PR is ready for merge. The code is well-architected, thoroughly tested, and follows best practices consistently throughout. |
Summary
@bitgo/staticsERC-7984 wrapper↔underlying registry (wrapperAddress,underlyingErc20Address,rate,requiresApprovalReset,isVetted) with lookup helpershteth:cusdt,hteth:ctest1) and Sepolia (sepeth:cusdt) test pairs, plus mainnet pairs aligned with existingerc7984Tokens(on-chain verifiedrate()/underlying())Issue Number
CHALO-1156
Type of change
How Has This Been Tested?
yarn workspace @bitgo/statics unit-test --grep "ERC-7984 wrapper registry"(8 passing)yarn workspace @bitgo/statics buildChecklist
Made with Cursor