@layerzerolabs/lz-evm-sdk-v1 1.5.6 → 1.5.7
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/artifacts/contracts/UltraLightNodeV2.sol/UltraLightNodeV2.json +2 -2
- package/package.json +2 -2
- package/artifacts/contracts/interfaces/IContractOne.sol/IContractOne.dbg.json +0 -4
- package/artifacts/contracts/interfaces/IContractOne.sol/IContractOne.json +0 -24
- package/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +0 -4
- package/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.json +0 -447
- package/artifacts/contracts/interfaces/ILayerZeroMessagingLibrary.sol/ILayerZeroMessagingLibrary.dbg.json +0 -4
- package/artifacts/contracts/interfaces/ILayerZeroMessagingLibrary.sol/ILayerZeroMessagingLibrary.json +0 -160
- package/artifacts/contracts/interfaces/ILayerZeroMessagingLibraryV2.sol/ILayerZeroMessagingLibraryV2.dbg.json +0 -4
- package/artifacts/contracts/interfaces/ILayerZeroMessagingLibraryV2.sol/ILayerZeroMessagingLibraryV2.json +0 -184
- package/artifacts/contracts/interfaces/ILayerZeroOracle.sol/ILayerZeroOracle.dbg.json +0 -4
- package/artifacts/contracts/interfaces/ILayerZeroOracle.sol/ILayerZeroOracle.json +0 -77
- package/artifacts/contracts/interfaces/ILayerZeroOracleV2.sol/ILayerZeroOracleV2.dbg.json +0 -4
- package/artifacts/contracts/interfaces/ILayerZeroOracleV2.sol/ILayerZeroOracleV2.json +0 -97
- package/artifacts/contracts/interfaces/ILayerZeroPriceFeed.sol/ILayerZeroPriceFeed.dbg.json +0 -4
- package/artifacts/contracts/interfaces/ILayerZeroPriceFeed.sol/ILayerZeroPriceFeed.json +0 -107
- package/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +0 -4
- package/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +0 -39
- package/artifacts/contracts/interfaces/ILayerZeroRelayer.sol/ILayerZeroRelayer.dbg.json +0 -4
- package/artifacts/contracts/interfaces/ILayerZeroRelayer.sol/ILayerZeroRelayer.json +0 -92
- package/artifacts/contracts/interfaces/ILayerZeroRelayerV2.sol/ILayerZeroRelayerV2.dbg.json +0 -4
- package/artifacts/contracts/interfaces/ILayerZeroRelayerV2.sol/ILayerZeroRelayerV2.json +0 -107
- package/artifacts/contracts/interfaces/ILayerZeroRelayerV2PriceData.sol/ILayerZeroRelayerV2PriceData.dbg.json +0 -4
- package/artifacts/contracts/interfaces/ILayerZeroRelayerV2PriceData.sol/ILayerZeroRelayerV2PriceData.json +0 -83
- package/artifacts/contracts/interfaces/ILayerZeroTreasury.sol/ILayerZeroTreasury.dbg.json +0 -4
- package/artifacts/contracts/interfaces/ILayerZeroTreasury.sol/ILayerZeroTreasury.json +0 -40
- package/artifacts/contracts/interfaces/ILayerZeroUltraLightNodeV1.sol/ILayerZeroUltraLightNodeV1.dbg.json +0 -4
- package/artifacts/contracts/interfaces/ILayerZeroUltraLightNodeV1.sol/ILayerZeroUltraLightNodeV1.json +0 -156
- package/artifacts/contracts/interfaces/ILayerZeroUltraLightNodeV2.sol/ILayerZeroUltraLightNodeV2.dbg.json +0 -4
- package/artifacts/contracts/interfaces/ILayerZeroUltraLightNodeV2.sol/ILayerZeroUltraLightNodeV2.json +0 -582
- package/artifacts/contracts/interfaces/ILayerZeroUserApplicationConfig.sol/ILayerZeroUserApplicationConfig.dbg.json +0 -4
- package/artifacts/contracts/interfaces/ILayerZeroUserApplicationConfig.sol/ILayerZeroUserApplicationConfig.json +0 -83
- package/artifacts/contracts/interfaces/ILayerZeroValidationLibrary.sol/ILayerZeroValidationLibrary.dbg.json +0 -4
- package/artifacts/contracts/interfaces/ILayerZeroValidationLibrary.sol/ILayerZeroValidationLibrary.json +0 -77
- package/artifacts/contracts/interfaces/IValidationLibraryHelper.sol/IValidationLibraryHelper.dbg.json +0 -4
- package/artifacts/contracts/interfaces/IValidationLibraryHelper.sol/IValidationLibraryHelper.json +0 -146
- package/artifacts/contracts/interfaces/IValidationLibraryHelperV2.sol/IValidationLibraryHelperV2.dbg.json +0 -4
- package/artifacts/contracts/interfaces/IValidationLibraryHelperV2.sol/IValidationLibraryHelperV2.json +0 -154
- package/artifacts/contracts/proof/FPValidator.sol/FPValidator.dbg.json +0 -4
- package/artifacts/contracts/proof/FPValidator.sol/FPValidator.json +0 -326
- package/artifacts/contracts/proof/FPValidator.sol/IStargate.dbg.json +0 -4
- package/artifacts/contracts/proof/FPValidator.sol/IStargate.json +0 -10
- package/artifacts/contracts/proof/MPTValidator.sol/MPTValidator.dbg.json +0 -4
- package/artifacts/contracts/proof/MPTValidator.sol/MPTValidator.json +0 -146
- package/artifacts/contracts/proof/MPTValidator01.sol/IStargate.dbg.json +0 -4
- package/artifacts/contracts/proof/MPTValidator01.sol/IStargate.json +0 -10
- package/artifacts/contracts/proof/MPTValidator01.sol/MPTValidator01.dbg.json +0 -4
- package/artifacts/contracts/proof/MPTValidator01.sol/MPTValidator01.json +0 -339
- package/artifacts/contracts/proof/MPTValidatorStgV3.sol/MPTValidatorStgV3.dbg.json +0 -4
- package/artifacts/contracts/proof/MPTValidatorStgV3.sol/MPTValidatorStgV3.json +0 -310
- package/artifacts/contracts/proof/MPTValidatorV2.sol/MPTValidatorV2.dbg.json +0 -4
- package/artifacts/contracts/proof/MPTValidatorV2.sol/MPTValidatorV2.json +0 -212
- package/artifacts/contracts/proof/MPTValidatorV4.sol/IStargate.dbg.json +0 -4
- package/artifacts/contracts/proof/MPTValidatorV4.sol/IStargate.json +0 -10
- package/artifacts/contracts/proof/MPTValidatorV4.sol/IUltraLightNode.dbg.json +0 -4
- package/artifacts/contracts/proof/MPTValidatorV4.sol/IUltraLightNode.json +0 -108
- package/artifacts/contracts/proof/MPTValidatorV4.sol/MPTValidatorV4.dbg.json +0 -4
- package/artifacts/contracts/proof/MPTValidatorV4.sol/MPTValidatorV4.json +0 -414
- package/artifacts/contracts/proof/MPTValidatorV5.sol/IStargate.dbg.json +0 -4
- package/artifacts/contracts/proof/MPTValidatorV5.sol/IStargate.json +0 -10
- package/artifacts/contracts/proof/MPTValidatorV5.sol/IUltraLightNode.dbg.json +0 -4
- package/artifacts/contracts/proof/MPTValidatorV5.sol/IUltraLightNode.json +0 -108
- package/artifacts/contracts/proof/MPTValidatorV5.sol/MPTValidatorV5.dbg.json +0 -4
- package/artifacts/contracts/proof/MPTValidatorV5.sol/MPTValidatorV5.json +0 -432
- package/artifacts/contracts/proof/utility/Buffer.sol/Buffer.dbg.json +0 -4
- package/artifacts/contracts/proof/utility/Buffer.sol/Buffer.json +0 -10
- package/artifacts/contracts/proof/utility/LayerZeroPacket.sol/LayerZeroPacket.dbg.json +0 -4
- package/artifacts/contracts/proof/utility/LayerZeroPacket.sol/LayerZeroPacket.json +0 -10
- package/artifacts/contracts/proof/utility/RLPDecode.sol/RLPDecode.dbg.json +0 -4
- package/artifacts/contracts/proof/utility/RLPDecode.sol/RLPDecode.json +0 -10
- package/artifacts/contracts/proof/utility/UltraLightNodeEVMDecoder.sol/UltraLightNodeEVMDecoder.dbg.json +0 -4
- package/artifacts/contracts/proof/utility/UltraLightNodeEVMDecoder.sol/UltraLightNodeEVMDecoder.json +0 -10
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "ILayerZeroMessagingLibraryV2",
|
|
4
|
-
"sourceName": "contracts/interfaces/ILayerZeroMessagingLibraryV2.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": "uint16",
|
|
83
|
-
"name": "_chainId",
|
|
84
|
-
"type": "uint16"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"internalType": "bytes",
|
|
88
|
-
"name": "_path",
|
|
89
|
-
"type": "bytes"
|
|
90
|
-
}
|
|
91
|
-
],
|
|
92
|
-
"name": "getOutboundNonce",
|
|
93
|
-
"outputs": [
|
|
94
|
-
{
|
|
95
|
-
"internalType": "uint64",
|
|
96
|
-
"name": "",
|
|
97
|
-
"type": "uint64"
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
"stateMutability": "view",
|
|
101
|
-
"type": "function"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"inputs": [
|
|
105
|
-
{
|
|
106
|
-
"internalType": "address",
|
|
107
|
-
"name": "_userApplication",
|
|
108
|
-
"type": "address"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"internalType": "uint64",
|
|
112
|
-
"name": "_lastNonce",
|
|
113
|
-
"type": "uint64"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"internalType": "uint16",
|
|
117
|
-
"name": "_chainId",
|
|
118
|
-
"type": "uint16"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"internalType": "bytes",
|
|
122
|
-
"name": "_destination",
|
|
123
|
-
"type": "bytes"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"internalType": "bytes",
|
|
127
|
-
"name": "_payload",
|
|
128
|
-
"type": "bytes"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"internalType": "address payable",
|
|
132
|
-
"name": "refundAddress",
|
|
133
|
-
"type": "address"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"internalType": "address",
|
|
137
|
-
"name": "_zroPaymentAddress",
|
|
138
|
-
"type": "address"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"internalType": "bytes",
|
|
142
|
-
"name": "_adapterParams",
|
|
143
|
-
"type": "bytes"
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"name": "send",
|
|
147
|
-
"outputs": [],
|
|
148
|
-
"stateMutability": "payable",
|
|
149
|
-
"type": "function"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"inputs": [
|
|
153
|
-
{
|
|
154
|
-
"internalType": "uint16",
|
|
155
|
-
"name": "_chainId",
|
|
156
|
-
"type": "uint16"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"internalType": "address",
|
|
160
|
-
"name": "_userApplication",
|
|
161
|
-
"type": "address"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"internalType": "uint256",
|
|
165
|
-
"name": "_configType",
|
|
166
|
-
"type": "uint256"
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"internalType": "bytes",
|
|
170
|
-
"name": "_config",
|
|
171
|
-
"type": "bytes"
|
|
172
|
-
}
|
|
173
|
-
],
|
|
174
|
-
"name": "setConfig",
|
|
175
|
-
"outputs": [],
|
|
176
|
-
"stateMutability": "nonpayable",
|
|
177
|
-
"type": "function"
|
|
178
|
-
}
|
|
179
|
-
],
|
|
180
|
-
"bytecode": "0x",
|
|
181
|
-
"deployedBytecode": "0x",
|
|
182
|
-
"linkReferences": {},
|
|
183
|
-
"deployedLinkReferences": {}
|
|
184
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "ILayerZeroOracle",
|
|
4
|
-
"sourceName": "contracts/interfaces/ILayerZeroOracle.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"internalType": "uint16",
|
|
10
|
-
"name": "_dstChainId",
|
|
11
|
-
"type": "uint16"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"internalType": "uint16",
|
|
15
|
-
"name": "_outboundProofType",
|
|
16
|
-
"type": "uint16"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"name": "getPrice",
|
|
20
|
-
"outputs": [
|
|
21
|
-
{
|
|
22
|
-
"internalType": "uint256",
|
|
23
|
-
"name": "price",
|
|
24
|
-
"type": "uint256"
|
|
25
|
-
}
|
|
26
|
-
],
|
|
27
|
-
"stateMutability": "view",
|
|
28
|
-
"type": "function"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"inputs": [
|
|
32
|
-
{
|
|
33
|
-
"internalType": "address",
|
|
34
|
-
"name": "_address",
|
|
35
|
-
"type": "address"
|
|
36
|
-
}
|
|
37
|
-
],
|
|
38
|
-
"name": "isApproved",
|
|
39
|
-
"outputs": [
|
|
40
|
-
{
|
|
41
|
-
"internalType": "bool",
|
|
42
|
-
"name": "approved",
|
|
43
|
-
"type": "bool"
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
"stateMutability": "view",
|
|
47
|
-
"type": "function"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"inputs": [
|
|
51
|
-
{
|
|
52
|
-
"internalType": "uint16",
|
|
53
|
-
"name": "_dstChainId",
|
|
54
|
-
"type": "uint16"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"internalType": "uint16",
|
|
58
|
-
"name": "_outboundProofType",
|
|
59
|
-
"type": "uint16"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"internalType": "uint64",
|
|
63
|
-
"name": "_outboundBlockConfirmations",
|
|
64
|
-
"type": "uint64"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"name": "notifyOracle",
|
|
68
|
-
"outputs": [],
|
|
69
|
-
"stateMutability": "nonpayable",
|
|
70
|
-
"type": "function"
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"bytecode": "0x",
|
|
74
|
-
"deployedBytecode": "0x",
|
|
75
|
-
"linkReferences": {},
|
|
76
|
-
"deployedLinkReferences": {}
|
|
77
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "ILayerZeroOracleV2",
|
|
4
|
-
"sourceName": "contracts/interfaces/ILayerZeroOracleV2.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"internalType": "uint16",
|
|
10
|
-
"name": "_dstChainId",
|
|
11
|
-
"type": "uint16"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"internalType": "uint16",
|
|
15
|
-
"name": "_outboundProofType",
|
|
16
|
-
"type": "uint16"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"internalType": "uint64",
|
|
20
|
-
"name": "_outboundBlockConfirmation",
|
|
21
|
-
"type": "uint64"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"internalType": "address",
|
|
25
|
-
"name": "_userApplication",
|
|
26
|
-
"type": "address"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"name": "assignJob",
|
|
30
|
-
"outputs": [
|
|
31
|
-
{
|
|
32
|
-
"internalType": "uint256",
|
|
33
|
-
"name": "price",
|
|
34
|
-
"type": "uint256"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"stateMutability": "nonpayable",
|
|
38
|
-
"type": "function"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"inputs": [
|
|
42
|
-
{
|
|
43
|
-
"internalType": "uint16",
|
|
44
|
-
"name": "_dstChainId",
|
|
45
|
-
"type": "uint16"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"internalType": "uint16",
|
|
49
|
-
"name": "_outboundProofType",
|
|
50
|
-
"type": "uint16"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"internalType": "uint64",
|
|
54
|
-
"name": "_outboundBlockConfirmation",
|
|
55
|
-
"type": "uint64"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"internalType": "address",
|
|
59
|
-
"name": "_userApplication",
|
|
60
|
-
"type": "address"
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
"name": "getFee",
|
|
64
|
-
"outputs": [
|
|
65
|
-
{
|
|
66
|
-
"internalType": "uint256",
|
|
67
|
-
"name": "price",
|
|
68
|
-
"type": "uint256"
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
"stateMutability": "view",
|
|
72
|
-
"type": "function"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"inputs": [
|
|
76
|
-
{
|
|
77
|
-
"internalType": "address payable",
|
|
78
|
-
"name": "_to",
|
|
79
|
-
"type": "address"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"internalType": "uint256",
|
|
83
|
-
"name": "_amount",
|
|
84
|
-
"type": "uint256"
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
|
-
"name": "withdrawFee",
|
|
88
|
-
"outputs": [],
|
|
89
|
-
"stateMutability": "nonpayable",
|
|
90
|
-
"type": "function"
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"bytecode": "0x",
|
|
94
|
-
"deployedBytecode": "0x",
|
|
95
|
-
"linkReferences": {},
|
|
96
|
-
"deployedLinkReferences": {}
|
|
97
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "ILayerZeroPriceFeed",
|
|
4
|
-
"sourceName": "contracts/interfaces/ILayerZeroPriceFeed.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"internalType": "uint16",
|
|
10
|
-
"name": "_dstChainId",
|
|
11
|
-
"type": "uint16"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"internalType": "uint256",
|
|
15
|
-
"name": "_callDataSize",
|
|
16
|
-
"type": "uint256"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"internalType": "uint256",
|
|
20
|
-
"name": "_gas",
|
|
21
|
-
"type": "uint256"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"name": "estimateFeeByChain",
|
|
25
|
-
"outputs": [
|
|
26
|
-
{
|
|
27
|
-
"internalType": "uint256",
|
|
28
|
-
"name": "fee",
|
|
29
|
-
"type": "uint256"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"internalType": "uint128",
|
|
33
|
-
"name": "priceRatio",
|
|
34
|
-
"type": "uint128"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"stateMutability": "view",
|
|
38
|
-
"type": "function"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"inputs": [
|
|
42
|
-
{
|
|
43
|
-
"internalType": "uint16",
|
|
44
|
-
"name": "_dstChainId",
|
|
45
|
-
"type": "uint16"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"name": "getPrice",
|
|
49
|
-
"outputs": [
|
|
50
|
-
{
|
|
51
|
-
"components": [
|
|
52
|
-
{
|
|
53
|
-
"internalType": "uint128",
|
|
54
|
-
"name": "priceRatio",
|
|
55
|
-
"type": "uint128"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"internalType": "uint64",
|
|
59
|
-
"name": "gasPriceInUnit",
|
|
60
|
-
"type": "uint64"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"internalType": "uint32",
|
|
64
|
-
"name": "gasPerByte",
|
|
65
|
-
"type": "uint32"
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
"internalType": "struct ILayerZeroPriceFeed.Price",
|
|
69
|
-
"name": "",
|
|
70
|
-
"type": "tuple"
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"stateMutability": "view",
|
|
74
|
-
"type": "function"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"inputs": [],
|
|
78
|
-
"name": "getPriceRatioDenominator",
|
|
79
|
-
"outputs": [
|
|
80
|
-
{
|
|
81
|
-
"internalType": "uint128",
|
|
82
|
-
"name": "",
|
|
83
|
-
"type": "uint128"
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
"stateMutability": "view",
|
|
87
|
-
"type": "function"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"inputs": [],
|
|
91
|
-
"name": "nativeTokenPriceUSD",
|
|
92
|
-
"outputs": [
|
|
93
|
-
{
|
|
94
|
-
"internalType": "uint128",
|
|
95
|
-
"name": "",
|
|
96
|
-
"type": "uint128"
|
|
97
|
-
}
|
|
98
|
-
],
|
|
99
|
-
"stateMutability": "view",
|
|
100
|
-
"type": "function"
|
|
101
|
-
}
|
|
102
|
-
],
|
|
103
|
-
"bytecode": "0x",
|
|
104
|
-
"deployedBytecode": "0x",
|
|
105
|
-
"linkReferences": {},
|
|
106
|
-
"deployedLinkReferences": {}
|
|
107
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "ILayerZeroReceiver",
|
|
4
|
-
"sourceName": "contracts/interfaces/ILayerZeroReceiver.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"internalType": "uint16",
|
|
10
|
-
"name": "_srcChainId",
|
|
11
|
-
"type": "uint16"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"internalType": "bytes",
|
|
15
|
-
"name": "_srcAddress",
|
|
16
|
-
"type": "bytes"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"internalType": "uint64",
|
|
20
|
-
"name": "_nonce",
|
|
21
|
-
"type": "uint64"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"internalType": "bytes",
|
|
25
|
-
"name": "_payload",
|
|
26
|
-
"type": "bytes"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"name": "lzReceive",
|
|
30
|
-
"outputs": [],
|
|
31
|
-
"stateMutability": "nonpayable",
|
|
32
|
-
"type": "function"
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
"bytecode": "0x",
|
|
36
|
-
"deployedBytecode": "0x",
|
|
37
|
-
"linkReferences": {},
|
|
38
|
-
"deployedLinkReferences": {}
|
|
39
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "ILayerZeroRelayer",
|
|
4
|
-
"sourceName": "contracts/interfaces/ILayerZeroRelayer.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"internalType": "uint16",
|
|
10
|
-
"name": "_dstChainId",
|
|
11
|
-
"type": "uint16"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"internalType": "uint16",
|
|
15
|
-
"name": "_outboundProofType",
|
|
16
|
-
"type": "uint16"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"internalType": "address",
|
|
20
|
-
"name": "_userApplication",
|
|
21
|
-
"type": "address"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"internalType": "uint256",
|
|
25
|
-
"name": "_payloadSize",
|
|
26
|
-
"type": "uint256"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"internalType": "bytes",
|
|
30
|
-
"name": "_adapterParams",
|
|
31
|
-
"type": "bytes"
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
"name": "getPrice",
|
|
35
|
-
"outputs": [
|
|
36
|
-
{
|
|
37
|
-
"internalType": "uint256",
|
|
38
|
-
"name": "price",
|
|
39
|
-
"type": "uint256"
|
|
40
|
-
}
|
|
41
|
-
],
|
|
42
|
-
"stateMutability": "view",
|
|
43
|
-
"type": "function"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"inputs": [
|
|
47
|
-
{
|
|
48
|
-
"internalType": "address",
|
|
49
|
-
"name": "_address",
|
|
50
|
-
"type": "address"
|
|
51
|
-
}
|
|
52
|
-
],
|
|
53
|
-
"name": "isApproved",
|
|
54
|
-
"outputs": [
|
|
55
|
-
{
|
|
56
|
-
"internalType": "bool",
|
|
57
|
-
"name": "approved",
|
|
58
|
-
"type": "bool"
|
|
59
|
-
}
|
|
60
|
-
],
|
|
61
|
-
"stateMutability": "view",
|
|
62
|
-
"type": "function"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"inputs": [
|
|
66
|
-
{
|
|
67
|
-
"internalType": "uint16",
|
|
68
|
-
"name": "_dstChainId",
|
|
69
|
-
"type": "uint16"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"internalType": "uint16",
|
|
73
|
-
"name": "_outboundProofType",
|
|
74
|
-
"type": "uint16"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"internalType": "bytes",
|
|
78
|
-
"name": "_adapterParams",
|
|
79
|
-
"type": "bytes"
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
|
-
"name": "notifyRelayer",
|
|
83
|
-
"outputs": [],
|
|
84
|
-
"stateMutability": "nonpayable",
|
|
85
|
-
"type": "function"
|
|
86
|
-
}
|
|
87
|
-
],
|
|
88
|
-
"bytecode": "0x",
|
|
89
|
-
"deployedBytecode": "0x",
|
|
90
|
-
"linkReferences": {},
|
|
91
|
-
"deployedLinkReferences": {}
|
|
92
|
-
}
|