Skip to content

Commit

Permalink
catalyst min ada updated
Browse files Browse the repository at this point in the history
  • Loading branch information
vsubhuman committed Oct 7, 2024
1 parent 128b1b9 commit 3e7bfdd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/yoroi-extension/app/config/numbersConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const DREP_KEY_INDEX = 0;
*/
export const CARDANO_STABLE_SIZE = 2160;

// Catalyst fund 4 *technically* requires > 450 ADA to participate
// However, the official min amount is 500 ADA
export const CATALYST_MIN_AMOUNT: BigNumber = new BigNumber(450 * 1_000_000);
export const CATALYST_DISPLAYED_MIN_AMOUNT: BigNumber = new BigNumber(500 * 1_000_000);
/**
* Since Fund13 min required is 25 ADA only (instead of previous 500)
*/
export const CATALYST_MIN_AMOUNT: BigNumber = new BigNumber(25_000_000);
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { handleExternalLinkClick } from '../../../utils/routing';
import { WalletTypeOption } from '../../../api/ada/lib/storage/models/ConceptualWallet/interfaces';
import LoadingSpinner from '../../../components/widgets/LoadingSpinner';
import VerticallyCenteredLayout from '../../../components/layout/VerticallyCenteredLayout';
import { CATALYST_DISPLAYED_MIN_AMOUNT, CATALYST_MIN_AMOUNT } from '../../../config/numbersConfig';
import { CATALYST_MIN_AMOUNT } from '../../../config/numbersConfig';
import InsufficientFundsPage from './InsufficientFundsPage';
import { genLookupOrFail, getTokenName } from '../../../stores/stateless/tokenHelpers';
import environment from '../../../environment';
Expand Down Expand Up @@ -129,7 +129,7 @@ class VotingPageContent extends Component<StoresAndActionsProps> {
currentBalance={balance
.getDefaultEntry()
.amount.shiftedBy(-tokenInfo.Metadata.numberOfDecimals)}
requiredBalance={CATALYST_DISPLAYED_MIN_AMOUNT.shiftedBy(
requiredBalance={CATALYST_MIN_AMOUNT.shiftedBy(
-tokenInfo.Metadata.numberOfDecimals
)}
tokenName={getTokenName(tokenInfo)}
Expand Down

0 comments on commit 3e7bfdd

Please sign in to comment.