You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

312 lines
21 KiB

  1. package common
  2. import (
  3. "math"
  4. "math/big"
  5. )
  6. // RecommendedFee is the recommended fee to pay in USD per transaction set by
  7. // the coordinator according to the tx type (if the tx requires to create an
  8. // account and register, only register or he account already esists)
  9. type RecommendedFee struct {
  10. ExistingAccount float64
  11. CreatesAccount float64
  12. CreatesAccountAndRegister float64
  13. }
  14. // FeeSelector is used to select a percentage from the FeePlan.
  15. type FeeSelector uint8
  16. // Percentage returns the associated percentage of the FeeSelector
  17. func (f FeeSelector) Percentage() float64 {
  18. if f == 0 {
  19. return 0
  20. //nolint:gomnd
  21. } else if f <= 32 { //nolint:gomnd
  22. return math.Pow(10, -24+(float64(f)/2)) //nolint:gomnd
  23. } else if f <= 223 { //nolint:gomnd
  24. return math.Pow(10, -8+(0.041666666666667*(float64(f)-32))) //nolint:gomnd
  25. } else {
  26. return math.Pow(10, float64(f)-224) //nolint:gomnd
  27. }
  28. }
  29. // MaxFeePlan is the maximum value of the FeePlan
  30. const MaxFeePlan = 256
  31. // FeePlan represents the fee model, a position in the array indicates the
  32. // percentage of tokens paid in concept of fee for a transaction
  33. var FeePlan = [MaxFeePlan]float64{}
  34. // CalcFeeAmount calculates the fee amount in tokens from an amount and
  35. // feeSelector (fee index).
  36. func CalcFeeAmount(amount *big.Int, feeSel FeeSelector) *big.Int {
  37. feeAmount := new(big.Int).Mul(amount, FeeFactorLsh79[int(feeSel)])
  38. return feeAmount.Rsh(feeAmount, 79)
  39. }
  40. func init() {
  41. setFeeFactorLsh79(&FeeFactorLsh79)
  42. }
  43. // FeeFactorLsh79 is the feeFactor << 79
  44. var FeeFactorLsh79 [256]*big.Int
  45. func setFeeFactorLsh79(feeFactorLsh79 *[256]*big.Int) {
  46. feeFactorLsh79[0], _ = new(big.Int).SetString("0", 10)
  47. feeFactorLsh79[1], _ = new(big.Int).SetString("1", 10)
  48. feeFactorLsh79[2], _ = new(big.Int).SetString("6", 10)
  49. feeFactorLsh79[3], _ = new(big.Int).SetString("19", 10)
  50. feeFactorLsh79[4], _ = new(big.Int).SetString("60", 10)
  51. feeFactorLsh79[5], _ = new(big.Int).SetString("191", 10)
  52. feeFactorLsh79[6], _ = new(big.Int).SetString("604", 10)
  53. feeFactorLsh79[7], _ = new(big.Int).SetString("1911", 10)
  54. feeFactorLsh79[8], _ = new(big.Int).SetString("6044", 10)
  55. feeFactorLsh79[9], _ = new(big.Int).SetString("19114", 10)
  56. feeFactorLsh79[10], _ = new(big.Int).SetString("60446", 10)
  57. feeFactorLsh79[11], _ = new(big.Int).SetString("191147", 10)
  58. feeFactorLsh79[12], _ = new(big.Int).SetString("604462", 10)
  59. feeFactorLsh79[13], _ = new(big.Int).SetString("1911479", 10)
  60. feeFactorLsh79[14], _ = new(big.Int).SetString("6044629", 10)
  61. feeFactorLsh79[15], _ = new(big.Int).SetString("19114795", 10)
  62. feeFactorLsh79[16], _ = new(big.Int).SetString("60446290", 10)
  63. feeFactorLsh79[17], _ = new(big.Int).SetString("191147955", 10)
  64. feeFactorLsh79[18], _ = new(big.Int).SetString("604462909", 10)
  65. feeFactorLsh79[19], _ = new(big.Int).SetString("1911479556", 10)
  66. feeFactorLsh79[20], _ = new(big.Int).SetString("6044629098", 10)
  67. feeFactorLsh79[21], _ = new(big.Int).SetString("19114795560", 10)
  68. feeFactorLsh79[22], _ = new(big.Int).SetString("60446290980", 10)
  69. feeFactorLsh79[23], _ = new(big.Int).SetString("191147955608", 10)
  70. feeFactorLsh79[24], _ = new(big.Int).SetString("604462909807", 10)
  71. feeFactorLsh79[25], _ = new(big.Int).SetString("1911479556084", 10)
  72. feeFactorLsh79[26], _ = new(big.Int).SetString("6044629098073", 10)
  73. feeFactorLsh79[27], _ = new(big.Int).SetString("19114795560840", 10)
  74. feeFactorLsh79[28], _ = new(big.Int).SetString("60446290980731", 10)
  75. feeFactorLsh79[29], _ = new(big.Int).SetString("191147955608404", 10)
  76. feeFactorLsh79[30], _ = new(big.Int).SetString("604462909807314", 10)
  77. feeFactorLsh79[31], _ = new(big.Int).SetString("1911479556084045", 10)
  78. feeFactorLsh79[32], _ = new(big.Int).SetString("6044629098073146", 10)
  79. feeFactorLsh79[33], _ = new(big.Int).SetString("6653288015630616", 10)
  80. feeFactorLsh79[34], _ = new(big.Int).SetString("7323235338466790", 10)
  81. feeFactorLsh79[35], _ = new(big.Int).SetString("8060642451758603", 10)
  82. feeFactorLsh79[36], _ = new(big.Int).SetString("8872302163198820", 10)
  83. feeFactorLsh79[37], _ = new(big.Int).SetString("9765691276621298", 10)
  84. feeFactorLsh79[38], _ = new(big.Int).SetString("10749039466425620", 10)
  85. feeFactorLsh79[39], _ = new(big.Int).SetString("11831405087254648", 10)
  86. feeFactorLsh79[40], _ = new(big.Int).SetString("13022758617264914", 10)
  87. feeFactorLsh79[41], _ = new(big.Int).SetString("14334074503647984", 10)
  88. feeFactorLsh79[42], _ = new(big.Int).SetString("15777432256460256", 10)
  89. feeFactorLsh79[43], _ = new(big.Int).SetString("17366127722012378", 10)
  90. feeFactorLsh79[44], _ = new(big.Int).SetString("19114795560840448", 10)
  91. feeFactorLsh79[45], _ = new(big.Int).SetString("21039544058494708", 10)
  92. feeFactorLsh79[46], _ = new(big.Int).SetString("23158103510989148", 10)
  93. feeFactorLsh79[47], _ = new(big.Int).SetString("25489989551801104", 10)
  94. feeFactorLsh79[48], _ = new(big.Int).SetString("28056682924947216", 10)
  95. feeFactorLsh79[49], _ = new(big.Int).SetString("30881827360160752", 10)
  96. feeFactorLsh79[50], _ = new(big.Int).SetString("33991447372945972", 10)
  97. feeFactorLsh79[51], _ = new(big.Int).SetString("37414187995827888", 10)
  98. feeFactorLsh79[52], _ = new(big.Int).SetString("41181578649142096", 10)
  99. feeFactorLsh79[53], _ = new(big.Int).SetString("45328323582075176", 10)
  100. feeFactorLsh79[54], _ = new(big.Int).SetString("49892621559424256", 10)
  101. feeFactorLsh79[55], _ = new(big.Int).SetString("54916517738950528", 10)
  102. feeFactorLsh79[56], _ = new(big.Int).SetString("60446290980731456", 10)
  103. feeFactorLsh79[57], _ = new(big.Int).SetString("66532880156306032", 10)
  104. feeFactorLsh79[58], _ = new(big.Int).SetString("73232353384667904", 10)
  105. feeFactorLsh79[59], _ = new(big.Int).SetString("80606424517586032", 10)
  106. feeFactorLsh79[60], _ = new(big.Int).SetString("88723021631988016", 10)
  107. feeFactorLsh79[61], _ = new(big.Int).SetString("97656912766212992", 10)
  108. feeFactorLsh79[62], _ = new(big.Int).SetString("107490394664256192", 10)
  109. feeFactorLsh79[63], _ = new(big.Int).SetString("118314050872546240", 10)
  110. feeFactorLsh79[64], _ = new(big.Int).SetString("130227586172649136", 10)
  111. feeFactorLsh79[65], _ = new(big.Int).SetString("143340745036479856", 10)
  112. feeFactorLsh79[66], _ = new(big.Int).SetString("157774322564602240", 10)
  113. feeFactorLsh79[67], _ = new(big.Int).SetString("173661277220123776", 10)
  114. feeFactorLsh79[68], _ = new(big.Int).SetString("191147955608404480", 10)
  115. feeFactorLsh79[69], _ = new(big.Int).SetString("210395440584946624", 10)
  116. feeFactorLsh79[70], _ = new(big.Int).SetString("231581035109891488", 10)
  117. feeFactorLsh79[71], _ = new(big.Int).SetString("254899895518011040", 10)
  118. feeFactorLsh79[72], _ = new(big.Int).SetString("280566829249471584", 10)
  119. feeFactorLsh79[73], _ = new(big.Int).SetString("308818273601607552", 10)
  120. feeFactorLsh79[74], _ = new(big.Int).SetString("339914473729459712", 10)
  121. feeFactorLsh79[75], _ = new(big.Int).SetString("374141879958278144", 10)
  122. feeFactorLsh79[76], _ = new(big.Int).SetString("411815786491420928", 10)
  123. feeFactorLsh79[77], _ = new(big.Int).SetString("453283235820751744", 10)
  124. feeFactorLsh79[78], _ = new(big.Int).SetString("498926215594241536", 10)
  125. feeFactorLsh79[79], _ = new(big.Int).SetString("549165177389505280", 10)
  126. feeFactorLsh79[80], _ = new(big.Int).SetString("604462909807314560", 10)
  127. feeFactorLsh79[81], _ = new(big.Int).SetString("665328801563060352", 10)
  128. feeFactorLsh79[82], _ = new(big.Int).SetString("732323533846679040", 10)
  129. feeFactorLsh79[83], _ = new(big.Int).SetString("806064245175860224", 10)
  130. feeFactorLsh79[84], _ = new(big.Int).SetString("887230216319880192", 10)
  131. feeFactorLsh79[85], _ = new(big.Int).SetString("976569127662129920", 10)
  132. feeFactorLsh79[86], _ = new(big.Int).SetString("1074903946642562048", 10)
  133. feeFactorLsh79[87], _ = new(big.Int).SetString("1183140508725462528", 10)
  134. feeFactorLsh79[88], _ = new(big.Int).SetString("1302275861726491392", 10)
  135. feeFactorLsh79[89], _ = new(big.Int).SetString("1433407450364798464", 10)
  136. feeFactorLsh79[90], _ = new(big.Int).SetString("1577743225646022400", 10)
  137. feeFactorLsh79[91], _ = new(big.Int).SetString("1736612772201237760", 10)
  138. feeFactorLsh79[92], _ = new(big.Int).SetString("1911479556084044800", 10)
  139. feeFactorLsh79[93], _ = new(big.Int).SetString("2103954405849466368", 10)
  140. feeFactorLsh79[94], _ = new(big.Int).SetString("2315810351098914816", 10)
  141. feeFactorLsh79[95], _ = new(big.Int).SetString("2548998955180110336", 10)
  142. feeFactorLsh79[96], _ = new(big.Int).SetString("2805668292494715904", 10)
  143. feeFactorLsh79[97], _ = new(big.Int).SetString("3088182736016075264", 10)
  144. feeFactorLsh79[98], _ = new(big.Int).SetString("3399144737294597120", 10)
  145. feeFactorLsh79[99], _ = new(big.Int).SetString("3741418799582781440", 10)
  146. feeFactorLsh79[100], _ = new(big.Int).SetString("4118157864914209280", 10)
  147. feeFactorLsh79[101], _ = new(big.Int).SetString("4532832358207517184", 10)
  148. feeFactorLsh79[102], _ = new(big.Int).SetString("4989262155942415360", 10)
  149. feeFactorLsh79[103], _ = new(big.Int).SetString("5491651773895053312", 10)
  150. feeFactorLsh79[104], _ = new(big.Int).SetString("6044629098073145344", 10)
  151. feeFactorLsh79[105], _ = new(big.Int).SetString("6653288015630603264", 10)
  152. feeFactorLsh79[106], _ = new(big.Int).SetString("7323235338466789376", 10)
  153. feeFactorLsh79[107], _ = new(big.Int).SetString("8060642451758603264", 10)
  154. feeFactorLsh79[108], _ = new(big.Int).SetString("8872302163198801920", 10)
  155. feeFactorLsh79[109], _ = new(big.Int).SetString("9765691276621297664", 10)
  156. feeFactorLsh79[110], _ = new(big.Int).SetString("10749039466425620480", 10)
  157. feeFactorLsh79[111], _ = new(big.Int).SetString("11831405087254624256", 10)
  158. feeFactorLsh79[112], _ = new(big.Int).SetString("13022758617264914432", 10)
  159. feeFactorLsh79[113], _ = new(big.Int).SetString("14334074503647985664", 10)
  160. feeFactorLsh79[114], _ = new(big.Int).SetString("15777432256460224512", 10)
  161. feeFactorLsh79[115], _ = new(big.Int).SetString("17366127722012377088", 10)
  162. feeFactorLsh79[116], _ = new(big.Int).SetString("19114795560840450048", 10)
  163. feeFactorLsh79[117], _ = new(big.Int).SetString("21039544058494664704", 10)
  164. feeFactorLsh79[118], _ = new(big.Int).SetString("23158103510989152256", 10)
  165. feeFactorLsh79[119], _ = new(big.Int).SetString("25489989551801102336", 10)
  166. feeFactorLsh79[120], _ = new(big.Int).SetString("28056682924947156992", 10)
  167. feeFactorLsh79[121], _ = new(big.Int).SetString("30881827360160751616", 10)
  168. feeFactorLsh79[122], _ = new(big.Int).SetString("33991447372945973248", 10)
  169. feeFactorLsh79[123], _ = new(big.Int).SetString("37414187995827814400", 10)
  170. feeFactorLsh79[124], _ = new(big.Int).SetString("41181578649142091776", 10)
  171. feeFactorLsh79[125], _ = new(big.Int).SetString("45328323582075174912", 10)
  172. feeFactorLsh79[126], _ = new(big.Int).SetString("49892621559424155648", 10)
  173. feeFactorLsh79[127], _ = new(big.Int).SetString("54916517738950524928", 10)
  174. feeFactorLsh79[128], _ = new(big.Int).SetString("60446290980731453440", 10)
  175. feeFactorLsh79[129], _ = new(big.Int).SetString("66532880156306030592", 10)
  176. feeFactorLsh79[130], _ = new(big.Int).SetString("73232353384667897856", 10)
  177. feeFactorLsh79[131], _ = new(big.Int).SetString("80606424517586026496", 10)
  178. feeFactorLsh79[132], _ = new(big.Int).SetString("88723021631988023296", 10)
  179. feeFactorLsh79[133], _ = new(big.Int).SetString("97656912766212980736", 10)
  180. feeFactorLsh79[134], _ = new(big.Int).SetString("107490394664256208896", 10)
  181. feeFactorLsh79[135], _ = new(big.Int).SetString("118314050872546246656", 10)
  182. feeFactorLsh79[136], _ = new(big.Int).SetString("130227586172649144320", 10)
  183. feeFactorLsh79[137], _ = new(big.Int).SetString("143340745036479856640", 10)
  184. feeFactorLsh79[138], _ = new(big.Int).SetString("157774322564602232832", 10)
  185. feeFactorLsh79[139], _ = new(big.Int).SetString("173661277220123770880", 10)
  186. feeFactorLsh79[140], _ = new(big.Int).SetString("191147955608404492288", 10)
  187. feeFactorLsh79[141], _ = new(big.Int).SetString("210395440584946647040", 10)
  188. feeFactorLsh79[142], _ = new(big.Int).SetString("231581035109891506176", 10)
  189. feeFactorLsh79[143], _ = new(big.Int).SetString("254899895518011031552", 10)
  190. feeFactorLsh79[144], _ = new(big.Int).SetString("280566829249471578112", 10)
  191. feeFactorLsh79[145], _ = new(big.Int).SetString("308818273601607499776", 10)
  192. feeFactorLsh79[146], _ = new(big.Int).SetString("339914473729459748864", 10)
  193. feeFactorLsh79[147], _ = new(big.Int).SetString("374141879958278111232", 10)
  194. feeFactorLsh79[148], _ = new(big.Int).SetString("411815786491420934144", 10)
  195. feeFactorLsh79[149], _ = new(big.Int).SetString("453283235820751683584", 10)
  196. feeFactorLsh79[150], _ = new(big.Int).SetString("498926215594241556480", 10)
  197. feeFactorLsh79[151], _ = new(big.Int).SetString("549165177389505314816", 10)
  198. feeFactorLsh79[152], _ = new(big.Int).SetString("604462909807314599936", 10)
  199. feeFactorLsh79[153], _ = new(big.Int).SetString("665328801563060338688", 10)
  200. feeFactorLsh79[154], _ = new(big.Int).SetString("732323533846678994944", 10)
  201. feeFactorLsh79[155], _ = new(big.Int).SetString("806064245175860330496", 10)
  202. feeFactorLsh79[156], _ = new(big.Int).SetString("887230216319880134656", 10)
  203. feeFactorLsh79[157], _ = new(big.Int).SetString("976569127662129774592", 10)
  204. feeFactorLsh79[158], _ = new(big.Int).SetString("1074903946642561957888", 10)
  205. feeFactorLsh79[159], _ = new(big.Int).SetString("1183140508725462433792", 10)
  206. feeFactorLsh79[160], _ = new(big.Int).SetString("1302275861726491312128", 10)
  207. feeFactorLsh79[161], _ = new(big.Int).SetString("1433407450364798566400", 10)
  208. feeFactorLsh79[162], _ = new(big.Int).SetString("1577743225646022393856", 10)
  209. feeFactorLsh79[163], _ = new(big.Int).SetString("1736612772201237577728", 10)
  210. feeFactorLsh79[164], _ = new(big.Int).SetString("1911479556084044922880", 10)
  211. feeFactorLsh79[165], _ = new(big.Int).SetString("2103954405849466404864", 10)
  212. feeFactorLsh79[166], _ = new(big.Int).SetString("2315810351098914930688", 10)
  213. feeFactorLsh79[167], _ = new(big.Int).SetString("2548998955180110643200", 10)
  214. feeFactorLsh79[168], _ = new(big.Int).SetString("2805668292494716043264", 10)
  215. feeFactorLsh79[169], _ = new(big.Int).SetString("3088182736016075390976", 10)
  216. feeFactorLsh79[170], _ = new(big.Int).SetString("3399144737294597488640", 10)
  217. feeFactorLsh79[171], _ = new(big.Int).SetString("3741418799582781374464", 10)
  218. feeFactorLsh79[172], _ = new(big.Int).SetString("4118157864914209210368", 10)
  219. feeFactorLsh79[173], _ = new(big.Int).SetString("4532832358207517097984", 10)
  220. feeFactorLsh79[174], _ = new(big.Int).SetString("4989262155942415302656", 10)
  221. feeFactorLsh79[175], _ = new(big.Int).SetString("5491651773895053148160", 10)
  222. feeFactorLsh79[176], _ = new(big.Int).SetString("6044629098073145999360", 10)
  223. feeFactorLsh79[177], _ = new(big.Int).SetString("6653288015630603124736", 10)
  224. feeFactorLsh79[178], _ = new(big.Int).SetString("7323235338466790211584", 10)
  225. feeFactorLsh79[179], _ = new(big.Int).SetString("8060642451758603304960", 10)
  226. feeFactorLsh79[180], _ = new(big.Int).SetString("8872302163198802395136", 10)
  227. feeFactorLsh79[181], _ = new(big.Int).SetString("9765691276621298794496", 10)
  228. feeFactorLsh79[182], _ = new(big.Int).SetString("10749039466425620627456", 10)
  229. feeFactorLsh79[183], _ = new(big.Int).SetString("11831405087254623813632", 10)
  230. feeFactorLsh79[184], _ = new(big.Int).SetString("13022758617264913645568", 10)
  231. feeFactorLsh79[185], _ = new(big.Int).SetString("14334074503647983566848", 10)
  232. feeFactorLsh79[186], _ = new(big.Int).SetString("15777432256460225511424", 10)
  233. feeFactorLsh79[187], _ = new(big.Int).SetString("17366127722012377874432", 10)
  234. feeFactorLsh79[188], _ = new(big.Int).SetString("19114795560840447655936", 10)
  235. feeFactorLsh79[189], _ = new(big.Int).SetString("21039544058494662475776", 10)
  236. feeFactorLsh79[190], _ = new(big.Int).SetString("23158103510989150355456", 10)
  237. feeFactorLsh79[191], _ = new(big.Int).SetString("25489989551801103286272", 10)
  238. feeFactorLsh79[192], _ = new(big.Int).SetString("28056682924947158335488", 10)
  239. feeFactorLsh79[193], _ = new(big.Int).SetString("30881827360160754958336", 10)
  240. feeFactorLsh79[194], _ = new(big.Int).SetString("33991447372945971740672", 10)
  241. feeFactorLsh79[195], _ = new(big.Int).SetString("37414187995827814793216", 10)
  242. feeFactorLsh79[196], _ = new(big.Int).SetString("41181578649142095249408", 10)
  243. feeFactorLsh79[197], _ = new(big.Int).SetString("45328323582075170979840", 10)
  244. feeFactorLsh79[198], _ = new(big.Int).SetString("49892621559424153026560", 10)
  245. feeFactorLsh79[199], _ = new(big.Int).SetString("54916517738950525190144", 10)
  246. feeFactorLsh79[200], _ = new(big.Int).SetString("60446290980731462090752", 10)
  247. feeFactorLsh79[201], _ = new(big.Int).SetString("66532880156306033344512", 10)
  248. feeFactorLsh79[202], _ = new(big.Int).SetString("73232353384667900018688", 10)
  249. feeFactorLsh79[203], _ = new(big.Int).SetString("80606424517586030952448", 10)
  250. feeFactorLsh79[204], _ = new(big.Int).SetString("88723021631988017659904", 10)
  251. feeFactorLsh79[205], _ = new(big.Int).SetString("97656912766212987944960", 10)
  252. feeFactorLsh79[206], _ = new(big.Int).SetString("107490394664256189497344", 10)
  253. feeFactorLsh79[207], _ = new(big.Int).SetString("118314050872546242330624", 10)
  254. feeFactorLsh79[208], _ = new(big.Int).SetString("130227586172649140649984", 10)
  255. feeFactorLsh79[209], _ = new(big.Int).SetString("143340745036479844057088", 10)
  256. feeFactorLsh79[210], _ = new(big.Int).SetString("157774322564602238337024", 10)
  257. feeFactorLsh79[211], _ = new(big.Int).SetString("173661277220123782938624", 10)
  258. feeFactorLsh79[212], _ = new(big.Int).SetString("191147955608404493336576", 10)
  259. feeFactorLsh79[213], _ = new(big.Int).SetString("210395440584946633146368", 10)
  260. feeFactorLsh79[214], _ = new(big.Int).SetString("231581035109891511943168", 10)
  261. feeFactorLsh79[215], _ = new(big.Int).SetString("254899895518011024474112", 10)
  262. feeFactorLsh79[216], _ = new(big.Int).SetString("280566829249471583354880", 10)
  263. feeFactorLsh79[217], _ = new(big.Int).SetString("308818273601607516028928", 10)
  264. feeFactorLsh79[218], _ = new(big.Int).SetString("339914473729459734183936", 10)
  265. feeFactorLsh79[219], _ = new(big.Int).SetString("374141879958278114377728", 10)
  266. feeFactorLsh79[220], _ = new(big.Int).SetString("411815786491420902162432", 10)
  267. feeFactorLsh79[221], _ = new(big.Int).SetString("453283235820751760130048", 10)
  268. feeFactorLsh79[222], _ = new(big.Int).SetString("498926215594241513488384", 10)
  269. feeFactorLsh79[223], _ = new(big.Int).SetString("549165177389505251901440", 10)
  270. feeFactorLsh79[224], _ = new(big.Int).SetString("604462909807314587353088", 10)
  271. feeFactorLsh79[225], _ = new(big.Int).SetString("6044629098073145873530880", 10)
  272. feeFactorLsh79[226], _ = new(big.Int).SetString("60446290980731458735308800", 10)
  273. feeFactorLsh79[227], _ = new(big.Int).SetString("604462909807314587353088000", 10)
  274. feeFactorLsh79[228], _ = new(big.Int).SetString("6044629098073145873530880000", 10)
  275. feeFactorLsh79[229], _ = new(big.Int).SetString("60446290980731458735308800000", 10)
  276. feeFactorLsh79[230], _ = new(big.Int).SetString("604462909807314587353088000000", 10)
  277. feeFactorLsh79[231], _ = new(big.Int).SetString("6044629098073145873530880000000", 10)
  278. feeFactorLsh79[232], _ = new(big.Int).SetString("60446290980731458735308800000000", 10)
  279. feeFactorLsh79[233], _ = new(big.Int).SetString("604462909807314587353088000000000", 10)
  280. feeFactorLsh79[234], _ = new(big.Int).SetString("6044629098073145873530880000000000", 10)
  281. feeFactorLsh79[235], _ = new(big.Int).SetString("60446290980731458735308800000000000", 10)
  282. feeFactorLsh79[236], _ = new(big.Int).SetString("604462909807314587353088000000000000", 10)
  283. feeFactorLsh79[237], _ = new(big.Int).SetString("6044629098073145873530880000000000000", 10)
  284. feeFactorLsh79[238], _ = new(big.Int).SetString("60446290980731458735308800000000000000", 10)
  285. feeFactorLsh79[239], _ = new(big.Int).SetString("604462909807314587353088000000000000000", 10)
  286. feeFactorLsh79[240], _ = new(big.Int).SetString("6044629098073145873530880000000000000000", 10)
  287. feeFactorLsh79[241], _ = new(big.Int).SetString("60446290980731458735308800000000000000000", 10)
  288. feeFactorLsh79[242], _ = new(big.Int).SetString("604462909807314587353088000000000000000000", 10)
  289. feeFactorLsh79[243], _ = new(big.Int).SetString("6044629098073145873530880000000000000000000", 10)
  290. feeFactorLsh79[244], _ = new(big.Int).SetString("60446290980731458735308800000000000000000000", 10)
  291. feeFactorLsh79[245], _ = new(big.Int).SetString("604462909807314587353088000000000000000000000", 10)
  292. feeFactorLsh79[246], _ = new(big.Int).SetString("6044629098073145873530880000000000000000000000", 10)
  293. feeFactorLsh79[247], _ = new(big.Int).SetString("60446290980731458735308800000000000000000000000", 10)
  294. feeFactorLsh79[248], _ = new(big.Int).SetString("604462909807314587353088000000000000000000000000", 10)
  295. feeFactorLsh79[249], _ = new(big.Int).SetString("6044629098073145873530880000000000000000000000000", 10)
  296. feeFactorLsh79[250], _ = new(big.Int).SetString("60446290980731458735308800000000000000000000000000", 10)
  297. feeFactorLsh79[251], _ = new(big.Int).SetString("604462909807314587353088000000000000000000000000000", 10)
  298. feeFactorLsh79[252], _ = new(big.Int).SetString("6044629098073145873530880000000000000000000000000000", 10)
  299. feeFactorLsh79[253], _ = new(big.Int).SetString("60446290980731458735308800000000000000000000000000000", 10)
  300. feeFactorLsh79[254], _ = new(big.Int).SetString("604462909807314587353088000000000000000000000000000000", 10)
  301. feeFactorLsh79[255], _ = new(big.Int).SetString("6044629098073145873530880000000000000000000000000000000", 10)
  302. }