-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathConstants.py
More file actions
40 lines (34 loc) Β· 2.12 KB
/
Constants.py
File metadata and controls
40 lines (34 loc) Β· 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
class Constants:
Currency = "$"
Confirmations = 6
Fee = 0.05
MinDaysPlan = 1
MinPricePlan = 5
Abs_path = ''
DB_path = 'DB\\'
WithdrawalCancel = "π Withdrawal canceled."
WithdrawalExpired = "π Withdrawal expired."
reply_message_insert_address_for_test = ['βοΈ Enter your', 'address', 'Network:']
@staticmethod
def reply_message_insert_address(CryptoCurrency, Network2):
reply_message_insert_address = 'βοΈ Enter your <b>' + str(
CryptoCurrency) + '</b> address \n\nβ οΈ Network: <b>' + str(
Network2) + "</b>"
return reply_message_insert_address
reply_message_insert_amount_to_withdraw = "βοΈ Input the amount you wish to withdraw in dollars"
reply_message_insert_event_name = "βοΈ Input the event name"
reply_message_insert_event_description = "βοΈ Input the event description\nto skip type /skip"
reply_message_insert_event_image = "βοΈ Insert the event image\nto skip type /skip"
reply_message_insert_side_name = "βοΈ Insert the side bet name"
reply_message_insert_side_odds = "βοΈ Enter the odds for the side bet\nExample: 0.7 (for a 70% chance of winning this side)"
error_message_general = 'β An error has occurred.'
error_message_not_enough_coins_to_withdraw = "β Not enough funds. Please set an amount less than or equal to the balance in your wallet."
error_message_not_a_number = "β Enter a valid number."
error_message_no_address = "β You do not have a valid address to send the coins."
error_message_below_min = 'β The minimum amount to withdraw is '
back_button = 'βΉ Back'
withdrawal_button = {"resize_keyboard": True,
"inline_keyboard": [[{"text": "πΈ Withdraw", 'callback_data': f"withdrawing"}], [
{"text": "βοΈ Set Withdrawal Address", 'callback_data': f"set_withdrawal_address"}],
[{"text": "π My Withdrawal Address", 'callback_data': f"view_my_address"}],
[{"text": back_button, 'callback_data': "open_wallet"}]]}