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:
@@ -1,4 +1,7 @@
|
||||
import { MoneroWithdrawPriority } from './MoneroWithdrawPriority';
|
||||
|
||||
export interface MoneroWalletWithdrawPayload {
|
||||
destinationAddress: string;
|
||||
priority: MoneroWithdrawPriority;
|
||||
password: string;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
export enum MoneroWithdrawPriority {
|
||||
Automatic = 0,
|
||||
Slow = 1,
|
||||
Normal = 2,
|
||||
Fast = 3,
|
||||
Fastest = 4
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
export type MoneroWithdrawPriorityLabel =
|
||||
| 'Automatic'
|
||||
| 'Slow (0.2×)'
|
||||
| 'Normal (1×)'
|
||||
| 'Fast (5×)'
|
||||
| 'Fastest (200×)';
|
||||
Reference in New Issue
Block a user