@layerzerolabs/lz-evm-sdk-v1 1.5.21 → 1.5.22
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 +16 -16
- package/deployments/ethereum-sandbox-local/Endpoint.json +14 -14
- package/deployments/ethereum-sandbox-local/FPValidator.json +7 -7
- package/deployments/ethereum-sandbox-local/MPTValidator01.json +7 -7
- package/deployments/ethereum-sandbox-local/NonceContract.json +5 -5
- package/deployments/ethereum-sandbox-local/PriceFeed.json +24 -24
- package/deployments/ethereum-sandbox-local/PriceFeed_Implementation.json +18 -18
- package/deployments/ethereum-sandbox-local/PriceFeed_Proxy.json +23 -23
- package/deployments/ethereum-sandbox-local/RelayerV2.json +45 -32
- package/deployments/ethereum-sandbox-local/RelayerV2_Implementation.json +59 -46
- package/deployments/ethereum-sandbox-local/RelayerV2_Proxy.json +29 -29
- package/deployments/ethereum-sandbox-local/TreasuryV2.json +15 -15
- package/deployments/ethereum-sandbox-local/UltraLightNodeV2.json +36 -36
- package/deployments/polygon-sandbox-local/DefaultProxyAdmin.json +16 -16
- package/deployments/polygon-sandbox-local/Endpoint.json +14 -14
- package/deployments/polygon-sandbox-local/FPValidator.json +7 -7
- package/deployments/polygon-sandbox-local/MPTValidator01.json +7 -7
- package/deployments/polygon-sandbox-local/NonceContract.json +5 -5
- package/deployments/polygon-sandbox-local/PriceFeed.json +24 -24
- package/deployments/polygon-sandbox-local/PriceFeed_Implementation.json +18 -18
- package/deployments/polygon-sandbox-local/PriceFeed_Proxy.json +23 -23
- package/deployments/polygon-sandbox-local/RelayerV2.json +45 -32
- package/deployments/polygon-sandbox-local/RelayerV2_Implementation.json +59 -46
- package/deployments/polygon-sandbox-local/RelayerV2_Proxy.json +29 -29
- package/deployments/polygon-sandbox-local/TreasuryV2.json +15 -15
- package/deployments/polygon-sandbox-local/UltraLightNodeV2.json +36 -36
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "0x13D69Cf7d6CE4218F646B759Dcf334D82c023d8e",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
5
|
"anonymous": false,
|
|
@@ -281,6 +281,19 @@
|
|
|
281
281
|
"name": "Withdraw",
|
|
282
282
|
"type": "event"
|
|
283
283
|
},
|
|
284
|
+
{
|
|
285
|
+
"inputs": [],
|
|
286
|
+
"name": "AIRDROP_GAS_LIMIT",
|
|
287
|
+
"outputs": [
|
|
288
|
+
{
|
|
289
|
+
"internalType": "uint256",
|
|
290
|
+
"name": "",
|
|
291
|
+
"type": "uint256"
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"stateMutability": "view",
|
|
295
|
+
"type": "function"
|
|
296
|
+
},
|
|
284
297
|
{
|
|
285
298
|
"inputs": [
|
|
286
299
|
{
|
|
@@ -332,7 +345,7 @@
|
|
|
332
345
|
"outputs": [
|
|
333
346
|
{
|
|
334
347
|
"internalType": "uint256",
|
|
335
|
-
"name": "",
|
|
348
|
+
"name": "fee",
|
|
336
349
|
"type": "uint256"
|
|
337
350
|
}
|
|
338
351
|
],
|
|
@@ -644,7 +657,7 @@
|
|
|
644
657
|
"name": "priceFeed",
|
|
645
658
|
"outputs": [
|
|
646
659
|
{
|
|
647
|
-
"internalType": "contract
|
|
660
|
+
"internalType": "contract ILayerZeroPriceFeedV2",
|
|
648
661
|
"name": "",
|
|
649
662
|
"type": "address"
|
|
650
663
|
}
|
|
@@ -1049,35 +1062,35 @@
|
|
|
1049
1062
|
"type": "constructor"
|
|
1050
1063
|
}
|
|
1051
1064
|
],
|
|
1052
|
-
"transactionHash": "
|
|
1065
|
+
"transactionHash": "0x642f2c4a4c039e3bf11bc2d58ef4fd13a88f15e4b3981655e76d810299377768",
|
|
1053
1066
|
"receipt": {
|
|
1054
1067
|
"to": null,
|
|
1055
1068
|
"from": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
|
|
1056
|
-
"contractAddress": "
|
|
1069
|
+
"contractAddress": "0x13D69Cf7d6CE4218F646B759Dcf334D82c023d8e",
|
|
1057
1070
|
"transactionIndex": 0,
|
|
1058
|
-
"gasUsed": "
|
|
1059
|
-
"logsBloom": "
|
|
1060
|
-
"blockHash": "
|
|
1061
|
-
"transactionHash": "
|
|
1071
|
+
"gasUsed": "762795",
|
|
1072
|
+
"logsBloom": "0x00000000000000000040000000000000400000000000000000800000000000000000000000800000000000000000000000000000000000000000000000100000000000000000000000000000000002000001000000000000000000000000000000200000020400000000000000000802000800800000000000000000000000400000000000100000000000000000000000000000000000000000000100800000000000000000200000000000000000000004000000000000000000000000000000000020000000000000000000000000000000800400000000000000000020000000000000000000000000000000000000000000000000000000000000000000",
|
|
1073
|
+
"blockHash": "0x0e1575e140a5406e18a94f325a544cb01bd289de175b781668049fcca0c0fcf1",
|
|
1074
|
+
"transactionHash": "0x642f2c4a4c039e3bf11bc2d58ef4fd13a88f15e4b3981655e76d810299377768",
|
|
1062
1075
|
"logs": [
|
|
1063
1076
|
{
|
|
1064
1077
|
"transactionIndex": 0,
|
|
1065
|
-
"blockNumber":
|
|
1066
|
-
"transactionHash": "
|
|
1067
|
-
"address": "
|
|
1078
|
+
"blockNumber": 102,
|
|
1079
|
+
"transactionHash": "0x642f2c4a4c039e3bf11bc2d58ef4fd13a88f15e4b3981655e76d810299377768",
|
|
1080
|
+
"address": "0x13D69Cf7d6CE4218F646B759Dcf334D82c023d8e",
|
|
1068
1081
|
"topics": [
|
|
1069
1082
|
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
1070
|
-
"
|
|
1083
|
+
"0x00000000000000000000000094b75aa39bec4cb15e7b9593c315af203b7b847f"
|
|
1071
1084
|
],
|
|
1072
1085
|
"data": "0x",
|
|
1073
1086
|
"logIndex": 0,
|
|
1074
|
-
"blockHash": "
|
|
1087
|
+
"blockHash": "0x0e1575e140a5406e18a94f325a544cb01bd289de175b781668049fcca0c0fcf1"
|
|
1075
1088
|
},
|
|
1076
1089
|
{
|
|
1077
1090
|
"transactionIndex": 0,
|
|
1078
|
-
"blockNumber":
|
|
1079
|
-
"transactionHash": "
|
|
1080
|
-
"address": "
|
|
1091
|
+
"blockNumber": 102,
|
|
1092
|
+
"transactionHash": "0x642f2c4a4c039e3bf11bc2d58ef4fd13a88f15e4b3981655e76d810299377768",
|
|
1093
|
+
"address": "0x13D69Cf7d6CE4218F646B759Dcf334D82c023d8e",
|
|
1081
1094
|
"topics": [
|
|
1082
1095
|
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
|
|
1083
1096
|
"0x0000000000000000000000000000000000000000000000000000000000000000",
|
|
@@ -1085,41 +1098,41 @@
|
|
|
1085
1098
|
],
|
|
1086
1099
|
"data": "0x",
|
|
1087
1100
|
"logIndex": 1,
|
|
1088
|
-
"blockHash": "
|
|
1101
|
+
"blockHash": "0x0e1575e140a5406e18a94f325a544cb01bd289de175b781668049fcca0c0fcf1"
|
|
1089
1102
|
},
|
|
1090
1103
|
{
|
|
1091
1104
|
"transactionIndex": 0,
|
|
1092
|
-
"blockNumber":
|
|
1093
|
-
"transactionHash": "
|
|
1094
|
-
"address": "
|
|
1105
|
+
"blockNumber": 102,
|
|
1106
|
+
"transactionHash": "0x642f2c4a4c039e3bf11bc2d58ef4fd13a88f15e4b3981655e76d810299377768",
|
|
1107
|
+
"address": "0x13D69Cf7d6CE4218F646B759Dcf334D82c023d8e",
|
|
1095
1108
|
"topics": [
|
|
1096
1109
|
"0xb10786d0bfa68fb1aa29552d9203e5f545f7c073ff0784da1de1d800986f1023"
|
|
1097
1110
|
],
|
|
1098
|
-
"data": "
|
|
1111
|
+
"data": "0x00000000000000000000000013d69cf7d6ce4218f646b759dcf334d82c023d8e0000000000000000000000000000000000000000000000000000000000000001",
|
|
1099
1112
|
"logIndex": 2,
|
|
1100
|
-
"blockHash": "
|
|
1113
|
+
"blockHash": "0x0e1575e140a5406e18a94f325a544cb01bd289de175b781668049fcca0c0fcf1"
|
|
1101
1114
|
},
|
|
1102
1115
|
{
|
|
1103
1116
|
"transactionIndex": 0,
|
|
1104
|
-
"blockNumber":
|
|
1105
|
-
"transactionHash": "
|
|
1106
|
-
"address": "
|
|
1117
|
+
"blockNumber": 102,
|
|
1118
|
+
"transactionHash": "0x642f2c4a4c039e3bf11bc2d58ef4fd13a88f15e4b3981655e76d810299377768",
|
|
1119
|
+
"address": "0x13D69Cf7d6CE4218F646B759Dcf334D82c023d8e",
|
|
1107
1120
|
"topics": [
|
|
1108
1121
|
"0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
|
|
1109
1122
|
],
|
|
1110
|
-
"data": "
|
|
1123
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bc9129dc0487fc2e169941c75aabc539f208fb01",
|
|
1111
1124
|
"logIndex": 3,
|
|
1112
|
-
"blockHash": "
|
|
1125
|
+
"blockHash": "0x0e1575e140a5406e18a94f325a544cb01bd289de175b781668049fcca0c0fcf1"
|
|
1113
1126
|
}
|
|
1114
1127
|
],
|
|
1115
|
-
"blockNumber":
|
|
1116
|
-
"cumulativeGasUsed": "
|
|
1128
|
+
"blockNumber": 102,
|
|
1129
|
+
"cumulativeGasUsed": "762795",
|
|
1117
1130
|
"status": 1,
|
|
1118
1131
|
"byzantium": true
|
|
1119
1132
|
},
|
|
1120
1133
|
"args": [
|
|
1134
|
+
"0x94B75AA39bEC4cB15e7B9593C315aF203B7B847f",
|
|
1121
1135
|
"0xBC9129Dc0487fc2E169941C75aABC539f208fb01",
|
|
1122
|
-
"0x663F3ad617193148711d28f5334eE4Ed07016602",
|
|
1123
1136
|
"0x485cc955000000000000000000000000bcf26943c0197d2ee0e5d05c716be60cc27615080000000000000000000000008438ad1c834623cff278ab6829a248e37c2d7e3f"
|
|
1124
1137
|
],
|
|
1125
1138
|
"numDeployments": 1,
|
|
@@ -1134,7 +1147,7 @@
|
|
|
1134
1147
|
"0x8438Ad1C834623CfF278AB6829a248E37C2D7E3f"
|
|
1135
1148
|
]
|
|
1136
1149
|
},
|
|
1137
|
-
"implementation": "
|
|
1150
|
+
"implementation": "0x94B75AA39bEC4cB15e7B9593C315aF203B7B847f",
|
|
1138
1151
|
"devdoc": {
|
|
1139
1152
|
"details": "This contract implements a proxy that is upgradeable by an admin. To avoid https://medium.com/nomic-labs-blog/malicious-backdoors-in-ethereum-proxies-62629adf3357[proxy selector clashing], which can potentially be used in an attack, this contract uses the https://blog.openzeppelin.com/the-transparent-proxy-pattern/[transparent proxy pattern]. This pattern implies two things that go hand in hand: 1. If any account other than the admin calls the proxy, the call will be forwarded to the implementation, even if that call matches one of the admin functions exposed by the proxy itself. 2. If the admin calls the proxy, it can access the admin functions, but its calls will never be forwarded to the implementation. If the admin tries to call a function on the implementation it will fail with an error that says \"admin cannot fallback to proxy target\". These properties mean that the admin account can only be used for admin actions like upgrading the proxy or changing the admin, so it's best if it's a dedicated account that is not used for anything else. This will avoid headaches due to sudden errors when trying to call a function from the proxy implementation. Our recommendation is for the dedicated account to be an instance of the {ProxyAdmin} contract. If set up this way, you should think of the `ProxyAdmin` instance as the real administrative interface of your proxy.",
|
|
1140
1153
|
"kind": "dev",
|