Commit 772f10d7 by github-actions

Transpile 02d96cc9

parent f668ffb1
......@@ -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.
* Consequently, if the vesting has already started, any amount of tokens sent to this contract will (at least partly)
* be immediately releasable.
*
* @custom:storage-size 52
*/
contract VestingWalletUpgradeable is Initializable, ContextUpgradeable {
event EtherReleased(uint256 amount);
......@@ -147,5 +149,5 @@ contract VestingWalletUpgradeable is Initializable, ContextUpgradeable {
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[46] private __gap;
uint256[48] private __gap;
}
......@@ -11,6 +11,8 @@ import "../../proxy/utils/Initializable.sol";
* @dev Extension of {Governor} for voting weight extraction from a Comp token.
*
* _Available since v4.3._
*
* @custom:storage-size 51
*/
abstract contract GovernorVotesCompUpgradeable is Initializable, GovernorUpgradeable {
ERC20VotesCompUpgradeable public token;
......@@ -39,5 +41,5 @@ abstract contract GovernorVotesCompUpgradeable is Initializable, GovernorUpgrade
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[49] private __gap;
uint256[50] private __gap;
}
......@@ -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.
*
* _Available since v4.3._
*
* @custom:storage-size 51
*/
abstract contract GovernorVotesUpgradeable is Initializable, GovernorUpgradeable {
IVotesUpgradeable public token;
......@@ -39,5 +41,5 @@ abstract contract GovernorVotesUpgradeable is Initializable, GovernorUpgradeable
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[49] private __gap;
uint256[50] private __gap;
}
......@@ -23,6 +23,8 @@ import "../proxy/utils/Initializable.sol";
* To use, derive from the `PullPayment` contract, and use {_asyncTransfer}
* instead of Solidity's `transfer` function. Payees can query their due
* payments with {payments}, and retrieve them with {withdrawPayments}.
*
* @custom:storage-size 51
*/
abstract contract PullPaymentUpgradeable is Initializable {
EscrowUpgradeable private _escrow;
......@@ -79,5 +81,5 @@ abstract contract PullPaymentUpgradeable is Initializable {
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[49] private __gap;
uint256[50] private __gap;
}
......@@ -8,6 +8,8 @@ import "../../../proxy/utils/Initializable.sol";
/**
* @dev Extension of {ERC20} that adds a cap to the supply of tokens.
*
* @custom:storage-size 51
*/
abstract contract ERC20CappedUpgradeable is Initializable, ERC20Upgradeable {
uint256 private _cap;
......@@ -45,5 +47,5 @@ abstract contract ERC20CappedUpgradeable is Initializable, ERC20Upgradeable {
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[49] private __gap;
uint256[50] private __gap;
}
......@@ -15,6 +15,8 @@ import "../../../proxy/utils/Initializable.sol";
* wrapping of an existing "basic" ERC20 into a governance token.
*
* _Available since v4.2._
*
* @custom:storage-size 51
*/
abstract contract ERC20WrapperUpgradeable is Initializable, ERC20Upgradeable {
IERC20Upgradeable public underlying;
......@@ -60,5 +62,5 @@ abstract contract ERC20WrapperUpgradeable is Initializable, ERC20Upgradeable {
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[49] private __gap;
uint256[50] private __gap;
}
......@@ -19,6 +19,8 @@ import "../../../proxy/utils/Initializable.sol";
* need to send a transaction, and thus is not required to hold Ether at all.
*
* _Available since v3.4._
*
* @custom:storage-size 51
*/
abstract contract ERC20PermitUpgradeable is Initializable, ERC20Upgradeable, IERC20PermitUpgradeable, EIP712Upgradeable {
using CountersUpgradeable for CountersUpgradeable.Counter;
......@@ -103,5 +105,5 @@ abstract contract ERC20PermitUpgradeable is Initializable, ERC20Upgradeable, IER
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[48] private __gap;
uint256[49] private __gap;
}
......@@ -12,6 +12,8 @@ import "../../../proxy/utils/Initializable.sol";
*
* Useful for simple vesting schedules like "advisors get all of their tokens
* after 1 year".
*
* @custom:storage-size 53
*/
contract TokenTimelockUpgradeable is Initializable {
using SafeERC20Upgradeable for IERC20Upgradeable;
......@@ -88,5 +90,5 @@ contract TokenTimelockUpgradeable is Initializable {
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[47] private __gap;
uint256[50] private __gap;
}
......@@ -24,6 +24,8 @@ import "../../proxy/utils/Initializable.sol";
* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
*
* _Available since v3.4._
*
* @custom:storage-size 52
*/
abstract contract EIP712Upgradeable is Initializable {
/* solhint-disable var-name-mixedcase */
......@@ -115,5 +117,5 @@ abstract contract EIP712Upgradeable is Initializable {
* variables without shifting down storage in the inheritance chain.
* See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
*/
uint256[48] private __gap;
uint256[50] private __gap;
}
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