2 changed files with 13 additions and 3 deletions
@ -1,5 +1,15 @@ |
|||||
package com.sparrowwallet.sparrow.wallet; |
package com.sparrowwallet.sparrow.wallet; |
||||
|
|
||||
public enum Function { |
public enum Function { |
||||
TRANSACTIONS, SEND, RECEIVE, ADDRESSES, UTXOS, SETTINGS, LOCK; |
TRANSACTIONS("transactions"), SEND("send"), RECEIVE("receive"), ADDRESSES("addresses"), UTXOS("utxos"), SETTINGS("settings"), LOCK("lock"); |
||||
|
|
||||
|
private final String name; |
||||
|
|
||||
|
Function(String name) { |
||||
|
this.name = name; |
||||
|
} |
||||
|
|
||||
|
public String getName() { |
||||
|
return name; |
||||
|
} |
||||
} |
} |
||||
|
Loading…
Reference in new issue