Browse Source

stellar fees ajouté

Mushu 6 years ago
parent
commit
5d895abe7c
1 changed files with 10 additions and 1 deletions
  1. 10 1
      MagnaSim.py

+ 10 - 1
MagnaSim.py View File

111
     return fees_eth
111
     return fees_eth
112
 
112
 
113
 def fees_mgn(nbr_transaction_mgn):
113
 def fees_mgn(nbr_transaction_mgn):
114
-    return
114
+    """
115
+    Cette fonction calcule le cout de transfère des tokens magna 
116
+    basés sur Stellar.
117
+    There are two special values used to calculate fees:
118
+        The base fee (currently 100 stroops) is used in transaction fees.
119
+        The base reserve (currently 0.5 XLM) is used in minimum account balances.
120
+    100 stroops (0.00001 XLM)
121
+    """
122
+    fees_mgn = nbr_transaction_mgn*100
123
+    return fees_mgn
115
 
124