@unisat/wallet-state 1.0.4 → 1.1.0

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.
Files changed (99) hide show
  1. package/LICENSE +0 -5
  2. package/lib/index.d.mts +2012 -200
  3. package/lib/index.d.ts +2012 -200
  4. package/lib/index.js +6951 -570
  5. package/lib/index.js.map +1 -1
  6. package/lib/index.mjs +6754 -517
  7. package/lib/index.mjs.map +1 -1
  8. package/lib/types/index.d.mts +1 -1
  9. package/lib/types/index.d.ts +1 -1
  10. package/package.json +19 -15
  11. package/src/.DS_Store +0 -0
  12. package/src/context/ApprovalContext.tsx +27 -0
  13. package/src/context/DeviceContext.tsx +36 -0
  14. package/src/context/I18nContext.tsx +14 -172
  15. package/src/context/NavigationContext.tsx +305 -0
  16. package/src/context/PriceContext.tsx +2 -2
  17. package/src/context/StorageContext.tsx +393 -0
  18. package/src/context/ToolsContext.tsx +50 -0
  19. package/src/context/WalletContext.tsx +119 -108
  20. package/src/context/index.ts +17 -2
  21. package/src/hooks/accounts.ts +11 -5
  22. package/src/hooks/browser.ts +11 -0
  23. package/src/hooks/global.ts +170 -7
  24. package/src/hooks/index.ts +1 -2
  25. package/src/hooks/settings.ts +28 -37
  26. package/src/hooks/transactions.ts +28 -155
  27. package/src/hooks/ui.ts +232 -36
  28. package/src/index.ts +33 -24
  29. package/src/reducers/accounts.ts +19 -2
  30. package/src/reducers/browser.ts +223 -0
  31. package/src/reducers/global.ts +67 -1
  32. package/src/reducers/index.ts +1 -0
  33. package/src/reducers/transactions.ts +0 -9
  34. package/src/reducers/ui.ts +127 -8
  35. package/src/types/index.ts +1 -1
  36. package/src/ui-hooks/index.ts +107 -0
  37. package/src/ui-hooks/useActionOverviewSectionLogic.ts +150 -0
  38. package/src/ui-hooks/useAddressTypeScreenLogic.ts +160 -0
  39. package/src/ui-hooks/useAlkanesBalanceCardLogic.ts +41 -0
  40. package/src/ui-hooks/useAlkanesCollectionListLogic.ts +68 -0
  41. package/src/ui-hooks/useAlkanesListLogic.ts +69 -0
  42. package/src/ui-hooks/useAlkanesNFTListLogic.ts +42 -0
  43. package/src/ui-hooks/useAlkanesNFTScreenLogic.ts +45 -0
  44. package/src/ui-hooks/useAlkanesTokenScreenLogic.ts +130 -0
  45. package/src/ui-hooks/useAmountInputLogic.ts +80 -0
  46. package/src/ui-hooks/useAnnouncementCardLogic.ts +91 -0
  47. package/src/ui-hooks/useBRC20BalanceCardLogic.ts +115 -0
  48. package/src/ui-hooks/useBRC20InscribeTransferLogic.ts +398 -0
  49. package/src/ui-hooks/useBRC20ListLogic.ts +75 -0
  50. package/src/ui-hooks/useBRC20ProgListLogic.ts +77 -0
  51. package/src/ui-hooks/useBRC20SendScreenLogic.ts +411 -0
  52. package/src/ui-hooks/useBRC20SingleStepScreenLogic.ts +208 -0
  53. package/src/ui-hooks/useBRC20TokenScreenLogic.ts +469 -0
  54. package/src/ui-hooks/useBalanceCardLogic.ts +164 -0
  55. package/src/ui-hooks/useBtcDisplayLogic.ts +16 -0
  56. package/src/ui-hooks/useCAT20BalanceCardLogic.ts +35 -0
  57. package/src/ui-hooks/useCAT20ListLogic.ts +83 -0
  58. package/src/ui-hooks/useCAT20TokenScreenLogic.ts +122 -0
  59. package/src/ui-hooks/useCAT721ListLogic.ts +68 -0
  60. package/src/ui-hooks/useCAT721NFTScreenLogic.ts +37 -0
  61. package/src/ui-hooks/useCreatePasswordScreenLogic.ts +92 -0
  62. package/src/ui-hooks/useCreateWalletLogicImportWordsStep.ts +299 -0
  63. package/src/ui-hooks/useEditAccountNameScreenLogic.ts +71 -0
  64. package/src/ui-hooks/useEditContactScreenLogic.ts +162 -0
  65. package/src/ui-hooks/useEditWalletNameScreenLogic.ts +58 -0
  66. package/src/ui-hooks/useExportMnemonicsScreenLogic.ts +75 -0
  67. package/src/ui-hooks/useExportPrivateKeyScreenLogic.ts +64 -0
  68. package/src/ui-hooks/useFeeRateBarLogic.ts +303 -0
  69. package/src/ui-hooks/useInfiniteList.ts +85 -0
  70. package/src/ui-hooks/useInscriptionListLogic.ts +68 -0
  71. package/src/ui-hooks/useLockTimePageLogic.ts +43 -0
  72. package/src/ui-hooks/useNotificationsLogic.ts +115 -0
  73. package/src/ui-hooks/useOrdinalsInscriptionScreenLogic.ts +130 -0
  74. package/src/ui-hooks/useRunesBalanceCardLogic.ts +44 -0
  75. package/src/ui-hooks/useRunesListLogic.ts +74 -0
  76. package/src/ui-hooks/useRunesTokenScreenLogic.ts +149 -0
  77. package/src/ui-hooks/useSecurityCardLogic.ts +0 -0
  78. package/src/ui-hooks/useSendAlkanesNFTScreenLogic.ts +138 -0
  79. package/src/ui-hooks/useSendAlkanesScreenLogic.ts +192 -0
  80. package/src/ui-hooks/useSendCAT20ScreenLogic.ts +297 -0
  81. package/src/ui-hooks/useSendCAT721ScreenLogic.ts +205 -0
  82. package/src/ui-hooks/useSendOrdinalsInscriptionScreenLogic.ts +137 -0
  83. package/src/ui-hooks/useSendRunesScreenLogic.ts +172 -0
  84. package/src/ui-hooks/useSettingsTabScreenLogic.ts +211 -0
  85. package/src/ui-hooks/useSignMessageLogic.ts +302 -0
  86. package/src/ui-hooks/useSignPsbtLogic.ts +517 -0
  87. package/src/ui-hooks/useSplitOrdinalsInscriptionScreenLogic.ts +95 -0
  88. package/src/ui-hooks/useTxConfirmScreenLogic.ts +47 -0
  89. package/src/ui-hooks/useTxCreateScreenLogic.ts +161 -0
  90. package/src/ui-hooks/useTxFailScreenLogic.ts +26 -0
  91. package/src/ui-hooks/useTxSuccessScreenLogic.ts +33 -0
  92. package/src/updater/accounts.ts +11 -11
  93. package/src/utils/bitcoin-utils.ts +17 -8
  94. package/src/utils/eventBus.ts +2 -1
  95. package/src/utils/password-utils.ts +78 -0
  96. package/src/utils/ui-utils.ts +28 -0
  97. package/src/hooks/approval.ts +0 -72
  98. package/src/hooks/i18n.ts +0 -53
  99. package/src/utils/i18n.ts +0 -41
package/src/index.ts CHANGED
@@ -11,35 +11,44 @@ import keyrings from './reducers/keyrings'
11
11
  import settings from './reducers/settings'
12
12
  import transactions from './reducers/transactions'
13
13
  import ui from './reducers/ui'
14
+ import browser from './reducers/browser'
14
15
 
15
16
  const PERSISTED_KEYS: string[] = ['ui', 'discovery']
16
- const store = configureStore({
17
- reducer: {
18
- accounts,
19
- transactions,
20
- settings,
21
- global,
22
- keyrings,
23
- ui,
24
- discovery,
25
- },
26
- middleware: getDefaultMiddleware =>
27
- // @ts-ignore
28
- getDefaultMiddleware({ thunk: true }).concat(save({ states: PERSISTED_KEYS, debounce: 1000 })),
29
- preloadedState: load({ states: PERSISTED_KEYS, disableWarnings: true }),
30
- })
31
-
32
- store.dispatch(updateVersion())
33
-
34
- setupListeners(store.dispatch)
35
-
36
- export default store
37
-
38
- export type AppState = ReturnType<typeof store.getState>
39
- export type AppDispatch = typeof store.dispatch
17
+
18
+ export function createAppStore() {
19
+ const store = configureStore({
20
+ reducer: {
21
+ accounts,
22
+ transactions,
23
+ settings,
24
+ global,
25
+ keyrings,
26
+ ui,
27
+ discovery,
28
+ browser,
29
+ },
30
+ middleware: getDefaultMiddleware =>
31
+ getDefaultMiddleware({ thunk: true }).concat(
32
+ save({ states: PERSISTED_KEYS, debounce: 1000 })
33
+ ),
34
+ preloadedState: load({ states: PERSISTED_KEYS, disableWarnings: true }),
35
+ })
36
+
37
+ store.dispatch(updateVersion())
38
+ setupListeners(store.dispatch)
39
+
40
+ return store
41
+ }
42
+
43
+ export type AppStore = ReturnType<typeof createAppStore>
44
+ export type AppState = ReturnType<AppStore['getState']>
45
+ export type AppDispatch = AppStore['dispatch']
40
46
 
41
47
  export * from './context'
42
48
  export * from './hooks'
43
49
  export * from './updater'
44
50
  export * from './reducers'
45
51
  export * from './types'
52
+ export * from './ui-hooks'
53
+ export { uiEventBus } from './utils/eventBus'
54
+ export { useAsyncEffect } from './utils/ui-utils'
@@ -1,3 +1,4 @@
1
+ import { createSlice, Slice } from '@reduxjs/toolkit'
1
2
  import {
2
3
  Account,
3
4
  AddressSummary,
@@ -7,10 +8,19 @@ import {
7
8
  InscriptionSummary,
8
9
  TxHistoryItem,
9
10
  } from '@unisat/wallet-shared'
10
- import { createSlice, Slice } from '@reduxjs/toolkit'
11
11
 
12
12
  import { updateVersion } from '../actions/global'
13
13
 
14
+ export interface Molels {
15
+ states: boolean
16
+ }
17
+
18
+ export interface MolelsPopover {
19
+ state: boolean
20
+ title: string
21
+ data: any
22
+ }
23
+
14
24
  export interface AccountsState {
15
25
  accounts: Account[]
16
26
  current: Account
@@ -43,6 +53,8 @@ export interface AccountsState {
43
53
  appSummary: AppSummary
44
54
  inscriptionSummary: InscriptionSummary
45
55
  addressSummary: AddressSummary
56
+ model: Molels
57
+ molelsPopover: MolelsPopover
46
58
  }
47
59
 
48
60
  const initialAccount = {
@@ -84,6 +96,9 @@ export const initialState: AccountsState = {
84
96
  address: '',
85
97
  runesCount: 0,
86
98
  },
99
+
100
+ model: { states: false },
101
+ molelsPopover: { state: false, title: '', data: null },
87
102
  }
88
103
 
89
104
  const slice: Slice<AccountsState> = createSlice({
@@ -150,7 +165,7 @@ const slice: Slice<AccountsState> = createSlice({
150
165
  ) {
151
166
  const {
152
167
  payload: {
153
- balance: { availableBalance, unavailableBalance, totalBalance },
168
+ balance: { availableBalance, unavailableBalance, totalBalance, chainType },
154
169
  address,
155
170
  },
156
171
  } = action
@@ -158,10 +173,12 @@ const slice: Slice<AccountsState> = createSlice({
158
173
  availableBalance: 0,
159
174
  unavailableBalance: 0,
160
175
  totalBalance: 0,
176
+ chainType,
161
177
  }
162
178
  state.balanceV2Map[address].availableBalance = availableBalance
163
179
  state.balanceV2Map[address].unavailableBalance = unavailableBalance
164
180
  state.balanceV2Map[address].totalBalance = totalBalance
181
+ state.balanceV2Map[address].chainType = chainType
165
182
  },
166
183
  setAddressSummary(state, action: { payload: any }) {
167
184
  state.addressSummary = action.payload
@@ -0,0 +1,223 @@
1
+ import { createSlice, Slice } from '@reduxjs/toolkit'
2
+ import { AppInfo } from '@unisat/wallet-shared'
3
+ export enum WalletTabScreenTabKey {
4
+ ALL,
5
+ BRC20,
6
+ }
7
+
8
+ type suspensionType = {
9
+ suspensionIf: boolean
10
+ info: AppInfo | object | any
11
+ web: any
12
+ }
13
+
14
+ type wcars = {
15
+ if?: boolean
16
+ url: string
17
+ }
18
+
19
+ type guideListsType = {
20
+ id: number
21
+ title: string
22
+ content: string
23
+ img: string
24
+ }
25
+
26
+ export interface setSessionDateProps {
27
+ icon: string
28
+ name: string
29
+ origin: string
30
+ }
31
+
32
+ const wcarss: wcars = {
33
+ if: false,
34
+ url: '',
35
+ }
36
+ const riskIfs: boolean = false
37
+
38
+ const suspensions: suspensionType = {
39
+ suspensionIf: false,
40
+ info: {},
41
+ web: '',
42
+ }
43
+
44
+ const collects: any = [
45
+ {
46
+ id: 4,
47
+ name: 'My favorites',
48
+ icon: 'collect_white',
49
+ list: null,
50
+ },
51
+ ]
52
+
53
+ const yys: any = false
54
+
55
+ const riseHeights: number = 100
56
+
57
+ const ScanDatas: string = ''
58
+
59
+ const historyLists: any = []
60
+
61
+ const mnemonicAids: any = []
62
+
63
+ const amountValues: string = null
64
+
65
+ const guideLists: guideListsType[] = [
66
+ {
67
+ id: 1,
68
+ title: 'Welcome to UniSat',
69
+ content: 'Your trusted Bitcoin wallet with full support for Ordinals and Atomicals protocols.',
70
+ img: 'guide1',
71
+ },
72
+ {
73
+ id: 2,
74
+ title: 'Effortless Bitcoin Asset Management',
75
+ content: 'Easily switch between accounts and wallets for seamless asset management.',
76
+ img: 'guide2',
77
+ },
78
+ {
79
+ id: 3,
80
+ title: 'Discover Web3 on Bitcoin',
81
+ content: 'Let us guide you through the world of Bitcoin web3 with ease.',
82
+ img: 'guide3',
83
+ },
84
+ ]
85
+
86
+ const popUps: boolean = false
87
+
88
+ const setStatusBars: boolean = false
89
+
90
+ const setSessionDates: setSessionDateProps = {
91
+ icon: '',
92
+ name: '',
93
+ origin: '',
94
+ }
95
+
96
+ const i18Classs: string = 'ru'
97
+
98
+ const webViewLods: boolean = true
99
+
100
+ export interface BrowserState {
101
+ walletTabScreen: {
102
+ tabKey: wcars
103
+ riskIf: boolean
104
+ collect: any
105
+ historyList: any
106
+ suspension: suspensionType
107
+ yy: any
108
+ riseHeight: number
109
+ ScanData: string
110
+ amountValue: string
111
+ guideList: guideListsType[]
112
+ popUp: boolean
113
+ setStatusBar: boolean
114
+ i18Class: string
115
+ setSessionDate: setSessionDateProps
116
+ webViewLod: boolean
117
+ }
118
+ }
119
+
120
+ export const initialState: BrowserState = {
121
+ walletTabScreen: {
122
+ tabKey: wcarss,
123
+ riskIf: riskIfs,
124
+ collect: collects,
125
+ historyList: historyLists,
126
+ suspension: suspensions,
127
+ yy: yys,
128
+ riseHeight: riseHeights,
129
+ ScanData: ScanDatas,
130
+ amountValue: amountValues,
131
+ guideList: guideLists,
132
+ popUp: popUps,
133
+ setStatusBar: setStatusBars,
134
+ i18Class: i18Classs,
135
+ setSessionDate: setSessionDates,
136
+ webViewLod: webViewLods,
137
+ },
138
+ }
139
+ const slice: Slice<BrowserState> = createSlice({
140
+ name: 'browser',
141
+ initialState,
142
+ reducers: {
143
+ reset(state) {
144
+ return initialState
145
+ },
146
+ updateWalletRisk(
147
+ state,
148
+ action: {
149
+ payload: {
150
+ tabKey: wcars
151
+ }
152
+ }
153
+ ) {
154
+ const { payload } = action
155
+ state.walletTabScreen.tabKey = payload.tabKey
156
+ return state
157
+ },
158
+ usedatariskIfs(state, action) {
159
+ state.walletTabScreen.riskIf = action.payload
160
+ return state
161
+ },
162
+ usedataricollect(state, action) {
163
+ if (!action.payload) {
164
+ state.walletTabScreen.collect[0].list = null
165
+ } else {
166
+ state.walletTabScreen.collect[0].list = action.payload
167
+ }
168
+ return state
169
+ },
170
+ usedatariInfo(state, action) {
171
+ return state
172
+ },
173
+ usedatarihistoryList(state, action) {
174
+ state.walletTabScreen.historyList = action.payload
175
+ return state
176
+ },
177
+ usedatarisuspension(state, action) {
178
+ state.walletTabScreen.suspension = action.payload
179
+ return state
180
+ },
181
+ usedatarisyyn(state, action) {
182
+ state.walletTabScreen.yy = action.payload
183
+ return state
184
+ },
185
+ usedatarisriseHeight(state, action) {
186
+ state.walletTabScreen.riseHeight = action.payload
187
+ return state
188
+ },
189
+ usedataScanData(state, action) {
190
+ state.walletTabScreen.ScanData = action.payload
191
+ return state
192
+ },
193
+ usedatamnemonicAid(state, action) {
194
+ return state
195
+ },
196
+ usedatamountValue(state, action) {
197
+ state.walletTabScreen.amountValue = action.payload
198
+ return state
199
+ },
200
+ usedatapopUp(state, action) {
201
+ state.walletTabScreen.popUp = action.payload
202
+ return state
203
+ },
204
+ usedatasetStatusBar(state, action) {
205
+ state.walletTabScreen.setStatusBar = action.payload
206
+ return state
207
+ },
208
+ usedatasetSessionDate(state, action) {
209
+ state.walletTabScreen.setSessionDate = action.payload
210
+ return state
211
+ },
212
+ usedatawebViewLod(state, action) {
213
+ state.walletTabScreen.webViewLod = action.payload
214
+ return state
215
+ },
216
+ },
217
+ extraReducers: builder => {
218
+ // todo
219
+ },
220
+ })
221
+
222
+ export const browserActions = slice.actions
223
+ export default slice.reducer
@@ -1,4 +1,4 @@
1
- import { createSlice, PayloadAction, Slice, SliceCaseReducers } from '@reduxjs/toolkit'
1
+ import { createSlice, PayloadAction, SliceCaseReducers } from '@reduxjs/toolkit'
2
2
 
3
3
  import { updateVersion } from '../actions/global'
4
4
  import { TabOption } from '../types'
@@ -8,6 +8,29 @@ export interface GlobalState {
8
8
  isUnlocked: boolean
9
9
  isReady: boolean
10
10
  isBooted: boolean
11
+ screenState?: {
12
+ type: string
13
+ options: any
14
+ }
15
+ isRefresh: boolean
16
+ backRefresh: boolean
17
+ wallRefresh: boolean
18
+ wallTabRefresh: boolean
19
+ unlockRefres: boolean
20
+ unlockRead: boolean
21
+ layerState: boolean
22
+ isUnlockTimeRefres: boolean
23
+ infiniteListScrollOffset: number
24
+ infiniteListScrollDirection: 'up' | 'down'
25
+ infiniteListScrollActiveTime: number
26
+ isScrollViewTop: number
27
+ isScrollViewBot: number
28
+ isBiometricsSupported: boolean
29
+ hasBiometricsKey: boolean
30
+ wallTabFocusRefresh: 0
31
+ goBackRefresh: 0
32
+ switchChainModalVisible: boolean
33
+ isLockedOverlayVisible: boolean
11
34
  }
12
35
 
13
36
  export const initialState: GlobalState = {
@@ -15,6 +38,26 @@ export const initialState: GlobalState = {
15
38
  isUnlocked: false,
16
39
  isReady: false,
17
40
  isBooted: false,
41
+ screenState: undefined,
42
+ isRefresh: false,
43
+ backRefresh: false,
44
+ wallRefresh: false,
45
+ wallTabRefresh: false,
46
+ unlockRefres: false,
47
+ unlockRead: false,
48
+ layerState: false,
49
+ isUnlockTimeRefres: false,
50
+ infiniteListScrollOffset: 0,
51
+ infiniteListScrollDirection: 'down',
52
+ infiniteListScrollActiveTime: 0,
53
+ isScrollViewTop: 0,
54
+ isScrollViewBot: 0,
55
+ isBiometricsSupported: false,
56
+ hasBiometricsKey: false,
57
+ wallTabFocusRefresh: 0,
58
+ goBackRefresh: 0,
59
+ switchChainModalVisible: false,
60
+ isLockedOverlayVisible: false,
18
61
  }
19
62
 
20
63
  const reducers: SliceCaseReducers<GlobalState> = {
@@ -26,6 +69,29 @@ const reducers: SliceCaseReducers<GlobalState> = {
26
69
  isUnlocked?: boolean
27
70
  isReady?: boolean
28
71
  isBooted?: boolean
72
+ screenState?: {
73
+ type: string
74
+ options: any
75
+ }
76
+ isRefresh?: boolean
77
+ backRefresh?: boolean
78
+ wallRefresh?: boolean
79
+ wallTabRefresh?: boolean
80
+ unlockRefres?: boolean
81
+ layerState?: boolean
82
+ unlockRead?: boolean
83
+ isUnlockTimeRefres?: boolean
84
+ infiniteListScrollOffset?: number
85
+ infiniteListScrollDirection?: 'up' | 'down'
86
+ infiniteListScrollActiveTime?: number
87
+ isScrollViewTop?: number
88
+ isScrollViewBot?: number
89
+ isBiometricsSupported?: boolean
90
+ hasBiometricsKey?: boolean
91
+ wallTabFocusRefresh?: number
92
+ goBackRefresh?: number
93
+ switchChainModalVisible?: boolean
94
+ lockedOverlayVisible?: boolean
29
95
  }>
30
96
  ) => {
31
97
  const { payload } = action
@@ -4,4 +4,5 @@ export { globalActions } from './global'
4
4
  export { keyringsActions } from './keyrings'
5
5
  export { settingsActions } from './settings'
6
6
  export { transactionsActions } from './transactions'
7
+ export { browserActions, WalletTabScreenTabKey } from './browser'
7
8
  export { uiActions } from './ui'
@@ -17,7 +17,6 @@ export interface BitcoinTx {
17
17
  psbtHex: string
18
18
  feeRate: number
19
19
  toDomain: string
20
- enableRBF: boolean
21
20
  }
22
21
 
23
22
  export interface OrdinalsTx {
@@ -34,7 +33,6 @@ export interface OrdinalsTx {
34
33
  feeRate: number
35
34
  toDomain: string
36
35
  outputValue: number
37
- enableRBF: boolean
38
36
  }
39
37
 
40
38
  export interface RunesTx {
@@ -50,7 +48,6 @@ export interface RunesTx {
50
48
  feeRate: number
51
49
  toDomain: string
52
50
  outputValue: number
53
- enableRBF: boolean
54
51
  runeid?: string
55
52
  runeAmount?: string
56
53
  }
@@ -80,7 +77,6 @@ export const initialState: TransactionsState = {
80
77
  psbtHex: '',
81
78
  feeRate: 5,
82
79
  toDomain: '',
83
- enableRBF: false,
84
80
  },
85
81
  ordinalsTx: {
86
82
  fromAddress: '',
@@ -113,7 +109,6 @@ export const initialState: TransactionsState = {
113
109
  feeRate: 5,
114
110
  toDomain: '',
115
111
  outputValue: 10000,
116
- enableRBF: false,
117
112
  },
118
113
 
119
114
  runesTx: {
@@ -129,7 +124,6 @@ export const initialState: TransactionsState = {
129
124
  feeRate: 5,
130
125
  toDomain: '',
131
126
  outputValue: 10000,
132
- enableRBF: false,
133
127
  },
134
128
  utxos: [],
135
129
  spendUnavailableUtxos: [],
@@ -158,7 +152,6 @@ const slice: Slice<TransactionsState> = createSlice({
158
152
  psbtHex?: string
159
153
  feeRate?: number
160
154
  toDomain?: string
161
- enableRBF?: boolean
162
155
  }
163
156
  }
164
157
  ) {
@@ -182,7 +175,6 @@ const slice: Slice<TransactionsState> = createSlice({
182
175
  feeRate?: number
183
176
  toDomain?: string
184
177
  outputValue?: number
185
- enableRBF?: boolean
186
178
  }
187
179
  }
188
180
  ) {
@@ -206,7 +198,6 @@ const slice: Slice<TransactionsState> = createSlice({
206
198
  feeRate?: number
207
199
  toDomain?: string
208
200
  outputValue?: number
209
- enableRBF?: boolean
210
201
  runeid?: string
211
202
  runeAmount?: string
212
203
  }