@keep-network/tbtc-v2 1.2.0-dev.1 → 1.2.0

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 (166) hide show
  1. package/artifacts/.chainId +1 -1
  2. package/artifacts/Bank.json +40 -50
  3. package/artifacts/Bridge.json +32 -449
  4. package/artifacts/BridgeGovernance.json +24 -24
  5. package/artifacts/BridgeGovernanceParameters.json +10 -10
  6. package/artifacts/Deposit.json +13 -13
  7. package/artifacts/DepositSweep.json +13 -13
  8. package/artifacts/DonationVault.json +17 -17
  9. package/artifacts/Fraud.json +14 -14
  10. package/artifacts/LightRelay.json +38 -38
  11. package/artifacts/MaintainerProxy.json +47 -47
  12. package/artifacts/MovingFunds.json +14 -14
  13. package/artifacts/Redemption.json +13 -13
  14. package/artifacts/TBTC.json +36 -37
  15. package/artifacts/TBTCVault.json +47 -47
  16. package/artifacts/VendingMachine.json +34 -35
  17. package/artifacts/VendingMachineV2.json +21 -21
  18. package/artifacts/VendingMachineV3.json +21 -21
  19. package/artifacts/Wallets.json +13 -13
  20. package/artifacts/solcInputs/7cc3eda3cb3ff2522d18b5e7b31ea228.json +102 -0
  21. package/artifacts/solcInputs/802132f7da69a8a4226cb9424480847b.json +218 -0
  22. package/artifacts/solcInputs/887fad6b16575ba42183543c324eeb0e.json +335 -0
  23. package/artifacts/solcInputs/{8445e3932e9b9683df0e9fb9258d7b11.json → b0025f1f7efe4824592ac0c9793776c3.json} +0 -9
  24. package/artifacts/solcInputs/{cc4433405642a987910ddb374547d19a.json → fccb130292c8c7cc958ab4fa31a3e180.json} +12 -15
  25. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  26. package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
  27. package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
  28. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
  29. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  30. package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
  31. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
  32. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
  33. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
  34. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
  35. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
  36. package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
  37. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
  38. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
  39. package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
  40. package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
  41. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  42. package/build/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.dbg.json +1 -1
  43. package/build/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.dbg.json +1 -1
  44. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
  45. package/build/contracts/l2/L2TBTC.sol/L2TBTC.dbg.json +1 -1
  46. package/build/contracts/l2/L2WormholeGateway.sol/IWormholeTokenBridge.dbg.json +1 -1
  47. package/build/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.dbg.json +1 -1
  48. package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
  49. package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
  50. package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
  51. package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
  52. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  53. package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
  54. package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
  55. package/build/contracts/vault/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
  56. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  57. package/export/artifacts/@keep-network/ecdsa/contracts/EcdsaDkgValidator.sol/EcdsaDkgValidator.json +24 -24
  58. package/export/artifacts/@keep-network/ecdsa/contracts/WalletRegistry.sol/WalletRegistry.json +245 -245
  59. package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaDkg.sol/EcdsaDkg.json +2 -2
  60. package/export/artifacts/@keep-network/ecdsa/contracts/libraries/EcdsaInactivity.sol/EcdsaInactivity.json +23 -23
  61. package/export/artifacts/@keep-network/random-beacon/contracts/ReimbursementPool.sol/ReimbursementPool.json +53 -53
  62. package/export/artifacts/@keep-network/sortition-pools/contracts/Chaosnet.sol/Chaosnet.json +21 -21
  63. package/export/artifacts/@keep-network/sortition-pools/contracts/Rewards.sol/Rewards.json +16 -16
  64. package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionPool.sol/SortitionPool.json +206 -206
  65. package/export/artifacts/@keep-network/sortition-pools/contracts/SortitionTree.sol/SortitionTree.json +26 -26
  66. package/export/artifacts/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol/ERC1967Proxy.json +46 -46
  67. package/export/artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json +36 -36
  68. package/export/artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +78 -78
  69. package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +68 -68
  70. package/export/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol/ERC20Upgradeable.json +43 -43
  71. package/export/artifacts/@thesis/solidity-contracts/contracts/token/ERC20WithPermit.sol/ERC20WithPermit.json +79 -79
  72. package/export/artifacts/@thesis/solidity-contracts/contracts/token/MisfundRecovery.sol/MisfundRecovery.json +42 -42
  73. package/export/artifacts/contracts/bank/Bank.sol/Bank.json +77 -77
  74. package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +320 -320
  75. package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +108 -108
  76. package/export/artifacts/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.json +63 -63
  77. package/export/artifacts/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.json +65 -65
  78. package/export/artifacts/contracts/l2/L2TBTC.sol/L2TBTC.json +194 -194
  79. package/export/artifacts/contracts/l2/L2WormholeGateway.sol/L2WormholeGateway.json +100 -100
  80. package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +149 -149
  81. package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +76 -76
  82. package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +104 -104
  83. package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +19 -19
  84. package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +184 -184
  85. package/export/deploy/00_resolve_relay.js +83 -0
  86. package/export/deploy/01_deploy_tbtc_v2_token.js +70 -0
  87. package/export/deploy/02_deploy_vending_machine.js +84 -0
  88. package/export/deploy/03_transfer_vending_machine_roles.js +69 -0
  89. package/export/deploy/04_deploy_bank.js +73 -0
  90. package/export/deploy/05_deploy_bridge.js +178 -0
  91. package/export/{test/integration/utils/staking.js → deploy/06_deploy_tbtc_vault.js} +32 -35
  92. package/export/deploy/07_deploy_bridge_governance.js +87 -0
  93. package/export/deploy/08_deploy_maintainer_proxy.js +80 -0
  94. package/export/deploy/09_bank_update_bridge.js +63 -0
  95. package/export/deploy/10_authorize_spv_maintainer_in_bridge.js +61 -0
  96. package/export/deploy/11_transfer_bank_ownership.js +60 -0
  97. package/export/deploy/12_transfer_bridge_governance.js +63 -0
  98. package/export/deploy/13_transfer_bridge_governance_ownership.js +60 -0
  99. package/export/deploy/14_transfer_tbtc_vault_ownership.js +60 -0
  100. package/export/deploy/15_transfer_maintainer_proxy_ownership.js +60 -0
  101. package/export/deploy/16_initialize_wallet_owner.js +63 -0
  102. package/export/deploy/16_transfer_proxy_admin_ownership.js +73 -0
  103. package/export/deploy/17_authorize_maintainer_proxy_in_bridge.js +63 -0
  104. package/export/deploy/17_transfer_proxy_admin_ownership.js +73 -0
  105. package/export/deploy/18_authorize_maintainer_proxy_in_bridge.js +63 -0
  106. package/export/deploy/18_authorize_maintainer_proxy_in_reimbursement_pool.js +63 -0
  107. package/export/deploy/19_authorize_bridge_in_reimbursement_pool.js +63 -0
  108. package/export/deploy/19_authorize_maintainer_proxy_in_reimbursement_pool.js +63 -0
  109. package/export/deploy/20_authorize_bridge_in_reimbursement_pool.js +63 -0
  110. package/export/deploy/20_deploy_proxy_admin_with_deputy.js +80 -0
  111. package/export/deploy/21_transfer_reimbursement_pool_ownership.js +60 -0
  112. package/export/deploy/22_deploy_proxy_admin_with_deputy.js +80 -0
  113. package/export/deploy/24_transfer_maintainer_proxy_ownership.js +60 -0
  114. package/export/deploy/25_transfer_proxy_admin_ownership.js +73 -0
  115. package/export/deploy/26_authorize_maintainer_proxy_in_reimbursement_pool.js +70 -0
  116. package/export/deploy/27_authorize_bridge_in_reimbursement_pool.js +70 -0
  117. package/export/deploy/28_deploy_proxy_admin_with_deputy.js +80 -0
  118. package/export/typechain/RelayStub.js +2 -0
  119. package/export/typechain/TestRelay.js +2 -0
  120. package/export/typechain/factories/RelayStub__factory.js +546 -0
  121. package/export/typechain/factories/TestRelay__factory.js +168 -0
  122. package/export/typechain/factories/WalletRegistry__factory.js +1 -1
  123. package/package.json +5 -5
  124. package/artifacts/BLS.json +0 -223
  125. package/artifacts/BeaconAuthorization.json +0 -273
  126. package/artifacts/BeaconDkg.json +0 -241
  127. package/artifacts/BeaconDkgValidator.json +0 -501
  128. package/artifacts/BeaconInactivity.json +0 -151
  129. package/artifacts/BeaconSortitionPool.json +0 -1187
  130. package/artifacts/EcdsaDkgValidator.json +0 -517
  131. package/artifacts/EcdsaInactivity.json +0 -156
  132. package/artifacts/EcdsaSortitionPool.json +0 -1187
  133. package/artifacts/KeepRegistry.json +0 -99
  134. package/artifacts/KeepStake.json +0 -286
  135. package/artifacts/KeepToken.json +0 -711
  136. package/artifacts/KeepTokenStaking.json +0 -483
  137. package/artifacts/NuCypherStakingEscrow.json +0 -287
  138. package/artifacts/NuCypherToken.json +0 -711
  139. package/artifacts/RandomBeacon.json +0 -3271
  140. package/artifacts/RandomBeaconChaosnet.json +0 -252
  141. package/artifacts/RandomBeaconGovernance.json +0 -3499
  142. package/artifacts/ReimbursementPool.json +0 -509
  143. package/artifacts/T.json +0 -1148
  144. package/artifacts/TBTCToken.json +0 -738
  145. package/artifacts/TokenStaking.json +0 -2288
  146. package/artifacts/TokenholderGovernor.json +0 -1795
  147. package/artifacts/TokenholderTimelock.json +0 -1058
  148. package/artifacts/VendingMachineKeep.json +0 -400
  149. package/artifacts/VendingMachineNuCypher.json +0 -400
  150. package/artifacts/WalletRegistry.json +0 -1962
  151. package/artifacts/WalletRegistryGovernance.json +0 -2863
  152. package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +0 -11975
  153. package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +0 -51806
  154. package/export/artifacts/contracts/test/GoerliLightRelay.sol/GoerliLightRelay.json +0 -11988
  155. package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +0 -822
  156. package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +0 -12729
  157. package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +0 -2160
  158. package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +0 -3407
  159. package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +0 -14263
  160. package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +0 -10644
  161. package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +0 -1160
  162. package/export/artifacts/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +0 -8665
  163. package/export/test/integration/data/bls.js +0 -12
  164. package/export/test/integration/data/integration.js +0 -133
  165. package/export/test/integration/utils/ecdsa-wallet-registry.js +0 -370
  166. package/export/test/integration/utils/random-beacon.js +0 -193
@@ -0,0 +1,546 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ var __read = (this && this.__read) || function (o, n) {
18
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
19
+ if (!m) return o;
20
+ var i = m.call(o), r, ar = [], e;
21
+ try {
22
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
23
+ }
24
+ catch (error) { e = { error: error }; }
25
+ finally {
26
+ try {
27
+ if (r && !r.done && (m = i["return"])) m.call(i);
28
+ }
29
+ finally { if (e) throw e.error; }
30
+ }
31
+ return ar;
32
+ };
33
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
34
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
35
+ if (ar || !(i in from)) {
36
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
37
+ ar[i] = from[i];
38
+ }
39
+ }
40
+ return to.concat(ar || Array.prototype.slice.call(from));
41
+ };
42
+ Object.defineProperty(exports, "__esModule", { value: true });
43
+ exports.RelayStub__factory = void 0;
44
+ /* Autogenerated file. Do not edit manually. */
45
+ /* tslint:disable */
46
+ /* eslint-disable */
47
+ var ethers_1 = require("ethers");
48
+ var _abi = [
49
+ {
50
+ anonymous: false,
51
+ inputs: [
52
+ {
53
+ indexed: false,
54
+ internalType: "bool",
55
+ name: "newStatus",
56
+ type: "bool",
57
+ },
58
+ ],
59
+ name: "AuthorizationRequirementChanged",
60
+ type: "event",
61
+ },
62
+ {
63
+ anonymous: false,
64
+ inputs: [
65
+ {
66
+ indexed: false,
67
+ internalType: "uint256",
68
+ name: "blockHeight",
69
+ type: "uint256",
70
+ },
71
+ ],
72
+ name: "Genesis",
73
+ type: "event",
74
+ },
75
+ {
76
+ anonymous: false,
77
+ inputs: [
78
+ {
79
+ indexed: true,
80
+ internalType: "address",
81
+ name: "previousOwner",
82
+ type: "address",
83
+ },
84
+ {
85
+ indexed: true,
86
+ internalType: "address",
87
+ name: "newOwner",
88
+ type: "address",
89
+ },
90
+ ],
91
+ name: "OwnershipTransferred",
92
+ type: "event",
93
+ },
94
+ {
95
+ anonymous: false,
96
+ inputs: [
97
+ {
98
+ indexed: false,
99
+ internalType: "uint256",
100
+ name: "newLength",
101
+ type: "uint256",
102
+ },
103
+ ],
104
+ name: "ProofLengthChanged",
105
+ type: "event",
106
+ },
107
+ {
108
+ anonymous: false,
109
+ inputs: [
110
+ {
111
+ indexed: false,
112
+ internalType: "uint256",
113
+ name: "oldDifficulty",
114
+ type: "uint256",
115
+ },
116
+ {
117
+ indexed: false,
118
+ internalType: "uint256",
119
+ name: "newDifficulty",
120
+ type: "uint256",
121
+ },
122
+ ],
123
+ name: "Retarget",
124
+ type: "event",
125
+ },
126
+ {
127
+ anonymous: false,
128
+ inputs: [
129
+ {
130
+ indexed: false,
131
+ internalType: "address",
132
+ name: "submitter",
133
+ type: "address",
134
+ },
135
+ ],
136
+ name: "SubmitterAuthorized",
137
+ type: "event",
138
+ },
139
+ {
140
+ anonymous: false,
141
+ inputs: [
142
+ {
143
+ indexed: false,
144
+ internalType: "address",
145
+ name: "submitter",
146
+ type: "address",
147
+ },
148
+ ],
149
+ name: "SubmitterDeauthorized",
150
+ type: "event",
151
+ },
152
+ {
153
+ inputs: [],
154
+ name: "authorizationRequired",
155
+ outputs: [
156
+ {
157
+ internalType: "bool",
158
+ name: "",
159
+ type: "bool",
160
+ },
161
+ ],
162
+ stateMutability: "view",
163
+ type: "function",
164
+ },
165
+ {
166
+ inputs: [
167
+ {
168
+ internalType: "address",
169
+ name: "submitter",
170
+ type: "address",
171
+ },
172
+ ],
173
+ name: "authorize",
174
+ outputs: [],
175
+ stateMutability: "nonpayable",
176
+ type: "function",
177
+ },
178
+ {
179
+ inputs: [],
180
+ name: "currentEpoch",
181
+ outputs: [
182
+ {
183
+ internalType: "uint64",
184
+ name: "",
185
+ type: "uint64",
186
+ },
187
+ ],
188
+ stateMutability: "view",
189
+ type: "function",
190
+ },
191
+ {
192
+ inputs: [
193
+ {
194
+ internalType: "address",
195
+ name: "submitter",
196
+ type: "address",
197
+ },
198
+ ],
199
+ name: "deauthorize",
200
+ outputs: [],
201
+ stateMutability: "nonpayable",
202
+ type: "function",
203
+ },
204
+ {
205
+ inputs: [
206
+ {
207
+ internalType: "bytes",
208
+ name: "genesisHeader",
209
+ type: "bytes",
210
+ },
211
+ {
212
+ internalType: "uint256",
213
+ name: "genesisHeight",
214
+ type: "uint256",
215
+ },
216
+ {
217
+ internalType: "uint64",
218
+ name: "genesisProofLength",
219
+ type: "uint64",
220
+ },
221
+ ],
222
+ name: "genesis",
223
+ outputs: [],
224
+ stateMutability: "nonpayable",
225
+ type: "function",
226
+ },
227
+ {
228
+ inputs: [],
229
+ name: "genesisEpoch",
230
+ outputs: [
231
+ {
232
+ internalType: "uint64",
233
+ name: "",
234
+ type: "uint64",
235
+ },
236
+ ],
237
+ stateMutability: "view",
238
+ type: "function",
239
+ },
240
+ {
241
+ inputs: [
242
+ {
243
+ internalType: "uint256",
244
+ name: "blockNumber",
245
+ type: "uint256",
246
+ },
247
+ ],
248
+ name: "getBlockDifficulty",
249
+ outputs: [
250
+ {
251
+ internalType: "uint256",
252
+ name: "",
253
+ type: "uint256",
254
+ },
255
+ ],
256
+ stateMutability: "view",
257
+ type: "function",
258
+ },
259
+ {
260
+ inputs: [],
261
+ name: "getCurrentAndPrevEpochDifficulty",
262
+ outputs: [
263
+ {
264
+ internalType: "uint256",
265
+ name: "current",
266
+ type: "uint256",
267
+ },
268
+ {
269
+ internalType: "uint256",
270
+ name: "previous",
271
+ type: "uint256",
272
+ },
273
+ ],
274
+ stateMutability: "view",
275
+ type: "function",
276
+ },
277
+ {
278
+ inputs: [],
279
+ name: "getCurrentEpochDifficulty",
280
+ outputs: [
281
+ {
282
+ internalType: "uint256",
283
+ name: "",
284
+ type: "uint256",
285
+ },
286
+ ],
287
+ stateMutability: "view",
288
+ type: "function",
289
+ },
290
+ {
291
+ inputs: [
292
+ {
293
+ internalType: "uint256",
294
+ name: "epochNumber",
295
+ type: "uint256",
296
+ },
297
+ ],
298
+ name: "getEpochDifficulty",
299
+ outputs: [
300
+ {
301
+ internalType: "uint256",
302
+ name: "",
303
+ type: "uint256",
304
+ },
305
+ ],
306
+ stateMutability: "view",
307
+ type: "function",
308
+ },
309
+ {
310
+ inputs: [],
311
+ name: "getPrevEpochDifficulty",
312
+ outputs: [
313
+ {
314
+ internalType: "uint256",
315
+ name: "",
316
+ type: "uint256",
317
+ },
318
+ ],
319
+ stateMutability: "view",
320
+ type: "function",
321
+ },
322
+ {
323
+ inputs: [],
324
+ name: "getRelayRange",
325
+ outputs: [
326
+ {
327
+ internalType: "uint256",
328
+ name: "relayGenesis",
329
+ type: "uint256",
330
+ },
331
+ {
332
+ internalType: "uint256",
333
+ name: "currentEpochEnd",
334
+ type: "uint256",
335
+ },
336
+ ],
337
+ stateMutability: "view",
338
+ type: "function",
339
+ },
340
+ {
341
+ inputs: [
342
+ {
343
+ internalType: "address",
344
+ name: "",
345
+ type: "address",
346
+ },
347
+ ],
348
+ name: "isAuthorized",
349
+ outputs: [
350
+ {
351
+ internalType: "bool",
352
+ name: "",
353
+ type: "bool",
354
+ },
355
+ ],
356
+ stateMutability: "view",
357
+ type: "function",
358
+ },
359
+ {
360
+ inputs: [],
361
+ name: "owner",
362
+ outputs: [
363
+ {
364
+ internalType: "address",
365
+ name: "",
366
+ type: "address",
367
+ },
368
+ ],
369
+ stateMutability: "view",
370
+ type: "function",
371
+ },
372
+ {
373
+ inputs: [],
374
+ name: "proofLength",
375
+ outputs: [
376
+ {
377
+ internalType: "uint64",
378
+ name: "",
379
+ type: "uint64",
380
+ },
381
+ ],
382
+ stateMutability: "view",
383
+ type: "function",
384
+ },
385
+ {
386
+ inputs: [],
387
+ name: "ready",
388
+ outputs: [
389
+ {
390
+ internalType: "bool",
391
+ name: "",
392
+ type: "bool",
393
+ },
394
+ ],
395
+ stateMutability: "view",
396
+ type: "function",
397
+ },
398
+ {
399
+ inputs: [],
400
+ name: "renounceOwnership",
401
+ outputs: [],
402
+ stateMutability: "nonpayable",
403
+ type: "function",
404
+ },
405
+ {
406
+ inputs: [
407
+ {
408
+ internalType: "bytes",
409
+ name: "headers",
410
+ type: "bytes",
411
+ },
412
+ ],
413
+ name: "retarget",
414
+ outputs: [],
415
+ stateMutability: "nonpayable",
416
+ type: "function",
417
+ },
418
+ {
419
+ inputs: [
420
+ {
421
+ internalType: "bool",
422
+ name: "status",
423
+ type: "bool",
424
+ },
425
+ ],
426
+ name: "setAuthorizationStatus",
427
+ outputs: [],
428
+ stateMutability: "nonpayable",
429
+ type: "function",
430
+ },
431
+ {
432
+ inputs: [
433
+ {
434
+ internalType: "uint64",
435
+ name: "newLength",
436
+ type: "uint64",
437
+ },
438
+ ],
439
+ name: "setProofLength",
440
+ outputs: [],
441
+ stateMutability: "nonpayable",
442
+ type: "function",
443
+ },
444
+ {
445
+ inputs: [
446
+ {
447
+ internalType: "address",
448
+ name: "newOwner",
449
+ type: "address",
450
+ },
451
+ ],
452
+ name: "transferOwnership",
453
+ outputs: [],
454
+ stateMutability: "nonpayable",
455
+ type: "function",
456
+ },
457
+ {
458
+ inputs: [
459
+ {
460
+ internalType: "bytes",
461
+ name: "headers",
462
+ type: "bytes",
463
+ },
464
+ ],
465
+ name: "validateChain",
466
+ outputs: [
467
+ {
468
+ internalType: "uint256",
469
+ name: "startingHeaderTimestamp",
470
+ type: "uint256",
471
+ },
472
+ {
473
+ internalType: "uint256",
474
+ name: "headerCount",
475
+ type: "uint256",
476
+ },
477
+ ],
478
+ stateMutability: "view",
479
+ type: "function",
480
+ },
481
+ {
482
+ inputs: [
483
+ {
484
+ internalType: "bytes",
485
+ name: "headers",
486
+ type: "bytes",
487
+ },
488
+ ],
489
+ name: "validateChainGasReport",
490
+ outputs: [
491
+ {
492
+ internalType: "uint256",
493
+ name: "",
494
+ type: "uint256",
495
+ },
496
+ {
497
+ internalType: "uint256",
498
+ name: "",
499
+ type: "uint256",
500
+ },
501
+ ],
502
+ stateMutability: "nonpayable",
503
+ type: "function",
504
+ },
505
+ ];
506
+ var _bytecode = "0x608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61238e8061007e6000396000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c8063715018a6116100e3578063b70e6be61161008c578063f2fde38b11610066578063f2fde38b14610340578063f5619fda14610353578063fe9fbb801461036e57600080fd5b8063b70e6be614610306578063e97dccf31461031a578063eb8695ef1461032d57600080fd5b80638da5cb5b116100bd5780638da5cb5b146102c457806395410d2b146102df578063b6a5d7de146102f357600080fd5b8063715018a614610275578063766718081461027d5780637ca5b1dd146102b157600080fd5b806327c97fa5116101455780634ca49f511161011f5780634ca49f511461022b578063620414e61461023e5780636defbf801461025157600080fd5b806327c97fa5146102055780632b97be24146102185780633a1b77b01461022057600080fd5b8063113764be11610176578063113764be146101d5578063189179a3146101dd57806319c9aa32146101f057600080fd5b806306a274221461019257806310b76ed8146101b8575b600080fd5b6101a56101a0366004611ebc565b610391565b6040519081526020015b60405180910390f35b6101c06103a8565b604080519283526020830191909152016101af565b6002546101a5565b6101c06101eb366004611eeb565b610408565b6102036101fe366004611fb9565b610800565b005b610203610213366004611fd4565b610a45565b6003546101a5565b6002546003546101c0565b610203610239366004611ffd565b610af0565b6101a561024c366004611ebc565b610f0b565b60005461026590600160a01b900460ff1681565b60405190151581526020016101af565b61020361101b565b60015461029890600160401b900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020016101af565b6102036102bf366004611eeb565b611081565b6000546040516001600160a01b0390911681526020016101af565b60005461026590600160a81b900460ff1681565b610203610301366004611fd4565b61161f565b6001546102989067ffffffffffffffff1681565b6101c0610328366004611eeb565b6116cd565b61020361033b366004612086565b611757565b61020361034e366004611fd4565b611819565b60005461029890600160b01b900467ffffffffffffffff1681565b61026561037c366004611fd4565b60056020526000908152604090205460ff1681565b60006103a261024c6107e0846120d4565b92915050565b60015460009081906103c69067ffffffffffffffff166107e06120e8565b60015467ffffffffffffffff91821693506103ec91600160401b909104166107e06120e8565b6103f8906107df612114565b67ffffffffffffffff1690509091565b60008060508351610419919061213c565b1561046b5760405162461bcd60e51b815260206004820152601560248201527f496e76616c696420686561646572206c656e677468000000000000000000000060448201526064015b60405180910390fd5b6050835161047991906120d4565b905060018111801561048c57506107e081105b6104d85760405162461bcd60e51b815260206004820152601960248201527f496e76616c6964206e756d626572206f662068656164657273000000000000006044820152606401610462565b6104e1836118fb565b63ffffffff1691506000806104f785828061192f565b6040805180820182526000808252602080830182905260015467ffffffffffffffff600160401b90910416808352600482529184902084518086019095525463ffffffff8116855264010000000090046001600160e01b031690840152939550919350909190825b815163ffffffff168810156105bd57610579600184612150565b60008181526004602090815260409182902082518084019093525463ffffffff8116835264010000000090046001600160e01b03169082015290935091905061055f565b815163ffffffff166106375760405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f742076616c696461746520636861696e73206265666f726520726560448201527f6c61792067656e657369730000000000000000000000000000000000000000006064820152608401610462565b81602001516001600160e01b031685146107015780602001516001600160e01b0316850361066757905082610701565b610672600184612150565b60008181526004602090815260409182902082518084019093525463ffffffff8116835264010000000090046001600160e01b031690820181905291945092915085146107015760405162461bcd60e51b815260206004820152601e60248201527f496e76616c69642074617267657420696e2068656164657220636861696e00006044820152606401610462565b60015b878110156107f45760006107238b61071d846050612163565b8a61192f565b60208601519098509091506001600160e01b031687146107e057600061075461074d846050612163565b8d90611a07565b845163ffffffff9182169250161580159061077b575083602001516001600160e01b031688145b801561078d5750835163ffffffff1681145b6107d95760405162461bcd60e51b815260206004820152601e60248201527f496e76616c69642074617267657420696e2068656164657220636861696e00006044820152606401610462565b5091925084915b9650806107ec8161217a565b915050610704565b50505050505050915091565b600054600160a01b900460ff166108595760405162461bcd60e51b815260206004820152601a60248201527f52656c6179206973206e6f7420726561647920666f72207573650000000000006044820152606401610462565b6000546001600160a01b031633146108b35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b6107e08167ffffffffffffffff161061090e5760405162461bcd60e51b815260206004820152601660248201527f50726f6f66206c656e67746820657863657373697665000000000000000000006044820152606401610462565b60008167ffffffffffffffff16116109685760405162461bcd60e51b815260206004820152601c60248201527f50726f6f66206c656e677468206d6179206e6f74206265207a65726f000000006044820152606401610462565b60005467ffffffffffffffff600160b01b9091048116908216036109ce5760405162461bcd60e51b815260206004820152601660248201527f50726f6f66206c656e67746820756e6368616e676564000000000000000000006044820152606401610462565b600080547fffff0000000000000000ffffffffffffffffffffffffffffffffffffffffffff16600160b01b67ffffffffffffffff8416908102919091179091556040519081527f3e9f904d8cf11753c79b67c8259c582056d4a7d8af120f81257a59eeb8824b96906020015b60405180910390a150565b6000546001600160a01b03163314610a9f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b6001600160a01b038116600081815260056020908152604091829020805460ff1916905590519182527f7498b96beeabea5ad3139f1a2861a03e480034254e36b10aae2e6e42ad7b4b689101610a3a565b6000546001600160a01b03163314610b4a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b600054600160a01b900460ff1615610ba45760405162461bcd60e51b815260206004820152601960248201527f47656e6573697320616c726561647920706572666f726d6564000000000000006044820152606401610462565b60508314610bf45760405162461bcd60e51b815260206004820152601d60248201527f496e76616c69642067656e6573697320686561646572206c656e6774680000006044820152606401610462565b610c006107e08361213c565b15610c735760405162461bcd60e51b815260206004820152602560248201527f496e76616c696420686569676874206f662072656c61792067656e657369732060448201527f626c6f636b0000000000000000000000000000000000000000000000000000006064820152608401610462565b6107e08167ffffffffffffffff1610610cce5760405162461bcd60e51b815260206004820152601660248201527f50726f6f66206c656e67746820657863657373697665000000000000000000006044820152606401610462565b60008167ffffffffffffffff1611610d285760405162461bcd60e51b815260206004820152601c60248201527f50726f6f66206c656e677468206d6179206e6f74206265207a65726f000000006044820152606401610462565b610d346107e0836120d4565b600180547fffffffffffffffffffffffffffffffff000000000000000000000000000000001667ffffffffffffffff92909216918217600160401b92909202919091179055604080516020601f8601819004810282018101909252848152600091610dba91908790879081908401838280828437600092019190915250611a2892505050565b90506000610dfd86868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506118fb92505050565b60408051808201825263ffffffff9283168082526001600160e01b03808716602080850191825260015467ffffffffffffffff9081166000908152600490925295812094519151909216640100000000029516949094179091558254918616600160b01b027fffff0000000000000000ffffffffffffffffffffffffffffffffffffffffffff909216919091179091559050610e9882611a35565b600255600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b1790556040517f2381d16925551c2fb1a5edfcf4fce2f6d085e1f85f4b88340c09c9d191f9d4e990610efb9086815260200190565b60405180910390a1505050505050565b60015460009067ffffffffffffffff16821015610f6a5760405162461bcd60e51b815260206004820152601d60248201527f45706f6368206973206265666f72652072656c61792067656e657369730000006044820152606401610462565b600154600160401b900467ffffffffffffffff16821115610ff25760405162461bcd60e51b8152602060048201526024808201527f45706f6368206973206e6f742070726f76656e20746f207468652072656c617960448201527f20796574000000000000000000000000000000000000000000000000000000006064820152608401610462565b6000828152600460205260409020546103a29064010000000090046001600160e01b0316611a35565b6000546001600160a01b031633146110755760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b61107f6000611a5d565b565b600054600160a01b900460ff166110da5760405162461bcd60e51b815260206004820152601a60248201527f52656c6179206973206e6f7420726561647920666f72207573650000000000006044820152606401610462565b600054600160a81b900460ff161561114b573360009081526005602052604090205460ff1661114b5760405162461bcd60e51b815260206004820152601660248201527f5375626d697474657220756e617574686f72697a6564000000000000000000006044820152606401610462565b60005461116a90600160b01b900467ffffffffffffffff1660026120e8565b6111759060506120e8565b67ffffffffffffffff168151146111ce5760405162461bcd60e51b815260206004820152601560248201527f496e76616c696420686561646572206c656e67746800000000000000000000006044820152606401610462565b600154600160401b900467ffffffffffffffff166000908152600460205260408120805490916401000000009091046001600160e01b031690805b600054600160b01b900467ffffffffffffffff168110156112ca5760008061123c87611236856050612163565b8661192f565b915091508481146112b55760405162461bcd60e51b815260206004820152602660248201527f496e76616c69642074617267657420696e207072652d7265746172676574206860448201527f65616465727300000000000000000000000000000000000000000000000000006064820152608401610462565b509150806112c28161217a565b915050611209565b506000805461130c906112f090600190600160b01b900467ffffffffffffffff16612193565b6112fb9060506120e8565b869067ffffffffffffffff16611a07565b63ffffffff1690504281106113635760405162461bcd60e51b815260206004820152601e60248201527f45706f63682063616e6e6f7420656e6420696e207468652066757475726500006044820152606401610462565b835460009061137a90859063ffffffff1684611ac5565b90506000806113b6600060169054906101000a900467ffffffffffffffff1660506113a591906120e8565b899067ffffffffffffffff16611a07565b60005463ffffffff919091169150600160b01b900467ffffffffffffffff165b6000546113f590600160b01b900467ffffffffffffffff1660026120e8565b67ffffffffffffffff16811015611507576000806114188b61071d856050612163565b915091508460000361147d5780945080861681146114785760405162461bcd60e51b815260206004820152601b60248201527f496e76616c69642074617267657420696e206e65772065706f636800000000006044820152606401610462565b6114f2565b8481146114f25760405162461bcd60e51b815260206004820152602760248201527f556e657870656374656420746172676574206368616e6765206166746572207260448201527f65746172676574000000000000000000000000000000000000000000000000006064820152608401610462565b509550806114ff8161217a565b9150506113d6565b50600160089054906101000a900467ffffffffffffffff16600161152b9190612114565b6001805467ffffffffffffffff928316600160401b9081027fffffffffffffffffffffffffffffffff0000000000000000ffffffffffffffff909216919091179182905560408051808201825263ffffffff80871682526001600160e01b03808916602080850191825295909604909616600090815260049094529183209051935190941664010000000002921691909117909155600254906115cd84611a35565b6003839055600281905560408051848152602081018390529192507fa282ee798b132f9dc11e06cd4d8e767e562be8709602ca14fea7ab3392acbdab910160405180910390a150505050505050505050565b6000546001600160a01b031633146116795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b6001600160a01b038116600081815260056020908152604091829020805460ff1916600117905590519182527fd53649b492f738bb59d6825099b5955073efda0bf9e3a7ad20da22e110122e299101610a3a565b6040517f189179a30000000000000000000000000000000000000000000000000000000081526000908190309063189179a39061170e9086906004016121b4565b6040805180830381865afa15801561172a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174e9190612202565b91509150915091565b6000546001600160a01b031633146117b15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b60008054821515600160a81b027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff9091161790556040517fd813b248d49c8bf08be2b6947126da6763df310beed7bea97756456c5727419a90610a3a90831515815260200190565b6000546001600160a01b031633146118735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610462565b6001600160a01b0381166118ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610462565b6118f881611a5d565b50565b60006103a261190983611b59565b60d881901c63ff00ff001662ff00ff60e89290921c9190911617601081811b91901c1790565b600080821561198f57611943858585611b66565b61198f5760405162461bcd60e51b815260206004820152600d60248201527f496e76616c696420636861696e000000000000000000000000000000000000006044820152606401610462565b6119998585611b91565b90506119a785856050611c33565b91506119b38282611c5d565b6119ff5760405162461bcd60e51b815260206004820152600c60248201527f496e76616c696420776f726b00000000000000000000000000000000000000006044820152606401610462565b935093915050565b6000611a21611909611a1a846044612226565b8590611db6565b9392505050565b60006103a2826000611b91565b60006103a27bffff000000000000000000000000000000000000000000000000000083611dc5565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080611ad28385611dd1565b9050611ae2621275006004611dc5565b811015611afa57611af7621275006004611dc5565b90505b611b08621275006004611e2d565b811115611b2057611b1d621275006004611e2d565b90505b6000611b3982611b338862010000611dc5565b90611e2d565b9050611b4f62010000611b338362127500611dc5565b9695505050505050565b60006103a2826044611db6565b600080611b738585611ea3565b9050828114611b86576000915050611a21565b506001949350505050565b600080611ba2611a1a846048612226565b60e81c9050600084611bb585604b612226565b81518110611bc557611bc5612239565b016020015160f81c90506000611bf983600060108262ffffff16901c8261ff001660108462ffffff16901b17179050919050565b62ffffff1690506000611c0d60038461224f565b60ff169050611c1e8161010061234c565b611c289083612163565b979650505050505050565b6000602060008385602001870160025afa50602060006020600060025afa50506000519392505050565b600082611c6c575060006103a2565b81611dae8460008190506008817eff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff16901b600882901c7eff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff161790506010817dffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff16901b601082901c7dffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff161790506020817bffffffff00000000ffffffff00000000ffffffff00000000ffffffff16901b602082901c7bffffffff00000000ffffffff00000000ffffffff00000000ffffffff1617905060408177ffffffffffffffff0000000000000000ffffffffffffffff16901b604082901c77ffffffffffffffff0000000000000000ffffffffffffffff16179050608081901b608082901c179050919050565b109392505050565b6000611a218383016020015190565b6000611a2182846120d4565b600082821115611e235760405162461bcd60e51b815260206004820152601d60248201527f556e646572666c6f7720647572696e67207375627472616374696f6e2e0000006044820152606401610462565b611a218284612150565b600082600003611e3f575060006103a2565b611e498284612163565b905081611e5684836120d4565b146103a25760405162461bcd60e51b815260206004820152601f60248201527f4f766572666c6f7720647572696e67206d756c7469706c69636174696f6e2e006044820152606401610462565b6000611a21611eb3836004612226565b84016020015190565b600060208284031215611ece57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600060208284031215611efd57600080fd5b813567ffffffffffffffff80821115611f1557600080fd5b818401915084601f830112611f2957600080fd5b813581811115611f3b57611f3b611ed5565b604051601f8201601f19908116603f01168101908382118183101715611f6357611f63611ed5565b81604052828152876020848701011115611f7c57600080fd5b826020860160208301376000928101602001929092525095945050505050565b803567ffffffffffffffff81168114611fb457600080fd5b919050565b600060208284031215611fcb57600080fd5b611a2182611f9c565b600060208284031215611fe657600080fd5b81356001600160a01b0381168114611a2157600080fd5b6000806000806060858703121561201357600080fd5b843567ffffffffffffffff8082111561202b57600080fd5b818701915087601f83011261203f57600080fd5b81358181111561204e57600080fd5b88602082850101111561206057600080fd5b60209283019650945050850135915061207b60408601611f9c565b905092959194509250565b60006020828403121561209857600080fd5b81358015158114611a2157600080fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000826120e3576120e36120a8565b500490565b67ffffffffffffffff81811683821602808216919082811461210c5761210c6120be565b505092915050565b67ffffffffffffffff818116838216019080821115612135576121356120be565b5092915050565b60008261214b5761214b6120a8565b500690565b818103818111156103a2576103a26120be565b80820281158282048414176103a2576103a26120be565b60006001820161218c5761218c6120be565b5060010190565b67ffffffffffffffff828116828216039080821115612135576121356120be565b600060208083528351808285015260005b818110156121e1578581018301518582016040015282016121c5565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561221557600080fd5b505080516020909101519092909150565b808201808211156103a2576103a26120be565b634e487b7160e01b600052603260045260246000fd5b60ff82811682821603908111156103a2576103a26120be565b600181815b808511156122a3578160001904821115612289576122896120be565b8085161561229657918102915b93841c939080029061226d565b509250929050565b6000826122ba575060016103a2565b816122c7575060006103a2565b81600181146122dd57600281146122e757612303565b60019150506103a2565b60ff8411156122f8576122f86120be565b50506001821b6103a2565b5060208310610133831016604e8410600b8410161715612326575081810a6103a2565b6123308383612268565b8060001904821115612344576123446120be565b029392505050565b6000611a2183836122ab56fea2646970667358221220e9908f90f2a98680a73f4c798ff2a03d84359e33fea5ce90c8c8097564628cfa64736f6c63430008110033";
507
+ var isSuperArgs = function (xs) { return xs.length > 1; };
508
+ var RelayStub__factory = /** @class */ (function (_super) {
509
+ __extends(RelayStub__factory, _super);
510
+ function RelayStub__factory() {
511
+ var args = [];
512
+ for (var _i = 0; _i < arguments.length; _i++) {
513
+ args[_i] = arguments[_i];
514
+ }
515
+ var _this = this;
516
+ if (isSuperArgs(args)) {
517
+ _this = _super.apply(this, __spreadArray([], __read(args), false)) || this;
518
+ }
519
+ else {
520
+ _this = _super.call(this, _abi, _bytecode, args[0]) || this;
521
+ }
522
+ return _this;
523
+ }
524
+ RelayStub__factory.prototype.deploy = function (overrides) {
525
+ return _super.prototype.deploy.call(this, overrides || {});
526
+ };
527
+ RelayStub__factory.prototype.getDeployTransaction = function (overrides) {
528
+ return _super.prototype.getDeployTransaction.call(this, overrides || {});
529
+ };
530
+ RelayStub__factory.prototype.attach = function (address) {
531
+ return _super.prototype.attach.call(this, address);
532
+ };
533
+ RelayStub__factory.prototype.connect = function (signer) {
534
+ return _super.prototype.connect.call(this, signer);
535
+ };
536
+ RelayStub__factory.createInterface = function () {
537
+ return new ethers_1.utils.Interface(_abi);
538
+ };
539
+ RelayStub__factory.connect = function (address, signerOrProvider) {
540
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
541
+ };
542
+ RelayStub__factory.bytecode = _bytecode;
543
+ RelayStub__factory.abi = _abi;
544
+ return RelayStub__factory;
545
+ }(ethers_1.ContractFactory));
546
+ exports.RelayStub__factory = RelayStub__factory;