dkg.js 6.2.0 → 6.3.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.
package/constants.js CHANGED
@@ -163,17 +163,17 @@ const OPERATIONS_STEP_STATUS = {
163
163
  const DEFAULT_GET_LOCAL_STORE_RESULT_FREQUENCY = 0.5;
164
164
 
165
165
  const DEFAULT_PROXIMITY_SCORE_FUNCTIONS_PAIR_IDS = {
166
- development: { 'hardhat1:31337': 1, 'hardhat2:31337': 2, 'otp:2043': 1 },
166
+ development: { 'hardhat1:31337': 2, 'hardhat2:31337': 2, 'otp:2043': 2 },
167
167
  devnet: {
168
- 'otp:2160': 1,
168
+ 'otp:2160': 2,
169
169
  'gnosis:10200': 2,
170
170
  },
171
171
  testnet: {
172
- 'otp:20430': 1,
172
+ 'otp:20430': 2,
173
173
  'gnosis:10200': 2,
174
174
  },
175
175
  mainnet: {
176
- 'otp:2043': 1,
176
+ 'otp:2043': 2,
177
177
  'gnosis:100': 2,
178
178
  },
179
179
  };
@@ -199,6 +199,17 @@ const DEFAULT_GAS_PRICE = {
199
199
  OTP: '1',
200
200
  };
201
201
 
202
+ const LOW_BID_SUGGESTION = 'low';
203
+ const MED_BID_SUGGESTION = 'med';
204
+ const HIGH_BID_SUGGESTION = 'high';
205
+ const ALL_BID_SUGGESTION = 'all';
206
+ const BID_SUGGESTION_RANGE_ENUM = [
207
+ LOW_BID_SUGGESTION,
208
+ MED_BID_SUGGESTION,
209
+ HIGH_BID_SUGGESTION,
210
+ ALL_BID_SUGGESTION,
211
+ ];
212
+
202
213
  module.exports = {
203
214
  MAX_FILE_SIZE,
204
215
  DID_PREFIX,
@@ -225,4 +236,9 @@ module.exports = {
225
236
  DEFAULT_PROXIMITY_SCORE_FUNCTIONS_PAIR_IDS,
226
237
  DEFAULT_PARAMETERS,
227
238
  DEFAULT_GAS_PRICE,
239
+ LOW_BID_SUGGESTION,
240
+ MED_BID_SUGGESTION,
241
+ HIGH_BID_SUGGESTION,
242
+ ALL_BID_SUGGESTION,
243
+ BID_SUGGESTION_RANGE_ENUM,
228
244
  };