@nexus-cross/dapp-ui 1.3.4-beta.1 → 1.3.4-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -49,19 +49,28 @@ interface GlobalMenuItemUrl {
49
49
  stage: string;
50
50
  production: string;
51
51
  }
52
+ type GlobalMenuItemAssetUrl = string | GlobalMenuItemUrl;
53
+ type GlobalMenuItemServiceStatus = "available" | "ending" | "comingSoon";
54
+ type GlobalMenuCategoryStatus = "all" | GlobalMenuItemServiceStatus;
55
+ interface GlobalMenuCategory {
56
+ status: GlobalMenuCategoryStatus;
57
+ label: string;
58
+ }
52
59
  interface GlobalMenuItem {
53
60
  id: string;
54
61
  label: string;
55
62
  description: string;
56
63
  url: GlobalMenuItemUrl;
57
- iconUrl: string;
64
+ iconUrl: GlobalMenuItemAssetUrl;
58
65
  order: number;
59
66
  type: string;
60
67
  badge: string | null;
61
68
  isNew: boolean;
69
+ serviceStatus?: GlobalMenuItemServiceStatus;
62
70
  }
63
71
  interface GlobalMenu {
64
72
  version: string;
73
+ categories?: GlobalMenuCategory[];
65
74
  items: GlobalMenuItem[];
66
75
  }
67
76
 
@@ -144,13 +153,14 @@ interface TokenStatsResponse {
144
153
  /**
145
154
  * 포트폴리오 본문에 노출 가능한 섹션 종류.
146
155
  * - `"rewards"` : CROSS Rewards
156
+ * - `"points"` : CROSS Points (게임 토큰 예치 퀘스트, 내장 Withdraw)
147
157
  * - `"staking"` : CROSS Staking
148
158
  * - `"gameSwap"` : Gametoken LP
149
159
  * - `"forge"` : Forge
150
160
  *
151
161
  * `WalletPortfolioBody` / `WalletInfo`의 섹션 필터에 사용한다.
152
162
  */
153
- type PortfolioSection = "rewards" | "staking" | "gameSwap" | "forge";
163
+ type PortfolioSection = "rewards" | "points" | "staking" | "gameSwap" | "forge";
154
164
  /**
155
165
  * 섹션 필터를 지정하지 않았을 때(=전체 노출)의 기본 표시 순서.
156
166
  * 배열로 필터를 줄 때 어떤 키들이 유효한지에 대한 단일 출처(source of truth).
@@ -247,6 +257,24 @@ interface UserDepositInfo {
247
257
  last_updated_time: number;
248
258
  last_withdrawn_block: number;
249
259
  }
260
+ /**
261
+ * 사용자가 출금할 수 있는 예치 포지션 하나 (deposited > 0인 풀).
262
+ * `useWithdrawPositions`가 deposits API + pools API(+온체인 메타 폴백)를
263
+ * 합성해 만든다. 금액은 raw(wei) 문자열로 유지하고 표기 시에만 환산한다.
264
+ */
265
+ interface WithdrawPosition {
266
+ poolId: number;
267
+ poolAddress: string;
268
+ /** pools API가 모르는(비활성/quest) 풀은 "Unknown". */
269
+ poolType: RewardPool["pool_type"] | "Unknown";
270
+ tokenSymbol: string;
271
+ tokenAddress: string;
272
+ decimals: number;
273
+ /** USD 단가 (pools API 제공 시에만). */
274
+ price?: string;
275
+ /** 예치 잔액 (raw, wei 문자열) */
276
+ depositedRaw: string;
277
+ }
250
278
  /**
251
279
  * host(wagmi 보유 측)가 공급하는 LP 잔고 reader가 반환하는 단위 정보.
252
280
  * 금액은 모두 raw(wei) BigInt로 다루고, 표기 시에만 decimals로 환산한다.
@@ -412,6 +440,12 @@ type OutlinkContext = {
412
440
  pool: RewardPool;
413
441
  userDeposit?: UserDepositInfo;
414
442
  };
443
+ } | {
444
+ category: "portfolio";
445
+ origin: "portfolio-points";
446
+ payload: {
447
+ position: WithdrawPosition;
448
+ };
415
449
  } | {
416
450
  category: "portfolio";
417
451
  origin: "portfolio-stake";
@@ -819,10 +853,14 @@ interface WalletInfoProps {
819
853
  approveBridge?: BridgeApproveFn;
820
854
  submitBridge?: BridgeSubmitFn;
821
855
  /**
822
- * 상단 QR 버튼 / 기본 액션 row의 Bridge / Send 콜백. (Buy는 위 onBuy
823
- * prop으로 이미 정의됨.) Bridge는 미주입 시 내장 Bridge 화면으로 진입한다.
856
+ * 상단 QR 버튼 / 기본 액션 row의 Receive / Send 콜백. (Buy는 위 onBuy
857
+ * prop으로 이미 정의됨.)
824
858
  */
825
859
  onReceive?: () => void;
860
+ /**
861
+ * @deprecated Bridge 버튼은 항상 apps.json(gametokenBridge) 웹으로
862
+ * 이동한다. 이 콜백은 더 이상 호출되지 않는다.
863
+ */
826
864
  onBridge?: () => void;
827
865
  onSend?: () => void;
828
866
  style?: WalletInfoStyle;
@@ -1041,9 +1079,17 @@ interface WalletPortfolioProps {
1041
1079
  * host(wagmi 보유 측)로부터 주입받는 reader. 미주입 시 API 값으로 폴백한다.
1042
1080
  */
1043
1081
  stakingRewardsReader?: StakingRewardsReaderFn;
1082
+ /**
1083
+ * 내장 Withdraw(Rewards) 트랜잭션 서명/브로드캐스트 콜백.
1084
+ * wagmi의 `sendTransactionAsync`를 그대로 전달해도 호환된다.
1085
+ * 미주입 시 Withdraw는 기존 외부 링크로 폴백한다.
1086
+ */
1087
+ sendTransaction?: SendTransactionFn;
1088
+ /** 내장 Withdraw 확인 화면의 가스 추정 콜백. 미주입 시 지갑 추정에 위임. */
1089
+ estimateGas?: EstimateGasFn;
1044
1090
  children: React.ReactNode;
1045
1091
  }
1046
- declare function WalletPortfolioRoot({ env, theme, walletAddress, open: propOpen, onOpenChange, onOutlink, lpBalanceReader, stakingRewardsReader, children, }: WalletPortfolioProps): react_jsx_runtime.JSX.Element;
1092
+ declare function WalletPortfolioRoot({ env, theme, walletAddress, open: propOpen, onOpenChange, onOutlink, lpBalanceReader, stakingRewardsReader, sendTransaction, estimateGas, children, }: WalletPortfolioProps): react_jsx_runtime.JSX.Element;
1047
1093
  declare const WalletPortfolio: typeof WalletPortfolioRoot & {
1048
1094
  Trigger: typeof WalletPortfolioTrigger;
1049
1095
  Content: typeof WalletPortfolioContent;
@@ -1085,6 +1131,14 @@ interface WalletPortfolioBodyProps {
1085
1131
  * host(wagmi 보유 측)로부터 주입받는 reader. 미주입 시 API 값으로 폴백한다.
1086
1132
  */
1087
1133
  stakingRewardsReader?: StakingRewardsReaderFn;
1134
+ /**
1135
+ * 내장 Withdraw(Rewards) 트랜잭션 서명/브로드캐스트 콜백.
1136
+ * wagmi의 `sendTransactionAsync`를 그대로 전달해도 호환된다.
1137
+ * 미주입 시 Withdraw는 기존 외부 링크로 폴백한다.
1138
+ */
1139
+ sendTransaction?: SendTransactionFn;
1140
+ /** 내장 Withdraw 확인 화면의 가스 추정 콜백. 미주입 시 지갑 추정에 위임. */
1141
+ estimateGas?: EstimateGasFn;
1088
1142
  /**
1089
1143
  * 노출할 포트폴리오 섹션을 제한한다. 미지정(`undefined`)이면 모든 섹션을
1090
1144
  * 기본 순서대로 표시하고, 배열을 주면 포함된 섹션만 (기본 순서를 유지한 채)
@@ -1092,7 +1146,7 @@ interface WalletPortfolioBodyProps {
1092
1146
  */
1093
1147
  sections?: PortfolioSection[];
1094
1148
  }
1095
- declare function WalletPortfolioBody({ env, theme, walletAddress, walletName, onBack, showHeader, variant, className, onOutlink, lpBalanceReader, stakingRewardsReader, sections, }: WalletPortfolioBodyProps): react_jsx_runtime.JSX.Element;
1149
+ declare function WalletPortfolioBody({ env, theme, walletAddress, walletName, onBack, showHeader, variant, className, onOutlink, lpBalanceReader, stakingRewardsReader, sendTransaction, estimateGas, sections, }: WalletPortfolioBodyProps): react_jsx_runtime.JSX.Element;
1096
1150
 
1097
1151
  declare function CROSSxIcon(): react_jsx_runtime.JSX.Element;
1098
1152
  declare function MetaMaskIcon(): react_jsx_runtime.JSX.Element;
@@ -1401,10 +1455,14 @@ interface ConnectButtonProps {
1401
1455
  */
1402
1456
  estimateGas?: EstimateGasFn;
1403
1457
  /**
1404
- * 상단 QR 버튼 / 기본 액션 row의 Bridge / Send 콜백. (Buy는 위 onBuy로
1405
- * 정의됨.) Bridge는 미주입 시 WalletInfo 내장 Bridge 화면으로 진입한다.
1458
+ * 상단 QR 버튼 / 기본 액션 row의 Receive / Send 콜백. (Buy는 위 onBuy로
1459
+ * 정의됨.)
1406
1460
  */
1407
1461
  onReceive?: () => void;
1462
+ /**
1463
+ * @deprecated Bridge 버튼은 항상 apps.json(gametokenBridge) 웹으로
1464
+ * 이동한다. 이 콜백은 더 이상 호출되지 않는다.
1465
+ */
1408
1466
  onBridge?: () => void;
1409
1467
  onSend?: () => void;
1410
1468
  bridgeTokens?: BridgeToken[];
@@ -1511,7 +1569,11 @@ interface SkillsButtonProps {
1511
1569
  type?: "button" | "submit" | "reset";
1512
1570
  }
1513
1571
 
1572
+ /**
1573
+ * @deprecated 이동 대상은 apps.json(skills)이 단일 소스다. 이 상수는 더 이상
1574
+ * 폴백으로 쓰이지 않으며 하위 호환(공개 export)용으로만 남아 있다.
1575
+ */
1514
1576
  declare const DEFAULT_SKILLS_HREF = "https://www.onechain.nexus/skills";
1515
1577
  declare function SkillsButton({ label, href, onClick, className, style, theme, disabled, isLoading, loadingLabel, openInNewTab, type, }: SkillsButtonProps): react_jsx_runtime.JSX.Element;
1516
1578
 
1517
- export { APPLE_ICON, AppLauncher, AppLauncherContent, type AppLauncherContentProps, type AppLauncherProps, AppLauncherTrigger, type AppLauncherTriggerProps, type AppLauncherTriggerStyle, type AppLauncherUsageMode, BINANCE_ICON, type BridgeAmountSource, type BridgeApprovalInfo, type BridgeApproveFn, type BridgeFailedInfo, BridgeFlow, type BridgeFlowProps, type BridgeGetApprovalFn, type BridgeGetToTokensFn, type BridgeHistoryItem, type BridgeInfoRow, type BridgeInfoTokenRef, type BridgeLiquidityInfo, type BridgePathType, type BridgeQuoteFn, type BridgeQuoteInput, type BridgeQuoteResult, type BridgeStatus, type BridgeStep, type BridgeSubmitFn, type BridgeSubmittedInfo, type BridgeToken, type BridgeTxSummary, CONNECTOR_REGISTRY, CROSSX_ICON, type ChainId, ConnectButton, type ConnectButtonProps, type ConnectButtonStyle, ConnectorId, type ConnectorMeta, DEFAULT_SKILLS_HREF, type DrawerDirection$1 as DrawerDirection, type Environment, type EstimateGasArgs, type EstimateGasFn, GOOGLE_ICON, type GameSwapPool, type GameSwapTokenRef, type GasEstimate, type GetTransactionReceiptArgs, type GetTransactionReceiptFn, type GlobalMenu, type GlobalMenuItem, type GlobalMenuItemUrl, type LpBalanceInfo, type LpBalanceReaderFn, METAMASK_ICON, type OnOutlink, type OutlinkCategory, type OutlinkContext, type OutlinkOrigin, PORTFOLIO_SECTIONS, type PortfolioSection, type PreferredToken, type RecentSendAddress, SOCIAL_REGISTRY, type SendAccount, type SendAsset, SendFlow, type SendFlowProps, type SendPageProps, type SendStatus, type SendTransactionArgs, type SendTransactionFn, SkillsButton, type SkillsButtonProps, type SkillsButtonStyle, type SocialConfig, type SocialHandlers, type SocialId, type StakingRewardsInfo, type StakingRewardsReaderFn, TOKEN_STATS_QUERY_KEY, type Theme, type TokenBalance, type TokenBalanceResponse, type TokenStats, type TokenStatsResponse, type TransactionReceiptResult, USER_BALANCE_QUERY_KEY, WALLET_REGISTRY, type WalletConfig, WalletConnectModal, type WalletConnectModalContentProps, type WalletConnectModalProps, type WalletConnectModalStyle, type WalletConnectModalTriggerProps, type WalletHandlers, type WalletId, WalletInfo, type WalletInfoContentProps, type WalletInfoFooterProps, type WalletInfoNavProps, type WalletInfoProps, type WalletInfoStyle, type WalletInfoTriggerProps, WalletPortfolio, WalletPortfolioBody, type WalletPortfolioBodyProps, type WalletPortfolioContentProps, type WalletPortfolioProps, type WalletPortfolioTriggerProps, type WalletProvider, announceAppLauncherUsage, resolveEnvironment, useGlobalMenu, useTokenBalance, useTokenStats, useWalletDetect };
1579
+ export { APPLE_ICON, AppLauncher, AppLauncherContent, type AppLauncherContentProps, type AppLauncherProps, AppLauncherTrigger, type AppLauncherTriggerProps, type AppLauncherTriggerStyle, type AppLauncherUsageMode, BINANCE_ICON, type BridgeAmountSource, type BridgeApprovalInfo, type BridgeApproveFn, type BridgeFailedInfo, BridgeFlow, type BridgeFlowProps, type BridgeGetApprovalFn, type BridgeGetToTokensFn, type BridgeHistoryItem, type BridgeInfoRow, type BridgeInfoTokenRef, type BridgeLiquidityInfo, type BridgePathType, type BridgeQuoteFn, type BridgeQuoteInput, type BridgeQuoteResult, type BridgeStatus, type BridgeStep, type BridgeSubmitFn, type BridgeSubmittedInfo, type BridgeToken, type BridgeTxSummary, CONNECTOR_REGISTRY, CROSSX_ICON, type ChainId, ConnectButton, type ConnectButtonProps, type ConnectButtonStyle, ConnectorId, type ConnectorMeta, DEFAULT_SKILLS_HREF, type DrawerDirection$1 as DrawerDirection, type Environment, type EstimateGasArgs, type EstimateGasFn, GOOGLE_ICON, type GameSwapPool, type GameSwapTokenRef, type GasEstimate, type GetTransactionReceiptArgs, type GetTransactionReceiptFn, type GlobalMenu, type GlobalMenuItem, type GlobalMenuItemAssetUrl, type GlobalMenuItemServiceStatus, type GlobalMenuItemUrl, type LpBalanceInfo, type LpBalanceReaderFn, METAMASK_ICON, type OnOutlink, type OutlinkCategory, type OutlinkContext, type OutlinkOrigin, PORTFOLIO_SECTIONS, type PortfolioSection, type PreferredToken, type RecentSendAddress, SOCIAL_REGISTRY, type SendAccount, type SendAsset, SendFlow, type SendFlowProps, type SendPageProps, type SendStatus, type SendTransactionArgs, type SendTransactionFn, SkillsButton, type SkillsButtonProps, type SkillsButtonStyle, type SocialConfig, type SocialHandlers, type SocialId, type StakingRewardsInfo, type StakingRewardsReaderFn, TOKEN_STATS_QUERY_KEY, type Theme, type TokenBalance, type TokenBalanceResponse, type TokenStats, type TokenStatsResponse, type TransactionReceiptResult, USER_BALANCE_QUERY_KEY, WALLET_REGISTRY, type WalletConfig, WalletConnectModal, type WalletConnectModalContentProps, type WalletConnectModalProps, type WalletConnectModalStyle, type WalletConnectModalTriggerProps, type WalletHandlers, type WalletId, WalletInfo, type WalletInfoContentProps, type WalletInfoFooterProps, type WalletInfoNavProps, type WalletInfoProps, type WalletInfoStyle, type WalletInfoTriggerProps, WalletPortfolio, WalletPortfolioBody, type WalletPortfolioBodyProps, type WalletPortfolioContentProps, type WalletPortfolioProps, type WalletPortfolioTriggerProps, type WalletProvider, announceAppLauncherUsage, resolveEnvironment, useGlobalMenu, useTokenBalance, useTokenStats, useWalletDetect };
package/dist/index.d.ts CHANGED
@@ -49,19 +49,28 @@ interface GlobalMenuItemUrl {
49
49
  stage: string;
50
50
  production: string;
51
51
  }
52
+ type GlobalMenuItemAssetUrl = string | GlobalMenuItemUrl;
53
+ type GlobalMenuItemServiceStatus = "available" | "ending" | "comingSoon";
54
+ type GlobalMenuCategoryStatus = "all" | GlobalMenuItemServiceStatus;
55
+ interface GlobalMenuCategory {
56
+ status: GlobalMenuCategoryStatus;
57
+ label: string;
58
+ }
52
59
  interface GlobalMenuItem {
53
60
  id: string;
54
61
  label: string;
55
62
  description: string;
56
63
  url: GlobalMenuItemUrl;
57
- iconUrl: string;
64
+ iconUrl: GlobalMenuItemAssetUrl;
58
65
  order: number;
59
66
  type: string;
60
67
  badge: string | null;
61
68
  isNew: boolean;
69
+ serviceStatus?: GlobalMenuItemServiceStatus;
62
70
  }
63
71
  interface GlobalMenu {
64
72
  version: string;
73
+ categories?: GlobalMenuCategory[];
65
74
  items: GlobalMenuItem[];
66
75
  }
67
76
 
@@ -144,13 +153,14 @@ interface TokenStatsResponse {
144
153
  /**
145
154
  * 포트폴리오 본문에 노출 가능한 섹션 종류.
146
155
  * - `"rewards"` : CROSS Rewards
156
+ * - `"points"` : CROSS Points (게임 토큰 예치 퀘스트, 내장 Withdraw)
147
157
  * - `"staking"` : CROSS Staking
148
158
  * - `"gameSwap"` : Gametoken LP
149
159
  * - `"forge"` : Forge
150
160
  *
151
161
  * `WalletPortfolioBody` / `WalletInfo`의 섹션 필터에 사용한다.
152
162
  */
153
- type PortfolioSection = "rewards" | "staking" | "gameSwap" | "forge";
163
+ type PortfolioSection = "rewards" | "points" | "staking" | "gameSwap" | "forge";
154
164
  /**
155
165
  * 섹션 필터를 지정하지 않았을 때(=전체 노출)의 기본 표시 순서.
156
166
  * 배열로 필터를 줄 때 어떤 키들이 유효한지에 대한 단일 출처(source of truth).
@@ -247,6 +257,24 @@ interface UserDepositInfo {
247
257
  last_updated_time: number;
248
258
  last_withdrawn_block: number;
249
259
  }
260
+ /**
261
+ * 사용자가 출금할 수 있는 예치 포지션 하나 (deposited > 0인 풀).
262
+ * `useWithdrawPositions`가 deposits API + pools API(+온체인 메타 폴백)를
263
+ * 합성해 만든다. 금액은 raw(wei) 문자열로 유지하고 표기 시에만 환산한다.
264
+ */
265
+ interface WithdrawPosition {
266
+ poolId: number;
267
+ poolAddress: string;
268
+ /** pools API가 모르는(비활성/quest) 풀은 "Unknown". */
269
+ poolType: RewardPool["pool_type"] | "Unknown";
270
+ tokenSymbol: string;
271
+ tokenAddress: string;
272
+ decimals: number;
273
+ /** USD 단가 (pools API 제공 시에만). */
274
+ price?: string;
275
+ /** 예치 잔액 (raw, wei 문자열) */
276
+ depositedRaw: string;
277
+ }
250
278
  /**
251
279
  * host(wagmi 보유 측)가 공급하는 LP 잔고 reader가 반환하는 단위 정보.
252
280
  * 금액은 모두 raw(wei) BigInt로 다루고, 표기 시에만 decimals로 환산한다.
@@ -412,6 +440,12 @@ type OutlinkContext = {
412
440
  pool: RewardPool;
413
441
  userDeposit?: UserDepositInfo;
414
442
  };
443
+ } | {
444
+ category: "portfolio";
445
+ origin: "portfolio-points";
446
+ payload: {
447
+ position: WithdrawPosition;
448
+ };
415
449
  } | {
416
450
  category: "portfolio";
417
451
  origin: "portfolio-stake";
@@ -819,10 +853,14 @@ interface WalletInfoProps {
819
853
  approveBridge?: BridgeApproveFn;
820
854
  submitBridge?: BridgeSubmitFn;
821
855
  /**
822
- * 상단 QR 버튼 / 기본 액션 row의 Bridge / Send 콜백. (Buy는 위 onBuy
823
- * prop으로 이미 정의됨.) Bridge는 미주입 시 내장 Bridge 화면으로 진입한다.
856
+ * 상단 QR 버튼 / 기본 액션 row의 Receive / Send 콜백. (Buy는 위 onBuy
857
+ * prop으로 이미 정의됨.)
824
858
  */
825
859
  onReceive?: () => void;
860
+ /**
861
+ * @deprecated Bridge 버튼은 항상 apps.json(gametokenBridge) 웹으로
862
+ * 이동한다. 이 콜백은 더 이상 호출되지 않는다.
863
+ */
826
864
  onBridge?: () => void;
827
865
  onSend?: () => void;
828
866
  style?: WalletInfoStyle;
@@ -1041,9 +1079,17 @@ interface WalletPortfolioProps {
1041
1079
  * host(wagmi 보유 측)로부터 주입받는 reader. 미주입 시 API 값으로 폴백한다.
1042
1080
  */
1043
1081
  stakingRewardsReader?: StakingRewardsReaderFn;
1082
+ /**
1083
+ * 내장 Withdraw(Rewards) 트랜잭션 서명/브로드캐스트 콜백.
1084
+ * wagmi의 `sendTransactionAsync`를 그대로 전달해도 호환된다.
1085
+ * 미주입 시 Withdraw는 기존 외부 링크로 폴백한다.
1086
+ */
1087
+ sendTransaction?: SendTransactionFn;
1088
+ /** 내장 Withdraw 확인 화면의 가스 추정 콜백. 미주입 시 지갑 추정에 위임. */
1089
+ estimateGas?: EstimateGasFn;
1044
1090
  children: React.ReactNode;
1045
1091
  }
1046
- declare function WalletPortfolioRoot({ env, theme, walletAddress, open: propOpen, onOpenChange, onOutlink, lpBalanceReader, stakingRewardsReader, children, }: WalletPortfolioProps): react_jsx_runtime.JSX.Element;
1092
+ declare function WalletPortfolioRoot({ env, theme, walletAddress, open: propOpen, onOpenChange, onOutlink, lpBalanceReader, stakingRewardsReader, sendTransaction, estimateGas, children, }: WalletPortfolioProps): react_jsx_runtime.JSX.Element;
1047
1093
  declare const WalletPortfolio: typeof WalletPortfolioRoot & {
1048
1094
  Trigger: typeof WalletPortfolioTrigger;
1049
1095
  Content: typeof WalletPortfolioContent;
@@ -1085,6 +1131,14 @@ interface WalletPortfolioBodyProps {
1085
1131
  * host(wagmi 보유 측)로부터 주입받는 reader. 미주입 시 API 값으로 폴백한다.
1086
1132
  */
1087
1133
  stakingRewardsReader?: StakingRewardsReaderFn;
1134
+ /**
1135
+ * 내장 Withdraw(Rewards) 트랜잭션 서명/브로드캐스트 콜백.
1136
+ * wagmi의 `sendTransactionAsync`를 그대로 전달해도 호환된다.
1137
+ * 미주입 시 Withdraw는 기존 외부 링크로 폴백한다.
1138
+ */
1139
+ sendTransaction?: SendTransactionFn;
1140
+ /** 내장 Withdraw 확인 화면의 가스 추정 콜백. 미주입 시 지갑 추정에 위임. */
1141
+ estimateGas?: EstimateGasFn;
1088
1142
  /**
1089
1143
  * 노출할 포트폴리오 섹션을 제한한다. 미지정(`undefined`)이면 모든 섹션을
1090
1144
  * 기본 순서대로 표시하고, 배열을 주면 포함된 섹션만 (기본 순서를 유지한 채)
@@ -1092,7 +1146,7 @@ interface WalletPortfolioBodyProps {
1092
1146
  */
1093
1147
  sections?: PortfolioSection[];
1094
1148
  }
1095
- declare function WalletPortfolioBody({ env, theme, walletAddress, walletName, onBack, showHeader, variant, className, onOutlink, lpBalanceReader, stakingRewardsReader, sections, }: WalletPortfolioBodyProps): react_jsx_runtime.JSX.Element;
1149
+ declare function WalletPortfolioBody({ env, theme, walletAddress, walletName, onBack, showHeader, variant, className, onOutlink, lpBalanceReader, stakingRewardsReader, sendTransaction, estimateGas, sections, }: WalletPortfolioBodyProps): react_jsx_runtime.JSX.Element;
1096
1150
 
1097
1151
  declare function CROSSxIcon(): react_jsx_runtime.JSX.Element;
1098
1152
  declare function MetaMaskIcon(): react_jsx_runtime.JSX.Element;
@@ -1401,10 +1455,14 @@ interface ConnectButtonProps {
1401
1455
  */
1402
1456
  estimateGas?: EstimateGasFn;
1403
1457
  /**
1404
- * 상단 QR 버튼 / 기본 액션 row의 Bridge / Send 콜백. (Buy는 위 onBuy로
1405
- * 정의됨.) Bridge는 미주입 시 WalletInfo 내장 Bridge 화면으로 진입한다.
1458
+ * 상단 QR 버튼 / 기본 액션 row의 Receive / Send 콜백. (Buy는 위 onBuy로
1459
+ * 정의됨.)
1406
1460
  */
1407
1461
  onReceive?: () => void;
1462
+ /**
1463
+ * @deprecated Bridge 버튼은 항상 apps.json(gametokenBridge) 웹으로
1464
+ * 이동한다. 이 콜백은 더 이상 호출되지 않는다.
1465
+ */
1408
1466
  onBridge?: () => void;
1409
1467
  onSend?: () => void;
1410
1468
  bridgeTokens?: BridgeToken[];
@@ -1511,7 +1569,11 @@ interface SkillsButtonProps {
1511
1569
  type?: "button" | "submit" | "reset";
1512
1570
  }
1513
1571
 
1572
+ /**
1573
+ * @deprecated 이동 대상은 apps.json(skills)이 단일 소스다. 이 상수는 더 이상
1574
+ * 폴백으로 쓰이지 않으며 하위 호환(공개 export)용으로만 남아 있다.
1575
+ */
1514
1576
  declare const DEFAULT_SKILLS_HREF = "https://www.onechain.nexus/skills";
1515
1577
  declare function SkillsButton({ label, href, onClick, className, style, theme, disabled, isLoading, loadingLabel, openInNewTab, type, }: SkillsButtonProps): react_jsx_runtime.JSX.Element;
1516
1578
 
1517
- export { APPLE_ICON, AppLauncher, AppLauncherContent, type AppLauncherContentProps, type AppLauncherProps, AppLauncherTrigger, type AppLauncherTriggerProps, type AppLauncherTriggerStyle, type AppLauncherUsageMode, BINANCE_ICON, type BridgeAmountSource, type BridgeApprovalInfo, type BridgeApproveFn, type BridgeFailedInfo, BridgeFlow, type BridgeFlowProps, type BridgeGetApprovalFn, type BridgeGetToTokensFn, type BridgeHistoryItem, type BridgeInfoRow, type BridgeInfoTokenRef, type BridgeLiquidityInfo, type BridgePathType, type BridgeQuoteFn, type BridgeQuoteInput, type BridgeQuoteResult, type BridgeStatus, type BridgeStep, type BridgeSubmitFn, type BridgeSubmittedInfo, type BridgeToken, type BridgeTxSummary, CONNECTOR_REGISTRY, CROSSX_ICON, type ChainId, ConnectButton, type ConnectButtonProps, type ConnectButtonStyle, ConnectorId, type ConnectorMeta, DEFAULT_SKILLS_HREF, type DrawerDirection$1 as DrawerDirection, type Environment, type EstimateGasArgs, type EstimateGasFn, GOOGLE_ICON, type GameSwapPool, type GameSwapTokenRef, type GasEstimate, type GetTransactionReceiptArgs, type GetTransactionReceiptFn, type GlobalMenu, type GlobalMenuItem, type GlobalMenuItemUrl, type LpBalanceInfo, type LpBalanceReaderFn, METAMASK_ICON, type OnOutlink, type OutlinkCategory, type OutlinkContext, type OutlinkOrigin, PORTFOLIO_SECTIONS, type PortfolioSection, type PreferredToken, type RecentSendAddress, SOCIAL_REGISTRY, type SendAccount, type SendAsset, SendFlow, type SendFlowProps, type SendPageProps, type SendStatus, type SendTransactionArgs, type SendTransactionFn, SkillsButton, type SkillsButtonProps, type SkillsButtonStyle, type SocialConfig, type SocialHandlers, type SocialId, type StakingRewardsInfo, type StakingRewardsReaderFn, TOKEN_STATS_QUERY_KEY, type Theme, type TokenBalance, type TokenBalanceResponse, type TokenStats, type TokenStatsResponse, type TransactionReceiptResult, USER_BALANCE_QUERY_KEY, WALLET_REGISTRY, type WalletConfig, WalletConnectModal, type WalletConnectModalContentProps, type WalletConnectModalProps, type WalletConnectModalStyle, type WalletConnectModalTriggerProps, type WalletHandlers, type WalletId, WalletInfo, type WalletInfoContentProps, type WalletInfoFooterProps, type WalletInfoNavProps, type WalletInfoProps, type WalletInfoStyle, type WalletInfoTriggerProps, WalletPortfolio, WalletPortfolioBody, type WalletPortfolioBodyProps, type WalletPortfolioContentProps, type WalletPortfolioProps, type WalletPortfolioTriggerProps, type WalletProvider, announceAppLauncherUsage, resolveEnvironment, useGlobalMenu, useTokenBalance, useTokenStats, useWalletDetect };
1579
+ export { APPLE_ICON, AppLauncher, AppLauncherContent, type AppLauncherContentProps, type AppLauncherProps, AppLauncherTrigger, type AppLauncherTriggerProps, type AppLauncherTriggerStyle, type AppLauncherUsageMode, BINANCE_ICON, type BridgeAmountSource, type BridgeApprovalInfo, type BridgeApproveFn, type BridgeFailedInfo, BridgeFlow, type BridgeFlowProps, type BridgeGetApprovalFn, type BridgeGetToTokensFn, type BridgeHistoryItem, type BridgeInfoRow, type BridgeInfoTokenRef, type BridgeLiquidityInfo, type BridgePathType, type BridgeQuoteFn, type BridgeQuoteInput, type BridgeQuoteResult, type BridgeStatus, type BridgeStep, type BridgeSubmitFn, type BridgeSubmittedInfo, type BridgeToken, type BridgeTxSummary, CONNECTOR_REGISTRY, CROSSX_ICON, type ChainId, ConnectButton, type ConnectButtonProps, type ConnectButtonStyle, ConnectorId, type ConnectorMeta, DEFAULT_SKILLS_HREF, type DrawerDirection$1 as DrawerDirection, type Environment, type EstimateGasArgs, type EstimateGasFn, GOOGLE_ICON, type GameSwapPool, type GameSwapTokenRef, type GasEstimate, type GetTransactionReceiptArgs, type GetTransactionReceiptFn, type GlobalMenu, type GlobalMenuItem, type GlobalMenuItemAssetUrl, type GlobalMenuItemServiceStatus, type GlobalMenuItemUrl, type LpBalanceInfo, type LpBalanceReaderFn, METAMASK_ICON, type OnOutlink, type OutlinkCategory, type OutlinkContext, type OutlinkOrigin, PORTFOLIO_SECTIONS, type PortfolioSection, type PreferredToken, type RecentSendAddress, SOCIAL_REGISTRY, type SendAccount, type SendAsset, SendFlow, type SendFlowProps, type SendPageProps, type SendStatus, type SendTransactionArgs, type SendTransactionFn, SkillsButton, type SkillsButtonProps, type SkillsButtonStyle, type SocialConfig, type SocialHandlers, type SocialId, type StakingRewardsInfo, type StakingRewardsReaderFn, TOKEN_STATS_QUERY_KEY, type Theme, type TokenBalance, type TokenBalanceResponse, type TokenStats, type TokenStatsResponse, type TransactionReceiptResult, USER_BALANCE_QUERY_KEY, WALLET_REGISTRY, type WalletConfig, WalletConnectModal, type WalletConnectModalContentProps, type WalletConnectModalProps, type WalletConnectModalStyle, type WalletConnectModalTriggerProps, type WalletHandlers, type WalletId, WalletInfo, type WalletInfoContentProps, type WalletInfoFooterProps, type WalletInfoNavProps, type WalletInfoProps, type WalletInfoStyle, type WalletInfoTriggerProps, WalletPortfolio, WalletPortfolioBody, type WalletPortfolioBodyProps, type WalletPortfolioContentProps, type WalletPortfolioProps, type WalletPortfolioTriggerProps, type WalletProvider, announceAppLauncherUsage, resolveEnvironment, useGlobalMenu, useTokenBalance, useTokenStats, useWalletDetect };