Skip to content

Commit

Permalink
feat: rename staked crop to planted
Browse files Browse the repository at this point in the history
  • Loading branch information
ponyjackal committed Jul 2, 2024
1 parent 82af403 commit dbf7a73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/contextualizers/protocol/cropXyz/plotAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export function generate(transaction: Transaction): Transaction {
category: 'PROTOCOL_1',
en: {
title: `CropXYZ`,
default: '[[player]][[stakedCrop]][[crop]]',
default: '[[player]][[planted]][[crop]]',
},
},
variables: {
Expand All @@ -170,9 +170,9 @@ export function generate(transaction: Transaction): Transaction {
token: erc20Payments[0].contract,
value: erc20Payments[0].value,
},
stakedCrop: {
planted: {
type: 'contextAction',
value: CropXyzContextActionEnum.STAKED_CROP,
value: CropXyzContextActionEnum.PLANTED,
},
},
};
Expand Down
4 changes: 2 additions & 2 deletions src/types/contextAction/protocolContextAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,15 +232,15 @@ export enum CropXyzContextActionEnum {
RECEIVED = 'RECEIVED',
HARVESTED_PLOT = 'HARVESTED_PLOT',
CLEARED_HARVEST = 'CLEARED_HARVEST',
STAKED_CROP = 'STAKED_CROP',
PLANTED = 'PLANTED',
}

export type CropXyzContextAction =
| CropXyzContextActionEnum.ACTIVATED_A_STARTER_PACK
| CropXyzContextActionEnum.RECEIVED
| CropXyzContextActionEnum.HARVESTED_PLOT
| CropXyzContextActionEnum.CLEARED_HARVEST
| CropXyzContextActionEnum.STAKED_CROP;
| CropXyzContextActionEnum.PLANTED;

export enum Protocols {
WETH = 'WETH',
Expand Down

0 comments on commit dbf7a73

Please sign in to comment.