add fee priority selector to Monero wallet withdraw form.
Expose GUI-style priority options in the CMS and include the chosen priority in withdrawal confirmation.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { MoneroWithdrawPriority } from '@/types/moneroWallet/MoneroWithdrawPriority';
|
||||
import type { MoneroWithdrawPriorityLabel } from '@/types/moneroWallet/MoneroWithdrawPriorityLabel';
|
||||
|
||||
export const moneroWithdrawPriorityOptions = [
|
||||
{ value: MoneroWithdrawPriority.Automatic, label: 'Automatic' },
|
||||
{ value: MoneroWithdrawPriority.Slow, label: 'Slow (0.2×)' },
|
||||
{ value: MoneroWithdrawPriority.Normal, label: 'Normal (1×)' },
|
||||
{ value: MoneroWithdrawPriority.Fast, label: 'Fast (5×)' },
|
||||
{ value: MoneroWithdrawPriority.Fastest, label: 'Fastest (200×)' }
|
||||
] as const satisfies ReadonlyArray<{
|
||||
value: MoneroWithdrawPriority;
|
||||
label: MoneroWithdrawPriorityLabel;
|
||||
}>;
|
||||
Reference in New Issue
Block a user