Contract detail
MidasTimelockController
Live Robinhood Chain account facts for 0xb821e46a…177ac7f3. No activity has been observed yet while historical coverage continues.
- Address type
- Smart contract
- Transactions
- 0 observed
- History coverage
- No indexed activity found
- Emitted events
- 10
- Verification
- Verified
- Compiler
- v0.8.9+commit.e5eed63a
- Verification match
- full
- Creation transaction
- 0x980077f2…fa50839d
- Created at block
- #67895
- Language
- solidity
- EVM version
- default
- License
- none
- Compiler optimization
- Enabled · 200 runs
Verified contract
Contract source code
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;
import {TimelockController} from "@openzeppelin/contracts/governance/TimelockController.sol";
/**
* @title MidasTimelockController
* @notice Default TimelockController but with getters for proposers and executors
* @author RedDuck Software
*/
contract MidasTimelockController is TimelockController {
/**
* @dev initial proposers array
*/
address[] private _initialProposers;
/**
* @dev initial executors array
*/
address[] private _initialExecutors;
constructor(
uint256 minDelay,
address[] memory proposers,
address[] memory executors
) TimelockController(minDelay, proposers, executors, address(0)) {
_initialProposers = proposers;
_initialExecutors = executors;
}
/**
* @notice Get all the initial proposers
* @return initial proposers addresses
*/
function getInitialProposers() external view returns (address[] memory) {
return _initialProposers;
}
/**
* @notice Get all the initial executors
* @return initial executors addresses
*/
function getInitialExecutors() external view returns (address[] memory) {
return _initialExecutors;
}
}