Commit 5ffedf46 by github-actions

Transpile 276d7232

parent 1e5e9b0f
...@@ -17,6 +17,8 @@ import "../proxy/utils/Initializable.sol"; ...@@ -17,6 +17,8 @@ import "../proxy/utils/Initializable.sol";
* Any token transferred to this contract will follow the vesting schedule as if they were locked from the beginning. * Any token transferred to this contract will follow the vesting schedule as if they were locked from the beginning.
* Consequently, if the vesting has already started, any amount of tokens sent to this contract will (at least partly) * Consequently, if the vesting has already started, any amount of tokens sent to this contract will (at least partly)
* be immediately releasable. * be immediately releasable.
*
* @custom:storage-size 52
*/ */
contract VestingWalletUpgradeable is Initializable, ContextUpgradeable { contract VestingWalletUpgradeable is Initializable, ContextUpgradeable {
event EtherReleased(uint256 amount); event EtherReleased(uint256 amount);
......
...@@ -11,6 +11,8 @@ import "../../proxy/utils/Initializable.sol"; ...@@ -11,6 +11,8 @@ import "../../proxy/utils/Initializable.sol";
* @dev Extension of {Governor} for voting weight extraction from a Comp token. * @dev Extension of {Governor} for voting weight extraction from a Comp token.
* *
* _Available since v4.3._ * _Available since v4.3._
*
* @custom:storage-size 51
*/ */
abstract contract GovernorVotesCompUpgradeable is Initializable, GovernorUpgradeable { abstract contract GovernorVotesCompUpgradeable is Initializable, GovernorUpgradeable {
ERC20VotesCompUpgradeable public token; ERC20VotesCompUpgradeable public token;
......
...@@ -11,6 +11,8 @@ import "../../proxy/utils/Initializable.sol"; ...@@ -11,6 +11,8 @@ import "../../proxy/utils/Initializable.sol";
* @dev Extension of {Governor} for voting weight extraction from an {ERC20Votes} token, or since v4.5 an {ERC721Votes} token. * @dev Extension of {Governor} for voting weight extraction from an {ERC20Votes} token, or since v4.5 an {ERC721Votes} token.
* *
* _Available since v4.3._ * _Available since v4.3._
*
* @custom:storage-size 51
*/ */
abstract contract GovernorVotesUpgradeable is Initializable, GovernorUpgradeable { abstract contract GovernorVotesUpgradeable is Initializable, GovernorUpgradeable {
IVotesUpgradeable public token; IVotesUpgradeable public token;
......
...@@ -34,5 +34,5 @@ contract ERC20DecimalsMockUpgradeable is Initializable, ERC20Upgradeable { ...@@ -34,5 +34,5 @@ contract ERC20DecimalsMockUpgradeable is Initializable, ERC20Upgradeable {
* variables without shifting down storage in the inheritance chain. * variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/ */
uint256[50] private __gap; uint256[49] private __gap;
} }
...@@ -61,5 +61,5 @@ contract ERC3156FlashBorrowerMockUpgradeable is Initializable, IERC3156FlashBorr ...@@ -61,5 +61,5 @@ contract ERC3156FlashBorrowerMockUpgradeable is Initializable, IERC3156FlashBorr
* variables without shifting down storage in the inheritance chain. * variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/ */
uint256[50] private __gap; uint256[49] private __gap;
} }
...@@ -50,5 +50,5 @@ contract ERC721ReceiverMockUpgradeable is Initializable, IERC721ReceiverUpgradea ...@@ -50,5 +50,5 @@ contract ERC721ReceiverMockUpgradeable is Initializable, IERC721ReceiverUpgradea
* variables without shifting down storage in the inheritance chain. * variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/ */
uint256[50] private __gap; uint256[49] private __gap;
} }
...@@ -23,6 +23,8 @@ import "../proxy/utils/Initializable.sol"; ...@@ -23,6 +23,8 @@ import "../proxy/utils/Initializable.sol";
* To use, derive from the `PullPayment` contract, and use {_asyncTransfer} * To use, derive from the `PullPayment` contract, and use {_asyncTransfer}
* instead of Solidity's `transfer` function. Payees can query their due * instead of Solidity's `transfer` function. Payees can query their due
* payments with {payments}, and retrieve them with {withdrawPayments}. * payments with {payments}, and retrieve them with {withdrawPayments}.
*
* @custom:storage-size 51
*/ */
abstract contract PullPaymentUpgradeable is Initializable { abstract contract PullPaymentUpgradeable is Initializable {
EscrowUpgradeable private _escrow; EscrowUpgradeable private _escrow;
......
...@@ -8,6 +8,8 @@ import "../../../proxy/utils/Initializable.sol"; ...@@ -8,6 +8,8 @@ import "../../../proxy/utils/Initializable.sol";
/** /**
* @dev Extension of {ERC20} that adds a cap to the supply of tokens. * @dev Extension of {ERC20} that adds a cap to the supply of tokens.
*
* @custom:storage-size 51
*/ */
abstract contract ERC20CappedUpgradeable is Initializable, ERC20Upgradeable { abstract contract ERC20CappedUpgradeable is Initializable, ERC20Upgradeable {
uint256 private _cap; uint256 private _cap;
......
...@@ -15,6 +15,8 @@ import "../../../proxy/utils/Initializable.sol"; ...@@ -15,6 +15,8 @@ import "../../../proxy/utils/Initializable.sol";
* wrapping of an existing "basic" ERC20 into a governance token. * wrapping of an existing "basic" ERC20 into a governance token.
* *
* _Available since v4.2._ * _Available since v4.2._
*
* @custom:storage-size 51
*/ */
abstract contract ERC20WrapperUpgradeable is Initializable, ERC20Upgradeable { abstract contract ERC20WrapperUpgradeable is Initializable, ERC20Upgradeable {
IERC20Upgradeable public underlying; IERC20Upgradeable public underlying;
......
...@@ -19,6 +19,8 @@ import "../../../proxy/utils/Initializable.sol"; ...@@ -19,6 +19,8 @@ import "../../../proxy/utils/Initializable.sol";
* need to send a transaction, and thus is not required to hold Ether at all. * need to send a transaction, and thus is not required to hold Ether at all.
* *
* _Available since v3.4._ * _Available since v3.4._
*
* @custom:storage-size 51
*/ */
abstract contract ERC20PermitUpgradeable is Initializable, ERC20Upgradeable, IERC20PermitUpgradeable, EIP712Upgradeable { abstract contract ERC20PermitUpgradeable is Initializable, ERC20Upgradeable, IERC20PermitUpgradeable, EIP712Upgradeable {
using CountersUpgradeable for CountersUpgradeable.Counter; using CountersUpgradeable for CountersUpgradeable.Counter;
......
...@@ -12,6 +12,8 @@ import "../../../proxy/utils/Initializable.sol"; ...@@ -12,6 +12,8 @@ import "../../../proxy/utils/Initializable.sol";
* *
* Useful for simple vesting schedules like "advisors get all of their tokens * Useful for simple vesting schedules like "advisors get all of their tokens
* after 1 year". * after 1 year".
*
* @custom:storage-size 53
*/ */
contract TokenTimelockUpgradeable is Initializable { contract TokenTimelockUpgradeable is Initializable {
using SafeERC20Upgradeable for IERC20Upgradeable; using SafeERC20Upgradeable for IERC20Upgradeable;
......
...@@ -24,6 +24,8 @@ import "../../proxy/utils/Initializable.sol"; ...@@ -24,6 +24,8 @@ import "../../proxy/utils/Initializable.sol";
* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
* *
* _Available since v3.4._ * _Available since v3.4._
*
* @custom:storage-size 52
*/ */
abstract contract EIP712Upgradeable is Initializable { abstract contract EIP712Upgradeable is Initializable {
/* solhint-disable var-name-mixedcase */ /* solhint-disable var-name-mixedcase */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment