Commit ee7168b0 by github-actions

Transpile b12c2294

parent 49ae9a11
comment: off
github_checks:
annotations: false
coverage:
range: "100...100"
status:
patch:
default:
target: 95%
project:
default:
threshold: 1%
......@@ -130,6 +130,8 @@ contract TimelockControllerUpgradeable is Initializable, AccessControlUpgradeabl
/**
* @dev Returns the minimum delay for an operation to become valid.
*
* This value can be changed by executing an operation that calls `updateDelay`.
*/
function getMinDelay() public view returns (uint256 duration) {
return _minDelay;
......@@ -276,9 +278,14 @@ contract TimelockControllerUpgradeable is Initializable, AccessControlUpgradeabl
}
/**
* @dev Changes the timelock duration for future operations.
* @dev Changes the minimum timelock duration for future operations.
*
* Emits a {MinDelayChange} event.
*
* Requirements:
*
* - the caller must be the timelock itself. This can only be achieved by scheduling and later executing
* an operation where the timelock is the target and the data is the ABI-encoded call to this function.
*/
function updateDelay(uint256 newDelay) external virtual {
require(msg.sender == address(this), "TimelockController: caller must be timelock");
......
{{~#*inline "typed-variable-array"~}}
{{#each .}}++[.var-type]#++{{typeName}}++#++{{#if name}} ++[.var-name]#++{{name}}++#++{{/if}}{{#unless @last}}, {{/unless}}{{/each}}
{{#each .}}{{typeName}}{{#if name}} {{name}}{{/if}}{{#unless @last}}, {{/unless}}{{/each}}
{{~/inline~}}
{{#each linkable}}
......@@ -61,7 +61,7 @@
{{#each ownModifiers}}
[.contract-item]
[[{{anchor}}]]
==== `++{{name}}({{> typed-variable-array args}})++` [.item-kind]#modifier#
==== `[.contract-item-name]#++{{name}}++#++({{> typed-variable-array args}})++` [.item-kind]#modifier#
{{natspec.devdoc}}
......@@ -70,7 +70,7 @@
{{#each ownFunctions}}
[.contract-item]
[[{{anchor}}]]
==== `++{{name}}({{> typed-variable-array args}}){{#if outputs}}{{> typed-variable-array outputs}}{{/if}}++` [.item-kind]#{{visibility}}#
==== `[.contract-item-name]#++{{name}}++#++({{> typed-variable-array args}}){{#if outputs}}{{> typed-variable-array outputs}}{{/if}}++` [.item-kind]#{{visibility}}#
{{natspec.devdoc}}
......@@ -79,7 +79,7 @@
{{#each ownEvents}}
[.contract-item]
[[{{anchor}}]]
==== `++{{name}}({{> typed-variable-array args}})++` [.item-kind]#event#
==== `[.contract-item-name]#++{{name}}++#++({{> typed-variable-array args}})++` [.item-kind]#event#
{{natspec.devdoc}}
......
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