Review changes and operator -> coordinator

This commit is contained in:
a_bennassar
2020-07-28 16:47:37 +02:00
parent b9936f8564
commit 1d8f9411f7
13 changed files with 68 additions and 78 deletions

View File

@@ -12,25 +12,8 @@ type RecommendedFee struct {
CreatesAccountAndRegister float64
}
// FeeSelector is used to select a percentage from the FeePlan. Max value is 16
// FeeSelector is used to select a percentage from the FeePlan.
type FeeSelector uint8
// FeePlan represents the fee model, a position in the array indicates the percentage of tokens paid in concept of fee for a transaction
var FeePlan = [16]float64{
0,
.001,
.002,
.005,
.01,
.02,
.05,
.1,
.2,
.5,
1,
2,
5,
10,
20,
50,
}
var FeePlan = [256]float64{}