@ercworldio/blockchain-shared 1.0.2-dev.8 → 1.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 (30) hide show
  1. package/build/chains/networks_dev.json +65 -17
  2. package/build/chains/networks_stg-bu.json +2 -1
  3. package/build/chains/networks_stg-dz.json +5 -2
  4. package/build/chains/networks_stg-sh.json +534 -0
  5. package/build/chains/networks_stg-yb.json +435 -0
  6. package/build/chains/stg-sh.json +93 -0
  7. package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.d.ts +232 -0
  8. package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.d.ts.map +1 -0
  9. package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.js +2 -0
  10. package/build/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.d.ts +21 -0
  11. package/build/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.d.ts.map +1 -0
  12. package/build/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.js +2 -0
  13. package/build/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/utils/index.d.ts +2 -0
  14. package/build/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/utils/index.d.ts.map +1 -0
  15. package/build/contracts/typechain-types/@openzeppelin/contracts/token/ERC20/utils/index.js +2 -0
  16. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.d.ts +290 -0
  17. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.d.ts.map +1 -0
  18. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.js +390 -0
  19. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +47 -0
  20. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts.map +1 -0
  21. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.js +71 -0
  22. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/index.d.ts +2 -0
  23. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/index.d.ts.map +1 -0
  24. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/index.js +8 -0
  25. package/build/interfaces.d.ts +5 -1
  26. package/build/interfaces.d.ts.map +1 -1
  27. package/build/interfaces.js +1 -0
  28. package/build/services/types/chain_manager.d.ts +1 -0
  29. package/build/services/types/chain_manager.d.ts.map +1 -1
  30. package/package.json +1 -1
@@ -0,0 +1,435 @@
1
+ {
2
+ "1": {
3
+ "status": true,
4
+ "isTestnet": false,
5
+ "name": "Ethereum",
6
+ "blockchainType": "evm",
7
+ "chainId": 1,
8
+ "blockexplorerUrl": "https://etherscan.io",
9
+ "rpcBaseUrl": "https://rpc.ankr.com/eth",
10
+ "rpcBaseUrlWss": "wss://rpc.ankr.com/eth/ws",
11
+ "targetConfirmations": 10,
12
+ "accounting": {
13
+ "funding_wallet": "0xA9bEA932CFf638324eDa1046AB4D84723C84987c",
14
+ "treasury_receiver": "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7",
15
+ "overflow_treasury_receiver": "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7",
16
+ "overflow_threshold_decimal": 100000,
17
+ "min_funding_wallet_balance_usd": 5,
18
+ "allowed_receivers": [
19
+ "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7"
20
+ ]
21
+ },
22
+ "custodialAlchemyWebhooks": [],
23
+ "quicknodeNotificationConfig": [
24
+ {
25
+ "name": "escrow-eth-stg-yb",
26
+ "network": "ethereum-mainnet",
27
+ "template": "evmWalletFilter",
28
+ "source": "contract",
29
+ "chain_id": 1
30
+ },
31
+ {
32
+ "name": "qn-custodial-webhook-eth-stg-yb",
33
+ "network": "ethereum-mainnet",
34
+ "template": "evmWalletFilter"
35
+ }
36
+ ],
37
+ "contracts": [
38
+ {
39
+ "type": "Escrow",
40
+ "version": "1",
41
+ "startingBlock": 24754256,
42
+ "escrowAlchemyWebhooks": [],
43
+ "addresses": [
44
+ "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7"
45
+ ]
46
+ },
47
+ {
48
+ "type": "FundingWallet",
49
+ "version": "1",
50
+ "startingBlock": 1,
51
+ "escrowAlchemyWebhooks": [],
52
+ "addresses": [
53
+ "0xA9bEA932CFf638324eDa1046AB4D84723C84987c"
54
+ ]
55
+ }
56
+ ],
57
+ "paymentTokens": [
58
+ {
59
+ "name": "Ethereum",
60
+ "symbol": "ETH",
61
+ "token_standard": "ERC-20",
62
+ "type": "native",
63
+ "isStableCoin": false,
64
+ "decimals": 18,
65
+ "address": "0x0000000000000000000000000000000000000000",
66
+ "sweepThreshold": 0.004,
67
+ "sweepWalletMinBalance": 0.0002
68
+ },
69
+ {
70
+ "name": "Tether Token",
71
+ "symbol": "USDT",
72
+ "token_standard": "ERC-20",
73
+ "type": "erc20",
74
+ "isStableCoin": true,
75
+ "decimals": 6,
76
+ "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
77
+ "sweepThreshold": 5,
78
+ "sweepWalletMinBalance": 1
79
+ },
80
+ {
81
+ "name": "Circle Token",
82
+ "symbol": "USDC",
83
+ "token_standard": "ERC-20",
84
+ "type": "erc20",
85
+ "isStableCoin": true,
86
+ "decimals": 6,
87
+ "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
88
+ "sweepThreshold": 1,
89
+ "sweepWalletMinBalance": 0.1
90
+ }
91
+ ]
92
+ },
93
+ "56": {
94
+ "status": true,
95
+ "isTestnet": false,
96
+ "name": "BNB Chain",
97
+ "blockchainType": "evm",
98
+ "chainId": 56,
99
+ "blockexplorerUrl": "https://bscscan.com",
100
+ "rpcBaseUrl": "https://rpc.ankr.com/bsc",
101
+ "rpcBaseUrlWss": "wss://rpc.ankr.com/bsc/ws",
102
+ "targetConfirmations": 5,
103
+ "accounting": {
104
+ "funding_wallet": "0xA9bEA932CFf638324eDa1046AB4D84723C84987c",
105
+ "treasury_receiver": "0x6d47B7230F5D466677795E271db3aEE4C59c0B47",
106
+ "overflow_treasury_receiver": "0x6d47B7230F5D466677795E271db3aEE4C59c0B47",
107
+ "overflow_threshold_decimal": 100000,
108
+ "min_funding_wallet_balance_usd": 5,
109
+ "allowed_receivers": [
110
+ "0x6d47B7230F5D466677795E271db3aEE4C59c0B47"
111
+ ]
112
+ },
113
+ "custodialAlchemyWebhooks": [],
114
+ "quicknodeNotificationConfig": [
115
+ {
116
+ "name": "escrow-bnb-stg-yb",
117
+ "network": "bnbchain-mainnet",
118
+ "template": "evmWalletFilter",
119
+ "source": "contract",
120
+ "chain_id": 56
121
+ },
122
+ {
123
+ "name": "qn-custodial-webhook-bnb-stg-yb",
124
+ "network": "bnbchain-mainnet",
125
+ "template": "evmWalletFilter"
126
+ }
127
+ ],
128
+ "contracts": [
129
+ {
130
+ "type": "Escrow",
131
+ "version": "1",
132
+ "startingBlock": 89178576,
133
+ "escrowAlchemyWebhooks": [],
134
+ "addresses": [
135
+ "0x6d47B7230F5D466677795E271db3aEE4C59c0B47"
136
+ ]
137
+ },
138
+ {
139
+ "type": "FundingWallet",
140
+ "version": "1",
141
+ "startingBlock": 1,
142
+ "escrowAlchemyWebhooks": [],
143
+ "addresses": [
144
+ "0xA9bEA932CFf638324eDa1046AB4D84723C84987c"
145
+ ]
146
+ }
147
+ ],
148
+ "paymentTokens": [
149
+ {
150
+ "name": "BNB Chain",
151
+ "symbol": "BNB",
152
+ "token_standard": "BEP-20",
153
+ "type": "native",
154
+ "isStableCoin": false,
155
+ "decimals": 18,
156
+ "address": "0x0000000000000000000000000000000000000000",
157
+ "sweepThreshold": 0.008,
158
+ "sweepWalletMinBalance": 0.0002
159
+ },
160
+ {
161
+ "name": "Tether Token",
162
+ "symbol": "USDT",
163
+ "token_standard": "BEP-20",
164
+ "type": "erc20",
165
+ "isStableCoin": true,
166
+ "decimals": 18,
167
+ "address": "0x55d398326f99059fF775485246999027B3197955",
168
+ "sweepThreshold": 5,
169
+ "sweepWalletMinBalance": 1
170
+ }
171
+ ]
172
+ },
173
+ "137": {
174
+ "status": true,
175
+ "isTestnet": false,
176
+ "name": "Polygon",
177
+ "blockchainType": "evm",
178
+ "chainId": 137,
179
+ "blockexplorerUrl": "https://polygonscan.com",
180
+ "rpcBaseUrl": "https://rpc.ankr.com/polygon",
181
+ "rpcBaseUrlWss": "wss://rpc.ankr.com/polygon/ws",
182
+ "targetConfirmations": 10,
183
+ "accounting": {
184
+ "funding_wallet": "0xA9bEA932CFf638324eDa1046AB4D84723C84987c",
185
+ "treasury_receiver": "0x6d47B7230F5D466677795E271db3aEE4C59c0B47",
186
+ "overflow_treasury_receiver": "0x6d47B7230F5D466677795E271db3aEE4C59c0B47",
187
+ "overflow_threshold_decimal": 100000,
188
+ "min_funding_wallet_balance_usd": 5,
189
+ "allowed_receivers": [
190
+ "0x6d47B7230F5D466677795E271db3aEE4C59c0B47"
191
+ ]
192
+ },
193
+ "custodialAlchemyWebhooks": [],
194
+ "quicknodeNotificationConfig": [
195
+ {
196
+ "name": "escrow-pol-stg-yb",
197
+ "network": "polygon-mainnet",
198
+ "template": "evmWalletFilter",
199
+ "source": "contract",
200
+ "chain_id": 137
201
+ },
202
+ {
203
+ "name": "qn-custodial-webhook-pol-stg-yb",
204
+ "network": "polygon-mainnet",
205
+ "template": "evmWalletFilter"
206
+ }
207
+ ],
208
+ "contracts": [
209
+ {
210
+ "type": "Escrow",
211
+ "version": "1",
212
+ "startingBlock": 84779780,
213
+ "escrowAlchemyWebhooks": [],
214
+ "addresses": [
215
+ "0x6d47B7230F5D466677795E271db3aEE4C59c0B47"
216
+ ]
217
+ },
218
+ {
219
+ "type": "FundingWallet",
220
+ "version": "1",
221
+ "startingBlock": 1,
222
+ "escrowAlchemyWebhooks": [],
223
+ "addresses": [
224
+ "0xA9bEA932CFf638324eDa1046AB4D84723C84987c"
225
+ ]
226
+ }
227
+ ],
228
+ "paymentTokens": [
229
+ {
230
+ "name": "Polygon",
231
+ "symbol": "POL",
232
+ "token_standard": "POL",
233
+ "type": "native",
234
+ "isStableCoin": false,
235
+ "decimals": 18,
236
+ "address": "0x0000000000000000000000000000000000000000",
237
+ "sweepThreshold": 10,
238
+ "sweepWalletMinBalance": 0.1
239
+ },
240
+ {
241
+ "name": "Tether Token",
242
+ "symbol": "USDT",
243
+ "token_standard": "POL",
244
+ "type": "erc20",
245
+ "isStableCoin": true,
246
+ "decimals": 6,
247
+ "address": "0xc2132D05D31c914a87C6611C10748AEb04B58e8F",
248
+ "sweepThreshold": 0,
249
+ "sweepWalletMinBalance": 1
250
+ }
251
+ ]
252
+ },
253
+ "43114": {
254
+ "status": true,
255
+ "isTestnet": false,
256
+ "name": "Avalanche C-Chain",
257
+ "blockchainType": "evm",
258
+ "chainId": 43114,
259
+ "blockexplorerUrl": "https://snowtrace.io",
260
+ "rpcBaseUrl": "https://rpc.ankr.com/avalanche",
261
+ "rpcBaseUrlWss": "wss://rpc.ankr.com/avalanche/ws",
262
+ "targetConfirmations": 10,
263
+ "accounting": {
264
+ "funding_wallet": "0xA9bEA932CFf638324eDa1046AB4D84723C84987c",
265
+ "treasury_receiver": "0x51bDD157950FB7C8B56F7E3A09828E991c1BDB17",
266
+ "overflow_treasury_receiver": "0x51bDD157950FB7C8B56F7E3A09828E991c1BDB17",
267
+ "overflow_threshold_decimal": 100000,
268
+ "min_funding_wallet_balance_usd": 5,
269
+ "allowed_receivers": [
270
+ "0x51bDD157950FB7C8B56F7E3A09828E991c1BDB17"
271
+ ]
272
+ },
273
+ "custodialAlchemyWebhooks": [],
274
+ "quicknodeNotificationConfig": [
275
+ {
276
+ "name": "escrow-avax-stg-yb",
277
+ "network": "avalanche-mainnet",
278
+ "template": "evmWalletFilter",
279
+ "source": "contract",
280
+ "chain_id": 43114
281
+ },
282
+ {
283
+ "name": "qn-custodial-webhook-avax-stg-yb",
284
+ "network": "avalanche-mainnet",
285
+ "template": "evmWalletFilter"
286
+ }
287
+ ],
288
+ "contracts": [
289
+ {
290
+ "type": "Escrow",
291
+ "version": "1",
292
+ "startingBlock": 81474572,
293
+ "escrowAlchemyWebhooks": [],
294
+ "addresses": [
295
+ "0x51bDD157950FB7C8B56F7E3A09828E991c1BDB17"
296
+ ]
297
+ },
298
+ {
299
+ "type": "FundingWallet",
300
+ "version": "1",
301
+ "startingBlock": 1,
302
+ "escrowAlchemyWebhooks": [],
303
+ "addresses": [
304
+ "0xA9bEA932CFf638324eDa1046AB4D84723C84987c"
305
+ ]
306
+ }
307
+ ],
308
+ "paymentTokens": [
309
+ {
310
+ "name": "Avalanche",
311
+ "symbol": "AVAX",
312
+ "token_standard": "AVAXC",
313
+ "type": "native",
314
+ "isStableCoin": false,
315
+ "decimals": 18,
316
+ "address": "0x0000000000000000000000000000000000000000",
317
+ "sweepThreshold": 0.05,
318
+ "sweepWalletMinBalance": 0.01
319
+ },
320
+ {
321
+ "name": "Tether Token",
322
+ "symbol": "USDT",
323
+ "token_standard": "AVAXC",
324
+ "type": "erc20",
325
+ "isStableCoin": true,
326
+ "decimals": 6,
327
+ "address": "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7",
328
+ "sweepThreshold": 5,
329
+ "sweepWalletMinBalance": 1
330
+ }
331
+ ]
332
+ },
333
+ "728126428": {
334
+ "status": true,
335
+ "isTestnet": false,
336
+ "name": "Tron",
337
+ "blockchainType": "tron",
338
+ "chainId": 728126428,
339
+ "blockexplorerUrl": "https://tronscan.org",
340
+ "tronConfig": {
341
+ "trxTransferCost": 270000,
342
+ "trc20TransferCost": 4000000,
343
+ "rentEnergyWallet": "TJfCnyWamLaZfHR77w7kfTVSSdvY5BGMW2"
344
+ },
345
+ "accounting": {
346
+ "funding_wallet": "TH3fM3JAgBsXyzBHw3vE6XcZpFtnyxhXN1",
347
+ "treasury_receiver": "TH3fM3JAgBsXyzBHw3vE6XcZpFtnyxhXN1",
348
+ "overflow_treasury_receiver": "TH3fM3JAgBsXyzBHw3vE6XcZpFtnyxhXN1",
349
+ "overflow_threshold_decimal": 100000,
350
+ "min_funding_wallet_balance_usd": 5,
351
+ "allowed_receivers": [
352
+ "TH3fM3JAgBsXyzBHw3vE6XcZpFtnyxhXN1"
353
+ ]
354
+ },
355
+ "rpcMetadata": {
356
+ "rpcBaseUrl": "https://rpc.ankr.com/premium-http/tron",
357
+ "tronGridApi": "https://api.trongrid.io"
358
+ },
359
+ "rpcBaseUrl": "https://rpc.ankr.com/premium-http/tron",
360
+ "rpcBaseUrlWss": "",
361
+ "targetConfirmations": 2,
362
+ "quicknodeStreams": [
363
+ {
364
+ "network": "tron-mainnet",
365
+ "dataset": "logs",
366
+ "name": "tron-custodial-transfers",
367
+ "listConfig": {
368
+ "key": "custodial-addresses"
369
+ }
370
+ }
371
+ ],
372
+ "custodialAlchemyWebhooks": [],
373
+ "contracts": [
374
+ {
375
+ "type": "FundingWallet",
376
+ "version": "1",
377
+ "startingBlock": 1,
378
+ "escrowAlchemyWebhooks": [],
379
+ "addresses": [
380
+ "TH3fM3JAgBsXyzBHw3vE6XcZpFtnyxhXN1"
381
+ ]
382
+ }
383
+ ],
384
+ "paymentTokens": [
385
+ {
386
+ "name": "Tron",
387
+ "symbol": "TRX",
388
+ "token_standard": "TRX",
389
+ "type": "native",
390
+ "isStableCoin": false,
391
+ "decimals": 6,
392
+ "address": "0000000000000000000000000000000000000000",
393
+ "sweepThreshold": 10,
394
+ "sweepWalletMinBalance": 6
395
+ },
396
+ {
397
+ "name": "Tether Token",
398
+ "symbol": "USDT",
399
+ "token_standard": "TRC-20",
400
+ "type": "trc20",
401
+ "isStableCoin": true,
402
+ "decimals": 6,
403
+ "address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
404
+ "sweepThreshold": 2,
405
+ "sweepWalletMinBalance": 0.1
406
+ }
407
+ ]
408
+ },
409
+ "1000000000": {
410
+ "status": true,
411
+ "isTestnet": false,
412
+ "name": "BTC Lightning",
413
+ "blockchainType": "lightning",
414
+ "chainId": 1000000000,
415
+ "blockexplorerUrl": "https://mempool.space/lightning",
416
+ "rpcBaseUrl": "",
417
+ "rpcBaseUrlWss": "",
418
+ "targetConfirmations": 1,
419
+ "custodialAlchemyWebhooks": [],
420
+ "contracts": [],
421
+ "paymentTokens": [
422
+ {
423
+ "name": "Bitcoin",
424
+ "symbol": "BTC",
425
+ "token_standard": "LIGHTNING",
426
+ "type": "native",
427
+ "isStableCoin": false,
428
+ "decimals": 8,
429
+ "address": "000000000000000000000000000000000000000000",
430
+ "sweepThreshold": 0.001,
431
+ "sweepWalletMinBalance": 0.01
432
+ }
433
+ ]
434
+ }
435
+ }
@@ -0,0 +1,93 @@
1
+ {
2
+ "1": {
3
+ "status": true,
4
+ "isTestnet": false,
5
+ "name": "Ethereum",
6
+ "blockchainType": "evm",
7
+ "chainId": 1,
8
+ "blockexplorerUrl": "https://etherscan.io",
9
+ "rpcBaseUrl": "https://rpc.ankr.com/eth",
10
+ "rpcBaseUrlWss": "wss://rpc.ankr.com/eth/ws",
11
+ "targetConfirmations": 10,
12
+ "accounting": {
13
+ "funding_wallet": "0xA9bEA932CFf638324eDa1046AB4D84723C84987c",
14
+ "treasury_receiver": "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7",
15
+ "overflow_treasury_receiver": "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7",
16
+ "overflow_threshold_decimal": 100000,
17
+ "min_funding_wallet_balance_usd": 5,
18
+ "allowed_receivers": [
19
+ "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7"
20
+ ]
21
+ },
22
+ "custodialAlchemyWebhooks": [],
23
+ "quicknodeNotificationConfig": [
24
+ {
25
+ "name": "escrow-eth-stg-yb",
26
+ "network": "ethereum-mainnet",
27
+ "template": "evmWalletFilter",
28
+ "source": "contract",
29
+ "chain_id": 1
30
+ },
31
+ {
32
+ "name": "qn-custodial-webhook-eth-stg-yb",
33
+ "network": "ethereum-mainnet",
34
+ "template": "evmWalletFilter"
35
+ }
36
+ ],
37
+ "contracts": [
38
+ {
39
+ "type": "Escrow",
40
+ "version": "1",
41
+ "startingBlock": 24754256,
42
+ "escrowAlchemyWebhooks": [],
43
+ "addresses": [
44
+ "0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7"
45
+ ]
46
+ },
47
+ {
48
+ "type": "FundingWallet",
49
+ "version": "1",
50
+ "startingBlock": 1,
51
+ "escrowAlchemyWebhooks": [],
52
+ "addresses": [
53
+ "0xA9bEA932CFf638324eDa1046AB4D84723C84987c"
54
+ ]
55
+ }
56
+ ],
57
+ "paymentTokens": [
58
+ {
59
+ "name": "Ethereum",
60
+ "symbol": "ETH",
61
+ "token_standard": "ERC-20",
62
+ "type": "native",
63
+ "isStableCoin": false,
64
+ "decimals": 18,
65
+ "address": "0x0000000000000000000000000000000000000000",
66
+ "sweepThreshold": 0.004,
67
+ "sweepWalletMinBalance": 0.0002
68
+ },
69
+ {
70
+ "name": "Tether Token",
71
+ "symbol": "USDT",
72
+ "token_standard": "ERC-20",
73
+ "type": "erc20",
74
+ "isStableCoin": true,
75
+ "decimals": 6,
76
+ "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
77
+ "sweepThreshold": 5,
78
+ "sweepWalletMinBalance": 1
79
+ },
80
+ {
81
+ "name": "Circle Token",
82
+ "symbol": "USDC",
83
+ "token_standard": "ERC-20",
84
+ "type": "erc20",
85
+ "isStableCoin": true,
86
+ "decimals": 6,
87
+ "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
88
+ "sweepThreshold": 1,
89
+ "sweepWalletMinBalance": 0.1
90
+ }
91
+ ]
92
+ }
93
+ }