@across-protocol/contracts 0.1.0 → 0.1.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.
Files changed (228) hide show
  1. package/build/artfacts.json +342 -0
  2. package/contract-types/ethers/AVMBridgeDepositBox.ts +780 -0
  3. package/contract-types/ethers/AVMCrossDomainEnabled.ts +75 -0
  4. package/contract-types/ethers/AccessControl.ts +353 -0
  5. package/contract-types/ethers/AddressWhitelistInterface.ts +184 -0
  6. package/contract-types/ethers/ArbSys.ts +354 -0
  7. package/contract-types/ethers/ArbitrumBridgeMock.ts +159 -0
  8. package/contract-types/ethers/ArbitrumCrossDomainEnabled.ts +74 -0
  9. package/contract-types/ethers/ArbitrumInboxMock.ts +155 -0
  10. package/contract-types/ethers/ArbitrumMessenger.ts +297 -0
  11. package/contract-types/ethers/ArbitrumOutboxMock.ts +80 -0
  12. package/contract-types/ethers/ArbitrumParentMessenger.ts +1028 -0
  13. package/contract-types/ethers/Bridge.ts +1537 -0
  14. package/contract-types/ethers/BridgeAdmin.ts +1011 -0
  15. package/contract-types/ethers/BridgeAdminInterface.ts +409 -0
  16. package/contract-types/ethers/BridgeDepositBox.ts +557 -0
  17. package/contract-types/ethers/BridgeDepositBoxMock.ts +739 -0
  18. package/contract-types/ethers/BridgePool.ts +1741 -0
  19. package/contract-types/ethers/BridgePoolInterface.ts +173 -0
  20. package/contract-types/ethers/BridgePoolProd.ts +1741 -0
  21. package/contract-types/ethers/CrossDomainEnabled.ts +74 -0
  22. package/contract-types/ethers/ERC165.ts +95 -0
  23. package/contract-types/ethers/ERC20.ts +410 -0
  24. package/contract-types/ethers/FinderInterface.ts +136 -0
  25. package/contract-types/ethers/FxBaseChildTunnel.ts +185 -0
  26. package/contract-types/ethers/FxBaseRootTunnel.ts +234 -0
  27. package/contract-types/ethers/FxChildMock.ts +182 -0
  28. package/contract-types/ethers/FxRootMock.ts +159 -0
  29. package/contract-types/ethers/GenericHandler.ts +502 -0
  30. package/contract-types/ethers/IAccessControl.ts +235 -0
  31. package/contract-types/ethers/IArbitrumInbox.ts +155 -0
  32. package/contract-types/ethers/IArbitrumOutbox.ts +80 -0
  33. package/contract-types/ethers/IBridge.ts +126 -0
  34. package/contract-types/ethers/ICheckpointManager.ts +120 -0
  35. package/contract-types/ethers/ICrossDomainMessenger.ts +189 -0
  36. package/contract-types/ethers/IDepositExecute.ts +154 -0
  37. package/contract-types/ethers/IERC165.ts +95 -0
  38. package/contract-types/ethers/IERC20.ts +293 -0
  39. package/contract-types/ethers/IERC20Metadata.ts +332 -0
  40. package/contract-types/ethers/IERCHandler.ts +175 -0
  41. package/contract-types/ethers/IFxMessageProcessor.ts +108 -0
  42. package/contract-types/ethers/IFxStateSender.ts +102 -0
  43. package/contract-types/ethers/IGenericHandler.ts +112 -0
  44. package/contract-types/ethers/IL2ERC20Bridge.ts +350 -0
  45. package/contract-types/ethers/IOVMCrossDomainMessenger.ts +164 -0
  46. package/contract-types/ethers/IStateReceiver.ts +103 -0
  47. package/contract-types/ethers/IStateSender.ts +99 -0
  48. package/contract-types/ethers/IdentifierWhitelistInterface.ts +165 -0
  49. package/contract-types/ethers/Lockable.ts +50 -0
  50. package/contract-types/ethers/MessengerInterface.ts +136 -0
  51. package/contract-types/ethers/MessengerMock.ts +160 -0
  52. package/contract-types/ethers/MultiCaller.ts +91 -0
  53. package/contract-types/ethers/OVMBridgeDepositBox.ts +751 -0
  54. package/contract-types/ethers/OVMCrossDomainEnabled.ts +74 -0
  55. package/contract-types/ethers/OVML1CrossDomainMessengerMock.ts +190 -0
  56. package/contract-types/ethers/OVMOETHBridgeDepositBox.ts +783 -0
  57. package/contract-types/ethers/OptimismMessenger.ts +245 -0
  58. package/contract-types/ethers/OptimismWrapper.ts +264 -0
  59. package/contract-types/ethers/OptimisticOracleConstraints.ts +82 -0
  60. package/contract-types/ethers/OptimisticOracleInterface.ts +804 -0
  61. package/contract-types/ethers/OracleInterfaces.ts +235 -0
  62. package/contract-types/ethers/Ownable.ts +158 -0
  63. package/contract-types/ethers/ParentMessengerBase.ts +554 -0
  64. package/contract-types/ethers/ParentMessengerConsumerInterface.ts +104 -0
  65. package/contract-types/ethers/ParentMessengerInterface.ts +116 -0
  66. package/contract-types/ethers/Pausable.ts +94 -0
  67. package/contract-types/ethers/SkinnyOptimisticOracleInterface.ts +727 -0
  68. package/contract-types/ethers/StandardBridgeLike.ts +113 -0
  69. package/contract-types/ethers/StateSyncMock.ts +122 -0
  70. package/contract-types/ethers/StoreInterface.ts +228 -0
  71. package/contract-types/ethers/Testable.ts +136 -0
  72. package/contract-types/ethers/Timer.ts +117 -0
  73. package/contract-types/ethers/TokenLike.ts +88 -0
  74. package/contract-types/ethers/WETH9Like.ts +138 -0
  75. package/contract-types/ethers/common.ts +44 -0
  76. package/contract-types/ethers/factories/AVMBridgeDepositBox__factory.ts +649 -0
  77. package/contract-types/ethers/factories/AVMCrossDomainEnabled__factory.ts +61 -0
  78. package/contract-types/ethers/factories/AccessControl__factory.ts +227 -0
  79. package/contract-types/ethers/factories/AddressWhitelistInterface__factory.ts +88 -0
  80. package/contract-types/ethers/factories/ArbSys__factory.ts +244 -0
  81. package/contract-types/ethers/factories/ArbitrumBridgeMock__factory.ts +118 -0
  82. package/contract-types/ethers/factories/ArbitrumCrossDomainEnabled__factory.ts +43 -0
  83. package/contract-types/ethers/factories/ArbitrumInboxMock__factory.ts +128 -0
  84. package/contract-types/ethers/factories/ArbitrumMessenger__factory.ts +243 -0
  85. package/contract-types/ethers/factories/ArbitrumOutboxMock__factory.ts +74 -0
  86. package/contract-types/ethers/factories/ArbitrumParentMessenger__factory.ts +680 -0
  87. package/contract-types/ethers/factories/BridgeAdminInterface__factory.ts +338 -0
  88. package/contract-types/ethers/factories/BridgeAdmin__factory.ts +737 -0
  89. package/contract-types/ethers/factories/BridgeDepositBoxMock__factory.ts +591 -0
  90. package/contract-types/ethers/factories/BridgeDepositBox__factory.ts +406 -0
  91. package/contract-types/ethers/factories/BridgePoolInterface__factory.ts +78 -0
  92. package/contract-types/ethers/factories/BridgePoolProd__factory.ts +1798 -0
  93. package/contract-types/ethers/factories/BridgePool__factory.ts +1795 -0
  94. package/contract-types/ethers/factories/Bridge__factory.ts +1094 -0
  95. package/contract-types/ethers/factories/CrossDomainEnabled__factory.ts +90 -0
  96. package/contract-types/ethers/factories/ERC165__factory.ts +39 -0
  97. package/contract-types/ethers/factories/ERC20__factory.ts +345 -0
  98. package/contract-types/ethers/factories/FinderInterface__factory.ts +63 -0
  99. package/contract-types/ethers/factories/FxBaseChildTunnel__factory.ts +101 -0
  100. package/contract-types/ethers/factories/FxBaseRootTunnel__factory.ts +123 -0
  101. package/contract-types/ethers/factories/FxChildMock__factory.ts +153 -0
  102. package/contract-types/ethers/factories/FxRootMock__factory.ts +128 -0
  103. package/contract-types/ethers/factories/GenericHandler__factory.ts +395 -0
  104. package/contract-types/ethers/factories/IAccessControl__factory.ts +123 -0
  105. package/contract-types/ethers/factories/IArbitrumInbox__factory.ts +93 -0
  106. package/contract-types/ethers/factories/IArbitrumOutbox__factory.ts +39 -0
  107. package/contract-types/ethers/factories/IBridge__factory.ts +59 -0
  108. package/contract-types/ethers/factories/ICheckpointManager__factory.ts +100 -0
  109. package/contract-types/ethers/factories/ICrossDomainMessenger__factory.ts +129 -0
  110. package/contract-types/ethers/factories/IDepositExecute__factory.ts +77 -0
  111. package/contract-types/ethers/factories/IERC165__factory.ts +42 -0
  112. package/contract-types/ethers/factories/IERC20Metadata__factory.ts +248 -0
  113. package/contract-types/ethers/factories/IERC20__factory.ts +203 -0
  114. package/contract-types/ethers/factories/IERCHandler__factory.ts +77 -0
  115. package/contract-types/ethers/factories/IFxMessageProcessor__factory.ts +49 -0
  116. package/contract-types/ethers/factories/IFxStateSender__factory.ts +44 -0
  117. package/contract-types/ethers/factories/IGenericHandler__factory.ts +54 -0
  118. package/contract-types/ethers/factories/IL2ERC20Bridge__factory.ts +267 -0
  119. package/contract-types/ethers/factories/IOVMCrossDomainMessenger__factory.ts +105 -0
  120. package/contract-types/ethers/factories/IStateReceiver__factory.ts +44 -0
  121. package/contract-types/ethers/factories/IStateSender__factory.ts +41 -0
  122. package/contract-types/ethers/factories/IdentifierWhitelistInterface__factory.ts +75 -0
  123. package/contract-types/ethers/factories/Lockable__factory.ts +63 -0
  124. package/contract-types/ethers/factories/MessengerInterface__factory.ts +69 -0
  125. package/contract-types/ethers/factories/MessengerMock__factory.ts +132 -0
  126. package/contract-types/ethers/factories/MultiCaller__factory.ts +77 -0
  127. package/contract-types/ethers/factories/OVMBridgeDepositBox__factory.ts +609 -0
  128. package/contract-types/ethers/factories/OVMCrossDomainEnabled__factory.ts +94 -0
  129. package/contract-types/ethers/factories/OVML1CrossDomainMessengerMock__factory.ts +166 -0
  130. package/contract-types/ethers/factories/OVMOETHBridgeDepositBox__factory.ts +665 -0
  131. package/contract-types/ethers/factories/OptimismMessenger__factory.ts +185 -0
  132. package/contract-types/ethers/factories/OptimismWrapper__factory.ts +200 -0
  133. package/contract-types/ethers/factories/OptimisticOracleConstraints__factory.ts +80 -0
  134. package/contract-types/ethers/factories/OptimisticOracleInterface__factory.ts +574 -0
  135. package/contract-types/ethers/factories/OracleInterfaces__factory.ts +191 -0
  136. package/contract-types/ethers/factories/Ownable__factory.ts +75 -0
  137. package/contract-types/ethers/factories/ParentMessengerBase__factory.ts +312 -0
  138. package/contract-types/ethers/factories/ParentMessengerConsumerInterface__factory.ts +50 -0
  139. package/contract-types/ethers/factories/ParentMessengerInterface__factory.ts +56 -0
  140. package/contract-types/ethers/factories/Pausable__factory.ts +62 -0
  141. package/contract-types/ethers/factories/SkinnyOptimisticOracleInterface__factory.ts +874 -0
  142. package/contract-types/ethers/factories/StandardBridgeLike__factory.ts +60 -0
  143. package/contract-types/ethers/factories/StateSyncMock__factory.ts +101 -0
  144. package/contract-types/ethers/factories/StoreInterface__factory.ts +139 -0
  145. package/contract-types/ethers/factories/Testable__factory.ts +62 -0
  146. package/contract-types/ethers/factories/Timer__factory.ts +86 -0
  147. package/contract-types/ethers/factories/TokenLike__factory.ts +42 -0
  148. package/contract-types/ethers/factories/WETH9Like__factory.ts +67 -0
  149. package/contract-types/ethers/hardhat.d.ts +798 -0
  150. package/contract-types/ethers/index.ts +150 -0
  151. package/contract-types/web3/AVM_BridgeDepositBox.ts +269 -0
  152. package/contract-types/web3/AVM_CrossDomainEnabled.ts +62 -0
  153. package/contract-types/web3/AccessControl.ts +127 -0
  154. package/contract-types/web3/AddressWhitelistInterface.ts +43 -0
  155. package/contract-types/web3/ArbSys.ts +112 -0
  156. package/contract-types/web3/Arbitrum_BridgeMock.ts +46 -0
  157. package/contract-types/web3/Arbitrum_CrossDomainEnabled.ts +37 -0
  158. package/contract-types/web3/Arbitrum_InboxMock.ts +48 -0
  159. package/contract-types/web3/Arbitrum_Messenger.ts +106 -0
  160. package/contract-types/web3/Arbitrum_OutboxMock.ts +37 -0
  161. package/contract-types/web3/Arbitrum_ParentMessenger.ts +348 -0
  162. package/contract-types/web3/Bridge.ts +401 -0
  163. package/contract-types/web3/BridgeAdmin.ts +357 -0
  164. package/contract-types/web3/BridgeAdminInterface.ts +265 -0
  165. package/contract-types/web3/BridgeDepositBox.ts +203 -0
  166. package/contract-types/web3/BridgeDepositBoxMock.ts +241 -0
  167. package/contract-types/web3/BridgePool.ts +520 -0
  168. package/contract-types/web3/BridgePoolInterface.ts +47 -0
  169. package/contract-types/web3/BridgePoolProd.ts +520 -0
  170. package/contract-types/web3/CrossDomainEnabled.ts +37 -0
  171. package/contract-types/web3/ERC165.ts +39 -0
  172. package/contract-types/web3/ERC20.ts +105 -0
  173. package/contract-types/web3/FinderInterface.ts +44 -0
  174. package/contract-types/web3/FxBaseChildTunnel.ts +65 -0
  175. package/contract-types/web3/FxBaseRootTunnel.ts +53 -0
  176. package/contract-types/web3/FxChildMock.ts +68 -0
  177. package/contract-types/web3/FxRootMock.ts +46 -0
  178. package/contract-types/web3/GenericHandler.ts +94 -0
  179. package/contract-types/web3/IAccessControl.ts +57 -0
  180. package/contract-types/web3/IBridge.ts +43 -0
  181. package/contract-types/web3/ICheckpointManager.ts +48 -0
  182. package/contract-types/web3/ICrossDomainMessenger.ts +103 -0
  183. package/contract-types/web3/IDepositExecute.ts +48 -0
  184. package/contract-types/web3/IERC165.ts +39 -0
  185. package/contract-types/web3/IERC20.ts +89 -0
  186. package/contract-types/web3/IERC20Metadata.ts +95 -0
  187. package/contract-types/web3/IERCHandler.ts +48 -0
  188. package/contract-types/web3/IFxMessageProcessor.ts +41 -0
  189. package/contract-types/web3/IFxStateSender.ts +40 -0
  190. package/contract-types/web3/IGenericHandler.ts +42 -0
  191. package/contract-types/web3/IL2ERC20Bridge.ts +143 -0
  192. package/contract-types/web3/IStateReceiver.ts +40 -0
  193. package/contract-types/web3/IStateSender.ts +40 -0
  194. package/contract-types/web3/IdentifierWhitelistInterface.ts +47 -0
  195. package/contract-types/web3/Lockable.ts +35 -0
  196. package/contract-types/web3/MessengerInterface.ts +45 -0
  197. package/contract-types/web3/MessengerMock.ts +69 -0
  198. package/contract-types/web3/MultiCaller.ts +37 -0
  199. package/contract-types/web3/OVM_BridgeDepositBox.ts +243 -0
  200. package/contract-types/web3/OVM_CrossDomainEnabled.ts +37 -0
  201. package/contract-types/web3/OVM_L1CrossDomainMessengerMock.ts +103 -0
  202. package/contract-types/web3/OVM_OETH_BridgeDepositBox.ts +247 -0
  203. package/contract-types/web3/Optimism_Messenger.ts +73 -0
  204. package/contract-types/web3/Optimism_Wrapper.ts +86 -0
  205. package/contract-types/web3/OptimisticOracleConstraints.ts +37 -0
  206. package/contract-types/web3/OptimisticOracleInterface.ts +151 -0
  207. package/contract-types/web3/OracleInterfaces.ts +55 -0
  208. package/contract-types/web3/Ownable.ts +61 -0
  209. package/contract-types/web3/ParentMessengerBase.ts +178 -0
  210. package/contract-types/web3/ParentMessengerConsumerInterface.ts +40 -0
  211. package/contract-types/web3/ParentMessengerInterface.ts +41 -0
  212. package/contract-types/web3/Pausable.ts +58 -0
  213. package/contract-types/web3/SkinnyOptimisticOracleInterface.ts +213 -0
  214. package/contract-types/web3/StandardBridgeLike.ts +42 -0
  215. package/contract-types/web3/StateSyncMock.ts +62 -0
  216. package/contract-types/web3/StoreInterface.ts +55 -0
  217. package/contract-types/web3/Testable.ts +43 -0
  218. package/contract-types/web3/Timer.ts +41 -0
  219. package/contract-types/web3/TokenLike.ts +37 -0
  220. package/contract-types/web3/WETH9Like.ts +44 -0
  221. package/contract-types/web3/iArbitrum_Inbox.ts +48 -0
  222. package/contract-types/web3/iArbitrum_Outbox.ts +37 -0
  223. package/contract-types/web3/iOVM_CrossDomainMessenger.ts +95 -0
  224. package/contract-types/web3/types.ts +73 -0
  225. package/networks/1.json +33 -0
  226. package/networks/10.json +6 -0
  227. package/networks/42161.json +6 -0
  228. package/package.json +12 -5
@@ -0,0 +1,737 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import {
5
+ Signer,
6
+ utils,
7
+ Contract,
8
+ ContractFactory,
9
+ Overrides,
10
+ BytesLike,
11
+ BigNumberish,
12
+ } from "ethers";
13
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
14
+ import type { BridgeAdmin, BridgeAdminInterface } from "../BridgeAdmin";
15
+
16
+ const _abi = [
17
+ {
18
+ inputs: [
19
+ {
20
+ internalType: "address",
21
+ name: "_finder",
22
+ type: "address",
23
+ },
24
+ {
25
+ internalType: "uint32",
26
+ name: "_optimisticOracleLiveness",
27
+ type: "uint32",
28
+ },
29
+ {
30
+ internalType: "uint64",
31
+ name: "_proposerBondPct",
32
+ type: "uint64",
33
+ },
34
+ {
35
+ internalType: "bytes32",
36
+ name: "_identifier",
37
+ type: "bytes32",
38
+ },
39
+ ],
40
+ stateMutability: "nonpayable",
41
+ type: "constructor",
42
+ },
43
+ {
44
+ anonymous: false,
45
+ inputs: [
46
+ {
47
+ indexed: false,
48
+ internalType: "address[]",
49
+ name: "bridgePools",
50
+ type: "address[]",
51
+ },
52
+ {
53
+ indexed: true,
54
+ internalType: "address",
55
+ name: "newAdmin",
56
+ type: "address",
57
+ },
58
+ ],
59
+ name: "BridgePoolsAdminTransferred",
60
+ type: "event",
61
+ },
62
+ {
63
+ anonymous: false,
64
+ inputs: [
65
+ {
66
+ indexed: true,
67
+ internalType: "uint256",
68
+ name: "chainId",
69
+ type: "uint256",
70
+ },
71
+ {
72
+ indexed: true,
73
+ internalType: "address",
74
+ name: "l2Token",
75
+ type: "address",
76
+ },
77
+ {
78
+ indexed: false,
79
+ internalType: "bool",
80
+ name: "depositsEnabled",
81
+ type: "bool",
82
+ },
83
+ ],
84
+ name: "DepositsEnabled",
85
+ type: "event",
86
+ },
87
+ {
88
+ anonymous: false,
89
+ inputs: [
90
+ {
91
+ indexed: true,
92
+ internalType: "address",
93
+ name: "previousOwner",
94
+ type: "address",
95
+ },
96
+ {
97
+ indexed: true,
98
+ internalType: "address",
99
+ name: "newOwner",
100
+ type: "address",
101
+ },
102
+ ],
103
+ name: "OwnershipTransferred",
104
+ type: "event",
105
+ },
106
+ {
107
+ anonymous: false,
108
+ inputs: [
109
+ {
110
+ indexed: true,
111
+ internalType: "uint256",
112
+ name: "chainId",
113
+ type: "uint256",
114
+ },
115
+ {
116
+ indexed: true,
117
+ internalType: "address",
118
+ name: "newAdmin",
119
+ type: "address",
120
+ },
121
+ ],
122
+ name: "SetCrossDomainAdmin",
123
+ type: "event",
124
+ },
125
+ {
126
+ anonymous: false,
127
+ inputs: [
128
+ {
129
+ indexed: true,
130
+ internalType: "uint256",
131
+ name: "chainId",
132
+ type: "uint256",
133
+ },
134
+ {
135
+ indexed: true,
136
+ internalType: "address",
137
+ name: "l2DepositContract",
138
+ type: "address",
139
+ },
140
+ {
141
+ indexed: true,
142
+ internalType: "address",
143
+ name: "l2MessengerContract",
144
+ type: "address",
145
+ },
146
+ ],
147
+ name: "SetDepositContracts",
148
+ type: "event",
149
+ },
150
+ {
151
+ anonymous: false,
152
+ inputs: [
153
+ {
154
+ indexed: true,
155
+ internalType: "address",
156
+ name: "bridgePool",
157
+ type: "address",
158
+ },
159
+ {
160
+ indexed: false,
161
+ internalType: "uint64",
162
+ name: "newLpFeeRatePerSecond",
163
+ type: "uint64",
164
+ },
165
+ ],
166
+ name: "SetLpFeeRate",
167
+ type: "event",
168
+ },
169
+ {
170
+ anonymous: false,
171
+ inputs: [
172
+ {
173
+ indexed: true,
174
+ internalType: "uint256",
175
+ name: "chainId",
176
+ type: "uint256",
177
+ },
178
+ {
179
+ indexed: false,
180
+ internalType: "uint64",
181
+ name: "newMinimumBridgingDelay",
182
+ type: "uint64",
183
+ },
184
+ ],
185
+ name: "SetMinimumBridgingDelay",
186
+ type: "event",
187
+ },
188
+ {
189
+ anonymous: false,
190
+ inputs: [
191
+ {
192
+ indexed: true,
193
+ internalType: "uint32",
194
+ name: "liveness",
195
+ type: "uint32",
196
+ },
197
+ ],
198
+ name: "SetOptimisticOracleLiveness",
199
+ type: "event",
200
+ },
201
+ {
202
+ anonymous: false,
203
+ inputs: [
204
+ {
205
+ indexed: true,
206
+ internalType: "uint64",
207
+ name: "proposerBondPct",
208
+ type: "uint64",
209
+ },
210
+ ],
211
+ name: "SetProposerBondPct",
212
+ type: "event",
213
+ },
214
+ {
215
+ anonymous: false,
216
+ inputs: [
217
+ {
218
+ indexed: true,
219
+ internalType: "bytes32",
220
+ name: "identifier",
221
+ type: "bytes32",
222
+ },
223
+ ],
224
+ name: "SetRelayIdentifier",
225
+ type: "event",
226
+ },
227
+ {
228
+ anonymous: false,
229
+ inputs: [
230
+ {
231
+ indexed: false,
232
+ internalType: "uint256",
233
+ name: "chainId",
234
+ type: "uint256",
235
+ },
236
+ {
237
+ indexed: true,
238
+ internalType: "address",
239
+ name: "l1Token",
240
+ type: "address",
241
+ },
242
+ {
243
+ indexed: true,
244
+ internalType: "address",
245
+ name: "l2Token",
246
+ type: "address",
247
+ },
248
+ {
249
+ indexed: true,
250
+ internalType: "address",
251
+ name: "bridgePool",
252
+ type: "address",
253
+ },
254
+ ],
255
+ name: "WhitelistToken",
256
+ type: "event",
257
+ },
258
+ {
259
+ inputs: [
260
+ {
261
+ internalType: "uint256",
262
+ name: "chainId",
263
+ type: "uint256",
264
+ },
265
+ ],
266
+ name: "depositContracts",
267
+ outputs: [
268
+ {
269
+ components: [
270
+ {
271
+ internalType: "address",
272
+ name: "depositContract",
273
+ type: "address",
274
+ },
275
+ {
276
+ internalType: "address",
277
+ name: "messengerContract",
278
+ type: "address",
279
+ },
280
+ ],
281
+ internalType: "struct BridgeAdminInterface.DepositUtilityContracts",
282
+ name: "",
283
+ type: "tuple",
284
+ },
285
+ ],
286
+ stateMutability: "view",
287
+ type: "function",
288
+ },
289
+ {
290
+ inputs: [],
291
+ name: "finder",
292
+ outputs: [
293
+ {
294
+ internalType: "address",
295
+ name: "",
296
+ type: "address",
297
+ },
298
+ ],
299
+ stateMutability: "view",
300
+ type: "function",
301
+ },
302
+ {
303
+ inputs: [],
304
+ name: "identifier",
305
+ outputs: [
306
+ {
307
+ internalType: "bytes32",
308
+ name: "",
309
+ type: "bytes32",
310
+ },
311
+ ],
312
+ stateMutability: "view",
313
+ type: "function",
314
+ },
315
+ {
316
+ inputs: [],
317
+ name: "optimisticOracleLiveness",
318
+ outputs: [
319
+ {
320
+ internalType: "uint32",
321
+ name: "",
322
+ type: "uint32",
323
+ },
324
+ ],
325
+ stateMutability: "view",
326
+ type: "function",
327
+ },
328
+ {
329
+ inputs: [],
330
+ name: "owner",
331
+ outputs: [
332
+ {
333
+ internalType: "address",
334
+ name: "",
335
+ type: "address",
336
+ },
337
+ ],
338
+ stateMutability: "view",
339
+ type: "function",
340
+ },
341
+ {
342
+ inputs: [],
343
+ name: "proposerBondPct",
344
+ outputs: [
345
+ {
346
+ internalType: "uint64",
347
+ name: "",
348
+ type: "uint64",
349
+ },
350
+ ],
351
+ stateMutability: "view",
352
+ type: "function",
353
+ },
354
+ {
355
+ inputs: [],
356
+ name: "renounceOwnership",
357
+ outputs: [],
358
+ stateMutability: "nonpayable",
359
+ type: "function",
360
+ },
361
+ {
362
+ inputs: [
363
+ {
364
+ internalType: "uint256",
365
+ name: "chainId",
366
+ type: "uint256",
367
+ },
368
+ {
369
+ internalType: "address",
370
+ name: "admin",
371
+ type: "address",
372
+ },
373
+ {
374
+ internalType: "uint256",
375
+ name: "l1CallValue",
376
+ type: "uint256",
377
+ },
378
+ {
379
+ internalType: "uint256",
380
+ name: "l2Gas",
381
+ type: "uint256",
382
+ },
383
+ {
384
+ internalType: "uint256",
385
+ name: "l2GasPrice",
386
+ type: "uint256",
387
+ },
388
+ {
389
+ internalType: "uint256",
390
+ name: "maxSubmissionCost",
391
+ type: "uint256",
392
+ },
393
+ ],
394
+ name: "setCrossDomainAdmin",
395
+ outputs: [],
396
+ stateMutability: "payable",
397
+ type: "function",
398
+ },
399
+ {
400
+ inputs: [
401
+ {
402
+ internalType: "uint256",
403
+ name: "chainId",
404
+ type: "uint256",
405
+ },
406
+ {
407
+ internalType: "address",
408
+ name: "depositContract",
409
+ type: "address",
410
+ },
411
+ {
412
+ internalType: "address",
413
+ name: "messengerContract",
414
+ type: "address",
415
+ },
416
+ ],
417
+ name: "setDepositContract",
418
+ outputs: [],
419
+ stateMutability: "nonpayable",
420
+ type: "function",
421
+ },
422
+ {
423
+ inputs: [
424
+ {
425
+ internalType: "uint256",
426
+ name: "chainId",
427
+ type: "uint256",
428
+ },
429
+ {
430
+ internalType: "address",
431
+ name: "l1Token",
432
+ type: "address",
433
+ },
434
+ {
435
+ internalType: "bool",
436
+ name: "depositsEnabled",
437
+ type: "bool",
438
+ },
439
+ {
440
+ internalType: "uint256",
441
+ name: "l1CallValue",
442
+ type: "uint256",
443
+ },
444
+ {
445
+ internalType: "uint256",
446
+ name: "l2Gas",
447
+ type: "uint256",
448
+ },
449
+ {
450
+ internalType: "uint256",
451
+ name: "l2GasPrice",
452
+ type: "uint256",
453
+ },
454
+ {
455
+ internalType: "uint256",
456
+ name: "maxSubmissionCost",
457
+ type: "uint256",
458
+ },
459
+ ],
460
+ name: "setEnableDepositsAndRelays",
461
+ outputs: [],
462
+ stateMutability: "payable",
463
+ type: "function",
464
+ },
465
+ {
466
+ inputs: [
467
+ {
468
+ internalType: "bytes32",
469
+ name: "_identifier",
470
+ type: "bytes32",
471
+ },
472
+ ],
473
+ name: "setIdentifier",
474
+ outputs: [],
475
+ stateMutability: "nonpayable",
476
+ type: "function",
477
+ },
478
+ {
479
+ inputs: [
480
+ {
481
+ internalType: "address",
482
+ name: "bridgePool",
483
+ type: "address",
484
+ },
485
+ {
486
+ internalType: "uint64",
487
+ name: "newLpFeeRate",
488
+ type: "uint64",
489
+ },
490
+ ],
491
+ name: "setLpFeeRatePerSecond",
492
+ outputs: [],
493
+ stateMutability: "nonpayable",
494
+ type: "function",
495
+ },
496
+ {
497
+ inputs: [
498
+ {
499
+ internalType: "uint256",
500
+ name: "chainId",
501
+ type: "uint256",
502
+ },
503
+ {
504
+ internalType: "uint64",
505
+ name: "minimumBridgingDelay",
506
+ type: "uint64",
507
+ },
508
+ {
509
+ internalType: "uint256",
510
+ name: "l1CallValue",
511
+ type: "uint256",
512
+ },
513
+ {
514
+ internalType: "uint256",
515
+ name: "l2Gas",
516
+ type: "uint256",
517
+ },
518
+ {
519
+ internalType: "uint256",
520
+ name: "l2GasPrice",
521
+ type: "uint256",
522
+ },
523
+ {
524
+ internalType: "uint256",
525
+ name: "maxSubmissionCost",
526
+ type: "uint256",
527
+ },
528
+ ],
529
+ name: "setMinimumBridgingDelay",
530
+ outputs: [],
531
+ stateMutability: "payable",
532
+ type: "function",
533
+ },
534
+ {
535
+ inputs: [
536
+ {
537
+ internalType: "uint32",
538
+ name: "liveness",
539
+ type: "uint32",
540
+ },
541
+ ],
542
+ name: "setOptimisticOracleLiveness",
543
+ outputs: [],
544
+ stateMutability: "nonpayable",
545
+ type: "function",
546
+ },
547
+ {
548
+ inputs: [
549
+ {
550
+ internalType: "uint64",
551
+ name: "_proposerBondPct",
552
+ type: "uint64",
553
+ },
554
+ ],
555
+ name: "setProposerBondPct",
556
+ outputs: [],
557
+ stateMutability: "nonpayable",
558
+ type: "function",
559
+ },
560
+ {
561
+ inputs: [
562
+ {
563
+ internalType: "address[]",
564
+ name: "bridgePools",
565
+ type: "address[]",
566
+ },
567
+ {
568
+ internalType: "address",
569
+ name: "newAdmin",
570
+ type: "address",
571
+ },
572
+ ],
573
+ name: "transferBridgePoolAdmin",
574
+ outputs: [],
575
+ stateMutability: "nonpayable",
576
+ type: "function",
577
+ },
578
+ {
579
+ inputs: [
580
+ {
581
+ internalType: "address",
582
+ name: "newOwner",
583
+ type: "address",
584
+ },
585
+ ],
586
+ name: "transferOwnership",
587
+ outputs: [],
588
+ stateMutability: "nonpayable",
589
+ type: "function",
590
+ },
591
+ {
592
+ inputs: [
593
+ {
594
+ internalType: "uint256",
595
+ name: "chainId",
596
+ type: "uint256",
597
+ },
598
+ {
599
+ internalType: "address",
600
+ name: "l1Token",
601
+ type: "address",
602
+ },
603
+ {
604
+ internalType: "address",
605
+ name: "l2Token",
606
+ type: "address",
607
+ },
608
+ {
609
+ internalType: "address",
610
+ name: "bridgePool",
611
+ type: "address",
612
+ },
613
+ {
614
+ internalType: "uint256",
615
+ name: "l1CallValue",
616
+ type: "uint256",
617
+ },
618
+ {
619
+ internalType: "uint256",
620
+ name: "l2Gas",
621
+ type: "uint256",
622
+ },
623
+ {
624
+ internalType: "uint256",
625
+ name: "l2GasPrice",
626
+ type: "uint256",
627
+ },
628
+ {
629
+ internalType: "uint256",
630
+ name: "maxSubmissionCost",
631
+ type: "uint256",
632
+ },
633
+ ],
634
+ name: "whitelistToken",
635
+ outputs: [],
636
+ stateMutability: "payable",
637
+ type: "function",
638
+ },
639
+ {
640
+ inputs: [
641
+ {
642
+ internalType: "address",
643
+ name: "l1Token",
644
+ type: "address",
645
+ },
646
+ {
647
+ internalType: "uint256",
648
+ name: "chainId",
649
+ type: "uint256",
650
+ },
651
+ ],
652
+ name: "whitelistedTokens",
653
+ outputs: [
654
+ {
655
+ internalType: "address",
656
+ name: "l2Token",
657
+ type: "address",
658
+ },
659
+ {
660
+ internalType: "address",
661
+ name: "bridgePool",
662
+ type: "address",
663
+ },
664
+ ],
665
+ stateMutability: "view",
666
+ type: "function",
667
+ },
668
+ ];
669
+
670
+ const _bytecode =
671
+ "0x60806040523480156200001157600080fd5b5060405162002f6138038062002f61833981016040819052620000349162000492565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b1916600160a01b178155600180546001600160a01b0387166001600160a01b0319909116179055620000af62000128565b6001600160a01b03161415620000fd5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b2103334b73232b960911b60448201526064015b60405180910390fd5b6200010883620001ce565b6200011382620002ba565b6200011e8162000316565b5050505062000545565b6001546040516302abf57960e61b81527f436f6c6c61746572616c57686974656c6973740000000000000000000000000060048201526000916001600160a01b03169063aafd5e40906024015b60206040518083038186803b1580156200018e57600080fd5b505afa158015620001a3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c99190620004fc565b905090565b63bb7448008163ffffffff16106200021e5760405162461bcd60e51b81526020600482015260126024820152714c6976656e65737320746f6f206c6172676560701b6044820152606401620000f4565b60008163ffffffff1611620002765760405162461bcd60e51b815260206004820152601460248201527f4c6976656e6573732063616e6e6f7420626520300000000000000000000000006044820152606401620000f4565b6004805463ffffffff191663ffffffff83169081179091556040517f18c2dabb108f62fad5fa139a7313bd221f388dc0b09727624af21ddfcf76cbaa90600090a250565b60048054600160201b600160601b0319166401000000006001600160401b0384811682029290921792839055604051920416907facfe7e537e15ef4781402154351bc868c74852d83f3cc95d570a290b2c5a4f9990600090a250565b6200032062000423565b6001600160a01b03166390978d1b826040518263ffffffff1660e01b81526004016200034e91815260200190565b60206040518083038186803b1580156200036757600080fd5b505afa1580156200037c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003a2919062000521565b620003f05760405162461bcd60e51b815260206004820152601960248201527f4964656e746966696572206e6f742072656769737465726564000000000000006044820152606401620000f4565b600581905560405181907f4b924bf6f3485cd9c93a9734e5916e32005eb2f8af99b1f14b2cc1d2ee04dac990600090a250565b6001546040516302abf57960e61b81527f4964656e74696669657257686974656c6973740000000000000000000000000060048201526000916001600160a01b03169063aafd5e409060240162000175565b80516001600160a01b03811681146200048d57600080fd5b919050565b60008060008060808587031215620004a957600080fd5b620004b48562000475565b9350602085015163ffffffff81168114620004ce57600080fd5b60408601519093506001600160401b0381168114620004ec57600080fd5b6060959095015193969295505050565b6000602082840312156200050f57600080fd5b6200051a8262000475565b9392505050565b6000602082840312156200053457600080fd5b815180151581146200051a57600080fd5b612a0c80620005556000396000f3fe6080604052600436106101435760003560e01c80638da5cb5b116100c0578063b9a3c84c11610074578063bfdb388211610059578063bfdb388214610463578063c73a32c314610476578063f2fde38b146104b857600080fd5b8063b9a3c84c146103a7578063bf06c19a146103d457600080fd5b806394bdf812116100a557806394bdf81214610347578063aae3863e14610367578063b09158501461038757600080fd5b80638da5cb5b146102e8578063934441271461033457600080fd5b806363e463f4116101175780637998a1c4116100fc5780637998a1c4146102095780637d726c751461022d5780637eb4fa731461024057600080fd5b806363e463f4146101d4578063715018a6146101f457600080fd5b8062c99206146101485780630a69da281461016a578063173684c51461017d57806350a7c20e146101b4575b600080fd5b34801561015457600080fd5b5061016861016336600461241e565b6104d8565b005b610168610178366004612469565b6105e3565b34801561018957600080fd5b5060045461019a9063ffffffff1681565b60405163ffffffff90911681526020015b60405180910390f35b3480156101c057600080fd5b506101686101cf3660046124e8565b6108aa565b3480156101e057600080fd5b506101686101ef3660046125dd565b610abb565b34801561020057600080fd5b50610168610b7a565b34801561021557600080fd5b5061021f60055481565b6040519081526020016101ab565b61016861023b366004612622565b610c6a565b34801561024c57600080fd5b506102b461025b36600461241e565b6040805180820190915260008082526020820152506000908152600260209081526040918290208251808401909352805473ffffffffffffffffffffffffffffffffffffffff9081168452600190910154169082015290565b60408051825173ffffffffffffffffffffffffffffffffffffffff90811682526020938401511692810192909252016101ab565b3480156102f457600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101ab565b61016861034236600461264b565b610eaf565b34801561035357600080fd5b506101686103623660046126c2565b611502565b34801561037357600080fd5b506101686103823660046126f7565b611693565b34801561039357600080fd5b506101686103a2366004612739565b61182b565b3480156103b357600080fd5b5060015461030f9073ffffffffffffffffffffffffffffffffffffffff1681565b3480156103e057600080fd5b506104366103ef366004612754565b73ffffffffffffffffffffffffffffffffffffffff918216600081815260036020818152604080842095845285825283205493909252905260019091015490821692911690565b6040805173ffffffffffffffffffffffffffffffffffffffff9384168152929091166020830152016101ab565b61016861047136600461278e565b6118ea565b34801561048257600080fd5b5060045461049f90640100000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020016101ab565b3480156104c457600080fd5b506101686104d33660046127f3565b611bfe565b60005473ffffffffffffffffffffffffffffffffffffffff16331461055e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b610566611daf565b610593600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b61059c81611e35565b6105e0600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b60008681526002602052604090208054600190910154879161069f9173ffffffffffffffffffffffffffffffffffffffff9182169116611f60565b6106a7611daf565b6106d4600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b73ffffffffffffffffffffffffffffffffffffffff8616610751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f41646d696e2063616e6e6f74206265207a65726f2061646472657373000000006044820152606401610555565b6000878152600260205260409081902060018101549054915173ffffffffffffffffffffffffffffffffffffffff898116602483015261081a939281169289929116903390899089908990604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fde7eba7800000000000000000000000000000000000000000000000000000000179052612026565b60405173ffffffffffffffffffffffffffffffffffffffff87169088907fedd8c3ef4433a93a0049a93cb3e6003b2909b8c337b716e016f73d9264d0575f90600090a36108a1600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b50505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461092b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b610933611daf565b610960600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b60005b82518160ff161015610a2457828160ff168151811061098457610984612810565b60209081029190910101516040517f8f28397000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015290911690638f28397090602401600060405180830381600087803b1580156109f957600080fd5b505af1158015610a0d573d6000803e3d6000fd5b505050508080610a1c9061283f565b915050610963565b508073ffffffffffffffffffffffffffffffffffffffff167fb602b0c040b1aa5c1117626e1f378f960b43fa9dddccaffdc88591092acc9cf483604051610a6b9190612886565b60405180910390a2610ab7600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b5050565b60005473ffffffffffffffffffffffffffffffffffffffff163314610b3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b610b44611daf565b610b71600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b61059c8161212b565b60005473ffffffffffffffffffffffffffffffffffffffff163314610bfb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610ceb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b600086815260026020526040902080546001909101548791610d269173ffffffffffffffffffffffffffffffffffffffff9182169116611f60565b610d2e611daf565b610d5b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b6000878152600260205260409081902060018101549054915167ffffffffffffffff89166024820152610e2c9273ffffffffffffffffffffffffffffffffffffffff9283169289929116903390899089908990604401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f2ec35b3100000000000000000000000000000000000000000000000000000000179052612026565b60405167ffffffffffffffff8716815287907f9c10783ffe02b4c29472a26771187a113643b69290dab9b0c7f00ad0aff416f19060200160405180910390a26108a1600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b60005473ffffffffffffffffffffffffffffffffffffffff163314610f30576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b600088815260026020526040902080546001909101548991610f6b9173ffffffffffffffffffffffffffffffffffffffff9182169116611f60565b610f73611daf565b610fa0600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b73ffffffffffffffffffffffffffffffffffffffff8616611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f427269646765506f6f6c2063616e6e6f74206265207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610555565b73ffffffffffffffffffffffffffffffffffffffff87166110c0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4c3220746f6b656e2063616e6e6f74206265207a65726f2061646472657373006044820152606401610555565b6110c861226d565b6040517f3a3ab67200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8a811660048301529190911690633a3ab6729060240160206040518083038186803b15801561113157600080fd5b505afa158015611145573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116991906128e0565b6111cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4c31546f6b656e20746f6b656e206e6f742077686974656c69737465640000006044820152606401610555565b8773ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1663c01e1bd66040518163ffffffff1660e01b815260040160206040518083038186803b15801561122c57600080fd5b505afa158015611240573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126491906128fd565b73ffffffffffffffffffffffffffffffffffffffff1614611307576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f42726964676520706f6f6c2068617320646966666572656e74204c3120746f6b60448201527f656e0000000000000000000000000000000000000000000000000000000000006064820152608401610555565b73ffffffffffffffffffffffffffffffffffffffff80891660008181526003602090815260408083208e845280835281842080548e88167fffffffffffffffffffffffff00000000000000000000000000000000000000009182168117909255600192830180548f8a1692168217905560029094529382902090810154905491516024810195909552604485019390935260648401919091526114359391821692899291909116903390899089908990608401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f4dedca2800000000000000000000000000000000000000000000000000000000179052612026565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167f4d34491ed5d9114c52a094ed7004a670e7bcd518f930c86d9a72d9811dc986838c6040516114ab91815260200190565b60405180910390a46114f7600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b505050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b61158b611daf565b6115b8600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b6040517f27f224ca00000000000000000000000000000000000000000000000000000000815267ffffffffffffffff8216600482015273ffffffffffffffffffffffffffffffffffffffff8316906327f224ca90602401600060405180830381600087803b15801561162957600080fd5b505af115801561163d573d6000803e3d6000fd5b505060405167ffffffffffffffff8416815273ffffffffffffffffffffffffffffffffffffffff851692507f2379a780c43dc12faf76871501e88b35e33155b1918b7e8787e8173938a68e6c9150602001610a6b565b60005473ffffffffffffffffffffffffffffffffffffffff163314611714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b61171c611daf565b611749600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b6117538282611f60565b600083815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff8087167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316811784556001909301805491871691909216811790915591519192909186917fa701872361de9bbd7f10a5f5c82ccfe3bf4a8d585403ab897afa655244534f3691a4611826600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146118ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b6118b4611daf565b6118e1600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b61059c81612335565b60005473ffffffffffffffffffffffffffffffffffffffff16331461196b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b6000878152600260205260409020805460019091015488916119a69173ffffffffffffffffffffffffffffffffffffffff9182169116611f60565b6119ae611daf565b6119db600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff169055565b73ffffffffffffffffffffffffffffffffffffffff878116600090815260036020526040908190206001015490517f08ed5b1400000000000000000000000000000000000000000000000000000000815288151560048201529116906308ed5b1490602401600060405180830381600087803b158015611a5a57600080fd5b505af1158015611a6e573d6000803e3d6000fd5b50505073ffffffffffffffffffffffffffffffffffffffff80891660009081526003602090815260408083208d8452825280832054600290925291829020600181015490549251918416602483018190528b151560448401529450611b5c93908116928a9291169033908a908a908a90606401604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f563c7f6000000000000000000000000000000000000000000000000000000000179052612026565b8073ffffffffffffffffffffffffffffffffffffffff16897f4cd6451d8996d5cf60acf25b65a82bddaaf576a2d664855bbe7bedf3e82a58b189604051611ba7911515815260200190565b60405180910390a350611bf4600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b5050505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff163314611c7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610555565b73ffffffffffffffffffffffffffffffffffffffff8116611d22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610555565b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60005474010000000000000000000000000000000000000000900460ff16611e33576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610555565b565b611e3d6123a7565b73ffffffffffffffffffffffffffffffffffffffff166390978d1b826040518263ffffffff1660e01b8152600401611e7791815260200190565b60206040518083038186803b158015611e8f57600080fd5b505afa158015611ea3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec791906128e0565b611f2d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4964656e746966696572206e6f742072656769737465726564000000000000006044820152606401610555565b600581905560405181907f4b924bf6f3485cd9c93a9734e5916e32005eb2f8af99b1f14b2cc1d2ee04dac990600090a250565b73ffffffffffffffffffffffffffffffffffffffff821615801590611f9a575073ffffffffffffffffffffffffffffffffffffffff811615155b610ab7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f496e76616c6964206465706f736974206f72206d657373656e67657220636f6e60448201527f74726163740000000000000000000000000000000000000000000000000000006064820152608401610555565b34871461208f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f57726f6e67206e756d626572206f66204554482073656e7400000000000000006044820152606401610555565b6040517f9e353c7000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff891690639e353c709089906120ef908a908a9084908b908b908b908b9060040161291a565b6000604051808303818588803b15801561210857600080fd5b505af115801561211c573d6000803e3d6000fd5b50505050505050505050505050565b63bb7448008163ffffffff161061219e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4c6976656e65737320746f6f206c6172676500000000000000000000000000006044820152606401610555565b60008163ffffffff161161220e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4c6976656e6573732063616e6e6f7420626520300000000000000000000000006044820152606401610555565b600480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff83169081179091556040517f18c2dabb108f62fad5fa139a7313bd221f388dc0b09727624af21ddfcf76cbaa90600090a250565b6001546040517faafd5e400000000000000000000000000000000000000000000000000000000081527f436f6c6c61746572616c57686974656c69737400000000000000000000000000600482015260009173ffffffffffffffffffffffffffffffffffffffff169063aafd5e40906024015b60206040518083038186803b1580156122f857600080fd5b505afa15801561230c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233091906128fd565b905090565b600480547fffffffffffffffffffffffffffffffffffffffff0000000000000000ffffffff1664010000000067ffffffffffffffff84811682029290921792839055604051920416907facfe7e537e15ef4781402154351bc868c74852d83f3cc95d570a290b2c5a4f9990600090a250565b6001546040517faafd5e400000000000000000000000000000000000000000000000000000000081527f4964656e74696669657257686974656c69737400000000000000000000000000600482015260009173ffffffffffffffffffffffffffffffffffffffff169063aafd5e40906024016122e0565b60006020828403121561243057600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff811681146105e057600080fd5b803561246481612437565b919050565b60008060008060008060c0878903121561248257600080fd5b86359550602087013561249481612437565b95989597505050506040840135936060810135936080820135935060a0909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080604083850312156124fb57600080fd5b823567ffffffffffffffff8082111561251357600080fd5b818501915085601f83011261252757600080fd5b813560208282111561253b5761253b6124b9565b8160051b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f8301168101818110868211171561257e5761257e6124b9565b60405292835281830193508481018201928984111561259c57600080fd5b948201945b838610156125c1576125b286612459565b855294820194938201936125a1565b96506125d09050878201612459565b9450505050509250929050565b6000602082840312156125ef57600080fd5b813563ffffffff8116811461260357600080fd5b9392505050565b803567ffffffffffffffff8116811461246457600080fd5b60008060008060008060c0878903121561263b57600080fd5b863595506124946020880161260a565b600080600080600080600080610100898b03121561266857600080fd5b88359750602089013561267a81612437565b9650604089013561268a81612437565b9550606089013561269a81612437565b979a969950949760808101359660a0820135965060c0820135955060e0909101359350915050565b600080604083850312156126d557600080fd5b82356126e081612437565b91506126ee6020840161260a565b90509250929050565b60008060006060848603121561270c57600080fd5b83359250602084013561271e81612437565b9150604084013561272e81612437565b809150509250925092565b60006020828403121561274b57600080fd5b6126038261260a565b6000806040838503121561276757600080fd5b823561277281612437565b946020939093013593505050565b80151581146105e057600080fd5b600080600080600080600060e0888a0312156127a957600080fd5b8735965060208801356127bb81612437565b955060408801356127cb81612780565b969995985095966060810135965060808101359560a0820135955060c0909101359350915050565b60006020828403121561280557600080fd5b813561260381612437565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff821660ff81141561287d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60010192915050565b6020808252825182820181905260009190848201906040850190845b818110156128d457835173ffffffffffffffffffffffffffffffffffffffff16835292840192918401916001016128a2565b50909695505050505050565b6000602082840312156128f257600080fd5b815161260381612780565b60006020828403121561290f57600080fd5b815161260381612437565b600073ffffffffffffffffffffffffffffffffffffffff808a1683526020818a16818501528860408501528760608501528660808501528560a085015260e060c0850152845191508160e085015260005b82811015612988578581018201518582016101000152810161296b565b8281111561299b57600061010084870101525b5050601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01691909101610100019897505050505050505056fea2646970667358221220bf43b3df2c076bc2dfd2e8bc07869817d88fc623cb74d6ef0e1e69abd273aecf64736f6c63430008090033";
672
+
673
+ type BridgeAdminConstructorParams =
674
+ | [signer?: Signer]
675
+ | ConstructorParameters<typeof ContractFactory>;
676
+
677
+ const isSuperArgs = (
678
+ xs: BridgeAdminConstructorParams
679
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
680
+
681
+ export class BridgeAdmin__factory extends ContractFactory {
682
+ constructor(...args: BridgeAdminConstructorParams) {
683
+ if (isSuperArgs(args)) {
684
+ super(...args);
685
+ } else {
686
+ super(_abi, _bytecode, args[0]);
687
+ }
688
+ }
689
+
690
+ deploy(
691
+ _finder: string,
692
+ _optimisticOracleLiveness: BigNumberish,
693
+ _proposerBondPct: BigNumberish,
694
+ _identifier: BytesLike,
695
+ overrides?: Overrides & { from?: string | Promise<string> }
696
+ ): Promise<BridgeAdmin> {
697
+ return super.deploy(
698
+ _finder,
699
+ _optimisticOracleLiveness,
700
+ _proposerBondPct,
701
+ _identifier,
702
+ overrides || {}
703
+ ) as Promise<BridgeAdmin>;
704
+ }
705
+ getDeployTransaction(
706
+ _finder: string,
707
+ _optimisticOracleLiveness: BigNumberish,
708
+ _proposerBondPct: BigNumberish,
709
+ _identifier: BytesLike,
710
+ overrides?: Overrides & { from?: string | Promise<string> }
711
+ ): TransactionRequest {
712
+ return super.getDeployTransaction(
713
+ _finder,
714
+ _optimisticOracleLiveness,
715
+ _proposerBondPct,
716
+ _identifier,
717
+ overrides || {}
718
+ );
719
+ }
720
+ attach(address: string): BridgeAdmin {
721
+ return super.attach(address) as BridgeAdmin;
722
+ }
723
+ connect(signer: Signer): BridgeAdmin__factory {
724
+ return super.connect(signer) as BridgeAdmin__factory;
725
+ }
726
+ static readonly bytecode = _bytecode;
727
+ static readonly abi = _abi;
728
+ static createInterface(): BridgeAdminInterface {
729
+ return new utils.Interface(_abi) as BridgeAdminInterface;
730
+ }
731
+ static connect(
732
+ address: string,
733
+ signerOrProvider: Signer | Provider
734
+ ): BridgeAdmin {
735
+ return new Contract(address, _abi, signerOrProvider) as BridgeAdmin;
736
+ }
737
+ }