@layerzerolabs/lz-evm-sdk-v1 1.5.78 → 2.0.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.
- package/deployments/ethereum-sandbox-local/DefaultProxyAdmin.json +10 -10
- package/deployments/ethereum-sandbox-local/Endpoint.json +7 -7
- package/deployments/ethereum-sandbox-local/FPValidator.json +4 -4
- package/deployments/ethereum-sandbox-local/MPTValidator01.json +4 -4
- package/deployments/ethereum-sandbox-local/NonceContract.json +4 -4
- package/deployments/ethereum-sandbox-local/RelayerV2.json +16 -16
- package/deployments/ethereum-sandbox-local/RelayerV2_Implementation.json +4 -4
- package/deployments/ethereum-sandbox-local/RelayerV2_Proxy.json +16 -16
- package/deployments/ethereum-sandbox-local/TreasuryV2.json +7 -7
- package/deployments/ethereum-sandbox-local/UltraLightNode.json +7 -7
- package/deployments/ethereum-sandbox-local/UltraLightNodeV2.json +7 -7
- package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +10 -10
- package/deployments/polygon-sandbox-local/Endpoint.json +7 -7
- package/deployments/polygon-sandbox-local/FPValidator.json +4 -4
- package/deployments/polygon-sandbox-local/MPTValidator01.json +4 -4
- package/deployments/polygon-sandbox-local/NonceContract.json +4 -4
- package/deployments/polygon-sandbox-local/RelayerV2.json +16 -16
- package/deployments/polygon-sandbox-local/RelayerV2_Implementation.json +4 -4
- package/deployments/polygon-sandbox-local/RelayerV2_Proxy.json +16 -16
- package/deployments/polygon-sandbox-local/TreasuryV2.json +7 -7
- package/deployments/polygon-sandbox-local/UltraLightNode.json +7 -7
- package/deployments/polygon-sandbox-local/UltraLightNodeV2.json +7 -7
- package/package.json +4 -4
- package/dist/index.browser.js +0 -23
- package/dist/index.js +0 -30
- package/dist/typechain-types/Endpoint.js +0 -2
- package/dist/typechain-types/EndpointLite.js +0 -2
- package/dist/typechain-types/FeeHandler.js +0 -2
- package/dist/typechain-types/NonceContract.js +0 -2
- package/dist/typechain-types/NonceContractRadar.js +0 -2
- package/dist/typechain-types/PriceFeed.js +0 -2
- package/dist/typechain-types/Relayer.js +0 -2
- package/dist/typechain-types/RelayerV2.sol/IStargateComposer.js +0 -2
- package/dist/typechain-types/RelayerV2.sol/RelayerV2.js +0 -2
- package/dist/typechain-types/RelayerV2.sol/index.js +0 -2
- package/dist/typechain-types/RelayerV2Radar.js +0 -2
- package/dist/typechain-types/Treasury.js +0 -2
- package/dist/typechain-types/TreasuryV2.js +0 -2
- package/dist/typechain-types/TreasuryV2Radar.js +0 -2
- package/dist/typechain-types/UltraLightNode.js +0 -2
- package/dist/typechain-types/UltraLightNodeV2.js +0 -2
- package/dist/typechain-types/UltraLightNodeV2AltToken.js +0 -2
- package/dist/typechain-types/UltraLightNodeV2Radar.js +0 -2
- package/dist/typechain-types/arbitrum/index.js +0 -2
- package/dist/typechain-types/arbitrum/interfaces/ArbSys.js +0 -2
- package/dist/typechain-types/arbitrum/interfaces/index.js +0 -2
- package/dist/typechain-types/common.js +0 -2
- package/dist/typechain-types/example/AltTokenUA.js +0 -2
- package/dist/typechain-types/example/index.js +0 -2
- package/dist/typechain-types/factories/EndpointLite__factory.js +0 -988
- package/dist/typechain-types/factories/Endpoint__factory.js +0 -1012
- package/dist/typechain-types/factories/FeeHandler__factory.js +0 -203
- package/dist/typechain-types/factories/NonceContractRadar__factory.js +0 -183
- package/dist/typechain-types/factories/NonceContract__factory.js +0 -142
- package/dist/typechain-types/factories/PriceFeed__factory.js +0 -585
- package/dist/typechain-types/factories/RelayerV2.sol/IStargateComposer__factory.js +0 -35
- package/dist/typechain-types/factories/RelayerV2.sol/RelayerV2__factory.js +0 -1048
- package/dist/typechain-types/factories/RelayerV2.sol/index.js +0 -21
- package/dist/typechain-types/factories/RelayerV2Radar__factory.js +0 -853
- package/dist/typechain-types/factories/Relayer__factory.js +0 -642
- package/dist/typechain-types/factories/TreasuryV2Radar__factory.js +0 -362
- package/dist/typechain-types/factories/TreasuryV2__factory.js +0 -385
- package/dist/typechain-types/factories/Treasury__factory.js +0 -362
- package/dist/typechain-types/factories/UltraLightNodeV2AltToken__factory.js +0 -1495
- package/dist/typechain-types/factories/UltraLightNodeV2Radar__factory.js +0 -1599
- package/dist/typechain-types/factories/UltraLightNodeV2__factory.js +0 -1477
- package/dist/typechain-types/factories/UltraLightNode__factory.js +0 -1529
- package/dist/typechain-types/factories/arbitrum/index.js +0 -7
- package/dist/typechain-types/factories/arbitrum/interfaces/ArbSys__factory.js +0 -290
- package/dist/typechain-types/factories/arbitrum/interfaces/index.js +0 -19
- package/dist/typechain-types/factories/example/AltTokenUA__factory.js +0 -186
- package/dist/typechain-types/factories/example/index.js +0 -19
- package/dist/typechain-types/factories/index.js +0 -54
- package/dist/typechain-types/factories/interfaces/IContractOne__factory.js +0 -35
- package/dist/typechain-types/factories/interfaces/ILayerZeroEndpoint__factory.js +0 -458
- package/dist/typechain-types/factories/interfaces/ILayerZeroMessagingLibraryV2__factory.js +0 -195
- package/dist/typechain-types/factories/interfaces/ILayerZeroMessagingLibrary__factory.js +0 -171
- package/dist/typechain-types/factories/interfaces/ILayerZeroOracleV2__factory.js +0 -108
- package/dist/typechain-types/factories/interfaces/ILayerZeroOracle__factory.js +0 -88
- package/dist/typechain-types/factories/interfaces/ILayerZeroPriceFeedV2__factory.js +0 -115
- package/dist/typechain-types/factories/interfaces/ILayerZeroPriceFeed__factory.js +0 -118
- package/dist/typechain-types/factories/interfaces/ILayerZeroReceiver__factory.js +0 -50
- package/dist/typechain-types/factories/interfaces/ILayerZeroRelayerV2PriceData__factory.js +0 -94
- package/dist/typechain-types/factories/interfaces/ILayerZeroRelayerV2__factory.js +0 -118
- package/dist/typechain-types/factories/interfaces/ILayerZeroRelayer__factory.js +0 -103
- package/dist/typechain-types/factories/interfaces/ILayerZeroTreasury__factory.js +0 -51
- package/dist/typechain-types/factories/interfaces/ILayerZeroUltraLightNodeV1__factory.js +0 -167
- package/dist/typechain-types/factories/interfaces/ILayerZeroUltraLightNodeV2__factory.js +0 -593
- package/dist/typechain-types/factories/interfaces/ILayerZeroUserApplicationConfig__factory.js +0 -94
- package/dist/typechain-types/factories/interfaces/ILayerZeroValidationLibrary__factory.js +0 -88
- package/dist/typechain-types/factories/interfaces/IValidationLibraryHelperV2__factory.js +0 -165
- package/dist/typechain-types/factories/interfaces/IValidationLibraryHelper__factory.js +0 -157
- package/dist/typechain-types/factories/interfaces/index.js +0 -55
- package/dist/typechain-types/factories/precrime/PreCrimeBase__factory.js +0 -270
- package/dist/typechain-types/factories/precrime/PreCrimeView__factory.js +0 -329
- package/dist/typechain-types/factories/precrime/PreCrime__factory.js +0 -364
- package/dist/typechain-types/factories/precrime/example/index.js +0 -8
- package/dist/typechain-types/factories/precrime/example/inherit/CounterI__factory.js +0 -677
- package/dist/typechain-types/factories/precrime/example/inherit/CounterPrecrime__factory.js +0 -468
- package/dist/typechain-types/factories/precrime/example/inherit/index.js +0 -21
- package/dist/typechain-types/factories/precrime/example/view/CounterPrecrimeView__factory.js +0 -470
- package/dist/typechain-types/factories/precrime/example/view/CounterV__factory.js +0 -231
- package/dist/typechain-types/factories/precrime/example/view/CounterView__factory.js +0 -219
- package/dist/typechain-types/factories/precrime/example/view/index.js +0 -23
- package/dist/typechain-types/factories/precrime/index.js +0 -25
- package/dist/typechain-types/factories/precrime/interfaces/IPreCrimeBase__factory.js +0 -127
- package/dist/typechain-types/factories/precrime/interfaces/IPreCrimeView__factory.js +0 -173
- package/dist/typechain-types/factories/precrime/interfaces/IPreCrime__factory.js +0 -173
- package/dist/typechain-types/factories/precrime/interfaces/index.js +0 -23
- package/dist/typechain-types/factories/proof/FPValidator__factory.js +0 -380
- package/dist/typechain-types/factories/proof/MPTValidator01__factory.js +0 -393
- package/dist/typechain-types/factories/proof/MPTValidatorStgV3__factory.js +0 -364
- package/dist/typechain-types/factories/proof/MPTValidatorV2__factory.js +0 -266
- package/dist/typechain-types/factories/proof/MPTValidatorV4.sol/IUltraLightNode__factory.js +0 -119
- package/dist/typechain-types/factories/proof/MPTValidatorV4.sol/MPTValidatorV4__factory.js +0 -468
- package/dist/typechain-types/factories/proof/MPTValidatorV4.sol/index.js +0 -21
- package/dist/typechain-types/factories/proof/MPTValidatorV5.sol/IUltraLightNode__factory.js +0 -119
- package/dist/typechain-types/factories/proof/MPTValidatorV5.sol/MPTValidatorV5__factory.js +0 -486
- package/dist/typechain-types/factories/proof/MPTValidatorV5.sol/index.js +0 -21
- package/dist/typechain-types/factories/proof/MPTValidator__factory.js +0 -200
- package/dist/typechain-types/factories/proof/index.js +0 -29
- package/dist/typechain-types/factories/proxy/DefaultProxyAdmin__factory.js +0 -225
- package/dist/typechain-types/factories/proxy/TransparentUpgradeableProxy__factory.js +0 -196
- package/dist/typechain-types/factories/proxy/index.js +0 -21
- package/dist/typechain-types/index.js +0 -134
- package/dist/typechain-types/interfaces/IContractOne.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroEndpoint.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroMessagingLibrary.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroMessagingLibraryV2.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroOracle.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroOracleV2.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroPriceFeed.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroPriceFeedV2.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroReceiver.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroRelayer.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroRelayerV2.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroRelayerV2PriceData.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroTreasury.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroUltraLightNodeV1.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroUltraLightNodeV2.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroUserApplicationConfig.js +0 -2
- package/dist/typechain-types/interfaces/ILayerZeroValidationLibrary.js +0 -2
- package/dist/typechain-types/interfaces/IValidationLibraryHelper.js +0 -2
- package/dist/typechain-types/interfaces/IValidationLibraryHelperV2.js +0 -2
- package/dist/typechain-types/interfaces/index.js +0 -2
- package/dist/typechain-types/precrime/PreCrime.js +0 -2
- package/dist/typechain-types/precrime/PreCrimeBase.js +0 -2
- package/dist/typechain-types/precrime/PreCrimeView.js +0 -2
- package/dist/typechain-types/precrime/example/index.js +0 -2
- package/dist/typechain-types/precrime/example/inherit/CounterI.js +0 -2
- package/dist/typechain-types/precrime/example/inherit/CounterPrecrime.js +0 -2
- package/dist/typechain-types/precrime/example/inherit/index.js +0 -2
- package/dist/typechain-types/precrime/example/view/CounterPrecrimeView.js +0 -2
- package/dist/typechain-types/precrime/example/view/CounterV.js +0 -2
- package/dist/typechain-types/precrime/example/view/CounterView.js +0 -2
- package/dist/typechain-types/precrime/example/view/index.js +0 -2
- package/dist/typechain-types/precrime/index.js +0 -2
- package/dist/typechain-types/precrime/interfaces/IPreCrime.js +0 -2
- package/dist/typechain-types/precrime/interfaces/IPreCrimeBase.js +0 -2
- package/dist/typechain-types/precrime/interfaces/IPreCrimeView.js +0 -2
- package/dist/typechain-types/precrime/interfaces/index.js +0 -2
- package/dist/typechain-types/proof/FPValidator.js +0 -2
- package/dist/typechain-types/proof/MPTValidator.js +0 -2
- package/dist/typechain-types/proof/MPTValidator01.js +0 -2
- package/dist/typechain-types/proof/MPTValidatorStgV3.js +0 -2
- package/dist/typechain-types/proof/MPTValidatorV2.js +0 -2
- package/dist/typechain-types/proof/MPTValidatorV4.sol/IUltraLightNode.js +0 -2
- package/dist/typechain-types/proof/MPTValidatorV4.sol/MPTValidatorV4.js +0 -2
- package/dist/typechain-types/proof/MPTValidatorV4.sol/index.js +0 -2
- package/dist/typechain-types/proof/MPTValidatorV5.sol/IUltraLightNode.js +0 -2
- package/dist/typechain-types/proof/MPTValidatorV5.sol/MPTValidatorV5.js +0 -2
- package/dist/typechain-types/proof/MPTValidatorV5.sol/index.js +0 -2
- package/dist/typechain-types/proof/index.js +0 -2
- package/dist/typechain-types/proxy/DefaultProxyAdmin.js +0 -2
- package/dist/typechain-types/proxy/TransparentUpgradeableProxy.js +0 -2
- package/dist/typechain-types/proxy/index.js +0 -2
|
@@ -1,1012 +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.Endpoint__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: "uint16",
|
|
28
|
-
name: "_chainId",
|
|
29
|
-
type: "uint16"
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
stateMutability: "nonpayable",
|
|
33
|
-
type: "constructor"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
anonymous: false,
|
|
37
|
-
inputs: [
|
|
38
|
-
{
|
|
39
|
-
indexed: false,
|
|
40
|
-
internalType: "uint16",
|
|
41
|
-
name: "version",
|
|
42
|
-
type: "uint16"
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
name: "DefaultReceiveVersionSet",
|
|
46
|
-
type: "event"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
anonymous: false,
|
|
50
|
-
inputs: [
|
|
51
|
-
{
|
|
52
|
-
indexed: false,
|
|
53
|
-
internalType: "uint16",
|
|
54
|
-
name: "version",
|
|
55
|
-
type: "uint16"
|
|
56
|
-
},
|
|
57
|
-
],
|
|
58
|
-
name: "DefaultSendVersionSet",
|
|
59
|
-
type: "event"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
anonymous: false,
|
|
63
|
-
inputs: [
|
|
64
|
-
{
|
|
65
|
-
indexed: false,
|
|
66
|
-
internalType: "uint16",
|
|
67
|
-
name: "version",
|
|
68
|
-
type: "uint16"
|
|
69
|
-
},
|
|
70
|
-
],
|
|
71
|
-
name: "NewLibraryVersionAdded",
|
|
72
|
-
type: "event"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
anonymous: false,
|
|
76
|
-
inputs: [
|
|
77
|
-
{
|
|
78
|
-
indexed: true,
|
|
79
|
-
internalType: "address",
|
|
80
|
-
name: "previousOwner",
|
|
81
|
-
type: "address"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
indexed: true,
|
|
85
|
-
internalType: "address",
|
|
86
|
-
name: "newOwner",
|
|
87
|
-
type: "address"
|
|
88
|
-
},
|
|
89
|
-
],
|
|
90
|
-
name: "OwnershipTransferred",
|
|
91
|
-
type: "event"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
anonymous: false,
|
|
95
|
-
inputs: [
|
|
96
|
-
{
|
|
97
|
-
indexed: false,
|
|
98
|
-
internalType: "uint16",
|
|
99
|
-
name: "srcChainId",
|
|
100
|
-
type: "uint16"
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
indexed: false,
|
|
104
|
-
internalType: "bytes",
|
|
105
|
-
name: "srcAddress",
|
|
106
|
-
type: "bytes"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
indexed: false,
|
|
110
|
-
internalType: "uint64",
|
|
111
|
-
name: "nonce",
|
|
112
|
-
type: "uint64"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
indexed: false,
|
|
116
|
-
internalType: "address",
|
|
117
|
-
name: "dstAddress",
|
|
118
|
-
type: "address"
|
|
119
|
-
},
|
|
120
|
-
],
|
|
121
|
-
name: "PayloadCleared",
|
|
122
|
-
type: "event"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
anonymous: false,
|
|
126
|
-
inputs: [
|
|
127
|
-
{
|
|
128
|
-
indexed: false,
|
|
129
|
-
internalType: "uint16",
|
|
130
|
-
name: "srcChainId",
|
|
131
|
-
type: "uint16"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
indexed: false,
|
|
135
|
-
internalType: "bytes",
|
|
136
|
-
name: "srcAddress",
|
|
137
|
-
type: "bytes"
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
indexed: false,
|
|
141
|
-
internalType: "address",
|
|
142
|
-
name: "dstAddress",
|
|
143
|
-
type: "address"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
indexed: false,
|
|
147
|
-
internalType: "uint64",
|
|
148
|
-
name: "nonce",
|
|
149
|
-
type: "uint64"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
indexed: false,
|
|
153
|
-
internalType: "bytes",
|
|
154
|
-
name: "payload",
|
|
155
|
-
type: "bytes"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
indexed: false,
|
|
159
|
-
internalType: "bytes",
|
|
160
|
-
name: "reason",
|
|
161
|
-
type: "bytes"
|
|
162
|
-
},
|
|
163
|
-
],
|
|
164
|
-
name: "PayloadStored",
|
|
165
|
-
type: "event"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
anonymous: false,
|
|
169
|
-
inputs: [
|
|
170
|
-
{
|
|
171
|
-
indexed: false,
|
|
172
|
-
internalType: "uint16",
|
|
173
|
-
name: "chainId",
|
|
174
|
-
type: "uint16"
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
indexed: false,
|
|
178
|
-
internalType: "bytes",
|
|
179
|
-
name: "srcAddress",
|
|
180
|
-
type: "bytes"
|
|
181
|
-
},
|
|
182
|
-
],
|
|
183
|
-
name: "UaForceResumeReceive",
|
|
184
|
-
type: "event"
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
anonymous: false,
|
|
188
|
-
inputs: [
|
|
189
|
-
{
|
|
190
|
-
indexed: false,
|
|
191
|
-
internalType: "address",
|
|
192
|
-
name: "ua",
|
|
193
|
-
type: "address"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
indexed: false,
|
|
197
|
-
internalType: "uint16",
|
|
198
|
-
name: "version",
|
|
199
|
-
type: "uint16"
|
|
200
|
-
},
|
|
201
|
-
],
|
|
202
|
-
name: "UaReceiveVersionSet",
|
|
203
|
-
type: "event"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
anonymous: false,
|
|
207
|
-
inputs: [
|
|
208
|
-
{
|
|
209
|
-
indexed: false,
|
|
210
|
-
internalType: "address",
|
|
211
|
-
name: "ua",
|
|
212
|
-
type: "address"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
indexed: false,
|
|
216
|
-
internalType: "uint16",
|
|
217
|
-
name: "version",
|
|
218
|
-
type: "uint16"
|
|
219
|
-
},
|
|
220
|
-
],
|
|
221
|
-
name: "UaSendVersionSet",
|
|
222
|
-
type: "event"
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
inputs: [],
|
|
226
|
-
name: "BLOCK_VERSION",
|
|
227
|
-
outputs: [
|
|
228
|
-
{
|
|
229
|
-
internalType: "uint16",
|
|
230
|
-
name: "",
|
|
231
|
-
type: "uint16"
|
|
232
|
-
},
|
|
233
|
-
],
|
|
234
|
-
stateMutability: "view",
|
|
235
|
-
type: "function"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
inputs: [],
|
|
239
|
-
name: "DEFAULT_VERSION",
|
|
240
|
-
outputs: [
|
|
241
|
-
{
|
|
242
|
-
internalType: "uint16",
|
|
243
|
-
name: "",
|
|
244
|
-
type: "uint16"
|
|
245
|
-
},
|
|
246
|
-
],
|
|
247
|
-
stateMutability: "view",
|
|
248
|
-
type: "function"
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
inputs: [],
|
|
252
|
-
name: "chainId",
|
|
253
|
-
outputs: [
|
|
254
|
-
{
|
|
255
|
-
internalType: "uint16",
|
|
256
|
-
name: "",
|
|
257
|
-
type: "uint16"
|
|
258
|
-
},
|
|
259
|
-
],
|
|
260
|
-
stateMutability: "view",
|
|
261
|
-
type: "function"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
inputs: [],
|
|
265
|
-
name: "defaultReceiveLibraryAddress",
|
|
266
|
-
outputs: [
|
|
267
|
-
{
|
|
268
|
-
internalType: "address",
|
|
269
|
-
name: "",
|
|
270
|
-
type: "address"
|
|
271
|
-
},
|
|
272
|
-
],
|
|
273
|
-
stateMutability: "view",
|
|
274
|
-
type: "function"
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
inputs: [],
|
|
278
|
-
name: "defaultReceiveVersion",
|
|
279
|
-
outputs: [
|
|
280
|
-
{
|
|
281
|
-
internalType: "uint16",
|
|
282
|
-
name: "",
|
|
283
|
-
type: "uint16"
|
|
284
|
-
},
|
|
285
|
-
],
|
|
286
|
-
stateMutability: "view",
|
|
287
|
-
type: "function"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
inputs: [],
|
|
291
|
-
name: "defaultSendLibrary",
|
|
292
|
-
outputs: [
|
|
293
|
-
{
|
|
294
|
-
internalType: "contract ILayerZeroMessagingLibrary",
|
|
295
|
-
name: "",
|
|
296
|
-
type: "address"
|
|
297
|
-
},
|
|
298
|
-
],
|
|
299
|
-
stateMutability: "view",
|
|
300
|
-
type: "function"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
inputs: [],
|
|
304
|
-
name: "defaultSendVersion",
|
|
305
|
-
outputs: [
|
|
306
|
-
{
|
|
307
|
-
internalType: "uint16",
|
|
308
|
-
name: "",
|
|
309
|
-
type: "uint16"
|
|
310
|
-
},
|
|
311
|
-
],
|
|
312
|
-
stateMutability: "view",
|
|
313
|
-
type: "function"
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
inputs: [
|
|
317
|
-
{
|
|
318
|
-
internalType: "uint16",
|
|
319
|
-
name: "_dstChainId",
|
|
320
|
-
type: "uint16"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
internalType: "address",
|
|
324
|
-
name: "_userApplication",
|
|
325
|
-
type: "address"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
internalType: "bytes",
|
|
329
|
-
name: "_payload",
|
|
330
|
-
type: "bytes"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
internalType: "bool",
|
|
334
|
-
name: "_payInZRO",
|
|
335
|
-
type: "bool"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
internalType: "bytes",
|
|
339
|
-
name: "_adapterParams",
|
|
340
|
-
type: "bytes"
|
|
341
|
-
},
|
|
342
|
-
],
|
|
343
|
-
name: "estimateFees",
|
|
344
|
-
outputs: [
|
|
345
|
-
{
|
|
346
|
-
internalType: "uint256",
|
|
347
|
-
name: "nativeFee",
|
|
348
|
-
type: "uint256"
|
|
349
|
-
},
|
|
350
|
-
{
|
|
351
|
-
internalType: "uint256",
|
|
352
|
-
name: "zroFee",
|
|
353
|
-
type: "uint256"
|
|
354
|
-
},
|
|
355
|
-
],
|
|
356
|
-
stateMutability: "view",
|
|
357
|
-
type: "function"
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
inputs: [
|
|
361
|
-
{
|
|
362
|
-
internalType: "uint16",
|
|
363
|
-
name: "_srcChainId",
|
|
364
|
-
type: "uint16"
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
internalType: "bytes",
|
|
368
|
-
name: "_srcAddress",
|
|
369
|
-
type: "bytes"
|
|
370
|
-
},
|
|
371
|
-
],
|
|
372
|
-
name: "forceResumeReceive",
|
|
373
|
-
outputs: [],
|
|
374
|
-
stateMutability: "nonpayable",
|
|
375
|
-
type: "function"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
inputs: [],
|
|
379
|
-
name: "getChainId",
|
|
380
|
-
outputs: [
|
|
381
|
-
{
|
|
382
|
-
internalType: "uint16",
|
|
383
|
-
name: "",
|
|
384
|
-
type: "uint16"
|
|
385
|
-
},
|
|
386
|
-
],
|
|
387
|
-
stateMutability: "view",
|
|
388
|
-
type: "function"
|
|
389
|
-
},
|
|
390
|
-
{
|
|
391
|
-
inputs: [
|
|
392
|
-
{
|
|
393
|
-
internalType: "uint16",
|
|
394
|
-
name: "_version",
|
|
395
|
-
type: "uint16"
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
internalType: "uint16",
|
|
399
|
-
name: "_chainId",
|
|
400
|
-
type: "uint16"
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
internalType: "address",
|
|
404
|
-
name: "_userApplication",
|
|
405
|
-
type: "address"
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
internalType: "uint256",
|
|
409
|
-
name: "_configType",
|
|
410
|
-
type: "uint256"
|
|
411
|
-
},
|
|
412
|
-
],
|
|
413
|
-
name: "getConfig",
|
|
414
|
-
outputs: [
|
|
415
|
-
{
|
|
416
|
-
internalType: "bytes",
|
|
417
|
-
name: "",
|
|
418
|
-
type: "bytes"
|
|
419
|
-
},
|
|
420
|
-
],
|
|
421
|
-
stateMutability: "view",
|
|
422
|
-
type: "function"
|
|
423
|
-
},
|
|
424
|
-
{
|
|
425
|
-
inputs: [
|
|
426
|
-
{
|
|
427
|
-
internalType: "uint16",
|
|
428
|
-
name: "_srcChainId",
|
|
429
|
-
type: "uint16"
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
internalType: "bytes",
|
|
433
|
-
name: "_srcAddress",
|
|
434
|
-
type: "bytes"
|
|
435
|
-
},
|
|
436
|
-
],
|
|
437
|
-
name: "getInboundNonce",
|
|
438
|
-
outputs: [
|
|
439
|
-
{
|
|
440
|
-
internalType: "uint64",
|
|
441
|
-
name: "",
|
|
442
|
-
type: "uint64"
|
|
443
|
-
},
|
|
444
|
-
],
|
|
445
|
-
stateMutability: "view",
|
|
446
|
-
type: "function"
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
inputs: [
|
|
450
|
-
{
|
|
451
|
-
internalType: "uint16",
|
|
452
|
-
name: "_dstChainId",
|
|
453
|
-
type: "uint16"
|
|
454
|
-
},
|
|
455
|
-
{
|
|
456
|
-
internalType: "address",
|
|
457
|
-
name: "_srcAddress",
|
|
458
|
-
type: "address"
|
|
459
|
-
},
|
|
460
|
-
],
|
|
461
|
-
name: "getOutboundNonce",
|
|
462
|
-
outputs: [
|
|
463
|
-
{
|
|
464
|
-
internalType: "uint64",
|
|
465
|
-
name: "",
|
|
466
|
-
type: "uint64"
|
|
467
|
-
},
|
|
468
|
-
],
|
|
469
|
-
stateMutability: "view",
|
|
470
|
-
type: "function"
|
|
471
|
-
},
|
|
472
|
-
{
|
|
473
|
-
inputs: [
|
|
474
|
-
{
|
|
475
|
-
internalType: "address",
|
|
476
|
-
name: "_userApplication",
|
|
477
|
-
type: "address"
|
|
478
|
-
},
|
|
479
|
-
],
|
|
480
|
-
name: "getReceiveLibraryAddress",
|
|
481
|
-
outputs: [
|
|
482
|
-
{
|
|
483
|
-
internalType: "address",
|
|
484
|
-
name: "receiveLibraryAddress",
|
|
485
|
-
type: "address"
|
|
486
|
-
},
|
|
487
|
-
],
|
|
488
|
-
stateMutability: "view",
|
|
489
|
-
type: "function"
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
inputs: [
|
|
493
|
-
{
|
|
494
|
-
internalType: "address",
|
|
495
|
-
name: "_userApplication",
|
|
496
|
-
type: "address"
|
|
497
|
-
},
|
|
498
|
-
],
|
|
499
|
-
name: "getReceiveVersion",
|
|
500
|
-
outputs: [
|
|
501
|
-
{
|
|
502
|
-
internalType: "uint16",
|
|
503
|
-
name: "",
|
|
504
|
-
type: "uint16"
|
|
505
|
-
},
|
|
506
|
-
],
|
|
507
|
-
stateMutability: "view",
|
|
508
|
-
type: "function"
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
inputs: [
|
|
512
|
-
{
|
|
513
|
-
internalType: "address",
|
|
514
|
-
name: "_userApplication",
|
|
515
|
-
type: "address"
|
|
516
|
-
},
|
|
517
|
-
],
|
|
518
|
-
name: "getSendLibraryAddress",
|
|
519
|
-
outputs: [
|
|
520
|
-
{
|
|
521
|
-
internalType: "address",
|
|
522
|
-
name: "sendLibraryAddress",
|
|
523
|
-
type: "address"
|
|
524
|
-
},
|
|
525
|
-
],
|
|
526
|
-
stateMutability: "view",
|
|
527
|
-
type: "function"
|
|
528
|
-
},
|
|
529
|
-
{
|
|
530
|
-
inputs: [
|
|
531
|
-
{
|
|
532
|
-
internalType: "address",
|
|
533
|
-
name: "_userApplication",
|
|
534
|
-
type: "address"
|
|
535
|
-
},
|
|
536
|
-
],
|
|
537
|
-
name: "getSendVersion",
|
|
538
|
-
outputs: [
|
|
539
|
-
{
|
|
540
|
-
internalType: "uint16",
|
|
541
|
-
name: "",
|
|
542
|
-
type: "uint16"
|
|
543
|
-
},
|
|
544
|
-
],
|
|
545
|
-
stateMutability: "view",
|
|
546
|
-
type: "function"
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
inputs: [
|
|
550
|
-
{
|
|
551
|
-
internalType: "uint16",
|
|
552
|
-
name: "_srcChainId",
|
|
553
|
-
type: "uint16"
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
internalType: "bytes",
|
|
557
|
-
name: "_srcAddress",
|
|
558
|
-
type: "bytes"
|
|
559
|
-
},
|
|
560
|
-
],
|
|
561
|
-
name: "hasStoredPayload",
|
|
562
|
-
outputs: [
|
|
563
|
-
{
|
|
564
|
-
internalType: "bool",
|
|
565
|
-
name: "",
|
|
566
|
-
type: "bool"
|
|
567
|
-
},
|
|
568
|
-
],
|
|
569
|
-
stateMutability: "view",
|
|
570
|
-
type: "function"
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
inputs: [
|
|
574
|
-
{
|
|
575
|
-
internalType: "uint16",
|
|
576
|
-
name: "",
|
|
577
|
-
type: "uint16"
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
internalType: "bytes",
|
|
581
|
-
name: "",
|
|
582
|
-
type: "bytes"
|
|
583
|
-
},
|
|
584
|
-
],
|
|
585
|
-
name: "inboundNonce",
|
|
586
|
-
outputs: [
|
|
587
|
-
{
|
|
588
|
-
internalType: "uint64",
|
|
589
|
-
name: "",
|
|
590
|
-
type: "uint64"
|
|
591
|
-
},
|
|
592
|
-
],
|
|
593
|
-
stateMutability: "view",
|
|
594
|
-
type: "function"
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
inputs: [],
|
|
598
|
-
name: "isReceivingPayload",
|
|
599
|
-
outputs: [
|
|
600
|
-
{
|
|
601
|
-
internalType: "bool",
|
|
602
|
-
name: "",
|
|
603
|
-
type: "bool"
|
|
604
|
-
},
|
|
605
|
-
],
|
|
606
|
-
stateMutability: "view",
|
|
607
|
-
type: "function"
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
inputs: [],
|
|
611
|
-
name: "isSendingPayload",
|
|
612
|
-
outputs: [
|
|
613
|
-
{
|
|
614
|
-
internalType: "bool",
|
|
615
|
-
name: "",
|
|
616
|
-
type: "bool"
|
|
617
|
-
},
|
|
618
|
-
],
|
|
619
|
-
stateMutability: "view",
|
|
620
|
-
type: "function"
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
inputs: [],
|
|
624
|
-
name: "latestVersion",
|
|
625
|
-
outputs: [
|
|
626
|
-
{
|
|
627
|
-
internalType: "uint16",
|
|
628
|
-
name: "",
|
|
629
|
-
type: "uint16"
|
|
630
|
-
},
|
|
631
|
-
],
|
|
632
|
-
stateMutability: "view",
|
|
633
|
-
type: "function"
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
inputs: [
|
|
637
|
-
{
|
|
638
|
-
internalType: "uint16",
|
|
639
|
-
name: "",
|
|
640
|
-
type: "uint16"
|
|
641
|
-
},
|
|
642
|
-
],
|
|
643
|
-
name: "libraryLookup",
|
|
644
|
-
outputs: [
|
|
645
|
-
{
|
|
646
|
-
internalType: "contract ILayerZeroMessagingLibrary",
|
|
647
|
-
name: "",
|
|
648
|
-
type: "address"
|
|
649
|
-
},
|
|
650
|
-
],
|
|
651
|
-
stateMutability: "view",
|
|
652
|
-
type: "function"
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
inputs: [
|
|
656
|
-
{
|
|
657
|
-
internalType: "address",
|
|
658
|
-
name: "_newLayerZeroLibraryAddress",
|
|
659
|
-
type: "address"
|
|
660
|
-
},
|
|
661
|
-
],
|
|
662
|
-
name: "newVersion",
|
|
663
|
-
outputs: [],
|
|
664
|
-
stateMutability: "nonpayable",
|
|
665
|
-
type: "function"
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
inputs: [
|
|
669
|
-
{
|
|
670
|
-
internalType: "uint16",
|
|
671
|
-
name: "",
|
|
672
|
-
type: "uint16"
|
|
673
|
-
},
|
|
674
|
-
{
|
|
675
|
-
internalType: "address",
|
|
676
|
-
name: "",
|
|
677
|
-
type: "address"
|
|
678
|
-
},
|
|
679
|
-
],
|
|
680
|
-
name: "outboundNonce",
|
|
681
|
-
outputs: [
|
|
682
|
-
{
|
|
683
|
-
internalType: "uint64",
|
|
684
|
-
name: "",
|
|
685
|
-
type: "uint64"
|
|
686
|
-
},
|
|
687
|
-
],
|
|
688
|
-
stateMutability: "view",
|
|
689
|
-
type: "function"
|
|
690
|
-
},
|
|
691
|
-
{
|
|
692
|
-
inputs: [],
|
|
693
|
-
name: "owner",
|
|
694
|
-
outputs: [
|
|
695
|
-
{
|
|
696
|
-
internalType: "address",
|
|
697
|
-
name: "",
|
|
698
|
-
type: "address"
|
|
699
|
-
},
|
|
700
|
-
],
|
|
701
|
-
stateMutability: "view",
|
|
702
|
-
type: "function"
|
|
703
|
-
},
|
|
704
|
-
{
|
|
705
|
-
inputs: [
|
|
706
|
-
{
|
|
707
|
-
internalType: "uint16",
|
|
708
|
-
name: "_srcChainId",
|
|
709
|
-
type: "uint16"
|
|
710
|
-
},
|
|
711
|
-
{
|
|
712
|
-
internalType: "bytes",
|
|
713
|
-
name: "_srcAddress",
|
|
714
|
-
type: "bytes"
|
|
715
|
-
},
|
|
716
|
-
{
|
|
717
|
-
internalType: "address",
|
|
718
|
-
name: "_dstAddress",
|
|
719
|
-
type: "address"
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
internalType: "uint64",
|
|
723
|
-
name: "_nonce",
|
|
724
|
-
type: "uint64"
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
internalType: "uint256",
|
|
728
|
-
name: "_gasLimit",
|
|
729
|
-
type: "uint256"
|
|
730
|
-
},
|
|
731
|
-
{
|
|
732
|
-
internalType: "bytes",
|
|
733
|
-
name: "_payload",
|
|
734
|
-
type: "bytes"
|
|
735
|
-
},
|
|
736
|
-
],
|
|
737
|
-
name: "receivePayload",
|
|
738
|
-
outputs: [],
|
|
739
|
-
stateMutability: "nonpayable",
|
|
740
|
-
type: "function"
|
|
741
|
-
},
|
|
742
|
-
{
|
|
743
|
-
inputs: [],
|
|
744
|
-
name: "renounceOwnership",
|
|
745
|
-
outputs: [],
|
|
746
|
-
stateMutability: "nonpayable",
|
|
747
|
-
type: "function"
|
|
748
|
-
},
|
|
749
|
-
{
|
|
750
|
-
inputs: [
|
|
751
|
-
{
|
|
752
|
-
internalType: "uint16",
|
|
753
|
-
name: "_srcChainId",
|
|
754
|
-
type: "uint16"
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
internalType: "bytes",
|
|
758
|
-
name: "_srcAddress",
|
|
759
|
-
type: "bytes"
|
|
760
|
-
},
|
|
761
|
-
{
|
|
762
|
-
internalType: "bytes",
|
|
763
|
-
name: "_payload",
|
|
764
|
-
type: "bytes"
|
|
765
|
-
},
|
|
766
|
-
],
|
|
767
|
-
name: "retryPayload",
|
|
768
|
-
outputs: [],
|
|
769
|
-
stateMutability: "nonpayable",
|
|
770
|
-
type: "function"
|
|
771
|
-
},
|
|
772
|
-
{
|
|
773
|
-
inputs: [
|
|
774
|
-
{
|
|
775
|
-
internalType: "uint16",
|
|
776
|
-
name: "_dstChainId",
|
|
777
|
-
type: "uint16"
|
|
778
|
-
},
|
|
779
|
-
{
|
|
780
|
-
internalType: "bytes",
|
|
781
|
-
name: "_destination",
|
|
782
|
-
type: "bytes"
|
|
783
|
-
},
|
|
784
|
-
{
|
|
785
|
-
internalType: "bytes",
|
|
786
|
-
name: "_payload",
|
|
787
|
-
type: "bytes"
|
|
788
|
-
},
|
|
789
|
-
{
|
|
790
|
-
internalType: "address payable",
|
|
791
|
-
name: "_refundAddress",
|
|
792
|
-
type: "address"
|
|
793
|
-
},
|
|
794
|
-
{
|
|
795
|
-
internalType: "address",
|
|
796
|
-
name: "_zroPaymentAddress",
|
|
797
|
-
type: "address"
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
internalType: "bytes",
|
|
801
|
-
name: "_adapterParams",
|
|
802
|
-
type: "bytes"
|
|
803
|
-
},
|
|
804
|
-
],
|
|
805
|
-
name: "send",
|
|
806
|
-
outputs: [],
|
|
807
|
-
stateMutability: "payable",
|
|
808
|
-
type: "function"
|
|
809
|
-
},
|
|
810
|
-
{
|
|
811
|
-
inputs: [
|
|
812
|
-
{
|
|
813
|
-
internalType: "uint16",
|
|
814
|
-
name: "_version",
|
|
815
|
-
type: "uint16"
|
|
816
|
-
},
|
|
817
|
-
{
|
|
818
|
-
internalType: "uint16",
|
|
819
|
-
name: "_chainId",
|
|
820
|
-
type: "uint16"
|
|
821
|
-
},
|
|
822
|
-
{
|
|
823
|
-
internalType: "uint256",
|
|
824
|
-
name: "_configType",
|
|
825
|
-
type: "uint256"
|
|
826
|
-
},
|
|
827
|
-
{
|
|
828
|
-
internalType: "bytes",
|
|
829
|
-
name: "_config",
|
|
830
|
-
type: "bytes"
|
|
831
|
-
},
|
|
832
|
-
],
|
|
833
|
-
name: "setConfig",
|
|
834
|
-
outputs: [],
|
|
835
|
-
stateMutability: "nonpayable",
|
|
836
|
-
type: "function"
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
inputs: [
|
|
840
|
-
{
|
|
841
|
-
internalType: "uint16",
|
|
842
|
-
name: "_newDefaultReceiveVersion",
|
|
843
|
-
type: "uint16"
|
|
844
|
-
},
|
|
845
|
-
],
|
|
846
|
-
name: "setDefaultReceiveVersion",
|
|
847
|
-
outputs: [],
|
|
848
|
-
stateMutability: "nonpayable",
|
|
849
|
-
type: "function"
|
|
850
|
-
},
|
|
851
|
-
{
|
|
852
|
-
inputs: [
|
|
853
|
-
{
|
|
854
|
-
internalType: "uint16",
|
|
855
|
-
name: "_newDefaultSendVersion",
|
|
856
|
-
type: "uint16"
|
|
857
|
-
},
|
|
858
|
-
],
|
|
859
|
-
name: "setDefaultSendVersion",
|
|
860
|
-
outputs: [],
|
|
861
|
-
stateMutability: "nonpayable",
|
|
862
|
-
type: "function"
|
|
863
|
-
},
|
|
864
|
-
{
|
|
865
|
-
inputs: [
|
|
866
|
-
{
|
|
867
|
-
internalType: "uint16",
|
|
868
|
-
name: "_newVersion",
|
|
869
|
-
type: "uint16"
|
|
870
|
-
},
|
|
871
|
-
],
|
|
872
|
-
name: "setReceiveVersion",
|
|
873
|
-
outputs: [],
|
|
874
|
-
stateMutability: "nonpayable",
|
|
875
|
-
type: "function"
|
|
876
|
-
},
|
|
877
|
-
{
|
|
878
|
-
inputs: [
|
|
879
|
-
{
|
|
880
|
-
internalType: "uint16",
|
|
881
|
-
name: "_newVersion",
|
|
882
|
-
type: "uint16"
|
|
883
|
-
},
|
|
884
|
-
],
|
|
885
|
-
name: "setSendVersion",
|
|
886
|
-
outputs: [],
|
|
887
|
-
stateMutability: "nonpayable",
|
|
888
|
-
type: "function"
|
|
889
|
-
},
|
|
890
|
-
{
|
|
891
|
-
inputs: [
|
|
892
|
-
{
|
|
893
|
-
internalType: "uint16",
|
|
894
|
-
name: "",
|
|
895
|
-
type: "uint16"
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
internalType: "bytes",
|
|
899
|
-
name: "",
|
|
900
|
-
type: "bytes"
|
|
901
|
-
},
|
|
902
|
-
],
|
|
903
|
-
name: "storedPayload",
|
|
904
|
-
outputs: [
|
|
905
|
-
{
|
|
906
|
-
internalType: "uint64",
|
|
907
|
-
name: "payloadLength",
|
|
908
|
-
type: "uint64"
|
|
909
|
-
},
|
|
910
|
-
{
|
|
911
|
-
internalType: "address",
|
|
912
|
-
name: "dstAddress",
|
|
913
|
-
type: "address"
|
|
914
|
-
},
|
|
915
|
-
{
|
|
916
|
-
internalType: "bytes32",
|
|
917
|
-
name: "payloadHash",
|
|
918
|
-
type: "bytes32"
|
|
919
|
-
},
|
|
920
|
-
],
|
|
921
|
-
stateMutability: "view",
|
|
922
|
-
type: "function"
|
|
923
|
-
},
|
|
924
|
-
{
|
|
925
|
-
inputs: [
|
|
926
|
-
{
|
|
927
|
-
internalType: "address",
|
|
928
|
-
name: "newOwner",
|
|
929
|
-
type: "address"
|
|
930
|
-
},
|
|
931
|
-
],
|
|
932
|
-
name: "transferOwnership",
|
|
933
|
-
outputs: [],
|
|
934
|
-
stateMutability: "nonpayable",
|
|
935
|
-
type: "function"
|
|
936
|
-
},
|
|
937
|
-
{
|
|
938
|
-
inputs: [
|
|
939
|
-
{
|
|
940
|
-
internalType: "address",
|
|
941
|
-
name: "",
|
|
942
|
-
type: "address"
|
|
943
|
-
},
|
|
944
|
-
],
|
|
945
|
-
name: "uaConfigLookup",
|
|
946
|
-
outputs: [
|
|
947
|
-
{
|
|
948
|
-
internalType: "uint16",
|
|
949
|
-
name: "sendVersion",
|
|
950
|
-
type: "uint16"
|
|
951
|
-
},
|
|
952
|
-
{
|
|
953
|
-
internalType: "uint16",
|
|
954
|
-
name: "receiveVersion",
|
|
955
|
-
type: "uint16"
|
|
956
|
-
},
|
|
957
|
-
{
|
|
958
|
-
internalType: "address",
|
|
959
|
-
name: "receiveLibraryAddress",
|
|
960
|
-
type: "address"
|
|
961
|
-
},
|
|
962
|
-
{
|
|
963
|
-
internalType: "contract ILayerZeroMessagingLibrary",
|
|
964
|
-
name: "sendLibrary",
|
|
965
|
-
type: "address"
|
|
966
|
-
},
|
|
967
|
-
],
|
|
968
|
-
stateMutability: "view",
|
|
969
|
-
type: "function"
|
|
970
|
-
},
|
|
971
|
-
];
|
|
972
|
-
var _bytecode = "0x60a06040526008805461ff001960ff19909116600117166101001790553480156200002957600080fd5b506040516200378e3803806200378e833981810160405260208110156200004f57600080fd5b505160006200005d620000bd565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060f01b6001600160f01b031916608052620000c1565b3390565b60805160f01c6136aa620000e4600039806116855280611c5952506136aa6000f3fe6080604052600436106102855760003560e01c80639c729da111610153578063ca066b35116100cb578063f2fde38b1161007f578063f5ecbdbc11610064578063f5ecbdbc14610e54578063faee093f14610f16578063fdc07c7014610f2b57610285565b8063f2fde38b14610db8578063f4abee4b14610deb57610285565b8063da1a7c9a116100b0578063da1a7c9a14610d5b578063e97a448a14610d8e578063ebfea6e014610da357610285565b8063ca066b3514610cae578063cbed8b9c14610cc357610285565b8063bd42a71311610122578063c2fa481311610107578063c2fa481314610a49578063c580310014610b48578063c7e3711714610c8057610285565b8063bd42a71314610a06578063c07f47d414610a3457610285565b80639c729da1146108a7578063a91606df146108da578063aaff5f16146108ef578063b2086499146109c957610285565b806342d65a8d1161020157806376a386dc116101b55780638da5cb5b1161019a5780638da5cb5b146107bf5780639924d33b146107d45780639a8a05921461089257610285565b806376a386dc146106765780637a1457481461076557610285565b80635d9ef01a116101e65780635d9ef01a14610619578063715018a61461062e57806371ba2fd61461064357610285565b806342d65a8d146105605780634afb422b146105e857610285565b806310ddb1371161025857806324ba3f2c1161023d57806324ba3f2c1461042f5780633408e4701461044457806340a7bb101461045957610285565b806310ddb137146103ce578063158c81ad146103fc57610285565b806307e0db171461028a578063096568f6146102ba5780630b837bb5146103045780630eaf6ea614610332575b600080fd5b34801561029657600080fd5b506102b8600480360360208110156102ad57600080fd5b503561ffff16610fb3565b005b3480156102c657600080fd5b506102ed600480360360208110156102dd57600080fd5b50356001600160a01b03166110ea565b6040805161ffff9092168252519081900360200190f35b34801561031057600080fd5b506102b86004803603602081101561032757600080fd5b503561ffff16611129565b34801561033e57600080fd5b506103ba6004803603604081101561035557600080fd5b61ffff823516919081019060408101602082013564010000000081111561037b57600080fd5b82018360208201111561038d57600080fd5b803590602001918460018302840111640100000000831117156103af57600080fd5b509092509050611309565b604080519115158252519081900360200190f35b3480156103da57600080fd5b506102b8600480360360208110156103f157600080fd5b503561ffff16611355565b34801561040857600080fd5b506102b86004803603602081101561041f57600080fd5b50356001600160a01b0316611495565b34801561043b57600080fd5b506102ed61167e565b34801561045057600080fd5b506102ed611683565b34801561046557600080fd5b50610547600480360360a081101561047c57600080fd5b61ffff823516916001600160a01b03602082013516918101906060810160408201356401000000008111156104b057600080fd5b8201836020820111156104c257600080fd5b803590602001918460018302840111640100000000831117156104e457600080fd5b91939092823515159260408101906020013564010000000081111561050857600080fd5b82018360208201111561051a57600080fd5b8035906020019184600183028401116401000000008311171561053c57600080fd5b5090925090506116a7565b6040805192835260208301919091528051918290030190f35b34801561056c57600080fd5b506102b86004803603604081101561058357600080fd5b61ffff82351691908101906040810160208201356401000000008111156105a957600080fd5b8201836020820111156105bb57600080fd5b803590602001918460018302840111640100000000831117156105dd57600080fd5b509092509050611800565b3480156105f457600080fd5b506105fd6119a0565b604080516001600160a01b039092168252519081900360200190f35b34801561062557600080fd5b506102ed6119b7565b34801561063a57600080fd5b506102b86119c1565b34801561064f57600080fd5b506105fd6004803603602081101561066657600080fd5b50356001600160a01b0316611a97565b34801561068257600080fd5b506107346004803603604081101561069957600080fd5b61ffff82351691908101906040810160208201356401000000008111156106bf57600080fd5b8201836020820111156106d157600080fd5b803590602001918460018302840111640100000000831117156106f357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611b81945050505050565b6040805167ffffffffffffffff90941684526001600160a01b03909216602084015282820152519081900360600190f35b34801561077157600080fd5b506107a26004803603604081101561078857600080fd5b50803561ffff1690602001356001600160a01b0316611bd8565b6040805167ffffffffffffffff9092168252519081900360200190f35b3480156107cb57600080fd5b506105fd611c10565b3480156107e057600080fd5b506107a2600480360360408110156107f757600080fd5b61ffff823516919081019060408101602082013564010000000081111561081d57600080fd5b82018360208201111561082f57600080fd5b8035906020019184600183028401116401000000008311171561085157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611c1f945050505050565b34801561089e57600080fd5b506102ed611c57565b3480156108b357600080fd5b506105fd600480360360208110156108ca57600080fd5b50356001600160a01b0316611c7b565b3480156108e657600080fd5b506102ed611d58565b3480156108fb57600080fd5b506102b86004803603606081101561091257600080fd5b61ffff823516919081019060408101602082013564010000000081111561093857600080fd5b82018360208201111561094a57600080fd5b8035906020019184600183028401116401000000008311171561096c57600080fd5b91939092909160208101903564010000000081111561098a57600080fd5b82018360208201111561099c57600080fd5b803590602001918460018302840111640100000000831117156109be57600080fd5b509092509050611d5e565b3480156109d557600080fd5b506107a2600480360360408110156109ec57600080fd5b50803561ffff1690602001356001600160a01b0316612143565b348015610a1257600080fd5b506102b860048036036020811015610a2957600080fd5b503561ffff1661216a565b348015610a4057600080fd5b506102ed612350565b348015610a5557600080fd5b506102b8600480360360c0811015610a6c57600080fd5b61ffff8235169190810190604081016020820135640100000000811115610a9257600080fd5b820183602082011115610aa457600080fd5b80359060200191846001830284011164010000000083111715610ac657600080fd5b919390926001600160a01b038335169267ffffffffffffffff602082013516926040820135929091608081019060600135640100000000811115610b0957600080fd5b820183602082011115610b1b57600080fd5b80359060200191846001830284011164010000000083111715610b3d57600080fd5b509092509050612372565b6102b8600480360360c0811015610b5e57600080fd5b61ffff8235169190810190604081016020820135640100000000811115610b8457600080fd5b820183602082011115610b9657600080fd5b80359060200191846001830284011164010000000083111715610bb857600080fd5b919390929091602081019035640100000000811115610bd657600080fd5b820183602082011115610be857600080fd5b80359060200191846001830284011164010000000083111715610c0a57600080fd5b919390926001600160a01b0383358116936020810135909116929190606081019060400135640100000000811115610c4157600080fd5b820183602082011115610c5357600080fd5b80359060200191846001830284011164010000000083111715610c7557600080fd5b509092509050612995565b348015610c8c57600080fd5b506105fd60048036036020811015610ca357600080fd5b503561ffff16612bf4565b348015610cba57600080fd5b506103ba612c0f565b348015610ccf57600080fd5b506102b860048036036080811015610ce657600080fd5b61ffff823581169260208101359091169160408201359190810190608081016060820135640100000000811115610d1c57600080fd5b820183602082011115610d2e57600080fd5b80359060200191846001830284011164010000000083111715610d5057600080fd5b509092509050612c20565b348015610d6757600080fd5b506102ed60048036036020811015610d7e57600080fd5b50356001600160a01b0316612e16565b348015610d9a57600080fd5b506103ba612e64565b348015610daf57600080fd5b506105fd612e70565b348015610dc457600080fd5b506102b860048036036020811015610ddb57600080fd5b50356001600160a01b0316612e7f565b348015610df757600080fd5b50610e1e60048036036020811015610e0e57600080fd5b50356001600160a01b0316612fab565b6040805161ffff95861681529390941660208401526001600160a01b039182168385015216606082015290519081900360800190f35b348015610e6057600080fd5b50610ea160048036036080811015610e7757600080fd5b5061ffff81358116916020810135909116906001600160a01b036040820135169060600135612fea565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610edb578181015183820152602001610ec3565b50505050905090810190601f168015610f085780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610f2257600080fd5b506102ed61327a565b348015610f3757600080fd5b506107a260048036036040811015610f4e57600080fd5b61ffff8235169190810190604081016020820135640100000000811115610f7457600080fd5b820183602082011115610f8657600080fd5b80359060200191846001830284011164010000000083111715610fa857600080fd5b50909250905061328a565b600054819061ffff740100000000000000000000000000000000000000009091048116908216111580610fe9575061ffff818116145b6110245760405162461bcd60e51b815260040180806020018281038252602c8152602001806133b8602c913960400191505060405180910390fd5b336000818152600460209081526040808320805461ffff88167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000909116811782558085526001808552948390205494820180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039690961695909517909455815194855291840192909252815190927ff2bc255571446a2f9b7cb2f0c75fd6a279bdb469f515d5a5c9910f713aeb32ca92908290030190a1505050565b6001600160a01b0381166000908152600460205260408120805461ffff161561111857805461ffff16611120565b60025461ffff165b9150505b919050565b6111316132d7565b6001600160a01b0316611142611c10565b6001600160a01b03161461119d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600054819061ffff7401000000000000000000000000000000000000000090910481169082161115806111d3575061ffff818116145b61120e5760405162461bcd60e51b815260040180806020018281038252602c8152602001806133b8602c913960400191505060405180910390fd5b61ffff821661124e5760405162461bcd60e51b81526004018080602001828103825260288152602001806135f36028913960400191505060405180910390fd5b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff848116918217808455908116600090815260016020908152604091829020547fffffffffffffffff0000000000000000000000000000000000000000ffffffff9093166001600160a01b039093166401000000000292909217909355825191825291517feb685c087d38029bbde35299b748c6b80f099c7e5c3f9fe2dbb3ace1099e3b07929181900390910190a15050565b61ffff8316600090815260076020526040808220905182919085908590808383808284379190910194855250506040519283900360200190922060010154151593505050509392505050565b600054819061ffff74010000000000000000000000000000000000000000909104811690821611158061138b575061ffff818116145b6113c65760405162461bcd60e51b815260040180806020018281038252602c8152602001806133b8602c913960400191505060405180910390fd5b33600081815260046020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffff166201000061ffff8916908102919091178083558186526001855294839020547fffffffffffffffff0000000000000000000000000000000000000000ffffffff9095166001600160a01b0390951664010000000002949094178155815194855291840192909252815190927f9c199418af68d1547d7b99c71ee6a9eb18b27990dfcfb38982f3e3fb8c7b6bef92908290030190a1505050565b61149d6132d7565b6001600160a01b03166114ae611c10565b6001600160a01b031614611509576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811661154e5760405162461bcd60e51b815260040180806020018281038252602d815260200180613549602d913960400191505060405180910390fd5b60005461ffff740100000000000000000000000000000000000000009091048116106115ab5760405162461bcd60e51b815260040180806020018281038252602c81526020018061351d602c913960400191505060405180910390fd5b60008054600161ffff7401000000000000000000000000000000000000000080840482168301821681027fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff90941693909317808555839004811684526020918252604080852080546001600160a01b0388167fffffffffffffffffffffffff00000000000000000000000000000000000000009091161790559354845193900416825291517f18c7402e58a1bec57f4eb75af242f65ababbbe09d9db383e0542f00635e5b8c5929181900390910190a150565b600081565b7f000000000000000000000000000000000000000000000000000000000000000090565b6001600160a01b03861660009081526004602052604081208054829190829061ffff16156116e25760018201546001600160a01b03166116f7565b60025464010000000090046001600160a01b03165b9050806001600160a01b03166340a7bb108c8c8c8c8c8c8c6040518863ffffffff1660e01b8152600401808861ffff168152602001876001600160a01b03168152602001806020018515158152602001806020018381038352888882818152602001925080828437600083820152601f01601f191690910184810383528581526020019050858580828437600081840152601f19601f8201169050808301925050509950505050505050505050604080518083038186803b1580156117bb57600080fd5b505afa1580156117cf573d6000803e3d6000fd5b505050506040513d60408110156117e557600080fd5b508051602090910151909c909b509950505050505050505050565b61ffff831660009081526007602052604080822090518490849080838380828437919091019485525050604051928390036020019092206001810154909350151591506118969050576040805162461bcd60e51b815260206004820152601c60248201527f4c617965725a65726f3a206e6f2073746f726564207061796c6f616400000000604482015290519081900360640190fd5b80546801000000000000000090046001600160a01b03163314611900576040805162461bcd60e51b815260206004820152601960248201527f4c617965725a65726f3a20696e76616c69642063616c6c657200000000000000604482015290519081900360640190fd5b80547fffffffff00000000000000000000000000000000000000000000000000000000168155600060018201556040805161ffff86168152602081018281529181018490527f23d2684f396e92a6e2ff2d16f98e6fea00d50cb27a64b531bc0748f730211f98918691869186919060608201848480828437600083820152604051601f909101601f1916909201829003965090945050505050a150505050565b60025464010000000090046001600160a01b031681565b60025461ffff1681565b6119c96132d7565b6001600160a01b03166119da611c10565b6001600160a01b031614611a35576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6001600160a01b0381166000908152600460205260408120805461ffff62010000909104811690811415611afc5760405162461bcd60e51b815260040180806020018281038252602b81526020018061364a602b913960400191505060405180910390fd5b61ffff8116611b645760025462010000900461ffff9081161415611b515760405162461bcd60e51b81526004018080602001828103825260358152602001806133e46035913960400191505060405180910390fd5b6003546001600160a01b03169250611b7a565b815464010000000090046001600160a01b031692505b5050919050565b600760209081526000928352604090922081518083018401805192815290840192909301919091209152805460019091015467ffffffffffffffff8216916801000000000000000090046001600160a01b03169083565b61ffff821660009081526006602090815260408083206001600160a01b038516845290915290205467ffffffffffffffff1692915050565b6000546001600160a01b031690565b6005602090815260009283526040909220815180830184018051928152908401929093019190912091525467ffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b0381166000908152600460205260408120805461ffff90811690811415611cda5760405162461bcd60e51b81526004018080602001828103825260288152602001806134f56028913960400191505060405180910390fd5b61ffff8116611d445760025461ffff9081161415611d295760405162461bcd60e51b815260040180806020018281038252603281526020018061348d6032913960400191505060405180910390fd5b60025464010000000090046001600160a01b03169250611b7a565b50600101546001600160a01b031692915050565b61ffff81565b600854610100900460ff16600114611dbd576040805162461bcd60e51b815260206004820181905260248201527f4c617965725a65726f3a206e6f2072656365697665207265656e7472616e6379604482015290519081900360640190fd5b600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661020017905561ffff85166000908152600760205260408082209051869086908083838082843791909101948552505060405192839003602001909220600181015490935015159150611e7f9050576040805162461bcd60e51b815260206004820152601c60248201527f4c617965725a65726f3a206e6f2073746f726564207061796c6f616400000000604482015290519081900360640190fd5b805467ffffffffffffffff1682148015611eba5750806001015483836040518083838082843780830192505050925050506040518091039020145b611f0b576040805162461bcd60e51b815260206004820152601a60248201527f4c617965725a65726f3a20696e76616c6964207061796c6f6164000000000000604482015290519081900360640190fd5b80547fffffffff000000000000000000000000000000000000000000000000000000008116825560006001830181905561ffff88168152600560205260408082209051680100000000000000009093046001600160a01b0316928890889080838380828437919091019485525050604051928390036020018320547e1d356700000000000000000000000000000000000000000000000000000000845261ffff8c166004850190815267ffffffffffffffff90911660448501819052608060248601908152608486018c90529095506001600160a01b03871694621d356794508d93508c928c9288928d928d929091606481019060a401888880828437600083820152601f01601f191690910184810383528581526020019050858580828437600081840152601f19601f82011690508083019250505098505050505050505050600060405180830381600087803b15801561206657600080fd5b505af115801561207a573d6000803e3d6000fd5b505050507f612434f39581c8e7d99746c9c20c6eb0ce8c0eb99f007c5719d620841370957d8888888486604051808661ffff168152602001806020018467ffffffffffffffff168152602001836001600160a01b031681526020018281038252868682818152602001925080828437600083820152604051601f909101601f19169092018290039850909650505050505050a15050600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055505050505050565b600660209081526000928352604080842090915290825290205467ffffffffffffffff1681565b6121726132d7565b6001600160a01b0316612183611c10565b6001600160a01b0316146121de576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600054819061ffff740100000000000000000000000000000000000000009091048116908216111580612214575061ffff818116145b61224f5760405162461bcd60e51b815260040180806020018281038252602c8152602001806133b8602c913960400191505060405180910390fd5b61ffff821661228f5760405162461bcd60e51b815260040180806020018281038252602b8152602001806135a5602b913960400191505060405180910390fd5b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ffff166201000061ffff8581168281029390931793849055920490911660009081526001602090815260409182902054600380546001600160a01b039092167fffffffffffffffffffffffff0000000000000000000000000000000000000000909216919091179055815192835290517f96874dbe70c8a59e7996847475489a70a1b5096ed92cdc858b63ebabd071f8199281900390910190a15050565b60005474010000000000000000000000000000000000000000900461ffff1681565b600854610100900460ff166001146123d1576040805162461bcd60e51b815260206004820181905260248201527f4c617965725a65726f3a206e6f2072656365697665207265656e7472616e6379604482015290519081900360640190fd5b600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1661020017905561ffff8816600090815260056020526040908190209051889088908083838082843791909101948552505060405192839003602001909220805467ffffffffffffffff80821660010181167fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090921682179092559087161491506124ca9050576040805162461bcd60e51b815260206004820152601660248201527f4c617965725a65726f3a2077726f6e67206e6f6e636500000000000000000000604482015290519081900360640190fd5b6001600160a01b0385166000908152600460205260409020805462010000900461ffff16612540576003546001600160a01b0316331461253b5760405162461bcd60e51b81526004018080602001828103825260228152602001806134196022913960400191505060405180910390fd5b6125a6565b805464010000000090046001600160a01b031633146125a6576040805162461bcd60e51b815260206004820152601a60248201527f4c617965725a65726f3a20696e76616c6964206c696272617279000000000000604482015290519081900360640190fd5b61ffff891660009081526007602052604080822090518a908a908083838082843791909101948552505060405192839003602001909220600181015490935015915061263b9050576040805162461bcd60e51b815260206004820152601e60248201527f4c617965725a65726f3a20696e206d65737361676520626c6f636b696e670000604482015290519081900360640190fd5b866001600160a01b0316621d3567868c8c8c8b8a8a6040518863ffffffff1660e01b8152600401808761ffff168152602001806020018567ffffffffffffffff168152602001806020018381038352888882818152602001925080828437600083820152601f01601f191690910184810383528581526020019050858580828437600081840152601f19601f82011690508083019250505098505050505050505050600060405180830381600088803b1580156126f757600080fd5b5087f193505050508015612709575060015b61295d573d808015612737576040519150601f19603f3d011682016040523d82523d6000602084013e61273c565b606091505b5060405180606001604052808686905067ffffffffffffffff168152602001896001600160a01b0316815260200186866040518083838082843780830192505050925050506040518091039020815250600760008d61ffff1661ffff1681526020019081526020016000208b8b604051808383808284378083019250505092505050908152602001604051809103902060008201518160000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060208201518160000160086101000a8154816001600160a01b0302191690836001600160a01b03160217905550604082015181600101559050507f0f9e4d95b62f08222d612b5ab92039cd8fbbbea550a95e8df9f927436bbdf5db8b8b8b8b8b8a8a88604051808961ffff16815260200180602001876001600160a01b031681526020018667ffffffffffffffff168152602001806020018060200184810384528b8b82818152602001925080828437600083820152601f01601f1916909101858103845287815260200190508787808284376000838201819052601f909101601f191690920186810384528751815287516020918201939189019250908190849084905b83811015612918578181015183820152602001612900565b50505050905090810190601f1680156129455780820380516001836020036101000a031916815260200191505b509b50505050505050505050505060405180910390a1505b5050600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555050505050505050565b60085460ff166001146129ef576040805162461bcd60e51b815260206004820152601d60248201527f4c617965725a65726f3a206e6f2073656e64207265656e7472616e6379000000604482015290519081900360640190fd5b6008805460027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0090911617905533600081815260046020908152604080832061ffff8e1684526006835281842094845293909152902080547fffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000811667ffffffffffffffff91821660010191821617909155612a89826132db565b6001600160a01b0316634d3a0f7c3433848f8f8f8f8f8f8f8f8f6040518d63ffffffff1660e01b8152600401808c6001600160a01b031681526020018b67ffffffffffffffff1681526020018a61ffff1681526020018060200180602001876001600160a01b03168152602001866001600160a01b031681526020018060200184810384528c8c82818152602001925080828437600083820152601f01601f191690910185810384528a815260200190508a8a80828437600083820152601f01601f191690910185810383528681526020019050868680828437600081840152601f19601f8201169050808301925050509e5050505050505050505050505050506000604051808303818588803b158015612ba357600080fd5b505af1158015612bb7573d6000803e3d6000fd5b5050600880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790555050505050505050505050505050565b6001602052600090815260409020546001600160a01b031681565b600854610100900460ff1660021490565b600054859061ffff740100000000000000000000000000000000000000009091048116908216111580612c56575061ffff818116145b612c915760405162461bcd60e51b815260040180806020018281038252602c8152602001806133b8602c913960400191505060405180910390fd5b61ffff8616612cf15760025461ffff808216620100009092041614612ce75760405162461bcd60e51b81526004018080602001828103825260368152602001806134bf6036913960400191505060405180910390fd5b60025461ffff1695505b61ffff8681161415612d345760405162461bcd60e51b815260040180806020018281038252602f81526020018061361b602f913960400191505060405180910390fd5b61ffff808716600090815260016020526040908190205490517ff8e1734c00000000000000000000000000000000000000000000000000000000815291871660048301908152336024840181905260448401889052608060648501908152608485018790526001600160a01b039093169363f8e1734c938a938a928a928a929160a401848480828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b158015612df657600080fd5b505af1158015612e0a573d6000803e3d6000fd5b50505050505050505050565b6001600160a01b0381166000908152600460205260408120805462010000900461ffff1615612e5057805462010000900461ffff16611120565b505060025462010000900461ffff16919050565b60085460ff1660021490565b6003546001600160a01b031681565b612e876132d7565b6001600160a01b0316612e98611c10565b6001600160a01b031614612ef3576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116612f385760405162461bcd60e51b815260040180806020018281038252602681526020018061343b6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6004602052600090815260409020805460019091015461ffff80831692620100008104909116916001600160a01b036401000000009092048216911684565b600054606090859061ffff740100000000000000000000000000000000000000009091048116908216111580613023575061ffff818116145b61305e5760405162461bcd60e51b815260040180806020018281038252602c8152602001806133b8602c913960400191505060405180910390fd5b61ffff86166130be5760025461ffff8082166201000090920416146130b45760405162461bcd60e51b815260040180806020018281038252602c815260200180613461602c913960400191505060405180910390fd5b60025461ffff1695505b61ffff86811614156131015760405162461bcd60e51b815260040180806020018281038252602f815260200180613576602f913960400191505060405180910390fd5b61ffff8087166000908152600160205260408082205481517f52d2871f00000000000000000000000000000000000000000000000000000000815293891660048501526001600160a01b0388811660248601526044850188905291519116926352d2871f926064808301939192829003018186803b15801561318257600080fd5b505afa158015613196573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156131bf57600080fd5b81019080805160405193929190846401000000008211156131df57600080fd5b9083019060208201858111156131f457600080fd5b825164010000000081118282018810171561320e57600080fd5b82525081516020918201929091019080838360005b8381101561323b578181015183820152602001613223565b50505050905090810190601f1680156132685780820380516001836020036101000a031916815260200191505b50604052505050915050949350505050565b60025462010000900461ffff1681565b61ffff831660009081526005602052604080822090518490849080838380828437919091019485525050604051928390036020019092205467ffffffffffffffff16925050509392505050565b3390565b805460009061ffff166133485760025461ffff908116141561332e5760405162461bcd60e51b81526004018080602001828103825260238152602001806135d06023913960400191505060405180910390fd5b5060025464010000000090046001600160a01b0316611124565b815461ffff90811614156133a3576040805162461bcd60e51b815260206004820152601b60248201527f4c617965725a65726f3a20696e20424c4f434b5f56455253494f4e0000000000604482015290519081900360640190fd5b5060018101546001600160a01b031661112456fe4c617965725a65726f3a20696e76616c6964206d6573736167696e67206c6962726172792076657273696f6e4c617965725a65726f3a20726563656976652076657273696f6e202864656661756c742920697320424c4f434b5f56455253494f4e4c617965725a65726f3a20696e76616c69642064656661756c74206c6962726172794f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734c617965725a65726f3a206e6f2044454641554c5420636f6e666967207768696c65206d6967726174696f6e4c617965725a65726f3a2073656e642076657273696f6e202864656661756c742920697320424c4f434b5f56455253494f4e4c617965725a65726f3a2063616e206e6f742073657420436f6e66696720647572696e672044454641554c54206d6967726174696f6e4c617965725a65726f3a2073656e642076657273696f6e20697320424c4f434b5f56455253494f4e4c617965725a65726f3a2063616e206e6f7420616464206e6577206d6573736167696e67206c6962726172794c617965725a65726f3a206e65772076657273696f6e2063616e6e6f74206265207a65726f20616464726573734c617965725a65726f3a2063616e206e6f742067657420636f6e66696720666f7220424c4f434b5f56455253494f4e4c617965725a65726f3a2064656661756c7420726563656976652076657273696f6e206d757374203e20304c617965725a65726f3a2064656661756c7420696e20424c4f434b5f56455253494f4e4c617965725a65726f3a2064656661756c742073656e642076657273696f6e206d757374203e20304c617965725a65726f3a2063616e206e6f742073657420636f6e66696720666f7220424c4f434b5f56455253494f4e4c617965725a65726f3a20726563656976652076657273696f6e20697320424c4f434b5f56455253494f4ea26469706673582212208ed5abf804b10b0f71da77c570eb372ab4e36974c6a955e66c94b397fe506a9e64736f6c63430007060033";
|
|
973
|
-
var isSuperArgs = function (xs) { return xs.length > 1; };
|
|
974
|
-
var Endpoint__factory = /** @class */ (function (_super) {
|
|
975
|
-
__extends(Endpoint__factory, _super);
|
|
976
|
-
function Endpoint__factory() {
|
|
977
|
-
var args = [];
|
|
978
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
979
|
-
args[_i] = arguments[_i];
|
|
980
|
-
}
|
|
981
|
-
var _this = this;
|
|
982
|
-
if (isSuperArgs(args)) {
|
|
983
|
-
_this = _super.apply(this, args) || this;
|
|
984
|
-
}
|
|
985
|
-
else {
|
|
986
|
-
_this = _super.call(this, _abi, _bytecode, args[0]) || this;
|
|
987
|
-
}
|
|
988
|
-
return _this;
|
|
989
|
-
}
|
|
990
|
-
Endpoint__factory.prototype.deploy = function (_chainId, overrides) {
|
|
991
|
-
return _super.prototype.deploy.call(this, _chainId, overrides || {});
|
|
992
|
-
};
|
|
993
|
-
Endpoint__factory.prototype.getDeployTransaction = function (_chainId, overrides) {
|
|
994
|
-
return _super.prototype.getDeployTransaction.call(this, _chainId, overrides || {});
|
|
995
|
-
};
|
|
996
|
-
Endpoint__factory.prototype.attach = function (address) {
|
|
997
|
-
return _super.prototype.attach.call(this, address);
|
|
998
|
-
};
|
|
999
|
-
Endpoint__factory.prototype.connect = function (signer) {
|
|
1000
|
-
return _super.prototype.connect.call(this, signer);
|
|
1001
|
-
};
|
|
1002
|
-
Endpoint__factory.createInterface = function () {
|
|
1003
|
-
return new ethers_1.utils.Interface(_abi);
|
|
1004
|
-
};
|
|
1005
|
-
Endpoint__factory.connect = function (address, signerOrProvider) {
|
|
1006
|
-
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
1007
|
-
};
|
|
1008
|
-
Endpoint__factory.bytecode = _bytecode;
|
|
1009
|
-
Endpoint__factory.abi = _abi;
|
|
1010
|
-
return Endpoint__factory;
|
|
1011
|
-
}(ethers_1.ContractFactory));
|
|
1012
|
-
exports.Endpoint__factory = Endpoint__factory;
|