└── Degen-allowance-calculator /Degen-allowance-calculator: -------------------------------------------------------------------------------- 1 | #can be run in any python interpreter like replit or ide like Pycharm 2 | 3 | locked_amount = 396_448_914 #current locked amount 4 | my_amount = 100_000 # your locked amount 5 | 6 | my_precent = round((my_amount / locked_amount) * 100, 2) 7 | my_allovance = round((my_precent * 4_500_000) / 100, 2) 8 | result = round(my_allovance * 30, 2) 9 | 10 | print(f"My Percent: {my_precent}") 11 | print(f"My Allovance: {my_allovance}") 12 | print(f"Result: {result}") 13 | 14 | 15 | #for more accurate calculations use code below 16 | locked_amount = 396_448_914 17 | my_amount = 110_000 18 | 19 | my_precent = (my_amount / locked_amount) * 100 20 | my_allovance = (my_precent * 4_500_000) / 100 21 | result = my_allovance * 30 22 | 23 | print(f"My Percent: {my_precent}") 24 | print(f"My Allovance: {my_allovance}") 25 | print(f"Result: {result}") 26 | --------------------------------------------------------------------------------