@layerzerolabs/lz-evm-sdk-v2 2.0.21 → 2.0.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.
Files changed (28) hide show
  1. package/deployments/joc-testnet/DVN.json +1929 -0
  2. package/deployments/joc-testnet/DVNFeeLib.json +398 -0
  3. package/deployments/joc-testnet/DefaultProxyAdmin.json +258 -0
  4. package/deployments/joc-testnet/EndpointV2.json +3000 -0
  5. package/deployments/joc-testnet/EndpointV2View.json +435 -0
  6. package/deployments/joc-testnet/EndpointV2View_Implementation.json +313 -0
  7. package/deployments/joc-testnet/EndpointV2View_Proxy.json +230 -0
  8. package/deployments/joc-testnet/Executor.json +1532 -0
  9. package/deployments/joc-testnet/ExecutorFeeLib.json +423 -0
  10. package/deployments/joc-testnet/ExecutorProxyAdmin.json +283 -0
  11. package/deployments/joc-testnet/Executor_Implementation.json +1591 -0
  12. package/deployments/joc-testnet/Executor_Proxy.json +365 -0
  13. package/deployments/joc-testnet/LzExecutor.json +757 -0
  14. package/deployments/joc-testnet/LzExecutor_Implementation.json +703 -0
  15. package/deployments/joc-testnet/LzExecutor_Proxy.json +244 -0
  16. package/deployments/joc-testnet/ReceiveUln301.json +1292 -0
  17. package/deployments/joc-testnet/ReceiveUln301View.json +354 -0
  18. package/deployments/joc-testnet/ReceiveUln301View_Implementation.json +231 -0
  19. package/deployments/joc-testnet/ReceiveUln301View_Proxy.json +230 -0
  20. package/deployments/joc-testnet/ReceiveUln302.json +1006 -0
  21. package/deployments/joc-testnet/ReceiveUln302View.json +478 -0
  22. package/deployments/joc-testnet/ReceiveUln302View_Implementation.json +384 -0
  23. package/deployments/joc-testnet/ReceiveUln302View_Proxy.json +230 -0
  24. package/deployments/joc-testnet/SendUln301.json +1569 -0
  25. package/deployments/joc-testnet/SendUln302.json +1527 -0
  26. package/deployments/joc-testnet/Treasury.json +412 -0
  27. package/deployments/joc-testnet/TreasuryFeeHandler.json +125 -0
  28. package/package.json +8 -8
@@ -0,0 +1,313 @@
1
+ {
2
+ "address": "0x00C5C0B8e0f75aB862CbAaeCfff499dB555FBDD2",
3
+ "abi": [
4
+ {
5
+ "anonymous": false,
6
+ "inputs": [
7
+ {
8
+ "indexed": false,
9
+ "internalType": "uint8",
10
+ "name": "version",
11
+ "type": "uint8"
12
+ }
13
+ ],
14
+ "name": "Initialized",
15
+ "type": "event"
16
+ },
17
+ {
18
+ "inputs": [],
19
+ "name": "EMPTY_PAYLOAD_HASH",
20
+ "outputs": [
21
+ {
22
+ "internalType": "bytes32",
23
+ "name": "",
24
+ "type": "bytes32"
25
+ }
26
+ ],
27
+ "stateMutability": "view",
28
+ "type": "function"
29
+ },
30
+ {
31
+ "inputs": [],
32
+ "name": "NIL_PAYLOAD_HASH",
33
+ "outputs": [
34
+ {
35
+ "internalType": "bytes32",
36
+ "name": "",
37
+ "type": "bytes32"
38
+ }
39
+ ],
40
+ "stateMutability": "view",
41
+ "type": "function"
42
+ },
43
+ {
44
+ "inputs": [],
45
+ "name": "endpoint",
46
+ "outputs": [
47
+ {
48
+ "internalType": "contract ILayerZeroEndpointV2",
49
+ "name": "",
50
+ "type": "address"
51
+ }
52
+ ],
53
+ "stateMutability": "view",
54
+ "type": "function"
55
+ },
56
+ {
57
+ "inputs": [
58
+ {
59
+ "components": [
60
+ {
61
+ "internalType": "uint32",
62
+ "name": "srcEid",
63
+ "type": "uint32"
64
+ },
65
+ {
66
+ "internalType": "bytes32",
67
+ "name": "sender",
68
+ "type": "bytes32"
69
+ },
70
+ {
71
+ "internalType": "uint64",
72
+ "name": "nonce",
73
+ "type": "uint64"
74
+ }
75
+ ],
76
+ "internalType": "struct Origin",
77
+ "name": "_origin",
78
+ "type": "tuple"
79
+ },
80
+ {
81
+ "internalType": "address",
82
+ "name": "_receiver",
83
+ "type": "address"
84
+ }
85
+ ],
86
+ "name": "executable",
87
+ "outputs": [
88
+ {
89
+ "internalType": "enum ExecutionState",
90
+ "name": "",
91
+ "type": "uint8"
92
+ }
93
+ ],
94
+ "stateMutability": "view",
95
+ "type": "function"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "components": [
101
+ {
102
+ "internalType": "uint32",
103
+ "name": "srcEid",
104
+ "type": "uint32"
105
+ },
106
+ {
107
+ "internalType": "bytes32",
108
+ "name": "sender",
109
+ "type": "bytes32"
110
+ },
111
+ {
112
+ "internalType": "uint64",
113
+ "name": "nonce",
114
+ "type": "uint64"
115
+ }
116
+ ],
117
+ "internalType": "struct Origin",
118
+ "name": "_origin",
119
+ "type": "tuple"
120
+ },
121
+ {
122
+ "internalType": "address",
123
+ "name": "_receiver",
124
+ "type": "address"
125
+ }
126
+ ],
127
+ "name": "initializable",
128
+ "outputs": [
129
+ {
130
+ "internalType": "bool",
131
+ "name": "",
132
+ "type": "bool"
133
+ }
134
+ ],
135
+ "stateMutability": "view",
136
+ "type": "function"
137
+ },
138
+ {
139
+ "inputs": [
140
+ {
141
+ "internalType": "address",
142
+ "name": "_endpoint",
143
+ "type": "address"
144
+ }
145
+ ],
146
+ "name": "initialize",
147
+ "outputs": [],
148
+ "stateMutability": "nonpayable",
149
+ "type": "function"
150
+ },
151
+ {
152
+ "inputs": [
153
+ {
154
+ "components": [
155
+ {
156
+ "internalType": "uint32",
157
+ "name": "srcEid",
158
+ "type": "uint32"
159
+ },
160
+ {
161
+ "internalType": "bytes32",
162
+ "name": "sender",
163
+ "type": "bytes32"
164
+ },
165
+ {
166
+ "internalType": "uint64",
167
+ "name": "nonce",
168
+ "type": "uint64"
169
+ }
170
+ ],
171
+ "internalType": "struct Origin",
172
+ "name": "_origin",
173
+ "type": "tuple"
174
+ },
175
+ {
176
+ "internalType": "address",
177
+ "name": "_receiver",
178
+ "type": "address"
179
+ },
180
+ {
181
+ "internalType": "address",
182
+ "name": "_receiveLib",
183
+ "type": "address"
184
+ },
185
+ {
186
+ "internalType": "bytes32",
187
+ "name": "_payloadHash",
188
+ "type": "bytes32"
189
+ }
190
+ ],
191
+ "name": "verifiable",
192
+ "outputs": [
193
+ {
194
+ "internalType": "bool",
195
+ "name": "",
196
+ "type": "bool"
197
+ }
198
+ ],
199
+ "stateMutability": "view",
200
+ "type": "function"
201
+ }
202
+ ],
203
+ "transactionHash": "0x9e2d95339debab267850e7fdbfc668db2a7587299f54577452d5591bfed5d470",
204
+ "receipt": {
205
+ "to": null,
206
+ "from": "0xc13b65f7c53Cd6db2EA205a4b574b4a0858720A6",
207
+ "contractAddress": "0x00C5C0B8e0f75aB862CbAaeCfff499dB555FBDD2",
208
+ "transactionIndex": 1,
209
+ "gasUsed": "769078",
210
+ "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
211
+ "blockHash": "0x44337920244b7d8d0e67876911b30e2331b0e9c6e25f53feede20eb34d89e047",
212
+ "transactionHash": "0x9e2d95339debab267850e7fdbfc668db2a7587299f54577452d5591bfed5d470",
213
+ "logs": [],
214
+ "blockNumber": 2936516,
215
+ "cumulativeGasUsed": "790078",
216
+ "status": 1,
217
+ "byzantium": true
218
+ },
219
+ "args": [],
220
+ "numDeployments": 1,
221
+ "solcInputHash": "cc8b972ef3991998357eab663cd2d081",
222
+ "bytecode": "0x608060405234801561001057600080fd5b50610d09806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c8063861e1ca51161005b578063861e1ca514610127578063c4d66de81461014a578063cb5026b91461015f578063e1e3a7df1461016757600080fd5b80632baf0be7146100825780634b4b2efb146100bc5780635e280f11146100dc575b600080fd5b6100a97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b6040519081526020015b60405180910390f35b6100cf6100ca366004610b9f565b61017a565b6040516100b39190610bd3565b6000546101029062010000900473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100b3565b61013a610135366004610b9f565b610487565b60405190151581526020016100b3565b61015d610158366004610c14565b610555565b005b6100a9600081565b61013a610175366004610c2f565b610794565b600080548351602085015160408087015190517fc9fc7bcd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015263ffffffff9094166024820152604481019290925267ffffffffffffffff16606482015283926201000090049091169063c9fc7bcd90608401602060405180830381865afa158015610223573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102479190610c7b565b9050801580156103235750600054845160208601516040517f5b17bb7000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015263ffffffff90931660248201526044810191909152620100009092041690635b17bb7090606401602060405180830381865afa1580156102e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103079190610c94565b67ffffffffffffffff16846040015167ffffffffffffffff1611155b15610332576003915050610481565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811480159061042e5750600054845160208601516040517fa0dd43fc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015263ffffffff9093166024820152604481019190915262010000909204169063a0dd43fc90606401602060405180830381865afa1580156103ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104129190610c94565b67ffffffffffffffff16846040015167ffffffffffffffff1611155b1561043d576002915050610481565b801580159061046c57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114155b1561047b576001915050610481565b60009150505b92915050565b60008054604080517f861e1ca5000000000000000000000000000000000000000000000000000000008152855163ffffffff166004820152602086015160248201529085015167ffffffffffffffff16604482015273ffffffffffffffffffffffffffffffffffffffff8481166064830152620100009092049091169063861e1ca590608401602060405180830381865afa15801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190610cb1565b9392505050565b600061057f7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b905073ffffffffffffffffffffffffffffffffffffffff81166105d85773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103556105fa565b3373ffffffffffffffffffffffffffffffffffffffff8216146105fa57600080fd5b600054610100900460ff161580801561061a5750600054600160ff909116105b806106345750303b158015610634575060005460ff166001145b6106c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561072357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b61072c8361093c565b801561078f57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6000805485516040517f9d7f977500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015263ffffffff90921660248201528582166044820152620100009092041690639d7f977590606401602060405180830381865afa158015610821573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108459190610cb1565b61085157506000610934565b600054604080517fc9a54a99000000000000000000000000000000000000000000000000000000008152875163ffffffff166004820152602088015160248201529087015167ffffffffffffffff16604482015273ffffffffffffffffffffffffffffffffffffffff8681166064830152620100009092049091169063c9a54a9990608401602060405180830381865afa1580156108f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109179190610cb1565b61092357506000610934565b8161093057506000610934565b5060015b949350505050565b600054610100900460ff166109d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016106bc565b6109dc816109df565b50565b600054610100900460ff16610a76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016106bc565b6000805473ffffffffffffffffffffffffffffffffffffffff90921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b67ffffffffffffffff811681146109dc57600080fd5b600060608284031215610aeb57600080fd5b6040516060810181811067ffffffffffffffff82111715610b35577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604052905080823563ffffffff81168114610b4f57600080fd5b8152602083810135908201526040830135610b6981610ac3565b6040919091015292915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610b9a57600080fd5b919050565b60008060808385031215610bb257600080fd5b610bbc8484610ad9565b9150610bca60608401610b76565b90509250929050565b6020810160048310610c0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b600060208284031215610c2657600080fd5b61054e82610b76565b60008060008060c08587031215610c4557600080fd5b610c4f8686610ad9565b9350610c5d60608601610b76565b9250610c6b60808601610b76565b9396929550929360a00135925050565b600060208284031215610c8d57600080fd5b5051919050565b600060208284031215610ca657600080fd5b815161054e81610ac3565b600060208284031215610cc357600080fd5b8151801515811461054e57600080fdfea2646970667358221220a40a96a55323c3836880696c1f83a4412467759f332fa8613b7becefdebb9aba64736f6c63430008160033",
223
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c8063861e1ca51161005b578063861e1ca514610127578063c4d66de81461014a578063cb5026b91461015f578063e1e3a7df1461016757600080fd5b80632baf0be7146100825780634b4b2efb146100bc5780635e280f11146100dc575b600080fd5b6100a97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b6040519081526020015b60405180910390f35b6100cf6100ca366004610b9f565b61017a565b6040516100b39190610bd3565b6000546101029062010000900473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100b3565b61013a610135366004610b9f565b610487565b60405190151581526020016100b3565b61015d610158366004610c14565b610555565b005b6100a9600081565b61013a610175366004610c2f565b610794565b600080548351602085015160408087015190517fc9fc7bcd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015263ffffffff9094166024820152604481019290925267ffffffffffffffff16606482015283926201000090049091169063c9fc7bcd90608401602060405180830381865afa158015610223573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102479190610c7b565b9050801580156103235750600054845160208601516040517f5b17bb7000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015263ffffffff90931660248201526044810191909152620100009092041690635b17bb7090606401602060405180830381865afa1580156102e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103079190610c94565b67ffffffffffffffff16846040015167ffffffffffffffff1611155b15610332576003915050610481565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811480159061042e5750600054845160208601516040517fa0dd43fc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015263ffffffff9093166024820152604481019190915262010000909204169063a0dd43fc90606401602060405180830381865afa1580156103ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104129190610c94565b67ffffffffffffffff16846040015167ffffffffffffffff1611155b1561043d576002915050610481565b801580159061046c57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114155b1561047b576001915050610481565b60009150505b92915050565b60008054604080517f861e1ca5000000000000000000000000000000000000000000000000000000008152855163ffffffff166004820152602086015160248201529085015167ffffffffffffffff16604482015273ffffffffffffffffffffffffffffffffffffffff8481166064830152620100009092049091169063861e1ca590608401602060405180830381865afa15801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190610cb1565b9392505050565b600061057f7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b905073ffffffffffffffffffffffffffffffffffffffff81166105d85773ffffffffffffffffffffffffffffffffffffffff7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103556105fa565b3373ffffffffffffffffffffffffffffffffffffffff8216146105fa57600080fd5b600054610100900460ff161580801561061a5750600054600160ff909116105b806106345750303b158015610634575060005460ff166001145b6106c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561072357600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b61072c8361093c565b801561078f57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6000805485516040517f9d7f977500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015263ffffffff90921660248201528582166044820152620100009092041690639d7f977590606401602060405180830381865afa158015610821573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108459190610cb1565b61085157506000610934565b600054604080517fc9a54a99000000000000000000000000000000000000000000000000000000008152875163ffffffff166004820152602088015160248201529087015167ffffffffffffffff16604482015273ffffffffffffffffffffffffffffffffffffffff8681166064830152620100009092049091169063c9a54a9990608401602060405180830381865afa1580156108f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109179190610cb1565b61092357506000610934565b8161093057506000610934565b5060015b949350505050565b600054610100900460ff166109d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016106bc565b6109dc816109df565b50565b600054610100900460ff16610a76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e6700000000000000000000000000000000000000000060648201526084016106bc565b6000805473ffffffffffffffffffffffffffffffffffffffff90921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b67ffffffffffffffff811681146109dc57600080fd5b600060608284031215610aeb57600080fd5b6040516060810181811067ffffffffffffffff82111715610b35577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604052905080823563ffffffff81168114610b4f57600080fd5b8152602083810135908201526040830135610b6981610ac3565b6040919091015292915050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610b9a57600080fd5b919050565b60008060808385031215610bb257600080fd5b610bbc8484610ad9565b9150610bca60608401610b76565b90509250929050565b6020810160048310610c0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b600060208284031215610c2657600080fd5b61054e82610b76565b60008060008060c08587031215610c4557600080fd5b610c4f8686610ad9565b9350610c5d60608601610b76565b9250610c6b60808601610b76565b9396929550929360a00135925050565b600060208284031215610c8d57600080fd5b5051919050565b600060208284031215610ca657600080fd5b815161054e81610ac3565b600060208284031215610cc357600080fd5b8151801515811461054e57600080fdfea2646970667358221220a40a96a55323c3836880696c1f83a4412467759f332fa8613b7becefdebb9aba64736f6c63430008160033",
224
+ "devdoc": {
225
+ "events": {
226
+ "Initialized(uint8)": {
227
+ "details": "Triggered when the contract has been initialized or reinitialized."
228
+ }
229
+ },
230
+ "kind": "dev",
231
+ "methods": {
232
+ "executable((uint32,bytes32,uint64),address)": {
233
+ "details": "check if a message is executable.",
234
+ "returns": {
235
+ "_0": "ExecutionState of Executed, Executable, or NotExecutable"
236
+ }
237
+ },
238
+ "verifiable((uint32,bytes32,uint64),address,address,bytes32)": {
239
+ "details": "check if a message is verifiable."
240
+ }
241
+ },
242
+ "version": 1
243
+ },
244
+ "userdoc": {
245
+ "kind": "user",
246
+ "methods": {},
247
+ "version": 1
248
+ },
249
+ "storageLayout": {
250
+ "storage": [
251
+ {
252
+ "astId": 6,
253
+ "contract": "contracts/EndpointV2View.sol:EndpointV2View",
254
+ "label": "_initialized",
255
+ "offset": 0,
256
+ "slot": "0",
257
+ "type": "t_uint8"
258
+ },
259
+ {
260
+ "astId": 9,
261
+ "contract": "contracts/EndpointV2View.sol:EndpointV2View",
262
+ "label": "_initializing",
263
+ "offset": 1,
264
+ "slot": "0",
265
+ "type": "t_bool"
266
+ },
267
+ {
268
+ "astId": 3101,
269
+ "contract": "contracts/EndpointV2View.sol:EndpointV2View",
270
+ "label": "endpoint",
271
+ "offset": 2,
272
+ "slot": "0",
273
+ "type": "t_contract(ILayerZeroEndpointV2)5352"
274
+ },
275
+ {
276
+ "astId": 3274,
277
+ "contract": "contracts/EndpointV2View.sol:EndpointV2View",
278
+ "label": "__gap",
279
+ "offset": 0,
280
+ "slot": "1",
281
+ "type": "t_array(t_uint256)49_storage"
282
+ }
283
+ ],
284
+ "types": {
285
+ "t_array(t_uint256)49_storage": {
286
+ "base": "t_uint256",
287
+ "encoding": "inplace",
288
+ "label": "uint256[49]",
289
+ "numberOfBytes": "1568"
290
+ },
291
+ "t_bool": {
292
+ "encoding": "inplace",
293
+ "label": "bool",
294
+ "numberOfBytes": "1"
295
+ },
296
+ "t_contract(ILayerZeroEndpointV2)5352": {
297
+ "encoding": "inplace",
298
+ "label": "contract ILayerZeroEndpointV2",
299
+ "numberOfBytes": "20"
300
+ },
301
+ "t_uint256": {
302
+ "encoding": "inplace",
303
+ "label": "uint256",
304
+ "numberOfBytes": "32"
305
+ },
306
+ "t_uint8": {
307
+ "encoding": "inplace",
308
+ "label": "uint8",
309
+ "numberOfBytes": "1"
310
+ }
311
+ }
312
+ }
313
+ }
@@ -0,0 +1,230 @@
1
+ {
2
+ "address": "0x1d186C560281B8F1AF831957ED5047fD3AB902F9",
3
+ "abi": [
4
+ {
5
+ "inputs": [
6
+ {
7
+ "internalType": "address",
8
+ "name": "_logic",
9
+ "type": "address"
10
+ },
11
+ {
12
+ "internalType": "address",
13
+ "name": "admin_",
14
+ "type": "address"
15
+ },
16
+ {
17
+ "internalType": "bytes",
18
+ "name": "_data",
19
+ "type": "bytes"
20
+ }
21
+ ],
22
+ "stateMutability": "payable",
23
+ "type": "constructor"
24
+ },
25
+ {
26
+ "anonymous": false,
27
+ "inputs": [
28
+ {
29
+ "indexed": false,
30
+ "internalType": "address",
31
+ "name": "previousAdmin",
32
+ "type": "address"
33
+ },
34
+ {
35
+ "indexed": false,
36
+ "internalType": "address",
37
+ "name": "newAdmin",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AdminChanged",
42
+ "type": "event"
43
+ },
44
+ {
45
+ "anonymous": false,
46
+ "inputs": [
47
+ {
48
+ "indexed": true,
49
+ "internalType": "address",
50
+ "name": "beacon",
51
+ "type": "address"
52
+ }
53
+ ],
54
+ "name": "BeaconUpgraded",
55
+ "type": "event"
56
+ },
57
+ {
58
+ "anonymous": false,
59
+ "inputs": [
60
+ {
61
+ "indexed": true,
62
+ "internalType": "address",
63
+ "name": "implementation",
64
+ "type": "address"
65
+ }
66
+ ],
67
+ "name": "Upgraded",
68
+ "type": "event"
69
+ },
70
+ {
71
+ "stateMutability": "payable",
72
+ "type": "fallback"
73
+ },
74
+ {
75
+ "inputs": [],
76
+ "name": "admin",
77
+ "outputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "admin_",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "stateMutability": "nonpayable",
85
+ "type": "function"
86
+ },
87
+ {
88
+ "inputs": [],
89
+ "name": "implementation",
90
+ "outputs": [
91
+ {
92
+ "internalType": "address",
93
+ "name": "implementation_",
94
+ "type": "address"
95
+ }
96
+ ],
97
+ "stateMutability": "nonpayable",
98
+ "type": "function"
99
+ },
100
+ {
101
+ "inputs": [
102
+ {
103
+ "internalType": "address",
104
+ "name": "newImplementation",
105
+ "type": "address"
106
+ }
107
+ ],
108
+ "name": "upgradeTo",
109
+ "outputs": [],
110
+ "stateMutability": "nonpayable",
111
+ "type": "function"
112
+ },
113
+ {
114
+ "inputs": [
115
+ {
116
+ "internalType": "address",
117
+ "name": "newImplementation",
118
+ "type": "address"
119
+ },
120
+ {
121
+ "internalType": "bytes",
122
+ "name": "data",
123
+ "type": "bytes"
124
+ }
125
+ ],
126
+ "name": "upgradeToAndCall",
127
+ "outputs": [],
128
+ "stateMutability": "payable",
129
+ "type": "function"
130
+ },
131
+ {
132
+ "stateMutability": "payable",
133
+ "type": "receive"
134
+ }
135
+ ],
136
+ "transactionHash": "0x626f2a1836f504c9c7feac17cb4e7768dc43b9c534d98f71fb62fde4539bc79f",
137
+ "receipt": {
138
+ "to": null,
139
+ "from": "0xc13b65f7c53Cd6db2EA205a4b574b4a0858720A6",
140
+ "contractAddress": "0x1d186C560281B8F1AF831957ED5047fD3AB902F9",
141
+ "transactionIndex": 1,
142
+ "gasUsed": "648609",
143
+ "logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000002000000000000800000000000000000000000000000000000000000000000000000000000200000000080000000000000800000000000000000000000000000000400000000080000000000000000000000000000000020000000000000000000040000000000100408000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
144
+ "blockHash": "0x78fe95ea74ddc16f136f2e2686f6bcf3eca59ffcf8be768b31f4468219320a95",
145
+ "transactionHash": "0x626f2a1836f504c9c7feac17cb4e7768dc43b9c534d98f71fb62fde4539bc79f",
146
+ "logs": [
147
+ {
148
+ "transactionIndex": 1,
149
+ "blockNumber": 2936517,
150
+ "transactionHash": "0x626f2a1836f504c9c7feac17cb4e7768dc43b9c534d98f71fb62fde4539bc79f",
151
+ "address": "0x1d186C560281B8F1AF831957ED5047fD3AB902F9",
152
+ "topics": [
153
+ "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
154
+ "0x00000000000000000000000000c5c0b8e0f75ab862cbaaecfff499db555fbdd2"
155
+ ],
156
+ "data": "0x",
157
+ "logIndex": 0,
158
+ "blockHash": "0x78fe95ea74ddc16f136f2e2686f6bcf3eca59ffcf8be768b31f4468219320a95"
159
+ },
160
+ {
161
+ "transactionIndex": 1,
162
+ "blockNumber": 2936517,
163
+ "transactionHash": "0x626f2a1836f504c9c7feac17cb4e7768dc43b9c534d98f71fb62fde4539bc79f",
164
+ "address": "0x1d186C560281B8F1AF831957ED5047fD3AB902F9",
165
+ "topics": [
166
+ "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
167
+ ],
168
+ "data": "0x0000000000000000000000000000000000000000000000000000000000000001",
169
+ "logIndex": 1,
170
+ "blockHash": "0x78fe95ea74ddc16f136f2e2686f6bcf3eca59ffcf8be768b31f4468219320a95"
171
+ },
172
+ {
173
+ "transactionIndex": 1,
174
+ "blockNumber": 2936517,
175
+ "transactionHash": "0x626f2a1836f504c9c7feac17cb4e7768dc43b9c534d98f71fb62fde4539bc79f",
176
+ "address": "0x1d186C560281B8F1AF831957ED5047fD3AB902F9",
177
+ "topics": [
178
+ "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
179
+ ],
180
+ "data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cf1b0f4106b0324f96fefcc31ba9498caa80701c",
181
+ "logIndex": 2,
182
+ "blockHash": "0x78fe95ea74ddc16f136f2e2686f6bcf3eca59ffcf8be768b31f4468219320a95"
183
+ }
184
+ ],
185
+ "blockNumber": 2936517,
186
+ "cumulativeGasUsed": "669609",
187
+ "status": 1,
188
+ "byzantium": true
189
+ },
190
+ "args": [
191
+ "0x00C5C0B8e0f75aB862CbAaeCfff499dB555FBDD2",
192
+ "0xcF1B0F4106B0324F96fEfcC31bA9498caa80701C",
193
+ "0xc4d66de80000000000000000000000006edce65403992e310a62460808c4b910d972f10f"
194
+ ],
195
+ "numDeployments": 1,
196
+ "solcInputHash": "0e89febeebc7444140de8e67c9067d2c",
197
+ "bytecode": "0x60a060405260405162000f5f38038062000f5f83398101604081905262000026916200044a565b82816200005560017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd6200052a565b60008051602062000f188339815191521462000075576200007562000550565b62000083828260006200013c565b50620000b3905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61046200052a565b60008051602062000ef883398151915214620000d357620000d362000550565b6001600160a01b038216608081905260008051602062000ef88339815191528381556040805160008152602081019390935290917f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f910160405180910390a150505050620005b9565b620001478362000179565b600082511180620001555750805b156200017457620001728383620001bb60201b620002a91760201c565b505b505050565b6200018481620001ea565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060620001e3838360405180606001604052806027815260200162000f3860279139620002b2565b9392505050565b62000200816200039860201b620002d51760201c565b620002685760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806200029160008051602062000f1883398151915260001b620003a760201b620002411760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b60606001600160a01b0384163b6200031c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016200025f565b600080856001600160a01b03168560405162000339919062000566565b600060405180830381855af49150503d806000811462000376576040519150601f19603f3d011682016040523d82523d6000602084013e6200037b565b606091505b5090925090506200038e828286620003aa565b9695505050505050565b6001600160a01b03163b151590565b90565b60608315620003bb575081620001e3565b825115620003cc5782518084602001fd5b8160405162461bcd60e51b81526004016200025f919062000584565b80516001600160a01b03811681146200040057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004385781810151838201526020016200041e565b83811115620001725750506000910152565b6000806000606084860312156200046057600080fd5b6200046b84620003e8565b92506200047b60208501620003e8565b60408501519092506001600160401b03808211156200049957600080fd5b818601915086601f830112620004ae57600080fd5b815181811115620004c357620004c362000405565b604051601f8201601f19908116603f01168101908382118183101715620004ee57620004ee62000405565b816040528281528960208487010111156200050857600080fd5b6200051b8360208301602088016200041b565b80955050505050509250925092565b6000828210156200054b57634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052600160045260246000fd5b600082516200057a8184602087016200041b565b9190910192915050565b6020815260008251806020840152620005a58160408501602087016200041b565b601f01601f19169190910160400192915050565b608051610900620005f86000396000818161011201528181610176015281816102060152818161025e01528181610287015261030901526109006000f3fe6080604052600436106100435760003560e01c80633659cfe61461005a5780634f1ef2861461007a5780635c60da1b1461008d578063f851a440146100cb57610052565b36610052576100506100e0565b005b6100506100e0565b34801561006657600080fd5b5061005061007536600461076c565b6100fa565b610050610088366004610787565b61015e565b34801561009957600080fd5b506100a26101ec565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d757600080fd5b506100a2610244565b6100e86102f1565b6100f86100f36103e2565b610422565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101565761015381604051806020016040528060008152506000610446565b50565b6101536100e0565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101e4576101df8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610446915050565b505050565b6101df6100e0565b60003373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161415610239576102346103e2565b905090565b6102416100e0565b90565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561023957507f000000000000000000000000000000000000000000000000000000000000000090565b60606102ce83836040518060600160405280602781526020016108a460279139610471565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156100f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b60006102347f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b3660008037600080366000845af43d6000803e808015610441573d6000f35b3d6000fd5b61044f83610599565b60008251118061045c5750805b156101df5761046b83836102a9565b50505050565b606073ffffffffffffffffffffffffffffffffffffffff84163b610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016103d9565b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161053f9190610836565b600060405180830381855af49150503d806000811461057a576040519150601f19603f3d011682016040523d82523d6000602084013e61057f565b606091505b509150915061058f8282866105e6565b9695505050505050565b6105a281610639565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606083156105f55750816102ce565b8251156106055782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d99190610852565b73ffffffffffffffffffffffffffffffffffffffff81163b6106dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103d9565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461076757600080fd5b919050565b60006020828403121561077e57600080fd5b6102ce82610743565b60008060006040848603121561079c57600080fd5b6107a584610743565b9250602084013567ffffffffffffffff808211156107c257600080fd5b818601915086601f8301126107d657600080fd5b8135818111156107e557600080fd5b8760208285010111156107f757600080fd5b6020830194508093505050509250925092565b60005b8381101561082557818101518382015260200161080d565b8381111561046b5750506000910152565b6000825161084881846020870161080a565b9190910192915050565b602081526000825180602084015261087181604085016020870161080a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212206f70214c51cdd41c05ba0ffeb72b309ca3c8be178fd6e73c12162330799984f364736f6c634300080a0033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",
198
+ "deployedBytecode": "0x6080604052600436106100435760003560e01c80633659cfe61461005a5780634f1ef2861461007a5780635c60da1b1461008d578063f851a440146100cb57610052565b36610052576100506100e0565b005b6100506100e0565b34801561006657600080fd5b5061005061007536600461076c565b6100fa565b610050610088366004610787565b61015e565b34801561009957600080fd5b506100a26101ec565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d757600080fd5b506100a2610244565b6100e86102f1565b6100f86100f36103e2565b610422565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101565761015381604051806020016040528060008152506000610446565b50565b6101536100e0565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101e4576101df8383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610446915050565b505050565b6101df6100e0565b60003373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161415610239576102346103e2565b905090565b6102416100e0565b90565b60003373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561023957507f000000000000000000000000000000000000000000000000000000000000000090565b60606102ce83836040518060600160405280602781526020016108a460279139610471565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156100f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b60006102347f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5473ffffffffffffffffffffffffffffffffffffffff1690565b3660008037600080366000845af43d6000803e808015610441573d6000f35b3d6000fd5b61044f83610599565b60008251118061045c5750805b156101df5761046b83836102a9565b50505050565b606073ffffffffffffffffffffffffffffffffffffffff84163b610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e7472616374000000000000000000000000000000000000000000000000000060648201526084016103d9565b6000808573ffffffffffffffffffffffffffffffffffffffff168560405161053f9190610836565b600060405180830381855af49150503d806000811461057a576040519150601f19603f3d011682016040523d82523d6000602084013e61057f565b606091505b509150915061058f8282866105e6565b9695505050505050565b6105a281610639565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606083156105f55750816102ce565b8251156106055782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d99190610852565b73ffffffffffffffffffffffffffffffffffffffff81163b6106dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103d9565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b803573ffffffffffffffffffffffffffffffffffffffff8116811461076757600080fd5b919050565b60006020828403121561077e57600080fd5b6102ce82610743565b60008060006040848603121561079c57600080fd5b6107a584610743565b9250602084013567ffffffffffffffff808211156107c257600080fd5b818601915086601f8301126107d657600080fd5b8135818111156107e557600080fd5b8760208285010111156107f757600080fd5b6020830194508093505050509250925092565b60005b8381101561082557818101518382015260200161080d565b8381111561046b5750506000910152565b6000825161084881846020870161080a565b9190910192915050565b602081526000825180602084015261087181604085016020870161080a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212206f70214c51cdd41c05ba0ffeb72b309ca3c8be178fd6e73c12162330799984f364736f6c634300080a0033",
199
+ "devdoc": {
200
+ "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.",
201
+ "kind": "dev",
202
+ "methods": {
203
+ "admin()": {
204
+ "details": "Returns the current admin. NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyAdmin}. TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`"
205
+ },
206
+ "constructor": {
207
+ "details": "Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}."
208
+ },
209
+ "implementation()": {
210
+ "details": "Returns the current implementation. NOTE: Only the admin can call this function. See {ProxyAdmin-getProxyImplementation}. TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call. `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`"
211
+ },
212
+ "upgradeTo(address)": {
213
+ "details": "Upgrade the implementation of the proxy. NOTE: Only the admin can call this function. See {ProxyAdmin-upgrade}."
214
+ },
215
+ "upgradeToAndCall(address,bytes)": {
216
+ "details": "Upgrade the implementation of the proxy, and then call a function from the new implementation as specified by `data`, which should be an encoded function call. This is useful to initialize new storage variables in the proxied contract. NOTE: Only the admin can call this function. See {ProxyAdmin-upgradeAndCall}."
217
+ }
218
+ },
219
+ "version": 1
220
+ },
221
+ "userdoc": {
222
+ "kind": "user",
223
+ "methods": {},
224
+ "version": 1
225
+ },
226
+ "storageLayout": {
227
+ "storage": [],
228
+ "types": null
229
+ }
230
+ }