Solidity API

TimeLock

This contract is used to perform the actions of the B3TRGovernor contract with a time delay. The proposers and executors roles should be assigned only to the B3TRGovernor contract.

UPGRADER_ROLE

bytes32 UPGRADER_ROLE

constructor

constructor() public

initialize

function initialize(uint256 minDelay, address[] proposers, address[] executors, address admin, address upgrader) external

_authorizeUpgrade

function _authorizeUpgrade(address newImplementation) internal virtual

_Function that should revert when msg.sender is not authorized to upgrade the contract. Called by {upgradeToAndCall}.

Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.

function _authorizeUpgrade(address) internal onlyOwner {}
```_

### version

```solidity
function version() public pure virtual returns (string)

Retrieves the current version of the contract

This function is used to identify the version of the contract and should be updated in each new version

Return Values

Name Type Description
[0] string string The version of the contract