Update docs
This commit is contained in:
@ -150,14 +150,14 @@ abstract contract Initializable {
|
||||
}
|
||||
|
||||
/**
|
||||
* @dev Internal function that returns the initialized version. Returns `_initialized`
|
||||
* @dev Returns the highest version that has been initialized. See {reinitializer}.
|
||||
*/
|
||||
function _getInitializedVersion() internal view returns (uint8) {
|
||||
return _initialized;
|
||||
}
|
||||
|
||||
/**
|
||||
* @dev Internal function that returns the initialized version. Returns `_initializing`
|
||||
* @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
|
||||
*/
|
||||
function _isInitializing() internal view returns (bool) {
|
||||
return _initializing;
|
||||
|
||||
@ -1226,13 +1226,13 @@ Emits an {Initialized} event the first time it is successfully executed.
|
||||
[[Initializable-_getInitializedVersion--]]
|
||||
==== `[.contract-item-name]#++_getInitializedVersion++#++() → uint8++` [.item-kind]#internal#
|
||||
|
||||
Internal function that returns the initialized version. Returns `_initialized`
|
||||
Returns the highest version that has been initialized. See {reinitializer}.
|
||||
|
||||
[.contract-item]
|
||||
[[Initializable-_isInitializing--]]
|
||||
==== `[.contract-item-name]#++_isInitializing++#++() → bool++` [.item-kind]#internal#
|
||||
|
||||
Internal function that returns the initialized version. Returns `_initializing`
|
||||
Returns `true` if the contract is currently initializing. See {onlyInitializing}.
|
||||
|
||||
[.contract-item]
|
||||
[[Initializable-Initialized-uint8-]]
|
||||
|
||||
Reference in New Issue
Block a user