@layerzerolabs/lz-evm-sdk-v1 1.5.78 → 2.0.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 (184) hide show
  1. package/deployments/avalanche-sandbox-local/Endpoint.json +1282 -0
  2. package/deployments/avalanche-sandbox-local/FPValidator.json +382 -0
  3. package/deployments/avalanche-sandbox-local/MPTValidator01.json +395 -0
  4. package/deployments/avalanche-sandbox-local/NonceContract.json +159 -0
  5. package/deployments/bsc-sandbox-local/Endpoint.json +1282 -0
  6. package/deployments/bsc-sandbox-local/FPValidator.json +382 -0
  7. package/deployments/bsc-sandbox-local/MPTValidator01.json +395 -0
  8. package/deployments/bsc-sandbox-local/NonceContract.json +159 -0
  9. package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +10 -10
  10. package/deployments/ethereum-sandbox-local/Endpoint.json +7 -7
  11. package/deployments/ethereum-sandbox-local/FPValidator.json +4 -4
  12. package/deployments/ethereum-sandbox-local/MPTValidator01.json +4 -4
  13. package/deployments/ethereum-sandbox-local/NonceContract.json +4 -4
  14. package/deployments/ethereum-sandbox-local/RelayerV2.json +16 -16
  15. package/deployments/ethereum-sandbox-local/RelayerV2_Implementation.json +4 -4
  16. package/deployments/ethereum-sandbox-local/RelayerV2_Proxy.json +16 -16
  17. package/deployments/ethereum-sandbox-local/TreasuryV2.json +7 -7
  18. package/deployments/ethereum-sandbox-local/UltraLightNode.json +7 -7
  19. package/deployments/ethereum-sandbox-local/UltraLightNodeV2.json +7 -7
  20. package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +10 -10
  21. package/deployments/polygon-sandbox-local/Endpoint.json +7 -7
  22. package/deployments/polygon-sandbox-local/FPValidator.json +4 -4
  23. package/deployments/polygon-sandbox-local/MPTValidator01.json +4 -4
  24. package/deployments/polygon-sandbox-local/NonceContract.json +4 -4
  25. package/deployments/polygon-sandbox-local/RelayerV2.json +16 -16
  26. package/deployments/polygon-sandbox-local/RelayerV2_Implementation.json +4 -4
  27. package/deployments/polygon-sandbox-local/RelayerV2_Proxy.json +16 -16
  28. package/deployments/polygon-sandbox-local/TreasuryV2.json +7 -7
  29. package/deployments/polygon-sandbox-local/UltraLightNode.json +7 -7
  30. package/deployments/polygon-sandbox-local/UltraLightNodeV2.json +7 -7
  31. package/package.json +4 -4
  32. package/dist/index.browser.js +0 -23
  33. package/dist/index.js +0 -30
  34. package/dist/typechain-types/Endpoint.js +0 -2
  35. package/dist/typechain-types/EndpointLite.js +0 -2
  36. package/dist/typechain-types/FeeHandler.js +0 -2
  37. package/dist/typechain-types/NonceContract.js +0 -2
  38. package/dist/typechain-types/NonceContractRadar.js +0 -2
  39. package/dist/typechain-types/PriceFeed.js +0 -2
  40. package/dist/typechain-types/Relayer.js +0 -2
  41. package/dist/typechain-types/RelayerV2.sol/IStargateComposer.js +0 -2
  42. package/dist/typechain-types/RelayerV2.sol/RelayerV2.js +0 -2
  43. package/dist/typechain-types/RelayerV2.sol/index.js +0 -2
  44. package/dist/typechain-types/RelayerV2Radar.js +0 -2
  45. package/dist/typechain-types/Treasury.js +0 -2
  46. package/dist/typechain-types/TreasuryV2.js +0 -2
  47. package/dist/typechain-types/TreasuryV2Radar.js +0 -2
  48. package/dist/typechain-types/UltraLightNode.js +0 -2
  49. package/dist/typechain-types/UltraLightNodeV2.js +0 -2
  50. package/dist/typechain-types/UltraLightNodeV2AltToken.js +0 -2
  51. package/dist/typechain-types/UltraLightNodeV2Radar.js +0 -2
  52. package/dist/typechain-types/arbitrum/index.js +0 -2
  53. package/dist/typechain-types/arbitrum/interfaces/ArbSys.js +0 -2
  54. package/dist/typechain-types/arbitrum/interfaces/index.js +0 -2
  55. package/dist/typechain-types/common.js +0 -2
  56. package/dist/typechain-types/example/AltTokenUA.js +0 -2
  57. package/dist/typechain-types/example/index.js +0 -2
  58. package/dist/typechain-types/factories/EndpointLite__factory.js +0 -988
  59. package/dist/typechain-types/factories/Endpoint__factory.js +0 -1012
  60. package/dist/typechain-types/factories/FeeHandler__factory.js +0 -203
  61. package/dist/typechain-types/factories/NonceContractRadar__factory.js +0 -183
  62. package/dist/typechain-types/factories/NonceContract__factory.js +0 -142
  63. package/dist/typechain-types/factories/PriceFeed__factory.js +0 -585
  64. package/dist/typechain-types/factories/RelayerV2.sol/IStargateComposer__factory.js +0 -35
  65. package/dist/typechain-types/factories/RelayerV2.sol/RelayerV2__factory.js +0 -1048
  66. package/dist/typechain-types/factories/RelayerV2.sol/index.js +0 -21
  67. package/dist/typechain-types/factories/RelayerV2Radar__factory.js +0 -853
  68. package/dist/typechain-types/factories/Relayer__factory.js +0 -642
  69. package/dist/typechain-types/factories/TreasuryV2Radar__factory.js +0 -362
  70. package/dist/typechain-types/factories/TreasuryV2__factory.js +0 -385
  71. package/dist/typechain-types/factories/Treasury__factory.js +0 -362
  72. package/dist/typechain-types/factories/UltraLightNodeV2AltToken__factory.js +0 -1495
  73. package/dist/typechain-types/factories/UltraLightNodeV2Radar__factory.js +0 -1599
  74. package/dist/typechain-types/factories/UltraLightNodeV2__factory.js +0 -1477
  75. package/dist/typechain-types/factories/UltraLightNode__factory.js +0 -1529
  76. package/dist/typechain-types/factories/arbitrum/index.js +0 -7
  77. package/dist/typechain-types/factories/arbitrum/interfaces/ArbSys__factory.js +0 -290
  78. package/dist/typechain-types/factories/arbitrum/interfaces/index.js +0 -19
  79. package/dist/typechain-types/factories/example/AltTokenUA__factory.js +0 -186
  80. package/dist/typechain-types/factories/example/index.js +0 -19
  81. package/dist/typechain-types/factories/index.js +0 -54
  82. package/dist/typechain-types/factories/interfaces/IContractOne__factory.js +0 -35
  83. package/dist/typechain-types/factories/interfaces/ILayerZeroEndpoint__factory.js +0 -458
  84. package/dist/typechain-types/factories/interfaces/ILayerZeroMessagingLibraryV2__factory.js +0 -195
  85. package/dist/typechain-types/factories/interfaces/ILayerZeroMessagingLibrary__factory.js +0 -171
  86. package/dist/typechain-types/factories/interfaces/ILayerZeroOracleV2__factory.js +0 -108
  87. package/dist/typechain-types/factories/interfaces/ILayerZeroOracle__factory.js +0 -88
  88. package/dist/typechain-types/factories/interfaces/ILayerZeroPriceFeedV2__factory.js +0 -115
  89. package/dist/typechain-types/factories/interfaces/ILayerZeroPriceFeed__factory.js +0 -118
  90. package/dist/typechain-types/factories/interfaces/ILayerZeroReceiver__factory.js +0 -50
  91. package/dist/typechain-types/factories/interfaces/ILayerZeroRelayerV2PriceData__factory.js +0 -94
  92. package/dist/typechain-types/factories/interfaces/ILayerZeroRelayerV2__factory.js +0 -118
  93. package/dist/typechain-types/factories/interfaces/ILayerZeroRelayer__factory.js +0 -103
  94. package/dist/typechain-types/factories/interfaces/ILayerZeroTreasury__factory.js +0 -51
  95. package/dist/typechain-types/factories/interfaces/ILayerZeroUltraLightNodeV1__factory.js +0 -167
  96. package/dist/typechain-types/factories/interfaces/ILayerZeroUltraLightNodeV2__factory.js +0 -593
  97. package/dist/typechain-types/factories/interfaces/ILayerZeroUserApplicationConfig__factory.js +0 -94
  98. package/dist/typechain-types/factories/interfaces/ILayerZeroValidationLibrary__factory.js +0 -88
  99. package/dist/typechain-types/factories/interfaces/IValidationLibraryHelperV2__factory.js +0 -165
  100. package/dist/typechain-types/factories/interfaces/IValidationLibraryHelper__factory.js +0 -157
  101. package/dist/typechain-types/factories/interfaces/index.js +0 -55
  102. package/dist/typechain-types/factories/precrime/PreCrimeBase__factory.js +0 -270
  103. package/dist/typechain-types/factories/precrime/PreCrimeView__factory.js +0 -329
  104. package/dist/typechain-types/factories/precrime/PreCrime__factory.js +0 -364
  105. package/dist/typechain-types/factories/precrime/example/index.js +0 -8
  106. package/dist/typechain-types/factories/precrime/example/inherit/CounterI__factory.js +0 -677
  107. package/dist/typechain-types/factories/precrime/example/inherit/CounterPrecrime__factory.js +0 -468
  108. package/dist/typechain-types/factories/precrime/example/inherit/index.js +0 -21
  109. package/dist/typechain-types/factories/precrime/example/view/CounterPrecrimeView__factory.js +0 -470
  110. package/dist/typechain-types/factories/precrime/example/view/CounterV__factory.js +0 -231
  111. package/dist/typechain-types/factories/precrime/example/view/CounterView__factory.js +0 -219
  112. package/dist/typechain-types/factories/precrime/example/view/index.js +0 -23
  113. package/dist/typechain-types/factories/precrime/index.js +0 -25
  114. package/dist/typechain-types/factories/precrime/interfaces/IPreCrimeBase__factory.js +0 -127
  115. package/dist/typechain-types/factories/precrime/interfaces/IPreCrimeView__factory.js +0 -173
  116. package/dist/typechain-types/factories/precrime/interfaces/IPreCrime__factory.js +0 -173
  117. package/dist/typechain-types/factories/precrime/interfaces/index.js +0 -23
  118. package/dist/typechain-types/factories/proof/FPValidator__factory.js +0 -380
  119. package/dist/typechain-types/factories/proof/MPTValidator01__factory.js +0 -393
  120. package/dist/typechain-types/factories/proof/MPTValidatorStgV3__factory.js +0 -364
  121. package/dist/typechain-types/factories/proof/MPTValidatorV2__factory.js +0 -266
  122. package/dist/typechain-types/factories/proof/MPTValidatorV4.sol/IUltraLightNode__factory.js +0 -119
  123. package/dist/typechain-types/factories/proof/MPTValidatorV4.sol/MPTValidatorV4__factory.js +0 -468
  124. package/dist/typechain-types/factories/proof/MPTValidatorV4.sol/index.js +0 -21
  125. package/dist/typechain-types/factories/proof/MPTValidatorV5.sol/IUltraLightNode__factory.js +0 -119
  126. package/dist/typechain-types/factories/proof/MPTValidatorV5.sol/MPTValidatorV5__factory.js +0 -486
  127. package/dist/typechain-types/factories/proof/MPTValidatorV5.sol/index.js +0 -21
  128. package/dist/typechain-types/factories/proof/MPTValidator__factory.js +0 -200
  129. package/dist/typechain-types/factories/proof/index.js +0 -29
  130. package/dist/typechain-types/factories/proxy/DefaultProxyAdmin__factory.js +0 -225
  131. package/dist/typechain-types/factories/proxy/TransparentUpgradeableProxy__factory.js +0 -196
  132. package/dist/typechain-types/factories/proxy/index.js +0 -21
  133. package/dist/typechain-types/index.js +0 -134
  134. package/dist/typechain-types/interfaces/IContractOne.js +0 -2
  135. package/dist/typechain-types/interfaces/ILayerZeroEndpoint.js +0 -2
  136. package/dist/typechain-types/interfaces/ILayerZeroMessagingLibrary.js +0 -2
  137. package/dist/typechain-types/interfaces/ILayerZeroMessagingLibraryV2.js +0 -2
  138. package/dist/typechain-types/interfaces/ILayerZeroOracle.js +0 -2
  139. package/dist/typechain-types/interfaces/ILayerZeroOracleV2.js +0 -2
  140. package/dist/typechain-types/interfaces/ILayerZeroPriceFeed.js +0 -2
  141. package/dist/typechain-types/interfaces/ILayerZeroPriceFeedV2.js +0 -2
  142. package/dist/typechain-types/interfaces/ILayerZeroReceiver.js +0 -2
  143. package/dist/typechain-types/interfaces/ILayerZeroRelayer.js +0 -2
  144. package/dist/typechain-types/interfaces/ILayerZeroRelayerV2.js +0 -2
  145. package/dist/typechain-types/interfaces/ILayerZeroRelayerV2PriceData.js +0 -2
  146. package/dist/typechain-types/interfaces/ILayerZeroTreasury.js +0 -2
  147. package/dist/typechain-types/interfaces/ILayerZeroUltraLightNodeV1.js +0 -2
  148. package/dist/typechain-types/interfaces/ILayerZeroUltraLightNodeV2.js +0 -2
  149. package/dist/typechain-types/interfaces/ILayerZeroUserApplicationConfig.js +0 -2
  150. package/dist/typechain-types/interfaces/ILayerZeroValidationLibrary.js +0 -2
  151. package/dist/typechain-types/interfaces/IValidationLibraryHelper.js +0 -2
  152. package/dist/typechain-types/interfaces/IValidationLibraryHelperV2.js +0 -2
  153. package/dist/typechain-types/interfaces/index.js +0 -2
  154. package/dist/typechain-types/precrime/PreCrime.js +0 -2
  155. package/dist/typechain-types/precrime/PreCrimeBase.js +0 -2
  156. package/dist/typechain-types/precrime/PreCrimeView.js +0 -2
  157. package/dist/typechain-types/precrime/example/index.js +0 -2
  158. package/dist/typechain-types/precrime/example/inherit/CounterI.js +0 -2
  159. package/dist/typechain-types/precrime/example/inherit/CounterPrecrime.js +0 -2
  160. package/dist/typechain-types/precrime/example/inherit/index.js +0 -2
  161. package/dist/typechain-types/precrime/example/view/CounterPrecrimeView.js +0 -2
  162. package/dist/typechain-types/precrime/example/view/CounterV.js +0 -2
  163. package/dist/typechain-types/precrime/example/view/CounterView.js +0 -2
  164. package/dist/typechain-types/precrime/example/view/index.js +0 -2
  165. package/dist/typechain-types/precrime/index.js +0 -2
  166. package/dist/typechain-types/precrime/interfaces/IPreCrime.js +0 -2
  167. package/dist/typechain-types/precrime/interfaces/IPreCrimeBase.js +0 -2
  168. package/dist/typechain-types/precrime/interfaces/IPreCrimeView.js +0 -2
  169. package/dist/typechain-types/precrime/interfaces/index.js +0 -2
  170. package/dist/typechain-types/proof/FPValidator.js +0 -2
  171. package/dist/typechain-types/proof/MPTValidator.js +0 -2
  172. package/dist/typechain-types/proof/MPTValidator01.js +0 -2
  173. package/dist/typechain-types/proof/MPTValidatorStgV3.js +0 -2
  174. package/dist/typechain-types/proof/MPTValidatorV2.js +0 -2
  175. package/dist/typechain-types/proof/MPTValidatorV4.sol/IUltraLightNode.js +0 -2
  176. package/dist/typechain-types/proof/MPTValidatorV4.sol/MPTValidatorV4.js +0 -2
  177. package/dist/typechain-types/proof/MPTValidatorV4.sol/index.js +0 -2
  178. package/dist/typechain-types/proof/MPTValidatorV5.sol/IUltraLightNode.js +0 -2
  179. package/dist/typechain-types/proof/MPTValidatorV5.sol/MPTValidatorV5.js +0 -2
  180. package/dist/typechain-types/proof/MPTValidatorV5.sol/index.js +0 -2
  181. package/dist/typechain-types/proof/index.js +0 -2
  182. package/dist/typechain-types/proxy/DefaultProxyAdmin.js +0 -2
  183. package/dist/typechain-types/proxy/TransparentUpgradeableProxy.js +0 -2
  184. package/dist/typechain-types/proxy/index.js +0 -2
@@ -1,1477 +0,0 @@
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
- exports.__esModule = true;
18
- exports.UltraLightNodeV2__factory = void 0;
19
- /* Autogenerated file. Do not edit manually. */
20
- /* tslint:disable */
21
- /* eslint-disable */
22
- var ethers_1 = require("ethers");
23
- var _abi = [
24
- {
25
- inputs: [
26
- {
27
- internalType: "address",
28
- name: "_endpoint",
29
- type: "address"
30
- },
31
- {
32
- internalType: "address",
33
- name: "_nonceContract",
34
- type: "address"
35
- },
36
- {
37
- internalType: "uint16",
38
- name: "_localChainId",
39
- type: "uint16"
40
- },
41
- ],
42
- stateMutability: "nonpayable",
43
- type: "constructor"
44
- },
45
- {
46
- anonymous: false,
47
- inputs: [
48
- {
49
- indexed: true,
50
- internalType: "uint16",
51
- name: "chainId",
52
- type: "uint16"
53
- },
54
- {
55
- indexed: false,
56
- internalType: "address",
57
- name: "lib",
58
- type: "address"
59
- },
60
- ],
61
- name: "AddInboundProofLibraryForChain",
62
- type: "event"
63
- },
64
- {
65
- anonymous: false,
66
- inputs: [
67
- {
68
- indexed: true,
69
- internalType: "address",
70
- name: "userApplication",
71
- type: "address"
72
- },
73
- {
74
- indexed: true,
75
- internalType: "uint256",
76
- name: "configType",
77
- type: "uint256"
78
- },
79
- {
80
- indexed: false,
81
- internalType: "bytes",
82
- name: "newConfig",
83
- type: "bytes"
84
- },
85
- ],
86
- name: "AppConfigUpdated",
87
- type: "event"
88
- },
89
- {
90
- anonymous: false,
91
- inputs: [
92
- {
93
- indexed: true,
94
- internalType: "uint16",
95
- name: "chainId",
96
- type: "uint16"
97
- },
98
- {
99
- indexed: false,
100
- internalType: "uint16",
101
- name: "proofType",
102
- type: "uint16"
103
- },
104
- ],
105
- name: "EnableSupportedOutboundProof",
106
- type: "event"
107
- },
108
- {
109
- anonymous: false,
110
- inputs: [
111
- {
112
- indexed: true,
113
- internalType: "uint16",
114
- name: "srcChainId",
115
- type: "uint16"
116
- },
117
- {
118
- indexed: true,
119
- internalType: "address",
120
- name: "oracle",
121
- type: "address"
122
- },
123
- {
124
- indexed: false,
125
- internalType: "bytes32",
126
- name: "lookupHash",
127
- type: "bytes32"
128
- },
129
- {
130
- indexed: false,
131
- internalType: "bytes32",
132
- name: "blockData",
133
- type: "bytes32"
134
- },
135
- {
136
- indexed: false,
137
- internalType: "uint256",
138
- name: "confirmations",
139
- type: "uint256"
140
- },
141
- ],
142
- name: "HashReceived",
143
- type: "event"
144
- },
145
- {
146
- anonymous: false,
147
- inputs: [
148
- {
149
- indexed: true,
150
- internalType: "uint16",
151
- name: "srcChainId",
152
- type: "uint16"
153
- },
154
- {
155
- indexed: false,
156
- internalType: "bytes",
157
- name: "srcAddress",
158
- type: "bytes"
159
- },
160
- {
161
- indexed: true,
162
- internalType: "address",
163
- name: "dstAddress",
164
- type: "address"
165
- },
166
- {
167
- indexed: false,
168
- internalType: "uint64",
169
- name: "nonce",
170
- type: "uint64"
171
- },
172
- {
173
- indexed: false,
174
- internalType: "bytes32",
175
- name: "payloadHash",
176
- type: "bytes32"
177
- },
178
- ],
179
- name: "InvalidDst",
180
- type: "event"
181
- },
182
- {
183
- anonymous: false,
184
- inputs: [
185
- {
186
- indexed: true,
187
- internalType: "address",
188
- name: "previousOwner",
189
- type: "address"
190
- },
191
- {
192
- indexed: true,
193
- internalType: "address",
194
- name: "newOwner",
195
- type: "address"
196
- },
197
- ],
198
- name: "OwnershipTransferred",
199
- type: "event"
200
- },
201
- {
202
- anonymous: false,
203
- inputs: [
204
- {
205
- indexed: false,
206
- internalType: "bytes",
207
- name: "payload",
208
- type: "bytes"
209
- },
210
- ],
211
- name: "Packet",
212
- type: "event"
213
- },
214
- {
215
- anonymous: false,
216
- inputs: [
217
- {
218
- indexed: true,
219
- internalType: "uint16",
220
- name: "srcChainId",
221
- type: "uint16"
222
- },
223
- {
224
- indexed: false,
225
- internalType: "bytes",
226
- name: "srcAddress",
227
- type: "bytes"
228
- },
229
- {
230
- indexed: true,
231
- internalType: "address",
232
- name: "dstAddress",
233
- type: "address"
234
- },
235
- {
236
- indexed: false,
237
- internalType: "uint64",
238
- name: "nonce",
239
- type: "uint64"
240
- },
241
- {
242
- indexed: false,
243
- internalType: "bytes32",
244
- name: "payloadHash",
245
- type: "bytes32"
246
- },
247
- ],
248
- name: "PacketReceived",
249
- type: "event"
250
- },
251
- {
252
- anonymous: false,
253
- inputs: [
254
- {
255
- indexed: false,
256
- internalType: "bytes",
257
- name: "adapterParams",
258
- type: "bytes"
259
- },
260
- {
261
- indexed: false,
262
- internalType: "uint16",
263
- name: "outboundProofType",
264
- type: "uint16"
265
- },
266
- ],
267
- name: "RelayerParams",
268
- type: "event"
269
- },
270
- {
271
- anonymous: false,
272
- inputs: [
273
- {
274
- indexed: true,
275
- internalType: "uint16",
276
- name: "chainId",
277
- type: "uint16"
278
- },
279
- {
280
- indexed: false,
281
- internalType: "uint256",
282
- name: "size",
283
- type: "uint256"
284
- },
285
- ],
286
- name: "SetChainAddressSize",
287
- type: "event"
288
- },
289
- {
290
- anonymous: false,
291
- inputs: [
292
- {
293
- indexed: true,
294
- internalType: "uint16",
295
- name: "chainId",
296
- type: "uint16"
297
- },
298
- {
299
- indexed: true,
300
- internalType: "uint16",
301
- name: "proofType",
302
- type: "uint16"
303
- },
304
- {
305
- indexed: false,
306
- internalType: "bytes",
307
- name: "adapterParams",
308
- type: "bytes"
309
- },
310
- ],
311
- name: "SetDefaultAdapterParamsForChainId",
312
- type: "event"
313
- },
314
- {
315
- anonymous: false,
316
- inputs: [
317
- {
318
- indexed: true,
319
- internalType: "uint16",
320
- name: "chainId",
321
- type: "uint16"
322
- },
323
- {
324
- indexed: false,
325
- internalType: "uint16",
326
- name: "inboundProofLib",
327
- type: "uint16"
328
- },
329
- {
330
- indexed: false,
331
- internalType: "uint64",
332
- name: "inboundBlockConfirm",
333
- type: "uint64"
334
- },
335
- {
336
- indexed: false,
337
- internalType: "address",
338
- name: "relayer",
339
- type: "address"
340
- },
341
- {
342
- indexed: false,
343
- internalType: "uint16",
344
- name: "outboundProofType",
345
- type: "uint16"
346
- },
347
- {
348
- indexed: false,
349
- internalType: "uint64",
350
- name: "outboundBlockConfirm",
351
- type: "uint64"
352
- },
353
- {
354
- indexed: false,
355
- internalType: "address",
356
- name: "oracle",
357
- type: "address"
358
- },
359
- ],
360
- name: "SetDefaultConfigForChainId",
361
- type: "event"
362
- },
363
- {
364
- anonymous: false,
365
- inputs: [
366
- {
367
- indexed: true,
368
- internalType: "address",
369
- name: "tokenAddress",
370
- type: "address"
371
- },
372
- ],
373
- name: "SetLayerZeroToken",
374
- type: "event"
375
- },
376
- {
377
- anonymous: false,
378
- inputs: [
379
- {
380
- indexed: true,
381
- internalType: "uint16",
382
- name: "chainId",
383
- type: "uint16"
384
- },
385
- {
386
- indexed: false,
387
- internalType: "bytes32",
388
- name: "uln",
389
- type: "bytes32"
390
- },
391
- ],
392
- name: "SetRemoteUln",
393
- type: "event"
394
- },
395
- {
396
- anonymous: false,
397
- inputs: [
398
- {
399
- indexed: true,
400
- internalType: "address",
401
- name: "treasuryAddress",
402
- type: "address"
403
- },
404
- ],
405
- name: "SetTreasury",
406
- type: "event"
407
- },
408
- {
409
- anonymous: false,
410
- inputs: [
411
- {
412
- indexed: true,
413
- internalType: "address",
414
- name: "msgSender",
415
- type: "address"
416
- },
417
- {
418
- indexed: true,
419
- internalType: "address",
420
- name: "to",
421
- type: "address"
422
- },
423
- {
424
- indexed: false,
425
- internalType: "uint256",
426
- name: "amount",
427
- type: "uint256"
428
- },
429
- ],
430
- name: "WithdrawNative",
431
- type: "event"
432
- },
433
- {
434
- anonymous: false,
435
- inputs: [
436
- {
437
- indexed: true,
438
- internalType: "address",
439
- name: "msgSender",
440
- type: "address"
441
- },
442
- {
443
- indexed: true,
444
- internalType: "address",
445
- name: "to",
446
- type: "address"
447
- },
448
- {
449
- indexed: false,
450
- internalType: "uint256",
451
- name: "amount",
452
- type: "uint256"
453
- },
454
- ],
455
- name: "WithdrawZRO",
456
- type: "event"
457
- },
458
- {
459
- inputs: [],
460
- name: "CONFIG_TYPE_INBOUND_BLOCK_CONFIRMATIONS",
461
- outputs: [
462
- {
463
- internalType: "uint256",
464
- name: "",
465
- type: "uint256"
466
- },
467
- ],
468
- stateMutability: "view",
469
- type: "function"
470
- },
471
- {
472
- inputs: [],
473
- name: "CONFIG_TYPE_INBOUND_PROOF_LIBRARY_VERSION",
474
- outputs: [
475
- {
476
- internalType: "uint256",
477
- name: "",
478
- type: "uint256"
479
- },
480
- ],
481
- stateMutability: "view",
482
- type: "function"
483
- },
484
- {
485
- inputs: [],
486
- name: "CONFIG_TYPE_ORACLE",
487
- outputs: [
488
- {
489
- internalType: "uint256",
490
- name: "",
491
- type: "uint256"
492
- },
493
- ],
494
- stateMutability: "view",
495
- type: "function"
496
- },
497
- {
498
- inputs: [],
499
- name: "CONFIG_TYPE_OUTBOUND_BLOCK_CONFIRMATIONS",
500
- outputs: [
501
- {
502
- internalType: "uint256",
503
- name: "",
504
- type: "uint256"
505
- },
506
- ],
507
- stateMutability: "view",
508
- type: "function"
509
- },
510
- {
511
- inputs: [],
512
- name: "CONFIG_TYPE_OUTBOUND_PROOF_TYPE",
513
- outputs: [
514
- {
515
- internalType: "uint256",
516
- name: "",
517
- type: "uint256"
518
- },
519
- ],
520
- stateMutability: "view",
521
- type: "function"
522
- },
523
- {
524
- inputs: [],
525
- name: "CONFIG_TYPE_RELAYER",
526
- outputs: [
527
- {
528
- internalType: "uint256",
529
- name: "",
530
- type: "uint256"
531
- },
532
- ],
533
- stateMutability: "view",
534
- type: "function"
535
- },
536
- {
537
- inputs: [
538
- {
539
- internalType: "address",
540
- name: "_address",
541
- type: "address"
542
- },
543
- ],
544
- name: "accruedNativeFee",
545
- outputs: [
546
- {
547
- internalType: "uint256",
548
- name: "",
549
- type: "uint256"
550
- },
551
- ],
552
- stateMutability: "view",
553
- type: "function"
554
- },
555
- {
556
- inputs: [
557
- {
558
- internalType: "uint16",
559
- name: "_chainId",
560
- type: "uint16"
561
- },
562
- {
563
- internalType: "address",
564
- name: "_library",
565
- type: "address"
566
- },
567
- ],
568
- name: "addInboundProofLibraryForChain",
569
- outputs: [],
570
- stateMutability: "nonpayable",
571
- type: "function"
572
- },
573
- {
574
- inputs: [
575
- {
576
- internalType: "address",
577
- name: "",
578
- type: "address"
579
- },
580
- {
581
- internalType: "uint16",
582
- name: "",
583
- type: "uint16"
584
- },
585
- ],
586
- name: "appConfig",
587
- outputs: [
588
- {
589
- internalType: "uint16",
590
- name: "inboundProofLibraryVersion",
591
- type: "uint16"
592
- },
593
- {
594
- internalType: "uint64",
595
- name: "inboundBlockConfirmations",
596
- type: "uint64"
597
- },
598
- {
599
- internalType: "address",
600
- name: "relayer",
601
- type: "address"
602
- },
603
- {
604
- internalType: "uint16",
605
- name: "outboundProofType",
606
- type: "uint16"
607
- },
608
- {
609
- internalType: "uint64",
610
- name: "outboundBlockConfirmations",
611
- type: "uint64"
612
- },
613
- {
614
- internalType: "address",
615
- name: "oracle",
616
- type: "address"
617
- },
618
- ],
619
- stateMutability: "view",
620
- type: "function"
621
- },
622
- {
623
- inputs: [
624
- {
625
- internalType: "uint16",
626
- name: "",
627
- type: "uint16"
628
- },
629
- ],
630
- name: "chainAddressSizeMap",
631
- outputs: [
632
- {
633
- internalType: "uint256",
634
- name: "",
635
- type: "uint256"
636
- },
637
- ],
638
- stateMutability: "view",
639
- type: "function"
640
- },
641
- {
642
- inputs: [
643
- {
644
- internalType: "uint16",
645
- name: "",
646
- type: "uint16"
647
- },
648
- {
649
- internalType: "uint16",
650
- name: "",
651
- type: "uint16"
652
- },
653
- ],
654
- name: "defaultAdapterParams",
655
- outputs: [
656
- {
657
- internalType: "bytes",
658
- name: "",
659
- type: "bytes"
660
- },
661
- ],
662
- stateMutability: "view",
663
- type: "function"
664
- },
665
- {
666
- inputs: [
667
- {
668
- internalType: "uint16",
669
- name: "",
670
- type: "uint16"
671
- },
672
- ],
673
- name: "defaultAppConfig",
674
- outputs: [
675
- {
676
- internalType: "uint16",
677
- name: "inboundProofLibraryVersion",
678
- type: "uint16"
679
- },
680
- {
681
- internalType: "uint64",
682
- name: "inboundBlockConfirmations",
683
- type: "uint64"
684
- },
685
- {
686
- internalType: "address",
687
- name: "relayer",
688
- type: "address"
689
- },
690
- {
691
- internalType: "uint16",
692
- name: "outboundProofType",
693
- type: "uint16"
694
- },
695
- {
696
- internalType: "uint64",
697
- name: "outboundBlockConfirmations",
698
- type: "uint64"
699
- },
700
- {
701
- internalType: "address",
702
- name: "oracle",
703
- type: "address"
704
- },
705
- ],
706
- stateMutability: "view",
707
- type: "function"
708
- },
709
- {
710
- inputs: [
711
- {
712
- internalType: "uint16",
713
- name: "_chainId",
714
- type: "uint16"
715
- },
716
- {
717
- internalType: "uint16",
718
- name: "_proofType",
719
- type: "uint16"
720
- },
721
- ],
722
- name: "enableSupportedOutboundProof",
723
- outputs: [],
724
- stateMutability: "nonpayable",
725
- type: "function"
726
- },
727
- {
728
- inputs: [],
729
- name: "endpoint",
730
- outputs: [
731
- {
732
- internalType: "contract ILayerZeroEndpoint",
733
- name: "",
734
- type: "address"
735
- },
736
- ],
737
- stateMutability: "view",
738
- type: "function"
739
- },
740
- {
741
- inputs: [
742
- {
743
- internalType: "uint16",
744
- name: "_dstChainId",
745
- type: "uint16"
746
- },
747
- {
748
- internalType: "address",
749
- name: "_ua",
750
- type: "address"
751
- },
752
- {
753
- internalType: "bytes",
754
- name: "_payload",
755
- type: "bytes"
756
- },
757
- {
758
- internalType: "bool",
759
- name: "_payInZRO",
760
- type: "bool"
761
- },
762
- {
763
- internalType: "bytes",
764
- name: "_adapterParams",
765
- type: "bytes"
766
- },
767
- ],
768
- name: "estimateFees",
769
- outputs: [
770
- {
771
- internalType: "uint256",
772
- name: "nativeFee",
773
- type: "uint256"
774
- },
775
- {
776
- internalType: "uint256",
777
- name: "zroFee",
778
- type: "uint256"
779
- },
780
- ],
781
- stateMutability: "view",
782
- type: "function"
783
- },
784
- {
785
- inputs: [
786
- {
787
- internalType: "uint16",
788
- name: "_remoteChainId",
789
- type: "uint16"
790
- },
791
- {
792
- internalType: "address",
793
- name: "_ua",
794
- type: "address"
795
- },
796
- ],
797
- name: "getAppConfig",
798
- outputs: [
799
- {
800
- components: [
801
- {
802
- internalType: "uint16",
803
- name: "inboundProofLibraryVersion",
804
- type: "uint16"
805
- },
806
- {
807
- internalType: "uint64",
808
- name: "inboundBlockConfirmations",
809
- type: "uint64"
810
- },
811
- {
812
- internalType: "address",
813
- name: "relayer",
814
- type: "address"
815
- },
816
- {
817
- internalType: "uint16",
818
- name: "outboundProofType",
819
- type: "uint16"
820
- },
821
- {
822
- internalType: "uint64",
823
- name: "outboundBlockConfirmations",
824
- type: "uint64"
825
- },
826
- {
827
- internalType: "address",
828
- name: "oracle",
829
- type: "address"
830
- },
831
- ],
832
- internalType: "struct ILayerZeroUltraLightNodeV2.ApplicationConfiguration",
833
- name: "",
834
- type: "tuple"
835
- },
836
- ],
837
- stateMutability: "view",
838
- type: "function"
839
- },
840
- {
841
- inputs: [
842
- {
843
- internalType: "uint16",
844
- name: "_remoteChainId",
845
- type: "uint16"
846
- },
847
- {
848
- internalType: "address",
849
- name: "_ua",
850
- type: "address"
851
- },
852
- {
853
- internalType: "uint256",
854
- name: "_configType",
855
- type: "uint256"
856
- },
857
- ],
858
- name: "getConfig",
859
- outputs: [
860
- {
861
- internalType: "bytes",
862
- name: "",
863
- type: "bytes"
864
- },
865
- ],
866
- stateMutability: "view",
867
- type: "function"
868
- },
869
- {
870
- inputs: [
871
- {
872
- internalType: "uint16",
873
- name: "_chainId",
874
- type: "uint16"
875
- },
876
- {
877
- internalType: "bytes",
878
- name: "_path",
879
- type: "bytes"
880
- },
881
- ],
882
- name: "getOutboundNonce",
883
- outputs: [
884
- {
885
- internalType: "uint64",
886
- name: "",
887
- type: "uint64"
888
- },
889
- ],
890
- stateMutability: "view",
891
- type: "function"
892
- },
893
- {
894
- inputs: [
895
- {
896
- internalType: "address",
897
- name: "",
898
- type: "address"
899
- },
900
- {
901
- internalType: "uint16",
902
- name: "",
903
- type: "uint16"
904
- },
905
- {
906
- internalType: "bytes32",
907
- name: "",
908
- type: "bytes32"
909
- },
910
- {
911
- internalType: "bytes32",
912
- name: "",
913
- type: "bytes32"
914
- },
915
- ],
916
- name: "hashLookup",
917
- outputs: [
918
- {
919
- internalType: "uint256",
920
- name: "",
921
- type: "uint256"
922
- },
923
- ],
924
- stateMutability: "view",
925
- type: "function"
926
- },
927
- {
928
- inputs: [
929
- {
930
- internalType: "uint16",
931
- name: "",
932
- type: "uint16"
933
- },
934
- {
935
- internalType: "uint16",
936
- name: "",
937
- type: "uint16"
938
- },
939
- ],
940
- name: "inboundProofLibrary",
941
- outputs: [
942
- {
943
- internalType: "address",
944
- name: "",
945
- type: "address"
946
- },
947
- ],
948
- stateMutability: "view",
949
- type: "function"
950
- },
951
- {
952
- inputs: [],
953
- name: "layerZeroToken",
954
- outputs: [
955
- {
956
- internalType: "contract IERC20",
957
- name: "",
958
- type: "address"
959
- },
960
- ],
961
- stateMutability: "view",
962
- type: "function"
963
- },
964
- {
965
- inputs: [],
966
- name: "localChainId",
967
- outputs: [
968
- {
969
- internalType: "uint16",
970
- name: "",
971
- type: "uint16"
972
- },
973
- ],
974
- stateMutability: "view",
975
- type: "function"
976
- },
977
- {
978
- inputs: [
979
- {
980
- internalType: "uint16",
981
- name: "",
982
- type: "uint16"
983
- },
984
- ],
985
- name: "maxInboundProofLibrary",
986
- outputs: [
987
- {
988
- internalType: "uint16",
989
- name: "",
990
- type: "uint16"
991
- },
992
- ],
993
- stateMutability: "view",
994
- type: "function"
995
- },
996
- {
997
- inputs: [
998
- {
999
- internalType: "address",
1000
- name: "",
1001
- type: "address"
1002
- },
1003
- ],
1004
- name: "nativeFees",
1005
- outputs: [
1006
- {
1007
- internalType: "uint256",
1008
- name: "",
1009
- type: "uint256"
1010
- },
1011
- ],
1012
- stateMutability: "view",
1013
- type: "function"
1014
- },
1015
- {
1016
- inputs: [],
1017
- name: "nonceContract",
1018
- outputs: [
1019
- {
1020
- internalType: "contract NonceContract",
1021
- name: "",
1022
- type: "address"
1023
- },
1024
- ],
1025
- stateMutability: "view",
1026
- type: "function"
1027
- },
1028
- {
1029
- inputs: [],
1030
- name: "owner",
1031
- outputs: [
1032
- {
1033
- internalType: "address",
1034
- name: "",
1035
- type: "address"
1036
- },
1037
- ],
1038
- stateMutability: "view",
1039
- type: "function"
1040
- },
1041
- {
1042
- inputs: [],
1043
- name: "renounceOwnership",
1044
- outputs: [],
1045
- stateMutability: "nonpayable",
1046
- type: "function"
1047
- },
1048
- {
1049
- inputs: [
1050
- {
1051
- internalType: "address",
1052
- name: "_ua",
1053
- type: "address"
1054
- },
1055
- {
1056
- internalType: "uint64",
1057
- name: "",
1058
- type: "uint64"
1059
- },
1060
- {
1061
- internalType: "uint16",
1062
- name: "_dstChainId",
1063
- type: "uint16"
1064
- },
1065
- {
1066
- internalType: "bytes",
1067
- name: "_path",
1068
- type: "bytes"
1069
- },
1070
- {
1071
- internalType: "bytes",
1072
- name: "_payload",
1073
- type: "bytes"
1074
- },
1075
- {
1076
- internalType: "address payable",
1077
- name: "_refundAddress",
1078
- type: "address"
1079
- },
1080
- {
1081
- internalType: "address",
1082
- name: "_zroPaymentAddress",
1083
- type: "address"
1084
- },
1085
- {
1086
- internalType: "bytes",
1087
- name: "_adapterParams",
1088
- type: "bytes"
1089
- },
1090
- ],
1091
- name: "send",
1092
- outputs: [],
1093
- stateMutability: "payable",
1094
- type: "function"
1095
- },
1096
- {
1097
- inputs: [
1098
- {
1099
- internalType: "uint16",
1100
- name: "_chainId",
1101
- type: "uint16"
1102
- },
1103
- {
1104
- internalType: "uint256",
1105
- name: "_size",
1106
- type: "uint256"
1107
- },
1108
- ],
1109
- name: "setChainAddressSize",
1110
- outputs: [],
1111
- stateMutability: "nonpayable",
1112
- type: "function"
1113
- },
1114
- {
1115
- inputs: [
1116
- {
1117
- internalType: "uint16",
1118
- name: "_remoteChainId",
1119
- type: "uint16"
1120
- },
1121
- {
1122
- internalType: "address",
1123
- name: "_ua",
1124
- type: "address"
1125
- },
1126
- {
1127
- internalType: "uint256",
1128
- name: "_configType",
1129
- type: "uint256"
1130
- },
1131
- {
1132
- internalType: "bytes",
1133
- name: "_config",
1134
- type: "bytes"
1135
- },
1136
- ],
1137
- name: "setConfig",
1138
- outputs: [],
1139
- stateMutability: "nonpayable",
1140
- type: "function"
1141
- },
1142
- {
1143
- inputs: [
1144
- {
1145
- internalType: "uint16",
1146
- name: "_chainId",
1147
- type: "uint16"
1148
- },
1149
- {
1150
- internalType: "uint16",
1151
- name: "_proofType",
1152
- type: "uint16"
1153
- },
1154
- {
1155
- internalType: "bytes",
1156
- name: "_adapterParams",
1157
- type: "bytes"
1158
- },
1159
- ],
1160
- name: "setDefaultAdapterParamsForChainId",
1161
- outputs: [],
1162
- stateMutability: "nonpayable",
1163
- type: "function"
1164
- },
1165
- {
1166
- inputs: [
1167
- {
1168
- internalType: "uint16",
1169
- name: "_chainId",
1170
- type: "uint16"
1171
- },
1172
- {
1173
- internalType: "uint16",
1174
- name: "_inboundProofLibraryVersion",
1175
- type: "uint16"
1176
- },
1177
- {
1178
- internalType: "uint64",
1179
- name: "_inboundBlockConfirmations",
1180
- type: "uint64"
1181
- },
1182
- {
1183
- internalType: "address",
1184
- name: "_relayer",
1185
- type: "address"
1186
- },
1187
- {
1188
- internalType: "uint16",
1189
- name: "_outboundProofType",
1190
- type: "uint16"
1191
- },
1192
- {
1193
- internalType: "uint64",
1194
- name: "_outboundBlockConfirmations",
1195
- type: "uint64"
1196
- },
1197
- {
1198
- internalType: "address",
1199
- name: "_oracle",
1200
- type: "address"
1201
- },
1202
- ],
1203
- name: "setDefaultConfigForChainId",
1204
- outputs: [],
1205
- stateMutability: "nonpayable",
1206
- type: "function"
1207
- },
1208
- {
1209
- inputs: [
1210
- {
1211
- internalType: "address",
1212
- name: "_layerZeroToken",
1213
- type: "address"
1214
- },
1215
- ],
1216
- name: "setLayerZeroToken",
1217
- outputs: [],
1218
- stateMutability: "nonpayable",
1219
- type: "function"
1220
- },
1221
- {
1222
- inputs: [
1223
- {
1224
- internalType: "uint16",
1225
- name: "_remoteChainId",
1226
- type: "uint16"
1227
- },
1228
- {
1229
- internalType: "bytes32",
1230
- name: "_remoteUln",
1231
- type: "bytes32"
1232
- },
1233
- ],
1234
- name: "setRemoteUln",
1235
- outputs: [],
1236
- stateMutability: "nonpayable",
1237
- type: "function"
1238
- },
1239
- {
1240
- inputs: [
1241
- {
1242
- internalType: "address",
1243
- name: "_treasury",
1244
- type: "address"
1245
- },
1246
- ],
1247
- name: "setTreasury",
1248
- outputs: [],
1249
- stateMutability: "nonpayable",
1250
- type: "function"
1251
- },
1252
- {
1253
- inputs: [
1254
- {
1255
- internalType: "uint16",
1256
- name: "",
1257
- type: "uint16"
1258
- },
1259
- {
1260
- internalType: "uint16",
1261
- name: "",
1262
- type: "uint16"
1263
- },
1264
- ],
1265
- name: "supportedOutboundProof",
1266
- outputs: [
1267
- {
1268
- internalType: "bool",
1269
- name: "",
1270
- type: "bool"
1271
- },
1272
- ],
1273
- stateMutability: "view",
1274
- type: "function"
1275
- },
1276
- {
1277
- inputs: [
1278
- {
1279
- internalType: "address",
1280
- name: "newOwner",
1281
- type: "address"
1282
- },
1283
- ],
1284
- name: "transferOwnership",
1285
- outputs: [],
1286
- stateMutability: "nonpayable",
1287
- type: "function"
1288
- },
1289
- {
1290
- inputs: [],
1291
- name: "treasuryContract",
1292
- outputs: [
1293
- {
1294
- internalType: "contract ILayerZeroTreasury",
1295
- name: "",
1296
- type: "address"
1297
- },
1298
- ],
1299
- stateMutability: "view",
1300
- type: "function"
1301
- },
1302
- {
1303
- inputs: [],
1304
- name: "treasuryZROFees",
1305
- outputs: [
1306
- {
1307
- internalType: "uint256",
1308
- name: "",
1309
- type: "uint256"
1310
- },
1311
- ],
1312
- stateMutability: "view",
1313
- type: "function"
1314
- },
1315
- {
1316
- inputs: [
1317
- {
1318
- internalType: "uint16",
1319
- name: "",
1320
- type: "uint16"
1321
- },
1322
- ],
1323
- name: "ulnLookup",
1324
- outputs: [
1325
- {
1326
- internalType: "bytes32",
1327
- name: "",
1328
- type: "bytes32"
1329
- },
1330
- ],
1331
- stateMutability: "view",
1332
- type: "function"
1333
- },
1334
- {
1335
- inputs: [
1336
- {
1337
- internalType: "uint16",
1338
- name: "_srcChainId",
1339
- type: "uint16"
1340
- },
1341
- {
1342
- internalType: "bytes32",
1343
- name: "_lookupHash",
1344
- type: "bytes32"
1345
- },
1346
- {
1347
- internalType: "uint256",
1348
- name: "_confirmations",
1349
- type: "uint256"
1350
- },
1351
- {
1352
- internalType: "bytes32",
1353
- name: "_blockData",
1354
- type: "bytes32"
1355
- },
1356
- ],
1357
- name: "updateHash",
1358
- outputs: [],
1359
- stateMutability: "nonpayable",
1360
- type: "function"
1361
- },
1362
- {
1363
- inputs: [
1364
- {
1365
- internalType: "uint16",
1366
- name: "_srcChainId",
1367
- type: "uint16"
1368
- },
1369
- {
1370
- internalType: "address",
1371
- name: "_dstAddress",
1372
- type: "address"
1373
- },
1374
- {
1375
- internalType: "uint256",
1376
- name: "_gasLimit",
1377
- type: "uint256"
1378
- },
1379
- {
1380
- internalType: "bytes32",
1381
- name: "_lookupHash",
1382
- type: "bytes32"
1383
- },
1384
- {
1385
- internalType: "bytes32",
1386
- name: "_blockData",
1387
- type: "bytes32"
1388
- },
1389
- {
1390
- internalType: "bytes",
1391
- name: "_transactionProof",
1392
- type: "bytes"
1393
- },
1394
- ],
1395
- name: "validateTransactionProof",
1396
- outputs: [],
1397
- stateMutability: "nonpayable",
1398
- type: "function"
1399
- },
1400
- {
1401
- inputs: [
1402
- {
1403
- internalType: "address payable",
1404
- name: "_to",
1405
- type: "address"
1406
- },
1407
- {
1408
- internalType: "uint256",
1409
- name: "_amount",
1410
- type: "uint256"
1411
- },
1412
- ],
1413
- name: "withdrawNative",
1414
- outputs: [],
1415
- stateMutability: "nonpayable",
1416
- type: "function"
1417
- },
1418
- {
1419
- inputs: [
1420
- {
1421
- internalType: "address",
1422
- name: "_to",
1423
- type: "address"
1424
- },
1425
- {
1426
- internalType: "uint256",
1427
- name: "_amount",
1428
- type: "uint256"
1429
- },
1430
- ],
1431
- name: "withdrawZRO",
1432
- outputs: [],
1433
- stateMutability: "nonpayable",
1434
- type: "function"
1435
- },
1436
- ];
1437
- var _bytecode = "0x60e06040523480156200001157600080fd5b50604051620055423803806200554283398101604081905262000034916200013f565b60016000908155620000456200011e565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160a01b038316620000c55760405162461bcd60e51b8152600401620000bc9062000191565b60405180910390fd5b6001600160a01b038216620000ee5760405162461bcd60e51b8152600401620000bc90620001db565b60f01b6001600160f01b03191660a052606091821b6001600160601b0319908116608052911b1660c0526200022a565b3390565b80516001600160a01b03811681146200013a57600080fd5b919050565b60008060006060848603121562000154578283fd5b6200015f8462000122565b92506200016f6020850162000122565b9150604084015161ffff8116811462000186578182fd5b809150509250925092565b6020808252602a908201527f4c617965725a65726f3a20656e64706f696e742063616e6e6f74206265207a65604082015269726f206164647265737360b01b606082015260800190565b6020808252602f908201527f4c617965725a65726f3a206e6f6e6365436f6e74726163742063616e6e6f742060408201526e6265207a65726f206164647265737360881b606082015260800190565b60805160601c60a05160f01c60c05160601c6152bf620002836000398061084d5280611045528061267852508061124f528061175052806123ef525080610e9e5280611774528061257c5280612c0c52506152bf6000f3fe6080604052600436106102e75760003560e01c80638317814a11610184578063d543c774116100d6578063ed28580a1161008a578063f47a5feb11610064578063f47a5feb146107f6578063f58589a21461080b578063f8e1734c1461082b576102e7565b8063ed28580a14610796578063f0f44260146107b6578063f2fde38b146107d6576102e7565b8063ddfdef5a116100bb578063ddfdef5a14610736578063ea216c2114610756578063eb0d4c3114610776576102e7565b8063d543c774146106e9578063db00719b14610716576102e7565b8063959f594311610138578063b77d22ad11610112578063b77d22ad14610687578063b8e7e3e01461069c578063b9a99bed146106bc576102e7565b8063959f59431461061a578063987fa2d51461063a578063a46622221461065a576102e7565b806387078f9f1161016957806387078f9f146105d05780638da5cb5b146105f0578063904d3b8d14610605576102e7565b80638317814a146105905780638525b711146105b0576102e7565b806352d2871f1161023d5780636a14ac82116101f1578063759c5b3b116101cb578063759c5b3b1461053b5780638140666e1461055b5780638207f79d14610570576102e7565b80636a14ac82146104e6578063704316e514610506578063715018a614610526576102e7565b80635b056da5116102225780635b056da51461048f5780635e280f11146104b157806369412bfa146104c6576102e7565b806352d2871f1461044f57806352d3b5001461046f576102e7565b80632cfacb061161029f57806340a7bb101161027957806340a7bb10146103f957806349148c37146104275780634d3a0f7c1461043c576102e7565b80632cfacb06146103905780632f813464146103b257806331bd2430146103e4576102e7565b806307b9ca7c116102d057806307b9ca7c1461033957806318da00111461034e5780632a819bbf14610363576102e7565b806302bd9743146102ec57806307b18bde14610317575b600080fd5b3480156102f857600080fd5b5061030161084b565b60405161030e919061448c565b60405180910390f35b34801561032357600080fd5b50610337610332366004613c3a565b61086f565b005b34801561034557600080fd5b506103016109f9565b34801561035a57600080fd5b50610301610a08565b34801561036f57600080fd5b5061038361037e366004614180565b610a17565b60405161030e9190614521565b34801561039c57600080fd5b506103a5610ad9565b60405161030e91906144c3565b3480156103be57600080fd5b506103d26103cd366004613ec0565b610ade565b60405161030e96959493929190615117565b3480156103f057600080fd5b506103a5610b62565b34801561040557600080fd5b50610419610414366004613f09565b610b67565b60405161030e929190615160565b34801561043357600080fd5b506103a5610e97565b61033761044a366004613cf4565b610e9c565b34801561045b57600080fd5b5061038361046a366004613fb4565b6112e8565b34801561047b57600080fd5b5061033761048a366004613c1e565b611652565b34801561049b57600080fd5b506104a461174e565b60405161030e9190614fe2565b3480156104bd57600080fd5b50610301611772565b3480156104d257600080fd5b506103a56104e1366004613c1e565b611796565b3480156104f257600080fd5b50610337610501366004614200565b6117b5565b34801561051257600080fd5b506103376105213660046140f3565b611b17565b34801561053257600080fd5b50610337611bdc565b34801561054757600080fd5b506103a5610556366004613c9d565b611cb2565b34801561056757600080fd5b506103a5611cde565b34801561057c57600080fd5b5061033761058b366004613edc565b611ce3565b34801561059c57600080fd5b506103376105ab36600461419d565b611e7c565b3480156105bc57600080fd5b506103376105cb366004613ce2565b611f65565b3480156105dc57600080fd5b506103376105eb3660046140d6565b612067565b3480156105fc57600080fd5b5061030161215e565b34801561061157600080fd5b506103a561216d565b34801561062657600080fd5b506103a5610635366004613ec0565b612172565b34801561064657600080fd5b50610337610655366004613ff4565b612184565b34801561066657600080fd5b5061067a610675366004613edc565b612618565b60405161030e9190614f76565b34801561069357600080fd5b506103a561262a565b3480156106a857600080fd5b506104a46106b7366004613ec0565b61262f565b3480156106c857600080fd5b506106dc6106d736600461412d565b612645565b60405161030e919061516e565b3480156106f557600080fd5b50610709610704366004614180565b612709565b60405161030e91906144a0565b34801561072257600080fd5b50610301610731366004614180565b612729565b34801561074257600080fd5b506103d2610751366004613c65565b61274f565b34801561076257600080fd5b506103a5610771366004613ec0565b6127de565b34801561078257600080fd5b50610337610791366004614180565b6127f0565b3480156107a257600080fd5b506103376107b13660046140d6565b6128de565b3480156107c257600080fd5b506103376107d1366004613c1e565b6129c9565b3480156107e257600080fd5b506103376107f1366004613c1e565b612ac5565b34801561080257600080fd5b506103a5612bf2565b34801561081757600080fd5b506103a5610826366004613c1e565b612bf8565b34801561083757600080fd5b50610337610846366004614065565b612c0a565b7f000000000000000000000000000000000000000000000000000000000000000081565b600260005414156108c7576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000556001600160a01b0382166108fb5760405162461bcd60e51b81526004016108f290614745565b60405180910390fd5b336000908152600460205260409020546109159082612f71565b336000908152600460205260408082209290925590516001600160a01b038416908390610941906143c1565b60006040518083038185875af1925050503d806000811461097e576040519150601f19603f3d011682016040523d82523d6000602084013e610983565b606091505b50509050806109a45760405162461bcd60e51b81526004016108f2906146b1565b826001600160a01b0316336001600160a01b03167f3bfd26201736b5cb14a562ab3cfc2bef76901726e3a78483d6288af47131e1d9846040516109e791906144c3565b60405180910390a35050600160005550565b6002546001600160a01b031681565b6003546001600160a01b031681565b60086020908152600092835260408084208252918352918190208054825160026001831615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190921691909104601f810185900485028201850190935282815292909190830182828015610ad15780601f10610aa657610100808354040283529160200191610ad1565b820191906000526020600020905b815481529060010190602001808311610ab457829003601f168201915b505050505081565b600381565b6007602052600090815260409020805460019091015461ffff8083169267ffffffffffffffff6201000082048116936001600160a01b036a010000000000000000000084048116947e010000000000000000000000000000000000000000000000000000000000009094049093169291811691680100000000000000009091041686565b600681565b6000806000610b768a8a612fce565b905060608415610bbf5785858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929350610c8e92505050565b61ffff808c166000908152600860209081526040808320606087015190941683529281529082902080548351601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61010060018616150201909316929092049182018490048402810184019094528084529091830182828015610c865780601f10610c5b57610100808354040283529160200191610c86565b820191906000526020600020905b815481529060010190602001808311610c6957829003601f168201915b505050505090505b600082604001516001600160a01b031663c03f15298d85606001518e8e8e9050876040518663ffffffff1660e01b8152600401610ccf9594939291906150a5565b60206040518083038186803b158015610ce757600080fd5b505afa158015610cfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1f9190614295565b905060008b905060008460a001516001600160a01b0316635553fb8e8f87606001518860800151866040518563ffffffff1660e01b8152600401610d6694939291906150e1565b60206040518083038186803b158015610d7e57600080fd5b505afa158015610d92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db69190614295565b6003546040517f5cbbbd750000000000000000000000000000000000000000000000000000000081529192506000916001600160a01b0390911690635cbbbd7590610e09908e90889087906004016144ab565b60206040518083038186803b158015610e2157600080fd5b505afa158015610e35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e599190614295565b90508a610e695780975087610e6e565b809650865b50610e8382610e7d8a87613199565b90613199565b975050505050505097509795505050505050565b600281565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163314610ee45760405162461bcd60e51b81526004016108f290614d6e565b61ffff89166000908152600e60205260409020548b908a90610f185760405162461bcd60e51b81526004016108f2906145e6565b61ffff81166000908152600c6020526040812054606091908015801590610f415750601481018c145b610f5d5760405162461bcd60e51b81526004016108f290614e02565b6000808e8e8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050505083810160140151925090506001600160a01b0387811690831614610fcc5760405162461bcd60e51b81526004016108f290614a4f565b8e8e6000908592610fdf939291906151a7565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f6fe7b673000000000000000000000000000000000000000000000000000000008152929750506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691636fe7b673915061107f9089908b908690600401614ff1565b602060405180830381600087803b15801561109957600080fd5b505af11580156110ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d191906142c9565b935050505060008a8a8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092018290525093945061111d9250879150889050612fce565b9050600061116586838986518d8d8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506131f392505050565b9050600061117487848a6133cd565b9050600061118483838b8f613487565b9050600061119682610e7d8686613199565b9050348111156111b85760405162461bcd60e51b81526004016108f2906146e8565b60006111c43483612f71565b9050801561124a5760008f6001600160a01b0316826040516111e5906143c1565b60006040518083038185875af1925050503d8060008114611222576040519150601f19603f3d011682016040523d82523d6000602084013e611227565b606091505b50509050806112485760405162461bcd60e51b81526004016108f29061485c565b505b6000887f00000000000000000000000000000000000000000000000000000000000000008d8d8d8c604051602001611287969594939291906143c4565b60405160208183030381529060405290507fe9bded5f24a4168e4f3bf44e00298c993b22376aad8c58c7dda9718a54cbea82816040516112c79190614521565b60405180910390a15050505050505050505050505050505050505050505050565b6001600160a01b038216600090815260066020908152604080832061ffff871684529091529020606090600183141561137c57805461ffff166113665761ffff80861660009081526007602090815260409182902054915161134f93929092169101614fe2565b60405160208183030381529060405291505061164b565b805460405161134f9161ffff1690602001614fe2565b60028314156113f257805462010000900467ffffffffffffffff166113d05761ffff851660009081526007602090815260409182902054915161134f9262010000900467ffffffffffffffff16910161516e565b805460405161134f9162010000900467ffffffffffffffff169060200161516e565b600383141561147d5780546a010000000000000000000090046001600160a01b03166114545761ffff851660009081526007602090815260409182902054915161134f926a010000000000000000000090046001600160a01b0316910161448c565b805460405161134f916a010000000000000000000090046001600160a01b03169060200161448c565b60048314156115365780547e01000000000000000000000000000000000000000000000000000000000000900461ffff166114fe5761ffff80861660009081526007602090815260409182902054915161134f937e010000000000000000000000000000000000000000000000000000000000009093049092169101614fe2565b805460405161134f917e01000000000000000000000000000000000000000000000000000000000000900461ffff1690602001614fe2565b60058314156115a357600181015467ffffffffffffffff166115845761ffff851660009081526007602090815260409182902060010154915161134f9267ffffffffffffffff16910161516e565b600181015460405161134f9167ffffffffffffffff169060200161516e565b60068314156116315760018101546801000000000000000090046001600160a01b03166116075761ffff851660009081526007602090815260409182902060010154915161134f926801000000000000000090046001600160a01b0316910161448c565b600181015460405161134f916801000000000000000090046001600160a01b03169060200161448c565b60405162461bcd60e51b81526004016108f29061467a565b505b9392505050565b61165a6135f1565b6001600160a01b031661166b61215e565b6001600160a01b0316146116c6576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166116ec5760405162461bcd60e51b81526004016108f2906147a2565b600280547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517f33d644987381deff4408951d55afa136f124e22a7810b163b2aaa3ebef770f6490600090a250565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b0381166000908152600460205260409020545b919050565b6117bd6135f1565b6001600160a01b03166117ce61215e565b6001600160a01b031614611829576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61ffff8088166000908152600a6020526040902054811690871611801590611855575060008661ffff16115b6118715760405162461bcd60e51b81526004016108f290614b9d565b60008567ffffffffffffffff161161189b5760405162461bcd60e51b81526004016108f290614ebc565b6001600160a01b0384166118c15760405162461bcd60e51b81526004016108f2906147ff565b61ffff8088166000908152600b602090815260408083209387168352929052205460ff166119015760405162461bcd60e51b81526004016108f290614589565b60008267ffffffffffffffff161161192b5760405162461bcd60e51b81526004016108f290614da5565b6001600160a01b0381166119515760405162461bcd60e51b81526004016108f290614927565b6040518060c001604052808761ffff1681526020018667ffffffffffffffff168152602001856001600160a01b031681526020018461ffff1681526020018367ffffffffffffffff168152602001826001600160a01b0316815250600760008961ffff1661ffff16815260200190815260200160002060008201518160000160006101000a81548161ffff021916908361ffff16021790555060208201518160000160026101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550604082015181600001600a6101000a8154816001600160a01b0302191690836001600160a01b03160217905550606082015181600001601e6101000a81548161ffff021916908361ffff16021790555060808201518160010160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a08201518160010160086101000a8154816001600160a01b0302191690836001600160a01b031602179055509050508661ffff167f5a76432853a0871c4e780def7f3ffc7912339b53f022ac31127fe5ff84a36fa1878787878787604051611b0696959493929190615117565b60405180910390a250505050505050565b336000908152600d6020908152604080832061ffff8816845282528083208684528252808320848452909152902054828110611b655760405162461bcd60e51b81526004016108f290614ae3565b336000818152600d6020908152604080832061ffff8a1680855290835281842089855283528184208785529092529182902086905590517f74bbc026808dcba59692d6a8bb20596849ca718e10e2432c6cdf48af865bc5d990611bcd908890879089906144cc565b60405180910390a35050505050565b611be46135f1565b6001600160a01b0316611bf561215e565b6001600160a01b031614611c50576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b600d60209081526000948552604080862082529385528385208152918452828420909152825290205481565b600481565b611ceb6135f1565b6001600160a01b0316611cfc61215e565b6001600160a01b031614611d57576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116611d7d5760405162461bcd60e51b81526004016108f290614a86565b61ffff8083166000908152600a60205260409020548116908110611db35760405162461bcd60e51b81526004016108f290614d11565b61ffff8381166000818152600a6020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001660019790970195861696871790556009825280832095835294905283902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861617905591519091907f802d55279d51813cb7a9a98e8fd2d7bec5346cb830901c11b85d1650cb857e9a90611e6f90859061448c565b60405180910390a2505050565b611e846135f1565b6001600160a01b0316611e9561215e565b6001600160a01b031614611ef0576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61ffff8085166000908152600860209081526040808320938716835292905220611f1b9083836139e9565b508261ffff168461ffff167f4a5695eee2a74d548d5f5c485a3de99ace99e3b664c8e30a90f49be6ebb549328484604051611f5792919061450d565b60405180910390a350505050565b60026000541415611fbd576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000556003546001600160a01b03163314611fec5760405162461bcd60e51b81526004016108f290614643565b600554611ff99082612f71565b600555600254612013906001600160a01b031683836135f5565b816001600160a01b0316336001600160a01b03167f3a20c8c3cd1848485ae8261a52398bb9b26f195b717306b3cf7f058e62c095d58360405161205691906144c3565b60405180910390a350506001600055565b61206f6135f1565b6001600160a01b031661208061215e565b6001600160a01b0316146120db576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61ffff82166000908152600c60205260409020541561210c5760405162461bcd60e51b81526004016108f290614e5f565b61ffff82166000818152600c602052604090819020839055517f0611bb2107e385b79ec826fff8ecc1c1248a7aae3c875c96668f8cfbf1734220906121529084906144c3565b60405180910390a25050565b6001546001600160a01b031690565b600581565b600c6020526000908152604090205481565b60006121908888612fce565b60408101519091506001600160a01b031633146121bf5760405162461bcd60e51b81526004016108f290614a18565b6121c7613a93565b61ffff89166000908152600c6020526040902054806121f85760405162461bcd60e51b81526004016108f290614e02565b60a08301516001600160a01b03166000908152600d6020908152604080832061ffff8e16845282528083208a8452825280832089845290915290205480158015906122515750836020015167ffffffffffffffff168110155b61226d5760405162461bcd60e51b81526004016108f290614f19565b61ffff808c166000908152600960209081526040808320885190941683529290528190205490517fb71e0f710000000000000000000000000000000000000000000000000000000081526001600160a01b0390911690819063b71e0f71906122df908b908b908b9089906004016144e2565b600060405180830381600087803b1580156122f957600080fd5b505af115801561230d573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526123539190810190613de4565b60a081015161ffff8e166000908152600e6020526040902054919550149150508015612382575060a082015115155b61239e5760405162461bcd60e51b81526004016108f290614984565b8961ffff16826000015161ffff16146123c95760405162461bcd60e51b81526004016108f2906149e1565b80826080015151146123ed5760405162461bcd60e51b81526004016108f290614bfa565b7f000000000000000000000000000000000000000000000000000000000000000061ffff16826020015161ffff16146124385760405162461bcd60e51b81526004016108f290614b66565b886001600160a01b031682606001516001600160a01b03161461246d5760405162461bcd60e51b81526004016108f2906148f0565b6124768961367a565b6124e75781606001516001600160a01b0316826000015161ffff167fa2786598bd84ae4a299103996359e6cb4333404583256079dfc279386baf5832846080015185604001518660c00151805190602001206040516124d79392919061455a565b60405180910390a350505061260f565b600082608001518360600151604051602001612504929190614377565b604051602081830303815290604052905082606001516001600160a01b0316836000015161ffff167f2bd2d8a84b748439fd50d79a49502b4eb5faa25b864da6a9ab5c150704be9a4d856080015186604001518760c00151805190602001206040516125729392919061455a565b60405180910390a37f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c2fa48138c838d87604001518e8960c001516040518763ffffffff1660e01b81526004016125d896959493929190615044565b600060405180830381600087803b1580156125f257600080fd5b505af1158015612606573d6000803e3d6000fd5b50505050505050505b50505050505050565b612620613ad1565b61164b8383612fce565b600181565b600a6020526000908152604090205461ffff1681565b6040517fc533338f0000000000000000000000000000000000000000000000000000000081526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c533338f906126b190879087908790600401615026565b60206040518083038186803b1580156126c957600080fd5b505afa1580156126dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061270191906142c9565b949350505050565b600b60209081526000928352604080842090915290825290205460ff1681565b60096020908152600092835260408084209091529082529020546001600160a01b031681565b60066020908152600092835260408084209091529082529020805460019091015461ffff8083169267ffffffffffffffff6201000082048116936001600160a01b036a010000000000000000000084048116947e010000000000000000000000000000000000000000000000000000000000009094049093169291811691680100000000000000009091041686565b600e6020526000908152604090205481565b6127f86135f1565b6001600160a01b031661280961215e565b6001600160a01b031614612864576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61ffff8083166000818152600b60209081526040808320948616835293905282902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905590517fec23bee6f88cfecebb09d6aaaed66f0ce110debc1f61117c8270a7116597df9a90612152908490614fe2565b6128e66135f1565b6001600160a01b03166128f761215e565b6001600160a01b031614612952576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61ffff82166000908152600e6020526040902054156129835760405162461bcd60e51b81526004016108f290614cb4565b61ffff82166000818152600e602052604090819020839055517f0dad975e1d2fbe771c95cdcc7be9a1e61181de7173abe0a32b8f8f83140873e5906121529084906144c3565b6129d16135f1565b6001600160a01b03166129e261215e565b6001600160a01b031614612a3d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116612a635760405162461bcd60e51b81526004016108f290614c57565b600380547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517fcb7ef3e545f5cdb893f5c568ba710fe08f336375a2d9fd66e161033f8fc09ef390600090a250565b612acd6135f1565b6001600160a01b0316612ade61215e565b6001600160a01b031614612b39576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116612b7e5760405162461bcd60e51b815260040180806020018281038252602681526020018061523a6026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60055481565b60046020526000908152604090205481565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163314612c525760405162461bcd60e51b81526004016108f290614d6e565b6001600160a01b038416600090815260066020908152604080832061ffff8916845290915290206001841415612cff576000612c9083850185613ec0565b61ffff8089166000908152600a60205260409020549192509081169082161115612ccc5760405162461bcd60e51b81526004016108f290614b9d565b81547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff91909116178155612f25565b6002841415612d56576000612d16838501856142ad565b825467ffffffffffffffff90911662010000027fffffffffffffffffffffffffffffffffffffffffffff0000000000000000ffff90911617825550612f25565b6003841415612db4576000612d6d83850185613c1e565b82546001600160a01b039091166a0100000000000000000000027fffff0000000000000000000000000000000000000000ffffffffffffffffffff90911617825550612f25565b6004841415612e6e576000612dcb83850185613ec0565b61ffff8089166000908152600b602090815260408083209385168352929052205490915060ff1680612dff575061ffff8116155b612e1b5760405162461bcd60e51b81526004016108f290614589565b815461ffff9091167e01000000000000000000000000000000000000000000000000000000000000027dffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff909116178155612f25565b6005841415612ec6576000612e85838501856142ad565b6001830180547fffffffffffffffffffffffffffffffffffffffffffffffff00000000000000001667ffffffffffffffff9290921691909117905550612f25565b6006841415611631576000612edd83850185613c1e565b6001830180546001600160a01b0390921668010000000000000000027fffffffff0000000000000000000000000000000000000000ffffffffffffffff909216919091179055505b83856001600160a01b03167ffc01bf86212a14151d51d1be5c2ac64d67d5ec823dfc6f53298d7ce3f3d3d2528585604051612f6192919061450d565b60405180910390a3505050505050565b600082821115612fc8576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b612fd6613ad1565b6001600160a01b03808316600090815260066020908152604080832061ffff808916808652918452828520835160c0810185528154808416825267ffffffffffffffff6201000082048116838901526a010000000000000000000082048a16838801527e010000000000000000000000000000000000000000000000000000000000009091048416606083015260019092015491821660808201526801000000000000000090910490961660a0870152908452600790925290912082519091166130a357805461ffff1682525b602082015167ffffffffffffffff166130ce57805462010000900467ffffffffffffffff1660208301525b60408201516001600160a01b03166130ff5780546a010000000000000000000090046001600160a01b031660408301525b606082015161ffff1661313a5780547e01000000000000000000000000000000000000000000000000000000000000900461ffff1660608301525b608082015167ffffffffffffffff1661316257600181015467ffffffffffffffff1660808301525b60a08201516001600160a01b031661164957600101546801000000000000000090046001600160a01b031660a08201529392505050565b60008282018381101561164b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008151600014156132ce5761ffff808716600090815260086020908152604080832060608a015190941683529281529082902080548351601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600186161502019093169290920491820184900484028101840190945280845290918301828280156132c65780601f1061329b576101008083540402835291602001916132c6565b820191906000526020600020905b8154815290600101906020018083116132a957829003601f168201915b505050505091505b604080860151606087015191517f5886ea65000000000000000000000000000000000000000000000000000000008152909182916001600160a01b03831691635886ea6591613327918c918b908b908b906004016150a5565b602060405180830381600087803b15801561334157600080fd5b505af1158015613355573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133799190614295565b92506133858284613680565b7fb0c632f55f1e1b3b2c3d82f41ee4716bb4c00f0f5d84cdafc141581bb8757a4f8488606001516040516133ba929190614534565b60405180910390a1505095945050505050565b60a0820151606083015160808401516040517fc5e193cd000000000000000000000000000000000000000000000000000000008152600093926001600160a01b0384169263c5e193cd92613429928a92909189906004016150e1565b602060405180830381600087803b15801561344357600080fd5b505af1158015613457573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061347b9190614295565b91506116498183613680565b6000806001600160a01b03831615806134a957506002546001600160a01b0316155b6003546040517f5cbbbd750000000000000000000000000000000000000000000000000000000081529192506000916001600160a01b0390911690635cbbbd75906134fd908515908b908b906004016144ab565b60206040518083038186803b15801561351557600080fd5b505afa158015613529573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061354d9190614295565b905080156135e757811561357a576003546001600160a01b03166135718183613680565b819350506135e7565b846001600160a01b0316846001600160a01b031614806135a257506001600160a01b03841632145b6135be5760405162461bcd60e51b81526004016108f290614893565b6002546135d6906001600160a01b03168530846136c3565b6005546135e39082613199565b6005555b5050949350505050565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052613675908490613751565b505050565b3b151590565b6001600160a01b0382166000908152600460205260409020546136a39082613199565b6001600160a01b0390921660009081526004602052604090209190915550565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017905261374b908590613751565b50505050565b60006137a6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166138029092919063ffffffff16565b805190915015613675578080602001905160208110156137c557600080fd5b50516136755760405162461bcd60e51b815260040180806020018281038252602a815260200180615260602a913960400191505060405180910390fd5b60606127018484600085856138168561367a565b613867576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b602083106138c357805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613886565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613925576040519150601f19603f3d011682016040523d82523d6000602084013e61392a565b606091505b509150915061393a828286613945565b979650505050505050565b6060831561395457508161164b565b8251156139645782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156139ae578181015183820152602001613996565b50505050905090810190601f1680156139db5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282613a1f5760008555613a83565b82601f10613a56578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555613a83565b82800160010185558215613a83579182015b82811115613a83578235825591602001919060010190613a68565b50613a8f929150613b06565b5090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082019290925260c081019190915290565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a081019190915290565b5b80821115613a8f5760008155600101613b07565b80356117b0816151fb565b80516117b0816151fb565b60008083601f840112613b42578182fd5b50813567ffffffffffffffff811115613b59578182fd5b602083019150836020828501011115613b7157600080fd5b9250929050565b600082601f830112613b88578081fd5b815167ffffffffffffffff811115613b9c57fe5b613bcd60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601615183565b818152846020838601011115613be1578283fd5b6127018260208301602087016151cf565b80356117b081615213565b80516117b081615213565b80356117b081615223565b80516117b081615223565b600060208284031215613c2f578081fd5b813561164b816151fb565b60008060408385031215613c4c578081fd5b8235613c57816151fb565b946020939093013593505050565b60008060408385031215613c77578182fd5b8235613c82816151fb565b91506020830135613c9281615213565b809150509250929050565b60008060008060808587031215613cb2578182fd5b8435613cbd816151fb565b93506020850135613ccd81615213565b93969395505050506040820135916060013590565b60008060408385031215613c4c578182fd5b60008060008060008060008060008060006101008c8e031215613d15578687fd5b613d1e8c613b1b565b9a50613d2c60208d01613c08565b9950613d3a60408d01613bf2565b985067ffffffffffffffff8060608e01351115613d55578788fd5b613d658e60608f01358f01613b31565b909950975060808d0135811015613d7a578687fd5b613d8a8e60808f01358f01613b31565b9097509550613d9b60a08e01613b1b565b9450613da960c08e01613b1b565b93508060e08e01351115613dbb578283fd5b50613dcc8d60e08e01358e01613b31565b81935080925050509295989b509295989b9093969950565b600060208284031215613df5578081fd5b815167ffffffffffffffff80821115613e0c578283fd5b9083019060e08286031215613e1f578283fd5b613e2960e0615183565b613e3283613bfd565b8152613e4060208401613bfd565b6020820152613e5160408401613c13565b6040820152613e6260608401613b26565b6060820152608083015182811115613e78578485fd5b613e8487828601613b78565b60808301525060a083015160a082015260c083015182811115613ea5578485fd5b613eb187828601613b78565b60c08301525095945050505050565b600060208284031215613ed1578081fd5b813561164b81615213565b60008060408385031215613eee578182fd5b8235613ef981615213565b91506020830135613c92816151fb565b600080600080600080600060a0888a031215613f23578081fd5b8735613f2e81615213565b96506020880135613f3e816151fb565b9550604088013567ffffffffffffffff80821115613f5a578283fd5b613f668b838c01613b31565b909750955060608a013591508115158214613f7f578283fd5b90935060808901359080821115613f94578283fd5b50613fa18a828b01613b31565b989b979a50959850939692959293505050565b600080600060608486031215613fc8578081fd5b8335613fd381615213565b92506020840135613fe3816151fb565b929592945050506040919091013590565b600080600080600080600060c0888a03121561400e578081fd5b873561401981615213565b96506020880135614029816151fb565b955060408801359450606088013593506080880135925060a088013567ffffffffffffffff811115614059578182fd5b613fa18a828b01613b31565b60008060008060006080868803121561407c578283fd5b853561408781615213565b94506020860135614097816151fb565b935060408601359250606086013567ffffffffffffffff8111156140b9578182fd5b6140c588828901613b31565b969995985093965092949392505050565b600080604083850312156140e8578182fd5b8235613c5781615213565b60008060008060808587031215614108578182fd5b843561411381615213565b966020860135965060408601359560600135945092505050565b600080600060408486031215614141578081fd5b833561414c81615213565b9250602084013567ffffffffffffffff811115614167578182fd5b61417386828701613b31565b9497909650939450505050565b60008060408385031215614192578182fd5b8235613c8281615213565b600080600080606085870312156141b2578182fd5b84356141bd81615213565b935060208501356141cd81615213565b9250604085013567ffffffffffffffff8111156141e8578283fd5b6141f487828801613b31565b95989497509550505050565b600080600080600080600060e0888a03121561421a578081fd5b873561422581615213565b9650602088013561423581615213565b9550604088013561424581615223565b94506060880135614255816151fb565b9350608088013561426581615213565b925060a088013561427581615223565b915060c0880135614285816151fb565b8091505092959891949750929550565b6000602082840312156142a6578081fd5b5051919050565b6000602082840312156142be578081fd5b813561164b81615223565b6000602082840312156142da578081fd5b815161164b81615223565b600082845282826020860137806020848601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f85011685010190509392505050565b600081518084526143458160208601602086016151cf565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600083516143898184602088016151cf565b60609390931b7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000169190920190815260140192915050565b90565b60007fffffffffffffffff0000000000000000000000000000000000000000000000008860c01b1682527fffff000000000000000000000000000000000000000000000000000000000000808860f01b1660088401527fffffffffffffffffffffffffffffffffffffffff0000000000000000000000008760601b16600a840152808660f01b16601e8401525083516144648160208501602088016151cf565b8083019050835161447c8160208401602088016151cf565b0160200198975050505050505050565b6001600160a01b0391909116815260200190565b901515815260200190565b92151583526020830191909152604082015260600190565b90815260200190565b9283526020830191909152604082015260600190565b6000858252606060208301526144fc6060830185876142e5565b905082604083015295945050505050565b6000602082526127016020830184866142e5565b60006020825261164b602083018461432d565b600060408252614547604083018561432d565b905061ffff831660208301529392505050565b60006060825261456d606083018661432d565b67ffffffffffffffff9490941660208301525060400152919050565b60208082526026908201527f4c617965725a65726f3a20696e76616c6964206f7574626f756e642070726f6f60408201527f6620747970650000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f4c617965725a65726f3a20647374436861696e496420646f6573206e6f74206560408201527f7869737400000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526018908201527f4c617965725a65726f3a206f6e6c792074726561737572790000000000000000604082015260600190565b6020808252601e908201527f4c617965725a65726f3a20496e76616c696420636f6e66696720747970650000604082015260600190565b6020808252601a908201527f4c617965725a65726f3a207769746864726177206661696c6564000000000000604082015260600190565b60208082526025908201527f4c617965725a65726f3a206e6f7420656e6f756768206e617469766520666f7260408201527f2066656573000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f4c617965725a65726f3a205f746f2063616e6e6f74206265207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526031908201527f4c617965725a65726f3a205f6c617965725a65726f546f6b656e2063616e6e6f60408201527f74206265207a65726f2061646472657373000000000000000000000000000000606082015260800190565b60208082526022908201527f4c617965725a65726f3a20696e76616c69642072656c6179657220616464726560408201527f7373000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601b908201527f4c617965725a65726f3a206661696c656420746f20726566756e640000000000604082015260600190565b6020808252602b908201527f4c617965725a65726f3a206d75737420626520706169642062792073656e646560408201527f72206f72206f726967696e000000000000000000000000000000000000000000606082015260800190565b6020808252601d908201527f4c617965725a65726f3a20696e76616c69642064737441646472657373000000604082015260600190565b60208082526021908201527f4c617965725a65726f3a20696e76616c6964206f7261636c652061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f4c617965725a65726f3a20696e76616c6964205f7061636b65742e756c6e416460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601e908201527f4c617965725a65726f3a20696e76616c696420737263436861696e2049640000604082015260600190565b6020808252601a908201527f4c617965725a65726f3a20696e76616c69642072656c61796572000000000000604082015260600190565b6020808252601a908201527f4c617965725a65726f3a2077726f6e6720706174682064617461000000000000604082015260600190565b60208082526029908201527f4c617965725a65726f3a206c6962726172792063616e6e6f74206265207a657260408201527f6f20616464726573730000000000000000000000000000000000000000000000606082015260800190565b60208082526043908201527f4c617965725a65726f3a206f7261636c6520646174612063616e206f6e6c792060408201527f75706461746520696620697420686173206d6f726520636f6e6669726d61746960608201527f6f6e730000000000000000000000000000000000000000000000000000000000608082015260a00190565b6020808252601e908201527f4c617965725a65726f3a20696e76616c696420647374436861696e2049640000604082015260600190565b60208082526030908201527f4c617965725a65726f3a20696e76616c696420696e626f756e642070726f6f6660408201527f206c6962726172792076657273696f6e00000000000000000000000000000000606082015260800190565b60208082526022908201527f4c617965725a65726f3a20696e76616c6964207372634164647265737320736960408201527f7a65000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602a908201527f4c617965725a65726f3a2074726561737572792063616e6e6f74206265207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f4c617965725a65726f3a2072656d6f746520756c6e20616c726561647920736560408201527f7400000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526022908201527f4c617965725a65726f3a2063616e206e6f7420616464206e6577206c6962726160408201527f7279000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526018908201527f4c617965725a65726f3a206f6e6c7920656e64706f696e740000000000000000604082015260600190565b6020808252602e908201527f4c617965725a65726f3a20696e76616c6964206f7574626f756e6420626c6f6360408201527f6b20636f6e6669726d6174696f6e000000000000000000000000000000000000606082015260800190565b60208082526028908201527f4c617965725a65726f3a20696e636f72726563742072656d6f7465206164647260408201527f6573732073697a65000000000000000000000000000000000000000000000000606082015260800190565b60208082526030908201527f4c617965725a65726f3a2072656d6f746520636861696e20616464726573732060408201527f73697a6520616c72656164792073657400000000000000000000000000000000606082015260800190565b6020808252602d908201527f4c617965725a65726f3a20696e76616c696420696e626f756e6420626c6f636b60408201527f20636f6e6669726d6174696f6e00000000000000000000000000000000000000606082015260800190565b60208082526029908201527f4c617965725a65726f3a206e6f7420656e6f75676820626c6f636b20636f6e6660408201527f69726d6174696f6e730000000000000000000000000000000000000000000000606082015260800190565b600060c08201905061ffff808451168352602084015167ffffffffffffffff8082166020860152604086015191506001600160a01b0380831660408701528360608801511660608701528160808801511660808701528060a08801511660a08701525050505092915050565b61ffff91909116815260200190565b600061ffff851682526001600160a01b03841660208301526060604083015261501d606083018461432d565b95945050505050565b600061ffff851682526040602083015261501d6040830184866142e5565b600061ffff8816825260c0602083015261506160c083018861432d565b6001600160a01b038716604084015267ffffffffffffffff8616606084015284608084015282810360a0840152615098818561432d565b9998505050505050505050565b600061ffff80881683528087166020840152506001600160a01b038516604083015283606083015260a0608083015261393a60a083018461432d565b61ffff948516815292909316602083015267ffffffffffffffff1660408201526001600160a01b03909116606082015260800190565b61ffff968716815267ffffffffffffffff95861660208201526001600160a01b03948516604082015292909516606083015290921660808301529190911660a082015260c00190565b918252602082015260400190565b67ffffffffffffffff91909116815260200190565b60405181810167ffffffffffffffff8111828210171561519f57fe5b604052919050565b600080858511156151b6578182fd5b838611156151c2578182fd5b5050820193919092039150565b60005b838110156151ea5781810151838201526020016151d2565b8381111561374b5750506000910152565b6001600160a01b038116811461521057600080fd5b50565b61ffff8116811461521057600080fd5b67ffffffffffffffff8116811461521057600080fdfe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220dc6fc63e061b7f8d887a5dcc9daf06630498d5f3c9e5ed30999f3b436f801b0664736f6c63430007060033";
1438
- var isSuperArgs = function (xs) { return xs.length > 1; };
1439
- var UltraLightNodeV2__factory = /** @class */ (function (_super) {
1440
- __extends(UltraLightNodeV2__factory, _super);
1441
- function UltraLightNodeV2__factory() {
1442
- var args = [];
1443
- for (var _i = 0; _i < arguments.length; _i++) {
1444
- args[_i] = arguments[_i];
1445
- }
1446
- var _this = this;
1447
- if (isSuperArgs(args)) {
1448
- _this = _super.apply(this, args) || this;
1449
- }
1450
- else {
1451
- _this = _super.call(this, _abi, _bytecode, args[0]) || this;
1452
- }
1453
- return _this;
1454
- }
1455
- UltraLightNodeV2__factory.prototype.deploy = function (_endpoint, _nonceContract, _localChainId, overrides) {
1456
- return _super.prototype.deploy.call(this, _endpoint, _nonceContract, _localChainId, overrides || {});
1457
- };
1458
- UltraLightNodeV2__factory.prototype.getDeployTransaction = function (_endpoint, _nonceContract, _localChainId, overrides) {
1459
- return _super.prototype.getDeployTransaction.call(this, _endpoint, _nonceContract, _localChainId, overrides || {});
1460
- };
1461
- UltraLightNodeV2__factory.prototype.attach = function (address) {
1462
- return _super.prototype.attach.call(this, address);
1463
- };
1464
- UltraLightNodeV2__factory.prototype.connect = function (signer) {
1465
- return _super.prototype.connect.call(this, signer);
1466
- };
1467
- UltraLightNodeV2__factory.createInterface = function () {
1468
- return new ethers_1.utils.Interface(_abi);
1469
- };
1470
- UltraLightNodeV2__factory.connect = function (address, signerOrProvider) {
1471
- return new ethers_1.Contract(address, _abi, signerOrProvider);
1472
- };
1473
- UltraLightNodeV2__factory.bytecode = _bytecode;
1474
- UltraLightNodeV2__factory.abi = _abi;
1475
- return UltraLightNodeV2__factory;
1476
- }(ethers_1.ContractFactory));
1477
- exports.UltraLightNodeV2__factory = UltraLightNodeV2__factory;