@layerzerolabs/lz-evm-sdk-v2 2.1.21 → 2.1.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/artifacts/contracts/EndpointV2.sol/EndpointV2.json +2 -2
- package/artifacts/contracts/EndpointV2Alt.sol/EndpointV2Alt.json +2 -2
- package/artifacts/contracts/EndpointV2View.sol/EndpointV2View.json +2 -2
- package/artifacts/contracts/EndpointV2ViewUpgradeable.sol/EndpointV2ViewUpgradeable.json +2 -2
- package/artifacts/contracts/libs/AddressCast.sol/AddressCast.json +2 -2
- package/artifacts/contracts/libs/CalldataBytesLib.sol/CalldataBytesLib.json +2 -2
- package/artifacts/contracts/libs/Errors.sol/Errors.json +2 -2
- package/artifacts/contracts/libs/GUID.sol/GUID.json +2 -2
- package/artifacts/contracts/libs/Transfer.sol/Transfer.json +2 -2
- package/artifacts/contracts/messagelib/BlockedMessageLib.sol/BlockedMessageLib.json +2 -2
- package/artifacts/contracts/messagelib/SimpleMessageLib.sol/SimpleMessageLib.json +2 -2
- package/artifacts/contracts/messagelib/libs/BitMaps.sol/BitMaps.json +2 -2
- package/artifacts/contracts/messagelib/libs/ExecutorOptions.sol/ExecutorOptions.json +2 -2
- package/artifacts/contracts/messagelib/libs/PacketV1Codec.sol/PacketV1Codec.json +2 -2
- package/artifacts/contracts/proxy/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json +2 -2
- package/deployments/hedera-testnet/DVN.json +1929 -0
- package/deployments/hedera-testnet/DVNFeeLib.json +398 -0
- package/deployments/hedera-testnet/DefaultProxyAdmin.json +258 -0
- package/deployments/hedera-testnet/EndpointV2.json +2946 -0
- package/deployments/hedera-testnet/EndpointV2View.json +429 -0
- package/deployments/hedera-testnet/EndpointV2View_Implementation.json +313 -0
- package/deployments/hedera-testnet/EndpointV2View_Proxy.json +230 -0
- package/deployments/hedera-testnet/Executor.json +1532 -0
- package/deployments/hedera-testnet/ExecutorFeeLib.json +423 -0
- package/deployments/hedera-testnet/ExecutorProxyAdmin.json +283 -0
- package/deployments/hedera-testnet/Executor_Implementation.json +1591 -0
- package/deployments/hedera-testnet/Executor_Proxy.json +365 -0
- package/deployments/hedera-testnet/LzExecutor.json +757 -0
- package/deployments/hedera-testnet/LzExecutor_Implementation.json +703 -0
- package/deployments/hedera-testnet/LzExecutor_Proxy.json +244 -0
- package/deployments/hedera-testnet/ReceiveUln301.json +1292 -0
- package/deployments/hedera-testnet/ReceiveUln301View.json +354 -0
- package/deployments/hedera-testnet/ReceiveUln301View_Implementation.json +231 -0
- package/deployments/hedera-testnet/ReceiveUln301View_Proxy.json +230 -0
- package/deployments/hedera-testnet/ReceiveUln302.json +1006 -0
- package/deployments/hedera-testnet/ReceiveUln302View.json +478 -0
- package/deployments/hedera-testnet/ReceiveUln302View_Implementation.json +384 -0
- package/deployments/hedera-testnet/ReceiveUln302View_Proxy.json +230 -0
- package/deployments/hedera-testnet/SendUln301.json +1569 -0
- package/deployments/hedera-testnet/SendUln302.json +1527 -0
- package/deployments/hedera-testnet/Treasury.json +412 -0
- package/deployments/hedera-testnet/TreasuryFeeHandler.json +125 -0
- package/deployments/merlin-testnet/DVN.json +1929 -0
- package/deployments/merlin-testnet/DVNFeeLib.json +398 -0
- package/deployments/merlin-testnet/DefaultProxyAdmin.json +258 -0
- package/deployments/merlin-testnet/EndpointV2.json +3001 -0
- package/deployments/merlin-testnet/EndpointV2View.json +435 -0
- package/deployments/merlin-testnet/EndpointV2View_Implementation.json +313 -0
- package/deployments/merlin-testnet/EndpointV2View_Proxy.json +230 -0
- package/deployments/merlin-testnet/Executor.json +1532 -0
- package/deployments/merlin-testnet/ExecutorFeeLib.json +423 -0
- package/deployments/merlin-testnet/ExecutorProxyAdmin.json +283 -0
- package/deployments/merlin-testnet/Executor_Implementation.json +1591 -0
- package/deployments/merlin-testnet/Executor_Proxy.json +365 -0
- package/deployments/merlin-testnet/LzExecutor.json +757 -0
- package/deployments/merlin-testnet/LzExecutor_Implementation.json +703 -0
- package/deployments/merlin-testnet/LzExecutor_Proxy.json +244 -0
- package/deployments/merlin-testnet/PriceFeed.json +934 -0
- package/deployments/merlin-testnet/PriceFeedProxyAdmin.json +283 -0
- package/deployments/merlin-testnet/PriceFeed_Implementation.json +976 -0
- package/deployments/merlin-testnet/PriceFeed_Proxy.json +244 -0
- package/deployments/merlin-testnet/ReceiveUln301.json +1292 -0
- package/deployments/merlin-testnet/ReceiveUln301View.json +354 -0
- package/deployments/merlin-testnet/ReceiveUln301View_Implementation.json +231 -0
- package/deployments/merlin-testnet/ReceiveUln301View_Proxy.json +230 -0
- package/deployments/merlin-testnet/ReceiveUln302.json +1006 -0
- package/deployments/merlin-testnet/ReceiveUln302View.json +478 -0
- package/deployments/merlin-testnet/ReceiveUln302View_Implementation.json +384 -0
- package/deployments/merlin-testnet/ReceiveUln302View_Proxy.json +230 -0
- package/deployments/merlin-testnet/SendUln301.json +1569 -0
- package/deployments/merlin-testnet/SendUln302.json +1527 -0
- package/deployments/merlin-testnet/Treasury.json +412 -0
- package/deployments/merlin-testnet/TreasuryFeeHandler.json +125 -0
- package/dist/{index-VXKdRwxd.d.mts → index-QJVkaD-8.d.mts} +11 -11
- package/dist/{index-VXKdRwxd.d.ts → index-QJVkaD-8.d.ts} +11 -11
- package/dist/index.browser.cjs +11 -11
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.d.mts +1 -1
- package/dist/index.browser.d.ts +1 -1
- package/dist/index.browser.mjs +11 -11
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.cjs +11 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +11 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
{
|
|
2
|
+
"address": "0x6Ac7bdc07A0583A362F1497252872AE6c0A5F5B8",
|
|
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": "0x3ab61af701452bb2c844f11c90ccf39416ed9e8c81e742b2aa9269d39dba61c6",
|
|
204
|
+
"receipt": {
|
|
205
|
+
"to": null,
|
|
206
|
+
"from": "0xc13b65f7c53Cd6db2EA205a4b574b4a0858720A6",
|
|
207
|
+
"contractAddress": "0x6Ac7bdc07A0583A362F1497252872AE6c0A5F5B8",
|
|
208
|
+
"transactionIndex": 0,
|
|
209
|
+
"gasUsed": "663112",
|
|
210
|
+
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
211
|
+
"blockHash": "0xfb4c86250a5f4ae1d1d4b1ce855d0215d17c6c492a619a8a89bb1305649e2daf",
|
|
212
|
+
"transactionHash": "0x3ab61af701452bb2c844f11c90ccf39416ed9e8c81e742b2aa9269d39dba61c6",
|
|
213
|
+
"logs": [],
|
|
214
|
+
"blockNumber": 3601284,
|
|
215
|
+
"cumulativeGasUsed": "663112",
|
|
216
|
+
"status": 1,
|
|
217
|
+
"byzantium": true
|
|
218
|
+
},
|
|
219
|
+
"args": [],
|
|
220
|
+
"numDeployments": 1,
|
|
221
|
+
"solcInputHash": "63e80e7a99a44ec574063024d5cbb245",
|
|
222
|
+
"bytecode": "0x608060405234801561001057600080fd5b50610b15806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c8063861e1ca51161005b578063861e1ca5146100ef578063c4d66de814610112578063cb5026b914610127578063e1e3a7df1461012f57600080fd5b80632baf0be7146100825780634b4b2efb1461009e5780635e280f11146100be575b600080fd5b61008b60001981565b6040519081526020015b60405180910390f35b6100b16100ac3660046109bd565b610142565b60405161009591906109f1565b6000546100d7906201000090046001600160a01b031681565b6040516001600160a01b039091168152602001610095565b6101026100fd3660046109bd565b6103ec565b6040519015158152602001610095565b610125610120366004610a19565b6104b1565b005b61008b600081565b61010261013d366004610a3b565b610657565b600080548351602085015160408087015190517fc9fc7bcd0000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015263ffffffff9094166024820152604481019290925267ffffffffffffffff16606482015283926201000090049091169063c9fc7bcd90608401602060405180830381865afa1580156101de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102029190610a87565b9050801580156102d15750600054845160208601516040517f5b17bb700000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015263ffffffff90931660248201526044810191909152620100009092041690635b17bb7090606401602060405180830381865afa158015610291573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b59190610aa0565b67ffffffffffffffff16846040015167ffffffffffffffff1611155b156102e05760039150506103e6565b60001981148015906103b15750600054845160208601516040517fa0dd43fc0000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015263ffffffff9093166024820152604481019190915262010000909204169063a0dd43fc90606401602060405180830381865afa158015610371573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103959190610aa0565b67ffffffffffffffff16846040015167ffffffffffffffff1611155b156103c05760029150506103e6565b80158015906103d157506000198114155b156103e05760019150506103e6565b60009150505b92915050565b60008054604080517f861e1ca5000000000000000000000000000000000000000000000000000000008152855163ffffffff166004820152602086015160248201529085015167ffffffffffffffff1660448201526001600160a01b038481166064830152620100009092049091169063861e1ca590608401602060405180830381865afa92505050801561049e575060408051601f3d908101601f1916820190925261049b91810190610abd565b60015b6104aa575060006103e6565b90506103e6565b60006104db7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b90506001600160a01b03811661051a576001600160a01b037fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035561052f565b336001600160a01b0382161461052f57600080fd5b600054610100900460ff161580801561054f5750600054600160ff909116105b806105695750303b158015610569575060005460ff166001145b6105e05760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b6000805460ff191660011790558015610603576000805461ff0019166101001790555b61060c836107e5565b8015610652576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6000805485516040517f9d7f97750000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015263ffffffff90921660248201528582166044820152620100009092041690639d7f977590606401602060405180830381865afa1580156106d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fb9190610abd565b610707575060006107dd565b600054604080517fc9a54a99000000000000000000000000000000000000000000000000000000008152875163ffffffff166004820152602088015160248201529087015167ffffffffffffffff1660448201526001600160a01b038681166064830152620100009092049091169063c9a54a9990608401602060405180830381865afa15801561079c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c09190610abd565b6107cc575060006107dd565b816107d9575060006107dd565b5060015b949350505050565b600054610100900460ff166108505760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016105d7565b6108598161085c565b50565b600054610100900460ff166108c75760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016105d7565b600080546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b67ffffffffffffffff8116811461085957600080fd5b60006060828403121561092f57600080fd5b6040516060810181811067ffffffffffffffff8211171561096057634e487b7160e01b600052604160045260246000fd5b604052905080823563ffffffff8116811461097a57600080fd5b815260208381013590820152604083013561099481610907565b6040919091015292915050565b80356001600160a01b03811681146109b857600080fd5b919050565b600080608083850312156109d057600080fd5b6109da848461091d565b91506109e8606084016109a1565b90509250929050565b6020810160048310610a1357634e487b7160e01b600052602160045260246000fd5b91905290565b600060208284031215610a2b57600080fd5b610a34826109a1565b9392505050565b60008060008060c08587031215610a5157600080fd5b610a5b868661091d565b9350610a69606086016109a1565b9250610a77608086016109a1565b9396929550929360a00135925050565b600060208284031215610a9957600080fd5b5051919050565b600060208284031215610ab257600080fd5b8151610a3481610907565b600060208284031215610acf57600080fd5b81518015158114610a3457600080fdfea26469706673582212207abaaad946cea8e14c9c8f8f862153880e15be139e8392635c7f0b1009fff52c64736f6c63430008160033",
|
|
223
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c8063861e1ca51161005b578063861e1ca5146100ef578063c4d66de814610112578063cb5026b914610127578063e1e3a7df1461012f57600080fd5b80632baf0be7146100825780634b4b2efb1461009e5780635e280f11146100be575b600080fd5b61008b60001981565b6040519081526020015b60405180910390f35b6100b16100ac3660046109bd565b610142565b60405161009591906109f1565b6000546100d7906201000090046001600160a01b031681565b6040516001600160a01b039091168152602001610095565b6101026100fd3660046109bd565b6103ec565b6040519015158152602001610095565b610125610120366004610a19565b6104b1565b005b61008b600081565b61010261013d366004610a3b565b610657565b600080548351602085015160408087015190517fc9fc7bcd0000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015263ffffffff9094166024820152604481019290925267ffffffffffffffff16606482015283926201000090049091169063c9fc7bcd90608401602060405180830381865afa1580156101de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102029190610a87565b9050801580156102d15750600054845160208601516040517f5b17bb700000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015263ffffffff90931660248201526044810191909152620100009092041690635b17bb7090606401602060405180830381865afa158015610291573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102b59190610aa0565b67ffffffffffffffff16846040015167ffffffffffffffff1611155b156102e05760039150506103e6565b60001981148015906103b15750600054845160208601516040517fa0dd43fc0000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015263ffffffff9093166024820152604481019190915262010000909204169063a0dd43fc90606401602060405180830381865afa158015610371573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103959190610aa0565b67ffffffffffffffff16846040015167ffffffffffffffff1611155b156103c05760029150506103e6565b80158015906103d157506000198114155b156103e05760019150506103e6565b60009150505b92915050565b60008054604080517f861e1ca5000000000000000000000000000000000000000000000000000000008152855163ffffffff166004820152602086015160248201529085015167ffffffffffffffff1660448201526001600160a01b038481166064830152620100009092049091169063861e1ca590608401602060405180830381865afa92505050801561049e575060408051601f3d908101601f1916820190925261049b91810190610abd565b60015b6104aa575060006103e6565b90506103e6565b60006104db7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b90506001600160a01b03811661051a576001600160a01b037fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035561052f565b336001600160a01b0382161461052f57600080fd5b600054610100900460ff161580801561054f5750600054600160ff909116105b806105695750303b158015610569575060005460ff166001145b6105e05760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b6000805460ff191660011790558015610603576000805461ff0019166101001790555b61060c836107e5565b8015610652576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6000805485516040517f9d7f97750000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015263ffffffff90921660248201528582166044820152620100009092041690639d7f977590606401602060405180830381865afa1580156106d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fb9190610abd565b610707575060006107dd565b600054604080517fc9a54a99000000000000000000000000000000000000000000000000000000008152875163ffffffff166004820152602088015160248201529087015167ffffffffffffffff1660448201526001600160a01b038681166064830152620100009092049091169063c9a54a9990608401602060405180830381865afa15801561079c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c09190610abd565b6107cc575060006107dd565b816107d9575060006107dd565b5060015b949350505050565b600054610100900460ff166108505760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016105d7565b6108598161085c565b50565b600054610100900460ff166108c75760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016105d7565b600080546001600160a01b0390921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b67ffffffffffffffff8116811461085957600080fd5b60006060828403121561092f57600080fd5b6040516060810181811067ffffffffffffffff8211171561096057634e487b7160e01b600052604160045260246000fd5b604052905080823563ffffffff8116811461097a57600080fd5b815260208381013590820152604083013561099481610907565b6040919091015292915050565b80356001600160a01b03811681146109b857600080fd5b919050565b600080608083850312156109d057600080fd5b6109da848461091d565b91506109e8606084016109a1565b90509250929050565b6020810160048310610a1357634e487b7160e01b600052602160045260246000fd5b91905290565b600060208284031215610a2b57600080fd5b610a34826109a1565b9392505050565b60008060008060c08587031215610a5157600080fd5b610a5b868661091d565b9350610a69606086016109a1565b9250610a77608086016109a1565b9396929550929360a00135925050565b600060208284031215610a9957600080fd5b5051919050565b600060208284031215610ab257600080fd5b8151610a3481610907565b600060208284031215610acf57600080fd5b81518015158114610a3457600080fdfea26469706673582212207abaaad946cea8e14c9c8f8f862153880e15be139e8392635c7f0b1009fff52c64736f6c63430008160033",
|
|
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": 3109,
|
|
269
|
+
"contract": "contracts/EndpointV2View.sol:EndpointV2View",
|
|
270
|
+
"label": "endpoint",
|
|
271
|
+
"offset": 2,
|
|
272
|
+
"slot": "0",
|
|
273
|
+
"type": "t_contract(ILayerZeroEndpointV2)5371"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"astId": 3293,
|
|
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)5371": {
|
|
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": "0x145C041566B21Bec558B2A37F1a5Ff261aB55998",
|
|
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": "0xc30465016809eba7b41d305c64cd63a111fb2728c6653c21edda960aa72dd6b5",
|
|
137
|
+
"receipt": {
|
|
138
|
+
"to": null,
|
|
139
|
+
"from": "0xc13b65f7c53Cd6db2EA205a4b574b4a0858720A6",
|
|
140
|
+
"contractAddress": "0x145C041566B21Bec558B2A37F1a5Ff261aB55998",
|
|
141
|
+
"transactionIndex": 0,
|
|
142
|
+
"gasUsed": "648678",
|
|
143
|
+
"logsBloom": "0x00000000000080000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000002000000008000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000080000000000000800000000000200000000000000001000400000000000000000000000000000000000000000020000000000100000000040000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
|
144
|
+
"blockHash": "0xd72f1e92219296a0ee89364d314e64f31a2f53de1608bce20a33184d72dcf10e",
|
|
145
|
+
"transactionHash": "0xc30465016809eba7b41d305c64cd63a111fb2728c6653c21edda960aa72dd6b5",
|
|
146
|
+
"logs": [
|
|
147
|
+
{
|
|
148
|
+
"transactionIndex": 0,
|
|
149
|
+
"blockNumber": 3601285,
|
|
150
|
+
"transactionHash": "0xc30465016809eba7b41d305c64cd63a111fb2728c6653c21edda960aa72dd6b5",
|
|
151
|
+
"address": "0x145C041566B21Bec558B2A37F1a5Ff261aB55998",
|
|
152
|
+
"topics": [
|
|
153
|
+
"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b",
|
|
154
|
+
"0x0000000000000000000000006ac7bdc07a0583a362f1497252872ae6c0a5f5b8"
|
|
155
|
+
],
|
|
156
|
+
"data": "0x",
|
|
157
|
+
"logIndex": 0,
|
|
158
|
+
"blockHash": "0xd72f1e92219296a0ee89364d314e64f31a2f53de1608bce20a33184d72dcf10e"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"transactionIndex": 0,
|
|
162
|
+
"blockNumber": 3601285,
|
|
163
|
+
"transactionHash": "0xc30465016809eba7b41d305c64cd63a111fb2728c6653c21edda960aa72dd6b5",
|
|
164
|
+
"address": "0x145C041566B21Bec558B2A37F1a5Ff261aB55998",
|
|
165
|
+
"topics": [
|
|
166
|
+
"0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498"
|
|
167
|
+
],
|
|
168
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000001",
|
|
169
|
+
"logIndex": 1,
|
|
170
|
+
"blockHash": "0xd72f1e92219296a0ee89364d314e64f31a2f53de1608bce20a33184d72dcf10e"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"transactionIndex": 0,
|
|
174
|
+
"blockNumber": 3601285,
|
|
175
|
+
"transactionHash": "0xc30465016809eba7b41d305c64cd63a111fb2728c6653c21edda960aa72dd6b5",
|
|
176
|
+
"address": "0x145C041566B21Bec558B2A37F1a5Ff261aB55998",
|
|
177
|
+
"topics": [
|
|
178
|
+
"0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f"
|
|
179
|
+
],
|
|
180
|
+
"data": "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b23b28012ee92e8de39deb57af31722223034747",
|
|
181
|
+
"logIndex": 2,
|
|
182
|
+
"blockHash": "0xd72f1e92219296a0ee89364d314e64f31a2f53de1608bce20a33184d72dcf10e"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"blockNumber": 3601285,
|
|
186
|
+
"cumulativeGasUsed": "648678",
|
|
187
|
+
"status": 1,
|
|
188
|
+
"byzantium": true
|
|
189
|
+
},
|
|
190
|
+
"args": [
|
|
191
|
+
"0x6Ac7bdc07A0583A362F1497252872AE6c0A5F5B8",
|
|
192
|
+
"0xb23b28012ee92E8dE39DEb57Af31722223034747",
|
|
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
|
+
}
|