dkg.js 6.3.0 → 6.5.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
@@ -39,6 +39,10 @@ const BLOCKCHAINS = {
39
39
  hubContract: '0xD2bA102A0b11944d00180eE8136208ccF87bC39A',
40
40
  gasPriceOracleLink: 'https://blockscout.chiadochain.net/api/v1/gas-price-oracle',
41
41
  },
42
+ 'base:84532': {
43
+ hubContract: '0x6C861Cb69300C34DfeF674F7C00E734e840C29C0',
44
+ rpc: 'https://sepolia.base.org',
45
+ },
42
46
  },
43
47
  testnet: {
44
48
  'otp:20430': {
@@ -50,6 +54,10 @@ const BLOCKCHAINS = {
50
54
  hubContract: '0xC06210312C9217A0EdF67453618F5eB96668679A',
51
55
  gasPriceOracleLink: 'https://blockscout.chiadochain.net/api/v1/gas-price-oracle',
52
56
  },
57
+ 'base:84532': {
58
+ hubContract: '0x144eDa5cbf8926327cb2cceef168A121F0E4A299',
59
+ rpc: 'https://sepolia.base.org',
60
+ },
53
61
  },
54
62
  mainnet: {
55
63
  'otp:2043': {
@@ -61,9 +69,17 @@ const BLOCKCHAINS = {
61
69
  hubContract: '0xbEF14fc04F870c2dD65c13Df4faB6ba01A9c746b',
62
70
  gasPriceOracleLink: 'https://api.gnosisscan.io/api?module=proxy&action=eth_gasPrice',
63
71
  },
72
+ 'base:8453': {
73
+ hubContract: '0xaBfcf2ad1718828E7D3ec20435b0d0b5EAfbDf2c',
74
+ rpc: 'https://mainnet.base.org',
75
+ },
64
76
  },
65
77
  };
66
78
 
79
+ const INCENTIVE_TYPE = {
80
+ NEUROWEB: 'Neuroweb',
81
+ };
82
+
67
83
  const BLOCKCHAINS_RENAME_PAIRS = {
68
84
  hardhat1: 'hardhat1:31337',
69
85
  hardhat2: 'hardhat2:31337',
@@ -167,14 +183,17 @@ const DEFAULT_PROXIMITY_SCORE_FUNCTIONS_PAIR_IDS = {
167
183
  devnet: {
168
184
  'otp:2160': 2,
169
185
  'gnosis:10200': 2,
186
+ 'base:84532': 2,
170
187
  },
171
188
  testnet: {
172
189
  'otp:20430': 2,
173
190
  'gnosis:10200': 2,
191
+ 'base:84532': 2,
174
192
  },
175
193
  mainnet: {
176
194
  'otp:2043': 2,
177
195
  'gnosis:100': 2,
196
+ 'base:8453': 2,
178
197
  },
179
198
  };
180
199
 
@@ -225,6 +244,7 @@ module.exports = {
225
244
  ASSERTION_STATES,
226
245
  CONTENT_TYPES,
227
246
  GET_OUTPUT_FORMATS,
247
+ INCENTIVE_TYPE,
228
248
  ASSET_STATES,
229
249
  STORE_TYPES,
230
250
  GRAPH_LOCATIONS,