@safe-global/safe-deployments 1.37.9 → 1.37.11

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 (32) hide show
  1. package/dist/assets/v1.3.0/compatibility_fallback_handler.json +2 -0
  2. package/dist/assets/v1.3.0/create_call.json +2 -0
  3. package/dist/assets/v1.3.0/gnosis_safe.json +2 -0
  4. package/dist/assets/v1.3.0/gnosis_safe_l2.json +2 -0
  5. package/dist/assets/v1.3.0/multi_send.json +2 -0
  6. package/dist/assets/v1.3.0/multi_send_call_only.json +2 -0
  7. package/dist/assets/v1.3.0/proxy_factory.json +2 -0
  8. package/dist/assets/v1.3.0/sign_message_lib.json +2 -0
  9. package/dist/assets/v1.3.0/simulate_tx_accessor.json +2 -0
  10. package/dist/assets/v1.4.1/safe_migration.json +149 -0
  11. package/dist/assets/v1.4.1/safe_to_l2_migration.json +207 -0
  12. package/dist/assets/v1.4.1/safe_to_l2_setup.json +66 -0
  13. package/dist/deployments.d.ts +4 -1
  14. package/dist/deployments.js +10 -1
  15. package/dist/libs.d.ts +36 -0
  16. package/dist/libs.js +55 -1
  17. package/dist/utils.js +1 -2
  18. package/package.json +1 -1
  19. package/src/assets/v1.3.0/compatibility_fallback_handler.json +2 -0
  20. package/src/assets/v1.3.0/create_call.json +2 -0
  21. package/src/assets/v1.3.0/gnosis_safe.json +2 -0
  22. package/src/assets/v1.3.0/gnosis_safe_l2.json +2 -0
  23. package/src/assets/v1.3.0/multi_send.json +2 -0
  24. package/src/assets/v1.3.0/multi_send_call_only.json +2 -0
  25. package/src/assets/v1.3.0/proxy_factory.json +2 -0
  26. package/src/assets/v1.3.0/sign_message_lib.json +2 -0
  27. package/src/assets/v1.3.0/simulate_tx_accessor.json +2 -0
  28. package/src/assets/v1.4.1/safe_migration.json +1 -0
  29. package/src/assets/v1.4.1/safe_to_l2_migration.json +1 -0
  30. package/src/assets/v1.4.1/safe_to_l2_setup.json +1 -0
  31. package/src/deployments.ts +15 -0
  32. package/src/libs.ts +57 -0
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -0,0 +1,149 @@
1
+ {
2
+ "released": true,
3
+ "contractName": "SafeMigration",
4
+ "version": "1.4.1",
5
+ "deployments": {
6
+ "canonical": {
7
+ "address": "0x526643F69b81B008F46d95CD5ced5eC0edFFDaC6",
8
+ "codeHash": "0xc00d7921460cd5a05393e7772e634bd7d212f356356aa3a77f0120a9b8e25e99"
9
+ }
10
+ },
11
+ "networkAddresses": {
12
+ "1": "canonical",
13
+ "10": "canonical",
14
+ "56": "canonical",
15
+ "100": "canonical",
16
+ "137": "canonical",
17
+ "196": "canonical",
18
+ "480": "canonical",
19
+ "1101": "canonical",
20
+ "1337": "canonical",
21
+ "5000": "canonical",
22
+ "8453": "canonical",
23
+ "42161": "canonical",
24
+ "42220": "canonical",
25
+ "43114": "canonical",
26
+ "59144": "canonical",
27
+ "81457": "canonical",
28
+ "84532": "canonical",
29
+ "534352": "canonical",
30
+ "11155111": "canonical",
31
+ "1313161554": "canonical"
32
+ },
33
+ "abi": [
34
+ {
35
+ "inputs": [
36
+ {
37
+ "internalType": "address",
38
+ "name": "safeSingleton",
39
+ "type": "address"
40
+ },
41
+ {
42
+ "internalType": "address",
43
+ "name": "safeL2Singleton",
44
+ "type": "address"
45
+ },
46
+ {
47
+ "internalType": "address",
48
+ "name": "fallbackHandler",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "stateMutability": "nonpayable",
53
+ "type": "constructor"
54
+ },
55
+ {
56
+ "anonymous": false,
57
+ "inputs": [
58
+ {
59
+ "indexed": false,
60
+ "internalType": "address",
61
+ "name": "singleton",
62
+ "type": "address"
63
+ }
64
+ ],
65
+ "name": "ChangedMasterCopy",
66
+ "type": "event"
67
+ },
68
+ {
69
+ "inputs": [],
70
+ "name": "MIGRATION_SINGLETON",
71
+ "outputs": [
72
+ {
73
+ "internalType": "address",
74
+ "name": "",
75
+ "type": "address"
76
+ }
77
+ ],
78
+ "stateMutability": "view",
79
+ "type": "function"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "SAFE_FALLBACK_HANDLER",
84
+ "outputs": [
85
+ {
86
+ "internalType": "address",
87
+ "name": "",
88
+ "type": "address"
89
+ }
90
+ ],
91
+ "stateMutability": "view",
92
+ "type": "function"
93
+ },
94
+ {
95
+ "inputs": [],
96
+ "name": "SAFE_L2_SINGLETON",
97
+ "outputs": [
98
+ {
99
+ "internalType": "address",
100
+ "name": "",
101
+ "type": "address"
102
+ }
103
+ ],
104
+ "stateMutability": "view",
105
+ "type": "function"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "SAFE_SINGLETON",
110
+ "outputs": [
111
+ {
112
+ "internalType": "address",
113
+ "name": "",
114
+ "type": "address"
115
+ }
116
+ ],
117
+ "stateMutability": "view",
118
+ "type": "function"
119
+ },
120
+ {
121
+ "inputs": [],
122
+ "name": "migrateL2Singleton",
123
+ "outputs": [],
124
+ "stateMutability": "nonpayable",
125
+ "type": "function"
126
+ },
127
+ {
128
+ "inputs": [],
129
+ "name": "migrateL2WithFallbackHandler",
130
+ "outputs": [],
131
+ "stateMutability": "nonpayable",
132
+ "type": "function"
133
+ },
134
+ {
135
+ "inputs": [],
136
+ "name": "migrateSingleton",
137
+ "outputs": [],
138
+ "stateMutability": "nonpayable",
139
+ "type": "function"
140
+ },
141
+ {
142
+ "inputs": [],
143
+ "name": "migrateWithFallbackHandler",
144
+ "outputs": [],
145
+ "stateMutability": "nonpayable",
146
+ "type": "function"
147
+ }
148
+ ]
149
+ }
@@ -0,0 +1,207 @@
1
+ {
2
+ "released": true,
3
+ "contractName": "SafeToL2Migration",
4
+ "version": "1.4.1",
5
+ "deployments": {
6
+ "canonical": {
7
+ "address": "0xfF83F6335d8930cBad1c0D439A841f01888D9f69",
8
+ "codeHash": "0xa83e7be2fa20c96dc9575e3937239d552f3831ea437d7c96397eec8736f0cba0"
9
+ }
10
+ },
11
+ "networkAddresses": {
12
+ "1": "canonical",
13
+ "10": "canonical",
14
+ "56": "canonical",
15
+ "100": "canonical",
16
+ "137": "canonical",
17
+ "196": "canonical",
18
+ "480": "canonical",
19
+ "1101": "canonical",
20
+ "1337": "canonical",
21
+ "5000": "canonical",
22
+ "8453": "canonical",
23
+ "42161": "canonical",
24
+ "42220": "canonical",
25
+ "43114": "canonical",
26
+ "59144": "canonical",
27
+ "81457": "canonical",
28
+ "84532": "canonical",
29
+ "534352": "canonical",
30
+ "11155111": "canonical",
31
+ "1313161554": "canonical"
32
+ },
33
+ "abi": [
34
+ {
35
+ "inputs": [],
36
+ "stateMutability": "nonpayable",
37
+ "type": "constructor"
38
+ },
39
+ {
40
+ "anonymous": false,
41
+ "inputs": [
42
+ {
43
+ "indexed": false,
44
+ "internalType": "address",
45
+ "name": "singleton",
46
+ "type": "address"
47
+ }
48
+ ],
49
+ "name": "ChangedMasterCopy",
50
+ "type": "event"
51
+ },
52
+ {
53
+ "anonymous": false,
54
+ "inputs": [
55
+ {
56
+ "indexed": false,
57
+ "internalType": "address",
58
+ "name": "to",
59
+ "type": "address"
60
+ },
61
+ {
62
+ "indexed": false,
63
+ "internalType": "uint256",
64
+ "name": "value",
65
+ "type": "uint256"
66
+ },
67
+ {
68
+ "indexed": false,
69
+ "internalType": "bytes",
70
+ "name": "data",
71
+ "type": "bytes"
72
+ },
73
+ {
74
+ "indexed": false,
75
+ "internalType": "enum Enum.Operation",
76
+ "name": "operation",
77
+ "type": "uint8"
78
+ },
79
+ {
80
+ "indexed": false,
81
+ "internalType": "uint256",
82
+ "name": "safeTxGas",
83
+ "type": "uint256"
84
+ },
85
+ {
86
+ "indexed": false,
87
+ "internalType": "uint256",
88
+ "name": "baseGas",
89
+ "type": "uint256"
90
+ },
91
+ {
92
+ "indexed": false,
93
+ "internalType": "uint256",
94
+ "name": "gasPrice",
95
+ "type": "uint256"
96
+ },
97
+ {
98
+ "indexed": false,
99
+ "internalType": "address",
100
+ "name": "gasToken",
101
+ "type": "address"
102
+ },
103
+ {
104
+ "indexed": false,
105
+ "internalType": "address payable",
106
+ "name": "refundReceiver",
107
+ "type": "address"
108
+ },
109
+ {
110
+ "indexed": false,
111
+ "internalType": "bytes",
112
+ "name": "signatures",
113
+ "type": "bytes"
114
+ },
115
+ {
116
+ "indexed": false,
117
+ "internalType": "bytes",
118
+ "name": "additionalInfo",
119
+ "type": "bytes"
120
+ }
121
+ ],
122
+ "name": "SafeMultiSigTransaction",
123
+ "type": "event"
124
+ },
125
+ {
126
+ "anonymous": false,
127
+ "inputs": [
128
+ {
129
+ "indexed": true,
130
+ "internalType": "address",
131
+ "name": "initiator",
132
+ "type": "address"
133
+ },
134
+ {
135
+ "indexed": false,
136
+ "internalType": "address[]",
137
+ "name": "owners",
138
+ "type": "address[]"
139
+ },
140
+ {
141
+ "indexed": false,
142
+ "internalType": "uint256",
143
+ "name": "threshold",
144
+ "type": "uint256"
145
+ },
146
+ {
147
+ "indexed": false,
148
+ "internalType": "address",
149
+ "name": "initializer",
150
+ "type": "address"
151
+ },
152
+ {
153
+ "indexed": false,
154
+ "internalType": "address",
155
+ "name": "fallbackHandler",
156
+ "type": "address"
157
+ }
158
+ ],
159
+ "name": "SafeSetup",
160
+ "type": "event"
161
+ },
162
+ {
163
+ "inputs": [],
164
+ "name": "MIGRATION_SINGLETON",
165
+ "outputs": [
166
+ {
167
+ "internalType": "address",
168
+ "name": "",
169
+ "type": "address"
170
+ }
171
+ ],
172
+ "stateMutability": "view",
173
+ "type": "function"
174
+ },
175
+ {
176
+ "inputs": [
177
+ {
178
+ "internalType": "address",
179
+ "name": "l2Singleton",
180
+ "type": "address"
181
+ },
182
+ {
183
+ "internalType": "address",
184
+ "name": "fallbackHandler",
185
+ "type": "address"
186
+ }
187
+ ],
188
+ "name": "migrateFromV111",
189
+ "outputs": [],
190
+ "stateMutability": "nonpayable",
191
+ "type": "function"
192
+ },
193
+ {
194
+ "inputs": [
195
+ {
196
+ "internalType": "address",
197
+ "name": "l2Singleton",
198
+ "type": "address"
199
+ }
200
+ ],
201
+ "name": "migrateToL2",
202
+ "outputs": [],
203
+ "stateMutability": "nonpayable",
204
+ "type": "function"
205
+ }
206
+ ]
207
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "released": true,
3
+ "contractName": "SafeToL2Setup",
4
+ "version": "1.4.1",
5
+ "deployments": {
6
+ "canonical": {
7
+ "address": "0xBD89A1CE4DDe368FFAB0eC35506eEcE0b1fFdc54",
8
+ "codeHash": "0x2f25df28caf984366ee584e13241707e85dcd5a6ea0c14267928dafc1fd6274b"
9
+ }
10
+ },
11
+ "networkAddresses": {
12
+ "1": "canonical",
13
+ "10": "canonical",
14
+ "56": "canonical",
15
+ "100": "canonical",
16
+ "137": "canonical",
17
+ "196": "canonical",
18
+ "480": "canonical",
19
+ "1101": "canonical",
20
+ "1337": "canonical",
21
+ "5000": "canonical",
22
+ "8453": "canonical",
23
+ "42161": "canonical",
24
+ "42220": "canonical",
25
+ "43114": "canonical",
26
+ "59144": "canonical",
27
+ "81457": "canonical",
28
+ "84532": "canonical",
29
+ "534352": "canonical",
30
+ "11155111": "canonical",
31
+ "1313161554": "canonical"
32
+ },
33
+ "abi": [
34
+ {
35
+ "inputs": [],
36
+ "stateMutability": "nonpayable",
37
+ "type": "constructor"
38
+ },
39
+ {
40
+ "anonymous": false,
41
+ "inputs": [
42
+ {
43
+ "indexed": false,
44
+ "internalType": "address",
45
+ "name": "singleton",
46
+ "type": "address"
47
+ }
48
+ ],
49
+ "name": "ChangedMasterCopy",
50
+ "type": "event"
51
+ },
52
+ {
53
+ "inputs": [
54
+ {
55
+ "internalType": "address",
56
+ "name": "l2Singleton",
57
+ "type": "address"
58
+ }
59
+ ],
60
+ "name": "setupToL2",
61
+ "outputs": [],
62
+ "stateMutability": "nonpayable",
63
+ "type": "function"
64
+ }
65
+ ]
66
+ }
@@ -9,4 +9,7 @@ declare const _MULTI_SEND_DEPLOYMENTS: SingletonDeploymentJSON[];
9
9
  declare const _MULTI_SEND_CALL_ONLY_DEPLOYMENTS: SingletonDeploymentJSON[];
10
10
  declare const _CREATE_CALL_DEPLOYMENTS: SingletonDeploymentJSON[];
11
11
  declare const _SIGN_MESSAGE_LIB_DEPLOYMENTS: SingletonDeploymentJSON[];
12
- export { _ACCESSOR_DEPLOYMENTS, _FACTORY_DEPLOYMENTS, _DEFAULT_CALLBACK_HANDLER_DEPLOYMENTS, _COMPAT_FALLBACK_HANDLER_DEPLOYMENTS, _SAFE_DEPLOYMENTS, _SAFE_L2_DEPLOYMENTS, _MULTI_SEND_DEPLOYMENTS, _MULTI_SEND_CALL_ONLY_DEPLOYMENTS, _CREATE_CALL_DEPLOYMENTS, _SIGN_MESSAGE_LIB_DEPLOYMENTS, };
12
+ declare const _SAFE_MIGRATION_DEPLOYMENTS: SingletonDeploymentJSON[];
13
+ declare const _SAFE_TO_L2_MIGRATION_DEPLOYMENTS: SingletonDeploymentJSON[];
14
+ declare const _SAFE_TO_L2_SETUP_DEPLOYMENTS: SingletonDeploymentJSON[];
15
+ export { _ACCESSOR_DEPLOYMENTS, _FACTORY_DEPLOYMENTS, _DEFAULT_CALLBACK_HANDLER_DEPLOYMENTS, _COMPAT_FALLBACK_HANDLER_DEPLOYMENTS, _SAFE_DEPLOYMENTS, _SAFE_L2_DEPLOYMENTS, _MULTI_SEND_DEPLOYMENTS, _MULTI_SEND_CALL_ONLY_DEPLOYMENTS, _CREATE_CALL_DEPLOYMENTS, _SIGN_MESSAGE_LIB_DEPLOYMENTS, _SAFE_MIGRATION_DEPLOYMENTS, _SAFE_TO_L2_MIGRATION_DEPLOYMENTS, _SAFE_TO_L2_SETUP_DEPLOYMENTS, };
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports._SIGN_MESSAGE_LIB_DEPLOYMENTS = exports._CREATE_CALL_DEPLOYMENTS = exports._MULTI_SEND_CALL_ONLY_DEPLOYMENTS = exports._MULTI_SEND_DEPLOYMENTS = exports._SAFE_L2_DEPLOYMENTS = exports._SAFE_DEPLOYMENTS = exports._COMPAT_FALLBACK_HANDLER_DEPLOYMENTS = exports._DEFAULT_CALLBACK_HANDLER_DEPLOYMENTS = exports._FACTORY_DEPLOYMENTS = exports._ACCESSOR_DEPLOYMENTS = void 0;
6
+ exports._SAFE_TO_L2_SETUP_DEPLOYMENTS = exports._SAFE_TO_L2_MIGRATION_DEPLOYMENTS = exports._SAFE_MIGRATION_DEPLOYMENTS = exports._SIGN_MESSAGE_LIB_DEPLOYMENTS = exports._CREATE_CALL_DEPLOYMENTS = exports._MULTI_SEND_CALL_ONLY_DEPLOYMENTS = exports._MULTI_SEND_DEPLOYMENTS = exports._SAFE_L2_DEPLOYMENTS = exports._SAFE_DEPLOYMENTS = exports._COMPAT_FALLBACK_HANDLER_DEPLOYMENTS = exports._DEFAULT_CALLBACK_HANDLER_DEPLOYMENTS = exports._FACTORY_DEPLOYMENTS = exports._ACCESSOR_DEPLOYMENTS = void 0;
7
7
  // This is a file where all the deployments are consolidated
8
8
  // We do it in a separate file so we don't have to repeat comments about the array order and the type casting.
9
9
  // We use some specific types (like `AddressType`) in the `SingletonDeploymentJSON` type, but the TypeScript cannot infer that from the JSON files.
@@ -69,3 +69,12 @@ const sign_message_lib_json_1 = __importDefault(require("./assets/v1.3.0/sign_me
69
69
  const sign_message_lib_json_2 = __importDefault(require("./assets/v1.4.1/sign_message_lib.json"));
70
70
  const _SIGN_MESSAGE_LIB_DEPLOYMENTS = [sign_message_lib_json_2.default, sign_message_lib_json_1.default];
71
71
  exports._SIGN_MESSAGE_LIB_DEPLOYMENTS = _SIGN_MESSAGE_LIB_DEPLOYMENTS;
72
+ const safe_migration_json_1 = __importDefault(require("./assets/v1.4.1/safe_migration.json"));
73
+ const _SAFE_MIGRATION_DEPLOYMENTS = [safe_migration_json_1.default];
74
+ exports._SAFE_MIGRATION_DEPLOYMENTS = _SAFE_MIGRATION_DEPLOYMENTS;
75
+ const safe_to_l2_migration_json_1 = __importDefault(require("./assets/v1.4.1/safe_to_l2_migration.json"));
76
+ const _SAFE_TO_L2_MIGRATION_DEPLOYMENTS = [safe_to_l2_migration_json_1.default];
77
+ exports._SAFE_TO_L2_MIGRATION_DEPLOYMENTS = _SAFE_TO_L2_MIGRATION_DEPLOYMENTS;
78
+ const safe_to_l2_setup_json_1 = __importDefault(require("./assets/v1.4.1/safe_to_l2_setup.json"));
79
+ const _SAFE_TO_L2_SETUP_DEPLOYMENTS = [safe_to_l2_setup_json_1.default];
80
+ exports._SAFE_TO_L2_SETUP_DEPLOYMENTS = _SAFE_TO_L2_SETUP_DEPLOYMENTS;
package/dist/libs.d.ts CHANGED
@@ -47,3 +47,39 @@ export declare const getSignMessageLibDeployment: (filter?: DeploymentFilter) =>
47
47
  * @returns {SingletonDeploymentV2 | undefined} - The matched deployments or undefined if not found.
48
48
  */
49
49
  export declare const getSignMessageLibDeployments: (filter?: DeploymentFilter) => SingletonDeploymentV2 | undefined;
50
+ /**
51
+ * Get the SafeMigration deployment based on the provided filter.
52
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployment.
53
+ * @returns {SingletonDeployment | undefined} - The matched deployment or undefined if not found.
54
+ */
55
+ export declare const getSafeMigrationDeployment: (filter?: DeploymentFilter) => SingletonDeployment | undefined;
56
+ /**
57
+ * Get all SafeMigration deployments based on the provided filter.
58
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployments.
59
+ * @returns {SingletonDeploymentV2 | undefined} - The matched deployments or undefined if not found.
60
+ */
61
+ export declare const getSafeMigrationDeployments: (filter?: DeploymentFilter) => SingletonDeploymentV2 | undefined;
62
+ /**
63
+ * Get the SafeToL2Migration deployment based on the provided filter.
64
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployment.
65
+ * @returns {SingletonDeployment | undefined} - The matched deployment or undefined if not found.
66
+ */
67
+ export declare const getSafeToL2MigrationDeployment: (filter?: DeploymentFilter) => SingletonDeployment | undefined;
68
+ /**
69
+ * Get all SafeToL2Migration deployments based on the provided filter.
70
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployments.
71
+ * @returns {SingletonDeploymentV2 | undefined} - The matched deployments or undefined if not found.
72
+ */
73
+ export declare const getSafeToL2MigrationDeployments: (filter?: DeploymentFilter) => SingletonDeploymentV2 | undefined;
74
+ /**
75
+ * Get the SafeToL2Setup deployment based on the provided filter.
76
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployment.
77
+ * @returns {SingletonDeployment | undefined} - The matched deployment or undefined if not found.
78
+ */
79
+ export declare const getSafeToL2SetupDeployment: (filter?: DeploymentFilter) => SingletonDeployment | undefined;
80
+ /**
81
+ * Get all SafeToL2Setup deployments based on the provided filter.
82
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployments.
83
+ * @returns {SingletonDeploymentV2 | undefined} - The matched deployments or undefined if not found.
84
+ */
85
+ export declare const getSafeToL2SetupDeployments: (filter?: DeploymentFilter) => SingletonDeploymentV2 | undefined;
package/dist/libs.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getSignMessageLibDeployments = exports.getSignMessageLibDeployment = exports.getCreateCallDeployments = exports.getCreateCallDeployment = exports.getMultiSendCallOnlyDeployments = exports.getMultiSendCallOnlyDeployment = exports.getMultiSendDeployments = exports.getMultiSendDeployment = void 0;
3
+ exports.getSafeToL2SetupDeployments = exports.getSafeToL2SetupDeployment = exports.getSafeToL2MigrationDeployments = exports.getSafeToL2MigrationDeployment = exports.getSafeMigrationDeployments = exports.getSafeMigrationDeployment = exports.getSignMessageLibDeployments = exports.getSignMessageLibDeployment = exports.getCreateCallDeployments = exports.getCreateCallDeployment = exports.getMultiSendCallOnlyDeployments = exports.getMultiSendCallOnlyDeployment = exports.getMultiSendDeployments = exports.getMultiSendDeployment = void 0;
4
4
  const deployments_1 = require("./deployments");
5
5
  const utils_1 = require("./utils");
6
6
  /**
@@ -75,3 +75,57 @@ const getSignMessageLibDeployments = (filter) => {
75
75
  return (0, utils_1.findDeployment)(filter, deployments_1._SIGN_MESSAGE_LIB_DEPLOYMENTS, "multiple" /* DeploymentFormats.MULTIPLE */);
76
76
  };
77
77
  exports.getSignMessageLibDeployments = getSignMessageLibDeployments;
78
+ /**
79
+ * Get the SafeMigration deployment based on the provided filter.
80
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployment.
81
+ * @returns {SingletonDeployment | undefined} - The matched deployment or undefined if not found.
82
+ */
83
+ const getSafeMigrationDeployment = (filter) => {
84
+ return (0, utils_1.findDeployment)(filter, deployments_1._SAFE_MIGRATION_DEPLOYMENTS);
85
+ };
86
+ exports.getSafeMigrationDeployment = getSafeMigrationDeployment;
87
+ /**
88
+ * Get all SafeMigration deployments based on the provided filter.
89
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployments.
90
+ * @returns {SingletonDeploymentV2 | undefined} - The matched deployments or undefined if not found.
91
+ */
92
+ const getSafeMigrationDeployments = (filter) => {
93
+ return (0, utils_1.findDeployment)(filter, deployments_1._SAFE_MIGRATION_DEPLOYMENTS, "multiple" /* DeploymentFormats.MULTIPLE */);
94
+ };
95
+ exports.getSafeMigrationDeployments = getSafeMigrationDeployments;
96
+ /**
97
+ * Get the SafeToL2Migration deployment based on the provided filter.
98
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployment.
99
+ * @returns {SingletonDeployment | undefined} - The matched deployment or undefined if not found.
100
+ */
101
+ const getSafeToL2MigrationDeployment = (filter) => {
102
+ return (0, utils_1.findDeployment)(filter, deployments_1._SAFE_TO_L2_MIGRATION_DEPLOYMENTS);
103
+ };
104
+ exports.getSafeToL2MigrationDeployment = getSafeToL2MigrationDeployment;
105
+ /**
106
+ * Get all SafeToL2Migration deployments based on the provided filter.
107
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployments.
108
+ * @returns {SingletonDeploymentV2 | undefined} - The matched deployments or undefined if not found.
109
+ */
110
+ const getSafeToL2MigrationDeployments = (filter) => {
111
+ return (0, utils_1.findDeployment)(filter, deployments_1._SAFE_TO_L2_MIGRATION_DEPLOYMENTS, "multiple" /* DeploymentFormats.MULTIPLE */);
112
+ };
113
+ exports.getSafeToL2MigrationDeployments = getSafeToL2MigrationDeployments;
114
+ /**
115
+ * Get the SafeToL2Setup deployment based on the provided filter.
116
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployment.
117
+ * @returns {SingletonDeployment | undefined} - The matched deployment or undefined if not found.
118
+ */
119
+ const getSafeToL2SetupDeployment = (filter) => {
120
+ return (0, utils_1.findDeployment)(filter, deployments_1._SAFE_TO_L2_SETUP_DEPLOYMENTS);
121
+ };
122
+ exports.getSafeToL2SetupDeployment = getSafeToL2SetupDeployment;
123
+ /**
124
+ * Get all SafeToL2Setup deployments based on the provided filter.
125
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployments.
126
+ * @returns {SingletonDeploymentV2 | undefined} - The matched deployments or undefined if not found.
127
+ */
128
+ const getSafeToL2SetupDeployments = (filter) => {
129
+ return (0, utils_1.findDeployment)(filter, deployments_1._SAFE_TO_L2_SETUP_DEPLOYMENTS, "multiple" /* DeploymentFormats.MULTIPLE */);
130
+ };
131
+ exports.getSafeToL2SetupDeployments = getSafeToL2SetupDeployments;
package/dist/utils.js CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.findDeployment = void 0;
6
+ exports.findDeployment = findDeployment;
7
7
  const satisfies_1 = __importDefault(require("semver/functions/satisfies"));
8
8
  const DEFAULT_FILTER = { released: true };
9
9
  // The older JSON format had a `defaultAddress` field, which became obsolete due to EIP-155 enforcement and non-EVM compatible chains.
@@ -67,4 +67,3 @@ function findDeployment(criteria = DEFAULT_FILTER, deployments, format = "single
67
67
  return mapJsonToDeploymentsFormatV1(deploymentJson);
68
68
  }
69
69
  }
70
- exports.findDeployment = findDeployment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@safe-global/safe-deployments",
3
- "version": "1.37.9",
3
+ "version": "1.37.11",
4
4
  "description": "Collection of Safe singleton deployments",
5
5
  "homepage": "https://github.com/safe-global/safe-deployments/",
6
6
  "license": "MIT",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -81,6 +81,7 @@
81
81
  "324": "zksync",
82
82
  "336": ["canonical", "eip155"],
83
83
  "338": "eip155",
84
+ "360": "eip155",
84
85
  "369": "canonical",
85
86
  "388": "zksync",
86
87
  "420": "eip155",
@@ -178,6 +179,7 @@
178
179
  "10242": "eip155",
179
180
  "10243": "eip155",
180
181
  "10849": "canonical",
182
+ "11011": "eip155",
181
183
  "11111": "canonical",
182
184
  "11235": "canonical",
183
185
  "11437": "canonical",
@@ -15,6 +15,7 @@
15
15
  "100": "canonical",
16
16
  "137": "canonical",
17
17
  "196": "canonical",
18
+ "480": "canonical",
18
19
  "1101": "canonical",
19
20
  "1337": "canonical",
20
21
  "5000": "canonical",
@@ -15,6 +15,7 @@
15
15
  "100": "canonical",
16
16
  "137": "canonical",
17
17
  "196": "canonical",
18
+ "480": "canonical",
18
19
  "1101": "canonical",
19
20
  "1337": "canonical",
20
21
  "5000": "canonical",
@@ -15,6 +15,7 @@
15
15
  "100": "canonical",
16
16
  "137": "canonical",
17
17
  "196": "canonical",
18
+ "480": "canonical",
18
19
  "1101": "canonical",
19
20
  "1337": "canonical",
20
21
  "5000": "canonical",
@@ -76,6 +76,18 @@ import SignMessageLib141 from './assets/v1.4.1/sign_message_lib.json';
76
76
 
77
77
  const _SIGN_MESSAGE_LIB_DEPLOYMENTS = [SignMessageLib141, SignMessageLib130] as SingletonDeploymentJSON[];
78
78
 
79
+ import SafeMigration141 from './assets/v1.4.1/safe_migration.json';
80
+
81
+ const _SAFE_MIGRATION_DEPLOYMENTS = [SafeMigration141] as SingletonDeploymentJSON[];
82
+
83
+ import SafeToL2Migration141 from './assets/v1.4.1/safe_to_l2_migration.json';
84
+
85
+ const _SAFE_TO_L2_MIGRATION_DEPLOYMENTS = [SafeToL2Migration141] as SingletonDeploymentJSON[];
86
+
87
+ import SafeToL2Setup141 from './assets/v1.4.1/safe_to_l2_setup.json';
88
+
89
+ const _SAFE_TO_L2_SETUP_DEPLOYMENTS = [SafeToL2Setup141] as SingletonDeploymentJSON[];
90
+
79
91
  export {
80
92
  _ACCESSOR_DEPLOYMENTS,
81
93
  _FACTORY_DEPLOYMENTS,
@@ -87,4 +99,7 @@ export {
87
99
  _MULTI_SEND_CALL_ONLY_DEPLOYMENTS,
88
100
  _CREATE_CALL_DEPLOYMENTS,
89
101
  _SIGN_MESSAGE_LIB_DEPLOYMENTS,
102
+ _SAFE_MIGRATION_DEPLOYMENTS,
103
+ _SAFE_TO_L2_MIGRATION_DEPLOYMENTS,
104
+ _SAFE_TO_L2_SETUP_DEPLOYMENTS,
90
105
  };
package/src/libs.ts CHANGED
@@ -3,6 +3,9 @@ import {
3
3
  _MULTI_SEND_CALL_ONLY_DEPLOYMENTS,
4
4
  _MULTI_SEND_DEPLOYMENTS,
5
5
  _SIGN_MESSAGE_LIB_DEPLOYMENTS,
6
+ _SAFE_MIGRATION_DEPLOYMENTS,
7
+ _SAFE_TO_L2_MIGRATION_DEPLOYMENTS,
8
+ _SAFE_TO_L2_SETUP_DEPLOYMENTS,
6
9
  } from './deployments';
7
10
  import { DeploymentFilter, DeploymentFormats, SingletonDeployment, SingletonDeploymentV2 } from './types';
8
11
  import { findDeployment } from './utils';
@@ -78,3 +81,57 @@ export const getSignMessageLibDeployment = (filter?: DeploymentFilter): Singleto
78
81
  export const getSignMessageLibDeployments = (filter?: DeploymentFilter): SingletonDeploymentV2 | undefined => {
79
82
  return findDeployment(filter, _SIGN_MESSAGE_LIB_DEPLOYMENTS, DeploymentFormats.MULTIPLE);
80
83
  };
84
+
85
+ /**
86
+ * Get the SafeMigration deployment based on the provided filter.
87
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployment.
88
+ * @returns {SingletonDeployment | undefined} - The matched deployment or undefined if not found.
89
+ */
90
+ export const getSafeMigrationDeployment = (filter?: DeploymentFilter): SingletonDeployment | undefined => {
91
+ return findDeployment(filter, _SAFE_MIGRATION_DEPLOYMENTS);
92
+ };
93
+
94
+ /**
95
+ * Get all SafeMigration deployments based on the provided filter.
96
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployments.
97
+ * @returns {SingletonDeploymentV2 | undefined} - The matched deployments or undefined if not found.
98
+ */
99
+ export const getSafeMigrationDeployments = (filter?: DeploymentFilter): SingletonDeploymentV2 | undefined => {
100
+ return findDeployment(filter, _SAFE_MIGRATION_DEPLOYMENTS, DeploymentFormats.MULTIPLE);
101
+ };
102
+
103
+ /**
104
+ * Get the SafeToL2Migration deployment based on the provided filter.
105
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployment.
106
+ * @returns {SingletonDeployment | undefined} - The matched deployment or undefined if not found.
107
+ */
108
+ export const getSafeToL2MigrationDeployment = (filter?: DeploymentFilter): SingletonDeployment | undefined => {
109
+ return findDeployment(filter, _SAFE_TO_L2_MIGRATION_DEPLOYMENTS);
110
+ };
111
+
112
+ /**
113
+ * Get all SafeToL2Migration deployments based on the provided filter.
114
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployments.
115
+ * @returns {SingletonDeploymentV2 | undefined} - The matched deployments or undefined if not found.
116
+ */
117
+ export const getSafeToL2MigrationDeployments = (filter?: DeploymentFilter): SingletonDeploymentV2 | undefined => {
118
+ return findDeployment(filter, _SAFE_TO_L2_MIGRATION_DEPLOYMENTS, DeploymentFormats.MULTIPLE);
119
+ };
120
+
121
+ /**
122
+ * Get the SafeToL2Setup deployment based on the provided filter.
123
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployment.
124
+ * @returns {SingletonDeployment | undefined} - The matched deployment or undefined if not found.
125
+ */
126
+ export const getSafeToL2SetupDeployment = (filter?: DeploymentFilter): SingletonDeployment | undefined => {
127
+ return findDeployment(filter, _SAFE_TO_L2_SETUP_DEPLOYMENTS);
128
+ };
129
+
130
+ /**
131
+ * Get all SafeToL2Setup deployments based on the provided filter.
132
+ * @param {DeploymentFilter} [filter] - The filter criteria for the deployments.
133
+ * @returns {SingletonDeploymentV2 | undefined} - The matched deployments or undefined if not found.
134
+ */
135
+ export const getSafeToL2SetupDeployments = (filter?: DeploymentFilter): SingletonDeploymentV2 | undefined => {
136
+ return findDeployment(filter, _SAFE_TO_L2_SETUP_DEPLOYMENTS, DeploymentFormats.MULTIPLE);
137
+ };