@waterx/predict-sdk 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +67 -0
  3. package/dist/src/account.d.ts +64 -0
  4. package/dist/src/account.js +134 -0
  5. package/dist/src/admin.d.ts +47 -0
  6. package/dist/src/admin.js +104 -0
  7. package/dist/src/bcs.d.ts +20 -0
  8. package/dist/src/bcs.js +209 -0
  9. package/dist/src/client.d.ts +60 -0
  10. package/dist/src/client.js +59 -0
  11. package/dist/src/constants.d.ts +61 -0
  12. package/dist/src/constants.js +62 -0
  13. package/dist/src/fetch.d.ts +53 -0
  14. package/dist/src/fetch.js +187 -0
  15. package/dist/src/generated/bucket_v2_framework/account.d.ts +100 -0
  16. package/dist/src/generated/bucket_v2_framework/account.js +129 -0
  17. package/dist/src/generated/bucket_v2_framework/deps/std/type_name.d.ts +6 -0
  18. package/dist/src/generated/bucket_v2_framework/deps/std/type_name.js +19 -0
  19. package/dist/src/generated/bucket_v2_framework/deps/sui/balance.d.ts +10 -0
  20. package/dist/src/generated/bucket_v2_framework/deps/sui/balance.js +14 -0
  21. package/dist/src/generated/bucket_v2_framework/deps/sui/vec_map.d.ts +36 -0
  22. package/dist/src/generated/bucket_v2_framework/deps/sui/vec_map.js +27 -0
  23. package/dist/src/generated/bucket_v2_framework/deps/sui/vec_set.d.ts +16 -0
  24. package/dist/src/generated/bucket_v2_framework/deps/sui/vec_set.js +19 -0
  25. package/dist/src/generated/bucket_v2_framework/double.d.ts +382 -0
  26. package/dist/src/generated/bucket_v2_framework/double.js +466 -0
  27. package/dist/src/generated/bucket_v2_framework/float.d.ts +362 -0
  28. package/dist/src/generated/bucket_v2_framework/float.js +440 -0
  29. package/dist/src/generated/bucket_v2_framework/liability.d.ts +193 -0
  30. package/dist/src/generated/bucket_v2_framework/liability.js +205 -0
  31. package/dist/src/generated/bucket_v2_framework/linked_table.d.ts +384 -0
  32. package/dist/src/generated/bucket_v2_framework/linked_table.js +382 -0
  33. package/dist/src/generated/bucket_v2_framework/sheet.d.ts +344 -0
  34. package/dist/src/generated/bucket_v2_framework/sheet.js +344 -0
  35. package/dist/src/generated/utils/index.d.ts +30 -0
  36. package/dist/src/generated/utils/index.js +157 -0
  37. package/dist/src/generated/waterx_account/account.d.ts +1326 -0
  38. package/dist/src/generated/waterx_account/account.js +1487 -0
  39. package/dist/src/generated/waterx_account/deps/std/type_name.d.ts +6 -0
  40. package/dist/src/generated/waterx_account/deps/std/type_name.js +19 -0
  41. package/dist/src/generated/waterx_account/deps/sui/balance.d.ts +10 -0
  42. package/dist/src/generated/waterx_account/deps/sui/balance.js +14 -0
  43. package/dist/src/generated/waterx_account/deps/sui/table.d.ts +24 -0
  44. package/dist/src/generated/waterx_account/deps/sui/table.js +31 -0
  45. package/dist/src/generated/waterx_account/deps/sui/vec_map.d.ts +36 -0
  46. package/dist/src/generated/waterx_account/deps/sui/vec_map.js +27 -0
  47. package/dist/src/generated/waterx_account/deps/sui/vec_set.d.ts +16 -0
  48. package/dist/src/generated/waterx_account/deps/sui/vec_set.js +19 -0
  49. package/dist/src/generated/waterx_account/direct_rule.d.ts +72 -0
  50. package/dist/src/generated/waterx_account/direct_rule.js +75 -0
  51. package/dist/src/generated/waterx_account/events.d.ts +30 -0
  52. package/dist/src/generated/waterx_account/events.js +145 -0
  53. package/dist/src/generated/waterx_account/version.d.ts +10 -0
  54. package/dist/src/generated/waterx_account/version.js +8 -0
  55. package/dist/src/generated/waterx_prediction/account_data.d.ts +321 -0
  56. package/dist/src/generated/waterx_prediction/account_data.js +399 -0
  57. package/dist/src/generated/waterx_prediction/admin.d.ts +5 -0
  58. package/dist/src/generated/waterx_prediction/admin.js +9 -0
  59. package/dist/src/generated/waterx_prediction/deps/bucket_v2_framework/linked_table.d.ts +8 -0
  60. package/dist/src/generated/waterx_prediction/deps/bucket_v2_framework/linked_table.js +18 -0
  61. package/dist/src/generated/waterx_prediction/deps/sui/balance.d.ts +10 -0
  62. package/dist/src/generated/waterx_prediction/deps/sui/balance.js +14 -0
  63. package/dist/src/generated/waterx_prediction/deps/sui/table.d.ts +24 -0
  64. package/dist/src/generated/waterx_prediction/deps/sui/table.js +31 -0
  65. package/dist/src/generated/waterx_prediction/deps/sui/vec_set.d.ts +16 -0
  66. package/dist/src/generated/waterx_prediction/deps/sui/vec_set.js +19 -0
  67. package/dist/src/generated/waterx_prediction/events.d.ts +19 -0
  68. package/dist/src/generated/waterx_prediction/events.js +99 -0
  69. package/dist/src/generated/waterx_prediction/global_config.d.ts +68 -0
  70. package/dist/src/generated/waterx_prediction/global_config.js +83 -0
  71. package/dist/src/generated/waterx_prediction/order.d.ts +170 -0
  72. package/dist/src/generated/waterx_prediction/order.js +237 -0
  73. package/dist/src/generated/waterx_prediction/outcome.d.ts +58 -0
  74. package/dist/src/generated/waterx_prediction/outcome.js +73 -0
  75. package/dist/src/generated/waterx_prediction/position.d.ts +150 -0
  76. package/dist/src/generated/waterx_prediction/position.js +200 -0
  77. package/dist/src/generated/waterx_prediction/view.d.ts +353 -0
  78. package/dist/src/generated/waterx_prediction/view.js +426 -0
  79. package/dist/src/generated/waterx_prediction/waterx_prediction.d.ts +1520 -0
  80. package/dist/src/generated/waterx_prediction/waterx_prediction.js +1550 -0
  81. package/dist/src/index.d.ts +22 -0
  82. package/dist/src/index.js +17 -0
  83. package/dist/src/prediction.d.ts +81 -0
  84. package/dist/src/prediction.js +220 -0
  85. package/dist/src/types.d.ts +81 -0
  86. package/dist/src/types.js +1 -0
  87. package/dist/src/user/account.d.ts +2 -0
  88. package/dist/src/user/account.js +1 -0
  89. package/dist/src/user/admin.d.ts +4 -0
  90. package/dist/src/user/admin.js +2 -0
  91. package/dist/src/user/index.d.ts +4 -0
  92. package/dist/src/user/index.js +2 -0
  93. package/dist/src/user/keeper.d.ts +2 -0
  94. package/dist/src/user/keeper.js +1 -0
  95. package/dist/src/user/order.d.ts +2 -0
  96. package/dist/src/user/order.js +1 -0
  97. package/dist/src/user/position.d.ts +2 -0
  98. package/dist/src/user/position.js +1 -0
  99. package/dist/src/utils/bcs.d.ts +1 -0
  100. package/dist/src/utils/bcs.js +1 -0
  101. package/dist/src/utils/index.d.ts +1 -0
  102. package/dist/src/utils/index.js +1 -0
  103. package/dist/src/utils.d.ts +29 -0
  104. package/dist/src/utils.js +170 -0
  105. package/package.json +62 -0
@@ -0,0 +1,466 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ /** Module for double precision floating points */
5
+ import { MoveStruct, normalizeMoveArguments } from "../utils/index.js";
6
+ import { bcs } from '@mysten/sui/bcs';
7
+ const $moduleName = '@bucket/framework::double';
8
+ export const Double = new MoveStruct({ name: `${$moduleName}::Double`, fields: {
9
+ value: bcs.u256()
10
+ } });
11
+ /** Public Funs */
12
+ export function zero(options = {}) {
13
+ const packageAddress = options.package ?? '@bucket/framework';
14
+ return (tx) => tx.moveCall({
15
+ package: packageAddress,
16
+ module: 'double',
17
+ function: 'zero',
18
+ });
19
+ }
20
+ export function one(options = {}) {
21
+ const packageAddress = options.package ?? '@bucket/framework';
22
+ return (tx) => tx.moveCall({
23
+ package: packageAddress,
24
+ module: 'double',
25
+ function: 'one',
26
+ });
27
+ }
28
+ export function ten(options = {}) {
29
+ const packageAddress = options.package ?? '@bucket/framework';
30
+ return (tx) => tx.moveCall({
31
+ package: packageAddress,
32
+ module: 'double',
33
+ function: 'ten',
34
+ });
35
+ }
36
+ export function _from(options) {
37
+ const packageAddress = options.package ?? '@bucket/framework';
38
+ const argumentsTypes = [
39
+ 'u64'
40
+ ];
41
+ const parameterNames = ["v"];
42
+ return (tx) => tx.moveCall({
43
+ package: packageAddress,
44
+ module: 'double',
45
+ function: 'from',
46
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
47
+ });
48
+ }
49
+ export function fromPercent(options) {
50
+ const packageAddress = options.package ?? '@bucket/framework';
51
+ const argumentsTypes = [
52
+ 'u8'
53
+ ];
54
+ const parameterNames = ["v"];
55
+ return (tx) => tx.moveCall({
56
+ package: packageAddress,
57
+ module: 'double',
58
+ function: 'from_percent',
59
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
60
+ });
61
+ }
62
+ export function fromPercentU64(options) {
63
+ const packageAddress = options.package ?? '@bucket/framework';
64
+ const argumentsTypes = [
65
+ 'u64'
66
+ ];
67
+ const parameterNames = ["v"];
68
+ return (tx) => tx.moveCall({
69
+ package: packageAddress,
70
+ module: 'double',
71
+ function: 'from_percent_u64',
72
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
73
+ });
74
+ }
75
+ export function fromBps(options) {
76
+ const packageAddress = options.package ?? '@bucket/framework';
77
+ const argumentsTypes = [
78
+ 'u64'
79
+ ];
80
+ const parameterNames = ["v"];
81
+ return (tx) => tx.moveCall({
82
+ package: packageAddress,
83
+ module: 'double',
84
+ function: 'from_bps',
85
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
86
+ });
87
+ }
88
+ export function fromFraction(options) {
89
+ const packageAddress = options.package ?? '@bucket/framework';
90
+ const argumentsTypes = [
91
+ 'u64',
92
+ 'u64'
93
+ ];
94
+ const parameterNames = ["n", "m"];
95
+ return (tx) => tx.moveCall({
96
+ package: packageAddress,
97
+ module: 'double',
98
+ function: 'from_fraction',
99
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
100
+ });
101
+ }
102
+ export function fromScaledVal(options) {
103
+ const packageAddress = options.package ?? '@bucket/framework';
104
+ const argumentsTypes = [
105
+ 'u256'
106
+ ];
107
+ const parameterNames = ["v"];
108
+ return (tx) => tx.moveCall({
109
+ package: packageAddress,
110
+ module: 'double',
111
+ function: 'from_scaled_val',
112
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
113
+ });
114
+ }
115
+ export function fromFloat(options) {
116
+ const packageAddress = options.package ?? '@bucket/framework';
117
+ const argumentsTypes = [
118
+ null
119
+ ];
120
+ const parameterNames = ["f"];
121
+ return (tx) => tx.moveCall({
122
+ package: packageAddress,
123
+ module: 'double',
124
+ function: 'from_float',
125
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
126
+ });
127
+ }
128
+ export function toScaledVal(options) {
129
+ const packageAddress = options.package ?? '@bucket/framework';
130
+ const argumentsTypes = [
131
+ null
132
+ ];
133
+ const parameterNames = ["v"];
134
+ return (tx) => tx.moveCall({
135
+ package: packageAddress,
136
+ module: 'double',
137
+ function: 'to_scaled_val',
138
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
139
+ });
140
+ }
141
+ export function tryIntoFloat(options) {
142
+ const packageAddress = options.package ?? '@bucket/framework';
143
+ const argumentsTypes = [
144
+ null
145
+ ];
146
+ const parameterNames = ["v"];
147
+ return (tx) => tx.moveCall({
148
+ package: packageAddress,
149
+ module: 'double',
150
+ function: 'try_into_float',
151
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
152
+ });
153
+ }
154
+ export function add(options) {
155
+ const packageAddress = options.package ?? '@bucket/framework';
156
+ const argumentsTypes = [
157
+ null,
158
+ null
159
+ ];
160
+ const parameterNames = ["a", "b"];
161
+ return (tx) => tx.moveCall({
162
+ package: packageAddress,
163
+ module: 'double',
164
+ function: 'add',
165
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
166
+ });
167
+ }
168
+ export function sub(options) {
169
+ const packageAddress = options.package ?? '@bucket/framework';
170
+ const argumentsTypes = [
171
+ null,
172
+ null
173
+ ];
174
+ const parameterNames = ["a", "b"];
175
+ return (tx) => tx.moveCall({
176
+ package: packageAddress,
177
+ module: 'double',
178
+ function: 'sub',
179
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
180
+ });
181
+ }
182
+ export function saturatingSub(options) {
183
+ const packageAddress = options.package ?? '@bucket/framework';
184
+ const argumentsTypes = [
185
+ null,
186
+ null
187
+ ];
188
+ const parameterNames = ["a", "b"];
189
+ return (tx) => tx.moveCall({
190
+ package: packageAddress,
191
+ module: 'double',
192
+ function: 'saturating_sub',
193
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
194
+ });
195
+ }
196
+ export function mul(options) {
197
+ const packageAddress = options.package ?? '@bucket/framework';
198
+ const argumentsTypes = [
199
+ null,
200
+ null
201
+ ];
202
+ const parameterNames = ["a", "b"];
203
+ return (tx) => tx.moveCall({
204
+ package: packageAddress,
205
+ module: 'double',
206
+ function: 'mul',
207
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
208
+ });
209
+ }
210
+ export function div(options) {
211
+ const packageAddress = options.package ?? '@bucket/framework';
212
+ const argumentsTypes = [
213
+ null,
214
+ null
215
+ ];
216
+ const parameterNames = ["a", "b"];
217
+ return (tx) => tx.moveCall({
218
+ package: packageAddress,
219
+ module: 'double',
220
+ function: 'div',
221
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
222
+ });
223
+ }
224
+ export function addU64(options) {
225
+ const packageAddress = options.package ?? '@bucket/framework';
226
+ const argumentsTypes = [
227
+ null,
228
+ 'u64'
229
+ ];
230
+ const parameterNames = ["a", "b"];
231
+ return (tx) => tx.moveCall({
232
+ package: packageAddress,
233
+ module: 'double',
234
+ function: 'add_u64',
235
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
236
+ });
237
+ }
238
+ export function subU64(options) {
239
+ const packageAddress = options.package ?? '@bucket/framework';
240
+ const argumentsTypes = [
241
+ null,
242
+ 'u64'
243
+ ];
244
+ const parameterNames = ["a", "b"];
245
+ return (tx) => tx.moveCall({
246
+ package: packageAddress,
247
+ module: 'double',
248
+ function: 'sub_u64',
249
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
250
+ });
251
+ }
252
+ export function saturatingSubU64(options) {
253
+ const packageAddress = options.package ?? '@bucket/framework';
254
+ const argumentsTypes = [
255
+ null,
256
+ 'u64'
257
+ ];
258
+ const parameterNames = ["a", "b"];
259
+ return (tx) => tx.moveCall({
260
+ package: packageAddress,
261
+ module: 'double',
262
+ function: 'saturating_sub_u64',
263
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
264
+ });
265
+ }
266
+ export function mulU64(options) {
267
+ const packageAddress = options.package ?? '@bucket/framework';
268
+ const argumentsTypes = [
269
+ null,
270
+ 'u64'
271
+ ];
272
+ const parameterNames = ["a", "b"];
273
+ return (tx) => tx.moveCall({
274
+ package: packageAddress,
275
+ module: 'double',
276
+ function: 'mul_u64',
277
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
278
+ });
279
+ }
280
+ export function divU64(options) {
281
+ const packageAddress = options.package ?? '@bucket/framework';
282
+ const argumentsTypes = [
283
+ null,
284
+ 'u64'
285
+ ];
286
+ const parameterNames = ["a", "b"];
287
+ return (tx) => tx.moveCall({
288
+ package: packageAddress,
289
+ module: 'double',
290
+ function: 'div_u64',
291
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
292
+ });
293
+ }
294
+ export function pow(options) {
295
+ const packageAddress = options.package ?? '@bucket/framework';
296
+ const argumentsTypes = [
297
+ null,
298
+ 'u64'
299
+ ];
300
+ const parameterNames = ["b", "e"];
301
+ return (tx) => tx.moveCall({
302
+ package: packageAddress,
303
+ module: 'double',
304
+ function: 'pow',
305
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
306
+ });
307
+ }
308
+ export function floor(options) {
309
+ const packageAddress = options.package ?? '@bucket/framework';
310
+ const argumentsTypes = [
311
+ null
312
+ ];
313
+ const parameterNames = ["v"];
314
+ return (tx) => tx.moveCall({
315
+ package: packageAddress,
316
+ module: 'double',
317
+ function: 'floor',
318
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
319
+ });
320
+ }
321
+ export function ceil(options) {
322
+ const packageAddress = options.package ?? '@bucket/framework';
323
+ const argumentsTypes = [
324
+ null
325
+ ];
326
+ const parameterNames = ["v"];
327
+ return (tx) => tx.moveCall({
328
+ package: packageAddress,
329
+ module: 'double',
330
+ function: 'ceil',
331
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
332
+ });
333
+ }
334
+ export function round(options) {
335
+ const packageAddress = options.package ?? '@bucket/framework';
336
+ const argumentsTypes = [
337
+ null
338
+ ];
339
+ const parameterNames = ["v"];
340
+ return (tx) => tx.moveCall({
341
+ package: packageAddress,
342
+ module: 'double',
343
+ function: 'round',
344
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
345
+ });
346
+ }
347
+ export function eq(options) {
348
+ const packageAddress = options.package ?? '@bucket/framework';
349
+ const argumentsTypes = [
350
+ null,
351
+ null
352
+ ];
353
+ const parameterNames = ["a", "b"];
354
+ return (tx) => tx.moveCall({
355
+ package: packageAddress,
356
+ module: 'double',
357
+ function: 'eq',
358
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
359
+ });
360
+ }
361
+ export function gt(options) {
362
+ const packageAddress = options.package ?? '@bucket/framework';
363
+ const argumentsTypes = [
364
+ null,
365
+ null
366
+ ];
367
+ const parameterNames = ["a", "b"];
368
+ return (tx) => tx.moveCall({
369
+ package: packageAddress,
370
+ module: 'double',
371
+ function: 'gt',
372
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
373
+ });
374
+ }
375
+ export function gte(options) {
376
+ const packageAddress = options.package ?? '@bucket/framework';
377
+ const argumentsTypes = [
378
+ null,
379
+ null
380
+ ];
381
+ const parameterNames = ["a", "b"];
382
+ return (tx) => tx.moveCall({
383
+ package: packageAddress,
384
+ module: 'double',
385
+ function: 'gte',
386
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
387
+ });
388
+ }
389
+ export function lt(options) {
390
+ const packageAddress = options.package ?? '@bucket/framework';
391
+ const argumentsTypes = [
392
+ null,
393
+ null
394
+ ];
395
+ const parameterNames = ["a", "b"];
396
+ return (tx) => tx.moveCall({
397
+ package: packageAddress,
398
+ module: 'double',
399
+ function: 'lt',
400
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
401
+ });
402
+ }
403
+ export function lte(options) {
404
+ const packageAddress = options.package ?? '@bucket/framework';
405
+ const argumentsTypes = [
406
+ null,
407
+ null
408
+ ];
409
+ const parameterNames = ["a", "b"];
410
+ return (tx) => tx.moveCall({
411
+ package: packageAddress,
412
+ module: 'double',
413
+ function: 'lte',
414
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
415
+ });
416
+ }
417
+ export function min(options) {
418
+ const packageAddress = options.package ?? '@bucket/framework';
419
+ const argumentsTypes = [
420
+ null,
421
+ null
422
+ ];
423
+ const parameterNames = ["a", "b"];
424
+ return (tx) => tx.moveCall({
425
+ package: packageAddress,
426
+ module: 'double',
427
+ function: 'min',
428
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
429
+ });
430
+ }
431
+ export function max(options) {
432
+ const packageAddress = options.package ?? '@bucket/framework';
433
+ const argumentsTypes = [
434
+ null,
435
+ null
436
+ ];
437
+ const parameterNames = ["a", "b"];
438
+ return (tx) => tx.moveCall({
439
+ package: packageAddress,
440
+ module: 'double',
441
+ function: 'max',
442
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
443
+ });
444
+ }
445
+ export function diff(options) {
446
+ const packageAddress = options.package ?? '@bucket/framework';
447
+ const argumentsTypes = [
448
+ null,
449
+ null
450
+ ];
451
+ const parameterNames = ["a", "b"];
452
+ return (tx) => tx.moveCall({
453
+ package: packageAddress,
454
+ module: 'double',
455
+ function: 'diff',
456
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
457
+ });
458
+ }
459
+ export function precision(options = {}) {
460
+ const packageAddress = options.package ?? '@bucket/framework';
461
+ return (tx) => tx.moveCall({
462
+ package: packageAddress,
463
+ module: 'double',
464
+ function: 'precision',
465
+ });
466
+ }