@orderly.network/ui-transfer 3.1.7 → 3.1.8
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.mts +1 -20
- package/dist/index.d.ts +1 -20
- package/dist/index.js +212 -289
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +214 -291
- package/dist/index.mjs.map +1 -1
- package/package.json +14 -14
package/dist/index.d.mts
CHANGED
|
@@ -280,26 +280,18 @@ declare const useConvertFormScript: (options: ConvertFormScriptOptions) => {
|
|
|
280
280
|
quantity: string;
|
|
281
281
|
onQuantityChange: (qty: string) => void;
|
|
282
282
|
token: (_orderly_network_types.API.Token & {
|
|
283
|
-
contract_address: string;
|
|
284
|
-
quoteChainId: string;
|
|
285
283
|
precision: number;
|
|
286
284
|
symbol: string;
|
|
287
285
|
}) | undefined;
|
|
288
286
|
sourceTokens: (_orderly_network_types.API.Token & {
|
|
289
|
-
contract_address: string;
|
|
290
|
-
quoteChainId: string;
|
|
291
287
|
precision: number;
|
|
292
288
|
symbol: string;
|
|
293
289
|
})[];
|
|
294
290
|
onSourceTokenChange: react.Dispatch<react.SetStateAction<(_orderly_network_types.API.Token & {
|
|
295
|
-
contract_address: string;
|
|
296
|
-
quoteChainId: string;
|
|
297
291
|
precision: number;
|
|
298
292
|
symbol: string;
|
|
299
293
|
}) | undefined>>;
|
|
300
294
|
targetToken: (_orderly_network_types.API.Token & {
|
|
301
|
-
contract_address: string;
|
|
302
|
-
quoteChainId: string;
|
|
303
295
|
precision: number;
|
|
304
296
|
symbol: string;
|
|
305
297
|
}) | undefined;
|
|
@@ -315,22 +307,11 @@ declare const useConvertFormScript: (options: ConvertFormScriptOptions) => {
|
|
|
315
307
|
slippage: any;
|
|
316
308
|
onSlippageChange: (value: number) => void;
|
|
317
309
|
convertRate: string;
|
|
318
|
-
minimumReceived:
|
|
310
|
+
minimumReceived: string;
|
|
319
311
|
outAmounts: string;
|
|
320
312
|
isQuoteLoading: boolean;
|
|
321
313
|
currentLTV: number;
|
|
322
314
|
nextLTV: number;
|
|
323
|
-
targetChainInfo: {
|
|
324
|
-
contract_address: string;
|
|
325
|
-
precision: number | undefined;
|
|
326
|
-
chain_id: string;
|
|
327
|
-
decimals: number;
|
|
328
|
-
exclusive_deposit_supported?: boolean;
|
|
329
|
-
withdrawal_fee: number;
|
|
330
|
-
chain_name?: string;
|
|
331
|
-
cross_chain_withdrawal_fee: number;
|
|
332
|
-
display_name: string;
|
|
333
|
-
} | undefined;
|
|
334
315
|
};
|
|
335
316
|
|
|
336
317
|
type ConvertFormProps = ConvertFormScriptReturn;
|
package/dist/index.d.ts
CHANGED
|
@@ -280,26 +280,18 @@ declare const useConvertFormScript: (options: ConvertFormScriptOptions) => {
|
|
|
280
280
|
quantity: string;
|
|
281
281
|
onQuantityChange: (qty: string) => void;
|
|
282
282
|
token: (_orderly_network_types.API.Token & {
|
|
283
|
-
contract_address: string;
|
|
284
|
-
quoteChainId: string;
|
|
285
283
|
precision: number;
|
|
286
284
|
symbol: string;
|
|
287
285
|
}) | undefined;
|
|
288
286
|
sourceTokens: (_orderly_network_types.API.Token & {
|
|
289
|
-
contract_address: string;
|
|
290
|
-
quoteChainId: string;
|
|
291
287
|
precision: number;
|
|
292
288
|
symbol: string;
|
|
293
289
|
})[];
|
|
294
290
|
onSourceTokenChange: react.Dispatch<react.SetStateAction<(_orderly_network_types.API.Token & {
|
|
295
|
-
contract_address: string;
|
|
296
|
-
quoteChainId: string;
|
|
297
291
|
precision: number;
|
|
298
292
|
symbol: string;
|
|
299
293
|
}) | undefined>>;
|
|
300
294
|
targetToken: (_orderly_network_types.API.Token & {
|
|
301
|
-
contract_address: string;
|
|
302
|
-
quoteChainId: string;
|
|
303
295
|
precision: number;
|
|
304
296
|
symbol: string;
|
|
305
297
|
}) | undefined;
|
|
@@ -315,22 +307,11 @@ declare const useConvertFormScript: (options: ConvertFormScriptOptions) => {
|
|
|
315
307
|
slippage: any;
|
|
316
308
|
onSlippageChange: (value: number) => void;
|
|
317
309
|
convertRate: string;
|
|
318
|
-
minimumReceived:
|
|
310
|
+
minimumReceived: string;
|
|
319
311
|
outAmounts: string;
|
|
320
312
|
isQuoteLoading: boolean;
|
|
321
313
|
currentLTV: number;
|
|
322
314
|
nextLTV: number;
|
|
323
|
-
targetChainInfo: {
|
|
324
|
-
contract_address: string;
|
|
325
|
-
precision: number | undefined;
|
|
326
|
-
chain_id: string;
|
|
327
|
-
decimals: number;
|
|
328
|
-
exclusive_deposit_supported?: boolean;
|
|
329
|
-
withdrawal_fee: number;
|
|
330
|
-
chain_name?: string;
|
|
331
|
-
cross_chain_withdrawal_fee: number;
|
|
332
|
-
display_name: string;
|
|
333
|
-
} | undefined;
|
|
334
315
|
};
|
|
335
316
|
|
|
336
317
|
type ConvertFormProps = ConvertFormScriptReturn;
|