@ercworldio/blockchain-shared 1.0.3-dev.3 → 1.0.3-dev.4
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/build/chains/networks_prod-dz.json +7 -7
- package/build/chains/networks_prod-sh.json +41 -5
- package/build/chains/networks_prod-yb.json +42 -6
- package/build/chains/networks_stg-yb.json +1 -1
- package/build/contracts/artifacts/Escrow.json +1831 -342
- package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +0 -1
- package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts +0 -6
- package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts +761 -76
- package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts.map +1 -1
- package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts +65 -17
- package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts.map +1 -1
- package/build/contracts/typechain-types/contracts/index.d.ts +2 -0
- package/build/contracts/typechain-types/contracts/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/contracts/lib/Events.d.ts +386 -0
- package/build/contracts/typechain-types/contracts/lib/Events.d.ts.map +1 -0
- package/build/contracts/typechain-types/contracts/lib/Events.js +2 -0
- package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts +21 -0
- package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts.map +1 -0
- package/build/contracts/typechain-types/contracts/lib/MultisigLib.js +2 -0
- package/build/contracts/typechain-types/contracts/lib/index.d.ts +3 -0
- package/build/contracts/typechain-types/contracts/lib/index.d.ts.map +1 -0
- package/build/contracts/typechain-types/contracts/lib/index.js +2 -0
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +0 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.js +1 -3
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.js +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +0 -4
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.js +1 -7
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts +286 -12
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.js +374 -12
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts +137 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.js +182 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.js +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts +1247 -98
- package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.js +1736 -247
- package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.js +1 -1
- package/build/contracts/typechain-types/factories/contracts/index.d.ts +1 -0
- package/build/contracts/typechain-types/factories/contracts/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/index.js +2 -1
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts +373 -0
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts.map +1 -0
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.js +473 -0
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts +55 -0
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts.map +1 -0
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.js +82 -0
- package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts +3 -0
- package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts.map +1 -0
- package/build/contracts/typechain-types/factories/contracts/lib/index.js +10 -0
- package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts +1 -1
- package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.js +1 -1
- package/build/contracts/typechain-types/index.d.ts +4 -10
- package/build/contracts/typechain-types/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/index.js +5 -11
- package/build/entities/AdminOperationThresholds.d.ts +12 -0
- package/build/entities/AdminOperationThresholds.d.ts.map +1 -0
- package/build/entities/AdminOperationThresholds.js +56 -0
- package/build/entities/EscrowRoles.d.ts +12 -0
- package/build/entities/EscrowRoles.d.ts.map +1 -0
- package/build/entities/EscrowRoles.js +57 -0
- package/build/entities/GlobalTimelock.d.ts +14 -0
- package/build/entities/GlobalTimelock.d.ts.map +1 -0
- package/build/entities/GlobalTimelock.js +64 -0
- package/build/entities/GranularTimelock .d.ts +12 -0
- package/build/entities/GranularTimelock .d.ts.map +1 -0
- package/build/entities/GranularTimelock .js +56 -0
- package/build/entities/OperationType.d.ts +18 -0
- package/build/entities/OperationType.d.ts.map +1 -0
- package/build/entities/OperationType.js +50 -0
- package/build/entities/RoleHash.d.ts +11 -0
- package/build/entities/RoleHash.d.ts.map +1 -0
- package/build/entities/RoleHash.js +52 -0
- package/build/entities/Signatures.d.ts +16 -0
- package/build/entities/Signatures.d.ts.map +1 -0
- package/build/entities/Signatures.js +72 -0
- package/build/entities/TokenExecutionThresholds.d.ts +16 -0
- package/build/entities/TokenExecutionThresholds.d.ts.map +1 -0
- package/build/entities/TokenExecutionThresholds.js +72 -0
- package/build/index.d.ts +1 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +4 -2
- package/build/services/ChainManager.d.ts.map +1 -1
- package/build/services/SweepJobService.d.ts +3 -3
- package/build/services/SweepJobService.d.ts.map +1 -1
- package/build/services/SweepJobService.js +12 -7
- package/build/services/db/roles/ContractRoles.d.ts +54 -0
- package/build/services/db/roles/ContractRoles.d.ts.map +1 -0
- package/build/services/db/roles/ContractRoles.js +81 -0
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"funding_wallet": "0x9Ea8Fb697981Fe83599E3F90b0Bd77E3a3253fE7",
|
|
14
14
|
"treasury_receiver": "0x5df6F2A9016d6cA062e60da3b056736B2015B6f0",
|
|
15
15
|
"overflow_treasury_receiver": "0x9ec71A61106a84048D19bDb4D27EbBcD4f12fd2e",
|
|
16
|
-
"overflow_threshold_decimal":
|
|
16
|
+
"overflow_threshold_decimal": 250,
|
|
17
17
|
"min_funding_wallet_balance_usd": 5,
|
|
18
18
|
"allowed_receivers": [
|
|
19
19
|
"0x9ec71A61106a84048D19bDb4D27EbBcD4f12fd2e"
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"funding_wallet": "0x9Ea8Fb697981Fe83599E3F90b0Bd77E3a3253fE7",
|
|
146
146
|
"treasury_receiver": "0x184D508C3934e36Df2531175460DCca51F238E4e",
|
|
147
147
|
"overflow_treasury_receiver": "0x9ec71A61106a84048D19bDb4D27EbBcD4f12fd2e",
|
|
148
|
-
"overflow_threshold_decimal":
|
|
148
|
+
"overflow_threshold_decimal": 250,
|
|
149
149
|
"min_funding_wallet_balance_usd": 5,
|
|
150
150
|
"allowed_receivers": [
|
|
151
151
|
"0x9ec71A61106a84048D19bDb4D27EbBcD4f12fd2e"
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
"funding_wallet": "7z5QwV7mg93PU8tBsbdvXscG9bf5VUP2QYHvS2czNisG",
|
|
250
250
|
"treasury_receiver": "Cr1fJwtExaPdYG8huC5axiW2m2knSoTumLzYBj9rMjCd",
|
|
251
251
|
"overflow_treasury_receiver": "9Akuf5wxomRwzbu3wpSPpJ21EABGGaopoBoCD1boE4Hn",
|
|
252
|
-
"overflow_threshold_decimal":
|
|
252
|
+
"overflow_threshold_decimal": 250,
|
|
253
253
|
"min_funding_wallet_balance_usd": 5,
|
|
254
254
|
"allowed_receivers": [
|
|
255
255
|
"9Akuf5wxomRwzbu3wpSPpJ21EABGGaopoBoCD1boE4Hn"
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
"funding_wallet": "0x9Ea8Fb697981Fe83599E3F90b0Bd77E3a3253fE7",
|
|
368
368
|
"treasury_receiver": "0x1821236AaC799c31F12C7359017083620a49a52E",
|
|
369
369
|
"overflow_treasury_receiver": "0x9ec71A61106a84048D19bDb4D27EbBcD4f12fd2e",
|
|
370
|
-
"overflow_threshold_decimal":
|
|
370
|
+
"overflow_threshold_decimal": 250,
|
|
371
371
|
"min_funding_wallet_balance_usd": 5,
|
|
372
372
|
"allowed_receivers": [
|
|
373
373
|
"0x9ec71A61106a84048D19bDb4D27EbBcD4f12fd2e"
|
|
@@ -471,7 +471,7 @@
|
|
|
471
471
|
"funding_wallet": "0x9Ea8Fb697981Fe83599E3F90b0Bd77E3a3253fE7",
|
|
472
472
|
"treasury_receiver": "0x567559911E22E461a449BB036fE4C44464aaa664",
|
|
473
473
|
"overflow_treasury_receiver": "0x9ec71A61106a84048D19bDb4D27EbBcD4f12fd2e",
|
|
474
|
-
"overflow_threshold_decimal":
|
|
474
|
+
"overflow_threshold_decimal": 250,
|
|
475
475
|
"min_funding_wallet_balance_usd": 5,
|
|
476
476
|
"allowed_receivers": [
|
|
477
477
|
"0x9ec71A61106a84048D19bDb4D27EbBcD4f12fd2e"
|
|
@@ -561,7 +561,7 @@
|
|
|
561
561
|
"funding_wallet": "0x9Ea8Fb697981Fe83599E3F90b0Bd77E3a3253fE7",
|
|
562
562
|
"treasury_receiver": "0x5df6F2A9016d6cA062e60da3b056736B2015B6f0",
|
|
563
563
|
"overflow_treasury_receiver": "0x9ec71A61106a84048D19bDb4D27EbBcD4f12fd2e",
|
|
564
|
-
"overflow_threshold_decimal":
|
|
564
|
+
"overflow_threshold_decimal": 250,
|
|
565
565
|
"min_funding_wallet_balance_usd": 5,
|
|
566
566
|
"allowed_receivers": [
|
|
567
567
|
"0x9ec71A61106a84048D19bDb4D27EbBcD4f12fd2e"
|
|
@@ -667,7 +667,7 @@
|
|
|
667
667
|
"funding_wallet": "TBLeFCWoBrwgbvj33F41t8FErhkgbm3276",
|
|
668
668
|
"treasury_receiver": "TBLeFCWoBrwgbvj33F41t8FErhkgbm3276",
|
|
669
669
|
"overflow_treasury_receiver": "TJetV4XspjvQ3adfQV8RExniL7NAJukF2p",
|
|
670
|
-
"overflow_threshold_decimal":
|
|
670
|
+
"overflow_threshold_decimal": 250,
|
|
671
671
|
"min_funding_wallet_balance_usd": 5,
|
|
672
672
|
"allowed_receivers": [
|
|
673
673
|
"TJetV4XspjvQ3adfQV8RExniL7NAJukF2p"
|
|
@@ -19,7 +19,16 @@
|
|
|
19
19
|
"0xB28BE79Ffe7CC1f352a8EFF3E3E8f4faFD05a881"
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
|
-
"custodialAlchemyWebhooks": [
|
|
22
|
+
"custodialAlchemyWebhooks": [
|
|
23
|
+
{
|
|
24
|
+
"chainId": "1",
|
|
25
|
+
"network_symbol": "eth",
|
|
26
|
+
"network": "ETH_MAINNET",
|
|
27
|
+
"total_wallet_count": 10,
|
|
28
|
+
"endpoint": "webhook/alchemy/address-activity-eth",
|
|
29
|
+
"source": "wallet"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
23
32
|
"quicknodeNotificationConfig": [
|
|
24
33
|
{
|
|
25
34
|
"name": "escrow-eth-prod-sh",
|
|
@@ -119,7 +128,16 @@
|
|
|
119
128
|
"0xa4f0f80b1f4b2dBDD7cE553342Ad5542ba7758Ec"
|
|
120
129
|
]
|
|
121
130
|
},
|
|
122
|
-
"custodialAlchemyWebhooks": [
|
|
131
|
+
"custodialAlchemyWebhooks": [
|
|
132
|
+
{
|
|
133
|
+
"chainId": "56",
|
|
134
|
+
"network_symbol": "bnb",
|
|
135
|
+
"network": "BNB_MAINNET",
|
|
136
|
+
"total_wallet_count": 10,
|
|
137
|
+
"endpoint": "webhook/alchemy/address-activity-bnb",
|
|
138
|
+
"source": "wallet"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
123
141
|
"quicknodeNotificationConfig": [
|
|
124
142
|
{
|
|
125
143
|
"name": "escrow-bnb-prod-sh",
|
|
@@ -310,7 +328,16 @@
|
|
|
310
328
|
"0x0074D8ed3168bEF415337064670e0bf90981A1F5"
|
|
311
329
|
]
|
|
312
330
|
},
|
|
313
|
-
"custodialAlchemyWebhooks": [
|
|
331
|
+
"custodialAlchemyWebhooks": [
|
|
332
|
+
{
|
|
333
|
+
"chainId": "137",
|
|
334
|
+
"network_symbol": "pol",
|
|
335
|
+
"network": "MATIC_MAINNET",
|
|
336
|
+
"total_wallet_count": 10,
|
|
337
|
+
"endpoint": "webhook/alchemy/address-activity-pol",
|
|
338
|
+
"source": "wallet"
|
|
339
|
+
}
|
|
340
|
+
],
|
|
314
341
|
"quicknodeNotificationConfig": [
|
|
315
342
|
{
|
|
316
343
|
"name": "escrow-pol-prod-sh",
|
|
@@ -396,7 +423,16 @@
|
|
|
396
423
|
"0x28DE9CeCd83D9b20Ee6A438d39114Add08ED5FF7"
|
|
397
424
|
]
|
|
398
425
|
},
|
|
399
|
-
"custodialAlchemyWebhooks": [
|
|
426
|
+
"custodialAlchemyWebhooks": [
|
|
427
|
+
{
|
|
428
|
+
"chainId": "43114",
|
|
429
|
+
"network_symbol": "avax",
|
|
430
|
+
"network": "AVAX_MAINNET",
|
|
431
|
+
"total_wallet_count": 10,
|
|
432
|
+
"endpoint": "webhook/alchemy/address-activity-avax",
|
|
433
|
+
"source": "wallet"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
400
436
|
"quicknodeNotificationConfig": [
|
|
401
437
|
{
|
|
402
438
|
"name": "escrow-avax-prod-sh",
|
|
@@ -472,7 +508,7 @@
|
|
|
472
508
|
"tronConfig": {
|
|
473
509
|
"trxTransferCost": 270000,
|
|
474
510
|
"trc20TransferCost": 4000000,
|
|
475
|
-
"rentEnergyWallet": ""
|
|
511
|
+
"rentEnergyWallet": "TDxKjt1DqDQizx9C59TNwpu2gJtX3ppdEi"
|
|
476
512
|
},
|
|
477
513
|
"accounting": {
|
|
478
514
|
"funding_wallet": "TCY1EdB3P5hZVBv5uWzzgsg3Bd7EkmLKBr",
|
|
@@ -19,7 +19,16 @@
|
|
|
19
19
|
"0xBC88D756b866854C02410c8d3e62E5648279dc70"
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
|
-
"custodialAlchemyWebhooks": [
|
|
22
|
+
"custodialAlchemyWebhooks": [
|
|
23
|
+
{
|
|
24
|
+
"chainId": "1",
|
|
25
|
+
"network_symbol": "eth",
|
|
26
|
+
"network": "ETH_MAINNET",
|
|
27
|
+
"total_wallet_count": 10,
|
|
28
|
+
"endpoint": "webhook/alchemy/address-activity-eth",
|
|
29
|
+
"source": "wallet"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
23
32
|
"quicknodeNotificationConfig": [
|
|
24
33
|
{
|
|
25
34
|
"name": "escrow-eth-prod-yb",
|
|
@@ -119,7 +128,16 @@
|
|
|
119
128
|
"0x0074D8ed3168bEF415337064670e0bf90981A1F5"
|
|
120
129
|
]
|
|
121
130
|
},
|
|
122
|
-
"custodialAlchemyWebhooks": [
|
|
131
|
+
"custodialAlchemyWebhooks": [
|
|
132
|
+
{
|
|
133
|
+
"chainId": "56",
|
|
134
|
+
"network_symbol": "bnb",
|
|
135
|
+
"network": "BNB_MAINNET",
|
|
136
|
+
"total_wallet_count": 10,
|
|
137
|
+
"endpoint": "webhook/alchemy/address-activity-bnb",
|
|
138
|
+
"source": "wallet"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
123
141
|
"quicknodeNotificationConfig": [
|
|
124
142
|
{
|
|
125
143
|
"name": "escrow-bnb-prod-yb",
|
|
@@ -310,7 +328,16 @@
|
|
|
310
328
|
"0x251824258e218293d79036Be1423388bf3476Ef4"
|
|
311
329
|
]
|
|
312
330
|
},
|
|
313
|
-
"custodialAlchemyWebhooks": [
|
|
331
|
+
"custodialAlchemyWebhooks": [
|
|
332
|
+
{
|
|
333
|
+
"chainId": "137",
|
|
334
|
+
"network_symbol": "pol",
|
|
335
|
+
"network": "MATIC_MAINNET",
|
|
336
|
+
"total_wallet_count": 10,
|
|
337
|
+
"endpoint": "webhook/alchemy/address-activity-pol",
|
|
338
|
+
"source": "wallet"
|
|
339
|
+
}
|
|
340
|
+
],
|
|
314
341
|
"quicknodeNotificationConfig": [
|
|
315
342
|
{
|
|
316
343
|
"name": "escrow-pol-prod-yb",
|
|
@@ -396,7 +423,16 @@
|
|
|
396
423
|
"0x6d47B7230F5D466677795E271db3aEE4C59c0B47"
|
|
397
424
|
]
|
|
398
425
|
},
|
|
399
|
-
"custodialAlchemyWebhooks": [
|
|
426
|
+
"custodialAlchemyWebhooks": [
|
|
427
|
+
{
|
|
428
|
+
"chainId": "43114",
|
|
429
|
+
"network_symbol": "avax",
|
|
430
|
+
"network": "AVAX_MAINNET",
|
|
431
|
+
"total_wallet_count": 10,
|
|
432
|
+
"endpoint": "webhook/alchemy/address-activity-avax",
|
|
433
|
+
"source": "wallet"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
400
436
|
"quicknodeNotificationConfig": [
|
|
401
437
|
{
|
|
402
438
|
"name": "escrow-avax-prod-yb",
|
|
@@ -522,8 +558,8 @@
|
|
|
522
558
|
"isStableCoin": false,
|
|
523
559
|
"decimals": 6,
|
|
524
560
|
"address": "0000000000000000000000000000000000000000",
|
|
525
|
-
"sweepThreshold":
|
|
526
|
-
"sweepWalletMinBalance":
|
|
561
|
+
"sweepThreshold": 3,
|
|
562
|
+
"sweepWalletMinBalance": 0,
|
|
527
563
|
"recommendedMinBalanceFundingWallet": 333,
|
|
528
564
|
"recommendedMinBalanceEscrow": 0,
|
|
529
565
|
"recommendedMinBalanceRentEnergy": 50
|
|
@@ -472,7 +472,7 @@
|
|
|
472
472
|
"tronConfig": {
|
|
473
473
|
"trxTransferCost": 270000,
|
|
474
474
|
"trc20TransferCost": 4000000,
|
|
475
|
-
"rentEnergyWallet": "
|
|
475
|
+
"rentEnergyWallet": ""
|
|
476
476
|
},
|
|
477
477
|
"accounting": {
|
|
478
478
|
"funding_wallet": "TH3fM3JAgBsXyzBHw3vE6XcZpFtnyxhXN1",
|