@tokenflight/swap 0.0.3 → 0.1.1
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/README.md +3 -1
- package/dist/custom-elements.d.ts +24 -12
- package/dist/deposit.d.ts +304 -0
- package/dist/deposit.js +1 -0
- package/dist/dist-QzDwShnx.js +2 -0
- package/dist/en-US-Dg7NZU3M.js +1 -0
- package/dist/fiat.d.ts +360 -0
- package/dist/fiat.js +1 -0
- package/dist/ja-JP-FXTra_NF.js +1 -0
- package/dist/ko-KR-D4gcrXFl.js +1 -0
- package/dist/receive.d.ts +333 -0
- package/dist/receive.js +1 -0
- package/dist/register-deposit-TIxgJ8p6.js +1 -0
- package/dist/register-swap-t4Uli1Zx.js +2 -0
- package/dist/register-widget-B49bMwiA.js +1 -0
- package/dist/swap.css +2 -0
- package/dist/swap.d.ts +283 -0
- package/dist/swap.js +1 -0
- package/dist/tokenflight-swap.d.ts +829 -0
- package/dist/tokenflight-swap.js +1 -12689
- package/dist/tokenflight-swap.umd.cjs +225 -8
- package/dist/widget-Bf9MCT78.js +223 -0
- package/dist/widget.d.ts +319 -0
- package/dist/widget.js +1 -0
- package/dist/zh-CN-CuSlgEdI.js +1 -0
- package/dist/zh-TW-DkEqrPgE.js +1 -0
- package/package.json +35 -6
- package/dist/index.d.ts +0 -791
- package/dist/ja-JP-CCPQw3wd.js +0 -113
- package/dist/ko-KR-C28W7gug.js +0 -113
- package/dist/tokenflight-swap.css +0 -1
- package/dist/zh-CN-DVc1QrCz.js +0 -113
- package/dist/zh-TW-t3fL4aXT.js +0 -113
package/dist/fiat.d.ts
ADDED
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
import { FiatJumpRoute } from '@tokenflight/api';
|
|
2
|
+
import { FiatOrderRequest } from '@tokenflight/api';
|
|
3
|
+
import { FiatOrderResponse } from '@tokenflight/api';
|
|
4
|
+
import { FiatOrderStatus } from '@tokenflight/api';
|
|
5
|
+
import { FiatPaymentMethod } from '@tokenflight/api';
|
|
6
|
+
import { FiatProviderInfo } from '@tokenflight/api';
|
|
7
|
+
import { FiatProvidersResponse } from '@tokenflight/api';
|
|
8
|
+
import { FiatQuoteItem } from '@tokenflight/api';
|
|
9
|
+
import { FiatQuoteRequest } from '@tokenflight/api';
|
|
10
|
+
import { FiatQuoteResponse } from '@tokenflight/api';
|
|
11
|
+
import { FiatQuotesResponse } from '@tokenflight/api';
|
|
12
|
+
import { FiatStatusResponse } from '@tokenflight/api';
|
|
13
|
+
import { QuoteResponse } from '@tokenflight/api';
|
|
14
|
+
|
|
15
|
+
/** Amount change data */
|
|
16
|
+
declare interface AmountChangedData {
|
|
17
|
+
amount: string;
|
|
18
|
+
direction: "from" | "to";
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Boolean HTML attribute — accepts both native booleans and the
|
|
23
|
+
* string equivalents that `parseBooleanProp()` understands.
|
|
24
|
+
*/
|
|
25
|
+
declare type BooleanAttribute = boolean | "true" | "false" | "1" | "0" | "yes" | "no" | "";
|
|
26
|
+
|
|
27
|
+
/** Callback interfaces for widget events */
|
|
28
|
+
export declare interface Callbacks {
|
|
29
|
+
onSwapSuccess?(data: SwapSuccessData): void;
|
|
30
|
+
onSwapError?(data: SwapErrorData): void;
|
|
31
|
+
onWalletConnected?(data: WalletConnectedData): void;
|
|
32
|
+
onQuoteReceived?(data: QuoteResponse): void;
|
|
33
|
+
onAmountChanged?(data: AmountChangedData): void;
|
|
34
|
+
/** Called when user clicks Connect Wallet and no walletAdapter is provided */
|
|
35
|
+
onConnectWallet?(): void;
|
|
36
|
+
/** Called when user clicks the connected wallet address (for custom account modal handling) */
|
|
37
|
+
onAccountModal?(): void;
|
|
38
|
+
/** Called when a fiat order is created and the payment widget URL is available */
|
|
39
|
+
onFiatOrderCreated?(data: {
|
|
40
|
+
orderId: string;
|
|
41
|
+
widgetUrl: string;
|
|
42
|
+
}): void;
|
|
43
|
+
/** Called when a fiat order reaches a terminal status */
|
|
44
|
+
onFiatOrderCompleted?(data: {
|
|
45
|
+
orderId: string;
|
|
46
|
+
status: string;
|
|
47
|
+
txHash?: string;
|
|
48
|
+
}): void;
|
|
49
|
+
/** Called when a deposit completes successfully */
|
|
50
|
+
onDepositSuccess?(data: SwapSuccessData): void;
|
|
51
|
+
/** Called when a deposit fails */
|
|
52
|
+
onDepositError?(data: SwapErrorData): void;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/** Chain type for multi-chain support */
|
|
56
|
+
declare type ChainType = "evm" | "solana";
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Custom color overrides — keys are CSS variable names.
|
|
60
|
+
* Typed keys provide autocomplete; arbitrary `--tf-*` strings are also accepted.
|
|
61
|
+
*
|
|
62
|
+
* ```ts
|
|
63
|
+
* customColors: {
|
|
64
|
+
* "--tf-primary": "#FF6B00",
|
|
65
|
+
* "--tf-bg": "#1A1A2E",
|
|
66
|
+
* "--tf-button-radius": "4px",
|
|
67
|
+
* "--tf-widget-max-width": "480px",
|
|
68
|
+
* }
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
export declare type CustomColors = Partial<Record<TfCssVar, string>> & Record<string, string>;
|
|
72
|
+
|
|
73
|
+
/** Payment methods available in `<tokenflight-deposit>` */
|
|
74
|
+
declare type DepositMethod = "wallet" | "card";
|
|
75
|
+
|
|
76
|
+
/** EVM wallet action via EIP-1193 */
|
|
77
|
+
declare interface EvmWalletAction {
|
|
78
|
+
type: "eip1193_request";
|
|
79
|
+
chainId: number;
|
|
80
|
+
method: string;
|
|
81
|
+
params: unknown[];
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/** Execution-only phases for the fiat flow */
|
|
85
|
+
export declare type FiatExecPhase = "creating-order" | "awaiting-payment" | "tracking" | "success";
|
|
86
|
+
|
|
87
|
+
export { FiatJumpRoute }
|
|
88
|
+
|
|
89
|
+
export { FiatOrderRequest }
|
|
90
|
+
|
|
91
|
+
export { FiatOrderResponse }
|
|
92
|
+
|
|
93
|
+
export { FiatOrderStatus }
|
|
94
|
+
|
|
95
|
+
export { FiatPaymentMethod }
|
|
96
|
+
|
|
97
|
+
/** How the fiat payment provider UI is opened. */
|
|
98
|
+
export declare type FiatPaymentMode = "overlay" | "popup";
|
|
99
|
+
|
|
100
|
+
/** UI phases for the fiat flow (derived from signals + queries) */
|
|
101
|
+
export declare type FiatPhase = "idle" | "quoting" | "quoted" | "creating-order" | "awaiting-payment" | "tracking" | "success" | "error";
|
|
102
|
+
|
|
103
|
+
export { FiatProviderInfo }
|
|
104
|
+
|
|
105
|
+
export { FiatProvidersResponse }
|
|
106
|
+
|
|
107
|
+
export { FiatQuoteItem }
|
|
108
|
+
|
|
109
|
+
export { FiatQuoteRequest }
|
|
110
|
+
|
|
111
|
+
export { FiatQuoteResponse }
|
|
112
|
+
|
|
113
|
+
export { FiatQuotesResponse }
|
|
114
|
+
|
|
115
|
+
export { FiatStatusResponse }
|
|
116
|
+
|
|
117
|
+
declare interface ImperativeWidgetOptions<TConfig> {
|
|
118
|
+
container: string | HTMLElement;
|
|
119
|
+
config: TConfig;
|
|
120
|
+
walletAdapter?: IWalletAdapter;
|
|
121
|
+
callbacks?: Callbacks;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/** Wallet adapter interface that all adapters must implement */
|
|
125
|
+
export declare interface IWalletAdapter {
|
|
126
|
+
/** Human-readable name */
|
|
127
|
+
readonly name: string;
|
|
128
|
+
/** Icon URL */
|
|
129
|
+
readonly icon?: string;
|
|
130
|
+
/** Supported action types */
|
|
131
|
+
readonly supportedActionTypes: WalletActionType[];
|
|
132
|
+
/** Optional: supported chain IDs — when set, the widget only shows tokens on these chains */
|
|
133
|
+
readonly supportedChainIds?: number[];
|
|
134
|
+
/** Connect the wallet */
|
|
135
|
+
connect(chainType?: ChainType): Promise<void>;
|
|
136
|
+
/** Disconnect the wallet */
|
|
137
|
+
disconnect(): Promise<void>;
|
|
138
|
+
/** Check if connected */
|
|
139
|
+
isConnected(chainType?: ChainType): boolean;
|
|
140
|
+
/** Get the current address */
|
|
141
|
+
getAddress(chainType?: ChainType): Promise<string | null>;
|
|
142
|
+
/** Execute a wallet action */
|
|
143
|
+
executeWalletAction(action: WalletAction): Promise<WalletActionResult>;
|
|
144
|
+
/** Optional: sign a message */
|
|
145
|
+
signMessage?(message: string, chainType?: ChainType): Promise<string>;
|
|
146
|
+
/** Optional: open the wallet's native account/connected modal */
|
|
147
|
+
openAccountModal?(): Promise<void>;
|
|
148
|
+
/** Optional: clean up internal subscriptions and watchers */
|
|
149
|
+
destroy?(): void;
|
|
150
|
+
/** Subscribe to wallet events */
|
|
151
|
+
on(event: WalletEventType, handler: (event: WalletEvent) => void): void;
|
|
152
|
+
/** Unsubscribe from wallet events */
|
|
153
|
+
off(event: WalletEventType, handler: (event: WalletEvent) => void): void;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export declare interface RegisterElementsOptions {
|
|
157
|
+
walletAdapter?: IWalletAdapter;
|
|
158
|
+
callbacks?: Callbacks;
|
|
159
|
+
/** Custom CSS variable overrides merged on top of the active theme.
|
|
160
|
+
* Keys are CSS variable names, e.g. `"--tf-primary"`, `"--tf-font-family"`. */
|
|
161
|
+
customColors?: CustomColors;
|
|
162
|
+
/** Default API endpoint for all widget instances. */
|
|
163
|
+
apiEndpoint?: string;
|
|
164
|
+
/** Default theme for all widget instances. */
|
|
165
|
+
theme?: Theme;
|
|
166
|
+
/** Default locale for all widget instances. */
|
|
167
|
+
locale?: SupportedLocale;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export declare function registerFiatElement(options?: RegisterElementsOptions): void;
|
|
171
|
+
|
|
172
|
+
/** Solana sign and send transaction action */
|
|
173
|
+
declare interface SolanaSignAndSendAction {
|
|
174
|
+
type: "solana_signAndSendTransaction";
|
|
175
|
+
transaction: string;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/** Solana sign transaction action */
|
|
179
|
+
declare interface SolanaSignTransactionAction {
|
|
180
|
+
type: "solana_signTransaction";
|
|
181
|
+
transaction: string;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/** Supported locale identifiers. Accepts any string for forward-compat; known values get bundled translations. */
|
|
185
|
+
export declare type SupportedLocale = "en-US" | "zh-CN" | "zh-TW" | "ja-JP" | "ko-KR" | (string & {});
|
|
186
|
+
|
|
187
|
+
/** Data emitted on swap error */
|
|
188
|
+
declare interface SwapErrorData {
|
|
189
|
+
code: string;
|
|
190
|
+
message: string;
|
|
191
|
+
details?: unknown;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/** Data emitted on swap success */
|
|
195
|
+
declare interface SwapSuccessData {
|
|
196
|
+
orderId: string;
|
|
197
|
+
fromToken: string;
|
|
198
|
+
toToken: string;
|
|
199
|
+
fromAmount: string;
|
|
200
|
+
toAmount: string;
|
|
201
|
+
txHash: string;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/** All first-party CSS custom properties exposed for theming. */
|
|
205
|
+
declare type TfCssVar = "--tf-bg" | "--tf-bg-secondary" | "--tf-bg-elevated" | "--tf-surface" | "--tf-surface-hover" | "--tf-input-bg" | "--tf-glass" | "--tf-text" | "--tf-text-secondary" | "--tf-text-tertiary" | "--tf-text-on-primary" | "--tf-border" | "--tf-border-light" | "--tf-primary" | "--tf-primary-alpha" | "--tf-primary-light" | "--tf-primary-glow" | "--tf-success" | "--tf-success-bg" | "--tf-error" | "--tf-error-bg" | "--tf-error-alpha" | "--tf-warning" | "--tf-warning-bg" | "--tf-shadow" | "--tf-shadow-lg" | "--tf-skeleton" | "--tf-radius-xs" | "--tf-radius-sm" | "--tf-radius" | "--tf-radius-lg" | "--tf-radius-xl" | "--tf-button-radius" | "--tf-widget-max-width" | "--tf-font-family" | "--tf-font-family-mono";
|
|
206
|
+
|
|
207
|
+
/** Visual theme mode. */
|
|
208
|
+
export declare type Theme = "light" | "dark" | "auto";
|
|
209
|
+
|
|
210
|
+
/** Shared configuration fields for both widgets */
|
|
211
|
+
declare interface TokenFlightConfigBase {
|
|
212
|
+
/** HyperStream API endpoint */
|
|
213
|
+
apiEndpoint?: string;
|
|
214
|
+
/** Fiat on-ramp API endpoint (default: https://fiat-preview.hyperstream.dev) */
|
|
215
|
+
fiatApiEndpoint?: string;
|
|
216
|
+
/** Visual theme */
|
|
217
|
+
theme?: Theme;
|
|
218
|
+
/** Locale for i18n */
|
|
219
|
+
locale?: SupportedLocale;
|
|
220
|
+
/** Custom CSS color overrides */
|
|
221
|
+
customColors?: CustomColors;
|
|
222
|
+
/** Optional custom widget title text */
|
|
223
|
+
titleText?: string;
|
|
224
|
+
/** Optional custom widget title image URL */
|
|
225
|
+
titleImageUrl?: string;
|
|
226
|
+
/** Hide top title/header area */
|
|
227
|
+
hideTitle?: boolean;
|
|
228
|
+
/** Hide "Powered by TokenFlight" footer */
|
|
229
|
+
hidePoweredBy?: boolean;
|
|
230
|
+
/** Remove container background (transparent) */
|
|
231
|
+
noBackground?: boolean;
|
|
232
|
+
/** Remove container border and shadow */
|
|
233
|
+
noBorder?: boolean;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/** Configuration for `<tokenflight-deposit>` */
|
|
237
|
+
declare interface TokenFlightDepositConfig extends TokenFlightConfigBase {
|
|
238
|
+
/** Target token(s) to deposit into. When omitted, user selects via TokenSelector. */
|
|
239
|
+
target?: TokenIdentifier | TokenIdentifier[];
|
|
240
|
+
/** Optional: fixed amount for the target token */
|
|
241
|
+
amount?: string;
|
|
242
|
+
/** Optional: recipient address */
|
|
243
|
+
recipient?: string;
|
|
244
|
+
/** Payment methods to offer (default: ["wallet"]) */
|
|
245
|
+
methods?: DepositMethod[];
|
|
246
|
+
/** Optional source token to pay with */
|
|
247
|
+
fromToken?: TokenIdentifier;
|
|
248
|
+
/** Optional icon URL for the target token */
|
|
249
|
+
targetIcon?: string;
|
|
250
|
+
/** Fiat currency code for card payments (default: "USD") */
|
|
251
|
+
fiatCurrency?: string;
|
|
252
|
+
/** How to open the fiat payment provider (default: "overlay") */
|
|
253
|
+
fiatPaymentMode?: FiatPaymentMode;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export declare const TokenFlightFiat: {
|
|
257
|
+
new (options: ImperativeWidgetOptions<TokenFlightDepositConfig>): {
|
|
258
|
+
#dispose: (() => void) | null;
|
|
259
|
+
#unwatchTheme: (() => void) | null;
|
|
260
|
+
#container: HTMLElement;
|
|
261
|
+
#shadowRoot: ShadowRoot | null;
|
|
262
|
+
#config: TokenFlightDepositConfig;
|
|
263
|
+
#walletAdapter?: IWalletAdapter;
|
|
264
|
+
#callbacks?: Callbacks;
|
|
265
|
+
initialize(): void;
|
|
266
|
+
destroy(): void;
|
|
267
|
+
setTheme(theme: Theme): void;
|
|
268
|
+
setCustomColors(colors: CustomColors): void;
|
|
269
|
+
#applyThemeStyles(style: HTMLStyleElement, theme: string): void;
|
|
270
|
+
#setupAutoThemeWatch(style: HTMLStyleElement): void;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
/** Attributes accepted by `<tokenflight-fiat>`. */
|
|
275
|
+
export declare interface TokenFlightFiatAttributes {
|
|
276
|
+
"api-endpoint"?: string;
|
|
277
|
+
target?: string;
|
|
278
|
+
recipient?: string;
|
|
279
|
+
"fiat-currency"?: string;
|
|
280
|
+
"title-text"?: string;
|
|
281
|
+
"title-image"?: string;
|
|
282
|
+
theme?: Theme;
|
|
283
|
+
locale?: SupportedLocale;
|
|
284
|
+
"csp-nonce"?: string;
|
|
285
|
+
icon?: string;
|
|
286
|
+
"hide-title"?: BooleanAttribute;
|
|
287
|
+
"hide-powered-by"?: BooleanAttribute;
|
|
288
|
+
"no-background"?: BooleanAttribute;
|
|
289
|
+
"no-border"?: BooleanAttribute;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* @deprecated Use `TokenFlightDepositConfig` instead.
|
|
294
|
+
*
|
|
295
|
+
* Configuration for `<tokenflight-fiat>`
|
|
296
|
+
*/
|
|
297
|
+
export declare interface TokenFlightFiatConfig extends TokenFlightConfigBase {
|
|
298
|
+
/** Optional: target token to purchase (user can select via TokenSelector if omitted) */
|
|
299
|
+
target?: TokenIdentifier;
|
|
300
|
+
/** Optional recipient address (if not using connected wallet) */
|
|
301
|
+
recipient?: string;
|
|
302
|
+
/** Fiat currency code (default: "USD") */
|
|
303
|
+
fiatCurrency?: string;
|
|
304
|
+
/** Optional icon URL for the target token */
|
|
305
|
+
icon?: string;
|
|
306
|
+
/** How to open the payment provider: "overlay" (iframe modal, default) or "popup" (new window). */
|
|
307
|
+
paymentMode?: FiatPaymentMode;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export declare interface TokenFlightFiatOptions {
|
|
311
|
+
container: string | HTMLElement;
|
|
312
|
+
config: TokenFlightFiatConfig;
|
|
313
|
+
walletAdapter?: IWalletAdapter;
|
|
314
|
+
callbacks?: Callbacks;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Flexible token identifier supporting:
|
|
319
|
+
* - Direct object: { chainId: 1, address: "0x..." }
|
|
320
|
+
* - CAIP-10 string: "eip155:1:0x..."
|
|
321
|
+
* - JSON string: '{"chainId":1,"address":"0x..."}'
|
|
322
|
+
*/
|
|
323
|
+
declare type TokenIdentifier = string | TokenTarget;
|
|
324
|
+
|
|
325
|
+
/** Token target as chain + address pair */
|
|
326
|
+
declare interface TokenTarget {
|
|
327
|
+
chainId: number;
|
|
328
|
+
address: string;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/** Union of all wallet action types */
|
|
332
|
+
declare type WalletAction = EvmWalletAction | SolanaSignTransactionAction | SolanaSignAndSendAction;
|
|
333
|
+
|
|
334
|
+
/** Result of executing a wallet action */
|
|
335
|
+
declare interface WalletActionResult {
|
|
336
|
+
success: boolean;
|
|
337
|
+
data?: unknown;
|
|
338
|
+
error?: string;
|
|
339
|
+
txHash?: string;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/** Wallet action types */
|
|
343
|
+
declare type WalletActionType = "eip1193_request" | "solana_signTransaction" | "solana_signAndSendTransaction";
|
|
344
|
+
|
|
345
|
+
/** Data emitted when wallet is connected */
|
|
346
|
+
declare interface WalletConnectedData {
|
|
347
|
+
address: string;
|
|
348
|
+
chainType: string;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/** Wallet event payload */
|
|
352
|
+
declare interface WalletEvent {
|
|
353
|
+
type: WalletEventType;
|
|
354
|
+
data?: unknown;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
/** Wallet event types */
|
|
358
|
+
declare type WalletEventType = "connect" | "disconnect" | "chainChanged" | "accountsChanged";
|
|
359
|
+
|
|
360
|
+
export { }
|
package/dist/fiat.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./dist-QzDwShnx.js";import"./widget-Bf9MCT78.js";import{n as e,t}from"./register-deposit-TIxgJ8p6.js";export{e as TokenFlightFiat,t as registerFiatElement};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=`確認待ち...`,ee=`エクスプローラーで表示`,te=`送達に失敗しました`,t=`法定通貨プロバイダーを選択`,n=`金額を入力`,r=`最適な価格を検索中...`,i=`注文が期限切れ`,a=e=>`${e.provider} で ${e.amount} を支払う`,ne=void 0,o=e=>`${e.provider}で続行`,re=void 0,s=e=>`${e.provider}経由`,c=`入金を確認`,l=`入金`,u=`トークンがウォレットに送達されました`,d=`支払い`,f=`トークンが送達されました`,p=e=>`≈ $${e.formatUsd}`,m=`受取アドレス`,h=`確認`,g=`ウォレットを接続して支払いオプションを表示`,_=`トークンが見つかりません`,ie=void 0,v=`ウォレットで確認してください...`,y=`返金トランザクション`,ae=void 0,b=`DEXでスワップ中...`,x=`支払い画面を再度開く`,S=`通貨を選択`,C=`取引失敗 — 再試行`,w=`フィラーが注文を受け付けませんでした`,oe=void 0,T=`支払い`,E=`実行中...`,D=`受取りトークンを選択`,O=e=>`${e.chain}で完了`,k=`支払い確認済み`,A=`購入`,j=`閉じる`,se=void 0,M=e=>`他${e.count}件と比較`,ce=void 0,N=`返金処理中`,P=e=>`${e.chain}への入金`,F=`暗号通貨`,I=`署名完了`,L=`注文が失敗`,le=void 0,R=`受取アドレス`,ue=void 0,z=`入金先`,B=`クレジットカードまたはデビットカードで購入`,de=void 0,V=`ブラウザのプライバシー設定がサードパーティのコンテンツをブロックしている可能性があります。新しいウィンドウで支払いページを開いてみてください。`,H=`スワップ`,U=`送信者`,W=`支払いトークンを選択`,G=e=>`${e.provider}経由`,K=`合計手数料`,q=`支払い済み`,J=`再試行`,Y=`スワップを確認`,X=`見積もり更新`,Z=`プロバイダーが注文を処理中`,Q=`トークンをスワップ中`,fe=e=>`${e.chain}でトークンを返還中`,pe=`カード`,me=`トークンを交換`,he=`法定通貨支払い`,ge=`処理中...`,_e=`購入失敗`,ve=`新しい購入`,ye=e=>`${e.store_targetToken}を購入`,be=`クレジットカードまたはデビットカードで支払う`,xe=`オンチェーンで確認済み`,Se=`ウォレットで署名`,$=`送金元`,Ce=`支払いウィジェットを読み込めませんでした`,we=`支払いを読み込み中...`,Te=`トークン受け取りに必要`,Ee=`最大`,De=`支払い`,Oe=`再試行`,ke=`手数料`,Ae=`完了できませんでした`,je=void 0,Me=`完了取引`,Ne=e=>`${e.seconds}秒で送達`,Pe=`支払い方法`,Fe=void 0,Ie=`スワップ成功`,Le=`トークンが送達されました`,Re=`受取`,ze=`最低`,Be=`名前またはアドレスで検索`,Ve=e=>`~${e.value}秒`,He=`0`,Ue=`プロバイダー`,We=`推定時間`,Ge=`残高不足`,Ke=`このチェーンのアドレス形式が無効です`,qe=`宛先アドレスを入力`,Je=`利用可能なトークンがありません`,Ye=`最高`,Xe=`送金トランザクション`,Ze=`スワップを実行`,Qe=`このトークンはカードで直接購入できません。まず USDC を購入し、自動的にご希望のトークンに交換します。`,$e=`見積もり失敗`,et=void 0,tt=e=>`${e.chain}上`,nt=e=>`~${e.value}分`,rt=`利用可能なルートがありません`,it=`トークンが到着しました!`,at=`支払い待ち`,ot=e=>`最良レートのため${e.token}経由でルーティング`,st=`ユーザーがキャンセルしました`,ct=`新しいスワップ`,lt=`受取アドレスを入力`,ut=`ウォレットがソースチェーンと一致しません`,dt=`表示`,ft=`最良レート`,pt=`注文を完了できませんでした。`,mt=e=>`${e.symbol}をウォレットに送信中...`,ht=`資金がウォレットに返金されました。`,gt=`新しいウィンドウで支払いが開かれました`,_t=`署名を提出しました`,vt=`入金取引`,yt=`ウォレットを接続`,bt=`ウォレットのトークンで支払う`,xt=`支払いを完了`,St=`受取り`,Ct=`購入完了`,wt=`新しいウィンドウで開く`,Tt=`選択したトークンは現在この購入には利用できません`,Et=`受取アドレスを入力`,Dt=`おすすめ`,Ot=`ウォレットアカウント`,kt=e=>`残高: ${e.fromBalance}`,At=`購入完了`,jt=`リトライ`,Mt=void 0,Nt=`トークンを選択`,Pt={"10ioi7e":e,"10v0i5g":ee,"115lknq":te,"118a77s":t,"119fv83":n,"12rnjtt":r,"12rrl0i":i,"132vna6":a,"13i9oqu":void 0,"13l4n4r":o,"13x5i2v":void 0,"14j1lze":s,"15lxzx":c,"15lz1at":l,"1685rko":u,"17kq51m":d,"17wtaao":f,"188897k":p,"18cmny0":m,"18tbqwf":h,"18y1lrp":g,"19is1h8":_,"19ne1ha":void 0,"1bze7sg":v,"1c5n7ll":y,"1cei180":void 0,"1g8tdk7":b,"1gi9nny":x,"1gx00do":S,"1hb73om":C,"1hdpo6q":w,"1hzmxtu":void 0,"1i7coq1":T,"1ih47b3":E,"1ix1b7w":D,"1ixbbo7":O,"1jhuo24":k,"1ka8utn":A,"1l0xxoj":j,"1l41ftg":void 0,"1m2n0pw":M,"1ne9nkz":void 0,"1nhkl7x":N,"1nn0owb":P,"1o1b4a8":F,"1o4ofyx":I,"1ok4m5g":L,"1olegnl":void 0,"1oncz6g":R,"1ovj1tk":void 0,"1py89j9":z,"1q45kup":B,"1qbiehv":void 0,"1qisb2z":V,"1rkfalq":H,"1rnxx1g":U,"1t0r88u":W,"1t86tnu":G,"1viukn9":K,"1w0n607":q,"1w68n16":J,"1x5xdes":Y,"1xnfoqn":X,"1y28pgi":Z,"1y6hn5o":Q,"27fhcv":fe,"2b8ghr":pe,"2eikro":me,"2zh3gr":he,"344av8":ge,"3pklqf":_e,"3u5vqs":ve,"515x49":ye,"6c0jc7":be,"6c5l2f":xe,"6gkge0":Se,"6s9hn9":$,"75id35":Ce,"7iskw5":we,"7m2ht3":Te,"7v6g6x":Ee,"958wsx":De,"982hh6":Oe,"9l4mg3":ke,"9p7amh":Ae,axj370:void 0,bdo3n8:Me,biwlqk:Ne,cgzgvn:Pe,chajkh:void 0,cjn1xs:Ie,cnwfg3:Le,cwk7r6:Re,cx9lh3:ze,dizog6:Be,ek03j3:Ve,epw9f3:`0`,evz7q4:Ue,f45rwo:We,fcy4ey:Ge,fo0vw0:Ke,fpand1:qe,g7pjpv:Je,gtvgs9:Ye,hzq69q:Xe,ibrnk6:Ze,ifug2i:Qe,jf8ts4:$e,jnzipx:void 0,k47stp:tt,knrcsh:nt,ln9xiv:rt,mnlddk:it,n9zkql:at,ofi1rq:ot,otqba5:st,pmqvh0:ct,pom1h2:lt,q4mqcd:ut,q5w460:dt,r7v9s7:ft,rvctng:pt,sykid7:mt,t1rvqg:ht,t40bok:gt,tgp8yw:_t,tjg3i3:vt,u61kge:yt,udneg1:bt,ulp7ys:xt,va18uh:St,vum0cd:Ct,w6pv1a:wt,wuxjl9:Tt,wx5bee:Et,xel5qk:Dt,xphk5n:Ot,y6jqu9:kt,yhtv6l:At,zkouah:jt,zsopm1:void 0,zz4mrw:Nt};export{Ze as _100907z,St as _108j3sk,q as _10lgc56,U as _10n9ta8,d as _113vzpe,lt as _11ncipg,F as _11p3b1r,rt as _12qyh2x,N as _13ym6k2,pe as _14oyo32,ie as _15vbpgm,we as _1640n3f,gt as _165eyp5,Qe as _16ln1wz,Ie as _16pzx0g,Ae as _16rump9,D as _17g2rjk,x as _181ewwm,p as _18346vt,wt as _18ogtk,A as _1982g2x,Ot as _1biskvr,b as _1bjtgx1,Le as _1cmz8k7,bt as _1cpadi9,ue as _1d7sodl,ut as _1e023il,re as _1e5aqjt,P as _1ea99j0,ee as _1f4czmp,xe as _1f8nqa3,Y as _1f8umlr,R as _1fe46d3,Te as _1fikhaa,ct as _1fu9qvd,Pe as _1gfjrn0,Ne as _1gma9hv,fe as _1hs819x,_t as _1ht75o0,te as _1i8i0au,j as _1ib6ekl,B as _1ievltk,ft as _1in1gel,le as _1in9ocp,qe as _1ju6xlj,ae as _1jvje3y,ke as _1kd3yrp,oe as _1kez60s,Q as _1krtsvx,ot as _1kvlpuf,be as _1l1rqi2,H as _1l2nmmx,T as _1lra4kg,Tt as _1n1igys,C as _1na1vy4,a as _1nwhws6,Ve as _1o0vi1j,Xe as _1o2h7a2,o as _1o8feo7,Je as _1om32zr,y as _1oqs23j,jt as _1popw3r,e as _1qamgmj,se as _1s3hwm,nt as _1s54fdc,ne as _1s9ryeq,Se as _1t3gki9,S as _1uje2mm,u as _1urf8wf,t as _1w2bswr,O as _1wwy4yj,mt as _1y7hba4,ye as _1yh8ttx,_ as _1yv1ajq,Et as _3mtvnb,Ue as _3w8t28,W as _41y3qp,de as _454sub,dt as _49235i,L as _4itr6p,I as _4opuqb,he as _5af8qp,h as _5r87wo,g as _78b61s,Ce as _78ts6w,l as _89hoyp,$ as _8edkty,Mt as _8wjab,Me as _a5vz6z,Be as _al7a0k,Ee as _bii6w9,Oe as _cakypo,He as _cnghfj,E as _czpegb,vt as _d7bf51,$e as _doc1yy,c as _fdcaz1,ce as _g3pfjv,Fe as _g88yty,at as _gkmqsa,s as _hyiyqa,V as _i1jamr,m as _ide9vv,yt as _ig1w2,xt as _jj7boh,kt as _jpt8np,K as _kmeu9o,Z as _kqdlbv,Dt as _l5s0fl,et as _l78r94,f as _ly147p,je as _m8t1qc,Re as _mdvri5,st as _mq62g3,i as _nrzzox,tt as _o3um2w,k as _oj2fr8,Ct as _p5ybee,M as _peuj54,z as _pkny2p,w as _pqml54,_e as _pr6lte,ge as _q0rsrj,ht as _qm85b2,De as _r56hbl,v as _sf0mgy,Nt as _si8n6l,Ye as _swoaip,At as _t0vnn4,G as _t91lwj,Ke as _ty2nen,pt as _u7tj7p,We as _uc0jju,X as _ur1tmm,n as _uu4paz,it as _vogk37,J as _xavgbs,me as _xkdtbf,r as _xpl7mo,ve as _ystooe,ze as _z6jr7i,Ge as _zzusn5,Pt as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=`확인 대기 중...`,ee=`익스플로러에서 보기`,te=`전달 실패`,t=`법정화폐 제공업체 선택`,n=`금액 입력`,r=`최적 가격 검색 중...`,i=`주문 만료`,a=e=>`${e.provider}에서 ${e.amount} 결제`,ne=void 0,o=e=>`${e.provider}를 통해 계속`,re=void 0,s=e=>`${e.provider} 경유`,c=`입금 확인`,l=`입금`,u=`토큰이 지갑에 전달되었습니다`,d=`지불`,f=`토큰이 전달되었습니다`,p=e=>`≈ $${e.formatUsd}`,m=`수신 주소`,h=`확인`,g=`지갑을 연결하여 결제 옵션을 확인하세요`,_=`토큰을 찾을 수 없습니다`,ie=void 0,v=`지갑에서 확인해 주세요...`,y=`환불 트랜잭션`,ae=void 0,b=`DEX를 통해 스왑 중...`,x=`결제 창 다시 열기`,S=`통화 선택`,C=`거래 실패 — 재시도`,w=`필러가 주문을 수락하지 않았습니다`,oe=void 0,T=`결제`,E=`실행 중...`,D=`수령 토큰 선택`,O=e=>`${e.chain}에서 완료`,k=`결제 확인됨`,A=`구매`,j=`닫기`,se=void 0,M=e=>`${e.count}곳 더 비교`,ce=void 0,N=`환불 진행 중`,P=e=>`${e.chain}에 입금`,F=`암호화폐`,I=`서명 완료`,L=`주문 실패`,le=void 0,R=`수신 주소`,ue=void 0,z=`입금 대상`,B=`신용카드 또는 체크카드로 구매`,de=void 0,V=`브라우저 개인정보 보호 설정이 서드파티 콘텐츠를 차단하고 있을 수 있습니다. 새 창에서 결제 페이지를 열어보세요.`,H=`스왑`,U=`보낸 사람`,W=`결제 토큰 선택`,G=e=>`${e.provider} 경유`,K=`총 수수료`,q=`결제 완료`,J=`재시도`,Y=`스왑 확인`,X=`견적 갱신`,Z=`제공자가 주문 처리 중`,Q=`토큰 스왑 중`,fe=e=>`${e.chain}에서 토큰 반환 중`,pe=`카드`,me=`토큰 교환`,he=`법정화폐 결제`,ge=`처리 중...`,_e=`구매 실패`,ve=`새 구매`,ye=e=>`${e.store_targetToken} 구매`,be=`신용카드 또는 체크카드로 결제`,xe=`온체인에서 확인됨`,Se=`지갑에서 서명`,$=`보낸 곳`,Ce=`결제 위젯을 로드할 수 없습니다`,we=`결제 로딩 중...`,Te=`토큰 수령에 필요`,Ee=`최대`,De=`결제`,Oe=`다시 시도`,ke=`수수료`,Ae=`완료할 수 없습니다`,je=void 0,Me=`완료 트랜잭션`,Ne=e=>`${e.seconds}초 만에 전달`,Pe=`결제 수단`,Fe=void 0,Ie=`스왑 성공`,Le=`토큰이 전달되었습니다`,Re=`수령`,ze=`최소`,Be=`이름 또는 주소로 검색`,Ve=e=>`~${e.value}초`,He=`0`,Ue=`제공자`,We=`예상 시간`,Ge=`잔액 부족`,Ke=`이 체인의 주소 형식이 올바르지 않습니다`,qe=`대상 주소 입력`,Je=`사용 가능한 토큰이 없습니다`,Ye=`최대`,Xe=`전송 트랜잭션`,Ze=`스왑 실행`,Qe=`이 토큰은 카드로 직접 구매할 수 없습니다. 먼저 USDC를 구매한 후 원하는 토큰으로 자동 교환합니다.`,$e=`견적 실패`,et=void 0,tt=e=>`${e.chain}에서`,nt=e=>`~${e.value}분`,rt=`사용 가능한 경로 없음`,it=`토큰이 도착했습니다!`,at=`결제 대기`,ot=e=>`최적 가격을 위해 ${e.token}을 통해 라우팅`,st=`사용자가 취소했습니다`,ct=`새 스왑`,lt=`수신 주소 입력`,ut=`지갑이 소스 체인과 일치하지 않습니다`,dt=`보기`,ft=`최적 가격`,pt=`주문을 완료할 수 없습니다.`,mt=e=>`${e.symbol}을 지갑으로 전송 중...`,ht=`자금이 지갑으로 반환되었습니다.`,gt=`새 창에서 결제가 열렸습니다`,_t=`서명이 제출되었습니다`,vt=`입금 트랜잭션`,yt=`지갑 연결`,bt=`지갑의 토큰으로 결제`,xt=`결제 완료`,St=`수령`,Ct=`구매 완료`,wt=`새 창에서 열기`,Tt=`선택한 토큰은 현재 이 구매에 사용할 수 없습니다`,Et=`수신 주소 입력`,Dt=`추천`,Ot=`지갑 계정`,kt=e=>`잔액: ${e.fromBalance}`,At=`구매 완료`,jt=`재시도`,Mt=void 0,Nt=`토큰 선택`,Pt={"10ioi7e":e,"10v0i5g":ee,"115lknq":te,"118a77s":t,"119fv83":n,"12rnjtt":r,"12rrl0i":i,"132vna6":a,"13i9oqu":void 0,"13l4n4r":o,"13x5i2v":void 0,"14j1lze":s,"15lxzx":c,"15lz1at":l,"1685rko":u,"17kq51m":d,"17wtaao":f,"188897k":p,"18cmny0":m,"18tbqwf":h,"18y1lrp":g,"19is1h8":_,"19ne1ha":void 0,"1bze7sg":v,"1c5n7ll":y,"1cei180":void 0,"1g8tdk7":b,"1gi9nny":x,"1gx00do":S,"1hb73om":C,"1hdpo6q":w,"1hzmxtu":void 0,"1i7coq1":T,"1ih47b3":E,"1ix1b7w":D,"1ixbbo7":O,"1jhuo24":k,"1ka8utn":A,"1l0xxoj":j,"1l41ftg":void 0,"1m2n0pw":M,"1ne9nkz":void 0,"1nhkl7x":N,"1nn0owb":P,"1o1b4a8":F,"1o4ofyx":I,"1ok4m5g":L,"1olegnl":void 0,"1oncz6g":R,"1ovj1tk":void 0,"1py89j9":z,"1q45kup":B,"1qbiehv":void 0,"1qisb2z":V,"1rkfalq":H,"1rnxx1g":U,"1t0r88u":W,"1t86tnu":G,"1viukn9":K,"1w0n607":q,"1w68n16":J,"1x5xdes":Y,"1xnfoqn":X,"1y28pgi":Z,"1y6hn5o":Q,"27fhcv":fe,"2b8ghr":pe,"2eikro":me,"2zh3gr":he,"344av8":ge,"3pklqf":_e,"3u5vqs":ve,"515x49":ye,"6c0jc7":be,"6c5l2f":xe,"6gkge0":Se,"6s9hn9":$,"75id35":Ce,"7iskw5":we,"7m2ht3":Te,"7v6g6x":Ee,"958wsx":De,"982hh6":Oe,"9l4mg3":ke,"9p7amh":Ae,axj370:void 0,bdo3n8:Me,biwlqk:Ne,cgzgvn:Pe,chajkh:void 0,cjn1xs:Ie,cnwfg3:Le,cwk7r6:Re,cx9lh3:ze,dizog6:Be,ek03j3:Ve,epw9f3:`0`,evz7q4:Ue,f45rwo:We,fcy4ey:Ge,fo0vw0:Ke,fpand1:qe,g7pjpv:Je,gtvgs9:Ye,hzq69q:Xe,ibrnk6:Ze,ifug2i:Qe,jf8ts4:$e,jnzipx:void 0,k47stp:tt,knrcsh:nt,ln9xiv:rt,mnlddk:it,n9zkql:at,ofi1rq:ot,otqba5:st,pmqvh0:ct,pom1h2:lt,q4mqcd:ut,q5w460:dt,r7v9s7:ft,rvctng:pt,sykid7:mt,t1rvqg:ht,t40bok:gt,tgp8yw:_t,tjg3i3:vt,u61kge:yt,udneg1:bt,ulp7ys:xt,va18uh:St,vum0cd:Ct,w6pv1a:wt,wuxjl9:Tt,wx5bee:Et,xel5qk:Dt,xphk5n:Ot,y6jqu9:kt,yhtv6l:At,zkouah:jt,zsopm1:void 0,zz4mrw:Nt};export{Ze as _100907z,St as _108j3sk,q as _10lgc56,U as _10n9ta8,d as _113vzpe,lt as _11ncipg,F as _11p3b1r,rt as _12qyh2x,N as _13ym6k2,pe as _14oyo32,ie as _15vbpgm,we as _1640n3f,gt as _165eyp5,Qe as _16ln1wz,Ie as _16pzx0g,Ae as _16rump9,D as _17g2rjk,x as _181ewwm,p as _18346vt,wt as _18ogtk,A as _1982g2x,Ot as _1biskvr,b as _1bjtgx1,Le as _1cmz8k7,bt as _1cpadi9,ue as _1d7sodl,ut as _1e023il,re as _1e5aqjt,P as _1ea99j0,ee as _1f4czmp,xe as _1f8nqa3,Y as _1f8umlr,R as _1fe46d3,Te as _1fikhaa,ct as _1fu9qvd,Pe as _1gfjrn0,Ne as _1gma9hv,fe as _1hs819x,_t as _1ht75o0,te as _1i8i0au,j as _1ib6ekl,B as _1ievltk,ft as _1in1gel,le as _1in9ocp,qe as _1ju6xlj,ae as _1jvje3y,ke as _1kd3yrp,oe as _1kez60s,Q as _1krtsvx,ot as _1kvlpuf,be as _1l1rqi2,H as _1l2nmmx,T as _1lra4kg,Tt as _1n1igys,C as _1na1vy4,a as _1nwhws6,Ve as _1o0vi1j,Xe as _1o2h7a2,o as _1o8feo7,Je as _1om32zr,y as _1oqs23j,jt as _1popw3r,e as _1qamgmj,se as _1s3hwm,nt as _1s54fdc,ne as _1s9ryeq,Se as _1t3gki9,S as _1uje2mm,u as _1urf8wf,t as _1w2bswr,O as _1wwy4yj,mt as _1y7hba4,ye as _1yh8ttx,_ as _1yv1ajq,Et as _3mtvnb,Ue as _3w8t28,W as _41y3qp,de as _454sub,dt as _49235i,L as _4itr6p,I as _4opuqb,he as _5af8qp,h as _5r87wo,g as _78b61s,Ce as _78ts6w,l as _89hoyp,$ as _8edkty,Mt as _8wjab,Me as _a5vz6z,Be as _al7a0k,Ee as _bii6w9,Oe as _cakypo,He as _cnghfj,E as _czpegb,vt as _d7bf51,$e as _doc1yy,c as _fdcaz1,ce as _g3pfjv,Fe as _g88yty,at as _gkmqsa,s as _hyiyqa,V as _i1jamr,m as _ide9vv,yt as _ig1w2,xt as _jj7boh,kt as _jpt8np,K as _kmeu9o,Z as _kqdlbv,Dt as _l5s0fl,et as _l78r94,f as _ly147p,je as _m8t1qc,Re as _mdvri5,st as _mq62g3,i as _nrzzox,tt as _o3um2w,k as _oj2fr8,Ct as _p5ybee,M as _peuj54,z as _pkny2p,w as _pqml54,_e as _pr6lte,ge as _q0rsrj,ht as _qm85b2,De as _r56hbl,v as _sf0mgy,Nt as _si8n6l,Ye as _swoaip,At as _t0vnn4,G as _t91lwj,Ke as _ty2nen,pt as _u7tj7p,We as _uc0jju,X as _ur1tmm,n as _uu4paz,it as _vogk37,J as _xavgbs,me as _xkdtbf,r as _xpl7mo,ve as _ystooe,ze as _z6jr7i,Ge as _zzusn5,Pt as default};
|