Skip to content

Commit

Permalink
update(remove ATOM in neutron protocol)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermake committed Jul 22, 2024
1 parent 0c2d1ef commit e88361a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/components/modals/lease/LeaseFormComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ const coinList = computed(() => {
ticker = CurrencyMapping[ticker as keyof typeof CurrencyMapping]?.ticker;
}

if (IGNORE_LEASE_ASSETS.includes(ticker)) {
if (IGNORE_LEASE_ASSETS.includes(ticker) || IGNORE_LEASE_ASSETS.includes(`${ticker}@${protocol}`)) {
return false;
}
return app.leasesCurrencies.includes(ticker);
Expand Down
13 changes: 12 additions & 1 deletion src/config/global/lease.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,18 @@ if (!isDev()) {
}

export { DOWNPAYMENT_RANGE_URL, SWAP_FEE_URL, FREE_INTEREST_ADDRESS_URL };
export const IGNORE_LEASE_ASSETS: string[] = ["DYDX", "JUNO", "EVMOS", "STRD", "LVN", "DYM", "Q_ATOM", "STARS", "PICA"];
export const IGNORE_LEASE_ASSETS: string[] = [
"DYDX",
"JUNO",
"EVMOS",
"STRD",
"LVN",
"DYM",
"Q_ATOM",
"STARS",
"PICA",
"ATOM@NEUTRON-ASTROPORT-USDC_AXELAR"
];
export const IGNORE_DOWNPAYMENT_ASSETS: string[] = ["DYDX"];

export const IGNORE_LEASES: string[] = ["nolus1mqezz2qs8cy8qx50yms0r6xc3lae20tms8dqq3t2tl7dd6gnxhxq3kz4uf"];

0 comments on commit e88361a

Please sign in to comment.