File tree 13 files changed +1011
-1000
lines changed
13 files changed +1011
-1000
lines changed Original file line number Diff line number Diff line change 59
59
let minimumStorageDeposit = 0
60
60
let visibleSurplus: number | undefined = undefined
61
61
62
+ let isPreparingOutput = false
63
+
62
64
$ : expirationTimePicker ?.setNull (giftStorageDeposit )
63
65
64
66
$ : isBaseTokenTransfer =
101
103
})
102
104
103
105
async function rebuildTransactionOutput(): Promise <void > {
106
+ isPreparingOutput = true
107
+
104
108
updateNewTransactionDetails ({
105
109
type: transactionType ,
106
110
expirationDate ,
126
130
}
127
131
} catch (err ) {
128
132
handleError (err )
133
+ } finally {
134
+ isPreparingOutput = false
129
135
}
130
136
}
131
137
261
267
classes =" w-full"
262
268
onClick ={onConfirmClick }
263
269
disabled ={isTransferring ||
270
+ isPreparingOutput ||
264
271
(layer2Parameters ?.networkAddress && ! $newTransactionDetails ?.layer2Parameters ?.gasBudget )}
265
272
isBusy ={isTransferring ||
273
+ isPreparingOutput ||
266
274
(layer2Parameters ?.networkAddress && ! $newTransactionDetails ?.layer2Parameters ?.gasBudget )}
275
+ busyMessage ={isPreparingOutput ? ' Preparing' : ' ' }
267
276
>
268
277
{localize (' actions.send' )}
269
278
</Button >
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " desktop" ,
3
3
"productName" : " Firefly Shimmer" ,
4
- "version" : " 2.1.9 " ,
4
+ "version" : " 2.1.10 " ,
5
5
"description" : " Official wallet application of Shimmer" ,
6
6
"main" : " public/build/main.js" ,
7
7
"repository" :
" [email protected] :iotaledger/firefly.git" ,
Original file line number Diff line number Diff line change 41
41
let modal: Modal
42
42
let timeUntilNextPayout = DEFAULT_EMPTY_VALUE_STRING
43
43
let minRequiredStorageDeposit: number | null
44
- let hasOutputsToConsolidate = false
45
44
46
45
$ : ({ baseCoin } = $selectedAccountAssets [$activeProfile ?.network ?.id ])
47
46
$ : hasTransactionInProgress =
48
47
$selectedAccount ?.isTransferring || $selectedAccount .hasConsolidatingOutputsTransactionInProgress
49
- $ : $selectedAccount , areOutputsReadyForConsolidation ()
50
48
$ : vestingOverview = [
51
49
{
52
50
title: localize (' views.vesting.overview.unlocked' ),
71
69
$selectedAccountVestingUnclaimedFunds > 0 &&
72
70
! hasTransactionInProgress &&
73
71
minRequiredStorageDeposit !== null &&
74
- $selectedAccount ?.balances ?.baseCoin ?.available > minRequiredStorageDeposit &&
75
- hasOutputsToConsolidate
72
+ $selectedAccount ?.balances ?.baseCoin ?.available > minRequiredStorageDeposit
76
73
77
74
onMount (() => {
78
75
getMinRequiredStorageDeposit ()
79
76
})
80
77
81
- function areOutputsReadyForConsolidation(): void {
82
- $selectedAccount
83
- .prepareConsolidateOutputs ({ force: false , outputThreshold: 2 })
84
- .then (() => (hasOutputsToConsolidate = true ))
85
- .catch (() => (hasOutputsToConsolidate = false ))
86
- }
87
-
88
78
function getMinRequiredStorageDeposit() {
89
79
getRequiredStorageDepositForMinimalBasicOutput ()
90
80
.then ((deposit ) => (minRequiredStorageDeposit = deposit ))
Original file line number Diff line number Diff line change 539
539
}
540
540
},
541
541
"banners" : {
542
- "new" : " New Event " ,
543
- "complete" : " Complete "
542
+ "new" : " حدث جديد " ,
543
+ "complete" : " مكتمل "
544
544
}
545
545
},
546
546
"picker" : {
Original file line number Diff line number Diff line change 1966
1966
},
1967
1967
"layer2" : {
1968
1968
"layer1Recipient" : " A layer 2 transaction cannot be sent to a layer 1 account." ,
1969
- "estimatedGas" : " Failed to estimate gas."
1969
+ "estimatedGas" : " Kunne ikke estimere gas."
1970
1970
},
1971
1971
"node" : {
1972
1972
"invalid" : " Indtast venligst en gyldig URL." ,
Original file line number Diff line number Diff line change 1966
1966
},
1967
1967
"layer2" : {
1968
1968
"layer1Recipient" : " Eine Layer-2-Transaktion kann nicht an ein Layer-1-Konto gesendet werden." ,
1969
- "estimatedGas" : " Failed to estimate gas ."
1969
+ "estimatedGas" : " Gas konnte nicht geschätzt werden ."
1970
1970
},
1971
1971
"node" : {
1972
1972
"invalid" : " Gib eine gültige URL ein." ,
Original file line number Diff line number Diff line change 1966
1966
},
1967
1967
"layer2" : {
1968
1968
"layer1Recipient" : " Una transacción de capa 2 no puede ser enviada a una cuenta de capa 1." ,
1969
- "estimatedGas" : " Failed to estimate gas."
1969
+ "estimatedGas" : " Error al estimar el gas."
1970
1970
},
1971
1971
"node" : {
1972
1972
"invalid" : " Por favor, introduce una URL válida." ,
Original file line number Diff line number Diff line change 1966
1966
},
1967
1967
"layer2" : {
1968
1968
"layer1Recipient" : " A layer 2 transaction cannot be sent to a layer 1 account." ,
1969
- "estimatedGas" : " Failed to estimate gas."
1969
+ "estimatedGas" : " Falló al estimarse el gas."
1970
1970
},
1971
1971
"node" : {
1972
1972
"invalid" : " Por favor, introduzca una URL válida." ,
Original file line number Diff line number Diff line change 1966
1966
},
1967
1967
"layer2" : {
1968
1968
"layer1Recipient" : " A 2. rétegbeli tranzakció nem küldhető át egy 1. rétegbeli számlára." ,
1969
- "estimatedGas" : " Failed to estimate gas ."
1969
+ "estimatedGas" : " Tranzakciós költség (gáz) becslése sikertelen ."
1970
1970
},
1971
1971
"node" : {
1972
1972
"invalid" : " Kérjük, adjon meg egy érvényes URL címet!" ,
You can’t perform that action at this time.
0 commit comments