From 5d895abe7cdb8be5f10e1930cadbd3d999f4a289 Mon Sep 17 00:00:00 2001 From: Mushu Date: Tue, 9 Oct 2018 14:23:06 +0200 Subject: [PATCH] =?UTF-8?q?stellar=20fees=20ajout=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MagnaSim.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/MagnaSim.py b/MagnaSim.py index e35f1de..fd38a0f 100644 --- a/MagnaSim.py +++ b/MagnaSim.py @@ -111,5 +111,14 @@ def fees_eth(nbr_transaction_eth): return fees_eth def fees_mgn(nbr_transaction_mgn): - return + """ + Cette fonction calcule le cout de transfère des tokens magna + basés sur Stellar. + There are two special values used to calculate fees: + The base fee (currently 100 stroops) is used in transaction fees. + The base reserve (currently 0.5 XLM) is used in minimum account balances. + 100 stroops (0.00001 XLM) + """ + fees_mgn = nbr_transaction_mgn*100 + return fees_mgn