Add BitcoinTransferMethod enum to backend models
This commit is contained in:
parent
f618e5bbd6
commit
25698188e7
1 changed files with 7 additions and 0 deletions
|
|
@ -78,6 +78,13 @@ class TradeDirection(str, PyEnum):
|
||||||
SELL = "sell" # User sells BTC, gets EUR
|
SELL = "sell" # User sells BTC, gets EUR
|
||||||
|
|
||||||
|
|
||||||
|
class BitcoinTransferMethod(str, PyEnum):
|
||||||
|
"""Bitcoin transfer method for exchange trades."""
|
||||||
|
|
||||||
|
ONCHAIN = "onchain"
|
||||||
|
LIGHTNING = "lightning"
|
||||||
|
|
||||||
|
|
||||||
# Role name constants
|
# Role name constants
|
||||||
ROLE_ADMIN = "admin"
|
ROLE_ADMIN = "admin"
|
||||||
ROLE_REGULAR = "regular"
|
ROLE_REGULAR = "regular"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue