@keep-network/tbtc-v2 1.8.0 → 1.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/artifacts/Bridge.json +1998 -1972
  2. package/artifacts/Bridge_v2_Implementation.json +2817 -0
  3. package/artifacts/Deposit.json +7 -7
  4. package/artifacts/Redemption.json +95 -171
  5. package/build/contracts/GovernanceUtils.sol/GovernanceUtils.dbg.json +1 -1
  6. package/build/contracts/Timelock.sol/Timelock.dbg.json +1 -1
  7. package/build/contracts/bank/Bank.sol/Bank.dbg.json +1 -1
  8. package/build/contracts/bank/IReceiveBalanceApproval.sol/IReceiveBalanceApproval.dbg.json +1 -1
  9. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.dbg.json +1 -1
  10. package/build/contracts/bridge/BitcoinTx.sol/BitcoinTx.json +2 -2
  11. package/build/contracts/bridge/Bridge.sol/Bridge.dbg.json +1 -1
  12. package/build/contracts/bridge/Bridge.sol/Bridge.json +74 -48
  13. package/build/contracts/bridge/BridgeGovernance.sol/BridgeGovernance.dbg.json +1 -1
  14. package/build/contracts/bridge/BridgeGovernance.sol/BridgeGovernance.json +2 -2
  15. package/build/contracts/bridge/BridgeGovernanceParameters.sol/BridgeGovernanceParameters.dbg.json +1 -1
  16. package/build/contracts/bridge/BridgeState.sol/BridgeState.dbg.json +1 -1
  17. package/build/contracts/bridge/BridgeState.sol/BridgeState.json +2 -2
  18. package/build/contracts/bridge/Deposit.sol/Deposit.dbg.json +1 -1
  19. package/build/contracts/bridge/Deposit.sol/Deposit.json +2 -2
  20. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.dbg.json +1 -1
  21. package/build/contracts/bridge/DepositSweep.sol/DepositSweep.json +2 -2
  22. package/build/contracts/bridge/EcdsaLib.sol/EcdsaLib.dbg.json +1 -1
  23. package/build/contracts/bridge/Fraud.sol/Fraud.dbg.json +1 -1
  24. package/build/contracts/bridge/Fraud.sol/Fraud.json +2 -2
  25. package/build/contracts/bridge/Heartbeat.sol/Heartbeat.dbg.json +1 -1
  26. package/build/contracts/bridge/IRelay.sol/IRelay.dbg.json +1 -1
  27. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.dbg.json +1 -1
  28. package/build/contracts/bridge/MovingFunds.sol/MovingFunds.json +2 -2
  29. package/build/contracts/bridge/Redemption.sol/IRedemptionWatchtower.dbg.json +1 -1
  30. package/build/contracts/bridge/Redemption.sol/OutboundTx.dbg.json +1 -1
  31. package/build/contracts/bridge/Redemption.sol/OutboundTx.json +2 -2
  32. package/build/contracts/bridge/Redemption.sol/Redemption.dbg.json +1 -1
  33. package/build/contracts/bridge/Redemption.sol/Redemption.json +2 -2
  34. package/build/contracts/bridge/RedemptionWatchtower.sol/RedemptionWatchtower.dbg.json +1 -1
  35. package/build/contracts/bridge/RedemptionWatchtower.sol/RedemptionWatchtower.json +2 -2
  36. package/build/contracts/bridge/VendingMachine.sol/VendingMachine.dbg.json +1 -1
  37. package/build/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.dbg.json +1 -1
  38. package/build/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.dbg.json +1 -1
  39. package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.dbg.json +1 -1
  40. package/build/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.json +2 -2
  41. package/build/contracts/bridge/Wallets.sol/Wallets.dbg.json +1 -1
  42. package/build/contracts/bridge/Wallets.sol/Wallets.json +2 -2
  43. package/build/contracts/cross-chain/AbstractL1BTCDepositor.sol/AbstractL1BTCDepositor.dbg.json +1 -1
  44. package/build/contracts/cross-chain/L2TBTC.sol/L2TBTC.dbg.json +1 -1
  45. package/build/contracts/cross-chain/starknet/StarkNetBitcoinDepositor.sol/StarkNetBitcoinDepositor.dbg.json +1 -1
  46. package/build/contracts/cross-chain/starknet/interfaces/IStarkGateBridge.sol/IStarkGateBridge.dbg.json +1 -1
  47. package/build/contracts/cross-chain/utils/Crosschain.sol/CrosschainUtils.dbg.json +1 -1
  48. package/build/contracts/cross-chain/wormhole/BTCDepositorWormhole.sol/BTCDepositorWormhole.dbg.json +1 -1
  49. package/build/contracts/cross-chain/wormhole/L1BTCDepositorWormhole.sol/L1BTCDepositorWormhole.dbg.json +1 -1
  50. package/build/contracts/cross-chain/wormhole/L2BTCDepositorWormhole.sol/L2BTCDepositorWormhole.dbg.json +1 -1
  51. package/build/contracts/cross-chain/wormhole/L2WormholeGateway.sol/L2WormholeGateway.dbg.json +1 -1
  52. package/build/contracts/cross-chain/wormhole/Wormhole.sol/IWormhole.dbg.json +1 -1
  53. package/build/contracts/cross-chain/wormhole/Wormhole.sol/IWormholeGateway.dbg.json +1 -1
  54. package/build/contracts/cross-chain/wormhole/Wormhole.sol/IWormholeReceiver.dbg.json +1 -1
  55. package/build/contracts/cross-chain/wormhole/Wormhole.sol/IWormholeRelayer.dbg.json +1 -1
  56. package/build/contracts/cross-chain/wormhole/Wormhole.sol/IWormholeTokenBridge.dbg.json +1 -1
  57. package/build/contracts/cross-chain/wormhole/Wormhole.sol/WormholeTypes.dbg.json +1 -1
  58. package/build/contracts/cross-chain/wormhole/Wormhole.sol/WormholeUtils.dbg.json +1 -1
  59. package/build/contracts/integrator/AbstractBTCDepositor.sol/AbstractBTCDepositor.dbg.json +1 -1
  60. package/build/contracts/integrator/IBridge.sol/IBridge.dbg.json +1 -1
  61. package/build/contracts/integrator/IBridge.sol/IBridgeTypes.dbg.json +1 -1
  62. package/build/contracts/integrator/ITBTCVault.sol/ITBTCVault.dbg.json +1 -1
  63. package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.dbg.json +1 -1
  64. package/build/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +2 -2
  65. package/build/contracts/relay/LightRelay.sol/ILightRelay.dbg.json +1 -1
  66. package/build/contracts/relay/LightRelay.sol/LightRelay.dbg.json +1 -1
  67. package/build/contracts/relay/LightRelay.sol/RelayUtils.dbg.json +1 -1
  68. package/build/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.dbg.json +1 -1
  69. package/build/contracts/test/BankStub.sol/BankStub.dbg.json +1 -1
  70. package/build/contracts/test/BridgeStub.sol/BridgeStub.dbg.json +1 -1
  71. package/build/contracts/test/BridgeStub.sol/BridgeStub.json +74 -48
  72. package/build/contracts/test/HeartbeatStub.sol/HeartbeatStub.dbg.json +1 -1
  73. package/build/contracts/test/LightRelayStub.sol/LightRelayStub.dbg.json +1 -1
  74. package/build/contracts/test/MockBridgeForStarkNet.sol/MockBridgeForStarkNet.dbg.json +1 -1
  75. package/build/contracts/test/MockStarkGateBridge.sol/MockStarkGateBridge.dbg.json +1 -1
  76. package/build/contracts/test/MockTBTCBridge.sol/MockTBTCBridge.dbg.json +1 -1
  77. package/build/contracts/test/MockTBTCBridgeWithSweep.sol/MockTBTCBridgeWithSweep.dbg.json +1 -1
  78. package/build/contracts/test/MockTBTCToken.sol/MockTBTCToken.dbg.json +1 -1
  79. package/build/contracts/test/MockTBTCVault.sol/MockTBTCVault.dbg.json +1 -1
  80. package/build/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.dbg.json +1 -1
  81. package/build/contracts/test/ReentrancyAttacker.sol/ReentrancyAttacker.dbg.json +1 -1
  82. package/build/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.dbg.json +1 -1
  83. package/build/contracts/test/SystemTestRelay.sol/SystemTestRelay.dbg.json +1 -1
  84. package/build/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +2 -2
  85. package/build/contracts/test/TestBTCDepositor.sol/MockBridge.dbg.json +1 -1
  86. package/build/contracts/test/TestBTCDepositor.sol/MockTBTCVault.dbg.json +1 -1
  87. package/build/contracts/test/TestBTCDepositor.sol/TestBTCDepositor.dbg.json +1 -1
  88. package/build/contracts/test/TestBitcoinTx.sol/TestBitcoinTx.dbg.json +1 -1
  89. package/build/contracts/test/TestBitcoinTx.sol/TestBitcoinTx.json +2 -2
  90. package/build/contracts/test/TestERC20.sol/TestERC20.dbg.json +1 -1
  91. package/build/contracts/test/TestERC721.sol/TestERC721.dbg.json +1 -1
  92. package/build/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.dbg.json +1 -1
  93. package/build/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.dbg.json +1 -1
  94. package/build/contracts/token/TBTC.sol/TBTC.dbg.json +1 -1
  95. package/build/contracts/vault/DonationVault.sol/DonationVault.dbg.json +1 -1
  96. package/build/contracts/vault/IVault.sol/IVault.dbg.json +1 -1
  97. package/build/contracts/vault/TBTCOptimisticMinting.sol/TBTCOptimisticMinting.dbg.json +1 -1
  98. package/build/contracts/vault/TBTCVault.sol/TBTCVault.dbg.json +1 -1
  99. package/build/contracts/vault/TBTCVault.sol/TBTCVault.json +2 -2
  100. package/contracts/bridge/Bridge.sol +34 -0
  101. package/contracts/bridge/Deposit.sol +7 -5
  102. package/deploy/80_upgrade_bridge_v2.ts +107 -54
  103. package/deploy/81_upgrade_bridge_v2_vault_fix.ts +160 -0
  104. package/export/artifacts/contracts/bridge/Bridge.sol/Bridge.json +4891 -4170
  105. package/export/artifacts/contracts/bridge/BridgeGovernance.sol/BridgeGovernance.json +207 -207
  106. package/export/artifacts/contracts/bridge/RedemptionWatchtower.sol/RedemptionWatchtower.json +104 -104
  107. package/export/artifacts/contracts/bridge/VendingMachine.sol/VendingMachine.json +67 -67
  108. package/export/artifacts/contracts/bridge/VendingMachineV2.sol/VendingMachineV2.json +24 -24
  109. package/export/artifacts/contracts/bridge/VendingMachineV3.sol/VendingMachineV3.json +26 -26
  110. package/export/artifacts/contracts/bridge/WalletProposalValidator.sol/WalletProposalValidator.json +72 -72
  111. package/export/artifacts/contracts/cross-chain/L2TBTC.sol/L2TBTC.json +40 -40
  112. package/export/artifacts/contracts/cross-chain/starknet/StarkNetBitcoinDepositor.sol/StarkNetBitcoinDepositor.json +3360 -3360
  113. package/export/artifacts/contracts/cross-chain/wormhole/BTCDepositorWormhole.sol/BTCDepositorWormhole.json +117 -117
  114. package/export/artifacts/contracts/cross-chain/wormhole/L1BTCDepositorWormhole.sol/L1BTCDepositorWormhole.json +140 -140
  115. package/export/artifacts/contracts/cross-chain/wormhole/L2BTCDepositorWormhole.sol/L2BTCDepositorWormhole.json +37 -37
  116. package/export/artifacts/contracts/cross-chain/wormhole/L2WormholeGateway.sol/L2WormholeGateway.json +51 -51
  117. package/export/artifacts/contracts/maintainer/MaintainerProxy.sol/MaintainerProxy.json +103 -103
  118. package/export/artifacts/contracts/relay/LightRelay.sol/LightRelay.json +57 -57
  119. package/export/artifacts/contracts/relay/LightRelayMaintainerProxy.sol/LightRelayMaintainerProxy.json +31 -31
  120. package/export/artifacts/contracts/test/BankStub.sol/BankStub.json +2 -2
  121. package/export/artifacts/contracts/test/BridgeStub.sol/BridgeStub.json +5130 -4414
  122. package/export/artifacts/contracts/test/HeartbeatStub.sol/HeartbeatStub.json +4 -4
  123. package/export/artifacts/contracts/test/LightRelayStub.sol/LightRelayStub.json +59 -59
  124. package/export/artifacts/contracts/test/MockBridgeForStarkNet.sol/MockBridgeForStarkNet.json +730 -730
  125. package/export/artifacts/contracts/test/MockStarkGateBridge.sol/MockStarkGateBridge.json +956 -956
  126. package/export/artifacts/contracts/test/MockTBTCBridge.sol/MockTBTCBridge.json +781 -781
  127. package/export/artifacts/contracts/test/MockTBTCBridgeWithSweep.sol/MockTBTCBridgeWithSweep.json +458 -458
  128. package/export/artifacts/contracts/test/MockTBTCToken.sol/MockTBTCToken.json +1273 -1273
  129. package/export/artifacts/contracts/test/MockTBTCVault.sol/MockTBTCVault.json +305 -305
  130. package/export/artifacts/contracts/test/ReceiveApprovalStub.sol/ReceiveApprovalStub.json +7 -7
  131. package/export/artifacts/contracts/test/ReentrancyAttacker.sol/ReentrancyAttacker.json +204 -204
  132. package/export/artifacts/contracts/test/SepoliaLightRelay.sol/SepoliaLightRelay.json +59 -59
  133. package/export/artifacts/contracts/test/SystemTestRelay.sol/SystemTestRelay.json +19 -19
  134. package/export/artifacts/contracts/test/TestBTCDepositor.sol/MockBridge.json +34 -34
  135. package/export/artifacts/contracts/test/TestBTCDepositor.sol/MockTBTCVault.json +20 -20
  136. package/export/artifacts/contracts/test/TestBTCDepositor.sol/TestBTCDepositor.json +52 -52
  137. package/export/artifacts/contracts/test/TestBitcoinTx.sol/TestBitcoinTx.json +124 -124
  138. package/export/artifacts/contracts/test/TestERC20.sol/TestERC20.json +6 -6
  139. package/export/artifacts/contracts/test/TestERC721.sol/TestERC721.json +8 -8
  140. package/export/artifacts/contracts/test/TestEcdsaLib.sol/TestEcdsaLib.json +4 -4
  141. package/export/artifacts/contracts/test/WormholeBridgeStub.sol/WormholeBridgeStub.json +37 -37
  142. package/export/artifacts/contracts/token/TBTC.sol/TBTC.json +2 -2
  143. package/export/artifacts/contracts/vault/DonationVault.sol/DonationVault.json +11 -11
  144. package/export/artifacts/contracts/vault/TBTCVault.sol/TBTCVault.json +144 -144
  145. package/export/deploy/80_upgrade_bridge_v2.js +127 -90
  146. package/export/deploy/81_upgrade_bridge_v2_vault_fix.js +211 -0
  147. package/export/typechain/AbstractBTCRedeemer.js +2 -0
  148. package/export/typechain/IBank.js +2 -0
  149. package/export/typechain/IL2WormholeGateway.js +2 -0
  150. package/export/typechain/INttManager.js +2 -0
  151. package/export/typechain/INttManagerWithExecutor.js +2 -0
  152. package/export/typechain/L1BTCDepositorNtt.js +2 -0
  153. package/export/typechain/L1BTCDepositorNttWithExecutor.js +2 -0
  154. package/export/typechain/L1BTCRedeemerWormhole.js +2 -0
  155. package/export/typechain/L2BTCRedeemerWormhole.js +2 -0
  156. package/export/typechain/MockBank.js +2 -0
  157. package/export/typechain/MockBridgeWithRebateStaking.js +2 -0
  158. package/export/typechain/MockL1BTCRedeemerWormhole.js +2 -0
  159. package/export/typechain/MockNttManager.js +2 -0
  160. package/export/typechain/MockNttManagerWithExecutor.js +2 -0
  161. package/export/typechain/NativeBTCDepositor.js +2 -0
  162. package/export/typechain/RebateStaking.js +2 -0
  163. package/export/typechain/TestBTCRedeemer.js +2 -0
  164. package/export/typechain/TestBTCUtilsHelper.js +2 -0
  165. package/export/typechain/TransceiverStructs.js +2 -0
  166. package/export/typechain/factories/AbstractBTCRedeemer__factory.js +204 -0
  167. package/export/typechain/factories/BridgeGovernance__factory.js +1 -1
  168. package/export/typechain/factories/BridgeState__factory.js +1 -1
  169. package/export/typechain/factories/BridgeStub__factory.js +27 -1
  170. package/export/typechain/factories/Bridge__factory.js +27 -1
  171. package/export/typechain/factories/DepositSweep__factory.js +1 -1
  172. package/export/typechain/factories/Deposit__factory.js +1 -1
  173. package/export/typechain/factories/Fraud__factory.js +1 -1
  174. package/export/typechain/factories/IBank__factory.js +138 -0
  175. package/export/typechain/factories/IL2WormholeGateway__factory.js +61 -0
  176. package/export/typechain/factories/INttManagerWithExecutor__factory.js +183 -0
  177. package/export/typechain/factories/INttManager__factory.js +51 -0
  178. package/export/typechain/factories/L1BTCDepositorNttWithExecutor__factory.js +1454 -0
  179. package/export/typechain/factories/L1BTCDepositorNtt__factory.js +920 -0
  180. package/export/typechain/factories/L1BTCRedeemerWormhole__factory.js +622 -0
  181. package/export/typechain/factories/L2BTCRedeemerWormhole__factory.js +348 -0
  182. package/export/typechain/factories/MaintainerProxy__factory.js +1 -1
  183. package/export/typechain/factories/MockBank__factory.js +248 -0
  184. package/export/typechain/factories/MockBridgeWithRebateStaking__factory.js +129 -0
  185. package/export/typechain/factories/MockL1BTCRedeemerWormhole__factory.js +638 -0
  186. package/export/typechain/factories/MockNttManagerWithExecutor__factory.js +423 -0
  187. package/export/typechain/factories/MockNttManager__factory.js +211 -0
  188. package/export/typechain/factories/MovingFunds__factory.js +1 -1
  189. package/export/typechain/factories/NativeBTCDepositor__factory.js +635 -0
  190. package/export/typechain/factories/RebateStaking__factory.js +720 -0
  191. package/export/typechain/factories/RedemptionWatchtower__factory.js +1 -1
  192. package/export/typechain/factories/Redemption__factory.js +1 -1
  193. package/export/typechain/factories/SystemTestRelay__factory.js +1 -1
  194. package/export/typechain/factories/TBTCVault__factory.js +1 -1
  195. package/export/typechain/factories/TestBTCRedeemer__factory.js +425 -0
  196. package/export/typechain/factories/TestBTCUtilsHelper__factory.js +109 -0
  197. package/export/typechain/factories/TestBitcoinTx__factory.js +1 -1
  198. package/export/typechain/factories/TransceiverStructs__factory.js +853 -0
  199. package/export/typechain/factories/WalletProposalValidator__factory.js +1 -1
  200. package/export/typechain/factories/Wallets__factory.js +1 -1
  201. package/export/typechain/index.js +40 -2
  202. package/export.json +40910 -0
  203. package/package.json +1 -1
@@ -0,0 +1,423 @@
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.MockNttManagerWithExecutor__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
+ inputs: [],
51
+ stateMutability: "nonpayable",
52
+ type: "constructor",
53
+ },
54
+ {
55
+ anonymous: false,
56
+ inputs: [
57
+ {
58
+ indexed: true,
59
+ internalType: "uint16",
60
+ name: "chain",
61
+ type: "uint16",
62
+ },
63
+ {
64
+ indexed: true,
65
+ internalType: "bytes32",
66
+ name: "targetAddress",
67
+ type: "bytes32",
68
+ },
69
+ ],
70
+ name: "MockExecutorRequested",
71
+ type: "event",
72
+ },
73
+ {
74
+ anonymous: false,
75
+ inputs: [
76
+ {
77
+ indexed: true,
78
+ internalType: "uint64",
79
+ name: "msgId",
80
+ type: "uint64",
81
+ },
82
+ {
83
+ indexed: true,
84
+ internalType: "uint16",
85
+ name: "chain",
86
+ type: "uint16",
87
+ },
88
+ {
89
+ indexed: false,
90
+ internalType: "uint256",
91
+ name: "value",
92
+ type: "uint256",
93
+ },
94
+ ],
95
+ name: "MockTransferExecuted",
96
+ type: "event",
97
+ },
98
+ {
99
+ inputs: [],
100
+ name: "MOCK_DELIVERY_PRICE",
101
+ outputs: [
102
+ {
103
+ internalType: "uint256",
104
+ name: "",
105
+ type: "uint256",
106
+ },
107
+ ],
108
+ stateMutability: "view",
109
+ type: "function",
110
+ },
111
+ {
112
+ inputs: [
113
+ {
114
+ internalType: "bytes",
115
+ name: "signedQuote",
116
+ type: "bytes",
117
+ },
118
+ ],
119
+ name: "addValidSignedQuote",
120
+ outputs: [],
121
+ stateMutability: "nonpayable",
122
+ type: "function",
123
+ },
124
+ {
125
+ inputs: [
126
+ {
127
+ internalType: "uint256",
128
+ name: "amount",
129
+ type: "uint256",
130
+ },
131
+ {
132
+ internalType: "uint16",
133
+ name: "dbps",
134
+ type: "uint16",
135
+ },
136
+ ],
137
+ name: "calculateFee",
138
+ outputs: [
139
+ {
140
+ internalType: "uint256",
141
+ name: "fee",
142
+ type: "uint256",
143
+ },
144
+ ],
145
+ stateMutability: "pure",
146
+ type: "function",
147
+ },
148
+ {
149
+ inputs: [],
150
+ name: "nextMsgId",
151
+ outputs: [
152
+ {
153
+ internalType: "uint64",
154
+ name: "",
155
+ type: "uint64",
156
+ },
157
+ ],
158
+ stateMutability: "view",
159
+ type: "function",
160
+ },
161
+ {
162
+ inputs: [
163
+ {
164
+ internalType: "address",
165
+ name: "",
166
+ type: "address",
167
+ },
168
+ {
169
+ internalType: "uint16",
170
+ name: "recipientChain",
171
+ type: "uint16",
172
+ },
173
+ {
174
+ internalType: "bytes",
175
+ name: "",
176
+ type: "bytes",
177
+ },
178
+ {
179
+ components: [
180
+ {
181
+ internalType: "uint256",
182
+ name: "value",
183
+ type: "uint256",
184
+ },
185
+ {
186
+ internalType: "address",
187
+ name: "refundAddress",
188
+ type: "address",
189
+ },
190
+ {
191
+ internalType: "bytes",
192
+ name: "signedQuote",
193
+ type: "bytes",
194
+ },
195
+ {
196
+ internalType: "bytes",
197
+ name: "instructions",
198
+ type: "bytes",
199
+ },
200
+ ],
201
+ internalType: "struct ExecutorArgs",
202
+ name: "executorArgs",
203
+ type: "tuple",
204
+ },
205
+ {
206
+ components: [
207
+ {
208
+ internalType: "uint16",
209
+ name: "dbps",
210
+ type: "uint16",
211
+ },
212
+ {
213
+ internalType: "address",
214
+ name: "payee",
215
+ type: "address",
216
+ },
217
+ ],
218
+ internalType: "struct FeeArgs",
219
+ name: "",
220
+ type: "tuple",
221
+ },
222
+ ],
223
+ name: "quoteDeliveryPrice",
224
+ outputs: [
225
+ {
226
+ internalType: "uint256",
227
+ name: "totalCost",
228
+ type: "uint256",
229
+ },
230
+ ],
231
+ stateMutability: "view",
232
+ type: "function",
233
+ },
234
+ {
235
+ inputs: [
236
+ {
237
+ internalType: "uint16",
238
+ name: "chainId",
239
+ type: "uint16",
240
+ },
241
+ {
242
+ internalType: "bool",
243
+ name: "supported",
244
+ type: "bool",
245
+ },
246
+ ],
247
+ name: "setSupportedChain",
248
+ outputs: [],
249
+ stateMutability: "nonpayable",
250
+ type: "function",
251
+ },
252
+ {
253
+ inputs: [
254
+ {
255
+ internalType: "uint16",
256
+ name: "",
257
+ type: "uint16",
258
+ },
259
+ ],
260
+ name: "supportedChains",
261
+ outputs: [
262
+ {
263
+ internalType: "bool",
264
+ name: "",
265
+ type: "bool",
266
+ },
267
+ ],
268
+ stateMutability: "view",
269
+ type: "function",
270
+ },
271
+ {
272
+ inputs: [
273
+ {
274
+ internalType: "address",
275
+ name: "",
276
+ type: "address",
277
+ },
278
+ {
279
+ internalType: "uint256",
280
+ name: "amount",
281
+ type: "uint256",
282
+ },
283
+ {
284
+ internalType: "uint16",
285
+ name: "recipientChain",
286
+ type: "uint16",
287
+ },
288
+ {
289
+ internalType: "bytes32",
290
+ name: "recipientAddress",
291
+ type: "bytes32",
292
+ },
293
+ {
294
+ internalType: "bytes32",
295
+ name: "",
296
+ type: "bytes32",
297
+ },
298
+ {
299
+ internalType: "bytes",
300
+ name: "",
301
+ type: "bytes",
302
+ },
303
+ {
304
+ components: [
305
+ {
306
+ internalType: "uint256",
307
+ name: "value",
308
+ type: "uint256",
309
+ },
310
+ {
311
+ internalType: "address",
312
+ name: "refundAddress",
313
+ type: "address",
314
+ },
315
+ {
316
+ internalType: "bytes",
317
+ name: "signedQuote",
318
+ type: "bytes",
319
+ },
320
+ {
321
+ internalType: "bytes",
322
+ name: "instructions",
323
+ type: "bytes",
324
+ },
325
+ ],
326
+ internalType: "struct ExecutorArgs",
327
+ name: "executorArgs",
328
+ type: "tuple",
329
+ },
330
+ {
331
+ components: [
332
+ {
333
+ internalType: "uint16",
334
+ name: "dbps",
335
+ type: "uint16",
336
+ },
337
+ {
338
+ internalType: "address",
339
+ name: "payee",
340
+ type: "address",
341
+ },
342
+ ],
343
+ internalType: "struct FeeArgs",
344
+ name: "feeArgs",
345
+ type: "tuple",
346
+ },
347
+ ],
348
+ name: "transfer",
349
+ outputs: [
350
+ {
351
+ internalType: "uint64",
352
+ name: "msgId",
353
+ type: "uint64",
354
+ },
355
+ ],
356
+ stateMutability: "payable",
357
+ type: "function",
358
+ },
359
+ {
360
+ inputs: [
361
+ {
362
+ internalType: "bytes",
363
+ name: "",
364
+ type: "bytes",
365
+ },
366
+ ],
367
+ name: "validSignedQuotes",
368
+ outputs: [
369
+ {
370
+ internalType: "bool",
371
+ name: "",
372
+ type: "bool",
373
+ },
374
+ ],
375
+ stateMutability: "view",
376
+ type: "function",
377
+ },
378
+ {
379
+ stateMutability: "payable",
380
+ type: "receive",
381
+ },
382
+ ];
383
+ var _bytecode = "0x6080604052600080546001600160401b031916600117905534801561002357600080fd5b50600160208190527fd9d16d34ffb15ba3a3d852f0d403e2ce1d691fb54de27ac87cd2f993f3ec330f805460ff1990811683179091557f6280e9caec09c2f0007c3f9e61e9e1a060188c72cdbb510e12183e12d0752cef80548216831790557f68fb8e7cad479ccc9244a179d64897454189fd25db04e15d3a5135327a17597b80548216831790557fbdbfd5fe12b0725f9a86effbf0320821eb71455f8b2a1271fae01b3621e6f172805482168317905560286000527f71b77ca6c28942a6a5831a75c27e59515f05848f3eb905d816d90fe6792b6da780549091169091179055610a92806101136000396000f3fe60806040526004361061008a5760003560e01c8063448615e911610059578063448615e91461016c57806347ae31781461018d578063aa878ab5146101ad578063ad820ffc146101e8578063fc1b77691461020357600080fd5b80630fed70a21461009657806310d58783146100de5780631674629c1461011e57806339bb39eb1461014057600080fd5b3661009157005b600080fd5b3480156100a257600080fd5b506100cb6100b1366004610665565b61ffff16620186a080830482029281900691909102040190565b6040519081526020015b60405180910390f35b3480156100ea57600080fd5b5061010e6100f9366004610691565b60016020526000908152604090205460ff1681565b60405190151581526020016100d5565b34801561012a57600080fd5b5061013e610139366004610756565b610244565b005b61015361014e3660046107d4565b610279565b60405167ffffffffffffffff90911681526020016100d5565b34801561017857600080fd5b506000546101539067ffffffffffffffff1681565b34801561019957600080fd5b506100cb6101a8366004610888565b610554565b3480156101b957600080fd5b5061010e6101c8366004610756565b805160208183018101805160028252928201919093012091525460ff1681565b3480156101f457600080fd5b506100cb662386f26fc1000081565b34801561020f57600080fd5b5061013e61021e36600461091f565b61ffff919091166000908152600160205260409020805460ff1916911515919091179055565b6001600282604051610256919061095b565b908152604051908190036020019020805491151560ff1990921691909117905550565b61ffff861660009081526001602052604081205460ff166102d75760405162461bcd60e51b815260206004820152601360248201527210da185a5b881b9bdd081cdd5c1c1bdc9d1959606a1b60448201526064015b60405180910390fd5b82353410156103285760405162461bcd60e51b815260206004820152601d60248201527f496e73756666696369656e74206578656375746f72207061796d656e7400000060448201526064016102ce565b6000610337604085018561098a565b90501161037b5760405162461bcd60e51b8152602060048201526012602482015271456d707479207369676e65642071756f746560701b60448201526064016102ce565b6000805467ffffffffffffffff169080610394836109ee565b91906101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905060006103d5898460000160208101906100b19190610691565b9050888115801590610400575060006103f46040860160208701610a15565b6001600160a01b031614155b156104125761040f8282610a30565b90505b8861ffff168367ffffffffffffffff167f72b973cb36e7a8c5f06c301113d4bff95a683871ee445d353b7578ea6d3522ee3460405161045391815260200190565b60405180910390a3604051889061ffff8b16907f5775f9861a6b4f9f585371c0ce85bb2d7ec79cb8e70839687ea4e8dc38aa2d7990600090a36000610499863534610a30565b905080156105455760006104b36040880160208901610a15565b6001600160a01b03168260405160006040518083038185875af1925050503d80600081146104fd576040519150601f19603f3d011682016040523d82523d6000602084013e610502565b606091505b50509050806105435760405162461bcd60e51b815260206004820152600d60248201526c1499599d5b990819985a5b1959609a1b60448201526064016102ce565b505b50505098975050505050505050565b61ffff841660009081526001602052604081205460ff166105ad5760405162461bcd60e51b815260206004820152601360248201527210da185a5b881b9bdd081cdd5c1c1bdc9d1959606a1b60448201526064016102ce565b60006105bc604085018561098a565b9050116106005760405162461bcd60e51b8152602060048201526012602482015271456d707479207369676e65642071756f746560701b60448201526064016102ce565b662386f26fc10000602061ffff8716148061061f57508561ffff166028145b156106385761063566071afd498d000082610a49565b90505b610643843582610a49565b979650505050505050565b803561ffff8116811461066057600080fd5b919050565b6000806040838503121561067857600080fd5b823591506106886020840161064e565b90509250929050565b6000602082840312156106a357600080fd5b6106ac8261064e565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126106da57600080fd5b813567ffffffffffffffff808211156106f5576106f56106b3565b604051601f8301601f19908116603f0116810190828211818310171561071d5761071d6106b3565b8160405283815286602085880101111561073657600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561076857600080fd5b813567ffffffffffffffff81111561077f57600080fd5b61078b848285016106c9565b949350505050565b80356001600160a01b038116811461066057600080fd5b6000608082840312156107bc57600080fd5b50919050565b6000604082840312156107bc57600080fd5b600080600080600080600080610120898b0312156107f157600080fd5b6107fa89610793565b97506020890135965061080f60408a0161064e565b9550606089013594506080890135935060a089013567ffffffffffffffff8082111561083a57600080fd5b6108468c838d016106c9565b945060c08b013591508082111561085c57600080fd5b506108698b828c016107aa565b9250506108798a60e08b016107c2565b90509295985092959890939650565b600080600080600060c086880312156108a057600080fd5b6108a986610793565b94506108b76020870161064e565b9350604086013567ffffffffffffffff808211156108d457600080fd5b6108e089838a016106c9565b945060608801359150808211156108f657600080fd5b50610903888289016107aa565b92505061091387608088016107c2565b90509295509295909350565b6000806040838503121561093257600080fd5b61093b8361064e565b91506020830135801515811461095057600080fd5b809150509250929050565b6000825160005b8181101561097c5760208186018101518583015201610962565b506000920191825250919050565b6000808335601e198436030181126109a157600080fd5b83018035915067ffffffffffffffff8211156109bc57600080fd5b6020019150368190038213156109d157600080fd5b9250929050565b634e487b7160e01b600052601160045260246000fd5b600067ffffffffffffffff808316818103610a0b57610a0b6109d8565b6001019392505050565b600060208284031215610a2757600080fd5b6106ac82610793565b81810381811115610a4357610a436109d8565b92915050565b80820180821115610a4357610a436109d856fea2646970667358221220c7a8b0815ec229d6887cddc4f04e29dd9d81d2bbd34b9421cf374c8756bb007964736f6c63430008110033";
384
+ var isSuperArgs = function (xs) { return xs.length > 1; };
385
+ var MockNttManagerWithExecutor__factory = /** @class */ (function (_super) {
386
+ __extends(MockNttManagerWithExecutor__factory, _super);
387
+ function MockNttManagerWithExecutor__factory() {
388
+ var args = [];
389
+ for (var _i = 0; _i < arguments.length; _i++) {
390
+ args[_i] = arguments[_i];
391
+ }
392
+ var _this = this;
393
+ if (isSuperArgs(args)) {
394
+ _this = _super.apply(this, __spreadArray([], __read(args), false)) || this;
395
+ }
396
+ else {
397
+ _this = _super.call(this, _abi, _bytecode, args[0]) || this;
398
+ }
399
+ return _this;
400
+ }
401
+ MockNttManagerWithExecutor__factory.prototype.deploy = function (overrides) {
402
+ return _super.prototype.deploy.call(this, overrides || {});
403
+ };
404
+ MockNttManagerWithExecutor__factory.prototype.getDeployTransaction = function (overrides) {
405
+ return _super.prototype.getDeployTransaction.call(this, overrides || {});
406
+ };
407
+ MockNttManagerWithExecutor__factory.prototype.attach = function (address) {
408
+ return _super.prototype.attach.call(this, address);
409
+ };
410
+ MockNttManagerWithExecutor__factory.prototype.connect = function (signer) {
411
+ return _super.prototype.connect.call(this, signer);
412
+ };
413
+ MockNttManagerWithExecutor__factory.createInterface = function () {
414
+ return new ethers_1.utils.Interface(_abi);
415
+ };
416
+ MockNttManagerWithExecutor__factory.connect = function (address, signerOrProvider) {
417
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
418
+ };
419
+ MockNttManagerWithExecutor__factory.bytecode = _bytecode;
420
+ MockNttManagerWithExecutor__factory.abi = _abi;
421
+ return MockNttManagerWithExecutor__factory;
422
+ }(ethers_1.ContractFactory));
423
+ exports.MockNttManagerWithExecutor__factory = MockNttManagerWithExecutor__factory;
@@ -0,0 +1,211 @@
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.MockNttManager__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
+ inputs: [],
51
+ stateMutability: "nonpayable",
52
+ type: "constructor",
53
+ },
54
+ {
55
+ inputs: [],
56
+ name: "MOCK_DELIVERY_PRICE",
57
+ outputs: [
58
+ {
59
+ internalType: "uint256",
60
+ name: "",
61
+ type: "uint256",
62
+ },
63
+ ],
64
+ stateMutability: "view",
65
+ type: "function",
66
+ },
67
+ {
68
+ inputs: [
69
+ {
70
+ internalType: "uint16",
71
+ name: "",
72
+ type: "uint16",
73
+ },
74
+ ],
75
+ name: "chainSpecificPrices",
76
+ outputs: [
77
+ {
78
+ internalType: "uint256",
79
+ name: "",
80
+ type: "uint256",
81
+ },
82
+ ],
83
+ stateMutability: "view",
84
+ type: "function",
85
+ },
86
+ {
87
+ inputs: [
88
+ {
89
+ internalType: "uint16",
90
+ name: "recipientChain",
91
+ type: "uint16",
92
+ },
93
+ {
94
+ internalType: "bytes",
95
+ name: "",
96
+ type: "bytes",
97
+ },
98
+ ],
99
+ name: "quoteDeliveryPrice",
100
+ outputs: [
101
+ {
102
+ internalType: "uint256[]",
103
+ name: "priceQuotes",
104
+ type: "uint256[]",
105
+ },
106
+ {
107
+ internalType: "uint256",
108
+ name: "totalPrice",
109
+ type: "uint256",
110
+ },
111
+ ],
112
+ stateMutability: "view",
113
+ type: "function",
114
+ },
115
+ {
116
+ inputs: [
117
+ {
118
+ internalType: "uint16",
119
+ name: "chainId",
120
+ type: "uint16",
121
+ },
122
+ {
123
+ internalType: "uint256",
124
+ name: "price",
125
+ type: "uint256",
126
+ },
127
+ ],
128
+ name: "setChainSpecificPrice",
129
+ outputs: [],
130
+ stateMutability: "nonpayable",
131
+ type: "function",
132
+ },
133
+ {
134
+ inputs: [
135
+ {
136
+ internalType: "uint16",
137
+ name: "chainId",
138
+ type: "uint16",
139
+ },
140
+ {
141
+ internalType: "bool",
142
+ name: "supported",
143
+ type: "bool",
144
+ },
145
+ ],
146
+ name: "setSupportedChain",
147
+ outputs: [],
148
+ stateMutability: "nonpayable",
149
+ type: "function",
150
+ },
151
+ {
152
+ inputs: [
153
+ {
154
+ internalType: "uint16",
155
+ name: "",
156
+ type: "uint16",
157
+ },
158
+ ],
159
+ name: "supportedChains",
160
+ outputs: [
161
+ {
162
+ internalType: "bool",
163
+ name: "",
164
+ type: "bool",
165
+ },
166
+ ],
167
+ stateMutability: "view",
168
+ type: "function",
169
+ },
170
+ ];
171
+ var _bytecode = "0x608060405234801561001057600080fd5b507fabbb5caa7dda850e60932de0934eb1f9d0f59695050f761dc64e443e5030a569805460ff1990811660019081179092557f569e75fc77c1a856f6daaf9e69d8a9566ca34aa47f9133711ce065a571af0cfd80548216831790557f24d30d6da666a4009a2a398534c9f4ad83932433c3c6d78b8e8d1c3efb30a9bc80548216831790557fdc275f13e83bcad5305f77e8f2f06c8d9840ee8b7d606ee958f86f59784b2de380548216831790557f5bbfe49fc46bd3c0efd63509af9eb2a12636d52d97f4d1cf52bf53227ef389c280549091168217905560205266071afd498d00007f6280e9caec09c2f0007c3f9e61e9e1a060188c72cdbb510e12183e12d0752cef8190557f71b77ca6c28942a6a5831a75c27e59515f05848f3eb905d816d90fe6792b6da7556605543df729c0007f68fb8e7cad479ccc9244a179d64897454189fd25db04e15d3a5135327a17597b55601760005266038d7ea4c680007fbdbfd5fe12b0725f9a86effbf0320821eb71455f8b2a1271fae01b3621e6f17255610461806101a06000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806310d587831461006757806371e4c1ac1461009f5780639057412d146100cd578063ad820ffc146100ee578063d81c83e9146100fc578063fc1b776914610123575b600080fd5b61008a610075366004610246565b60006020819052908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100bf6100ad366004610246565b60016020526000908152604090205481565b604051908152602001610096565b6100e06100db36600461027e565b610157565b604051610096929190610340565b6100bf662386f26fc1000081565b61012161010a366004610388565b61ffff909116600090815260016020526040902055565b005b6101216101313660046103b2565b61ffff919091166000908152602081905260409020805460ff1916911515919091179055565b61ffff82166000908152602081905260408120546060919060ff166101b85760405162461bcd60e51b815260206004820152601360248201527210da185a5b881b9bdd081cdd5c1c1bdc9d1959606a1b604482015260640160405180910390fd5b604080516001808252818301909252906020808301908036833750505061ffff8516600090815260016020526040812054919350662386f26fc10000919061020082846103ee565b9050808560008151811061021657610216610415565b6020026020010181815250508093505050509250929050565b803561ffff8116811461024157600080fd5b919050565b60006020828403121561025857600080fd5b6102618261022f565b9392505050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561029157600080fd5b61029a8361022f565b9150602083013567ffffffffffffffff808211156102b757600080fd5b818501915085601f8301126102cb57600080fd5b8135818111156102dd576102dd610268565b604051601f8201601f19908116603f0116810190838211818310171561030557610305610268565b8160405282815288602084870101111561031e57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b604080825283519082018190526000906020906060840190828701845b828110156103795781518452928401929084019060010161035d565b50505092019290925292915050565b6000806040838503121561039b57600080fd5b6103a48361022f565b946020939093013593505050565b600080604083850312156103c557600080fd5b6103ce8361022f565b9150602083013580151581146103e357600080fd5b809150509250929050565b8082018082111561040f57634e487b7160e01b600052601160045260246000fd5b92915050565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220060374211c2851a38f833ee6ff34e0d6e31d5d0d408566aad86537c5de82118b64736f6c63430008110033";
172
+ var isSuperArgs = function (xs) { return xs.length > 1; };
173
+ var MockNttManager__factory = /** @class */ (function (_super) {
174
+ __extends(MockNttManager__factory, _super);
175
+ function MockNttManager__factory() {
176
+ var args = [];
177
+ for (var _i = 0; _i < arguments.length; _i++) {
178
+ args[_i] = arguments[_i];
179
+ }
180
+ var _this = this;
181
+ if (isSuperArgs(args)) {
182
+ _this = _super.apply(this, __spreadArray([], __read(args), false)) || this;
183
+ }
184
+ else {
185
+ _this = _super.call(this, _abi, _bytecode, args[0]) || this;
186
+ }
187
+ return _this;
188
+ }
189
+ MockNttManager__factory.prototype.deploy = function (overrides) {
190
+ return _super.prototype.deploy.call(this, overrides || {});
191
+ };
192
+ MockNttManager__factory.prototype.getDeployTransaction = function (overrides) {
193
+ return _super.prototype.getDeployTransaction.call(this, overrides || {});
194
+ };
195
+ MockNttManager__factory.prototype.attach = function (address) {
196
+ return _super.prototype.attach.call(this, address);
197
+ };
198
+ MockNttManager__factory.prototype.connect = function (signer) {
199
+ return _super.prototype.connect.call(this, signer);
200
+ };
201
+ MockNttManager__factory.createInterface = function () {
202
+ return new ethers_1.utils.Interface(_abi);
203
+ };
204
+ MockNttManager__factory.connect = function (address, signerOrProvider) {
205
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
206
+ };
207
+ MockNttManager__factory.bytecode = _bytecode;
208
+ MockNttManager__factory.abi = _abi;
209
+ return MockNttManager__factory;
210
+ }(ethers_1.ContractFactory));
211
+ exports.MockNttManager__factory = MockNttManager__factory;