Skip to content

Commit

Permalink
feat: add pearl_beta_2 requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed Sep 3, 2024
1 parent 9d22c47 commit 901d19b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions frontend/utils/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ export const getMinimumStakedAmountRequired = (
serviceTemplate: ServiceTemplate,
stakingProgram: StakingProgram = StakingProgram.Beta,
) => {
// const olasCostOfBond = Number(
// formatUnits(
// `${serviceTemplate.configurations[CHAINS.GNOSIS.chainId].cost_of_bond}`,
// 18,
// ),
// );

if (stakingProgram === StakingProgram.Alpha) {
return 20;
}

return 40;
if (stakingProgram === StakingProgram.Beta) {
return 40;
}

if (stakingProgram === StakingProgram.Beta2) {
return 100;
}
};

0 comments on commit 901d19b

Please sign in to comment.