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) {
|
function _getInitializedVersion() internal view returns (uint8) {
|
||||||
return _initialized;
|
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) {
|
function _isInitializing() internal view returns (bool) {
|
||||||
return _initializing;
|
return _initializing;
|
||||||
|
|||||||
@ -1226,13 +1226,13 @@ Emits an {Initialized} event the first time it is successfully executed.
|
|||||||
[[Initializable-_getInitializedVersion--]]
|
[[Initializable-_getInitializedVersion--]]
|
||||||
==== `[.contract-item-name]#++_getInitializedVersion++#++() → uint8++` [.item-kind]#internal#
|
==== `[.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]
|
[.contract-item]
|
||||||
[[Initializable-_isInitializing--]]
|
[[Initializable-_isInitializing--]]
|
||||||
==== `[.contract-item-name]#++_isInitializing++#++() → bool++` [.item-kind]#internal#
|
==== `[.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]
|
[.contract-item]
|
||||||
[[Initializable-Initialized-uint8-]]
|
[[Initializable-Initialized-uint8-]]
|
||||||
|
|||||||
Reference in New Issue
Block a user