You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewError(`Insufficient deposit! Initial deposit has to be at least ${MIN_INITIAL_STAKE_BZZ} xBZZ!`)
50
+
thrownewError(
51
+
`Insufficient deposit! Initial deposit has to be at least ${MIN_DEPOSIT.toSignificantDigits(1)} xBZZ!`,
52
+
)
29
53
}
30
54
31
55
if(
32
56
!(awaitthis.console.confirm(
33
-
`Insufficient deposit! Initial deposit has to be at least ${MIN_INITIAL_STAKE_BZZ} xBZZ. Do you want to increase the deposit to ${MIN_INITIAL_STAKE_BZZ} xBZZ?`,
57
+
`Insufficient deposit! Initial deposit has to be at least ${MIN_DEPOSIT.toSignificantDigits(
58
+
1,
59
+
)} xBZZ! Do you want to increase the deposit to ${MIN_DEPOSIT.toSignificantDigits(1)} xBZZ?`,
34
60
))
35
61
){
36
-
thrownewError(`Insufficient deposit! Initial deposit has to be at least ${MIN_INITIAL_STAKE_BZZ} xBZZ!`)
62
+
thrownewError(
63
+
`Insufficient deposit! Initial deposit has to be at least ${MIN_DEPOSIT.toSignificantDigits(1)} xBZZ!`,
64
+
)
37
65
}
38
66
39
-
amount=MIN_INITIAL_STAKE_PLUR
67
+
amount=MIN_DEPOSIT
40
68
}
41
69
42
70
if(!this.quiet&&!this.yes){
43
71
this.yes=awaitthis.console.confirm(
44
-
'Depositing stake is irreversible! It can not be withdrawn later on. Do you want to continue?',
72
+
`You are about to deposit a non-refundable stake of ${amount.toDecimalString()} xBZZ, are you sure you wish to proceed?`,
0 commit comments