@across-protocol/contracts 5.0.7 → 5.0.8-alpha.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/broadcast/deployed-addresses.json +95 -20
- package/dist/src/consts.d.ts +0 -2
- package/dist/src/consts.js +1 -10
- package/package.json +3 -2
|
@@ -196,9 +196,9 @@
|
|
|
196
196
|
"transaction_hash": "0xb46c184af2359773c6714d0bcfa4969690f0b703fa134ad313e291bd15961289"
|
|
197
197
|
},
|
|
198
198
|
"DonationBox": {
|
|
199
|
-
"address": "
|
|
200
|
-
"block_number":
|
|
201
|
-
"transaction_hash": "
|
|
199
|
+
"address": "0x1648fC159a5c13c060EFdF44f3CEE9bD184fa168",
|
|
200
|
+
"block_number": 24445781,
|
|
201
|
+
"transaction_hash": "0x1a11ebe652ccb6ba833b38454b56f75e250a84ea7a5ec01c896a9d4361314dac"
|
|
202
202
|
},
|
|
203
203
|
"OP_Adapter_57073": {
|
|
204
204
|
"address": "0x545E43B6eC2f9a44CAa531298699Ff05958670B5",
|
|
@@ -211,14 +211,19 @@
|
|
|
211
211
|
"transaction_hash": "0xa2a7b2c6812fb8ae34539fb04cd5f2a9112da1c7f6ffce0ddcf1fee7e43acf48"
|
|
212
212
|
},
|
|
213
213
|
"PermissionedMulticallHandler": {
|
|
214
|
-
"address": "
|
|
215
|
-
"block_number":
|
|
216
|
-
"transaction_hash": "
|
|
214
|
+
"address": "0xD9D9Fd5A693dCD8FEf97A1d58d1d38aeeE771dF4",
|
|
215
|
+
"block_number": 24923036,
|
|
216
|
+
"transaction_hash": "0xdf6e007fee3ff93b47e6b135cb0ba9457fafea8f38350025e7c8c84d46ef0905"
|
|
217
|
+
},
|
|
218
|
+
"DonationBox_CCTP": {
|
|
219
|
+
"address": "0xE694EbDFfCAD44ffb2025E2341027743fFDEAe3f",
|
|
220
|
+
"block_number": 24923037,
|
|
221
|
+
"transaction_hash": "0xa718319386ecd03007db65595e2905385658c329a7beb626e3403eb0bd594ea4"
|
|
217
222
|
},
|
|
218
223
|
"SponsoredCCTPDstPeriphery": {
|
|
219
|
-
"address": "
|
|
220
|
-
"block_number":
|
|
221
|
-
"transaction_hash": "
|
|
224
|
+
"address": "0x545cd9145A7B783328e9f0B9f489c962464F82e0",
|
|
225
|
+
"block_number": 24923038,
|
|
226
|
+
"transaction_hash": "0xd96182e721a33c860d4296d20d86e439bf423026841c8433e3d1ce5fe0321f82"
|
|
222
227
|
},
|
|
223
228
|
"SponsoredCCTPSrcPeriphery": {
|
|
224
229
|
"address": "0x6769155b16F25D317819eFef011E0A50A48e83c5",
|
|
@@ -365,6 +370,11 @@
|
|
|
365
370
|
"block_number": 88956836,
|
|
366
371
|
"transaction_hash": "0xa72e732cca57b0fd17f451f0390067d61f3b9757b03435723f22ce40a740cf4b"
|
|
367
372
|
},
|
|
373
|
+
"Safe": {
|
|
374
|
+
"address": "0xd396CcB6770EAB84045c9Bce2939c478639E2A7F",
|
|
375
|
+
"block_number": 92344923,
|
|
376
|
+
"transaction_hash": "0x108965da85e95039b59f1728128e65eef0c13b453db6b1cb5e6eb1ed455e7ca3"
|
|
377
|
+
},
|
|
368
378
|
"WithdrawImplementation": {
|
|
369
379
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
370
380
|
"block_number": 90078781,
|
|
@@ -585,6 +595,11 @@
|
|
|
585
595
|
"block_number": 64241716,
|
|
586
596
|
"transaction_hash": "0x40c560c46d8a4fdbd5947512cc9b6c5f322abac96231bf635b2f4c1768621f52"
|
|
587
597
|
},
|
|
598
|
+
"Safe": {
|
|
599
|
+
"address": "0xd396CcB6770EAB84045c9Bce2939c478639E2A7F",
|
|
600
|
+
"block_number": 67900920,
|
|
601
|
+
"transaction_hash": "0x600cbf25870f7204c57ae5b3f3e7b8df0feeb00ec3e578fefb4f67280c9cfe77"
|
|
602
|
+
},
|
|
588
603
|
"SponsoredCCTPSrcPeriphery": {
|
|
589
604
|
"address": "0xc49226858478DE8757E425661b1B5297102330d7",
|
|
590
605
|
"block_number": 55209435,
|
|
@@ -642,6 +657,11 @@
|
|
|
642
657
|
"block_number": 5721369,
|
|
643
658
|
"transaction_hash": "0xba19fd8122e60466f5f1fd1f8b327e40ee2a60bba7f961fb7d2da8cee6368498"
|
|
644
659
|
},
|
|
660
|
+
"Safe": {
|
|
661
|
+
"address": "0x396eC04b105587E9DC1a13D27F28D99262f74910",
|
|
662
|
+
"block_number": 5757517,
|
|
663
|
+
"transaction_hash": "0x38b0cc1d64ac50a20025c10815949765288083751b8133606e507efd48c08663"
|
|
664
|
+
},
|
|
645
665
|
"WithdrawImplementation": {
|
|
646
666
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
647
667
|
"block_number": 5721361,
|
|
@@ -698,6 +718,11 @@
|
|
|
698
718
|
"block_number": 69325207,
|
|
699
719
|
"transaction_hash": "0x449b140974a033c40635ae23b6324365a12a5ab7cda5cd3aa8055f7b9df3c327"
|
|
700
720
|
},
|
|
721
|
+
"Safe": {
|
|
722
|
+
"address": "0x396eC04b105587E9DC1a13D27F28D99262f74910",
|
|
723
|
+
"block_number": 69526953,
|
|
724
|
+
"transaction_hash": "0xd40336fee79d178fadcd9aab6d1d01799319ee3c599ee7beeb7b065158eaedc0"
|
|
725
|
+
},
|
|
701
726
|
"WithdrawImplementation": {
|
|
702
727
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
703
728
|
"block_number": 69325154,
|
|
@@ -824,7 +849,7 @@
|
|
|
824
849
|
"block_number": 31071129,
|
|
825
850
|
"transaction_hash": "0xd78f71ca11de6d28fe02006adf91b55f05efe0ffb1e0b2f51cb450cdf5ade5c0"
|
|
826
851
|
},
|
|
827
|
-
"
|
|
852
|
+
"DonationBox_OFT": {
|
|
828
853
|
"address": "0xf9a0c1C775f1B6e156ad3f1DB784520461DDb19e",
|
|
829
854
|
"block_number": 27226495,
|
|
830
855
|
"transaction_hash": "0x79d57ee428509b8a739a619580ef0154d3618f782d5cab1bfad01c0d542d2e3e"
|
|
@@ -839,10 +864,25 @@
|
|
|
839
864
|
"block_number": 27144816,
|
|
840
865
|
"transaction_hash": "0xf7f1b77559935ec04f3a3a89601b621f21d4cf38c2701e8df18e10f333b24c7c"
|
|
841
866
|
},
|
|
867
|
+
"Safe": {
|
|
868
|
+
"address": "0xd396CcB6770EAB84045c9Bce2939c478639E2A7F",
|
|
869
|
+
"block_number": 32382094,
|
|
870
|
+
"transaction_hash": "0x188d49f786ebe99a6dbeb7c845d525064431a1eb615d0bea275d8da8a32953b1"
|
|
871
|
+
},
|
|
872
|
+
"PermissionedMulticallHandler": {
|
|
873
|
+
"address": "0xaB98a974E3F7edB28cdc4794c9F3dbA45853DcFd",
|
|
874
|
+
"block_number": 32934366,
|
|
875
|
+
"transaction_hash": "0x5707e2f9d42738a5ddf91600d57c6333de196da631b09125e1e467eaf60f56d0"
|
|
876
|
+
},
|
|
877
|
+
"DonationBox_CCTP": {
|
|
878
|
+
"address": "0x46FCbf700512bFB48E0aD189dA33363fa2c80Da7",
|
|
879
|
+
"block_number": 32934366,
|
|
880
|
+
"transaction_hash": "0xc42fec9d7e445e9c5c06fa84b7b343d944ef106be8d191ed765f708f50c2d68d"
|
|
881
|
+
},
|
|
842
882
|
"SponsoredCCTPDstPeriphery": {
|
|
843
|
-
"address": "
|
|
844
|
-
"block_number":
|
|
845
|
-
"transaction_hash": "
|
|
883
|
+
"address": "0x1450c4825c960809Cc5b10A18EAE755e01901878",
|
|
884
|
+
"block_number": 32934366,
|
|
885
|
+
"transaction_hash": "0xcd25326845db7caf8d97c5643785d7b2ee2131f6deb6b4929a3ae192138cd895"
|
|
846
886
|
},
|
|
847
887
|
"SponsoredCCTPSrcPeriphery": {
|
|
848
888
|
"address": "0xc611D7c33d1C7915F13ef35f488EAee9D9DC3555",
|
|
@@ -896,6 +936,11 @@
|
|
|
896
936
|
"block_number": 30044486,
|
|
897
937
|
"transaction_hash": "0x7f0c49d85284c0a0ad241a2b2c4feec3a212f0ed5dd74a8bcd7d08a9f53b03cc"
|
|
898
938
|
},
|
|
939
|
+
"Safe": {
|
|
940
|
+
"address": "0xd396CcB6770EAB84045c9Bce2939c478639E2A7F",
|
|
941
|
+
"block_number": 30656209,
|
|
942
|
+
"transaction_hash": "0xc37b248876a10def30f724b5909e14ee3b3327ee889da6d38b5fc03fed0f3e92"
|
|
943
|
+
},
|
|
899
944
|
"WithdrawImplementation": {
|
|
900
945
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
901
946
|
"block_number": 30044479,
|
|
@@ -956,6 +1001,11 @@
|
|
|
956
1001
|
"block_number": 20841696,
|
|
957
1002
|
"transaction_hash": "0xfa3f248d5746c4a038d1a5e423fd34af6bce6c21bf3de6572cc92eb73366a839"
|
|
958
1003
|
},
|
|
1004
|
+
"Safe": {
|
|
1005
|
+
"address": "0xd396CcB6770EAB84045c9Bce2939c478639E2A7F",
|
|
1006
|
+
"block_number": 21453243,
|
|
1007
|
+
"transaction_hash": "0xc962b3f32ad7a2021782aca575fd1432c994293ebcd68e0ecff3c4d56c776be2"
|
|
1008
|
+
},
|
|
959
1009
|
"WithdrawImplementation": {
|
|
960
1010
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
961
1011
|
"block_number": 20841680,
|
|
@@ -1018,6 +1068,11 @@
|
|
|
1018
1068
|
"block_number": 5673252,
|
|
1019
1069
|
"transaction_hash": "0xb499f362e8b95a9ea011aa984a94e46394bf9c23e51643198e9b3c280b805f81"
|
|
1020
1070
|
},
|
|
1071
|
+
"Safe": {
|
|
1072
|
+
"address": "0xd396CcB6770EAB84045c9Bce2939c478639E2A7F",
|
|
1073
|
+
"block_number": 14586764,
|
|
1074
|
+
"transaction_hash": "0x6cb25ff098f110b30b71e5df6c1edf74a1f672f65414fb18308dd0c54a8daabf"
|
|
1075
|
+
},
|
|
1021
1076
|
"WithdrawImplementation": {
|
|
1022
1077
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
1023
1078
|
"block_number": 12128162,
|
|
@@ -1137,15 +1192,20 @@
|
|
|
1137
1192
|
"block_number": 43894633,
|
|
1138
1193
|
"transaction_hash": "0x28b429aae286cfb5f09ce924514384b64203a62def3fbb61296a93e1bb3636eb"
|
|
1139
1194
|
},
|
|
1140
|
-
"
|
|
1141
|
-
"address": "
|
|
1142
|
-
"block_number":
|
|
1143
|
-
"transaction_hash": "
|
|
1195
|
+
"PermissionedMulticallHandler": {
|
|
1196
|
+
"address": "0xB6CAAfD8Ecf18385fFc7c020327E111a1D40A2D4",
|
|
1197
|
+
"block_number": 44959757,
|
|
1198
|
+
"transaction_hash": "0x0e3e581e4970cb3b9a193f8fddf7a63cbcc4c4f7b980139a6f685fbbfec1d459"
|
|
1199
|
+
},
|
|
1200
|
+
"DonationBox_CCTP": {
|
|
1201
|
+
"address": "0x3ff139d8d5519555aA13b0eBd357B0Ba810f06Df",
|
|
1202
|
+
"block_number": 44959758,
|
|
1203
|
+
"transaction_hash": "0x019b8a736e60768ec4410e4e38c8ae4385e23e72c0cdcc9f305269d1208948c5"
|
|
1144
1204
|
},
|
|
1145
1205
|
"SponsoredCCTPDstPeriphery": {
|
|
1146
|
-
"address": "
|
|
1147
|
-
"block_number":
|
|
1148
|
-
"transaction_hash": "
|
|
1206
|
+
"address": "0x8dEDA155E446F5d90579C3DCe560e5b00e93F773",
|
|
1207
|
+
"block_number": 44959760,
|
|
1208
|
+
"transaction_hash": "0x052db9819150099889e890e641781eedcb3f7e016f87d72bea2984ce6554d350"
|
|
1149
1209
|
},
|
|
1150
1210
|
"SponsoredCCTPSrcPeriphery": {
|
|
1151
1211
|
"address": "0xa30968D3468316D957B9115EAad3C1c8E450116d",
|
|
@@ -1208,6 +1268,11 @@
|
|
|
1208
1268
|
"block_number": 17887279,
|
|
1209
1269
|
"transaction_hash": "0x3de7142b7379571a946f37f404089c54812c6b0926faf71f056c85b61002941a"
|
|
1210
1270
|
},
|
|
1271
|
+
"Safe": {
|
|
1272
|
+
"address": "0xd396CcB6770EAB84045c9Bce2939c478639E2A7F",
|
|
1273
|
+
"block_number": 19174119,
|
|
1274
|
+
"transaction_hash": "0x7b48d4e46a0934f5580682b0f92cd9d083a72810b3925b353bc6a09527c75282"
|
|
1275
|
+
},
|
|
1211
1276
|
"WithdrawImplementation": {
|
|
1212
1277
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
1213
1278
|
"block_number": 17887235,
|
|
@@ -1516,6 +1581,11 @@
|
|
|
1516
1581
|
"block_number": 33006947,
|
|
1517
1582
|
"transaction_hash": "0xc65dc07cefa6f86567a7e3d5076c81c3ffef2de9d3a513028417d984da2185b6"
|
|
1518
1583
|
},
|
|
1584
|
+
"Safe": {
|
|
1585
|
+
"address": "0xd396CcB6770EAB84045c9Bce2939c478639E2A7F",
|
|
1586
|
+
"block_number": 33615727,
|
|
1587
|
+
"transaction_hash": "0xd77ff7ed505fa3940f86f5ecb1b819801b0ce7aad15712f8c23b294c61731c27"
|
|
1588
|
+
},
|
|
1519
1589
|
"WithdrawImplementation": {
|
|
1520
1590
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
1521
1591
|
"block_number": 33006932,
|
|
@@ -1676,6 +1746,11 @@
|
|
|
1676
1746
|
"block_number": 44065278,
|
|
1677
1747
|
"transaction_hash": "0x467f9b6c489e2b9cf8f0613c8a5db185244a2f2f6947691d4a36dc9ec7eddaff"
|
|
1678
1748
|
},
|
|
1749
|
+
"Safe": {
|
|
1750
|
+
"address": "0xd396CcB6770EAB84045c9Bce2939c478639E2A7F",
|
|
1751
|
+
"block_number": 44673732,
|
|
1752
|
+
"transaction_hash": "0x3597249b759f793c36026bdfd80f1c1e604d5dc333397489f2306a752f6716b3"
|
|
1753
|
+
},
|
|
1679
1754
|
"WithdrawImplementation": {
|
|
1680
1755
|
"address": "0x679D43e1d304001538Bf083D421484fD67c00a45",
|
|
1681
1756
|
"block_number": 44065272,
|
package/dist/src/consts.d.ts
CHANGED
|
@@ -14,8 +14,6 @@ export declare const CIRCLE_UNINITIALIZED_DOMAIN_ID = 4294967295;
|
|
|
14
14
|
export declare const ZK_L1_GAS_TO_L2_GAS_PER_PUBDATA_LIMIT = 800;
|
|
15
15
|
export declare const ZK_L2_GAS_LIMIT = 2000000;
|
|
16
16
|
export declare const ZK_MAX_GASPRICE = "10000000000000";
|
|
17
|
-
export declare const EXPECTED_SAFE_ADDRESS = "0x0Fc8E2BB9bEd4FDb51a0d36f2415c4C7F9e75F6e";
|
|
18
|
-
export declare const EXPECTED_SAFE_OWNERS: string[];
|
|
19
17
|
export declare const L1_ADDRESS_MAP: {
|
|
20
18
|
[key: number]: {
|
|
21
19
|
[contractName: string]: string;
|
package/dist/src/consts.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OFT_EIDs = exports.CIRCLE_DOMAIN_IDs = exports.POLYGON_CHAIN_IDS = exports.L2_ADDRESS_MAP = exports.OP_STACK_ADDRESS_MAP = exports.L1_ADDRESS_MAP = exports.
|
|
3
|
+
exports.OFT_EIDs = exports.CIRCLE_DOMAIN_IDs = exports.POLYGON_CHAIN_IDS = exports.L2_ADDRESS_MAP = exports.OP_STACK_ADDRESS_MAP = exports.L1_ADDRESS_MAP = exports.ZK_MAX_GASPRICE = exports.ZK_L2_GAS_LIMIT = exports.ZK_L1_GAS_TO_L2_GAS_PER_PUBDATA_LIMIT = exports.CIRCLE_UNINITIALIZED_DOMAIN_ID = exports.ARBITRUM_MAX_SUBMISSION_COST = exports.FILL_DEADLINE_BUFFER = exports.QUOTE_TIME_BUFFER = exports.WGHO = exports.WGRASS = exports.WMATIC = exports.WETH = exports.USDCe = exports.USDC = exports.ZERO_ADDRESS = void 0;
|
|
4
4
|
const utils_1 = require("../utils");
|
|
5
5
|
exports.ZERO_ADDRESS = "0x0000000000000000000000000000000000000000";
|
|
6
6
|
exports.USDC = utils_1.TOKEN_SYMBOLS_MAP.USDC.addresses;
|
|
@@ -16,15 +16,6 @@ exports.CIRCLE_UNINITIALIZED_DOMAIN_ID = 4294967295; // 2^32 - 1
|
|
|
16
16
|
exports.ZK_L1_GAS_TO_L2_GAS_PER_PUBDATA_LIMIT = 800;
|
|
17
17
|
exports.ZK_L2_GAS_LIMIT = 2000000;
|
|
18
18
|
exports.ZK_MAX_GASPRICE = "10000000000000"; // 10k gwei
|
|
19
|
-
// Expected Safe address for Universal SpokePool
|
|
20
|
-
exports.EXPECTED_SAFE_ADDRESS = "0x0Fc8E2BB9bEd4FDb51a0d36f2415c4C7F9e75F6e";
|
|
21
|
-
exports.EXPECTED_SAFE_OWNERS = [
|
|
22
|
-
"0x868CF19464e17F76D6419ACC802B122c22D2FD34",
|
|
23
|
-
"0xcc400c09ecBAC3e0033e4587BdFAABB26223e37d",
|
|
24
|
-
"0x837219D7a9C666F5542c4559Bf17D7B804E5c5fe",
|
|
25
|
-
"0x1d933Fd71FF07E69f066d50B39a7C34EB3b69F05",
|
|
26
|
-
"0x996267d7d1B7f5046543feDe2c2Db473Ed4f65e9",
|
|
27
|
-
];
|
|
28
19
|
exports.L1_ADDRESS_MAP = {
|
|
29
20
|
[utils_1.CHAIN_IDs.MAINNET]: {
|
|
30
21
|
finder: "0x40f941E48A552bF496B154Af6bf55725f18D77c3",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@across-protocol/contracts",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.8-alpha.1",
|
|
4
4
|
"author": "UMA Team",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"pre-commit-hook": "sh scripts/preCommitHook.sh",
|
|
49
49
|
"extract-addresses": "./script/utils/extract_foundry_addresses.sh",
|
|
50
50
|
"generate-constants-json": "ts-node ./script/utils/GenerateConstantsJson.ts",
|
|
51
|
+
"deploy-safe": "ts-node ./script/safe-multisig/deploySafe.ts",
|
|
51
52
|
"build-tron": "FOUNDRY_PROFILE=tron forge build",
|
|
52
53
|
"tron-deploy-sp1-auto-verifier": "ts-node script/tron/universal/tron-deploy-sp1-auto-verifier.ts",
|
|
53
54
|
"tron-deploy-sp1-helios": "ts-node script/tron/universal/tron-deploy-sp1-helios.ts",
|
|
@@ -86,7 +87,7 @@
|
|
|
86
87
|
"@codama/renderers-js": "1.3.0",
|
|
87
88
|
"@openzeppelin/foundry-upgrades": "^0.4.0",
|
|
88
89
|
"@pinata/sdk": "^2.1.0",
|
|
89
|
-
"@safe-global/protocol-kit": "
|
|
90
|
+
"@safe-global/protocol-kit": "7.0.0",
|
|
90
91
|
"@solana-program/token": "0.9.0",
|
|
91
92
|
"@solana/spl-token": "0.4.14",
|
|
92
93
|
"@types/bn.js": "^5.1.0",
|