Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Commit

Permalink
feat(investor-foxy): rename Token_Staking provider to Staking (#1218)
Browse files Browse the repository at this point in the history
* feat(investor-foxy): rename Token_Staking provider to Staking

* BREAKING CHANGE: rename DefiType.TokenStaking to DefiType.Staking
  • Loading branch information
gomesalexandre authored Feb 28, 2023
1 parent a9dc28b commit d17ffe5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/investor-foxy/src/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export type ConstructorArgs = {

export const transformData = ({ tvl, apy, expired, ...contractData }: FoxyOpportunityInputData) => {
return {
type: DefiType.TokenStaking,
type: DefiType.Staking,
provider: 'ShapeShift',
version: '1',
contractAddress: contractData.staking,
Expand Down
2 changes: 1 addition & 1 deletion packages/investor-foxy/src/constants/enums.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export enum DefiType {
TokenStaking = 'token-staking',
Staking = 'staking',
}

0 comments on commit d17ffe5

Please sign in to comment.