@layerzerolabs/lz-evm-sdk-v1 1.5.7 → 1.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/artifacts/contracts/interfaces/IContractOne.sol/IContractOne.json +24 -0
  2. package/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.json +447 -0
  3. package/artifacts/contracts/interfaces/ILayerZeroMessagingLibrary.sol/ILayerZeroMessagingLibrary.json +160 -0
  4. package/artifacts/contracts/interfaces/ILayerZeroMessagingLibraryV2.sol/ILayerZeroMessagingLibraryV2.json +184 -0
  5. package/artifacts/contracts/interfaces/ILayerZeroOracle.sol/ILayerZeroOracle.json +77 -0
  6. package/artifacts/contracts/interfaces/ILayerZeroOracleV2.sol/ILayerZeroOracleV2.json +97 -0
  7. package/artifacts/contracts/interfaces/ILayerZeroPriceFeed.sol/ILayerZeroPriceFeed.json +107 -0
  8. package/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +39 -0
  9. package/artifacts/contracts/interfaces/ILayerZeroRelayer.sol/ILayerZeroRelayer.json +92 -0
  10. package/artifacts/contracts/interfaces/ILayerZeroRelayerV2.sol/ILayerZeroRelayerV2.json +107 -0
  11. package/artifacts/contracts/interfaces/ILayerZeroRelayerV2PriceData.sol/ILayerZeroRelayerV2PriceData.json +83 -0
  12. package/artifacts/contracts/interfaces/ILayerZeroTreasury.sol/ILayerZeroTreasury.json +40 -0
  13. package/artifacts/contracts/interfaces/ILayerZeroUltraLightNodeV1.sol/ILayerZeroUltraLightNodeV1.json +156 -0
  14. package/artifacts/contracts/interfaces/ILayerZeroUltraLightNodeV2.sol/ILayerZeroUltraLightNodeV2.json +582 -0
  15. package/artifacts/contracts/interfaces/ILayerZeroUserApplicationConfig.sol/ILayerZeroUserApplicationConfig.json +83 -0
  16. package/artifacts/contracts/interfaces/ILayerZeroValidationLibrary.sol/ILayerZeroValidationLibrary.json +77 -0
  17. package/artifacts/contracts/interfaces/IValidationLibraryHelper.sol/IValidationLibraryHelper.json +146 -0
  18. package/artifacts/contracts/interfaces/IValidationLibraryHelperV2.sol/IValidationLibraryHelperV2.json +154 -0
  19. package/artifacts/contracts/proof/FPValidator.sol/FPValidator.json +326 -0
  20. package/artifacts/contracts/proof/FPValidator.sol/IStargate.json +10 -0
  21. package/artifacts/contracts/proof/MPTValidator.sol/MPTValidator.json +146 -0
  22. package/artifacts/contracts/proof/MPTValidator01.sol/IStargate.json +10 -0
  23. package/artifacts/contracts/proof/MPTValidator01.sol/MPTValidator01.json +339 -0
  24. package/artifacts/contracts/proof/MPTValidatorStgV3.sol/MPTValidatorStgV3.json +310 -0
  25. package/artifacts/contracts/proof/MPTValidatorV2.sol/MPTValidatorV2.json +212 -0
  26. package/artifacts/contracts/proof/MPTValidatorV4.sol/IStargate.json +10 -0
  27. package/artifacts/contracts/proof/MPTValidatorV4.sol/IUltraLightNode.json +108 -0
  28. package/artifacts/contracts/proof/MPTValidatorV4.sol/MPTValidatorV4.json +414 -0
  29. package/artifacts/contracts/proof/MPTValidatorV5.sol/IStargate.json +10 -0
  30. package/artifacts/contracts/proof/MPTValidatorV5.sol/IUltraLightNode.json +108 -0
  31. package/artifacts/contracts/proof/MPTValidatorV5.sol/MPTValidatorV5.json +432 -0
  32. package/artifacts/contracts/proof/utility/Buffer.sol/Buffer.json +10 -0
  33. package/artifacts/contracts/proof/utility/LayerZeroPacket.sol/LayerZeroPacket.json +10 -0
  34. package/artifacts/contracts/proof/utility/RLPDecode.sol/RLPDecode.json +10 -0
  35. package/artifacts/contracts/proof/utility/UltraLightNodeEVMDecoder.sol/UltraLightNodeEVMDecoder.json +10 -0
  36. package/package.json +8 -4
@@ -0,0 +1,83 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ILayerZeroRelayerV2PriceData",
4
+ "sourceName": "contracts/interfaces/ILayerZeroRelayerV2PriceData.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "uint16",
10
+ "name": "_chainId",
11
+ "type": "uint16"
12
+ },
13
+ {
14
+ "internalType": "uint16",
15
+ "name": "_outboundProofType",
16
+ "type": "uint16"
17
+ }
18
+ ],
19
+ "name": "dstConfigLookup",
20
+ "outputs": [
21
+ {
22
+ "components": [
23
+ {
24
+ "internalType": "uint128",
25
+ "name": "dstNativeAmtCap",
26
+ "type": "uint128"
27
+ },
28
+ {
29
+ "internalType": "uint64",
30
+ "name": "baseGas",
31
+ "type": "uint64"
32
+ },
33
+ {
34
+ "internalType": "uint64",
35
+ "name": "gasPerByte",
36
+ "type": "uint64"
37
+ }
38
+ ],
39
+ "internalType": "struct ILayerZeroRelayerV2PriceData.DstConfig",
40
+ "name": "",
41
+ "type": "tuple"
42
+ }
43
+ ],
44
+ "stateMutability": "view",
45
+ "type": "function"
46
+ },
47
+ {
48
+ "inputs": [
49
+ {
50
+ "internalType": "uint16",
51
+ "name": "_chainId",
52
+ "type": "uint16"
53
+ }
54
+ ],
55
+ "name": "dstPriceLookup",
56
+ "outputs": [
57
+ {
58
+ "components": [
59
+ {
60
+ "internalType": "uint128",
61
+ "name": "dstPriceRatio",
62
+ "type": "uint128"
63
+ },
64
+ {
65
+ "internalType": "uint128",
66
+ "name": "dstGasPriceInWei",
67
+ "type": "uint128"
68
+ }
69
+ ],
70
+ "internalType": "struct ILayerZeroRelayerV2PriceData.DstPrice",
71
+ "name": "",
72
+ "type": "tuple"
73
+ }
74
+ ],
75
+ "stateMutability": "view",
76
+ "type": "function"
77
+ }
78
+ ],
79
+ "bytecode": "0x",
80
+ "deployedBytecode": "0x",
81
+ "linkReferences": {},
82
+ "deployedLinkReferences": {}
83
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ILayerZeroTreasury",
4
+ "sourceName": "contracts/interfaces/ILayerZeroTreasury.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "bool",
10
+ "name": "payInZro",
11
+ "type": "bool"
12
+ },
13
+ {
14
+ "internalType": "uint256",
15
+ "name": "relayerFee",
16
+ "type": "uint256"
17
+ },
18
+ {
19
+ "internalType": "uint256",
20
+ "name": "oracleFee",
21
+ "type": "uint256"
22
+ }
23
+ ],
24
+ "name": "getFees",
25
+ "outputs": [
26
+ {
27
+ "internalType": "uint256",
28
+ "name": "",
29
+ "type": "uint256"
30
+ }
31
+ ],
32
+ "stateMutability": "view",
33
+ "type": "function"
34
+ }
35
+ ],
36
+ "bytecode": "0x",
37
+ "deployedBytecode": "0x",
38
+ "linkReferences": {},
39
+ "deployedLinkReferences": {}
40
+ }
@@ -0,0 +1,156 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ILayerZeroUltraLightNodeV1",
4
+ "sourceName": "contracts/interfaces/ILayerZeroUltraLightNodeV1.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "_oracle",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "oracleQuotedAmount",
15
+ "outputs": [
16
+ {
17
+ "internalType": "uint256",
18
+ "name": "",
19
+ "type": "uint256"
20
+ }
21
+ ],
22
+ "stateMutability": "view",
23
+ "type": "function"
24
+ },
25
+ {
26
+ "inputs": [
27
+ {
28
+ "internalType": "address",
29
+ "name": "_relayer",
30
+ "type": "address"
31
+ }
32
+ ],
33
+ "name": "relayerQuotedAmount",
34
+ "outputs": [
35
+ {
36
+ "internalType": "uint256",
37
+ "name": "",
38
+ "type": "uint256"
39
+ }
40
+ ],
41
+ "stateMutability": "view",
42
+ "type": "function"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "uint16",
48
+ "name": "_remoteChainId",
49
+ "type": "uint16"
50
+ },
51
+ {
52
+ "internalType": "bytes32",
53
+ "name": "_lookupHash",
54
+ "type": "bytes32"
55
+ },
56
+ {
57
+ "internalType": "uint256",
58
+ "name": "_confirmations",
59
+ "type": "uint256"
60
+ },
61
+ {
62
+ "internalType": "bytes32",
63
+ "name": "_data",
64
+ "type": "bytes32"
65
+ }
66
+ ],
67
+ "name": "updateHash",
68
+ "outputs": [],
69
+ "stateMutability": "nonpayable",
70
+ "type": "function"
71
+ },
72
+ {
73
+ "inputs": [
74
+ {
75
+ "internalType": "uint16",
76
+ "name": "_srcChainId",
77
+ "type": "uint16"
78
+ },
79
+ {
80
+ "internalType": "address",
81
+ "name": "_dstAddress",
82
+ "type": "address"
83
+ },
84
+ {
85
+ "internalType": "uint256",
86
+ "name": "_gasLimit",
87
+ "type": "uint256"
88
+ },
89
+ {
90
+ "internalType": "bytes32",
91
+ "name": "_lookupHash",
92
+ "type": "bytes32"
93
+ },
94
+ {
95
+ "internalType": "bytes",
96
+ "name": "_transactionProof",
97
+ "type": "bytes"
98
+ }
99
+ ],
100
+ "name": "validateTransactionProof",
101
+ "outputs": [],
102
+ "stateMutability": "nonpayable",
103
+ "type": "function"
104
+ },
105
+ {
106
+ "inputs": [
107
+ {
108
+ "internalType": "uint8",
109
+ "name": "_type",
110
+ "type": "uint8"
111
+ },
112
+ {
113
+ "internalType": "address",
114
+ "name": "_owner",
115
+ "type": "address"
116
+ },
117
+ {
118
+ "internalType": "address payable",
119
+ "name": "_to",
120
+ "type": "address"
121
+ },
122
+ {
123
+ "internalType": "uint256",
124
+ "name": "_amount",
125
+ "type": "uint256"
126
+ }
127
+ ],
128
+ "name": "withdrawNative",
129
+ "outputs": [],
130
+ "stateMutability": "nonpayable",
131
+ "type": "function"
132
+ },
133
+ {
134
+ "inputs": [
135
+ {
136
+ "internalType": "address",
137
+ "name": "_to",
138
+ "type": "address"
139
+ },
140
+ {
141
+ "internalType": "uint256",
142
+ "name": "_amount",
143
+ "type": "uint256"
144
+ }
145
+ ],
146
+ "name": "withdrawZRO",
147
+ "outputs": [],
148
+ "stateMutability": "nonpayable",
149
+ "type": "function"
150
+ }
151
+ ],
152
+ "bytecode": "0x",
153
+ "deployedBytecode": "0x",
154
+ "linkReferences": {},
155
+ "deployedLinkReferences": {}
156
+ }