浏览代码

stellar fees ajouté

Mushu 6 年前
父节点
当前提交
5d895abe7c
共有 1 个文件被更改,包括 10 次插入1 次删除
  1. 10 1
      MagnaSim.py

+ 10 - 1
MagnaSim.py 查看文件

@@ -111,5 +111,14 @@ def fees_eth(nbr_transaction_eth):
111 111
     return fees_eth
112 112
 
113 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