@semaphore-protocol/utils 4.6.0 → 4.7.1
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/dist/index.cjs +27 -1
- package/dist/index.js +27 -1
- package/dist/lib.commonjs/constants.cjs +1 -1
- package/dist/lib.commonjs/decode-message.cjs +1 -1
- package/dist/lib.commonjs/index.cjs +1 -1
- package/dist/lib.commonjs/networks/deployed-contracts.json.cjs +21 -1
- package/dist/lib.commonjs/networks/index.cjs +1 -1
- package/dist/lib.commonjs/networks/supported-networks.cjs +7 -1
- package/dist/lib.commonjs/semaphore-interface.json.cjs +1 -1
- package/dist/lib.esm/constants.js +1 -1
- package/dist/lib.esm/decode-message.js +1 -1
- package/dist/lib.esm/index.js +1 -1
- package/dist/lib.esm/networks/deployed-contracts.json.js +21 -1
- package/dist/lib.esm/networks/index.js +1 -1
- package/dist/lib.esm/networks/supported-networks.js +7 -1
- package/dist/lib.esm/semaphore-interface.json.js +1 -1
- package/dist/types/networks/supported-networks.d.ts +6 -0
- package/package.json +1 -1
- package/src/networks/deployed-contracts.json +20 -0
- package/src/networks/supported-networks.ts +6 -0
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module @semaphore-protocol/utils
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.7.1
|
|
4
4
|
* @file A library to provide utility functions to the other Semaphore packages.
|
|
5
5
|
* @copyright Ethereum Foundation 2024
|
|
6
6
|
* @license MIT
|
|
@@ -1178,6 +1178,26 @@ var deployedContracts = [
|
|
|
1178
1178
|
startBlock: 11459722
|
|
1179
1179
|
}
|
|
1180
1180
|
]
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
network: "scroll-sepolia",
|
|
1184
|
+
contracts: [
|
|
1185
|
+
{
|
|
1186
|
+
name: "SemaphoreVerifier",
|
|
1187
|
+
address: "0x6C42599435B82121794D835263C846384869502d",
|
|
1188
|
+
startBlock: 7397758
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
name: "PoseidonT3",
|
|
1192
|
+
address: "0xB43122Ecb241DD50062641f089876679fd06599a",
|
|
1193
|
+
startBlock: 7397758
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
name: "Semaphore",
|
|
1197
|
+
address: "0x06d1530c829366A7fff0069e77c5af6A6FA7db2E",
|
|
1198
|
+
startBlock: 7397758
|
|
1199
|
+
}
|
|
1200
|
+
]
|
|
1181
1201
|
}
|
|
1182
1202
|
];
|
|
1183
1203
|
|
|
@@ -1247,6 +1267,12 @@ var supportedNetworks = {
|
|
|
1247
1267
|
url: "https://rpc.linea.build",
|
|
1248
1268
|
chainId: 59144,
|
|
1249
1269
|
explorer: "https://lineascan.build"
|
|
1270
|
+
},
|
|
1271
|
+
"scroll-sepolia": {
|
|
1272
|
+
name: "Scroll Sepolia",
|
|
1273
|
+
url: "https://sepolia-rpc.scroll.io",
|
|
1274
|
+
chainId: 534351,
|
|
1275
|
+
explorer: "https://sepolia.scrollscan.com"
|
|
1250
1276
|
}
|
|
1251
1277
|
};
|
|
1252
1278
|
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module @semaphore-protocol/utils
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.7.1
|
|
4
4
|
* @file A library to provide utility functions to the other Semaphore packages.
|
|
5
5
|
* @copyright Ethereum Foundation 2024
|
|
6
6
|
* @license MIT
|
|
@@ -1176,6 +1176,26 @@ var deployedContracts = [
|
|
|
1176
1176
|
startBlock: 11459722
|
|
1177
1177
|
}
|
|
1178
1178
|
]
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
network: "scroll-sepolia",
|
|
1182
|
+
contracts: [
|
|
1183
|
+
{
|
|
1184
|
+
name: "SemaphoreVerifier",
|
|
1185
|
+
address: "0x6C42599435B82121794D835263C846384869502d",
|
|
1186
|
+
startBlock: 7397758
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
name: "PoseidonT3",
|
|
1190
|
+
address: "0xB43122Ecb241DD50062641f089876679fd06599a",
|
|
1191
|
+
startBlock: 7397758
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
name: "Semaphore",
|
|
1195
|
+
address: "0x06d1530c829366A7fff0069e77c5af6A6FA7db2E",
|
|
1196
|
+
startBlock: 7397758
|
|
1197
|
+
}
|
|
1198
|
+
]
|
|
1179
1199
|
}
|
|
1180
1200
|
];
|
|
1181
1201
|
|
|
@@ -1245,6 +1265,12 @@ var supportedNetworks = {
|
|
|
1245
1265
|
url: "https://rpc.linea.build",
|
|
1246
1266
|
chainId: 59144,
|
|
1247
1267
|
explorer: "https://lineascan.build"
|
|
1268
|
+
},
|
|
1269
|
+
"scroll-sepolia": {
|
|
1270
|
+
name: "Scroll Sepolia",
|
|
1271
|
+
url: "https://sepolia-rpc.scroll.io",
|
|
1272
|
+
chainId: 534351,
|
|
1273
|
+
explorer: "https://sepolia.scrollscan.com"
|
|
1248
1274
|
}
|
|
1249
1275
|
};
|
|
1250
1276
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module @semaphore-protocol/utils
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.7.1
|
|
4
4
|
* @file A library to provide utility functions to the other Semaphore packages.
|
|
5
5
|
* @copyright Ethereum Foundation 2024
|
|
6
6
|
* @license MIT
|
|
@@ -228,6 +228,26 @@ var deployedContracts = [
|
|
|
228
228
|
startBlock: 11459722
|
|
229
229
|
}
|
|
230
230
|
]
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
network: "scroll-sepolia",
|
|
234
|
+
contracts: [
|
|
235
|
+
{
|
|
236
|
+
name: "SemaphoreVerifier",
|
|
237
|
+
address: "0x6C42599435B82121794D835263C846384869502d",
|
|
238
|
+
startBlock: 7397758
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
name: "PoseidonT3",
|
|
242
|
+
address: "0xB43122Ecb241DD50062641f089876679fd06599a",
|
|
243
|
+
startBlock: 7397758
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
name: "Semaphore",
|
|
247
|
+
address: "0x06d1530c829366A7fff0069e77c5af6A6FA7db2E",
|
|
248
|
+
startBlock: 7397758
|
|
249
|
+
}
|
|
250
|
+
]
|
|
231
251
|
}
|
|
232
252
|
];
|
|
233
253
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module @semaphore-protocol/utils
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.7.1
|
|
4
4
|
* @file A library to provide utility functions to the other Semaphore packages.
|
|
5
5
|
* @copyright Ethereum Foundation 2024
|
|
6
6
|
* @license MIT
|
|
@@ -74,6 +74,12 @@ var supportedNetworks = {
|
|
|
74
74
|
url: "https://rpc.linea.build",
|
|
75
75
|
chainId: 59144,
|
|
76
76
|
explorer: "https://lineascan.build"
|
|
77
|
+
},
|
|
78
|
+
"scroll-sepolia": {
|
|
79
|
+
name: "Scroll Sepolia",
|
|
80
|
+
url: "https://sepolia-rpc.scroll.io",
|
|
81
|
+
chainId: 534351,
|
|
82
|
+
explorer: "https://sepolia.scrollscan.com"
|
|
77
83
|
}
|
|
78
84
|
};
|
|
79
85
|
|
package/dist/lib.esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module @semaphore-protocol/utils
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.7.1
|
|
4
4
|
* @file A library to provide utility functions to the other Semaphore packages.
|
|
5
5
|
* @copyright Ethereum Foundation 2024
|
|
6
6
|
* @license MIT
|
|
@@ -226,6 +226,26 @@ var deployedContracts = [
|
|
|
226
226
|
startBlock: 11459722
|
|
227
227
|
}
|
|
228
228
|
]
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
network: "scroll-sepolia",
|
|
232
|
+
contracts: [
|
|
233
|
+
{
|
|
234
|
+
name: "SemaphoreVerifier",
|
|
235
|
+
address: "0x6C42599435B82121794D835263C846384869502d",
|
|
236
|
+
startBlock: 7397758
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
name: "PoseidonT3",
|
|
240
|
+
address: "0xB43122Ecb241DD50062641f089876679fd06599a",
|
|
241
|
+
startBlock: 7397758
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
name: "Semaphore",
|
|
245
|
+
address: "0x06d1530c829366A7fff0069e77c5af6A6FA7db2E",
|
|
246
|
+
startBlock: 7397758
|
|
247
|
+
}
|
|
248
|
+
]
|
|
229
249
|
}
|
|
230
250
|
];
|
|
231
251
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @module @semaphore-protocol/utils
|
|
3
|
-
* @version 4.
|
|
3
|
+
* @version 4.7.1
|
|
4
4
|
* @file A library to provide utility functions to the other Semaphore packages.
|
|
5
5
|
* @copyright Ethereum Foundation 2024
|
|
6
6
|
* @license MIT
|
|
@@ -72,6 +72,12 @@ var supportedNetworks = {
|
|
|
72
72
|
url: "https://rpc.linea.build",
|
|
73
73
|
chainId: 59144,
|
|
74
74
|
explorer: "https://lineascan.build"
|
|
75
|
+
},
|
|
76
|
+
"scroll-sepolia": {
|
|
77
|
+
name: "Scroll Sepolia",
|
|
78
|
+
url: "https://sepolia-rpc.scroll.io",
|
|
79
|
+
chainId: 534351,
|
|
80
|
+
explorer: "https://sepolia.scrollscan.com"
|
|
75
81
|
}
|
|
76
82
|
};
|
|
77
83
|
|
package/package.json
CHANGED
|
@@ -218,5 +218,25 @@
|
|
|
218
218
|
"startBlock": 11459722
|
|
219
219
|
}
|
|
220
220
|
]
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"network": "scroll-sepolia",
|
|
224
|
+
"contracts": [
|
|
225
|
+
{
|
|
226
|
+
"name": "SemaphoreVerifier",
|
|
227
|
+
"address": "0x6C42599435B82121794D835263C846384869502d",
|
|
228
|
+
"startBlock": 7397758
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "PoseidonT3",
|
|
232
|
+
"address": "0xB43122Ecb241DD50062641f089876679fd06599a",
|
|
233
|
+
"startBlock": 7397758
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "Semaphore",
|
|
237
|
+
"address": "0x06d1530c829366A7fff0069e77c5af6A6FA7db2E",
|
|
238
|
+
"startBlock": 7397758
|
|
239
|
+
}
|
|
240
|
+
]
|
|
221
241
|
}
|
|
222
242
|
]
|
|
@@ -64,5 +64,11 @@ export default {
|
|
|
64
64
|
url: "https://rpc.linea.build",
|
|
65
65
|
chainId: 59144,
|
|
66
66
|
explorer: "https://lineascan.build"
|
|
67
|
+
},
|
|
68
|
+
"scroll-sepolia": {
|
|
69
|
+
name: "Scroll Sepolia",
|
|
70
|
+
url: "https://sepolia-rpc.scroll.io",
|
|
71
|
+
chainId: 534351,
|
|
72
|
+
explorer: "https://sepolia.scrollscan.com"
|
|
67
73
|
}
|
|
68
74
|
}
|