Skip to content

feat: schema changes#161

Merged
Philippoes merged 1 commit intomainfrom
feat/schema-changes
Sep 15, 2025
Merged

feat: schema changes#161
Philippoes merged 1 commit intomainfrom
feat/schema-changes

Conversation

@petar-omni
Copy link
Collaborator

No description provided.

Copy link

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

This PR introduces schema changes to support enhanced staking functionality, including new yield providers, network support, and detailed staking view models.

  • Adds new yield providers (maple, sky, coinbase, etc.) and network support (hyperevm)
  • Introduces comprehensive staking response models with detailed view DTOs for different blockchain protocols
  • Refactors stake response type from generic to strongly typed union

Reviewed Changes

Copilot reviewed 30 out of 30 changed files in this pull request and generated no comments.

Show a summary per file
File Description
yieldV2YieldsProviderId.ts Added 8 new yield provider IDs
yieldV2YieldsNetwork.ts Added hyperevm network support
yieldProviders.ts Added same 8 yield providers as above
tezosDetailsViewDto.ts New DTO for Tezos staking details
stakeViewSuccessDtoStatus.ts New enum for stake status states
stakeViewSuccessDtoRewardsItem.ts New type for reward items
stakeViewSuccessDtoDetails.ts Union type for all blockchain-specific detail views
stakeViewSuccessDtoCommission.ts New enum for commission types
stakeViewSuccessDto.ts Main success response interface for stake views
stakeResponseDtoStake.ts Refactored from generic to typed union
stakeResponseDto.ts Added documentation comment
stakeKitVaultDetailsViewDto.ts New DTO for StakeKit vault details
stakeKitStakeDetailsViewDto.ts New DTO for StakeKit stake details
stakeFailureDto.ts New error response interface
solanaDetailsViewDto.ts New DTO for Solana staking details
osmosisDetailsViewDto.ts New DTO for Osmosis staking details
networks.ts Added hyperevm network
nearDetailsViewDto.ts New DTO for NEAR staking details
kilnEthereumPoolingDetailsViewDto.ts New DTO for Kiln Ethereum pooling
interestViewDto.ts New DTO for interest rate information
injectiveDetailsViewDto.ts New DTO for Injective staking details
index.ts Added exports for all new DTOs
failureViewDtoDetails.ts New type for error details
failureViewDto.ts New DTO for failure responses
evmNetworks.ts Added hyperevm to EVM networks
ethNativeDetailsViewDto.ts New DTO for Ethereum native staking
ethDeFiDetailsViewDto.ts New DTO for Ethereum DeFi staking
cosmosDetailsViewDto.ts New DTO for Cosmos staking details
adaDetailsViewDto.ts New DTO for Cardano staking details
package.json Version bump to 0.0.110

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Philippoes Philippoes merged commit 0445dc8 into main Sep 15, 2025
6 checks passed
@petar-omni petar-omni deleted the feat/schema-changes branch September 15, 2025 20:53
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