Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
1ef919e
Enhance DashboardStats styling and layout for improved UI/UX
msteiner96 Mar 18, 2025
50eba3d
Refactor SidebarNavigation styles for improved responsiveness and vis…
msteiner96 Mar 19, 2025
cc7fbcc
Refactor styles and layout for improved consistency and visual appeal…
msteiner96 Mar 19, 2025
f7f8e23
Fix build
msteiner96 Mar 19, 2025
b1b35e1
Refactor UI components for improved styling consistency and responsiv…
msteiner96 Mar 19, 2025
8435166
Refactor HelpCenter and Transactions components for improved styling …
msteiner96 Mar 19, 2025
4912456
Refactor AssetInfoModal and CryptoCTA components for improved styling…
msteiner96 Mar 19, 2025
a63367e
Enhance tooltip styling in FinancialChart for improved visual appeal …
msteiner96 Mar 19, 2025
8c41fbe
Increase gap in Grid component for improved layout spacing
msteiner96 Mar 19, 2025
9d22b19
Refactor Button component for improved styling and hover effects
msteiner96 Mar 21, 2025
7a21f02
Refactor Page component layout for improved responsiveness and structure
msteiner96 Mar 22, 2025
beea1cd
Refactor layout in Page component and FinancialChart for improved res…
msteiner96 Mar 22, 2025
9678d0f
Update Grid component height to 'auto' for improved layout flexibility
msteiner96 Mar 22, 2025
8cabe60
Add unique ticker filtering to API response for getTickers method
msteiner96 Mar 22, 2025
a24da2b
Enhance layout of FinancialChart container for better flexibility and…
msteiner96 Mar 22, 2025
24dc143
Refactor VolumeChart component to use CustomDropdown for pool selecti…
msteiner96 Mar 22, 2025
a868a89
Change display style in Page component from 'flex' to 'inline-flex' f…
msteiner96 Mar 22, 2025
553226a
Merge branch 'main' into improve-components
msteiner96 Mar 23, 2025
5fb1041
Update VolumeChart component to adjust grid stroke properties for imp…
msteiner96 Mar 25, 2025
b30f388
Add Earn page and update SideNav with new Earn section
msteiner96 Mar 25, 2025
210e0e5
Refactor SwapContainer layout for improved responsiveness and user in…
msteiner96 Mar 25, 2025
98b4287
Add Earn page components and stories for YieldSummary, StrategiesTabl…
msteiner96 Mar 25, 2025
97e0b4f
Update Earn page layout and component names for clarity and improved …
msteiner96 Mar 25, 2025
0e282dd
Enhance FilterBar component with improved placeholder handling and st…
msteiner96 Mar 25, 2025
8239a7f
Refactor Earn page strategies to support multiple assets and update r…
msteiner96 Mar 25, 2025
39f6b05
Refactor strategies to support multiple assets and update reward toke…
msteiner96 Mar 25, 2025
f59a31c
Update StrategiesTable stories to use numeric unbondTime values for c…
msteiner96 Mar 25, 2025
1d17e09
Update EarnPage to use numeric unbondTime values for consistency
msteiner96 Mar 25, 2025
5bf3ea8
Add mobile support and bond/unbond functions to EarnPage and Strategi…
msteiner96 Mar 25, 2025
11713ad
Add new components and update theme for improved UI consistency
msteiner96 Mar 25, 2025
eabf682
Update ConnectWallet component to use gradient color for box shadow e…
msteiner96 Mar 25, 2025
a8bf9ad
Refactor SlippageSettings to use numeric options and update related c…
msteiner96 Mar 25, 2025
f70a2b7
Refactor SlippageSettings to improve input validation and handle nume…
msteiner96 Mar 25, 2025
049d509
Add wallet icons and update AssetInfoModal to include user balance an…
msteiner96 Mar 25, 2025
1eb14bf
Enhance WalletBalanceTable with hover effects and click handling for …
msteiner96 Mar 25, 2025
6ebe5db
Add userBalance and pools props to TokenInfoModal for improved data h…
msteiner96 Mar 25, 2025
7d6a0f1
Refactor TransactionsTable to enhance FilterMenu with default asset v…
msteiner96 Mar 25, 2025
3ff3ccb
Update NextJS to 15.2
msteiner96 Mar 25, 2025
896f846
Remove problematic resolveAlias configuration from turbo in next.conf…
msteiner96 Mar 25, 2025
db501f3
Refactor TransactionsTable to streamline FilterMenu by removing defau…
msteiner96 Mar 25, 2025
1c22c72
Add React imports and Storybook configuration for improved component …
msteiner96 Mar 25, 2025
a1b48bc
Add framer-motion dependency to enhance animation capabilities
msteiner96 Mar 26, 2025
e7bd18f
Add ClientOnly component for client-side rendering and improve RootLa…
msteiner96 Mar 26, 2025
add08fa
Fix loading state management in SwapPage and ensure pools data loads …
msteiner96 Mar 26, 2025
a6a1b31
Enhance welcome banner styling and layout in Page component for impro…
msteiner96 Mar 26, 2025
14e496c
Refactor toast handling by integrating UI library's ToastProvider and…
msteiner96 Mar 26, 2025
c6a7e2d
Update welcome message and description in Page component for clarity …
msteiner96 Mar 26, 2025
dc250c1
Refactor useEffect dependencies and enhance type safety in ToastProvi…
msteiner96 Mar 26, 2025
7e16f35
Integrate TradeAPI for price fetching and enhance error handling in g…
msteiner96 Mar 26, 2025
c32d915
Update Page component styling and background image for enhanced visua…
msteiner96 Mar 26, 2025
b43be61
Enhance AssetInfoModal with loading state and trading volume data; ex…
msteiner96 Apr 3, 2025
8e2094d
Fix calculation of total volume in AssetInfoModal by removing unneces…
msteiner96 Apr 3, 2025
b0781c5
Add strategies package with TypeScript configuration, registry, and m…
msteiner96 Apr 16, 2025
b73c416
Add Phoenix strategies and provider; export additional components and…
msteiner96 May 7, 2025
f3ce097
Update liquidity strategies to set unbondTime to 0 and include XLM-US…
msteiner96 May 7, 2025
2daa864
Add IndividualStake interface and update StrategiesTable for bond/unb…
msteiner96 May 9, 2025
9c9c1b2
Adjust strategy features
msteiner96 May 15, 2025
a26f2f2
Adjust modal styles
msteiner96 May 15, 2025
dcf591b
Refactor vesting contract error codes and add new error messages; upd…
msteiner96 May 20, 2025
425dbc5
Update development scripts to enable testnet configuration
msteiner96 May 20, 2025
bd9a439
Refactor development scripts for testnet configuration; streamline de…
msteiner96 May 22, 2025
4085027
Add .turbo to .gitignore; ensure proper exclusion of build artifacts
msteiner96 May 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ next-env.d.ts

.idea/

.yarn/cache
.yarn/cache

.turbo
Binary file modified .yarn/install-state.gz
Binary file not shown.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
"build": "yarn workspace @phoenix-protocol/types run build && yarn workspace @phoenix-protocol/utils run build && yarn workspace @phoenix-protocol/contracts run build && yarn workspace @phoenix-protocol/state run build && yarn workspace @phoenix-protocol/ui run build && yarn workspace @phoenix-protocol/core run build",
"storybook": "yarn workspace @phoenix-protocol/ui storybook",
"dev": "yarn workspace @phoenix-protocol/core dev",
"dev:testnet": "TESTNET=true yarn dev",
"build:core": "yarn workspace @phoenix-protocol/core build",
"build:contracts": "yarn workspace @phoenix-protocol/contracts build",
"build:state": "yarn workspace @phoenix-protocol/state build",
"build:ui": "yarn workspace @phoenix-protocol/ui build",
"build:utils": "yarn workspace @phoenix-protocol/utils build",
"build:types": "yarn workspace @phoenix-protocol/types build"
"build:types": "yarn workspace @phoenix-protocol/types build",
"build:strat": "yarn workspace @phoenix-protocol/strategies build"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -40,10 +42,14 @@
},
"packageManager": "[email protected]",
"dependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@stellar/stellar-sdk": "^13.1.0",
"@storybook/react-webpack5": "^8.6.9",
"@walletconnect/modal": "^2.6.2",
"@walletconnect/sign-client": "^2.13.1",
"@walletconnect/types": "^2.13.1",
"framer-motion": "^12.6.0",
"next": "15.0.3"
}
}
5 changes: 5 additions & 0 deletions packages/contracts/src/fetchPho.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import { constants } from "@phoenix-protocol/utils";
import { PhoenixPairContract } from ".";
import { isTestnet } from "@phoenix-protocol/utils/build/constants";

export const fetchPho = async (): Promise<number> => {
if (isTestnet) {
return 0;
}

const PairContract = new PhoenixPairContract.Client({
contractId: "CD5XNKK3B6BEF2N7ULNHHGAMOKZ7P6456BFNIHRF4WNTEDKBRWAE7IAA",
networkPassphrase: constants.NETWORK_PASSPHRASE,
Expand Down
Loading
Loading