@safe-global/safe-deployments 1.37.0 → 1.37.2

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 (112) hide show
  1. package/README.md +150 -31
  2. package/dist/accessors.d.ts +14 -1
  3. package/dist/accessors.js +19 -11
  4. package/dist/assets/v1.0.0/gnosis_safe.json +479 -103
  5. package/dist/assets/v1.0.0/proxy_factory.json +11 -6
  6. package/dist/assets/v1.1.1/default_callback_handler.json +14 -9
  7. package/dist/assets/v1.1.1/gnosis_safe.json +14 -9
  8. package/dist/assets/v1.1.1/multi_send.json +14 -9
  9. package/dist/assets/v1.1.1/proxy_factory.json +14 -9
  10. package/dist/assets/v1.2.0/gnosis_safe.json +14 -9
  11. package/dist/assets/v1.3.0/compatibility_fallback_handler.json +259 -235
  12. package/dist/assets/v1.3.0/create_call.json +259 -235
  13. package/dist/assets/v1.3.0/gnosis_safe.json +259 -235
  14. package/dist/assets/v1.3.0/gnosis_safe_l2.json +259 -235
  15. package/dist/assets/v1.3.0/multi_send.json +259 -235
  16. package/dist/assets/v1.3.0/multi_send_call_only.json +259 -235
  17. package/dist/assets/v1.3.0/proxy_factory.json +259 -235
  18. package/dist/assets/v1.3.0/sign_message_lib.json +260 -236
  19. package/dist/assets/v1.3.0/simulate_tx_accessor.json +259 -235
  20. package/dist/assets/v1.4.1/compatibility_fallback_handler.json +119 -108
  21. package/dist/assets/v1.4.1/create_call.json +119 -108
  22. package/dist/assets/v1.4.1/multi_send.json +119 -108
  23. package/dist/assets/v1.4.1/multi_send_call_only.json +119 -108
  24. package/dist/assets/v1.4.1/safe.json +119 -108
  25. package/dist/assets/v1.4.1/safe_l2.json +119 -108
  26. package/dist/assets/v1.4.1/safe_proxy_factory.json +120 -109
  27. package/dist/assets/v1.4.1/sign_message_lib.json +120 -109
  28. package/dist/assets/v1.4.1/simulate_tx_accessor.json +119 -108
  29. package/dist/deployments.d.ts +12 -0
  30. package/dist/deployments.js +71 -0
  31. package/dist/factories.d.ts +12 -1
  32. package/dist/factories.js +17 -13
  33. package/dist/handler.d.ts +29 -1
  34. package/dist/handler.js +55 -24
  35. package/dist/libs.d.ts +45 -1
  36. package/dist/libs.js +62 -32
  37. package/dist/safes.d.ts +23 -3
  38. package/dist/safes.js +32 -21
  39. package/dist/types.d.ts +37 -2
  40. package/dist/utils.d.ts +12 -2
  41. package/dist/utils.js +61 -9
  42. package/package.json +18 -19
  43. package/src/__tests__/assets/v1/v1.0.0/gnosis_safe.json +796 -0
  44. package/src/__tests__/assets/v1/v1.0.0/proxy_factory.json +111 -0
  45. package/src/__tests__/assets/v1/v1.1.1/create_and_add_modules.json +59 -0
  46. package/src/__tests__/assets/v1/v1.1.1/create_call.json +90 -0
  47. package/src/__tests__/assets/v1/v1.1.1/default_callback_handler.json +212 -0
  48. package/src/__tests__/assets/v1/v1.1.1/gnosis_safe.json +1001 -0
  49. package/src/__tests__/assets/v1/v1.1.1/multi_send.json +45 -0
  50. package/src/__tests__/assets/v1/v1.1.1/proxy_factory.json +191 -0
  51. package/src/__tests__/assets/v1/v1.2.0/gnosis_safe.json +1022 -0
  52. package/src/__tests__/assets/v1/v1.3.0/compatibility_fallback_handler.json +588 -0
  53. package/src/__tests__/assets/v1/v1.3.0/create_call.json +331 -0
  54. package/src/__tests__/assets/v1/v1.3.0/gnosis_safe.json +1296 -0
  55. package/src/__tests__/assets/v1/v1.3.0/gnosis_safe_l2.json +1401 -0
  56. package/src/__tests__/assets/v1/v1.3.0/multi_send.json +283 -0
  57. package/src/__tests__/assets/v1/v1.3.0/multi_send_call_only.json +278 -0
  58. package/src/__tests__/assets/v1/v1.3.0/proxy_factory.json +426 -0
  59. package/src/__tests__/assets/v1/v1.3.0/sign_message_lib.json +310 -0
  60. package/src/__tests__/assets/v1/v1.3.0/simulate_tx_accessor.json +314 -0
  61. package/src/__tests__/assets/v1/v1.4.1/compatibility_fallback_handler.json +447 -0
  62. package/src/__tests__/assets/v1/v1.4.1/create_call.json +192 -0
  63. package/src/__tests__/assets/v1/v1.4.1/multi_send.json +144 -0
  64. package/src/__tests__/assets/v1/v1.4.1/multi_send_call_only.json +139 -0
  65. package/src/__tests__/assets/v1/v1.4.1/safe.json +1123 -0
  66. package/src/__tests__/assets/v1/v1.4.1/safe_l2.json +1228 -0
  67. package/src/__tests__/assets/v1/v1.4.1/safe_proxy_factory.json +263 -0
  68. package/src/__tests__/assets/v1/v1.4.1/sign_message_lib.json +171 -0
  69. package/src/__tests__/assets/v1/v1.4.1/simulate_tx_accessor.json +175 -0
  70. package/src/__tests__/assets.test.ts +101 -38
  71. package/src/__tests__/factories.test.ts +3 -3
  72. package/src/__tests__/handler.test.ts +5 -5
  73. package/src/__tests__/libs.test.ts +9 -9
  74. package/src/__tests__/safes.test.ts +9 -12
  75. package/src/__tests__/utils.test.ts +421 -0
  76. package/src/accessors.ts +21 -12
  77. package/src/assets/v1.0.0/gnosis_safe.json +479 -103
  78. package/src/assets/v1.0.0/proxy_factory.json +11 -6
  79. package/src/assets/v1.1.1/create_and_add_modules.json +19 -10
  80. package/src/assets/v1.1.1/create_call.json +14 -9
  81. package/src/assets/v1.1.1/default_callback_handler.json +14 -9
  82. package/src/assets/v1.1.1/gnosis_safe.json +14 -9
  83. package/src/assets/v1.1.1/multi_send.json +14 -9
  84. package/src/assets/v1.1.1/proxy_factory.json +14 -9
  85. package/src/assets/v1.2.0/gnosis_safe.json +14 -9
  86. package/src/assets/v1.3.0/compatibility_fallback_handler.json +259 -235
  87. package/src/assets/v1.3.0/create_call.json +259 -235
  88. package/src/assets/v1.3.0/gnosis_safe.json +259 -235
  89. package/src/assets/v1.3.0/gnosis_safe_l2.json +259 -235
  90. package/src/assets/v1.3.0/multi_send.json +259 -235
  91. package/src/assets/v1.3.0/multi_send_call_only.json +259 -235
  92. package/src/assets/v1.3.0/proxy_factory.json +259 -235
  93. package/src/assets/v1.3.0/sign_message_lib.json +260 -236
  94. package/src/assets/v1.3.0/simulate_tx_accessor.json +259 -235
  95. package/src/assets/v1.4.1/compatibility_fallback_handler.json +119 -108
  96. package/src/assets/v1.4.1/create_call.json +119 -108
  97. package/src/assets/v1.4.1/multi_send.json +119 -108
  98. package/src/assets/v1.4.1/multi_send_call_only.json +119 -108
  99. package/src/assets/v1.4.1/safe.json +119 -108
  100. package/src/assets/v1.4.1/safe_l2.json +119 -108
  101. package/src/assets/v1.4.1/safe_proxy_factory.json +120 -109
  102. package/src/assets/v1.4.1/sign_message_lib.json +120 -109
  103. package/src/assets/v1.4.1/simulate_tx_accessor.json +119 -108
  104. package/src/deployments.ts +90 -0
  105. package/src/factories.ts +19 -14
  106. package/src/handler.ts +62 -26
  107. package/src/index.ts +6 -6
  108. package/src/libs.ts +69 -35
  109. package/src/safes.ts +34 -22
  110. package/src/types.ts +86 -10
  111. package/src/utils.ts +105 -12
  112. package/src/__tests__/utilts.test.ts +0 -385
@@ -0,0 +1,1228 @@
1
+ {
2
+ "defaultAddress": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
3
+ "released": true,
4
+ "contractName": "SafeL2",
5
+ "version": "1.4.1",
6
+ "deployments": {
7
+ "canonical": {
8
+ "address": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
9
+ "codeHash": "0xb1f926978a0f44a2c0ec8fe822418ae969bd8c3f18d61e5103100339894f81ff"
10
+ }
11
+ },
12
+ "networkAddresses": {
13
+ "1": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
14
+ "5": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
15
+ "10": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
16
+ "25": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
17
+ "31": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
18
+ "40": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
19
+ "41": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
20
+ "56": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
21
+ "71": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
22
+ "97": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
23
+ "100": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
24
+ "137": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
25
+ "155": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
26
+ "169": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
27
+ "250": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
28
+ "252": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
29
+ "255": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
30
+ "336": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
31
+ "338": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
32
+ "369": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
33
+ "530": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
34
+ "690": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
35
+ "919": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
36
+ "1030": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
37
+ "1101": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
38
+ "1111": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
39
+ "1112": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
40
+ "1135": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
41
+ "1284": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
42
+ "1285": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
43
+ "1287": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
44
+ "1329": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
45
+ "1337": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
46
+ "1442": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
47
+ "1625": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
48
+ "1729": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
49
+ "2000": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
50
+ "2039": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
51
+ "2358": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
52
+ "2810": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
53
+ "3636": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
54
+ "3776": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
55
+ "4002": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
56
+ "4157": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
57
+ "4202": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
58
+ "4337": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
59
+ "4653": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
60
+ "5000": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
61
+ "5003": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
62
+ "6001": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
63
+ "7000": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
64
+ "7001": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
65
+ "7171": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
66
+ "7560": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
67
+ "7771": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
68
+ "8192": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
69
+ "8194": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
70
+ "8453": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
71
+ "9001": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
72
+ "10242": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
73
+ "10243": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
74
+ "11235": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
75
+ "13337": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
76
+ "17000": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
77
+ "17069": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
78
+ "18233": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
79
+ "23294": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
80
+ "23295": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
81
+ "32769": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
82
+ "33101": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
83
+ "34443": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
84
+ "42161": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
85
+ "42220": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
86
+ "43114": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
87
+ "54211": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
88
+ "59140": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
89
+ "59141": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
90
+ "59144": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
91
+ "80001": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
92
+ "80085": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
93
+ "81457": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
94
+ "84531": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
95
+ "84532": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
96
+ "90001": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
97
+ "105105": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
98
+ "111188": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
99
+ "167000": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
100
+ "167009": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
101
+ "205205": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
102
+ "444444": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
103
+ "534351": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
104
+ "534352": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
105
+ "555666": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
106
+ "713715": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
107
+ "6038361": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
108
+ "7225878": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
109
+ "7777777": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
110
+ "11155111": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
111
+ "11155420": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
112
+ "94204209": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
113
+ "111557560": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
114
+ "123420111": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
115
+ "168587773": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
116
+ "666666666": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
117
+ "999999999": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
118
+ "1313161554": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
119
+ "1313161555": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
120
+ "1666600000": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
121
+ "1666700000": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
122
+ "88153591557": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762"
123
+ },
124
+ "abi": [
125
+ {
126
+ "anonymous": false,
127
+ "inputs": [
128
+ {
129
+ "indexed": true,
130
+ "internalType": "address",
131
+ "name": "owner",
132
+ "type": "address"
133
+ }
134
+ ],
135
+ "name": "AddedOwner",
136
+ "type": "event"
137
+ },
138
+ {
139
+ "anonymous": false,
140
+ "inputs": [
141
+ {
142
+ "indexed": true,
143
+ "internalType": "bytes32",
144
+ "name": "approvedHash",
145
+ "type": "bytes32"
146
+ },
147
+ {
148
+ "indexed": true,
149
+ "internalType": "address",
150
+ "name": "owner",
151
+ "type": "address"
152
+ }
153
+ ],
154
+ "name": "ApproveHash",
155
+ "type": "event"
156
+ },
157
+ {
158
+ "anonymous": false,
159
+ "inputs": [
160
+ {
161
+ "indexed": true,
162
+ "internalType": "address",
163
+ "name": "handler",
164
+ "type": "address"
165
+ }
166
+ ],
167
+ "name": "ChangedFallbackHandler",
168
+ "type": "event"
169
+ },
170
+ {
171
+ "anonymous": false,
172
+ "inputs": [
173
+ {
174
+ "indexed": true,
175
+ "internalType": "address",
176
+ "name": "guard",
177
+ "type": "address"
178
+ }
179
+ ],
180
+ "name": "ChangedGuard",
181
+ "type": "event"
182
+ },
183
+ {
184
+ "anonymous": false,
185
+ "inputs": [
186
+ {
187
+ "indexed": false,
188
+ "internalType": "uint256",
189
+ "name": "threshold",
190
+ "type": "uint256"
191
+ }
192
+ ],
193
+ "name": "ChangedThreshold",
194
+ "type": "event"
195
+ },
196
+ {
197
+ "anonymous": false,
198
+ "inputs": [
199
+ {
200
+ "indexed": true,
201
+ "internalType": "address",
202
+ "name": "module",
203
+ "type": "address"
204
+ }
205
+ ],
206
+ "name": "DisabledModule",
207
+ "type": "event"
208
+ },
209
+ {
210
+ "anonymous": false,
211
+ "inputs": [
212
+ {
213
+ "indexed": true,
214
+ "internalType": "address",
215
+ "name": "module",
216
+ "type": "address"
217
+ }
218
+ ],
219
+ "name": "EnabledModule",
220
+ "type": "event"
221
+ },
222
+ {
223
+ "anonymous": false,
224
+ "inputs": [
225
+ {
226
+ "indexed": true,
227
+ "internalType": "bytes32",
228
+ "name": "txHash",
229
+ "type": "bytes32"
230
+ },
231
+ {
232
+ "indexed": false,
233
+ "internalType": "uint256",
234
+ "name": "payment",
235
+ "type": "uint256"
236
+ }
237
+ ],
238
+ "name": "ExecutionFailure",
239
+ "type": "event"
240
+ },
241
+ {
242
+ "anonymous": false,
243
+ "inputs": [
244
+ {
245
+ "indexed": true,
246
+ "internalType": "address",
247
+ "name": "module",
248
+ "type": "address"
249
+ }
250
+ ],
251
+ "name": "ExecutionFromModuleFailure",
252
+ "type": "event"
253
+ },
254
+ {
255
+ "anonymous": false,
256
+ "inputs": [
257
+ {
258
+ "indexed": true,
259
+ "internalType": "address",
260
+ "name": "module",
261
+ "type": "address"
262
+ }
263
+ ],
264
+ "name": "ExecutionFromModuleSuccess",
265
+ "type": "event"
266
+ },
267
+ {
268
+ "anonymous": false,
269
+ "inputs": [
270
+ {
271
+ "indexed": true,
272
+ "internalType": "bytes32",
273
+ "name": "txHash",
274
+ "type": "bytes32"
275
+ },
276
+ {
277
+ "indexed": false,
278
+ "internalType": "uint256",
279
+ "name": "payment",
280
+ "type": "uint256"
281
+ }
282
+ ],
283
+ "name": "ExecutionSuccess",
284
+ "type": "event"
285
+ },
286
+ {
287
+ "anonymous": false,
288
+ "inputs": [
289
+ {
290
+ "indexed": true,
291
+ "internalType": "address",
292
+ "name": "owner",
293
+ "type": "address"
294
+ }
295
+ ],
296
+ "name": "RemovedOwner",
297
+ "type": "event"
298
+ },
299
+ {
300
+ "anonymous": false,
301
+ "inputs": [
302
+ {
303
+ "indexed": false,
304
+ "internalType": "address",
305
+ "name": "module",
306
+ "type": "address"
307
+ },
308
+ {
309
+ "indexed": false,
310
+ "internalType": "address",
311
+ "name": "to",
312
+ "type": "address"
313
+ },
314
+ {
315
+ "indexed": false,
316
+ "internalType": "uint256",
317
+ "name": "value",
318
+ "type": "uint256"
319
+ },
320
+ {
321
+ "indexed": false,
322
+ "internalType": "bytes",
323
+ "name": "data",
324
+ "type": "bytes"
325
+ },
326
+ {
327
+ "indexed": false,
328
+ "internalType": "enum Enum.Operation",
329
+ "name": "operation",
330
+ "type": "uint8"
331
+ }
332
+ ],
333
+ "name": "SafeModuleTransaction",
334
+ "type": "event"
335
+ },
336
+ {
337
+ "anonymous": false,
338
+ "inputs": [
339
+ {
340
+ "indexed": false,
341
+ "internalType": "address",
342
+ "name": "to",
343
+ "type": "address"
344
+ },
345
+ {
346
+ "indexed": false,
347
+ "internalType": "uint256",
348
+ "name": "value",
349
+ "type": "uint256"
350
+ },
351
+ {
352
+ "indexed": false,
353
+ "internalType": "bytes",
354
+ "name": "data",
355
+ "type": "bytes"
356
+ },
357
+ {
358
+ "indexed": false,
359
+ "internalType": "enum Enum.Operation",
360
+ "name": "operation",
361
+ "type": "uint8"
362
+ },
363
+ {
364
+ "indexed": false,
365
+ "internalType": "uint256",
366
+ "name": "safeTxGas",
367
+ "type": "uint256"
368
+ },
369
+ {
370
+ "indexed": false,
371
+ "internalType": "uint256",
372
+ "name": "baseGas",
373
+ "type": "uint256"
374
+ },
375
+ {
376
+ "indexed": false,
377
+ "internalType": "uint256",
378
+ "name": "gasPrice",
379
+ "type": "uint256"
380
+ },
381
+ {
382
+ "indexed": false,
383
+ "internalType": "address",
384
+ "name": "gasToken",
385
+ "type": "address"
386
+ },
387
+ {
388
+ "indexed": false,
389
+ "internalType": "address payable",
390
+ "name": "refundReceiver",
391
+ "type": "address"
392
+ },
393
+ {
394
+ "indexed": false,
395
+ "internalType": "bytes",
396
+ "name": "signatures",
397
+ "type": "bytes"
398
+ },
399
+ {
400
+ "indexed": false,
401
+ "internalType": "bytes",
402
+ "name": "additionalInfo",
403
+ "type": "bytes"
404
+ }
405
+ ],
406
+ "name": "SafeMultiSigTransaction",
407
+ "type": "event"
408
+ },
409
+ {
410
+ "anonymous": false,
411
+ "inputs": [
412
+ {
413
+ "indexed": true,
414
+ "internalType": "address",
415
+ "name": "sender",
416
+ "type": "address"
417
+ },
418
+ {
419
+ "indexed": false,
420
+ "internalType": "uint256",
421
+ "name": "value",
422
+ "type": "uint256"
423
+ }
424
+ ],
425
+ "name": "SafeReceived",
426
+ "type": "event"
427
+ },
428
+ {
429
+ "anonymous": false,
430
+ "inputs": [
431
+ {
432
+ "indexed": true,
433
+ "internalType": "address",
434
+ "name": "initiator",
435
+ "type": "address"
436
+ },
437
+ {
438
+ "indexed": false,
439
+ "internalType": "address[]",
440
+ "name": "owners",
441
+ "type": "address[]"
442
+ },
443
+ {
444
+ "indexed": false,
445
+ "internalType": "uint256",
446
+ "name": "threshold",
447
+ "type": "uint256"
448
+ },
449
+ {
450
+ "indexed": false,
451
+ "internalType": "address",
452
+ "name": "initializer",
453
+ "type": "address"
454
+ },
455
+ {
456
+ "indexed": false,
457
+ "internalType": "address",
458
+ "name": "fallbackHandler",
459
+ "type": "address"
460
+ }
461
+ ],
462
+ "name": "SafeSetup",
463
+ "type": "event"
464
+ },
465
+ {
466
+ "anonymous": false,
467
+ "inputs": [
468
+ {
469
+ "indexed": true,
470
+ "internalType": "bytes32",
471
+ "name": "msgHash",
472
+ "type": "bytes32"
473
+ }
474
+ ],
475
+ "name": "SignMsg",
476
+ "type": "event"
477
+ },
478
+ {
479
+ "stateMutability": "nonpayable",
480
+ "type": "fallback"
481
+ },
482
+ {
483
+ "inputs": [],
484
+ "name": "VERSION",
485
+ "outputs": [
486
+ {
487
+ "internalType": "string",
488
+ "name": "",
489
+ "type": "string"
490
+ }
491
+ ],
492
+ "stateMutability": "view",
493
+ "type": "function"
494
+ },
495
+ {
496
+ "inputs": [
497
+ {
498
+ "internalType": "address",
499
+ "name": "owner",
500
+ "type": "address"
501
+ },
502
+ {
503
+ "internalType": "uint256",
504
+ "name": "_threshold",
505
+ "type": "uint256"
506
+ }
507
+ ],
508
+ "name": "addOwnerWithThreshold",
509
+ "outputs": [],
510
+ "stateMutability": "nonpayable",
511
+ "type": "function"
512
+ },
513
+ {
514
+ "inputs": [
515
+ {
516
+ "internalType": "bytes32",
517
+ "name": "hashToApprove",
518
+ "type": "bytes32"
519
+ }
520
+ ],
521
+ "name": "approveHash",
522
+ "outputs": [],
523
+ "stateMutability": "nonpayable",
524
+ "type": "function"
525
+ },
526
+ {
527
+ "inputs": [
528
+ {
529
+ "internalType": "address",
530
+ "name": "",
531
+ "type": "address"
532
+ },
533
+ {
534
+ "internalType": "bytes32",
535
+ "name": "",
536
+ "type": "bytes32"
537
+ }
538
+ ],
539
+ "name": "approvedHashes",
540
+ "outputs": [
541
+ {
542
+ "internalType": "uint256",
543
+ "name": "",
544
+ "type": "uint256"
545
+ }
546
+ ],
547
+ "stateMutability": "view",
548
+ "type": "function"
549
+ },
550
+ {
551
+ "inputs": [
552
+ {
553
+ "internalType": "uint256",
554
+ "name": "_threshold",
555
+ "type": "uint256"
556
+ }
557
+ ],
558
+ "name": "changeThreshold",
559
+ "outputs": [],
560
+ "stateMutability": "nonpayable",
561
+ "type": "function"
562
+ },
563
+ {
564
+ "inputs": [
565
+ {
566
+ "internalType": "bytes32",
567
+ "name": "dataHash",
568
+ "type": "bytes32"
569
+ },
570
+ {
571
+ "internalType": "bytes",
572
+ "name": "data",
573
+ "type": "bytes"
574
+ },
575
+ {
576
+ "internalType": "bytes",
577
+ "name": "signatures",
578
+ "type": "bytes"
579
+ },
580
+ {
581
+ "internalType": "uint256",
582
+ "name": "requiredSignatures",
583
+ "type": "uint256"
584
+ }
585
+ ],
586
+ "name": "checkNSignatures",
587
+ "outputs": [],
588
+ "stateMutability": "view",
589
+ "type": "function"
590
+ },
591
+ {
592
+ "inputs": [
593
+ {
594
+ "internalType": "bytes32",
595
+ "name": "dataHash",
596
+ "type": "bytes32"
597
+ },
598
+ {
599
+ "internalType": "bytes",
600
+ "name": "data",
601
+ "type": "bytes"
602
+ },
603
+ {
604
+ "internalType": "bytes",
605
+ "name": "signatures",
606
+ "type": "bytes"
607
+ }
608
+ ],
609
+ "name": "checkSignatures",
610
+ "outputs": [],
611
+ "stateMutability": "view",
612
+ "type": "function"
613
+ },
614
+ {
615
+ "inputs": [
616
+ {
617
+ "internalType": "address",
618
+ "name": "prevModule",
619
+ "type": "address"
620
+ },
621
+ {
622
+ "internalType": "address",
623
+ "name": "module",
624
+ "type": "address"
625
+ }
626
+ ],
627
+ "name": "disableModule",
628
+ "outputs": [],
629
+ "stateMutability": "nonpayable",
630
+ "type": "function"
631
+ },
632
+ {
633
+ "inputs": [],
634
+ "name": "domainSeparator",
635
+ "outputs": [
636
+ {
637
+ "internalType": "bytes32",
638
+ "name": "",
639
+ "type": "bytes32"
640
+ }
641
+ ],
642
+ "stateMutability": "view",
643
+ "type": "function"
644
+ },
645
+ {
646
+ "inputs": [
647
+ {
648
+ "internalType": "address",
649
+ "name": "module",
650
+ "type": "address"
651
+ }
652
+ ],
653
+ "name": "enableModule",
654
+ "outputs": [],
655
+ "stateMutability": "nonpayable",
656
+ "type": "function"
657
+ },
658
+ {
659
+ "inputs": [
660
+ {
661
+ "internalType": "address",
662
+ "name": "to",
663
+ "type": "address"
664
+ },
665
+ {
666
+ "internalType": "uint256",
667
+ "name": "value",
668
+ "type": "uint256"
669
+ },
670
+ {
671
+ "internalType": "bytes",
672
+ "name": "data",
673
+ "type": "bytes"
674
+ },
675
+ {
676
+ "internalType": "enum Enum.Operation",
677
+ "name": "operation",
678
+ "type": "uint8"
679
+ },
680
+ {
681
+ "internalType": "uint256",
682
+ "name": "safeTxGas",
683
+ "type": "uint256"
684
+ },
685
+ {
686
+ "internalType": "uint256",
687
+ "name": "baseGas",
688
+ "type": "uint256"
689
+ },
690
+ {
691
+ "internalType": "uint256",
692
+ "name": "gasPrice",
693
+ "type": "uint256"
694
+ },
695
+ {
696
+ "internalType": "address",
697
+ "name": "gasToken",
698
+ "type": "address"
699
+ },
700
+ {
701
+ "internalType": "address",
702
+ "name": "refundReceiver",
703
+ "type": "address"
704
+ },
705
+ {
706
+ "internalType": "uint256",
707
+ "name": "_nonce",
708
+ "type": "uint256"
709
+ }
710
+ ],
711
+ "name": "encodeTransactionData",
712
+ "outputs": [
713
+ {
714
+ "internalType": "bytes",
715
+ "name": "",
716
+ "type": "bytes"
717
+ }
718
+ ],
719
+ "stateMutability": "view",
720
+ "type": "function"
721
+ },
722
+ {
723
+ "inputs": [
724
+ {
725
+ "internalType": "address",
726
+ "name": "to",
727
+ "type": "address"
728
+ },
729
+ {
730
+ "internalType": "uint256",
731
+ "name": "value",
732
+ "type": "uint256"
733
+ },
734
+ {
735
+ "internalType": "bytes",
736
+ "name": "data",
737
+ "type": "bytes"
738
+ },
739
+ {
740
+ "internalType": "enum Enum.Operation",
741
+ "name": "operation",
742
+ "type": "uint8"
743
+ },
744
+ {
745
+ "internalType": "uint256",
746
+ "name": "safeTxGas",
747
+ "type": "uint256"
748
+ },
749
+ {
750
+ "internalType": "uint256",
751
+ "name": "baseGas",
752
+ "type": "uint256"
753
+ },
754
+ {
755
+ "internalType": "uint256",
756
+ "name": "gasPrice",
757
+ "type": "uint256"
758
+ },
759
+ {
760
+ "internalType": "address",
761
+ "name": "gasToken",
762
+ "type": "address"
763
+ },
764
+ {
765
+ "internalType": "address payable",
766
+ "name": "refundReceiver",
767
+ "type": "address"
768
+ },
769
+ {
770
+ "internalType": "bytes",
771
+ "name": "signatures",
772
+ "type": "bytes"
773
+ }
774
+ ],
775
+ "name": "execTransaction",
776
+ "outputs": [
777
+ {
778
+ "internalType": "bool",
779
+ "name": "",
780
+ "type": "bool"
781
+ }
782
+ ],
783
+ "stateMutability": "payable",
784
+ "type": "function"
785
+ },
786
+ {
787
+ "inputs": [
788
+ {
789
+ "internalType": "address",
790
+ "name": "to",
791
+ "type": "address"
792
+ },
793
+ {
794
+ "internalType": "uint256",
795
+ "name": "value",
796
+ "type": "uint256"
797
+ },
798
+ {
799
+ "internalType": "bytes",
800
+ "name": "data",
801
+ "type": "bytes"
802
+ },
803
+ {
804
+ "internalType": "enum Enum.Operation",
805
+ "name": "operation",
806
+ "type": "uint8"
807
+ }
808
+ ],
809
+ "name": "execTransactionFromModule",
810
+ "outputs": [
811
+ {
812
+ "internalType": "bool",
813
+ "name": "success",
814
+ "type": "bool"
815
+ }
816
+ ],
817
+ "stateMutability": "nonpayable",
818
+ "type": "function"
819
+ },
820
+ {
821
+ "inputs": [
822
+ {
823
+ "internalType": "address",
824
+ "name": "to",
825
+ "type": "address"
826
+ },
827
+ {
828
+ "internalType": "uint256",
829
+ "name": "value",
830
+ "type": "uint256"
831
+ },
832
+ {
833
+ "internalType": "bytes",
834
+ "name": "data",
835
+ "type": "bytes"
836
+ },
837
+ {
838
+ "internalType": "enum Enum.Operation",
839
+ "name": "operation",
840
+ "type": "uint8"
841
+ }
842
+ ],
843
+ "name": "execTransactionFromModuleReturnData",
844
+ "outputs": [
845
+ {
846
+ "internalType": "bool",
847
+ "name": "success",
848
+ "type": "bool"
849
+ },
850
+ {
851
+ "internalType": "bytes",
852
+ "name": "returnData",
853
+ "type": "bytes"
854
+ }
855
+ ],
856
+ "stateMutability": "nonpayable",
857
+ "type": "function"
858
+ },
859
+ {
860
+ "inputs": [],
861
+ "name": "getChainId",
862
+ "outputs": [
863
+ {
864
+ "internalType": "uint256",
865
+ "name": "",
866
+ "type": "uint256"
867
+ }
868
+ ],
869
+ "stateMutability": "view",
870
+ "type": "function"
871
+ },
872
+ {
873
+ "inputs": [
874
+ {
875
+ "internalType": "address",
876
+ "name": "start",
877
+ "type": "address"
878
+ },
879
+ {
880
+ "internalType": "uint256",
881
+ "name": "pageSize",
882
+ "type": "uint256"
883
+ }
884
+ ],
885
+ "name": "getModulesPaginated",
886
+ "outputs": [
887
+ {
888
+ "internalType": "address[]",
889
+ "name": "array",
890
+ "type": "address[]"
891
+ },
892
+ {
893
+ "internalType": "address",
894
+ "name": "next",
895
+ "type": "address"
896
+ }
897
+ ],
898
+ "stateMutability": "view",
899
+ "type": "function"
900
+ },
901
+ {
902
+ "inputs": [],
903
+ "name": "getOwners",
904
+ "outputs": [
905
+ {
906
+ "internalType": "address[]",
907
+ "name": "",
908
+ "type": "address[]"
909
+ }
910
+ ],
911
+ "stateMutability": "view",
912
+ "type": "function"
913
+ },
914
+ {
915
+ "inputs": [
916
+ {
917
+ "internalType": "uint256",
918
+ "name": "offset",
919
+ "type": "uint256"
920
+ },
921
+ {
922
+ "internalType": "uint256",
923
+ "name": "length",
924
+ "type": "uint256"
925
+ }
926
+ ],
927
+ "name": "getStorageAt",
928
+ "outputs": [
929
+ {
930
+ "internalType": "bytes",
931
+ "name": "",
932
+ "type": "bytes"
933
+ }
934
+ ],
935
+ "stateMutability": "view",
936
+ "type": "function"
937
+ },
938
+ {
939
+ "inputs": [],
940
+ "name": "getThreshold",
941
+ "outputs": [
942
+ {
943
+ "internalType": "uint256",
944
+ "name": "",
945
+ "type": "uint256"
946
+ }
947
+ ],
948
+ "stateMutability": "view",
949
+ "type": "function"
950
+ },
951
+ {
952
+ "inputs": [
953
+ {
954
+ "internalType": "address",
955
+ "name": "to",
956
+ "type": "address"
957
+ },
958
+ {
959
+ "internalType": "uint256",
960
+ "name": "value",
961
+ "type": "uint256"
962
+ },
963
+ {
964
+ "internalType": "bytes",
965
+ "name": "data",
966
+ "type": "bytes"
967
+ },
968
+ {
969
+ "internalType": "enum Enum.Operation",
970
+ "name": "operation",
971
+ "type": "uint8"
972
+ },
973
+ {
974
+ "internalType": "uint256",
975
+ "name": "safeTxGas",
976
+ "type": "uint256"
977
+ },
978
+ {
979
+ "internalType": "uint256",
980
+ "name": "baseGas",
981
+ "type": "uint256"
982
+ },
983
+ {
984
+ "internalType": "uint256",
985
+ "name": "gasPrice",
986
+ "type": "uint256"
987
+ },
988
+ {
989
+ "internalType": "address",
990
+ "name": "gasToken",
991
+ "type": "address"
992
+ },
993
+ {
994
+ "internalType": "address",
995
+ "name": "refundReceiver",
996
+ "type": "address"
997
+ },
998
+ {
999
+ "internalType": "uint256",
1000
+ "name": "_nonce",
1001
+ "type": "uint256"
1002
+ }
1003
+ ],
1004
+ "name": "getTransactionHash",
1005
+ "outputs": [
1006
+ {
1007
+ "internalType": "bytes32",
1008
+ "name": "",
1009
+ "type": "bytes32"
1010
+ }
1011
+ ],
1012
+ "stateMutability": "view",
1013
+ "type": "function"
1014
+ },
1015
+ {
1016
+ "inputs": [
1017
+ {
1018
+ "internalType": "address",
1019
+ "name": "module",
1020
+ "type": "address"
1021
+ }
1022
+ ],
1023
+ "name": "isModuleEnabled",
1024
+ "outputs": [
1025
+ {
1026
+ "internalType": "bool",
1027
+ "name": "",
1028
+ "type": "bool"
1029
+ }
1030
+ ],
1031
+ "stateMutability": "view",
1032
+ "type": "function"
1033
+ },
1034
+ {
1035
+ "inputs": [
1036
+ {
1037
+ "internalType": "address",
1038
+ "name": "owner",
1039
+ "type": "address"
1040
+ }
1041
+ ],
1042
+ "name": "isOwner",
1043
+ "outputs": [
1044
+ {
1045
+ "internalType": "bool",
1046
+ "name": "",
1047
+ "type": "bool"
1048
+ }
1049
+ ],
1050
+ "stateMutability": "view",
1051
+ "type": "function"
1052
+ },
1053
+ {
1054
+ "inputs": [],
1055
+ "name": "nonce",
1056
+ "outputs": [
1057
+ {
1058
+ "internalType": "uint256",
1059
+ "name": "",
1060
+ "type": "uint256"
1061
+ }
1062
+ ],
1063
+ "stateMutability": "view",
1064
+ "type": "function"
1065
+ },
1066
+ {
1067
+ "inputs": [
1068
+ {
1069
+ "internalType": "address",
1070
+ "name": "prevOwner",
1071
+ "type": "address"
1072
+ },
1073
+ {
1074
+ "internalType": "address",
1075
+ "name": "owner",
1076
+ "type": "address"
1077
+ },
1078
+ {
1079
+ "internalType": "uint256",
1080
+ "name": "_threshold",
1081
+ "type": "uint256"
1082
+ }
1083
+ ],
1084
+ "name": "removeOwner",
1085
+ "outputs": [],
1086
+ "stateMutability": "nonpayable",
1087
+ "type": "function"
1088
+ },
1089
+ {
1090
+ "inputs": [
1091
+ {
1092
+ "internalType": "address",
1093
+ "name": "handler",
1094
+ "type": "address"
1095
+ }
1096
+ ],
1097
+ "name": "setFallbackHandler",
1098
+ "outputs": [],
1099
+ "stateMutability": "nonpayable",
1100
+ "type": "function"
1101
+ },
1102
+ {
1103
+ "inputs": [
1104
+ {
1105
+ "internalType": "address",
1106
+ "name": "guard",
1107
+ "type": "address"
1108
+ }
1109
+ ],
1110
+ "name": "setGuard",
1111
+ "outputs": [],
1112
+ "stateMutability": "nonpayable",
1113
+ "type": "function"
1114
+ },
1115
+ {
1116
+ "inputs": [
1117
+ {
1118
+ "internalType": "address[]",
1119
+ "name": "_owners",
1120
+ "type": "address[]"
1121
+ },
1122
+ {
1123
+ "internalType": "uint256",
1124
+ "name": "_threshold",
1125
+ "type": "uint256"
1126
+ },
1127
+ {
1128
+ "internalType": "address",
1129
+ "name": "to",
1130
+ "type": "address"
1131
+ },
1132
+ {
1133
+ "internalType": "bytes",
1134
+ "name": "data",
1135
+ "type": "bytes"
1136
+ },
1137
+ {
1138
+ "internalType": "address",
1139
+ "name": "fallbackHandler",
1140
+ "type": "address"
1141
+ },
1142
+ {
1143
+ "internalType": "address",
1144
+ "name": "paymentToken",
1145
+ "type": "address"
1146
+ },
1147
+ {
1148
+ "internalType": "uint256",
1149
+ "name": "payment",
1150
+ "type": "uint256"
1151
+ },
1152
+ {
1153
+ "internalType": "address payable",
1154
+ "name": "paymentReceiver",
1155
+ "type": "address"
1156
+ }
1157
+ ],
1158
+ "name": "setup",
1159
+ "outputs": [],
1160
+ "stateMutability": "nonpayable",
1161
+ "type": "function"
1162
+ },
1163
+ {
1164
+ "inputs": [
1165
+ {
1166
+ "internalType": "bytes32",
1167
+ "name": "",
1168
+ "type": "bytes32"
1169
+ }
1170
+ ],
1171
+ "name": "signedMessages",
1172
+ "outputs": [
1173
+ {
1174
+ "internalType": "uint256",
1175
+ "name": "",
1176
+ "type": "uint256"
1177
+ }
1178
+ ],
1179
+ "stateMutability": "view",
1180
+ "type": "function"
1181
+ },
1182
+ {
1183
+ "inputs": [
1184
+ {
1185
+ "internalType": "address",
1186
+ "name": "targetContract",
1187
+ "type": "address"
1188
+ },
1189
+ {
1190
+ "internalType": "bytes",
1191
+ "name": "calldataPayload",
1192
+ "type": "bytes"
1193
+ }
1194
+ ],
1195
+ "name": "simulateAndRevert",
1196
+ "outputs": [],
1197
+ "stateMutability": "nonpayable",
1198
+ "type": "function"
1199
+ },
1200
+ {
1201
+ "inputs": [
1202
+ {
1203
+ "internalType": "address",
1204
+ "name": "prevOwner",
1205
+ "type": "address"
1206
+ },
1207
+ {
1208
+ "internalType": "address",
1209
+ "name": "oldOwner",
1210
+ "type": "address"
1211
+ },
1212
+ {
1213
+ "internalType": "address",
1214
+ "name": "newOwner",
1215
+ "type": "address"
1216
+ }
1217
+ ],
1218
+ "name": "swapOwner",
1219
+ "outputs": [],
1220
+ "stateMutability": "nonpayable",
1221
+ "type": "function"
1222
+ },
1223
+ {
1224
+ "stateMutability": "payable",
1225
+ "type": "receive"
1226
+ }
1227
+ ]
1228
+ }