@layerzerolabs/lz-evm-sdk-v1 2.3.9 → 2.3.11
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/CHANGELOG.md +16 -0
- package/artifacts-tron/contracts/Endpoint.sol/Endpoint.json +958 -0
- package/artifacts-tron/contracts/NonceContract.sol/NonceContract.json +88 -0
- package/artifacts-tron/contracts/PriceFeed.sol/PriceFeed.json +531 -0
- package/artifacts-tron/contracts/RelayerV2.sol/RelayerV2.json +1170 -0
- package/artifacts-tron/contracts/UltraLightNode.sol/UltraLightNode.json +1475 -0
- package/artifacts-tron/contracts/UltraLightNodeV2.sol/UltraLightNodeV2.json +1423 -0
- package/artifacts-tron/contracts/interfaces/IContractOne.sol/IContractOne.json +24 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.json +447 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroMessagingLibrary.sol/ILayerZeroMessagingLibrary.json +160 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroMessagingLibraryV2.sol/ILayerZeroMessagingLibraryV2.json +184 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroOracle.sol/ILayerZeroOracle.json +77 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroOracleV2.sol/ILayerZeroOracleV2.json +97 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroPriceFeed.sol/ILayerZeroPriceFeed.json +107 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroPriceFeedV2.sol/ILayerZeroPriceFeedV2.json +104 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +39 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroRelayer.sol/ILayerZeroRelayer.json +92 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroRelayerV2.sol/ILayerZeroRelayerV2.json +107 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroRelayerV2PriceData.sol/ILayerZeroRelayerV2PriceData.json +83 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroTreasury.sol/ILayerZeroTreasury.json +40 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroUltraLightNodeV1.sol/ILayerZeroUltraLightNodeV1.json +156 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroUltraLightNodeV2.sol/ILayerZeroUltraLightNodeV2.json +582 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroUserApplicationConfig.sol/ILayerZeroUserApplicationConfig.json +83 -0
- package/artifacts-tron/contracts/interfaces/ILayerZeroValidationLibrary.sol/ILayerZeroValidationLibrary.json +77 -0
- package/artifacts-tron/contracts/interfaces/IValidationLibraryHelper.sol/IValidationLibraryHelper.json +146 -0
- package/artifacts-tron/contracts/interfaces/IValidationLibraryHelperV2.sol/IValidationLibraryHelperV2.json +154 -0
- package/artifacts-tron/contracts/precrime/PreCrime.sol/PreCrime.json +353 -0
- package/artifacts-tron/contracts/precrime/PreCrimeBase.sol/PreCrimeBase.json +259 -0
- package/artifacts-tron/contracts/precrime/PreCrimeView.sol/PreCrimeView.json +318 -0
- package/artifacts-tron/contracts/precrime/interfaces/IPreCrime.sol/IPreCrime.json +162 -0
- package/artifacts-tron/contracts/precrime/interfaces/IPreCrimeBase.sol/IPreCrimeBase.json +116 -0
- package/artifacts-tron/contracts/precrime/interfaces/IPreCrimeView.sol/IPreCrimeView.json +162 -0
- package/artifacts-tron/contracts/proof/FPValidator.sol/FPValidator.json +326 -0
- package/artifacts-tron/contracts/proof/FPValidator.sol/IStargate.json +10 -0
- package/artifacts-tron/contracts/proof/MPTValidator.sol/MPTValidator.json +146 -0
- package/artifacts-tron/contracts/proof/MPTValidator01.sol/IStargate.json +10 -0
- package/artifacts-tron/contracts/proof/MPTValidator01.sol/MPTValidator01.json +339 -0
- package/artifacts-tron/contracts/proof/MPTValidatorStgV3.sol/MPTValidatorStgV3.json +310 -0
- package/artifacts-tron/contracts/proof/MPTValidatorV2.sol/MPTValidatorV2.json +212 -0
- package/artifacts-tron/contracts/proof/MPTValidatorV4.sol/IStargate.json +10 -0
- package/artifacts-tron/contracts/proof/MPTValidatorV4.sol/IUltraLightNode.json +108 -0
- package/artifacts-tron/contracts/proof/MPTValidatorV4.sol/MPTValidatorV4.json +414 -0
- package/artifacts-tron/contracts/proof/MPTValidatorV5.sol/IStargate.json +10 -0
- package/artifacts-tron/contracts/proof/MPTValidatorV5.sol/IUltraLightNode.json +108 -0
- package/artifacts-tron/contracts/proof/MPTValidatorV5.sol/MPTValidatorV5.json +432 -0
- package/artifacts-tron/contracts/proof/utility/Buffer.sol/Buffer.json +10 -0
- package/artifacts-tron/contracts/proof/utility/LayerZeroPacket.sol/LayerZeroPacket.json +10 -0
- package/artifacts-tron/contracts/proof/utility/RLPDecode.sol/RLPDecode.json +10 -0
- package/artifacts-tron/contracts/proof/utility/UltraLightNodeEVMDecoder.sol/UltraLightNodeEVMDecoder.json +10 -0
- package/artifacts-zk/contracts/Endpoint.sol/Endpoint.json +959 -0
- package/artifacts-zk/contracts/NonceContract.sol/NonceContract.json +89 -0
- package/artifacts-zk/contracts/PriceFeed.sol/PriceFeed.json +545 -0
- package/artifacts-zk/contracts/RelayerV2.sol/RelayerV2.json +1020 -0
- package/artifacts-zk/contracts/TreasuryV2.sol/TreasuryV2.json +309 -0
- package/artifacts-zk/contracts/UltraLightNodeV2.sol/UltraLightNodeV2.json +1424 -0
- package/artifacts-zk/contracts/interfaces/IContractOne.sol/IContractOne.json +25 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.json +448 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroMessagingLibrary.sol/ILayerZeroMessagingLibrary.json +161 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroMessagingLibraryV2.sol/ILayerZeroMessagingLibraryV2.json +185 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroOracleV2.sol/ILayerZeroOracleV2.json +98 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroPriceFeed.sol/ILayerZeroPriceFeed.json +108 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroPriceFeedV2.sol/ILayerZeroPriceFeedV2.json +105 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +40 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroRelayerV2.sol/ILayerZeroRelayerV2.json +108 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroTreasury.sol/ILayerZeroTreasury.json +41 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroUltraLightNodeV2.sol/ILayerZeroUltraLightNodeV2.json +583 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroUserApplicationConfig.sol/ILayerZeroUserApplicationConfig.json +84 -0
- package/artifacts-zk/contracts/interfaces/ILayerZeroValidationLibrary.sol/ILayerZeroValidationLibrary.json +78 -0
- package/artifacts-zk/contracts/interfaces/IValidationLibraryHelper.sol/IValidationLibraryHelper.json +147 -0
- package/artifacts-zk/contracts/interfaces/IValidationLibraryHelperV2.sol/IValidationLibraryHelperV2.json +155 -0
- package/artifacts-zk/contracts/oracle/OracleV2.sol/OracleV2.json +1527 -0
- package/artifacts-zk/contracts/precrime/PreCrime.sol/PreCrime.json +354 -0
- package/artifacts-zk/contracts/precrime/PreCrimeBase.sol/PreCrimeBase.json +260 -0
- package/artifacts-zk/contracts/precrime/PreCrimeView.sol/PreCrimeView.json +319 -0
- package/artifacts-zk/contracts/precrime/example/inherit/CounterI.sol/CounterI.json +624 -0
- package/artifacts-zk/contracts/precrime/example/inherit/CounterPrecrime.sol/CounterPrecrime.json +458 -0
- package/artifacts-zk/contracts/precrime/example/view/CounterPrecrimeView.sol/CounterPrecrimeView.json +417 -0
- package/artifacts-zk/contracts/precrime/example/view/CounterV.sol/CounterV.json +178 -0
- package/artifacts-zk/contracts/precrime/example/view/CounterView.sol/CounterView.json +166 -0
- package/artifacts-zk/contracts/precrime/interfaces/IPreCrime.sol/IPreCrime.json +163 -0
- package/artifacts-zk/contracts/precrime/interfaces/IPreCrimeBase.sol/IPreCrimeBase.json +117 -0
- package/artifacts-zk/contracts/precrime/interfaces/IPreCrimeView.sol/IPreCrimeView.json +163 -0
- package/artifacts-zk/contracts/proof/FPValidator.sol/FPValidator.json +327 -0
- package/artifacts-zk/contracts/proof/FPValidator.sol/IStargate.json +11 -0
- package/artifacts-zk/contracts/proof/utility/Buffer.sol/Buffer.json +11 -0
- package/artifacts-zk/contracts/proof/utility/LayerZeroPacket.sol/LayerZeroPacket.json +11 -0
- package/artifacts-zk/contracts/proof/utility/RLPDecode.sol/RLPDecode.json +11 -0
- package/artifacts-zk/contracts/proof/utility/UltraLightNodeEVMDecoder.sol/UltraLightNodeEVMDecoder.json +11 -0
- package/artifacts-zk/contracts/proxy/ProxyAdmin.sol/ProxyAdmin.json +172 -0
- package/artifacts-zk/contracts/proxy/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +156 -0
- package/deployments/arbitrum-sandbox-local/DefaultProxyAdmin.json +10 -10
- package/deployments/arbitrum-sandbox-local/Endpoint.json +7 -7
- package/deployments/arbitrum-sandbox-local/FPValidator.json +4 -4
- package/deployments/arbitrum-sandbox-local/MPTValidator01.json +4 -4
- package/deployments/arbitrum-sandbox-local/NonceContract.json +4 -4
- package/deployments/arbitrum-sandbox-local/RelayerV2.json +16 -16
- package/deployments/arbitrum-sandbox-local/RelayerV2_Implementation.json +4 -4
- package/deployments/arbitrum-sandbox-local/RelayerV2_Proxy.json +16 -16
- package/deployments/arbitrum-sandbox-local/TreasuryV2.json +7 -7
- package/deployments/arbitrum-sandbox-local/UltraLightNode.json +7 -7
- package/deployments/arbitrum-sandbox-local/UltraLightNodeV2.json +7 -7
- package/deployments/bsc-sandbox-local/DefaultProxyAdmin.json +10 -10
- package/deployments/bsc-sandbox-local/Endpoint.json +7 -7
- package/deployments/bsc-sandbox-local/FPValidator.json +4 -4
- package/deployments/bsc-sandbox-local/MPTValidator01.json +4 -4
- package/deployments/bsc-sandbox-local/NonceContract.json +4 -4
- package/deployments/bsc-sandbox-local/RelayerV2.json +16 -16
- package/deployments/bsc-sandbox-local/RelayerV2_Implementation.json +4 -4
- package/deployments/bsc-sandbox-local/RelayerV2_Proxy.json +16 -16
- package/deployments/bsc-sandbox-local/TreasuryV2.json +7 -7
- package/deployments/bsc-sandbox-local/UltraLightNode.json +7 -7
- package/deployments/bsc-sandbox-local/UltraLightNodeV2.json +7 -7
- package/deployments/cyber-mainnet/DefaultProxyAdmin.json +273 -0
- package/deployments/cyber-mainnet/Endpoint.json +1282 -0
- package/deployments/cyber-mainnet/FPValidator.json +382 -0
- package/deployments/cyber-mainnet/MPTValidator01.json +395 -0
- package/deployments/cyber-mainnet/NonceContract.json +159 -0
- package/deployments/cyber-mainnet/RelayerV2.json +1415 -0
- package/deployments/cyber-mainnet/RelayerV2_Implementation.json +1612 -0
- package/deployments/cyber-mainnet/RelayerV2_Proxy.json +245 -0
- package/deployments/cyber-mainnet/TreasuryV2.json +458 -0
- package/deployments/cyber-mainnet/UltraLightNodeV2.json +1816 -0
- 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/iota-mainnet/DefaultProxyAdmin.json +273 -0
- package/deployments/iota-mainnet/Endpoint.json +1282 -0
- package/deployments/iota-mainnet/FPValidator.json +382 -0
- package/deployments/iota-mainnet/MPTValidator01.json +395 -0
- package/deployments/iota-mainnet/NonceContract.json +159 -0
- package/deployments/iota-mainnet/RelayerV2.json +1415 -0
- package/deployments/iota-mainnet/RelayerV2_Implementation.json +1612 -0
- package/deployments/iota-mainnet/RelayerV2_Proxy.json +245 -0
- package/deployments/iota-mainnet/TreasuryV2.json +458 -0
- package/deployments/iota-mainnet/UltraLightNodeV2.json +1816 -0
- package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +3 -3
- package/deployments/polygon-sandbox-local/Endpoint.json +2 -2
- package/deployments/polygon-sandbox-local/FPValidator.json +1 -1
- package/deployments/polygon-sandbox-local/MPTValidator01.json +1 -1
- package/deployments/polygon-sandbox-local/NonceContract.json +1 -1
- package/deployments/polygon-sandbox-local/RelayerV2.json +5 -5
- package/deployments/polygon-sandbox-local/RelayerV2_Implementation.json +1 -1
- package/deployments/polygon-sandbox-local/RelayerV2_Proxy.json +5 -5
- package/deployments/polygon-sandbox-local/TreasuryV2.json +2 -2
- package/deployments/polygon-sandbox-local/UltraLightNode.json +2 -2
- package/deployments/polygon-sandbox-local/UltraLightNodeV2.json +2 -2
- package/deployments/tron-sandbox-local/DefaultProxyAdmin.json +14 -14
- package/deployments/tron-sandbox-local/Endpoint.json +10 -10
- package/deployments/tron-sandbox-local/FPValidator.json +6 -6
- package/deployments/tron-sandbox-local/MPTValidator01.json +6 -6
- package/deployments/tron-sandbox-local/NonceContract.json +7 -7
- package/deployments/tron-sandbox-local/RelayerV2.json +31 -31
- package/deployments/tron-sandbox-local/RelayerV2_Implementation.json +6 -6
- package/deployments/tron-sandbox-local/RelayerV2_Proxy.json +28 -28
- package/deployments/tron-sandbox-local/TreasuryV2.json +11 -11
- package/deployments/tron-sandbox-local/UltraLightNode.json +11 -11
- package/deployments/tron-sandbox-local/UltraLightNodeV2.json +12 -12
- package/package.json +23 -7
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "IContractOne",
|
|
4
|
+
"sourceName": "contracts/interfaces/IContractOne.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "uint256",
|
|
10
|
+
"name": "x",
|
|
11
|
+
"type": "uint256"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"name": "setIt",
|
|
15
|
+
"outputs": [],
|
|
16
|
+
"stateMutability": "nonpayable",
|
|
17
|
+
"type": "function"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"bytecode": "0x",
|
|
21
|
+
"deployedBytecode": "0x",
|
|
22
|
+
"linkReferences": {},
|
|
23
|
+
"deployedLinkReferences": {}
|
|
24
|
+
}
|
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "ILayerZeroEndpoint",
|
|
4
|
+
"sourceName": "contracts/interfaces/ILayerZeroEndpoint.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "uint16",
|
|
10
|
+
"name": "_dstChainId",
|
|
11
|
+
"type": "uint16"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "address",
|
|
15
|
+
"name": "_userApplication",
|
|
16
|
+
"type": "address"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "bytes",
|
|
20
|
+
"name": "_payload",
|
|
21
|
+
"type": "bytes"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "bool",
|
|
25
|
+
"name": "_payInZRO",
|
|
26
|
+
"type": "bool"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"internalType": "bytes",
|
|
30
|
+
"name": "_adapterParam",
|
|
31
|
+
"type": "bytes"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"name": "estimateFees",
|
|
35
|
+
"outputs": [
|
|
36
|
+
{
|
|
37
|
+
"internalType": "uint256",
|
|
38
|
+
"name": "nativeFee",
|
|
39
|
+
"type": "uint256"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"internalType": "uint256",
|
|
43
|
+
"name": "zroFee",
|
|
44
|
+
"type": "uint256"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"stateMutability": "view",
|
|
48
|
+
"type": "function"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"inputs": [
|
|
52
|
+
{
|
|
53
|
+
"internalType": "uint16",
|
|
54
|
+
"name": "_srcChainId",
|
|
55
|
+
"type": "uint16"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"internalType": "bytes",
|
|
59
|
+
"name": "_srcAddress",
|
|
60
|
+
"type": "bytes"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"name": "forceResumeReceive",
|
|
64
|
+
"outputs": [],
|
|
65
|
+
"stateMutability": "nonpayable",
|
|
66
|
+
"type": "function"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"inputs": [],
|
|
70
|
+
"name": "getChainId",
|
|
71
|
+
"outputs": [
|
|
72
|
+
{
|
|
73
|
+
"internalType": "uint16",
|
|
74
|
+
"name": "",
|
|
75
|
+
"type": "uint16"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"stateMutability": "view",
|
|
79
|
+
"type": "function"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"inputs": [
|
|
83
|
+
{
|
|
84
|
+
"internalType": "uint16",
|
|
85
|
+
"name": "_version",
|
|
86
|
+
"type": "uint16"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"internalType": "uint16",
|
|
90
|
+
"name": "_chainId",
|
|
91
|
+
"type": "uint16"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"internalType": "address",
|
|
95
|
+
"name": "_userApplication",
|
|
96
|
+
"type": "address"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"internalType": "uint256",
|
|
100
|
+
"name": "_configType",
|
|
101
|
+
"type": "uint256"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"name": "getConfig",
|
|
105
|
+
"outputs": [
|
|
106
|
+
{
|
|
107
|
+
"internalType": "bytes",
|
|
108
|
+
"name": "",
|
|
109
|
+
"type": "bytes"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"stateMutability": "view",
|
|
113
|
+
"type": "function"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"inputs": [
|
|
117
|
+
{
|
|
118
|
+
"internalType": "uint16",
|
|
119
|
+
"name": "_srcChainId",
|
|
120
|
+
"type": "uint16"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"internalType": "bytes",
|
|
124
|
+
"name": "_srcAddress",
|
|
125
|
+
"type": "bytes"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"name": "getInboundNonce",
|
|
129
|
+
"outputs": [
|
|
130
|
+
{
|
|
131
|
+
"internalType": "uint64",
|
|
132
|
+
"name": "",
|
|
133
|
+
"type": "uint64"
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"stateMutability": "view",
|
|
137
|
+
"type": "function"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"inputs": [
|
|
141
|
+
{
|
|
142
|
+
"internalType": "uint16",
|
|
143
|
+
"name": "_dstChainId",
|
|
144
|
+
"type": "uint16"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"internalType": "address",
|
|
148
|
+
"name": "_srcAddress",
|
|
149
|
+
"type": "address"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"name": "getOutboundNonce",
|
|
153
|
+
"outputs": [
|
|
154
|
+
{
|
|
155
|
+
"internalType": "uint64",
|
|
156
|
+
"name": "",
|
|
157
|
+
"type": "uint64"
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"stateMutability": "view",
|
|
161
|
+
"type": "function"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"inputs": [
|
|
165
|
+
{
|
|
166
|
+
"internalType": "address",
|
|
167
|
+
"name": "_userApplication",
|
|
168
|
+
"type": "address"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"name": "getReceiveLibraryAddress",
|
|
172
|
+
"outputs": [
|
|
173
|
+
{
|
|
174
|
+
"internalType": "address",
|
|
175
|
+
"name": "",
|
|
176
|
+
"type": "address"
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"stateMutability": "view",
|
|
180
|
+
"type": "function"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"inputs": [
|
|
184
|
+
{
|
|
185
|
+
"internalType": "address",
|
|
186
|
+
"name": "_userApplication",
|
|
187
|
+
"type": "address"
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
"name": "getReceiveVersion",
|
|
191
|
+
"outputs": [
|
|
192
|
+
{
|
|
193
|
+
"internalType": "uint16",
|
|
194
|
+
"name": "",
|
|
195
|
+
"type": "uint16"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"stateMutability": "view",
|
|
199
|
+
"type": "function"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"inputs": [
|
|
203
|
+
{
|
|
204
|
+
"internalType": "address",
|
|
205
|
+
"name": "_userApplication",
|
|
206
|
+
"type": "address"
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"name": "getSendLibraryAddress",
|
|
210
|
+
"outputs": [
|
|
211
|
+
{
|
|
212
|
+
"internalType": "address",
|
|
213
|
+
"name": "",
|
|
214
|
+
"type": "address"
|
|
215
|
+
}
|
|
216
|
+
],
|
|
217
|
+
"stateMutability": "view",
|
|
218
|
+
"type": "function"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"inputs": [
|
|
222
|
+
{
|
|
223
|
+
"internalType": "address",
|
|
224
|
+
"name": "_userApplication",
|
|
225
|
+
"type": "address"
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
"name": "getSendVersion",
|
|
229
|
+
"outputs": [
|
|
230
|
+
{
|
|
231
|
+
"internalType": "uint16",
|
|
232
|
+
"name": "",
|
|
233
|
+
"type": "uint16"
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"stateMutability": "view",
|
|
237
|
+
"type": "function"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"inputs": [
|
|
241
|
+
{
|
|
242
|
+
"internalType": "uint16",
|
|
243
|
+
"name": "_srcChainId",
|
|
244
|
+
"type": "uint16"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"internalType": "bytes",
|
|
248
|
+
"name": "_srcAddress",
|
|
249
|
+
"type": "bytes"
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
"name": "hasStoredPayload",
|
|
253
|
+
"outputs": [
|
|
254
|
+
{
|
|
255
|
+
"internalType": "bool",
|
|
256
|
+
"name": "",
|
|
257
|
+
"type": "bool"
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
"stateMutability": "view",
|
|
261
|
+
"type": "function"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"inputs": [],
|
|
265
|
+
"name": "isReceivingPayload",
|
|
266
|
+
"outputs": [
|
|
267
|
+
{
|
|
268
|
+
"internalType": "bool",
|
|
269
|
+
"name": "",
|
|
270
|
+
"type": "bool"
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
"stateMutability": "view",
|
|
274
|
+
"type": "function"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"inputs": [],
|
|
278
|
+
"name": "isSendingPayload",
|
|
279
|
+
"outputs": [
|
|
280
|
+
{
|
|
281
|
+
"internalType": "bool",
|
|
282
|
+
"name": "",
|
|
283
|
+
"type": "bool"
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
"stateMutability": "view",
|
|
287
|
+
"type": "function"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"inputs": [
|
|
291
|
+
{
|
|
292
|
+
"internalType": "uint16",
|
|
293
|
+
"name": "_srcChainId",
|
|
294
|
+
"type": "uint16"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"internalType": "bytes",
|
|
298
|
+
"name": "_srcAddress",
|
|
299
|
+
"type": "bytes"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"internalType": "address",
|
|
303
|
+
"name": "_dstAddress",
|
|
304
|
+
"type": "address"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"internalType": "uint64",
|
|
308
|
+
"name": "_nonce",
|
|
309
|
+
"type": "uint64"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"internalType": "uint256",
|
|
313
|
+
"name": "_gasLimit",
|
|
314
|
+
"type": "uint256"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"internalType": "bytes",
|
|
318
|
+
"name": "_payload",
|
|
319
|
+
"type": "bytes"
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
"name": "receivePayload",
|
|
323
|
+
"outputs": [],
|
|
324
|
+
"stateMutability": "nonpayable",
|
|
325
|
+
"type": "function"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"inputs": [
|
|
329
|
+
{
|
|
330
|
+
"internalType": "uint16",
|
|
331
|
+
"name": "_srcChainId",
|
|
332
|
+
"type": "uint16"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"internalType": "bytes",
|
|
336
|
+
"name": "_srcAddress",
|
|
337
|
+
"type": "bytes"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"internalType": "bytes",
|
|
341
|
+
"name": "_payload",
|
|
342
|
+
"type": "bytes"
|
|
343
|
+
}
|
|
344
|
+
],
|
|
345
|
+
"name": "retryPayload",
|
|
346
|
+
"outputs": [],
|
|
347
|
+
"stateMutability": "nonpayable",
|
|
348
|
+
"type": "function"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"inputs": [
|
|
352
|
+
{
|
|
353
|
+
"internalType": "uint16",
|
|
354
|
+
"name": "_dstChainId",
|
|
355
|
+
"type": "uint16"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"internalType": "bytes",
|
|
359
|
+
"name": "_destination",
|
|
360
|
+
"type": "bytes"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"internalType": "bytes",
|
|
364
|
+
"name": "_payload",
|
|
365
|
+
"type": "bytes"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"internalType": "address payable",
|
|
369
|
+
"name": "_refundAddress",
|
|
370
|
+
"type": "address"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"internalType": "address",
|
|
374
|
+
"name": "_zroPaymentAddress",
|
|
375
|
+
"type": "address"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"internalType": "bytes",
|
|
379
|
+
"name": "_adapterParams",
|
|
380
|
+
"type": "bytes"
|
|
381
|
+
}
|
|
382
|
+
],
|
|
383
|
+
"name": "send",
|
|
384
|
+
"outputs": [],
|
|
385
|
+
"stateMutability": "payable",
|
|
386
|
+
"type": "function"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"inputs": [
|
|
390
|
+
{
|
|
391
|
+
"internalType": "uint16",
|
|
392
|
+
"name": "_version",
|
|
393
|
+
"type": "uint16"
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"internalType": "uint16",
|
|
397
|
+
"name": "_chainId",
|
|
398
|
+
"type": "uint16"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"internalType": "uint256",
|
|
402
|
+
"name": "_configType",
|
|
403
|
+
"type": "uint256"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"internalType": "bytes",
|
|
407
|
+
"name": "_config",
|
|
408
|
+
"type": "bytes"
|
|
409
|
+
}
|
|
410
|
+
],
|
|
411
|
+
"name": "setConfig",
|
|
412
|
+
"outputs": [],
|
|
413
|
+
"stateMutability": "nonpayable",
|
|
414
|
+
"type": "function"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"inputs": [
|
|
418
|
+
{
|
|
419
|
+
"internalType": "uint16",
|
|
420
|
+
"name": "_version",
|
|
421
|
+
"type": "uint16"
|
|
422
|
+
}
|
|
423
|
+
],
|
|
424
|
+
"name": "setReceiveVersion",
|
|
425
|
+
"outputs": [],
|
|
426
|
+
"stateMutability": "nonpayable",
|
|
427
|
+
"type": "function"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"inputs": [
|
|
431
|
+
{
|
|
432
|
+
"internalType": "uint16",
|
|
433
|
+
"name": "_version",
|
|
434
|
+
"type": "uint16"
|
|
435
|
+
}
|
|
436
|
+
],
|
|
437
|
+
"name": "setSendVersion",
|
|
438
|
+
"outputs": [],
|
|
439
|
+
"stateMutability": "nonpayable",
|
|
440
|
+
"type": "function"
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"bytecode": "0x",
|
|
444
|
+
"deployedBytecode": "0x",
|
|
445
|
+
"linkReferences": {},
|
|
446
|
+
"deployedLinkReferences": {}
|
|
447
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "ILayerZeroMessagingLibrary",
|
|
4
|
+
"sourceName": "contracts/interfaces/ILayerZeroMessagingLibrary.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
8
|
+
{
|
|
9
|
+
"internalType": "uint16",
|
|
10
|
+
"name": "_chainId",
|
|
11
|
+
"type": "uint16"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"internalType": "address",
|
|
15
|
+
"name": "_userApplication",
|
|
16
|
+
"type": "address"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"internalType": "bytes",
|
|
20
|
+
"name": "_payload",
|
|
21
|
+
"type": "bytes"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "bool",
|
|
25
|
+
"name": "_payInZRO",
|
|
26
|
+
"type": "bool"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"internalType": "bytes",
|
|
30
|
+
"name": "_adapterParam",
|
|
31
|
+
"type": "bytes"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"name": "estimateFees",
|
|
35
|
+
"outputs": [
|
|
36
|
+
{
|
|
37
|
+
"internalType": "uint256",
|
|
38
|
+
"name": "nativeFee",
|
|
39
|
+
"type": "uint256"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"internalType": "uint256",
|
|
43
|
+
"name": "zroFee",
|
|
44
|
+
"type": "uint256"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"stateMutability": "view",
|
|
48
|
+
"type": "function"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"inputs": [
|
|
52
|
+
{
|
|
53
|
+
"internalType": "uint16",
|
|
54
|
+
"name": "_chainId",
|
|
55
|
+
"type": "uint16"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"internalType": "address",
|
|
59
|
+
"name": "_userApplication",
|
|
60
|
+
"type": "address"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"internalType": "uint256",
|
|
64
|
+
"name": "_configType",
|
|
65
|
+
"type": "uint256"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"name": "getConfig",
|
|
69
|
+
"outputs": [
|
|
70
|
+
{
|
|
71
|
+
"internalType": "bytes",
|
|
72
|
+
"name": "",
|
|
73
|
+
"type": "bytes"
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"stateMutability": "view",
|
|
77
|
+
"type": "function"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"inputs": [
|
|
81
|
+
{
|
|
82
|
+
"internalType": "address",
|
|
83
|
+
"name": "_userApplication",
|
|
84
|
+
"type": "address"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"internalType": "uint64",
|
|
88
|
+
"name": "_lastNonce",
|
|
89
|
+
"type": "uint64"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"internalType": "uint16",
|
|
93
|
+
"name": "_chainId",
|
|
94
|
+
"type": "uint16"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"internalType": "bytes",
|
|
98
|
+
"name": "_destination",
|
|
99
|
+
"type": "bytes"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"internalType": "bytes",
|
|
103
|
+
"name": "_payload",
|
|
104
|
+
"type": "bytes"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"internalType": "address payable",
|
|
108
|
+
"name": "refundAddress",
|
|
109
|
+
"type": "address"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"internalType": "address",
|
|
113
|
+
"name": "_zroPaymentAddress",
|
|
114
|
+
"type": "address"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"internalType": "bytes",
|
|
118
|
+
"name": "_adapterParams",
|
|
119
|
+
"type": "bytes"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"name": "send",
|
|
123
|
+
"outputs": [],
|
|
124
|
+
"stateMutability": "payable",
|
|
125
|
+
"type": "function"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"inputs": [
|
|
129
|
+
{
|
|
130
|
+
"internalType": "uint16",
|
|
131
|
+
"name": "_chainId",
|
|
132
|
+
"type": "uint16"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"internalType": "address",
|
|
136
|
+
"name": "_userApplication",
|
|
137
|
+
"type": "address"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"internalType": "uint256",
|
|
141
|
+
"name": "_configType",
|
|
142
|
+
"type": "uint256"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"internalType": "bytes",
|
|
146
|
+
"name": "_config",
|
|
147
|
+
"type": "bytes"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"name": "setConfig",
|
|
151
|
+
"outputs": [],
|
|
152
|
+
"stateMutability": "nonpayable",
|
|
153
|
+
"type": "function"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"bytecode": "0x",
|
|
157
|
+
"deployedBytecode": "0x",
|
|
158
|
+
"linkReferences": {},
|
|
159
|
+
"deployedLinkReferences": {}
|
|
160
|
+
}
|