@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,230 @@
1
+ {
2
+ "address": "0x55c175DD5b039331dB251424538169D8495C18d1",
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": "0x04dc939062ea10a772c56b58aa343aff3144833e182f06b4ed68f36c768e4307",
137
+ "receipt": {
138
+ "to": null,
139
+ "from": "0xc13b65f7c53Cd6db2EA205a4b574b4a0858720A6",
140
+ "contractAddress": "0x55c175DD5b039331dB251424538169D8495C18d1",
141
+ "transactionIndex": 1,
142
+ "gasUsed": "671371",
143
+ "logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000002000000000000000000000001000000000000000000000000000000000000000000000000800000000000000000000000000000000000000020000000000000000000000000000080000000000000800000000000000000000000000000000400000000000000000000000000000000000000000020000000000000000000040000000000000400000000000000000080000000000000000000000000000000000000000000000000000000000004004000",
144
+ "blockHash": "0xea0f0352c3e2a2aa082c3023f99b120f17ce99e0f37061c3e2e2cc400adbc910",
145
+ "transactionHash": "0x04dc939062ea10a772c56b58aa343aff3144833e182f06b4ed68f36c768e4307",
146
+ "logs": [
147
+ {
148
+ "transactionIndex": 1,
149
+ "blockNumber": 2936539,
150
+ "transactionHash": "0x04dc939062ea10a772c56b58aa343aff3144833e182f06b4ed68f36c768e4307",
151
+ "address": "0x55c175DD5b039331dB251424538169D8495C18d1",
152
+ "topics": [
153
+ "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
154
+ "0x00000000000000000000000012523de19dc41c91f7d2093e0cfbb76b17012c8d"
155
+ ],
156
+ "data": "0x",
157
+ "logIndex": 0,
158
+ "blockHash": "0xea0f0352c3e2a2aa082c3023f99b120f17ce99e0f37061c3e2e2cc400adbc910"
159
+ },
160
+ {
161
+ "transactionIndex": 1,
162
+ "blockNumber": 2936539,
163
+ "transactionHash": "0x04dc939062ea10a772c56b58aa343aff3144833e182f06b4ed68f36c768e4307",
164
+ "address": "0x55c175DD5b039331dB251424538169D8495C18d1",
165
+ "topics": [
166
+ "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
167
+ ],
168
+ "data": "0x0000000000000000000000000000000000000000000000000000000000000001",
169
+ "logIndex": 1,
170
+ "blockHash": "0xea0f0352c3e2a2aa082c3023f99b120f17ce99e0f37061c3e2e2cc400adbc910"
171
+ },
172
+ {
173
+ "transactionIndex": 1,
174
+ "blockNumber": 2936539,
175
+ "transactionHash": "0x04dc939062ea10a772c56b58aa343aff3144833e182f06b4ed68f36c768e4307",
176
+ "address": "0x55c175DD5b039331dB251424538169D8495C18d1",
177
+ "topics": [
178
+ "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
179
+ ],
180
+ "data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000073f5b4fdf17bbc16b0980d49f6c56123477bb51",
181
+ "logIndex": 2,
182
+ "blockHash": "0xea0f0352c3e2a2aa082c3023f99b120f17ce99e0f37061c3e2e2cc400adbc910"
183
+ }
184
+ ],
185
+ "blockNumber": 2936539,
186
+ "cumulativeGasUsed": "692371",
187
+ "status": 1,
188
+ "byzantium": true
189
+ },
190
+ "args": [
191
+ "0x12523de19dc41c91F7d2093E0CFbB76b17012C8d",
192
+ "0x073f5b4FdF17BBC16b0980d49f6C56123477bb51",
193
+ "0xc1554a4b00000000000000000000000083c73da98cf733b03315afa8758834b36a195b870000000000000000000000000000000000000000000000000000000000002802000000000000000000000000c1868e054425d378095a003ecba3823a5d0135c9"
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
+ }