Skip to content

feat: make constructor synchronous#121

Open
zasper32171 wants to merge 3 commits intomainfrom
sync-constructor
Open

feat: make constructor synchronous#121
zasper32171 wants to merge 3 commits intomainfrom
sync-constructor

Conversation

@zasper32171
Copy link
Collaborator

No description provided.

zasper32171 and others added 3 commits March 12, 2026 04:35
- Add await to all config-dependent methods (getConfig, getAllCollateralTypes,
  getUsdbCoinType, getAggregatorObjectInfo, getVaultObjectInfo, etc.)
- Add await to build methods (buildClosePositionTransaction,
  buildDepositToSavingPoolTransaction, buildWithdrawFromSavingPoolTransaction,
  buildClaimSavingRewardsTransaction, flashMint, flashBurn)
- Add await to CDP helpers (debtorRequest, checkUpdatePositionRequest,
  updatePosition, checkUpdatePositionResponse, newAccountRequest)
- Document sync constructor as alternative to initialize()
- Update API Reference section for new constructor signature

Made-with: Cursor
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