@unisat/wallet-state 1.2.0 → 1.2.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/lib/index.d.mts +9 -1
- package/lib/index.d.ts +2827 -31
- package/lib/index.js +229 -101
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +231 -104
- package/lib/index.mjs.map +1 -1
- package/lib/types/index.d.ts +34 -3
- package/package.json +3 -3
- package/src/context/NavigationContext.tsx +1 -0
- package/src/hooks/accounts.ts +7 -2
- package/src/hooks/transactions.ts +52 -8
- package/src/hooks/ui.ts +77 -65
- package/src/ui-hooks/useAddressTypeScreenLogic.ts +22 -8
- package/src/ui-hooks/useAlkanesNFTScreenLogic.ts +3 -2
- package/src/ui-hooks/useAlkanesTokenScreenLogic.ts +4 -2
- package/src/ui-hooks/useBRC20TokenScreenLogic.ts +4 -1
- package/src/ui-hooks/useCAT20TokenScreenLogic.ts +11 -2
- package/src/ui-hooks/useCAT721NFTScreenLogic.ts +3 -1
- package/src/ui-hooks/useOrdinalsInscriptionScreenLogic.ts +3 -2
- package/src/ui-hooks/useRunesTokenScreenLogic.ts +4 -2
- package/src/ui-hooks/useSendOrdinalsInscriptionScreenLogic.ts +2 -5
- package/src/ui-hooks/useSettingsTabScreenLogic.ts +18 -3
- package/src/ui-hooks/useSignMessageLogic.ts +37 -16
- package/src/ui-hooks/useSignPsbtLogic.ts +31 -15
- package/lib/actions/global.d.ts +0 -2
- package/lib/actions/global.d.ts.map +0 -1
- package/lib/context/ApprovalContext.d.ts +0 -9
- package/lib/context/ApprovalContext.d.ts.map +0 -1
- package/lib/context/DeviceContext.d.ts +0 -17
- package/lib/context/DeviceContext.d.ts.map +0 -1
- package/lib/context/I18nContext.d.ts +0 -13
- package/lib/context/I18nContext.d.ts.map +0 -1
- package/lib/context/NavigationContext.d.ts +0 -218
- package/lib/context/NavigationContext.d.ts.map +0 -1
- package/lib/context/PriceContext.d.ts +0 -13
- package/lib/context/PriceContext.d.ts.map +0 -1
- package/lib/context/StorageContext.d.ts +0 -60
- package/lib/context/StorageContext.d.ts.map +0 -1
- package/lib/context/ToolsContext.d.ts +0 -17
- package/lib/context/ToolsContext.d.ts.map +0 -1
- package/lib/context/WalletContext.d.ts +0 -493
- package/lib/context/WalletContext.d.ts.map +0 -1
- package/lib/context/index.d.ts +0 -9
- package/lib/context/index.d.ts.map +0 -1
- package/lib/hooks/accounts.d.ts +0 -34
- package/lib/hooks/accounts.d.ts.map +0 -1
- package/lib/hooks/base.d.ts +0 -14
- package/lib/hooks/base.d.ts.map +0 -1
- package/lib/hooks/browser.d.ts +0 -32
- package/lib/hooks/browser.d.ts.map +0 -1
- package/lib/hooks/discovery.d.ts +0 -17
- package/lib/hooks/discovery.d.ts.map +0 -1
- package/lib/hooks/global.d.ts +0 -43
- package/lib/hooks/global.d.ts.map +0 -1
- package/lib/hooks/index.d.ts +0 -10
- package/lib/hooks/index.d.ts.map +0 -1
- package/lib/hooks/keyrings.d.ts +0 -5
- package/lib/hooks/keyrings.d.ts.map +0 -1
- package/lib/hooks/settings.d.ts +0 -43
- package/lib/hooks/settings.d.ts.map +0 -1
- package/lib/hooks/transactions.d.ts +0 -67
- package/lib/hooks/transactions.d.ts.map +0 -1
- package/lib/hooks/ui.d.ts +0 -112
- package/lib/hooks/ui.d.ts.map +0 -1
- package/lib/index.d.ts.map +0 -1
- package/lib/reducers/accounts.d.ts +0 -49
- package/lib/reducers/accounts.d.ts.map +0 -1
- package/lib/reducers/browser.d.ts +0 -49
- package/lib/reducers/browser.d.ts.map +0 -1
- package/lib/reducers/discovery.d.ts +0 -22
- package/lib/reducers/discovery.d.ts.map +0 -1
- package/lib/reducers/global.d.ts +0 -35
- package/lib/reducers/global.d.ts.map +0 -1
- package/lib/reducers/index.d.ts +0 -9
- package/lib/reducers/index.d.ts.map +0 -1
- package/lib/reducers/keyrings.d.ts +0 -10
- package/lib/reducers/keyrings.d.ts.map +0 -1
- package/lib/reducers/settings.d.ts +0 -16
- package/lib/reducers/settings.d.ts.map +0 -1
- package/lib/reducers/transactions.d.ts +0 -61
- package/lib/reducers/transactions.d.ts.map +0 -1
- package/lib/reducers/ui.d.ts +0 -55
- package/lib/reducers/ui.d.ts.map +0 -1
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/ui.d.ts +0 -31
- package/lib/types/ui.d.ts.map +0 -1
- package/lib/ui-hooks/index.d.ts +0 -55
- package/lib/ui-hooks/index.d.ts.map +0 -1
- package/lib/ui-hooks/useActionOverviewSectionLogic.d.ts +0 -12
- package/lib/ui-hooks/useActionOverviewSectionLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useAddressTypeScreenLogic.d.ts +0 -19
- package/lib/ui-hooks/useAddressTypeScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useAlkanesBalanceCardLogic.d.ts +0 -19
- package/lib/ui-hooks/useAlkanesBalanceCardLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useAlkanesCollectionListLogic.d.ts +0 -11
- package/lib/ui-hooks/useAlkanesCollectionListLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useAlkanesListLogic.d.ts +0 -14
- package/lib/ui-hooks/useAlkanesListLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useAlkanesNFTListLogic.d.ts +0 -11
- package/lib/ui-hooks/useAlkanesNFTListLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useAlkanesNFTScreenLogic.d.ts +0 -9
- package/lib/ui-hooks/useAlkanesNFTScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useAlkanesTokenScreenLogic.d.ts +0 -22
- package/lib/ui-hooks/useAlkanesTokenScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useAmountInputLogic.d.ts +0 -22
- package/lib/ui-hooks/useAmountInputLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useAnnouncementCardLogic.d.ts +0 -11
- package/lib/ui-hooks/useAnnouncementCardLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useBRC20BalanceCardLogic.d.ts +0 -26
- package/lib/ui-hooks/useBRC20BalanceCardLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useBRC20InscribeTransferLogic.d.ts +0 -103
- package/lib/ui-hooks/useBRC20InscribeTransferLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useBRC20ListLogic.d.ts +0 -14
- package/lib/ui-hooks/useBRC20ListLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useBRC20ProgListLogic.d.ts +0 -14
- package/lib/ui-hooks/useBRC20ProgListLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useBRC20SendScreenLogic.d.ts +0 -67
- package/lib/ui-hooks/useBRC20SendScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useBRC20SingleStepScreenLogic.d.ts +0 -36
- package/lib/ui-hooks/useBRC20SingleStepScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useBRC20TokenScreenLogic.d.ts +0 -75
- package/lib/ui-hooks/useBRC20TokenScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useBalanceCardLogic.d.ts +0 -26
- package/lib/ui-hooks/useBalanceCardLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useBtcDisplayLogic.d.ts +0 -5
- package/lib/ui-hooks/useBtcDisplayLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useCAT20BalanceCardLogic.d.ts +0 -20
- package/lib/ui-hooks/useCAT20BalanceCardLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useCAT20ListLogic.d.ts +0 -14
- package/lib/ui-hooks/useCAT20ListLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useCAT20TokenScreenLogic.d.ts +0 -19
- package/lib/ui-hooks/useCAT20TokenScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useCAT721ListLogic.d.ts +0 -11
- package/lib/ui-hooks/useCAT721ListLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useCAT721NFTScreenLogic.d.ts +0 -9
- package/lib/ui-hooks/useCAT721NFTScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useCreatePasswordScreenLogic.d.ts +0 -27
- package/lib/ui-hooks/useCreatePasswordScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useCreateWalletLogicImportWordsStep.d.ts +0 -78
- package/lib/ui-hooks/useCreateWalletLogicImportWordsStep.d.ts.map +0 -1
- package/lib/ui-hooks/useEditAccountNameScreenLogic.d.ts +0 -18
- package/lib/ui-hooks/useEditAccountNameScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useEditContactScreenLogic.d.ts +0 -24
- package/lib/ui-hooks/useEditContactScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useEditWalletNameScreenLogic.d.ts +0 -15
- package/lib/ui-hooks/useEditWalletNameScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useExportMnemonicsScreenLogic.d.ts +0 -18
- package/lib/ui-hooks/useExportMnemonicsScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useExportPrivateKeyScreenLogic.d.ts +0 -17
- package/lib/ui-hooks/useExportPrivateKeyScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useFeeRateBarLogic.d.ts +0 -34
- package/lib/ui-hooks/useFeeRateBarLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useInfiniteList.d.ts +0 -19
- package/lib/ui-hooks/useInfiniteList.d.ts.map +0 -1
- package/lib/ui-hooks/useInscriptionListLogic.d.ts +0 -11
- package/lib/ui-hooks/useInscriptionListLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useLockTimePageLogic.d.ts +0 -11
- package/lib/ui-hooks/useLockTimePageLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useNotificationsLogic.d.ts +0 -14
- package/lib/ui-hooks/useNotificationsLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useOrdinalsInscriptionScreenLogic.d.ts +0 -27
- package/lib/ui-hooks/useOrdinalsInscriptionScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useRunesBalanceCardLogic.d.ts +0 -19
- package/lib/ui-hooks/useRunesBalanceCardLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useRunesListLogic.d.ts +0 -14
- package/lib/ui-hooks/useRunesListLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useRunesTokenScreenLogic.d.ts +0 -22
- package/lib/ui-hooks/useRunesTokenScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useSecurityCardLogic.d.ts +0 -1
- package/lib/ui-hooks/useSecurityCardLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useSendAlkanesNFTScreenLogic.d.ts +0 -32
- package/lib/ui-hooks/useSendAlkanesNFTScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useSendAlkanesScreenLogic.d.ts +0 -37
- package/lib/ui-hooks/useSendAlkanesScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useSendCAT20ScreenLogic.d.ts +0 -44
- package/lib/ui-hooks/useSendCAT20ScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useSendCAT721ScreenLogic.d.ts +0 -40
- package/lib/ui-hooks/useSendCAT721ScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useSendOrdinalsInscriptionScreenLogic.d.ts +0 -22
- package/lib/ui-hooks/useSendOrdinalsInscriptionScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useSendRunesScreenLogic.d.ts +0 -30
- package/lib/ui-hooks/useSendRunesScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useSettingsTabScreenLogic.d.ts +0 -72
- package/lib/ui-hooks/useSettingsTabScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useSignMessageLogic.d.ts +0 -54
- package/lib/ui-hooks/useSignMessageLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useSignPsbtLogic.d.ts +0 -82
- package/lib/ui-hooks/useSignPsbtLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useSplitOrdinalsInscriptionScreenLogic.d.ts +0 -15
- package/lib/ui-hooks/useSplitOrdinalsInscriptionScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useTxConfirmScreenLogic.d.ts +0 -8
- package/lib/ui-hooks/useTxConfirmScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useTxCreateScreenLogic.d.ts +0 -28
- package/lib/ui-hooks/useTxCreateScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useTxFailScreenLogic.d.ts +0 -7
- package/lib/ui-hooks/useTxFailScreenLogic.d.ts.map +0 -1
- package/lib/ui-hooks/useTxSuccessScreenLogic.d.ts +0 -8
- package/lib/ui-hooks/useTxSuccessScreenLogic.d.ts.map +0 -1
- package/lib/updater/accounts.d.ts +0 -2
- package/lib/updater/accounts.d.ts.map +0 -1
- package/lib/updater/index.d.ts +0 -2
- package/lib/updater/index.d.ts.map +0 -1
- package/lib/utils/bitcoin-utils.d.ts +0 -7
- package/lib/utils/bitcoin-utils.d.ts.map +0 -1
- package/lib/utils/eventBus.d.ts +0 -12
- package/lib/utils/eventBus.d.ts.map +0 -1
- package/lib/utils/password-utils.d.ts +0 -12
- package/lib/utils/password-utils.d.ts.map +0 -1
- package/lib/utils/ui-utils.d.ts +0 -4
- package/lib/utils/ui-utils.d.ts.map +0 -1
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { WalletKeyring } from '@unisat/wallet-shared';
|
|
2
|
-
export interface KeyringsState {
|
|
3
|
-
keyrings: WalletKeyring[];
|
|
4
|
-
current: WalletKeyring;
|
|
5
|
-
}
|
|
6
|
-
export declare const initialState: KeyringsState;
|
|
7
|
-
export declare const keyringsActions: import("@reduxjs/toolkit").CaseReducerActions<import("@reduxjs/toolkit").SliceCaseReducers<KeyringsState>, string>;
|
|
8
|
-
declare const _default: import("redux").Reducer<KeyringsState>;
|
|
9
|
-
export default _default;
|
|
10
|
-
//# sourceMappingURL=keyrings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"keyrings.d.ts","sourceRoot":"","sources":["../../src/reducers/keyrings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAM9D,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,aAAa,EAAE,CAAA;IACzB,OAAO,EAAE,aAAa,CAAA;CACvB;AAYD,eAAO,MAAM,YAAY,EAAE,aAG1B,CAAA;AAwDD,eAAO,MAAM,eAAe,oHAAgB,CAAA;;AAC5C,wBAA4B"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { WalletConfig } from '@unisat/wallet-shared';
|
|
2
|
-
import { ChainType, NetworkType } from '@unisat/wallet-types';
|
|
3
|
-
export interface SettingsState {
|
|
4
|
-
locale: string;
|
|
5
|
-
networkType: NetworkType;
|
|
6
|
-
chainType: ChainType;
|
|
7
|
-
walletConfig: WalletConfig;
|
|
8
|
-
skippedVersion: string;
|
|
9
|
-
autoLockTimeId: number;
|
|
10
|
-
developerMode: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const initialState: SettingsState;
|
|
13
|
-
export declare const settingsActions: import("@reduxjs/toolkit").CaseReducerActions<import("@reduxjs/toolkit").SliceCaseReducers<SettingsState>, string>;
|
|
14
|
-
declare const _default: import("redux").Reducer<SettingsState>;
|
|
15
|
-
export default _default;
|
|
16
|
-
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/reducers/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACzE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAK7D,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,WAAW,CAAA;IACxB,SAAS,EAAE,SAAS,CAAA;IACpB,YAAY,EAAE,YAAY,CAAA;IAC1B,cAAc,EAAE,MAAM,CAAA;IACtB,cAAc,EAAE,MAAM,CAAA;IACtB,aAAa,EAAE,OAAO,CAAA;CACvB;AAED,eAAO,MAAM,YAAY,EAAE,aAe1B,CAAA;AAsCD,eAAO,MAAM,eAAe,oHAAgB,CAAA;;AAC5C,wBAA4B"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { Inscription, UnspentOutput } from '@unisat/wallet-shared';
|
|
2
|
-
export interface BitcoinTx {
|
|
3
|
-
fromAddress: string;
|
|
4
|
-
toAddress: string;
|
|
5
|
-
toSatoshis: number;
|
|
6
|
-
rawtx: string;
|
|
7
|
-
txid: string;
|
|
8
|
-
fee: number;
|
|
9
|
-
estimateFee: number;
|
|
10
|
-
changeSatoshis: number;
|
|
11
|
-
sending: boolean;
|
|
12
|
-
autoAdjust: boolean;
|
|
13
|
-
psbtHex: string;
|
|
14
|
-
feeRate: number;
|
|
15
|
-
toDomain: string;
|
|
16
|
-
}
|
|
17
|
-
export interface OrdinalsTx {
|
|
18
|
-
fromAddress: string;
|
|
19
|
-
toAddress: string;
|
|
20
|
-
inscription: Inscription;
|
|
21
|
-
rawtx: string;
|
|
22
|
-
txid: string;
|
|
23
|
-
fee: number;
|
|
24
|
-
estimateFee: number;
|
|
25
|
-
changeSatoshis: number;
|
|
26
|
-
sending: boolean;
|
|
27
|
-
psbtHex: string;
|
|
28
|
-
feeRate: number;
|
|
29
|
-
toDomain: string;
|
|
30
|
-
outputValue: number;
|
|
31
|
-
}
|
|
32
|
-
export interface RunesTx {
|
|
33
|
-
fromAddress: string;
|
|
34
|
-
toAddress: string;
|
|
35
|
-
rawtx: string;
|
|
36
|
-
txid: string;
|
|
37
|
-
fee: number;
|
|
38
|
-
estimateFee: number;
|
|
39
|
-
changeSatoshis: number;
|
|
40
|
-
sending: boolean;
|
|
41
|
-
psbtHex: string;
|
|
42
|
-
feeRate: number;
|
|
43
|
-
toDomain: string;
|
|
44
|
-
outputValue: number;
|
|
45
|
-
runeid?: string;
|
|
46
|
-
runeAmount?: string;
|
|
47
|
-
}
|
|
48
|
-
export interface TransactionsState {
|
|
49
|
-
bitcoinTx: BitcoinTx;
|
|
50
|
-
ordinalsTx: OrdinalsTx;
|
|
51
|
-
runesTx: RunesTx;
|
|
52
|
-
utxos: UnspentOutput[];
|
|
53
|
-
spendUnavailableUtxos: UnspentOutput[];
|
|
54
|
-
assetUtxos_inscriptions: UnspentOutput[];
|
|
55
|
-
assetUtxos_runes: UnspentOutput[];
|
|
56
|
-
}
|
|
57
|
-
export declare const initialState: TransactionsState;
|
|
58
|
-
export declare const transactionsActions: import("@reduxjs/toolkit").CaseReducerActions<import("@reduxjs/toolkit").SliceCaseReducers<TransactionsState>, string>;
|
|
59
|
-
declare const _default: import("redux").Reducer<TransactionsState>;
|
|
60
|
-
export default _default;
|
|
61
|
-
//# sourceMappingURL=transactions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.d.ts","sourceRoot":"","sources":["../../src/reducers/transactions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAKlE,MAAM,WAAW,SAAS;IACxB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,WAAW,CAAA;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,OAAO;IACtB,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,SAAS,CAAA;IACpB,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,EAAE,aAAa,EAAE,CAAA;IACtB,qBAAqB,EAAE,aAAa,EAAE,CAAA;IACtC,uBAAuB,EAAE,aAAa,EAAE,CAAA;IACxC,gBAAgB,EAAE,aAAa,EAAE,CAAA;CAClC;AAED,eAAO,MAAM,YAAY,EAAE,iBAmE1B,CAAA;AAgHD,eAAO,MAAM,mBAAmB,wHAAgB,CAAA;;AAChD,wBAA4B"}
|
package/lib/reducers/ui.d.ts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Inscription } from '@unisat/wallet-shared';
|
|
2
|
-
import { AlkanesAssetTabKey, AssetTabKey, CATAssetTabKey, MoreAssetTabKey, NavigationSource, OrdinalsAssetTabKey } from '../types';
|
|
3
|
-
export declare enum WallettopTabScreenTabKey {
|
|
4
|
-
Ordinals = 0,
|
|
5
|
-
Atomicals = 1,
|
|
6
|
-
Runes = 2,
|
|
7
|
-
CAT20 = 3,
|
|
8
|
-
Alkanes = 4
|
|
9
|
-
}
|
|
10
|
-
export interface UIState {
|
|
11
|
-
assetTabKey: AssetTabKey;
|
|
12
|
-
ordinalsAssetTabKey: OrdinalsAssetTabKey;
|
|
13
|
-
catAssetTabKey: CATAssetTabKey;
|
|
14
|
-
alkanesAssetTabKey: AlkanesAssetTabKey;
|
|
15
|
-
moreAssetTabKey: MoreAssetTabKey;
|
|
16
|
-
uiTxCreateScreen: {
|
|
17
|
-
toInfo: {
|
|
18
|
-
address: string;
|
|
19
|
-
domain: string;
|
|
20
|
-
inscription?: Inscription;
|
|
21
|
-
};
|
|
22
|
-
inputAmount: string;
|
|
23
|
-
enableRBF: boolean;
|
|
24
|
-
};
|
|
25
|
-
addressInput: {
|
|
26
|
-
address: string;
|
|
27
|
-
domain: string;
|
|
28
|
-
inscription?: Inscription;
|
|
29
|
-
};
|
|
30
|
-
amountInput: {
|
|
31
|
-
amount: string;
|
|
32
|
-
};
|
|
33
|
-
feeRateBar: {
|
|
34
|
-
feeRate: number;
|
|
35
|
-
feeRateInputVal: string;
|
|
36
|
-
enableLowFeeRate: boolean;
|
|
37
|
-
feeOptionIndex: number;
|
|
38
|
-
showCustomInput: boolean;
|
|
39
|
-
};
|
|
40
|
-
babylonSendScreen: {
|
|
41
|
-
inputAmount: string;
|
|
42
|
-
memo: string;
|
|
43
|
-
};
|
|
44
|
-
navigationSource: NavigationSource;
|
|
45
|
-
isBalanceHidden: boolean;
|
|
46
|
-
balanceDetailExpanded: boolean;
|
|
47
|
-
walletTopTabScreen: {
|
|
48
|
-
toptabKey: WallettopTabScreenTabKey;
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
export declare const initialState: UIState;
|
|
52
|
-
export declare const uiActions: import("@reduxjs/toolkit").CaseReducerActions<import("@reduxjs/toolkit").SliceCaseReducers<UIState>, string>;
|
|
53
|
-
declare const _default: import("redux").Reducer<UIState>;
|
|
54
|
-
export default _default;
|
|
55
|
-
//# sourceMappingURL=ui.d.ts.map
|
package/lib/reducers/ui.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/reducers/ui.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAGnD,OAAO,EACL,kBAAkB,EAClB,WAAW,EACX,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,UAAU,CAAA;AAEjB,oBAAY,wBAAwB;IAClC,QAAQ,IAAA;IACR,SAAS,IAAA;IACT,KAAK,IAAA;IACL,KAAK,IAAA;IACL,OAAO,IAAA;CACR;AAED,MAAM,WAAW,OAAO;IACtB,WAAW,EAAE,WAAW,CAAA;IACxB,mBAAmB,EAAE,mBAAmB,CAAA;IACxC,cAAc,EAAE,cAAc,CAAA;IAC9B,kBAAkB,EAAE,kBAAkB,CAAA;IACtC,eAAe,EAAE,eAAe,CAAA;IAChC,gBAAgB,EAAE;QAChB,MAAM,EAAE;YACN,OAAO,EAAE,MAAM,CAAA;YACf,MAAM,EAAE,MAAM,CAAA;YACd,WAAW,CAAC,EAAE,WAAW,CAAA;SAC1B,CAAA;QACD,WAAW,EAAE,MAAM,CAAA;QACnB,SAAS,EAAE,OAAO,CAAA;KACnB,CAAA;IACD,YAAY,EAAE;QACZ,OAAO,EAAE,MAAM,CAAA;QACf,MAAM,EAAE,MAAM,CAAA;QACd,WAAW,CAAC,EAAE,WAAW,CAAA;KAC1B,CAAA;IACD,WAAW,EAAE;QACX,MAAM,EAAE,MAAM,CAAA;KACf,CAAA;IACD,UAAU,EAAE;QACV,OAAO,EAAE,MAAM,CAAA;QACf,eAAe,EAAE,MAAM,CAAA;QACvB,gBAAgB,EAAE,OAAO,CAAA;QACzB,cAAc,EAAE,MAAM,CAAA;QACtB,eAAe,EAAE,OAAO,CAAA;KACzB,CAAA;IACD,iBAAiB,EAAE;QACjB,WAAW,EAAE,MAAM,CAAA;QACnB,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;IACD,gBAAgB,EAAE,gBAAgB,CAAA;IAClC,eAAe,EAAE,OAAO,CAAA;IACxB,qBAAqB,EAAE,OAAO,CAAA;IAE9B,kBAAkB,EAAE;QAClB,SAAS,EAAE,wBAAwB,CAAA;KACpC,CAAA;CACF;AAED,eAAO,MAAM,YAAY,EAAE,OAuC1B,CAAA;AAqND,eAAO,MAAM,SAAS,8GAAgB,CAAA;;AACtC,wBAA4B"}
|
package/lib/types/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAA;AAEpB,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,KAAK,CAAA"}
|
package/lib/types/ui.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export declare enum AssetTabKey {
|
|
2
|
-
ORDINALS = 0,
|
|
3
|
-
ATOMICALS = 1,
|
|
4
|
-
RUNES = 2,
|
|
5
|
-
CAT = 3,
|
|
6
|
-
MORE = 4
|
|
7
|
-
}
|
|
8
|
-
export declare enum OrdinalsAssetTabKey {
|
|
9
|
-
ALL = 0,
|
|
10
|
-
BRC20 = 1,
|
|
11
|
-
BRC20_6BYTE = 2
|
|
12
|
-
}
|
|
13
|
-
export declare enum CATAssetTabKey {
|
|
14
|
-
CAT20 = 0,
|
|
15
|
-
CAT721 = 1,
|
|
16
|
-
CAT20_V2 = 2,
|
|
17
|
-
CAT721_V2 = 3
|
|
18
|
-
}
|
|
19
|
-
export declare enum AlkanesAssetTabKey {
|
|
20
|
-
TOKEN = 0,
|
|
21
|
-
COLLECTION = 1
|
|
22
|
-
}
|
|
23
|
-
export declare enum MoreAssetTabKey {
|
|
24
|
-
ALKANES_TOKEN = 0,
|
|
25
|
-
ALKANES_COLLECTION = 1
|
|
26
|
-
}
|
|
27
|
-
export declare enum NavigationSource {
|
|
28
|
-
BACK = 0,
|
|
29
|
-
NORMAL = 1
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=ui.d.ts.map
|
package/lib/types/ui.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/types/ui.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACrB,QAAQ,IAAI;IACZ,SAAS,IAAI;IACb,KAAK,IAAI;IACT,GAAG,IAAI;IACP,IAAI,IAAI;CACT;AAED,oBAAY,mBAAmB;IAC7B,GAAG,IAAI;IACP,KAAK,IAAI;IACT,WAAW,IAAI;CAChB;AAED,oBAAY,cAAc;IACxB,KAAK,IAAA;IACL,MAAM,IAAA;IACN,QAAQ,IAAA;IACR,SAAS,IAAA;CACV;AAED,oBAAY,kBAAkB;IAC5B,KAAK,IAAA;IACL,UAAU,IAAA;CACX;AAED,oBAAY,eAAe;IACzB,aAAa,IAAA;IACb,kBAAkB,IAAA;CACnB;AAED,oBAAY,gBAAgB;IAC1B,IAAI,IAAA;IACJ,MAAM,IAAA;CACP"}
|
package/lib/ui-hooks/index.d.ts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
export { useAddressTypeScreenLogic } from './useAddressTypeScreenLogic';
|
|
2
|
-
export { useAlkanesListLogic } from './useAlkanesListLogic';
|
|
3
|
-
export { useAmountInputLogic } from './useAmountInputLogic';
|
|
4
|
-
export { useAnnouncementCardLogic } from './useAnnouncementCardLogic';
|
|
5
|
-
export { BRC20SendTabKey, useBRC20SendScreenLogic, useBRC20SendScreenLogicStep1, useBRC20SendScreenLogicStep2, useBRC20SendScreenLogicStep3, useTransferableListLogic, type BRC20SendStepParams, type ContextData, type UpdateContextDataParams, } from './useBRC20SendScreenLogic';
|
|
6
|
-
export { BRC20SingleStepKey, useBRC20SingleStepScreenLogic } from './useBRC20SingleStepScreenLogic';
|
|
7
|
-
export { type BRC20OutWalletBalanceItem, BRC20TokenScreenTabKey, useBRC20TokenHistoryLogic, useBRC20TokenScreenLogic, } from './useBRC20TokenScreenLogic';
|
|
8
|
-
export { useEditWalletNameScreenLogic } from './useEditWalletNameScreenLogic';
|
|
9
|
-
export { useFeeRateBarLogic } from './useFeeRateBarLogic';
|
|
10
|
-
export { useLockTimePageLogic } from './useLockTimePageLogic';
|
|
11
|
-
export { useNotificationsLogic, useUnreadNotificationsCount } from './useNotificationsLogic';
|
|
12
|
-
export { useSendOrdinalsInscriptionScreenLogic } from './useSendOrdinalsInscriptionScreenLogic';
|
|
13
|
-
export { useTxCreateScreenLogic } from './useTxCreateScreenLogic';
|
|
14
|
-
export { useBRC20InscribeTransferLogic, useBRC20InscribeTransferLogicStep1, useBRC20InscribeTransferLogicStep2, useBRC20InscribeTransferLogicStep3, useBRC20InscribeTransferLogicStep4, type BRC20InscribeTransferParams, } from './useBRC20InscribeTransferLogic';
|
|
15
|
-
export { useAlkanesNFTScreenLogic } from './useAlkanesNFTScreenLogic';
|
|
16
|
-
export { useAlkanesTokenScreenLogic } from './useAlkanesTokenScreenLogic';
|
|
17
|
-
export { useCreateWalletLogicImportWordsStep } from './useCreateWalletLogicImportWordsStep';
|
|
18
|
-
export { useOrdinalsInscriptionScreenLogic } from './useOrdinalsInscriptionScreenLogic';
|
|
19
|
-
export { useRunesTokenScreenLogic } from './useRunesTokenScreenLogic';
|
|
20
|
-
export { useBRC20BalanceCardLogic, type BRC20BalanceCardProps } from './useBRC20BalanceCardLogic';
|
|
21
|
-
export { useExportMnemonicsScreenLogic } from './useExportMnemonicsScreenLogic';
|
|
22
|
-
export { useExportPrivateKeyScreenLogic } from './useExportPrivateKeyScreenLogic';
|
|
23
|
-
export { useSendRunesScreenLogic } from './useSendRunesScreenLogic';
|
|
24
|
-
export { useEditContactScreenLogic } from './useEditContactScreenLogic';
|
|
25
|
-
export { useEditAccountNameScreenLogic } from './useEditAccountNameScreenLogic';
|
|
26
|
-
export { useAlkanesCollectionListLogic } from './useAlkanesCollectionListLogic';
|
|
27
|
-
export { useBRC20ListLogic } from './useBRC20ListLogic';
|
|
28
|
-
export { useInscriptionListLogic } from './useInscriptionListLogic';
|
|
29
|
-
export { useRunesListLogic } from './useRunesListLogic';
|
|
30
|
-
export { useCAT20ListLogic } from './useCAT20ListLogic';
|
|
31
|
-
export { SendCAT20ScreenStep, useSendCAT20ScreenLogic } from './useSendCAT20ScreenLogic';
|
|
32
|
-
export { SendCAT721ScreenStep, useSendCAT721ScreenLogic } from './useSendCAT721ScreenLogic';
|
|
33
|
-
export { useAlkanesNFTListLogic } from './useAlkanesNFTListLogic';
|
|
34
|
-
export { useBRC20ProgListLogic } from './useBRC20ProgListLogic';
|
|
35
|
-
export { useCAT721ListLogic } from './useCAT721ListLogic';
|
|
36
|
-
export { useCAT20TokenScreenLogic } from './useCAT20TokenScreenLogic';
|
|
37
|
-
export { useSplitOrdinalsInscriptionScreenLogic } from './useSplitOrdinalsInscriptionScreenLogic';
|
|
38
|
-
export { useCreatePasswordScreenLogic } from './useCreatePasswordScreenLogic';
|
|
39
|
-
export { SendAlkanesNFTScreenStep, useSendAlkanesNFTScreenLogic, } from './useSendAlkanesNFTScreenLogic';
|
|
40
|
-
export { SendAlkanesScreenStep, useSendAlkanesScreenLogic } from './useSendAlkanesScreenLogic';
|
|
41
|
-
export { useRunesBalanceCardLogic, type RunesBalanceCardProps } from './useRunesBalanceCardLogic';
|
|
42
|
-
export { useCAT20BalanceCardLogic, type CAT20BalanceCardProps } from './useCAT20BalanceCardLogic';
|
|
43
|
-
export { useAlkanesBalanceCardLogic, type AlkanesBalanceCardProps, } from './useAlkanesBalanceCardLogic';
|
|
44
|
-
export { useCAT721NFTScreenLogic } from './useCAT721NFTScreenLogic';
|
|
45
|
-
export { useSignMessageLogic, type SignMessageProps } from './useSignMessageLogic';
|
|
46
|
-
export { useSignPsbtLogic, type SignPsbtProps } from './useSignPsbtLogic';
|
|
47
|
-
export type { PsbtLocalInfo } from '@unisat/wallet-shared';
|
|
48
|
-
export { useTxConfirmScreenLogic } from './useTxConfirmScreenLogic';
|
|
49
|
-
export { useTxFailScreenLogic } from './useTxFailScreenLogic';
|
|
50
|
-
export { useTxSuccessScreenLogic } from './useTxSuccessScreenLogic';
|
|
51
|
-
export { useActionOverviewSectionLogic, type ActionOverviewSectionProps, } from './useActionOverviewSectionLogic';
|
|
52
|
-
export { useSettingsTabScreenLogic, type SettingsItemType } from './useSettingsTabScreenLogic';
|
|
53
|
-
export { useBalanceCardLogic } from './useBalanceCardLogic';
|
|
54
|
-
export { useBtcDisplayLogic } from './useBtcDisplayLogic';
|
|
55
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ui-hooks/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DecodedPsbt, PsbtActionInfo } from '@unisat/wallet-shared';
|
|
2
|
-
export interface ActionOverviewSectionProps {
|
|
3
|
-
action: PsbtActionInfo;
|
|
4
|
-
decodedPsbt: DecodedPsbt;
|
|
5
|
-
}
|
|
6
|
-
export declare function useActionOverviewSectionLogic({ action, decodedPsbt }: ActionOverviewSectionProps): {
|
|
7
|
-
decodedPsbt: DecodedPsbt;
|
|
8
|
-
action: PsbtActionInfo;
|
|
9
|
-
commonDetails: any[];
|
|
10
|
-
chain: import("@unisat/wallet-shared").TypeChain;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=useActionOverviewSectionLogic.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useActionOverviewSectionLogic.d.ts","sourceRoot":"","sources":["../../src/ui-hooks/useActionOverviewSectionLogic.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EAGX,cAAc,EAEf,MAAM,uBAAuB,CAAA;AAK9B,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,cAAc,CAAA;IACtB,WAAW,EAAE,WAAW,CAAA;CACzB;AAED,wBAAgB,6BAA6B,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,0BAA0B;;;;;EAqIhG"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AddressType } from '@unisat/wallet-types';
|
|
2
|
-
interface AddressTypeItem {
|
|
3
|
-
address: string;
|
|
4
|
-
assets: {
|
|
5
|
-
total_btc: string;
|
|
6
|
-
satoshis: number;
|
|
7
|
-
total_inscription: number;
|
|
8
|
-
};
|
|
9
|
-
name: string;
|
|
10
|
-
value: AddressType;
|
|
11
|
-
}
|
|
12
|
-
export declare function useAddressTypeScreenLogic(): {
|
|
13
|
-
currentKeyring: import("@unisat/wallet-shared").WalletKeyring;
|
|
14
|
-
items: AddressTypeItem[];
|
|
15
|
-
wallet: import("../context/WalletContext").WalletController;
|
|
16
|
-
onClickItem: (item: AddressTypeItem) => Promise<void>;
|
|
17
|
-
};
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=useAddressTypeScreenLogic.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAddressTypeScreenLogic.d.ts","sourceRoot":"","sources":["../../src/ui-hooks/useAddressTypeScreenLogic.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAYlD,UAAU,eAAe;IACvB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,iBAAiB,EAAE,MAAM,CAAA;KAAE,CAAA;IAC1E,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,WAAW,CAAA;CACnB;AAED,wBAAgB,yBAAyB;;;;wBA8GN,eAAe;EAyBjD"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AlkanesBalance, TickPriceItem } from '@unisat/wallet-shared';
|
|
2
|
-
export interface AlkanesBalanceCardProps {
|
|
3
|
-
tokenBalance: AlkanesBalance;
|
|
4
|
-
onClick?: () => void;
|
|
5
|
-
price?: TickPriceItem;
|
|
6
|
-
}
|
|
7
|
-
export declare function useAlkanesBalanceCardLogic(props: AlkanesBalanceCardProps): {
|
|
8
|
-
tokenBalance: AlkanesBalance;
|
|
9
|
-
balance: BigNumber;
|
|
10
|
-
balanceStr: string;
|
|
11
|
-
showPrice: boolean;
|
|
12
|
-
price: TickPriceItem;
|
|
13
|
-
iconInfo: {
|
|
14
|
-
iconUrl: string;
|
|
15
|
-
iconShortName: string;
|
|
16
|
-
};
|
|
17
|
-
onClick: () => void;
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=useAlkanesBalanceCardLogic.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAlkanesBalanceCardLogic.d.ts","sourceRoot":"","sources":["../../src/ui-hooks/useAlkanesBalanceCardLogic.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAGrE,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,cAAc,CAAA;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB;AACD,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,uBAAuB;;;;;;;;;;;EA+BxE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AlkanesCollection } from '@unisat/wallet-shared';
|
|
2
|
-
export declare function useAlkanesCollectionListLogic(): {
|
|
3
|
-
items: AlkanesCollection[];
|
|
4
|
-
total: number;
|
|
5
|
-
loading: boolean;
|
|
6
|
-
hasMore: boolean;
|
|
7
|
-
onRefresh: () => Promise<void>;
|
|
8
|
-
onLoadMore: () => void;
|
|
9
|
-
onClickItem: (item: AlkanesCollection) => void;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=useAlkanesCollectionListLogic.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAlkanesCollectionListLogic.d.ts","sourceRoot":"","sources":["../../src/ui-hooks/useAlkanesCollectionListLogic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAezD,wBAAgB,6BAA6B;;;;;;;wBA+ChB,iBAAiB;EAK7C"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AlkanesBalance, TickPriceItem } from '@unisat/wallet-shared';
|
|
2
|
-
export declare function useAlkanesListLogic(): {
|
|
3
|
-
items: AlkanesBalance[];
|
|
4
|
-
total: number;
|
|
5
|
-
loading: boolean;
|
|
6
|
-
hasMore: boolean;
|
|
7
|
-
onRefresh: () => Promise<void>;
|
|
8
|
-
onLoadMore: () => void;
|
|
9
|
-
onClickItem: (item: AlkanesBalance) => void;
|
|
10
|
-
priceMap: {
|
|
11
|
-
[key: string]: TickPriceItem;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=useAlkanesListLogic.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAlkanesListLogic.d.ts","sourceRoot":"","sources":["../../src/ui-hooks/useAlkanesListLogic.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAcrE,wBAAgB,mBAAmB;;;;;;;wBA+CN,cAAc;;;;EAK1C"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AlkanesInfo } from '@unisat/wallet-shared';
|
|
2
|
-
export declare function useAlkanesNFTListLogic(collectionId: string): {
|
|
3
|
-
items: AlkanesInfo[];
|
|
4
|
-
total: number;
|
|
5
|
-
loading: boolean;
|
|
6
|
-
hasMore: boolean;
|
|
7
|
-
onRefresh: () => Promise<void>;
|
|
8
|
-
onLoadMore: () => void;
|
|
9
|
-
onClickItem: (item: AlkanesInfo) => void;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=useAlkanesNFTListLogic.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAlkanesNFTListLogic.d.ts","sourceRoot":"","sources":["../../src/ui-hooks/useAlkanesNFTListLogic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAKnD,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,MAAM;;;;;;;wBA+B9B,WAAW;EAKvC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare function useAlkanesNFTScreenLogic(): {
|
|
2
|
-
alkanesInfo: import("@unisat/wallet-shared").AlkanesInfo;
|
|
3
|
-
t: (key: string, substitutions?: string | string[] | Record<string, string | number>) => string;
|
|
4
|
-
availableUtxo: number;
|
|
5
|
-
onClickBack: () => void;
|
|
6
|
-
onClickSend: () => void;
|
|
7
|
-
disabledSend: boolean;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=useAlkanesNFTScreenLogic.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAlkanesNFTScreenLogic.d.ts","sourceRoot":"","sources":["../../src/ui-hooks/useAlkanesNFTScreenLogic.ts"],"names":[],"mappings":"AAIA,wBAAgB,wBAAwB;;;;;;;EAwCvC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AddressAlkanesTokenSummary } from '@unisat/wallet-shared';
|
|
3
|
-
export declare function useAlkanesTokenScreenLogic(): {
|
|
4
|
-
tokenSummary: AddressAlkanesTokenSummary;
|
|
5
|
-
loading: boolean;
|
|
6
|
-
enableMint: boolean;
|
|
7
|
-
enableTransfer: boolean;
|
|
8
|
-
enableTrade: boolean;
|
|
9
|
-
warning: boolean;
|
|
10
|
-
setWarning: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
11
|
-
t: (key: string, substitutions?: string | string[] | Record<string, string | number>) => string;
|
|
12
|
-
tools: import("..").ToolsContextType;
|
|
13
|
-
onClickMint: () => void;
|
|
14
|
-
onClickSend: () => void;
|
|
15
|
-
onClickTrade: () => void;
|
|
16
|
-
onClickViewOnExplorer: () => void;
|
|
17
|
-
iconInfo: {
|
|
18
|
-
iconUrl: string;
|
|
19
|
-
iconShortName: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=useAlkanesTokenScreenLogic.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAlkanesTokenScreenLogic.d.ts","sourceRoot":"","sources":["../../src/ui-hooks/useAlkanesTokenScreenLogic.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAA;AAYlE,wBAAgB,0BAA0B;;;;;;;;;;;;;;;;;;EA2HzC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface AmountInputProps {
|
|
2
|
-
}
|
|
3
|
-
export declare function useAmountInputLogic(props: {
|
|
4
|
-
value?: string;
|
|
5
|
-
runesDecimal?: number;
|
|
6
|
-
disableDecimal?: boolean;
|
|
7
|
-
enableBrc20Decimal?: boolean;
|
|
8
|
-
onAmountInputChange?: (amount: string) => void;
|
|
9
|
-
min?: number;
|
|
10
|
-
step?: number;
|
|
11
|
-
}): {
|
|
12
|
-
handleInputAmount: (e: {
|
|
13
|
-
target: {
|
|
14
|
-
value: string;
|
|
15
|
-
};
|
|
16
|
-
} | string) => void;
|
|
17
|
-
handleStepUp: () => void;
|
|
18
|
-
handleStepDown: () => void;
|
|
19
|
-
handleReset: () => void;
|
|
20
|
-
inputValue: string;
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=useAmountInputLogic.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAmountInputLogic.d.ts","sourceRoot":"","sources":["../../src/ui-hooks/useAmountInputLogic.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;CAAG;AAEpC,wBAAgB,mBAAmB,CAAC,KAAK,EAAE;IACzC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,mBAAmB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IAE9C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;2BAkBO;QAAE,MAAM,EAAE;YAAE,KAAK,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,GAAG,MAAM;;;;;EAgD7C"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Announcement } from '@unisat/wallet-shared';
|
|
2
|
-
export declare function useAnnouncementCardLogic(): {
|
|
3
|
-
loading: boolean;
|
|
4
|
-
validAnnouncements: Announcement[];
|
|
5
|
-
current: Announcement;
|
|
6
|
-
activeIndex: number;
|
|
7
|
-
handleDotClick: (index: number) => void;
|
|
8
|
-
handleDismissAll: () => Promise<void>;
|
|
9
|
-
isLinkable: (announcement: Announcement) => boolean;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=useAnnouncementCardLogic.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAnnouncementCardLogic.d.ts","sourceRoot":"","sources":["../../src/ui-hooks/useAnnouncementCardLogic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAwB,MAAM,uBAAuB,CAAA;AAM1E,wBAAgB,wBAAwB;;;;;4BAyDK,MAAM;;+BAYH,YAAY;EAe3D"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { TickPriceItem, TokenBalance } from '@unisat/wallet-shared';
|
|
2
|
-
export interface BRC20BalanceCardProps {
|
|
3
|
-
tokenBalance: TokenBalance;
|
|
4
|
-
onClick?: () => void;
|
|
5
|
-
price?: TickPriceItem;
|
|
6
|
-
}
|
|
7
|
-
export declare function useBRC20BalanceCardLogic(props: BRC20BalanceCardProps): {
|
|
8
|
-
ticker: string;
|
|
9
|
-
displayName: string;
|
|
10
|
-
selfMint: boolean;
|
|
11
|
-
tag: string;
|
|
12
|
-
iconInfo: {
|
|
13
|
-
iconUrl: string;
|
|
14
|
-
iconShortName: string;
|
|
15
|
-
};
|
|
16
|
-
totalBalance: string;
|
|
17
|
-
hasOutWalletBalance: boolean;
|
|
18
|
-
onProgBalance: string;
|
|
19
|
-
inWalletBalance: string;
|
|
20
|
-
onSwapBalance: string;
|
|
21
|
-
price: TickPriceItem;
|
|
22
|
-
showPrice: boolean;
|
|
23
|
-
onClick: () => void;
|
|
24
|
-
t: (key: string, substitutions?: string | string[] | Record<string, string | number>) => string;
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=useBRC20BalanceCardLogic.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBRC20BalanceCardLogic.d.ts","sourceRoot":"","sources":["../../src/ui-hooks/useBRC20BalanceCardLogic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,aAAa,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAMxF,MAAM,WAAW,qBAAqB;IACpC,YAAY,EAAE,YAAY,CAAA;IAC1B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB;AACD,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,qBAAqB;;;;;;;;;;;;;;;;;;EAuGpE"}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { InscribeOrder, SignedData, SignPsbtParams, TokenBalance, TokenInfo, ToSignData } from '@unisat/wallet-shared';
|
|
3
|
-
declare enum Step {
|
|
4
|
-
STEP1 = 0,
|
|
5
|
-
STEP2 = 1,
|
|
6
|
-
STEP3 = 2,
|
|
7
|
-
STEP4 = 3
|
|
8
|
-
}
|
|
9
|
-
interface ContextData {
|
|
10
|
-
step: Step;
|
|
11
|
-
ticker: string;
|
|
12
|
-
session?: any;
|
|
13
|
-
tokenBalance?: TokenBalance;
|
|
14
|
-
order?: InscribeOrder;
|
|
15
|
-
toSignData?: ToSignData;
|
|
16
|
-
amount?: string;
|
|
17
|
-
isApproval: boolean;
|
|
18
|
-
tokenInfo?: TokenInfo;
|
|
19
|
-
amountEditable?: boolean;
|
|
20
|
-
enableRBF: boolean;
|
|
21
|
-
}
|
|
22
|
-
interface UpdateContextDataParams {
|
|
23
|
-
step?: Step;
|
|
24
|
-
ticket?: string;
|
|
25
|
-
session?: any;
|
|
26
|
-
tokenBalance?: TokenBalance;
|
|
27
|
-
order?: InscribeOrder;
|
|
28
|
-
toSignData?: ToSignData;
|
|
29
|
-
amount?: string;
|
|
30
|
-
tokenInfo?: TokenInfo;
|
|
31
|
-
amountEditable?: boolean;
|
|
32
|
-
enableRBF?: boolean;
|
|
33
|
-
}
|
|
34
|
-
export interface BRC20InscribeTransferParams {
|
|
35
|
-
contextData: ContextData;
|
|
36
|
-
updateContextData: (params: UpdateContextDataParams) => void;
|
|
37
|
-
}
|
|
38
|
-
export declare function useBRC20InscribeTransferLogic(): {
|
|
39
|
-
contextData: ContextData;
|
|
40
|
-
updateContextData: (params: UpdateContextDataParams) => void;
|
|
41
|
-
};
|
|
42
|
-
export declare function useBRC20InscribeTransferLogicStep1(params: BRC20InscribeTransferParams): {
|
|
43
|
-
onClickInscribe: () => Promise<void>;
|
|
44
|
-
loading: boolean;
|
|
45
|
-
t: (key: string, substitutions?: string | string[] | Record<string, string | number>) => string;
|
|
46
|
-
nav: import("src/context").NavigationContextType;
|
|
47
|
-
inputAmount: string;
|
|
48
|
-
inputError: string;
|
|
49
|
-
setInputAmount: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
50
|
-
inputDisabled: boolean;
|
|
51
|
-
inputErrorAvailable: string;
|
|
52
|
-
defaultOutputValue: number;
|
|
53
|
-
setOutputValue: import("react").Dispatch<import("react").SetStateAction<number>>;
|
|
54
|
-
disabled: boolean;
|
|
55
|
-
enableRBF: boolean;
|
|
56
|
-
setEnableRBF: (value: boolean) => void;
|
|
57
|
-
loadingOnly: boolean;
|
|
58
|
-
handleCancel: () => void;
|
|
59
|
-
};
|
|
60
|
-
export declare function useBRC20InscribeTransferLogicStep2(params: BRC20InscribeTransferParams): {
|
|
61
|
-
isEmpty: boolean;
|
|
62
|
-
networkFee: string;
|
|
63
|
-
outputValue: string;
|
|
64
|
-
minerFee: string;
|
|
65
|
-
originServiceFee: string;
|
|
66
|
-
serviceFee: string;
|
|
67
|
-
totalFee: string;
|
|
68
|
-
btcUnit: string;
|
|
69
|
-
t: (key: string, substitutions?: string | string[] | Record<string, string | number>) => string;
|
|
70
|
-
session: any;
|
|
71
|
-
amount: string;
|
|
72
|
-
tokenBalance: TokenBalance;
|
|
73
|
-
order?: undefined;
|
|
74
|
-
toSignData?: undefined;
|
|
75
|
-
} | {
|
|
76
|
-
networkFee: string;
|
|
77
|
-
outputValue: string;
|
|
78
|
-
minerFee: string;
|
|
79
|
-
originServiceFee: string;
|
|
80
|
-
serviceFee: string;
|
|
81
|
-
totalFee: string;
|
|
82
|
-
btcUnit: string;
|
|
83
|
-
t: (key: string, substitutions?: string | string[] | Record<string, string | number>) => string;
|
|
84
|
-
session: any;
|
|
85
|
-
amount: string;
|
|
86
|
-
tokenBalance: TokenBalance;
|
|
87
|
-
order: InscribeOrder;
|
|
88
|
-
toSignData: ToSignData;
|
|
89
|
-
isEmpty?: undefined;
|
|
90
|
-
};
|
|
91
|
-
export declare function useBRC20InscribeTransferLogicStep3(params: BRC20InscribeTransferParams): {
|
|
92
|
-
signPsbtParams: SignPsbtParams;
|
|
93
|
-
onSignPsbtHandleConfirm: (signedDatas: SignedData[]) => Promise<void>;
|
|
94
|
-
onSignPsbtHandleCancel: () => void;
|
|
95
|
-
onHeaderBack: () => void;
|
|
96
|
-
};
|
|
97
|
-
export declare function useBRC20InscribeTransferLogicStep4(params: BRC20InscribeTransferParams): {
|
|
98
|
-
t: (key: string, substitutions?: string | string[] | Record<string, string | number>) => string;
|
|
99
|
-
result: any;
|
|
100
|
-
onClickConfirm: () => void;
|
|
101
|
-
};
|
|
102
|
-
export {};
|
|
103
|
-
//# sourceMappingURL=useBRC20InscribeTransferLogic.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBRC20InscribeTransferLogic.d.ts","sourceRoot":"","sources":["../../src/ui-hooks/useBRC20InscribeTransferLogic.ts"],"names":[],"mappings":";AACA,OAAO,EACL,aAAa,EACb,UAAU,EACV,cAAc,EACd,YAAY,EACZ,SAAS,EACT,UAAU,EACX,MAAM,uBAAuB,CAAA;AAe9B,aAAK,IAAI;IACP,KAAK,IAAA;IACL,KAAK,IAAA;IACL,KAAK,IAAA;IACL,KAAK,IAAA;CACN;AAED,UAAU,WAAW;IACnB,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,SAAS,EAAE,OAAO,CAAA;CACnB;AAED,UAAU,uBAAuB;IAC/B,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,2BAA2B;IAC1C,WAAW,EAAE,WAAW,CAAA;IACxB,iBAAiB,EAAE,CAAC,MAAM,EAAE,uBAAuB,KAAK,IAAI,CAAA;CAC7D;AAED,wBAAgB,6BAA6B;;gCAUI,uBAAuB;EAOvE;AAED,wBAAgB,kCAAkC,CAAC,MAAM,EAAE,2BAA2B;;;;;;;;;;;;;;0BAkK5D,OAAO;;;EAOhC;AAED,wBAAgB,kCAAkC,CAAC,MAAM,EAAE,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoDrF;AAED,wBAAgB,kCAAkC,CAAC,MAAM,EAAE,2BAA2B;;2CAwBhC,UAAU,EAAE;;;EAyBjE;AAED,wBAAgB,kCAAkC,CAAC,MAAM,EAAE,2BAA2B;;;;EA4DrF"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TickPriceItem, TokenBalance } from '@unisat/wallet-shared';
|
|
2
|
-
export declare function useBRC20ListLogic(): {
|
|
3
|
-
items: TokenBalance[];
|
|
4
|
-
total: number;
|
|
5
|
-
loading: boolean;
|
|
6
|
-
hasMore: boolean;
|
|
7
|
-
onRefresh: () => Promise<void>;
|
|
8
|
-
onLoadMore: () => void;
|
|
9
|
-
onClickItem: (item: TokenBalance) => void;
|
|
10
|
-
priceMap: {
|
|
11
|
-
[key: string]: TickPriceItem;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=useBRC20ListLogic.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBRC20ListLogic.d.ts","sourceRoot":"","sources":["../../src/ui-hooks/useBRC20ListLogic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAanE,wBAAgB,iBAAiB;;;;;;;wBA4DJ,YAAY;;;;EAKxC"}
|