Update docs

This commit is contained in:
github-actions
2022-05-11 21:14:33 +00:00
parent 2226bb0f34
commit 0627757030
19 changed files with 86 additions and 64 deletions

View File

@ -2293,7 +2293,7 @@ implementation behind the proxy.
Initializes the upgradeable proxy with an initial implementation specified by `_logic`.
If `_data` is nonempty, it's used as data in a delegate call to `_logic`. This will typically be an encoded
function call, and allows initializating the storage of the proxy like a Solidity constructor.
function call, and allows initializing the storage of the proxy like a Solidity constructor.
[.contract-item]
[[ERC1967Proxy-_implementation--]]
@ -2748,7 +2748,7 @@ Requirements:
import "@openzeppelin/contracts/proxy/beacon/BeaconProxy.sol";
```
This contract implements a proxy that gets the implementation address for each call from a {UpgradeableBeacon}.
This contract implements a proxy that gets the implementation address for each call from an {UpgradeableBeacon}.
The beacon address is stored in storage slot `uint256(keccak256('eip1967.proxy.beacon')) - 1`, so that it doesn't
conflict with the storage layout of the implementation behind the proxy.
@ -2808,7 +2808,7 @@ _Available since v3.4._
Initializes the proxy with `beacon`.
If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon. This
will typically be an encoded function call, and allows initializating the storage of the proxy like a Solidity
will typically be an encoded function call, and allows initializing the storage of the proxy like a Solidity
constructor.
Requirements: