Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
There are no matching entriesUpdate your filters to view other transactions | |||||||||
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
RBACTimelock
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1
pragma solidity =0.8.19;
import "openzeppelin-contracts/access/AccessControlEnumerable.sol";
import "openzeppelin-contracts/token/ERC721/IERC721Receiver.sol";
import "openzeppelin-contracts/token/ERC1155/IERC1155Receiver.sol";
import "openzeppelin-contracts/utils/Address.sol";
import "openzeppelin-contracts/utils/structs/EnumerableSet.sol";
/**
* @notice Contract module which acts as a timelocked controller with role-based
* access control. When set as the owner of an `Ownable` smart contract, it
* can enforce a timelock on `onlyOwner` maintenance operations and prevent
* a list of blocked functions from being called. The timelock can be bypassed
* by a bypasser or an admin in emergency situations that require quick action.
*
* Non-emergency actions are expected to follow the timelock.
*
* The contract has five roles. Each role can be inhabited by multiple
* (potentially overlapping) addresses.
*
* 1) Admin: The admin manages membership for all roles (including the admin
* role itself). The admin automatically inhabits all other roles. The admin
* can call the bypasserExecuteBatch function to bypass any restrictions like
* the delay imposed by the timelock and the list of blocked functions. The
* admin can manage the list of blocked functions. In practice, the admin
* role is expected to (1) be inhabited by a contract requiring a secure
* quorum of votes before taking any action and (2) to be used rarely, namely
* only for emergency actions or configuration of the RBACTimelock.
*
* 2) Proposer: The proposer can schedule delayed operations that don't use any
* blocked function selector.
*
* 3) Executor: The executor can execute previously scheduled operations once
* their delay has expired. The contract enforces that the calls in an
* operation are executed with the correct args (target, data, value), but
* the executor can freely choose the gas limit. Since the executor is
* typically not particularly trusted, we recommend that (transitive) callees
* implement standard behavior of simply reverting if insufficient gas is
* provided. In particular, this means callees should not have non-reverting
* gas-dependent branches.
*
* 4) Canceller: The canceller can cancel operations that have been scheduled
* but not yet executed.
*
* 5) Bypasser: The bypasser can bypass any restrictions like the delay imposed
* by the timelock and the list of blocked functions to immediately execute
* operations, e.g. in case of emergencies.
*
* Note that this contract doesn't place any restrictions on the gas limit used
* when executing operations. See the above comment on the executor role for
* more details.
*
* @dev This contract is a modified version of OpenZeppelin's
* contracts/governance/TimelockController.sol contract from v4.7.0, accessed in
* commit 561d1061fc568f04c7a65853538e834a889751e8 of
* github.com/OpenZeppelin/openzeppelin-contracts
* Said contract is under "Copyright (c) 2016-2023 zOS Global Limited and
* contributors" and its original MIT license can be found at
* https://github.com/OpenZeppelin/openzeppelin-contracts/blob/561d1061fc568f04c7a65853538e834a889751e8/LICENSE
*/
contract RBACTimelock is AccessControlEnumerable, IERC721Receiver, IERC1155Receiver {
using EnumerableSet for EnumerableSet.Bytes32Set;
struct Call {
address target;
uint256 value;
bytes data;
}
bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");
bytes32 public constant PROPOSER_ROLE = keccak256("PROPOSER_ROLE");
bytes32 public constant EXECUTOR_ROLE = keccak256("EXECUTOR_ROLE");
bytes32 public constant CANCELLER_ROLE = keccak256("CANCELLER_ROLE");
bytes32 public constant BYPASSER_ROLE = keccak256("BYPASSER_ROLE");
uint256 internal constant _DONE_TIMESTAMP = uint256(1);
mapping(bytes32 => uint256) private _timestamps;
uint256 private _minDelay;
EnumerableSet.Bytes32Set private _blockedFunctionSelectors;
/**
* @dev Emitted when a call is scheduled as part of operation `id`.
*/
event CallScheduled(
bytes32 indexed id,
uint256 indexed index,
address target,
uint256 value,
bytes data,
bytes32 predecessor,
bytes32 salt,
uint256 delay
);
/**
* @dev Emitted when a call is performed as part of operation `id`.
*/
event CallExecuted(bytes32 indexed id, uint256 indexed index, address target, uint256 value, bytes data);
/**
* @dev Emitted when a call is performed via bypasser.
*/
event BypasserCallExecuted(uint256 indexed index, address target, uint256 value, bytes data);
/**
* @dev Emitted when operation `id` is cancelled.
*/
event Cancelled(bytes32 indexed id);
/**
* @dev Emitted when the minimum delay for future operations is modified.
*/
event MinDelayChange(uint256 oldDuration, uint256 newDuration);
/**
* @dev Emitted when a function selector is blocked.
*/
event FunctionSelectorBlocked(bytes4 indexed selector);
/**
* @dev Emitted when a function selector is unblocked.
*/
event FunctionSelectorUnblocked(bytes4 indexed selector);
/**
* @dev Initializes the contract with the following parameters:
*
* - `minDelay`: initial minimum delay for operations
* - `admin`: account to be granted admin role
* - `proposers`: accounts to be granted proposer role
* - `executors`: accounts to be granted executor role
* - `cancellers`: accounts to be granted canceller role
* - `bypassers`: accounts to be granted bypasser role
*/
constructor(
uint256 minDelay,
address admin,
address[] memory proposers,
address[] memory executors,
address[] memory cancellers,
address[] memory bypassers
) {
_setRoleAdmin(ADMIN_ROLE, ADMIN_ROLE);
_setRoleAdmin(PROPOSER_ROLE, ADMIN_ROLE);
_setRoleAdmin(EXECUTOR_ROLE, ADMIN_ROLE);
_setRoleAdmin(CANCELLER_ROLE, ADMIN_ROLE);
_setRoleAdmin(BYPASSER_ROLE, ADMIN_ROLE);
_setupRole(ADMIN_ROLE, admin);
// register proposers
for (uint256 i = 0; i < proposers.length; ++i) {
_setupRole(PROPOSER_ROLE, proposers[i]);
}
// register executors
for (uint256 i = 0; i < executors.length; ++i) {
_setupRole(EXECUTOR_ROLE, executors[i]);
}
// register cancellers
for (uint256 i = 0; i < cancellers.length; ++i) {
_setupRole(CANCELLER_ROLE, cancellers[i]);
}
// register bypassers
for (uint256 i = 0; i < bypassers.length; ++i) {
_setupRole(BYPASSER_ROLE, bypassers[i]);
}
_minDelay = minDelay;
emit MinDelayChange(0, minDelay);
}
/**
* @dev Modifier to make a function callable only by a certain role or the
* admin role.
*/
modifier onlyRoleOrAdminRole(bytes32 role) {
address sender = _msgSender();
if (!hasRole(ADMIN_ROLE, sender)) {
_checkRole(role, sender);
}
_;
}
/**
* @dev Contract might receive/hold ETH as part of the maintenance process.
*/
receive() external payable {}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, AccessControlEnumerable) returns (bool) {
return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns whether an id correspond to a registered operation. This
* includes both Pending, Ready and Done operations.
*/
function isOperation(bytes32 id) public view virtual returns (bool registered) {
return getTimestamp(id) > 0;
}
/**
* @dev Returns whether an operation is pending or not.
*/
function isOperationPending(bytes32 id) public view virtual returns (bool pending) {
return getTimestamp(id) > _DONE_TIMESTAMP;
}
/**
* @dev Returns whether an operation is ready or not.
*/
function isOperationReady(bytes32 id) public view virtual returns (bool ready) {
uint256 timestamp = getTimestamp(id);
return timestamp > _DONE_TIMESTAMP && timestamp <= block.timestamp;
}
/**
* @dev Returns whether an operation is done or not.
*/
function isOperationDone(bytes32 id) public view virtual returns (bool done) {
return getTimestamp(id) == _DONE_TIMESTAMP;
}
/**
* @dev Returns the timestamp at with an operation becomes ready (0 for
* unset operations, 1 for done operations).
*/
function getTimestamp(bytes32 id) public view virtual returns (uint256 timestamp) {
return _timestamps[id];
}
/**
* @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 virtual returns (uint256 duration) {
return _minDelay;
}
/**
* @dev Returns the identifier of an operation containing a batch of
* transactions.
*/
function hashOperationBatch(
Call[] calldata calls,
bytes32 predecessor,
bytes32 salt
) public pure virtual returns (bytes32 hash) {
return keccak256(abi.encode(calls, predecessor, salt));
}
/**
* @dev Schedule an operation containing a batch of transactions.
*
* Emits one {CallScheduled} event per transaction in the batch.
*
* Requirements:
*
* - the caller must have the 'proposer' or 'admin' role.
* - all payloads must not start with a blocked function selector.
*/
function scheduleBatch(
Call[] calldata calls,
bytes32 predecessor,
bytes32 salt,
uint256 delay
) public virtual onlyRoleOrAdminRole(PROPOSER_ROLE) {
bytes32 id = hashOperationBatch(calls, predecessor, salt);
_schedule(id, delay);
for (uint256 i = 0; i < calls.length; ++i) {
_checkFunctionSelectorNotBlocked(calls[i].data);
emit CallScheduled(id, i, calls[i].target, calls[i].value, calls[i].data, predecessor, salt, delay);
}
}
/**
* @dev Schedule an operation that becomes valid after a given delay.
*/
function _schedule(bytes32 id, uint256 delay) private {
require(!isOperation(id), "RBACTimelock: operation already scheduled");
require(delay >= getMinDelay(), "RBACTimelock: insufficient delay");
_timestamps[id] = block.timestamp + delay;
}
/**
* @dev Cancel an operation.
*
* Requirements:
*
* - the caller must have the 'canceller' or 'admin' role.
*/
function cancel(bytes32 id) public virtual onlyRoleOrAdminRole(CANCELLER_ROLE) {
require(isOperationPending(id), "RBACTimelock: operation cannot be cancelled");
delete _timestamps[id];
emit Cancelled(id);
}
/**
* @dev Execute an (ready) operation containing a batch of transactions.
* Note that we perform a raw call to each target. Raw calls to targets that
* don't have associated contract code will always succeed regardless of
* payload.
*
* Emits one {CallExecuted} event per transaction in the batch.
*
* Requirements:
*
* - the caller must have the 'executor' or 'admin' role.
*/
function executeBatch(
Call[] calldata calls,
bytes32 predecessor,
bytes32 salt
) public payable virtual onlyRoleOrAdminRole(EXECUTOR_ROLE) {
bytes32 id = hashOperationBatch(calls, predecessor, salt);
_beforeCall(id, predecessor);
for (uint256 i = 0; i < calls.length; ++i) {
_execute(calls[i]);
emit CallExecuted(id, i, calls[i].target, calls[i].value, calls[i].data);
}
_afterCall(id);
}
/**
* @dev Execute an operation's call.
*/
function _execute(
Call calldata call
) internal virtual {
(bool success, ) = call.target.call{value: call.value}(call.data);
require(success, "RBACTimelock: underlying transaction reverted");
}
/**
* @dev Checks before execution of an operation's calls.
*/
function _beforeCall(bytes32 id, bytes32 predecessor) private view {
require(isOperationReady(id), "RBACTimelock: operation is not ready");
require(predecessor == bytes32(0) || isOperationDone(predecessor), "RBACTimelock: missing dependency");
}
/**
* @dev Checks after execution of an operation's calls.
*/
function _afterCall(bytes32 id) private {
require(isOperationReady(id), "RBACTimelock: operation is not ready");
_timestamps[id] = _DONE_TIMESTAMP;
}
/**
* @dev Changes the minimum timelock duration for future operations.
*
* Emits a {MinDelayChange} event.
*
* Requirements:
*
* - the caller must have the 'admin' role.
*/
function updateDelay(uint256 newDelay) external virtual onlyRole(ADMIN_ROLE) {
emit MinDelayChange(_minDelay, newDelay);
_minDelay = newDelay;
}
/**
* @dev See {IERC721Receiver-onERC721Received}.
*/
function onERC721Received(
address,
address,
uint256,
bytes memory
) public virtual override returns (bytes4) {
return this.onERC721Received.selector;
}
/**
* @dev See {IERC1155Receiver-onERC1155Received}.
*/
function onERC1155Received(
address,
address,
uint256,
uint256,
bytes memory
) public virtual override returns (bytes4) {
return this.onERC1155Received.selector;
}
/**
* @dev See {IERC1155Receiver-onERC1155BatchReceived}.
*/
function onERC1155BatchReceived(
address,
address,
uint256[] memory,
uint256[] memory,
bytes memory
) public virtual override returns (bytes4) {
return this.onERC1155BatchReceived.selector;
}
/*
* New functions not present in original OpenZeppelin TimelockController
*/
/**
* @dev Blocks a function selector from being used, i.e. schedule
* operations with this function selector will revert.
* Note that blocked selectors are only checked when an operation is being
* scheduled, not when it is executed. You may want to check any pending
* operations for whether they contain the blocked selector and cancel them.
*
* Requirements:
*
* - the caller must have the 'admin' role.
*/
function blockFunctionSelector(bytes4 selector) external onlyRole(ADMIN_ROLE) {
if (_blockedFunctionSelectors.add(selector)) {
emit FunctionSelectorBlocked(selector);
}
}
/**
* @dev Unblocks a previously blocked function selector so it can be used again.
* Requirements:
*
* - the caller must have the 'admin' role.
*/
function unblockFunctionSelector(bytes4 selector) external onlyRole(ADMIN_ROLE) {
if (_blockedFunctionSelectors.remove(selector)) {
emit FunctionSelectorUnblocked(selector);
}
}
/**
* @dev Returns the number of blocked function selectors.
*/
function getBlockedFunctionSelectorCount() external view returns (uint256) {
return _blockedFunctionSelectors.length();
}
/**
* @dev Returns the blocked function selector with the given index. Function
* selectors are not sorted in any particular way, and their ordering may
* change at any point.
*
* WARNING: When using {getBlockedFunctionSelectorCount} and
* {getBlockedFunctionSelectorAt} via RPC, make sure you perform all queries
* on the same block. When using these functions within an onchain
* transaction, make sure that the state of this contract hasn't changed in
* between invocations to avoid time-of-check time-of-use bugs.
* See the following
* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum
* post] for more information.
*/
function getBlockedFunctionSelectorAt(uint256 index) external view returns (bytes4) {
return bytes4(_blockedFunctionSelectors.at(index));
}
/**
* @dev Directly execute a batch of transactions, bypassing any other
* checks.
* Note that we perform a raw call to each target. Raw calls to targets that
* don't have associated contract code will always succeed regardless of
* payload.
*
* Emits one {BypasserCallExecuted} event per transaction in the batch.
*
* Requirements:
*
* - the caller must have the 'bypasser' or 'admin' role.
*/
function bypasserExecuteBatch(
Call[] calldata calls
) public payable virtual onlyRoleOrAdminRole(BYPASSER_ROLE) {
for (uint256 i = 0; i < calls.length; ++i) {
_execute(calls[i]);
emit BypasserCallExecuted(i, calls[i].target, calls[i].value, calls[i].data);
}
}
/**
* @dev Checks to see if the function being scheduled is blocked. This
* is used when trying to schedule or batch schedule an operation.
*/
function _checkFunctionSelectorNotBlocked(bytes calldata data) private view {
if (data.length < 4) {
return;
}
bytes4 selector = bytes4(data[:4]);
require(!_blockedFunctionSelectors.contains(bytes32(selector)), "RBACTimelock: selector is blocked");
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)
pragma solidity ^0.8.0;
import "./IAccessControlEnumerable.sol";
import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";
/**
* @dev Extension of {AccessControl} that allows enumerating the members of each role.
*/
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
using EnumerableSet for EnumerableSet.AddressSet;
mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns one of the accounts that have `role`. `index` must be a
* value between 0 and {getRoleMemberCount}, non-inclusive.
*
* Role bearers are not sorted in any particular way, and their ordering may
* change at any point.
*
* WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
* you perform all queries on the same block. See the following
* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
* for more information.
*/
function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {
return _roleMembers[role].at(index);
}
/**
* @dev Returns the number of accounts that have `role`. Can be used
* together with {getRoleMember} to enumerate all bearers of a role.
*/
function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {
return _roleMembers[role].length();
}
/**
* @dev Overload {_grantRole} to track enumerable memberships
*/
function _grantRole(bytes32 role, address account) internal virtual override {
super._grantRole(role, account);
_roleMembers[role].add(account);
}
/**
* @dev Overload {_revokeRole} to track enumerable memberships
*/
function _revokeRole(bytes32 role, address account) internal virtual override {
super._revokeRole(role, account);
_roleMembers[role].remove(account);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev _Available since v3.1._
*/
interface IERC1155Receiver is IERC165 {
/**
* @dev Handles the receipt of a single ERC1155 token type. This function is
* called at the end of a `safeTransferFrom` after the balance has been updated.
*
* NOTE: To accept the transfer, this must return
* `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
* (i.e. 0xf23a6e61, or its own function selector).
*
* @param operator The address which initiated the transfer (i.e. msg.sender)
* @param from The address which previously owned the token
* @param id The ID of the token being transferred
* @param value The amount of tokens being transferred
* @param data Additional data with no specified format
* @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
*/
function onERC1155Received(
address operator,
address from,
uint256 id,
uint256 value,
bytes calldata data
) external returns (bytes4);
/**
* @dev Handles the receipt of a multiple ERC1155 token types. This function
* is called at the end of a `safeBatchTransferFrom` after the balances have
* been updated.
*
* NOTE: To accept the transfer(s), this must return
* `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
* (i.e. 0xbc197c81, or its own function selector).
*
* @param operator The address which initiated the batch transfer (i.e. msg.sender)
* @param from The address which previously owned the token
* @param ids An array containing ids of each token being transferred (order and length must match values array)
* @param values An array containing amounts of each token being transferred (order and length must match ids array)
* @param data Additional data with no specified format
* @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
*/
function onERC1155BatchReceived(
address operator,
address from,
uint256[] calldata ids,
uint256[] calldata values,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
*
* Furthermore, `isContract` will also return true if the target contract within
* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
* which only has an effect at the end of a transaction.
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.
pragma solidity ^0.8.0;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Elements are enumerated in O(n). No guarantees are made on the ordering.
*
* ```solidity
* contract Example {
* // Add the library methods
* using EnumerableSet for EnumerableSet.AddressSet;
*
* // Declare a set state variable
* EnumerableSet.AddressSet private mySet;
* }
* ```
*
* As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
* and `uint256` (`UintSet`) are supported.
*
* [WARNING]
* ====
* Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
* unusable.
* See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
*
* In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
* array of EnumerableSet.
* ====
*/
library EnumerableSet {
// To implement this library for multiple types with as little code
// repetition as possible, we write it in terms of a generic Set type with
// bytes32 values.
// The Set implementation uses private functions, and user-facing
// implementations (such as AddressSet) are just wrappers around the
// underlying Set.
// This means that we can only create new EnumerableSets for types that fit
// in bytes32.
struct Set {
// Storage of set values
bytes32[] _values;
// Position of the value in the `values` array, plus 1 because index 0
// means a value is not in the set.
mapping(bytes32 => uint256) _indexes;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function _add(Set storage set, bytes32 value) private returns (bool) {
if (!_contains(set, value)) {
set._values.push(value);
// The value is stored at length-1, but we add 1 to all indexes
// and use 0 as a sentinel value
set._indexes[value] = set._values.length;
return true;
} else {
return false;
}
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function _remove(Set storage set, bytes32 value) private returns (bool) {
// We read and store the value's index to prevent multiple reads from the same storage slot
uint256 valueIndex = set._indexes[value];
if (valueIndex != 0) {
// Equivalent to contains(set, value)
// To delete an element from the _values array in O(1), we swap the element to delete with the last one in
// the array, and then remove the last element (sometimes called as 'swap and pop').
// This modifies the order of the array, as noted in {at}.
uint256 toDeleteIndex = valueIndex - 1;
uint256 lastIndex = set._values.length - 1;
if (lastIndex != toDeleteIndex) {
bytes32 lastValue = set._values[lastIndex];
// Move the last value to the index where the value to delete is
set._values[toDeleteIndex] = lastValue;
// Update the index for the moved value
set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
}
// Delete the slot where the moved value was stored
set._values.pop();
// Delete the index for the deleted slot
delete set._indexes[value];
return true;
} else {
return false;
}
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function _contains(Set storage set, bytes32 value) private view returns (bool) {
return set._indexes[value] != 0;
}
/**
* @dev Returns the number of values on the set. O(1).
*/
function _length(Set storage set) private view returns (uint256) {
return set._values.length;
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function _at(Set storage set, uint256 index) private view returns (bytes32) {
return set._values[index];
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function _values(Set storage set) private view returns (bytes32[] memory) {
return set._values;
}
// Bytes32Set
struct Bytes32Set {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _add(set._inner, value);
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
return _remove(set._inner, value);
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
return _contains(set._inner, value);
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(Bytes32Set storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
return _at(set._inner, index);
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
bytes32[] memory store = _values(set._inner);
bytes32[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
// AddressSet
struct AddressSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(AddressSet storage set, address value) internal returns (bool) {
return _add(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(AddressSet storage set, address value) internal returns (bool) {
return _remove(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(AddressSet storage set, address value) internal view returns (bool) {
return _contains(set._inner, bytes32(uint256(uint160(value))));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(AddressSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(AddressSet storage set, uint256 index) internal view returns (address) {
return address(uint160(uint256(_at(set._inner, index))));
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(AddressSet storage set) internal view returns (address[] memory) {
bytes32[] memory store = _values(set._inner);
address[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
// UintSet
struct UintSet {
Set _inner;
}
/**
* @dev Add a value to a set. O(1).
*
* Returns true if the value was added to the set, that is if it was not
* already present.
*/
function add(UintSet storage set, uint256 value) internal returns (bool) {
return _add(set._inner, bytes32(value));
}
/**
* @dev Removes a value from a set. O(1).
*
* Returns true if the value was removed from the set, that is if it was
* present.
*/
function remove(UintSet storage set, uint256 value) internal returns (bool) {
return _remove(set._inner, bytes32(value));
}
/**
* @dev Returns true if the value is in the set. O(1).
*/
function contains(UintSet storage set, uint256 value) internal view returns (bool) {
return _contains(set._inner, bytes32(value));
}
/**
* @dev Returns the number of values in the set. O(1).
*/
function length(UintSet storage set) internal view returns (uint256) {
return _length(set._inner);
}
/**
* @dev Returns the value stored at position `index` in the set. O(1).
*
* Note that there are no guarantees on the ordering of values inside the
* array, and it may change when more values are added or removed.
*
* Requirements:
*
* - `index` must be strictly less than {length}.
*/
function at(UintSet storage set, uint256 index) internal view returns (uint256) {
return uint256(_at(set._inner, index));
}
/**
* @dev Return the entire set in an array
*
* WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
* to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
* this function has an unbounded cost, and using it as part of a state-changing function may render the function
* uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
*/
function values(UintSet storage set) internal view returns (uint256[] memory) {
bytes32[] memory store = _values(set._inner);
uint256[] memory result;
/// @solidity memory-safe-assembly
assembly {
result := store
}
return result;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)
pragma solidity ^0.8.0;
import "./IAccessControl.sol";
/**
* @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
*/
interface IAccessControlEnumerable is IAccessControl {
/**
* @dev Returns one of the accounts that have `role`. `index` must be a
* value between 0 and {getRoleMemberCount}, non-inclusive.
*
* Role bearers are not sorted in any particular way, and their ordering may
* change at any point.
*
* WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
* you perform all queries on the same block. See the following
* https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
* for more information.
*/
function getRoleMember(bytes32 role, uint256 index) external view returns (address);
/**
* @dev Returns the number of accounts that have `role`. Can be used
* together with {getRoleMember} to enumerate all bearers of a role.
*/
function getRoleMemberCount(bytes32 role) external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol)
pragma solidity ^0.8.0;
import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms. This is a lightweight version that doesn't allow enumerating role
* members except through off-chain means by accessing the contract event logs. Some
* applications may benefit from on-chain enumerability, for those cases see
* {AccessControlEnumerable}.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```solidity
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```solidity
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
* to enforce additional security measures for this role.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping(address => bool) members;
bytes32 adminRole;
}
mapping(bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with a standardized message including the required role.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*
* _Available since v4.1._
*/
modifier onlyRole(bytes32 role) {
_checkRole(role);
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Revert with a standard message if `_msgSender()` is missing `role`.
* Overriding this function changes the behavior of the {onlyRole} modifier.
*
* Format of the revert message is described in {_checkRole}.
*
* _Available since v4.6._
*/
function _checkRole(bytes32 role) internal view virtual {
_checkRole(role, _msgSender());
}
/**
* @dev Revert with a standard message if `account` is missing `role`.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*/
function _checkRole(bytes32 role, address account) internal view virtual {
if (!hasRole(role, account)) {
revert(
string(
abi.encodePacked(
"AccessControl: account ",
Strings.toHexString(account),
" is missing role ",
Strings.toHexString(uint256(role), 32)
)
)
);
}
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleGranted} event.
*/
function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleRevoked} event.
*/
function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been revoked `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*
* May emit a {RoleRevoked} event.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* May emit a {RoleGranted} event.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*
* NOTE: This function is deprecated in favor of {_grantRole}.
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
bytes32 previousAdminRole = getRoleAdmin(role);
_roles[role].adminRole = adminRole;
emit RoleAdminChanged(role, previousAdminRole, adminRole);
}
/**
* @dev Grants `role` to `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleGranted} event.
*/
function _grantRole(bytes32 role, address account) internal virtual {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
/**
* @dev Revokes `role` from `account`.
*
* Internal function without access restriction.
*
* May emit a {RoleRevoked} event.
*/
function _revokeRole(bytes32 role, address account) internal virtual {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)
pragma solidity ^0.8.0;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*
* _Available since v3.1._
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {AccessControl-_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) external view returns (bool);
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {AccessControl-_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) external view returns (bytes32);
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
import "./math/Math.sol";
import "./math/SignedMath.sol";
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
unchecked {
uint256 length = Math.log10(value) + 1;
string memory buffer = new string(length);
uint256 ptr;
/// @solidity memory-safe-assembly
assembly {
ptr := add(buffer, add(32, length))
}
while (true) {
ptr--;
/// @solidity memory-safe-assembly
assembly {
mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
}
value /= 10;
if (value == 0) break;
}
return buffer;
}
}
/**
* @dev Converts a `int256` to its ASCII `string` decimal representation.
*/
function toString(int256 value) internal pure returns (string memory) {
return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
unchecked {
return toHexString(value, Math.log256(value) + 1);
}
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
/**
* @dev Returns true if the two strings are equal.
*/
function equal(string memory a, string memory b) internal pure returns (bool) {
return keccak256(bytes(a)) == keccak256(bytes(b));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
enum Rounding {
Down, // Toward negative infinity
Up, // Toward infinity
Zero // Toward zero
}
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow.
return (a & b) + (a ^ b) / 2;
}
/**
* @dev Returns the ceiling of the division of two numbers.
*
* This differs from standard division with `/` in that it rounds up instead
* of rounding down.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b - 1) / b can overflow on addition, so we distribute.
return a == 0 ? 0 : (a - 1) / b + 1;
}
/**
* @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
* @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
* with further edits by Uniswap Labs also under MIT license.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
unchecked {
// 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
// use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
// variables such that product = prod1 * 2^256 + prod0.
uint256 prod0; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod0 := mul(x, y)
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
// Solidity will revert if denominator == 0, unlike the div opcode on its own.
// The surrounding unchecked block does not change this fact.
// See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
require(denominator > prod1, "Math: mulDiv overflow");
///////////////////////////////////////////////
// 512 by 256 division.
///////////////////////////////////////////////
// Make division exact by subtracting the remainder from [prod1 prod0].
uint256 remainder;
assembly {
// Compute remainder using mulmod.
remainder := mulmod(x, y, denominator)
// Subtract 256 bit number from 512 bit number.
prod1 := sub(prod1, gt(remainder, prod0))
prod0 := sub(prod0, remainder)
}
// Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
// See https://cs.stackexchange.com/q/138556/92363.
// Does not overflow because the denominator cannot be zero at this stage in the function.
uint256 twos = denominator & (~denominator + 1);
assembly {
// Divide denominator by twos.
denominator := div(denominator, twos)
// Divide [prod1 prod0] by twos.
prod0 := div(prod0, twos)
// Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
twos := add(div(sub(0, twos), twos), 1)
}
// Shift in bits from prod1 into prod0.
prod0 |= prod1 * twos;
// Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
// that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
// four bits. That is, denominator * inv = 1 mod 2^4.
uint256 inverse = (3 * denominator) ^ 2;
// Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
// in modular arithmetic, doubling the correct bits in each step.
inverse *= 2 - denominator * inverse; // inverse mod 2^8
inverse *= 2 - denominator * inverse; // inverse mod 2^16
inverse *= 2 - denominator * inverse; // inverse mod 2^32
inverse *= 2 - denominator * inverse; // inverse mod 2^64
inverse *= 2 - denominator * inverse; // inverse mod 2^128
inverse *= 2 - denominator * inverse; // inverse mod 2^256
// Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
// This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
// less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
// is no longer required.
result = prod0 * inverse;
return result;
}
}
/**
* @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
uint256 result = mulDiv(x, y, denominator);
if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
result += 1;
}
return result;
}
/**
* @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
*
* Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
*/
function sqrt(uint256 a) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
// For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
//
// We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
// `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
//
// This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
// → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
// → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
//
// Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
uint256 result = 1 << (log2(a) >> 1);
// At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
// since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
// every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
// into the expected uint128 result.
unchecked {
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
return min(result, a / result);
}
}
/**
* @notice Calculates sqrt(a), following the selected rounding direction.
*/
function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = sqrt(a);
return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 128;
}
if (value >> 64 > 0) {
value >>= 64;
result += 64;
}
if (value >> 32 > 0) {
value >>= 32;
result += 32;
}
if (value >> 16 > 0) {
value >>= 16;
result += 16;
}
if (value >> 8 > 0) {
value >>= 8;
result += 8;
}
if (value >> 4 > 0) {
value >>= 4;
result += 4;
}
if (value >> 2 > 0) {
value >>= 2;
result += 2;
}
if (value >> 1 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 2, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log2(value);
return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >= 10 ** 64) {
value /= 10 ** 64;
result += 64;
}
if (value >= 10 ** 32) {
value /= 10 ** 32;
result += 32;
}
if (value >= 10 ** 16) {
value /= 10 ** 16;
result += 16;
}
if (value >= 10 ** 8) {
value /= 10 ** 8;
result += 8;
}
if (value >= 10 ** 4) {
value /= 10 ** 4;
result += 4;
}
if (value >= 10 ** 2) {
value /= 10 ** 2;
result += 2;
}
if (value >= 10 ** 1) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log10(value);
return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256, rounded down, of a positive value.
* Returns 0 if given 0.
*
* Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
*/
function log256(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 16;
}
if (value >> 64 > 0) {
value >>= 64;
result += 8;
}
if (value >> 32 > 0) {
value >>= 32;
result += 4;
}
if (value >> 16 > 0) {
value >>= 16;
result += 2;
}
if (value >> 8 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 256, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log256(value);
return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard signed math utilities missing in the Solidity language.
*/
library SignedMath {
/**
* @dev Returns the largest of two signed numbers.
*/
function max(int256 a, int256 b) internal pure returns (int256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two signed numbers.
*/
function min(int256 a, int256 b) internal pure returns (int256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two signed numbers without overflow.
* The result is rounded towards zero.
*/
function average(int256 a, int256 b) internal pure returns (int256) {
// Formula from the book "Hacker's Delight"
int256 x = (a & b) + ((a ^ b) >> 1);
return x + (int256(uint256(x) >> 255) & (a ^ b));
}
/**
* @dev Returns the absolute unsigned value of a signed value.
*/
function abs(int256 n) internal pure returns (uint256) {
unchecked {
// must be unchecked in order to support `n = type(int256).min`
return uint256(n >= 0 ? n : -n);
}
}
}{
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"runs": 200,
"enabled": true
},
"evmVersion": "paris",
"remappings": [
":ds-test/=lib/forge-std/lib/ds-test/src/",
":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
":forge-std/=lib/forge-std/src/",
":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
":openzeppelin/=lib/openzeppelin-contracts/contracts/",
":safe-contracts/=lib/safe-contracts/contracts/"
],
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"uint256","name":"minDelay","type":"uint256"},{"internalType":"address","name":"admin","type":"address"},{"internalType":"address[]","name":"proposers","type":"address[]"},{"internalType":"address[]","name":"executors","type":"address[]"},{"internalType":"address[]","name":"cancellers","type":"address[]"},{"internalType":"address[]","name":"bypassers","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"BypasserCallExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"CallExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"},{"indexed":false,"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"salt","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"delay","type":"uint256"}],"name":"CallScheduled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"Cancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes4","name":"selector","type":"bytes4"}],"name":"FunctionSelectorBlocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes4","name":"selector","type":"bytes4"}],"name":"FunctionSelectorUnblocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldDuration","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"MinDelayChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BYPASSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CANCELLER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EXECUTOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROPOSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"selector","type":"bytes4"}],"name":"blockFunctionSelector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct RBACTimelock.Call[]","name":"calls","type":"tuple[]"}],"name":"bypasserExecuteBatch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"cancel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct RBACTimelock.Call[]","name":"calls","type":"tuple[]"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"executeBatch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getBlockedFunctionSelectorAt","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBlockedFunctionSelectorCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinDelay","outputs":[{"internalType":"uint256","name":"duration","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"getTimestamp","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct RBACTimelock.Call[]","name":"calls","type":"tuple[]"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"hashOperationBatch","outputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperation","outputs":[{"internalType":"bool","name":"registered","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperationDone","outputs":[{"internalType":"bool","name":"done","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperationPending","outputs":[{"internalType":"bool","name":"pending","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperationReady","outputs":[{"internalType":"bool","name":"ready","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct RBACTimelock.Call[]","name":"calls","type":"tuple[]"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256","name":"delay","type":"uint256"}],"name":"scheduleBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"selector","type":"bytes4"}],"name":"unblockFunctionSelector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDelay","type":"uint256"}],"name":"updateDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60806040523480156200001157600080fd5b50604051620027bc380380620027bc833981016040819052620000349162000533565b6200004f6000805160206200277c83398151915280620002bb565b620000796000805160206200273c8339815191526000805160206200277c833981519152620002bb565b620000a36000805160206200275c8339815191526000805160206200277c833981519152620002bb565b620000cd6000805160206200279c8339815191526000805160206200277c833981519152620002bb565b620001087fa1b2b8005de234c4b8ce8cd0be058239056e0d54f6097825b5117101469d5a8d6000805160206200277c833981519152620002bb565b620001236000805160206200277c8339815191528662000306565b60005b845181101562000180576200016d6000805160206200273c83398151915286838151811062000159576200015962000608565b60200260200101516200030660201b60201c565b62000178816200061e565b905062000126565b5060005b8351811015620001ca57620001b76000805160206200275c83398151915285838151811062000159576200015962000608565b620001c2816200061e565b905062000184565b5060005b82518110156200021457620002016000805160206200279c83398151915284838151811062000159576200015962000608565b6200020c816200061e565b9050620001ce565b5060005b81518110156200026f576200025c7fa1b2b8005de234c4b8ce8cd0be058239056e0d54f6097825b5117101469d5a8d83838151811062000159576200015962000608565b62000267816200061e565b905062000218565b5060038690556040805160008152602081018890527f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d5910160405180910390a150505050505062000646565b600082815260208190526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b62000312828262000316565b5050565b62000322828262000341565b60008281526001602052604090206200033c9082620003e1565b505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000312576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200039d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000620003f8836001600160a01b03841662000401565b90505b92915050565b60008181526001830160205260408120546200044a57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620003fb565b506000620003fb565b80516001600160a01b03811681146200046b57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200049857600080fd5b815160206001600160401b0380831115620004b757620004b762000470565b8260051b604051601f19603f83011681018181108482111715620004df57620004df62000470565b604052938452858101830193838101925087851115620004fe57600080fd5b83870191505b848210156200052857620005188262000453565b8352918301919083019062000504565b979650505050505050565b60008060008060008060c087890312156200054d57600080fd5b865195506200055f6020880162000453565b60408801519095506001600160401b03808211156200057d57600080fd5b6200058b8a838b0162000486565b95506060890151915080821115620005a257600080fd5b620005b08a838b0162000486565b94506080890151915080821115620005c757600080fd5b620005d58a838b0162000486565b935060a0890151915080821115620005ec57600080fd5b50620005fb89828a0162000486565b9150509295509295509295565b634e487b7160e01b600052603260045260246000fd5b6000600182016200063f57634e487b7160e01b600052601160045260246000fd5b5060010190565b6120e680620006566000396000f3fe6080604052600436106101f25760003560e01c806364d623531161010d578063a944142d116100a0578063ca15c8731161006f578063ca15c8731461062d578063d45c44351461064d578063d547741f1461067a578063f23a6e611461069a578063f27a0c92146106c657600080fd5b8063a944142d1461058d578063b08e51c0146105ad578063bc197c81146105e1578063c4d252f51461060d57600080fd5b80639010d07c116100dc5780639010d07c1461050057806391d14854146105385780639f5a23f714610558578063a217fddf1461057857600080fd5b806364d62353146104775780636ceef4801461049757806375b238fc146104aa5780638f61f4f5146104cc57600080fd5b806326bb2ec51161018557806336568abe1161015457806336568abe146103f75780633a98b4e414610417578063515a3db314610437578063584b153e1461045757600080fd5b806326bb2ec5146103725780632ab0f529146103875780632f2ff15d146103b757806331d50750146103d757600080fd5b806313bc9f20116101c157806313bc9f20146102c3578063150b7a02146102e3578063191cb7b31461030e578063248a9ca31461034257600080fd5b806301ffc9a7146101fe57806303e561551461023357806307bd02651461026c5780630db866b1146102ae57600080fd5b366101f957005b600080fd5b34801561020a57600080fd5b5061021e6102193660046117d2565b6106db565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061025361024e3660046117fc565b610706565b6040516001600160e01b0319909116815260200161022a565b34801561027857600080fd5b506102a07fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6381565b60405190815260200161022a565b6102c16102bc366004611860565b610713565b005b3480156102cf57600080fd5b5061021e6102de3660046117fc565b61086f565b3480156102ef57600080fd5b506102536102fe366004611972565b630a85bd0160e11b949350505050565b34801561031a57600080fd5b506102a07fa1b2b8005de234c4b8ce8cd0be058239056e0d54f6097825b5117101469d5a8d81565b34801561034e57600080fd5b506102a061035d3660046117fc565b60009081526020819052604090206001015490565b34801561037e57600080fd5b506102a0610895565b34801561039357600080fd5b5061021e6103a23660046117fc565b60009081526002602052604090205460011490565b3480156103c357600080fd5b506102c16103d23660046119d9565b6108a6565b3480156103e357600080fd5b5061021e6103f23660046117fc565b6108d0565b34801561040357600080fd5b506102c16104123660046119d9565b6108e9565b34801561042357600080fd5b506102c16104323660046117d2565b61096c565b34801561044357600080fd5b506102a0610452366004611a05565b6109d7565b34801561046357600080fd5b5061021e6104723660046117fc565b610a10565b34801561048357600080fd5b506102c16104923660046117fc565b610a27565b6102c16104a5366004611a05565b610a81565b3480156104b657600080fd5b506102a060008051602061209183398151915281565b3480156104d857600080fd5b506102a07fb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc181565b34801561050c57600080fd5b5061052061051b366004611a55565b610bed565b6040516001600160a01b03909116815260200161022a565b34801561054457600080fd5b5061021e6105533660046119d9565b610c05565b34801561056457600080fd5b506102c16105733660046117d2565b610c2e565b34801561058457600080fd5b506102a0600081565b34801561059957600080fd5b506102c16105a8366004611a77565b610c99565b3480156105b957600080fd5b506102a07ffd643c72710c63c0180259aba6b2d05451e3591a24e58b62239378085726f78381565b3480156105ed57600080fd5b506102536105fc366004611b4f565b63bc197c8160e01b95945050505050565b34801561061957600080fd5b506102c16106283660046117fc565b610e28565b34801561063957600080fd5b506102a06106483660046117fc565b610f16565b34801561065957600080fd5b506102a06106683660046117fc565b60009081526002602052604090205490565b34801561068657600080fd5b506102c16106953660046119d9565b610f2d565b3480156106a657600080fd5b506102536106b5366004611bf8565b63f23a6e6160e01b95945050505050565b3480156106d257600080fd5b506003546102a0565b60006001600160e01b03198216630271189760e51b1480610700575061070082610f52565b92915050565b6000610700600483610f77565b7fa1b2b8005de234c4b8ce8cd0be058239056e0d54f6097825b5117101469d5a8d3361074d60008051602061209183398151915282610c05565b61075b5761075b8282610f83565b60005b838110156108685761079285858381811061077b5761077b611c5c565b905060200281019061078d9190611c72565b610fdc565b807f6b983f337bab73dfe37faca733adf3ea35b45b8b144ec8ee2de3a1b224564b0c8686848181106107c6576107c6611c5c565b90506020028101906107d89190611c72565b6107e6906020810190611c92565b8787858181106107f8576107f8611c5c565b905060200281019061080a9190611c72565b6020013588888681811061082057610820611c5c565b90506020028101906108329190611c72565b610840906040810190611cad565b6040516108509493929190611d1c565b60405180910390a261086181611d64565b905061075e565b5050505050565b60008181526002602052604081205460018111801561088e5750428111155b9392505050565b60006108a160046110bd565b905090565b6000828152602081905260409020600101546108c1816110c7565b6108cb83836110d4565b505050565b60008181526002602052604081205481905b1192915050565b6001600160a01b038116331461095e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61096882826110f6565b5050565b600080516020612091833981519152610984816110c7565b61099960046001600160e01b03198416611118565b15610968576040516001600160e01b03198316907fd91859a8d88193a56a2983deb65a5253985141c49c70bf016880b5243bd432e190600090a25050565b6000848484846040516020016109f09493929190611d7d565b604051602081830303815290604052805190602001209050949350505050565b6000818152600260205260408120546001906108e2565b600080516020612091833981519152610a3f816110c7565b60035460408051918252602082018490527f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d5910160405180910390a150600355565b7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6333610abb60008051602061209183398151915282610c05565b610ac957610ac98282610f83565b6000610ad7878787876109d7565b9050610ae38186611124565b60005b86811015610bda57610b0388888381811061077b5761077b611c5c565b80827fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b588a8a85818110610b3857610b38611c5c565b9050602002810190610b4a9190611c72565b610b58906020810190611c92565b8b8b86818110610b6a57610b6a611c5c565b9050602002810190610b7c9190611c72565b602001358c8c87818110610b9257610b92611c5c565b9050602002810190610ba49190611c72565b610bb2906040810190611cad565b604051610bc29493929190611d1c565b60405180910390a3610bd381611d64565b9050610ae6565b50610be4816111b0565b50505050505050565b600082815260016020526040812061088e9083610f77565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020612091833981519152610c46816110c7565b610c5b60046001600160e01b031984166111e9565b15610968576040516001600160e01b03198316907f15b40cf8ed4c95cd3c0e1dedfdb3987c3f9bf3d3770d13ddf6dc4daa5ffae9ef90600090a25050565b7fb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc133610cd360008051602061209183398151915282610c05565b610ce157610ce18282610f83565b6000610cef888888886109d7565b9050610cfb81856111f5565b60005b87811015610e1d57610d40898983818110610d1b57610d1b611c5c565b9050602002810190610d2d9190611c72565b610d3b906040810190611cad565b6112cf565b80827f4f4da6666f52e3b6dbc3638d8eae4017722678fe58bca79cd8320817807a65be8b8b85818110610d7557610d75611c5c565b9050602002810190610d879190611c72565b610d95906020810190611c92565b8c8c86818110610da757610da7611c5c565b9050602002810190610db99190611c72565b602001358d8d87818110610dcf57610dcf611c5c565b9050602002810190610de19190611c72565b610def906040810190611cad565b8d8d8d604051610e059796959493929190611e65565b60405180910390a3610e1681611d64565b9050610cfe565b505050505050505050565b7ffd643c72710c63c0180259aba6b2d05451e3591a24e58b62239378085726f78333610e6260008051602061209183398151915282610c05565b610e7057610e708282610f83565b610e7983610a10565b610ed95760405162461bcd60e51b815260206004820152602b60248201527f5242414354696d656c6f636b3a206f7065726174696f6e2063616e6e6f74206260448201526a194818d85b98d95b1b195960aa1b6064820152608401610955565b6000838152600260205260408082208290555184917fbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb7091a2505050565b6000818152600160205260408120610700906110bd565b600082815260208190526040902060010154610f48816110c7565b6108cb83836110f6565b60006001600160e01b03198216635a05180f60e01b1480610700575061070082611375565b600061088e83836113aa565b610f8d8282610c05565b61096857610f9a816113d4565b610fa58360206113e6565b604051602001610fb6929190611ed0565b60408051601f198184030181529082905262461bcd60e51b825261095591600401611f45565b6000610feb6020830183611c92565b6001600160a01b031660208301356110066040850185611cad565b604051611014929190611f78565b60006040518083038185875af1925050503d8060008114611051576040519150601f19603f3d011682016040523d82523d6000602084013e611056565b606091505b50509050806109685760405162461bcd60e51b815260206004820152602d60248201527f5242414354696d656c6f636b3a20756e6465726c79696e67207472616e73616360448201526c1d1a5bdb881c995d995c9d1959609a1b6064820152608401610955565b6000610700825490565b6110d18133610f83565b50565b6110de8282611581565b60008281526001602052604090206108cb9082611605565b611100828261161a565b60008281526001602052604090206108cb908261167f565b600061088e8383611690565b61112d8261086f565b6111495760405162461bcd60e51b815260040161095590611f88565b80158061116457506000818152600260205260409020546001145b6109685760405162461bcd60e51b815260206004820181905260248201527f5242414354696d656c6f636b3a206d697373696e6720646570656e64656e63796044820152606401610955565b6111b98161086f565b6111d55760405162461bcd60e51b815260040161095590611f88565b600090815260026020526040902060019055565b600061088e8383611783565b6111fe826108d0565b1561125d5760405162461bcd60e51b815260206004820152602960248201527f5242414354696d656c6f636b3a206f7065726174696f6e20616c7265616479206044820152681cd8da19591d5b195960ba1b6064820152608401610955565b6003548110156112af5760405162461bcd60e51b815260206004820181905260248201527f5242414354696d656c6f636b3a20696e73756666696369656e742064656c61796044820152606401610955565b6112b98142611fcc565b6000928352600260205260409092209190915550565b60048110156112dc575050565b60006112eb6004828486611fdf565b6112f491612009565b905061131e60046001600160e01b031983166000818152600183016020526040812054151561088e565b156108cb5760405162461bcd60e51b815260206004820152602160248201527f5242414354696d656c6f636b3a2073656c6563746f7220697320626c6f636b656044820152601960fa1b6064820152608401610955565b60006001600160e01b03198216637965db0b60e01b148061070057506301ffc9a760e01b6001600160e01b0319831614610700565b60008260000182815481106113c1576113c1611c5c565b9060005260206000200154905092915050565b60606107006001600160a01b03831660145b606060006113f5836002612039565b611400906002611fcc565b6001600160401b03811115611417576114176118bd565b6040519080825280601f01601f191660200182016040528015611441576020820181803683370190505b509050600360fc1b8160008151811061145c5761145c611c5c565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061148b5761148b611c5c565b60200101906001600160f81b031916908160001a90535060006114af846002612039565b6114ba906001611fcc565b90505b6001811115611532576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106114ee576114ee611c5c565b1a60f81b82828151811061150457611504611c5c565b60200101906001600160f81b031916908160001a90535060049490941c9361152b81612050565b90506114bd565b50831561088e5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610955565b61158b8282610c05565b610968576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556115c13390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061088e836001600160a01b038416611783565b6116248282610c05565b15610968576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600061088e836001600160a01b0384165b600081815260018301602052604081205480156117795760006116b4600183612067565b85549091506000906116c890600190612067565b905081811461172d5760008660000182815481106116e8576116e8611c5c565b906000526020600020015490508087600001848154811061170b5761170b611c5c565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061173e5761173e61207a565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610700565b6000915050610700565b60008181526001830160205260408120546117ca57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610700565b506000610700565b6000602082840312156117e457600080fd5b81356001600160e01b03198116811461088e57600080fd5b60006020828403121561180e57600080fd5b5035919050565b60008083601f84011261182757600080fd5b5081356001600160401b0381111561183e57600080fd5b6020830191508360208260051b850101111561185957600080fd5b9250929050565b6000806020838503121561187357600080fd5b82356001600160401b0381111561188957600080fd5b61189585828601611815565b90969095509350505050565b80356001600160a01b03811681146118b857600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156118fb576118fb6118bd565b604052919050565b600082601f83011261191457600080fd5b81356001600160401b0381111561192d5761192d6118bd565b611940601f8201601f19166020016118d3565b81815284602083860101111561195557600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000806080858703121561198857600080fd5b611991856118a1565b935061199f602086016118a1565b92506040850135915060608501356001600160401b038111156119c157600080fd5b6119cd87828801611903565b91505092959194509250565b600080604083850312156119ec57600080fd5b823591506119fc602084016118a1565b90509250929050565b60008060008060608587031215611a1b57600080fd5b84356001600160401b03811115611a3157600080fd5b611a3d87828801611815565b90989097506020870135966040013595509350505050565b60008060408385031215611a6857600080fd5b50508035926020909101359150565b600080600080600060808688031215611a8f57600080fd5b85356001600160401b03811115611aa557600080fd5b611ab188828901611815565b9099909850602088013597604081013597506060013595509350505050565b600082601f830112611ae157600080fd5b813560206001600160401b03821115611afc57611afc6118bd565b8160051b611b0b8282016118d3565b9283528481018201928281019087851115611b2557600080fd5b83870192505b84831015611b4457823582529183019190830190611b2b565b979650505050505050565b600080600080600060a08688031215611b6757600080fd5b611b70866118a1565b9450611b7e602087016118a1565b935060408601356001600160401b0380821115611b9a57600080fd5b611ba689838a01611ad0565b94506060880135915080821115611bbc57600080fd5b611bc889838a01611ad0565b93506080880135915080821115611bde57600080fd5b50611beb88828901611903565b9150509295509295909350565b600080600080600060a08688031215611c1057600080fd5b611c19866118a1565b9450611c27602087016118a1565b9350604086013592506060860135915060808601356001600160401b03811115611c5057600080fd5b611beb88828901611903565b634e487b7160e01b600052603260045260246000fd5b60008235605e19833603018112611c8857600080fd5b9190910192915050565b600060208284031215611ca457600080fd5b61088e826118a1565b6000808335601e19843603018112611cc457600080fd5b8301803591506001600160401b03821115611cde57600080fd5b60200191503681900382131561185957600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60018060a01b0385168152836020820152606060408201526000611d44606083018486611cf3565b9695505050505050565b634e487b7160e01b600052601160045260246000fd5b600060018201611d7657611d76611d4e565b5060010190565b60608082528181018590526000906080600587901b8401810190840188845b89811015611e4e57868403607f190183528135368c9003605e19018112611dc257600080fd5b8b016001600160a01b03611dd5826118a1565b16855260208082013581870152604080830135601e19843603018112611dfa57600080fd5b9092018181019290356001600160401b03811115611e1757600080fd5b803603841315611e2657600080fd5b8882890152611e388989018286611cf3565b9750505093840193929092019150600101611d9c565b505050602084019590955250506040015292915050565b60018060a01b038816815286602082015260c060408201526000611e8d60c083018789611cf3565b606083019590955250608081019290925260a090910152949350505050565b60005b83811015611ec7578181015183820152602001611eaf565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611f08816017850160208801611eac565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611f39816028840160208801611eac565b01602801949350505050565b6020815260008251806020840152611f64816040850160208701611eac565b601f01601f19169190910160400192915050565b8183823760009101908152919050565b60208082526024908201527f5242414354696d656c6f636b3a206f7065726174696f6e206973206e6f7420726040820152636561647960e01b606082015260800190565b8082018082111561070057610700611d4e565b60008085851115611fef57600080fd5b83861115611ffc57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156120315780818660040360031b1b83161692505b505092915050565b808202811582820484141761070057610700611d4e565b60008161205f5761205f611d4e565b506000190190565b8181038181111561070057610700611d4e565b634e487b7160e01b600052603160045260246000fdfea49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a264697066735822122064a83f60721959359d1c432c52a08f81bea2667aebccbbc732918f7169a85df564736f6c63430008130033b09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1d8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63a49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775fd643c72710c63c0180259aba6b2d05451e3591a24e58b62239378085726f783000000000000000000000000000000000000000000000000000000000002a30000000000000000000000000016b5346e43ace49e4571847a63fa3134124c3be000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000020d64e2a787f8264238c2bccba81dc19665cca6200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000f99af744ccfb0b2cbf776feb9f50d1b502d94a6900000000000000000000000020d64e2a787f8264238c2bccba81dc19665cca62000000000000000000000000177a2884d8d3f78d9b4c758a7ea7f86d42920c2d0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000177a2884d8d3f78d9b4c758a7ea7f86d42920c2d
Deployed Bytecode
0x6080604052600436106101f25760003560e01c806364d623531161010d578063a944142d116100a0578063ca15c8731161006f578063ca15c8731461062d578063d45c44351461064d578063d547741f1461067a578063f23a6e611461069a578063f27a0c92146106c657600080fd5b8063a944142d1461058d578063b08e51c0146105ad578063bc197c81146105e1578063c4d252f51461060d57600080fd5b80639010d07c116100dc5780639010d07c1461050057806391d14854146105385780639f5a23f714610558578063a217fddf1461057857600080fd5b806364d62353146104775780636ceef4801461049757806375b238fc146104aa5780638f61f4f5146104cc57600080fd5b806326bb2ec51161018557806336568abe1161015457806336568abe146103f75780633a98b4e414610417578063515a3db314610437578063584b153e1461045757600080fd5b806326bb2ec5146103725780632ab0f529146103875780632f2ff15d146103b757806331d50750146103d757600080fd5b806313bc9f20116101c157806313bc9f20146102c3578063150b7a02146102e3578063191cb7b31461030e578063248a9ca31461034257600080fd5b806301ffc9a7146101fe57806303e561551461023357806307bd02651461026c5780630db866b1146102ae57600080fd5b366101f957005b600080fd5b34801561020a57600080fd5b5061021e6102193660046117d2565b6106db565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061025361024e3660046117fc565b610706565b6040516001600160e01b0319909116815260200161022a565b34801561027857600080fd5b506102a07fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6381565b60405190815260200161022a565b6102c16102bc366004611860565b610713565b005b3480156102cf57600080fd5b5061021e6102de3660046117fc565b61086f565b3480156102ef57600080fd5b506102536102fe366004611972565b630a85bd0160e11b949350505050565b34801561031a57600080fd5b506102a07fa1b2b8005de234c4b8ce8cd0be058239056e0d54f6097825b5117101469d5a8d81565b34801561034e57600080fd5b506102a061035d3660046117fc565b60009081526020819052604090206001015490565b34801561037e57600080fd5b506102a0610895565b34801561039357600080fd5b5061021e6103a23660046117fc565b60009081526002602052604090205460011490565b3480156103c357600080fd5b506102c16103d23660046119d9565b6108a6565b3480156103e357600080fd5b5061021e6103f23660046117fc565b6108d0565b34801561040357600080fd5b506102c16104123660046119d9565b6108e9565b34801561042357600080fd5b506102c16104323660046117d2565b61096c565b34801561044357600080fd5b506102a0610452366004611a05565b6109d7565b34801561046357600080fd5b5061021e6104723660046117fc565b610a10565b34801561048357600080fd5b506102c16104923660046117fc565b610a27565b6102c16104a5366004611a05565b610a81565b3480156104b657600080fd5b506102a060008051602061209183398151915281565b3480156104d857600080fd5b506102a07fb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc181565b34801561050c57600080fd5b5061052061051b366004611a55565b610bed565b6040516001600160a01b03909116815260200161022a565b34801561054457600080fd5b5061021e6105533660046119d9565b610c05565b34801561056457600080fd5b506102c16105733660046117d2565b610c2e565b34801561058457600080fd5b506102a0600081565b34801561059957600080fd5b506102c16105a8366004611a77565b610c99565b3480156105b957600080fd5b506102a07ffd643c72710c63c0180259aba6b2d05451e3591a24e58b62239378085726f78381565b3480156105ed57600080fd5b506102536105fc366004611b4f565b63bc197c8160e01b95945050505050565b34801561061957600080fd5b506102c16106283660046117fc565b610e28565b34801561063957600080fd5b506102a06106483660046117fc565b610f16565b34801561065957600080fd5b506102a06106683660046117fc565b60009081526002602052604090205490565b34801561068657600080fd5b506102c16106953660046119d9565b610f2d565b3480156106a657600080fd5b506102536106b5366004611bf8565b63f23a6e6160e01b95945050505050565b3480156106d257600080fd5b506003546102a0565b60006001600160e01b03198216630271189760e51b1480610700575061070082610f52565b92915050565b6000610700600483610f77565b7fa1b2b8005de234c4b8ce8cd0be058239056e0d54f6097825b5117101469d5a8d3361074d60008051602061209183398151915282610c05565b61075b5761075b8282610f83565b60005b838110156108685761079285858381811061077b5761077b611c5c565b905060200281019061078d9190611c72565b610fdc565b807f6b983f337bab73dfe37faca733adf3ea35b45b8b144ec8ee2de3a1b224564b0c8686848181106107c6576107c6611c5c565b90506020028101906107d89190611c72565b6107e6906020810190611c92565b8787858181106107f8576107f8611c5c565b905060200281019061080a9190611c72565b6020013588888681811061082057610820611c5c565b90506020028101906108329190611c72565b610840906040810190611cad565b6040516108509493929190611d1c565b60405180910390a261086181611d64565b905061075e565b5050505050565b60008181526002602052604081205460018111801561088e5750428111155b9392505050565b60006108a160046110bd565b905090565b6000828152602081905260409020600101546108c1816110c7565b6108cb83836110d4565b505050565b60008181526002602052604081205481905b1192915050565b6001600160a01b038116331461095e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61096882826110f6565b5050565b600080516020612091833981519152610984816110c7565b61099960046001600160e01b03198416611118565b15610968576040516001600160e01b03198316907fd91859a8d88193a56a2983deb65a5253985141c49c70bf016880b5243bd432e190600090a25050565b6000848484846040516020016109f09493929190611d7d565b604051602081830303815290604052805190602001209050949350505050565b6000818152600260205260408120546001906108e2565b600080516020612091833981519152610a3f816110c7565b60035460408051918252602082018490527f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d5910160405180910390a150600355565b7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6333610abb60008051602061209183398151915282610c05565b610ac957610ac98282610f83565b6000610ad7878787876109d7565b9050610ae38186611124565b60005b86811015610bda57610b0388888381811061077b5761077b611c5c565b80827fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b588a8a85818110610b3857610b38611c5c565b9050602002810190610b4a9190611c72565b610b58906020810190611c92565b8b8b86818110610b6a57610b6a611c5c565b9050602002810190610b7c9190611c72565b602001358c8c87818110610b9257610b92611c5c565b9050602002810190610ba49190611c72565b610bb2906040810190611cad565b604051610bc29493929190611d1c565b60405180910390a3610bd381611d64565b9050610ae6565b50610be4816111b0565b50505050505050565b600082815260016020526040812061088e9083610f77565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020612091833981519152610c46816110c7565b610c5b60046001600160e01b031984166111e9565b15610968576040516001600160e01b03198316907f15b40cf8ed4c95cd3c0e1dedfdb3987c3f9bf3d3770d13ddf6dc4daa5ffae9ef90600090a25050565b7fb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc133610cd360008051602061209183398151915282610c05565b610ce157610ce18282610f83565b6000610cef888888886109d7565b9050610cfb81856111f5565b60005b87811015610e1d57610d40898983818110610d1b57610d1b611c5c565b9050602002810190610d2d9190611c72565b610d3b906040810190611cad565b6112cf565b80827f4f4da6666f52e3b6dbc3638d8eae4017722678fe58bca79cd8320817807a65be8b8b85818110610d7557610d75611c5c565b9050602002810190610d879190611c72565b610d95906020810190611c92565b8c8c86818110610da757610da7611c5c565b9050602002810190610db99190611c72565b602001358d8d87818110610dcf57610dcf611c5c565b9050602002810190610de19190611c72565b610def906040810190611cad565b8d8d8d604051610e059796959493929190611e65565b60405180910390a3610e1681611d64565b9050610cfe565b505050505050505050565b7ffd643c72710c63c0180259aba6b2d05451e3591a24e58b62239378085726f78333610e6260008051602061209183398151915282610c05565b610e7057610e708282610f83565b610e7983610a10565b610ed95760405162461bcd60e51b815260206004820152602b60248201527f5242414354696d656c6f636b3a206f7065726174696f6e2063616e6e6f74206260448201526a194818d85b98d95b1b195960aa1b6064820152608401610955565b6000838152600260205260408082208290555184917fbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb7091a2505050565b6000818152600160205260408120610700906110bd565b600082815260208190526040902060010154610f48816110c7565b6108cb83836110f6565b60006001600160e01b03198216635a05180f60e01b1480610700575061070082611375565b600061088e83836113aa565b610f8d8282610c05565b61096857610f9a816113d4565b610fa58360206113e6565b604051602001610fb6929190611ed0565b60408051601f198184030181529082905262461bcd60e51b825261095591600401611f45565b6000610feb6020830183611c92565b6001600160a01b031660208301356110066040850185611cad565b604051611014929190611f78565b60006040518083038185875af1925050503d8060008114611051576040519150601f19603f3d011682016040523d82523d6000602084013e611056565b606091505b50509050806109685760405162461bcd60e51b815260206004820152602d60248201527f5242414354696d656c6f636b3a20756e6465726c79696e67207472616e73616360448201526c1d1a5bdb881c995d995c9d1959609a1b6064820152608401610955565b6000610700825490565b6110d18133610f83565b50565b6110de8282611581565b60008281526001602052604090206108cb9082611605565b611100828261161a565b60008281526001602052604090206108cb908261167f565b600061088e8383611690565b61112d8261086f565b6111495760405162461bcd60e51b815260040161095590611f88565b80158061116457506000818152600260205260409020546001145b6109685760405162461bcd60e51b815260206004820181905260248201527f5242414354696d656c6f636b3a206d697373696e6720646570656e64656e63796044820152606401610955565b6111b98161086f565b6111d55760405162461bcd60e51b815260040161095590611f88565b600090815260026020526040902060019055565b600061088e8383611783565b6111fe826108d0565b1561125d5760405162461bcd60e51b815260206004820152602960248201527f5242414354696d656c6f636b3a206f7065726174696f6e20616c7265616479206044820152681cd8da19591d5b195960ba1b6064820152608401610955565b6003548110156112af5760405162461bcd60e51b815260206004820181905260248201527f5242414354696d656c6f636b3a20696e73756666696369656e742064656c61796044820152606401610955565b6112b98142611fcc565b6000928352600260205260409092209190915550565b60048110156112dc575050565b60006112eb6004828486611fdf565b6112f491612009565b905061131e60046001600160e01b031983166000818152600183016020526040812054151561088e565b156108cb5760405162461bcd60e51b815260206004820152602160248201527f5242414354696d656c6f636b3a2073656c6563746f7220697320626c6f636b656044820152601960fa1b6064820152608401610955565b60006001600160e01b03198216637965db0b60e01b148061070057506301ffc9a760e01b6001600160e01b0319831614610700565b60008260000182815481106113c1576113c1611c5c565b9060005260206000200154905092915050565b60606107006001600160a01b03831660145b606060006113f5836002612039565b611400906002611fcc565b6001600160401b03811115611417576114176118bd565b6040519080825280601f01601f191660200182016040528015611441576020820181803683370190505b509050600360fc1b8160008151811061145c5761145c611c5c565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061148b5761148b611c5c565b60200101906001600160f81b031916908160001a90535060006114af846002612039565b6114ba906001611fcc565b90505b6001811115611532576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106114ee576114ee611c5c565b1a60f81b82828151811061150457611504611c5c565b60200101906001600160f81b031916908160001a90535060049490941c9361152b81612050565b90506114bd565b50831561088e5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610955565b61158b8282610c05565b610968576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556115c13390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061088e836001600160a01b038416611783565b6116248282610c05565b15610968576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600061088e836001600160a01b0384165b600081815260018301602052604081205480156117795760006116b4600183612067565b85549091506000906116c890600190612067565b905081811461172d5760008660000182815481106116e8576116e8611c5c565b906000526020600020015490508087600001848154811061170b5761170b611c5c565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061173e5761173e61207a565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610700565b6000915050610700565b60008181526001830160205260408120546117ca57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610700565b506000610700565b6000602082840312156117e457600080fd5b81356001600160e01b03198116811461088e57600080fd5b60006020828403121561180e57600080fd5b5035919050565b60008083601f84011261182757600080fd5b5081356001600160401b0381111561183e57600080fd5b6020830191508360208260051b850101111561185957600080fd5b9250929050565b6000806020838503121561187357600080fd5b82356001600160401b0381111561188957600080fd5b61189585828601611815565b90969095509350505050565b80356001600160a01b03811681146118b857600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156118fb576118fb6118bd565b604052919050565b600082601f83011261191457600080fd5b81356001600160401b0381111561192d5761192d6118bd565b611940601f8201601f19166020016118d3565b81815284602083860101111561195557600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000806080858703121561198857600080fd5b611991856118a1565b935061199f602086016118a1565b92506040850135915060608501356001600160401b038111156119c157600080fd5b6119cd87828801611903565b91505092959194509250565b600080604083850312156119ec57600080fd5b823591506119fc602084016118a1565b90509250929050565b60008060008060608587031215611a1b57600080fd5b84356001600160401b03811115611a3157600080fd5b611a3d87828801611815565b90989097506020870135966040013595509350505050565b60008060408385031215611a6857600080fd5b50508035926020909101359150565b600080600080600060808688031215611a8f57600080fd5b85356001600160401b03811115611aa557600080fd5b611ab188828901611815565b9099909850602088013597604081013597506060013595509350505050565b600082601f830112611ae157600080fd5b813560206001600160401b03821115611afc57611afc6118bd565b8160051b611b0b8282016118d3565b9283528481018201928281019087851115611b2557600080fd5b83870192505b84831015611b4457823582529183019190830190611b2b565b979650505050505050565b600080600080600060a08688031215611b6757600080fd5b611b70866118a1565b9450611b7e602087016118a1565b935060408601356001600160401b0380821115611b9a57600080fd5b611ba689838a01611ad0565b94506060880135915080821115611bbc57600080fd5b611bc889838a01611ad0565b93506080880135915080821115611bde57600080fd5b50611beb88828901611903565b9150509295509295909350565b600080600080600060a08688031215611c1057600080fd5b611c19866118a1565b9450611c27602087016118a1565b9350604086013592506060860135915060808601356001600160401b03811115611c5057600080fd5b611beb88828901611903565b634e487b7160e01b600052603260045260246000fd5b60008235605e19833603018112611c8857600080fd5b9190910192915050565b600060208284031215611ca457600080fd5b61088e826118a1565b6000808335601e19843603018112611cc457600080fd5b8301803591506001600160401b03821115611cde57600080fd5b60200191503681900382131561185957600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60018060a01b0385168152836020820152606060408201526000611d44606083018486611cf3565b9695505050505050565b634e487b7160e01b600052601160045260246000fd5b600060018201611d7657611d76611d4e565b5060010190565b60608082528181018590526000906080600587901b8401810190840188845b89811015611e4e57868403607f190183528135368c9003605e19018112611dc257600080fd5b8b016001600160a01b03611dd5826118a1565b16855260208082013581870152604080830135601e19843603018112611dfa57600080fd5b9092018181019290356001600160401b03811115611e1757600080fd5b803603841315611e2657600080fd5b8882890152611e388989018286611cf3565b9750505093840193929092019150600101611d9c565b505050602084019590955250506040015292915050565b60018060a01b038816815286602082015260c060408201526000611e8d60c083018789611cf3565b606083019590955250608081019290925260a090910152949350505050565b60005b83811015611ec7578181015183820152602001611eaf565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611f08816017850160208801611eac565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611f39816028840160208801611eac565b01602801949350505050565b6020815260008251806020840152611f64816040850160208701611eac565b601f01601f19169190910160400192915050565b8183823760009101908152919050565b60208082526024908201527f5242414354696d656c6f636b3a206f7065726174696f6e206973206e6f7420726040820152636561647960e01b606082015260800190565b8082018082111561070057610700611d4e565b60008085851115611fef57600080fd5b83861115611ffc57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156120315780818660040360031b1b83161692505b505092915050565b808202811582820484141761070057610700611d4e565b60008161205f5761205f611d4e565b506000190190565b8181038181111561070057610700611d4e565b634e487b7160e01b600052603160045260246000fdfea49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a264697066735822122064a83f60721959359d1c432c52a08f81bea2667aebccbbc732918f7169a85df564736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000002a30000000000000000000000000016b5346e43ace49e4571847a63fa3134124c3be000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000020d64e2a787f8264238c2bccba81dc19665cca6200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000f99af744ccfb0b2cbf776feb9f50d1b502d94a6900000000000000000000000020d64e2a787f8264238c2bccba81dc19665cca62000000000000000000000000177a2884d8d3f78d9b4c758a7ea7f86d42920c2d0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000177a2884d8d3f78d9b4c758a7ea7f86d42920c2d
-----Decoded View---------------
Arg [0] : minDelay (uint256): 172800
Arg [1] : admin (address): 0x16B5346E43ACe49E4571847A63Fa3134124c3Be0
Arg [2] : proposers (address[]): 0x20D64e2a787f8264238C2bCCbA81dC19665CCA62
Arg [3] : executors (address[]):
Arg [4] : cancellers (address[]): 0xF99af744ccfB0B2CbF776feB9F50d1B502d94A69,0x20D64e2a787f8264238C2bCCbA81dC19665CCA62,0x177A2884D8d3F78d9b4C758a7EA7f86d42920c2d
Arg [5] : bypassers (address[]): 0x177A2884D8d3F78d9b4C758a7EA7f86d42920c2d
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000002a300
Arg [1] : 00000000000000000000000016b5346e43ace49e4571847a63fa3134124c3be0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [7] : 00000000000000000000000020d64e2a787f8264238c2bccba81dc19665cca62
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 000000000000000000000000f99af744ccfb0b2cbf776feb9f50d1b502d94a69
Arg [11] : 00000000000000000000000020d64e2a787f8264238c2bccba81dc19665cca62
Arg [12] : 000000000000000000000000177a2884d8d3f78d9b4c758a7ea7f86d42920c2d
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [14] : 000000000000000000000000177a2884d8d3f78d9b4c758a7ea7f86d42920c2d
Deployed Bytecode Sourcemap
3270:14578:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7450:238;;;;;;;;;;-1:-1:-1;7450:238:14;;;;;:::i;:::-;;:::i;:::-;;;470:14:15;;463:22;445:41;;433:2;418:18;7450:238:14;;;;;;;;16448:151;;;;;;;;;;-1:-1:-1;16448:151:14;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;;844:33:15;;;826:52;;814:2;799:18;16448:151:14;682:202:15;3645:66:14;;;;;;;;;;;;3685:26;3645:66;;;;;1035:25:15;;;1023:2;1008:18;3645:66:14;889:177:15;17064:317:14;;;;;;:::i;:::-;;:::i;:::-;;8270:208;;;;;;;;;;-1:-1:-1;8270:208:14;;;;;:::i;:::-;;:::i;13491:200::-;;;;;;;;;;-1:-1:-1;13491:200:14;;;;;:::i;:::-;-1:-1:-1;;;13491:200:14;;;;;;;3791:66;;;;;;;;;;;;3831:26;3791:66;;4504:129:0;;;;;;;;;;-1:-1:-1;4504:129:0;;;;;:::i;:::-;4578:7;4604:12;;;;;;;;;;:22;;;;4504:129;15557:133:14;;;;;;;;;;;;;:::i;8557:136::-;;;;;;;;;;-1:-1:-1;8557:136:14;;;;;:::i;:::-;8623:9;8939:15;;;:11;:15;;;;;;3915:1;8651:35;;8557:136;4929:145:0;;;;;;;;;;-1:-1:-1;4929:145:0;;;;;:::i;:::-;;:::i;7844:123:14:-;;;;;;;;;;-1:-1:-1;7844:123:14;;;;;:::i;:::-;;:::i;6038:214:0:-;;;;;;;;;;-1:-1:-1;6038:214:0;;;;;:::i;:::-;;:::i;15264:209:14:-;;;;;;;;;;-1:-1:-1;15264:209:14;;;;;:::i;:::-;;:::i;9366:230::-;;;;;;;;;;-1:-1:-1;9366:230:14;;;;;:::i;:::-;;:::i;8049:141::-;;;;;;;;;;-1:-1:-1;8049:141:14;;;;;:::i;:::-;;:::i;13253:164::-;;;;;;;;;;-1:-1:-1;13253:164:14;;;;;:::i;:::-;;:::i;11655:486::-;;;;;;:::i;:::-;;:::i;3507:60::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;3507:60:14;;3573:66;;;;;;;;;;;;3613:26;3573:66;;1431:151:1;;;;;;;;;;-1:-1:-1;1431:151:1;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5260:32:15;;;5242:51;;5230:2;5215:18;1431:151:1;5096:203:15;3021:145:0;;;;;;;;;;-1:-1:-1;3021:145:0;;;;;:::i;:::-;;:::i;14879:202:14:-;;;;;;;;;;-1:-1:-1;14879:202:14;;;;;:::i;:::-;;:::i;2153:49:0:-;;;;;;;;;;-1:-1:-1;2153:49:0;2198:4;2153:49;;9932:525:14;;;;;;;;;;-1:-1:-1;9932:525:14;;;;;:::i;:::-;;:::i;3717:68::-;;;;;;;;;;;;3758:27;3717:68;;14067:247;;;;;;;;;;-1:-1:-1;14067:247:14;;;;;:::i;:::-;-1:-1:-1;;;14067:247:14;;;;;;;;10975:235;;;;;;;;;;-1:-1:-1;10975:235:14;;;;;:::i;:::-;;:::i;1750:140:1:-;;;;;;;;;;-1:-1:-1;1750:140:1;;;;;:::i;:::-;;:::i;8840:121:14:-;;;;;;;;;;-1:-1:-1;8840:121:14;;;;;:::i;:::-;8903:17;8939:15;;;:11;:15;;;;;;;8840:121;5354:147:0;;;;;;;;;;-1:-1:-1;5354:147:0;;;;;:::i;:::-;;:::i;13767:219:14:-;;;;;;;;;;-1:-1:-1;13767:219:14;;;;;:::i;:::-;-1:-1:-1;;;13767:219:14;;;;;;;;9147:103;;;;;;;;;;-1:-1:-1;9234:9:14;;9147:103;;7450:238;7569:4;-1:-1:-1;;;;;;7592:49:14;;-1:-1:-1;;;7592:49:14;;:89;;;7645:36;7669:11;7645:23;:36::i;:::-;7585:96;7450:238;-1:-1:-1;;7450:238:14:o;16448:151::-;16524:6;16556:35;:25;16585:5;16556:28;:35::i;17064:317::-;3831:26;719:10:7;7157:27:14;-1:-1:-1;;;;;;;;;;;719:10:7;7157:7:14;:27::i;:::-;7152:83;;7200:24;7211:4;7217:6;7200:10;:24::i;:::-;17204:9:::1;17199:176;17219:16:::0;;::::1;17199:176;;;17256:18;17265:5;;17271:1;17265:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;17256;:18::i;:::-;17314:1;17293:71;17317:5;;17323:1;17317:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:15;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;17334:5;;17340:1;17334:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:14;;;17350:5;;17356:1;17350:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:13;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;17293:71;;;;;;;;;:::i;:::-;;;;;;;;17237:3;::::0;::::1;:::i;:::-;;;17199:176;;;;7103:149:::0;17064:317;;;:::o;8270:208::-;8337:10;8939:15;;;:11;:15;;;;;;3915:1;8412:9;:27;:59;;;;;8456:15;8443:9;:28;;8412:59;8405:66;8270:208;-1:-1:-1;;;8270:208:14:o;15557:133::-;15623:7;15649:34;:25;:32;:34::i;:::-;15642:41;;15557:133;:::o;4929:145:0:-;4578:7;4604:12;;;;;;;;;;:22;;;2631:16;2642:4;2631:10;:16::i;:::-;5042:25:::1;5053:4;5059:7;5042:10;:25::i;:::-;4929:145:::0;;;:::o;7844:123:14:-;7906:15;8939;;;:11;:15;;;;;;7906;;7940:16;:20;;7844:123;-1:-1:-1;;7844:123:14:o;6038:214:0:-;-1:-1:-1;;;;;6133:23:0;;719:10:7;6133:23:0;6125:83;;;;-1:-1:-1;;;6125:83:0;;10601:2:15;6125:83:0;;;10583:21:15;10640:2;10620:18;;;10613:30;10679:34;10659:18;;;10652:62;-1:-1:-1;;;10730:18:15;;;10723:45;10785:19;;6125:83:0;;;;;;;;;6219:26;6231:4;6237:7;6219:11;:26::i;:::-;6038:214;;:::o;15264:209:14:-;-1:-1:-1;;;;;;;;;;;2631:16:0;2642:4;2631:10;:16::i;:::-;15358:42:14::1;:25;-1:-1:-1::0;;;;;;15358:42:14;::::1;:32;:42::i;:::-;15354:113;;;15421:35;::::0;-1:-1:-1;;;;;;15421:35:14;::::1;::::0;::::1;::::0;;;::::1;15264:209:::0;;:::o;9366:230::-;9511:12;9563:5;;9570:11;9583:4;9552:36;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;9542:47;;;;;;9535:54;;9366:230;;;;;;:::o;8049:141::-;8118:12;8939:15;;;:11;:15;;;;;;3915:1;;8149:16;8840:121;13253:164;-1:-1:-1;;;;;;;;;;;2631:16:0;2642:4;2631:10;:16::i;:::-;13360:9:14::1;::::0;13345:35:::1;::::0;;12885:25:15;;;12941:2;12926:18;;12919:34;;;13345:35:14::1;::::0;12858:18:15;13345:35:14::1;;;;;;;-1:-1:-1::0;13390:9:14::1;:20:::0;13253:164::o;11655:486::-;3685:26;719:10:7;7157:27:14;-1:-1:-1;;;;;;;;;;;719:10:7;7157:7:14;:27::i;:::-;7152:83;;7200:24;7211:4;7217:6;7200:10;:24::i;:::-;11833:10:::1;11846:44;11865:5;;11872:11;11885:4;11846:18;:44::i;:::-;11833:57;;11901:28;11913:2;11917:11;11901;:28::i;:::-;11944:9;11939:172;11959:16:::0;;::::1;11939:172;;;11996:18;12005:5;;12011:1;12005:8;;;;;;;:::i;11996:18::-;12050:1;12046:2;12033:67;12053:5;;12059:1;12053:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:15;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;12070:5;;12076:1;12070:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:14;;;12086:5;;12092:1;12086:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:13;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;12033:67;;;;;;;;;:::i;:::-;;;;;;;;11977:3;::::0;::::1;:::i;:::-;;;11939:172;;;;12120:14;12131:2;12120:10;:14::i;:::-;11823:318;7103:149:::0;11655:486;;;;;:::o;1431:151:1:-;1521:7;1547:18;;;:12;:18;;;;;:28;;1569:5;1547:21;:28::i;3021:145:0:-;3107:4;3130:12;;;;;;;;;;;-1:-1:-1;;;;;3130:29:0;;;;;;;;;;;;;;;3021:145::o;14879:202:14:-;-1:-1:-1;;;;;;;;;;;2631:16:0;2642:4;2631:10;:16::i;:::-;14971:39:14::1;:25;-1:-1:-1::0;;;;;;14971:39:14;::::1;:29;:39::i;:::-;14967:108;;;15031:33;::::0;-1:-1:-1;;;;;;15031:33:14;::::1;::::0;::::1;::::0;;;::::1;14879:202:::0;;:::o;9932:525::-;3613:26;719:10:7;7157:27:14;-1:-1:-1;;;;;;;;;;;719:10:7;7157:7:14;:27::i;:::-;7152:83;;7200:24;7211:4;7217:6;7200:10;:24::i;:::-;10126:10:::1;10139:44;10158:5;;10165:11;10178:4;10139:18;:44::i;:::-;10126:57;;10193:20;10203:2;10207:5;10193:9;:20::i;:::-;10228:9;10223:228;10243:16:::0;;::::1;10223:228;;;10280:47;10313:5;;10319:1;10313:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:13;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;10280:32;:47::i;:::-;10364:1;10360:2;10346:94;10367:5;;10373:1;10367:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:15;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;10384:5;;10390:1;10384:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:14;;;10400:5;;10406:1;10400:8;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;:13;::::0;::::1;::::0;::::1;::::0;::::1;:::i;:::-;10415:11;10428:4;10434:5;10346:94;;;;;;;;;;;;:::i;:::-;;;;;;;;10261:3;::::0;::::1;:::i;:::-;;;10223:228;;;;10116:341;7103:149:::0;9932:525;;;;;;:::o;10975:235::-;3758:27;719:10:7;7157:27:14;-1:-1:-1;;;;;;;;;;;719:10:7;7157:7:14;:27::i;:::-;7152:83;;7200:24;7211:4;7217:6;7200:10;:24::i;:::-;11072:22:::1;11091:2;11072:18;:22::i;:::-;11064:78;;;::::0;-1:-1:-1;;;11064:78:14;;13800:2:15;11064:78:14::1;::::0;::::1;13782:21:15::0;13839:2;13819:18;;;13812:30;13878:34;13858:18;;;13851:62;-1:-1:-1;;;13929:18:15;;;13922:41;13980:19;;11064:78:14::1;13598:407:15::0;11064:78:14::1;11159:15;::::0;;;:11:::1;:15;::::0;;;;;11152:22;;;11190:13;11171:2;;11190:13:::1;::::0;::::1;7103:149:::0;10975:235;;:::o;1750:140:1:-;1830:7;1856:18;;;:12;:18;;;;;:27;;:25;:27::i;5354:147:0:-;4578:7;4604:12;;;;;;;;;;:22;;;2631:16;2642:4;2631:10;:16::i;:::-;5468:26:::1;5480:4;5486:7;5468:11;:26::i;634:212:1:-:0;719:4;-1:-1:-1;;;;;;742:57:1;;-1:-1:-1;;;742:57:1;;:97;;;803:36;827:11;803:23;:36::i;7096:129:13:-;7170:7;7196:22;7200:3;7212:5;7196:3;:22::i;3844:479:0:-;3932:22;3940:4;3946:7;3932;:22::i;:::-;3927:390;;4115:28;4135:7;4115:19;:28::i;:::-;4214:38;4242:4;4249:2;4214:19;:38::i;:::-;4022:252;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;4022:252:0;;;;;;;;;;-1:-1:-1;;;3970:336:0;;;;;;;:::i;12204:226:14:-;12284:12;12302:11;;;;:4;:11;:::i;:::-;-1:-1:-1;;;;;12302:16:14;12326:10;;;;12338:9;;;;12326:4;12338:9;:::i;:::-;12302:46;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12283:65;;;12366:7;12358:65;;;;-1:-1:-1;;;12358:65:14;;15961:2:15;12358:65:14;;;15943:21:15;16000:2;15980:18;;;15973:30;16039:34;16019:18;;;16012:62;-1:-1:-1;;;16090:18:15;;;16083:43;16143:19;;12358:65:14;15759:409:15;6639:115:13;6702:7;6728:19;6736:3;4545:18;;4463:107;3460:103:0;3526:30;3537:4;719:10:7;3526::0;:30::i;:::-;3460:103;:::o;1978:166:1:-;2065:31;2082:4;2088:7;2065:16;:31::i;:::-;2106:18;;;;:12;:18;;;;;:31;;2129:7;2106:22;:31::i;2233:171::-;2321:32;2339:4;2345:7;2321:17;:32::i;:::-;2363:18;;;;:12;:18;;;;;:34;;2389:7;2363:25;:34::i;6210:129:13:-;6283:4;6306:26;6314:3;6326:5;6306:7;:26::i;12513:265:14:-;12598:20;12615:2;12598:16;:20::i;:::-;12590:69;;;;-1:-1:-1;;;12590:69:14;;;;;;;:::i;:::-;12677:25;;;:57;;-1:-1:-1;8623:9:14;8939:15;;;:11;:15;;;;;;3915:1;8651:35;12706:28;12669:102;;;;-1:-1:-1;;;12669:102:14;;16780:2:15;12669:102:14;;;16762:21:15;;;16799:18;;;16792:30;16858:34;16838:18;;;16831:62;16910:18;;12669:102:14;16578:356:15;12860:169:14;12918:20;12935:2;12918:16;:20::i;:::-;12910:69;;;;-1:-1:-1;;;12910:69:14;;;;;;;:::i;:::-;12989:15;;;;:11;:15;;;;;3915:1;12989:33;;12860:169::o;5919:123:13:-;5989:4;6012:23;6017:3;6029:5;6012:4;:23::i;10553:269:14:-;10626:15;10638:2;10626:11;:15::i;:::-;10625:16;10617:70;;;;-1:-1:-1;;;10617:70:14;;17141:2:15;10617:70:14;;;17123:21:15;17180:2;17160:18;;;17153:30;17219:34;17199:18;;;17192:62;-1:-1:-1;;;17270:18:15;;;17263:39;17319:19;;10617:70:14;16939:405:15;10617:70:14;9234:9;;10705:5;:22;;10697:67;;;;-1:-1:-1;;;10697:67:14;;17551:2:15;10697:67:14;;;17533:21:15;;;17570:18;;;17563:30;17629:34;17609:18;;;17602:62;17681:18;;10697:67:14;17349:356:15;10697:67:14;10792:23;10810:5;10792:15;:23;:::i;:::-;10774:15;;;;:11;:15;;;;;;:41;;;;-1:-1:-1;10553:269:14:o;17548:298::-;17652:1;17638:15;;17634:52;;;17548:298;;:::o;17634:52::-;17695:15;17720:8;17726:1;17695:15;17720:4;;:8;:::i;:::-;17713:16;;;:::i;:::-;17695:34;-1:-1:-1;17748:53:14;:25;-1:-1:-1;;;;;;17783:17:14;;6500:4:13;4351:19;;;:12;;;:19;;;;;;:24;;6523:28;4255:127;17748:53:14;17747:54;17739:100;;;;-1:-1:-1;;;17739:100:14;;18706:2:15;17739:100:14;;;18688:21:15;18745:2;18725:18;;;18718:30;18784:34;18764:18;;;18757:62;-1:-1:-1;;;18835:18:15;;;18828:31;18876:19;;17739:100:14;18504:397:15;2732:202:0;2817:4;-1:-1:-1;;;;;;2840:47:0;;-1:-1:-1;;;2840:47:0;;:87;;-1:-1:-1;;;;;;;;;;937:40:9;;;2891:36:0;829:155:9;4912:118:13;4979:7;5005:3;:11;;5017:5;5005:18;;;;;;;;:::i;:::-;;;;;;;;;4998:25;;4912:118;;;;:::o;2407:149:8:-;2465:13;2497:52;-1:-1:-1;;;;;2509:22:8;;343:2;1818:437;1893:13;1918:19;1950:10;1954:6;1950:1;:10;:::i;:::-;:14;;1963:1;1950:14;:::i;:::-;-1:-1:-1;;;;;1940:25:8;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1940:25:8;;1918:47;;-1:-1:-1;;;1975:6:8;1982:1;1975:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1975:15:8;;;;;;;;;-1:-1:-1;;;2000:6:8;2007:1;2000:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;2000:15:8;;;;;;;;-1:-1:-1;2030:9:8;2042:10;2046:6;2042:1;:10;:::i;:::-;:14;;2055:1;2042:14;:::i;:::-;2030:26;;2025:128;2062:1;2058;:5;2025:128;;;-1:-1:-1;;;2105:5:8;2113:3;2105:11;2096:21;;;;;;;:::i;:::-;;;;2084:6;2091:1;2084:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;2084:33:8;;;;;;;;-1:-1:-1;2141:1:8;2131:11;;;;;2065:3;;;:::i;:::-;;;2025:128;;;-1:-1:-1;2170:10:8;;2162:55;;;;-1:-1:-1;;;2162:55:8;;19422:2:15;2162:55:8;;;19404:21:15;;;19441:18;;;19434:30;19500:34;19480:18;;;19473:62;19552:18;;2162:55:8;19220:356:15;7587:233:0;7670:22;7678:4;7684:7;7670;:22::i;:::-;7665:149;;7708:6;:12;;;;;;;;;;;-1:-1:-1;;;;;7708:29:0;;;;;;;;;:36;;-1:-1:-1;;7708:36:0;7740:4;7708:36;;;7790:12;719:10:7;;640:96;7790:12:0;-1:-1:-1;;;;;7763:40:0;7781:7;-1:-1:-1;;;;;7763:40:0;7775:4;7763:40;;;;;;;;;;7587:233;;:::o;8305:150:13:-;8375:4;8398:50;8403:3;-1:-1:-1;;;;;8423:23:13;;8398:4;:50::i;7991:234:0:-;8074:22;8082:4;8088:7;8074;:22::i;:::-;8070:149;;;8144:5;8112:12;;;;;;;;;;;-1:-1:-1;;;;;8112:29:0;;;;;;;;;;:37;;-1:-1:-1;;8112:37:0;;;8168:40;719:10:7;;8112:12:0;;8168:40;;8144:5;8168:40;7991:234;;:::o;8623:156:13:-;8696:4;8719:53;8727:3;-1:-1:-1;;;;;8747:23:13;;2786:1388;2852:4;2989:19;;;:12;;;:19;;;;;;3023:15;;3019:1149;;3392:21;3416:14;3429:1;3416:10;:14;:::i;:::-;3464:18;;3392:38;;-1:-1:-1;3444:17:13;;3464:22;;3485:1;;3464:22;:::i;:::-;3444:42;;3518:13;3505:9;:26;3501:398;;3551:17;3571:3;:11;;3583:9;3571:22;;;;;;;;:::i;:::-;;;;;;;;;3551:42;;3722:9;3693:3;:11;;3705:13;3693:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;3805:23;;;:12;;;:23;;;;;:36;;;3501:398;3977:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;4069:3;:12;;:19;4082:5;4069:19;;;;;;;;;;;4062:26;;;4110:4;4103:11;;;;;;;3019:1149;4152:5;4145:12;;;;;2214:404;2277:4;4351:19;;;:12;;;:19;;;;;;2293:319;;-1:-1:-1;2335:23:13;;;;;;;;:11;:23;;;;;;;;;;;;;2515:18;;2493:19;;;:12;;;:19;;;;;;:40;;;;2547:11;;2293:319;-1:-1:-1;2596:5:13;2589:12;;14:286:15;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:15;;209:43;;199:71;;266:1;263;256:12;497:180;556:6;609:2;597:9;588:7;584:23;580:32;577:52;;;625:1;622;615:12;577:52;-1:-1:-1;648:23:15;;497:180;-1:-1:-1;497:180:15:o;1071:380::-;1147:8;1157:6;1211:3;1204:4;1196:6;1192:17;1188:27;1178:55;;1229:1;1226;1219:12;1178:55;-1:-1:-1;1252:20:15;;-1:-1:-1;;;;;1284:30:15;;1281:50;;;1327:1;1324;1317:12;1281:50;1364:4;1356:6;1352:17;1340:29;;1424:3;1417:4;1407:6;1404:1;1400:14;1392:6;1388:27;1384:38;1381:47;1378:67;;;1441:1;1438;1431:12;1378:67;1071:380;;;;;:::o;1456:474::-;1566:6;1574;1627:2;1615:9;1606:7;1602:23;1598:32;1595:52;;;1643:1;1640;1633:12;1595:52;1683:9;1670:23;-1:-1:-1;;;;;1708:6:15;1705:30;1702:50;;;1748:1;1745;1738:12;1702:50;1787:83;1862:7;1853:6;1842:9;1838:22;1787:83;:::i;:::-;1889:8;;1761:109;;-1:-1:-1;1456:474:15;-1:-1:-1;;;;1456:474:15:o;2120:173::-;2188:20;;-1:-1:-1;;;;;2237:31:15;;2227:42;;2217:70;;2283:1;2280;2273:12;2217:70;2120:173;;;:::o;2298:127::-;2359:10;2354:3;2350:20;2347:1;2340:31;2390:4;2387:1;2380:15;2414:4;2411:1;2404:15;2430:275;2501:2;2495:9;2566:2;2547:13;;-1:-1:-1;;2543:27:15;2531:40;;-1:-1:-1;;;;;2586:34:15;;2622:22;;;2583:62;2580:88;;;2648:18;;:::i;:::-;2684:2;2677:22;2430:275;;-1:-1:-1;2430:275:15:o;2710:530::-;2752:5;2805:3;2798:4;2790:6;2786:17;2782:27;2772:55;;2823:1;2820;2813:12;2772:55;2859:6;2846:20;-1:-1:-1;;;;;2881:2:15;2878:26;2875:52;;;2907:18;;:::i;:::-;2951:55;2994:2;2975:13;;-1:-1:-1;;2971:27:15;3000:4;2967:38;2951:55;:::i;:::-;3031:2;3022:7;3015:19;3077:3;3070:4;3065:2;3057:6;3053:15;3049:26;3046:35;3043:55;;;3094:1;3091;3084:12;3043:55;3159:2;3152:4;3144:6;3140:17;3133:4;3124:7;3120:18;3107:55;3207:1;3182:16;;;3200:4;3178:27;3171:38;;;;3186:7;2710:530;-1:-1:-1;;;2710:530:15:o;3245:537::-;3340:6;3348;3356;3364;3417:3;3405:9;3396:7;3392:23;3388:33;3385:53;;;3434:1;3431;3424:12;3385:53;3457:29;3476:9;3457:29;:::i;:::-;3447:39;;3505:38;3539:2;3528:9;3524:18;3505:38;:::i;:::-;3495:48;;3590:2;3579:9;3575:18;3562:32;3552:42;;3645:2;3634:9;3630:18;3617:32;-1:-1:-1;;;;;3664:6:15;3661:30;3658:50;;;3704:1;3701;3694:12;3658:50;3727:49;3768:7;3759:6;3748:9;3744:22;3727:49;:::i;:::-;3717:59;;;3245:537;;;;;;;:::o;3969:254::-;4037:6;4045;4098:2;4086:9;4077:7;4073:23;4069:32;4066:52;;;4114:1;4111;4104:12;4066:52;4150:9;4137:23;4127:33;;4179:38;4213:2;4202:9;4198:18;4179:38;:::i;:::-;4169:48;;3969:254;;;;;:::o;4228:610::-;4356:6;4364;4372;4380;4433:2;4421:9;4412:7;4408:23;4404:32;4401:52;;;4449:1;4446;4439:12;4401:52;4489:9;4476:23;-1:-1:-1;;;;;4514:6:15;4511:30;4508:50;;;4554:1;4551;4544:12;4508:50;4593:83;4668:7;4659:6;4648:9;4644:22;4593:83;:::i;:::-;4695:8;;4567:109;;-1:-1:-1;4777:2:15;4762:18;;4749:32;;4828:2;4813:18;4800:32;;-1:-1:-1;4228:610:15;-1:-1:-1;;;;4228:610:15:o;4843:248::-;4911:6;4919;4972:2;4960:9;4951:7;4947:23;4943:32;4940:52;;;4988:1;4985;4978:12;4940:52;-1:-1:-1;;5011:23:15;;;5081:2;5066:18;;;5053:32;;-1:-1:-1;4843:248:15:o;5304:679::-;5441:6;5449;5457;5465;5473;5526:3;5514:9;5505:7;5501:23;5497:33;5494:53;;;5543:1;5540;5533:12;5494:53;5583:9;5570:23;-1:-1:-1;;;;;5608:6:15;5605:30;5602:50;;;5648:1;5645;5638:12;5602:50;5687:83;5762:7;5753:6;5742:9;5738:22;5687:83;:::i;:::-;5789:8;;5661:109;;-1:-1:-1;5871:2:15;5856:18;;5843:32;;5922:2;5907:18;;5894:32;;-1:-1:-1;5973:2:15;5958:18;5945:32;;-1:-1:-1;5304:679:15;-1:-1:-1;;;;5304:679:15:o;5988:712::-;6042:5;6095:3;6088:4;6080:6;6076:17;6072:27;6062:55;;6113:1;6110;6103:12;6062:55;6149:6;6136:20;6175:4;-1:-1:-1;;;;;6194:2:15;6191:26;6188:52;;;6220:18;;:::i;:::-;6266:2;6263:1;6259:10;6289:28;6313:2;6309;6305:11;6289:28;:::i;:::-;6351:15;;;6421;;;6417:24;;;6382:12;;;;6453:15;;;6450:35;;;6481:1;6478;6471:12;6450:35;6517:2;6509:6;6505:15;6494:26;;6529:142;6545:6;6540:3;6537:15;6529:142;;;6611:17;;6599:30;;6562:12;;;;6649;;;;6529:142;;;6689:5;5988:712;-1:-1:-1;;;;;;;5988:712:15:o;6705:943::-;6859:6;6867;6875;6883;6891;6944:3;6932:9;6923:7;6919:23;6915:33;6912:53;;;6961:1;6958;6951:12;6912:53;6984:29;7003:9;6984:29;:::i;:::-;6974:39;;7032:38;7066:2;7055:9;7051:18;7032:38;:::i;:::-;7022:48;;7121:2;7110:9;7106:18;7093:32;-1:-1:-1;;;;;7185:2:15;7177:6;7174:14;7171:34;;;7201:1;7198;7191:12;7171:34;7224:61;7277:7;7268:6;7257:9;7253:22;7224:61;:::i;:::-;7214:71;;7338:2;7327:9;7323:18;7310:32;7294:48;;7367:2;7357:8;7354:16;7351:36;;;7383:1;7380;7373:12;7351:36;7406:63;7461:7;7450:8;7439:9;7435:24;7406:63;:::i;:::-;7396:73;;7522:3;7511:9;7507:19;7494:33;7478:49;;7552:2;7542:8;7539:16;7536:36;;;7568:1;7565;7558:12;7536:36;;7591:51;7634:7;7623:8;7612:9;7608:24;7591:51;:::i;:::-;7581:61;;;6705:943;;;;;;;;:::o;7653:606::-;7757:6;7765;7773;7781;7789;7842:3;7830:9;7821:7;7817:23;7813:33;7810:53;;;7859:1;7856;7849:12;7810:53;7882:29;7901:9;7882:29;:::i;:::-;7872:39;;7930:38;7964:2;7953:9;7949:18;7930:38;:::i;:::-;7920:48;;8015:2;8004:9;8000:18;7987:32;7977:42;;8066:2;8055:9;8051:18;8038:32;8028:42;;8121:3;8110:9;8106:19;8093:33;-1:-1:-1;;;;;8141:6:15;8138:30;8135:50;;;8181:1;8178;8171:12;8135:50;8204:49;8245:7;8236:6;8225:9;8221:22;8204:49;:::i;8264:127::-;8325:10;8320:3;8316:20;8313:1;8306:31;8356:4;8353:1;8346:15;8380:4;8377:1;8370:15;8396:321;8486:4;8544:11;8531:25;8638:2;8634:7;8623:8;8607:14;8603:29;8599:43;8579:18;8575:68;8565:96;;8657:1;8654;8647:12;8565:96;8678:33;;;;;8396:321;-1:-1:-1;;8396:321:15:o;8722:186::-;8781:6;8834:2;8822:9;8813:7;8809:23;8805:32;8802:52;;;8850:1;8847;8840:12;8802:52;8873:29;8892:9;8873:29;:::i;8913:521::-;8990:4;8996:6;9056:11;9043:25;9150:2;9146:7;9135:8;9119:14;9115:29;9111:43;9091:18;9087:68;9077:96;;9169:1;9166;9159:12;9077:96;9196:33;;9248:20;;;-1:-1:-1;;;;;;9280:30:15;;9277:50;;;9323:1;9320;9313:12;9277:50;9356:4;9344:17;;-1:-1:-1;9387:14:15;9383:27;;;9373:38;;9370:58;;;9424:1;9421;9414:12;9439:266;9527:6;9522:3;9515:19;9579:6;9572:5;9565:4;9560:3;9556:14;9543:43;-1:-1:-1;9631:1:15;9606:16;;;9624:4;9602:27;;;9595:38;;;;9687:2;9666:15;;;-1:-1:-1;;9662:29:15;9653:39;;;9649:50;;9439:266::o;9710:412::-;9952:1;9948;9943:3;9939:11;9935:19;9927:6;9923:32;9912:9;9905:51;9992:6;9987:2;9976:9;9972:18;9965:34;10035:2;10030;10019:9;10015:18;10008:30;9886:4;10055:61;10112:2;10101:9;10097:18;10089:6;10081;10055:61;:::i;:::-;10047:69;9710:412;-1:-1:-1;;;;;;9710:412:15:o;10127:127::-;10188:10;10183:3;10179:20;10176:1;10169:31;10219:4;10216:1;10209:15;10243:4;10240:1;10233:15;10259:135;10298:3;10319:17;;;10316:43;;10339:18;;:::i;:::-;-1:-1:-1;10386:1:15;10375:13;;10259:135::o;10815:1891::-;11098:2;11150:21;;;11123:18;;;11206:22;;;-1:-1:-1;;11259:3:15;11309:1;11305:14;;;11290:30;;11286:40;;;11244:19;;11349:6;-1:-1:-1;11383:1204:15;11397:6;11394:1;11391:13;11383:1204;;;11462:22;;;-1:-1:-1;;11458:37:15;11446:50;;11535:20;;11610:14;11606:27;;;-1:-1:-1;;11602:41:15;11578:66;;11568:94;;11658:1;11655;11648:12;11568:94;11688:31;;-1:-1:-1;;;;;11751:25:15;11688:31;11751:25;:::i;:::-;11747:51;11739:6;11732:67;11822:4;11887:2;11880:5;11876:14;11863:28;11858:2;11850:6;11846:15;11839:53;11915:4;11984:2;11977:5;11973:14;11960:28;12073:2;12069:7;12061:5;12045:14;12041:26;12037:40;12015:20;12011:67;12001:95;;12092:1;12089;12082:12;12001:95;12124:32;;;12232:16;;;;-1:-1:-1;12183:21:15;-1:-1:-1;;;;;12264:30:15;;12261:50;;;12307:1;12304;12297:12;12261:50;12360:6;12344:14;12340:27;12331:7;12327:41;12324:61;;;12381:1;12378;12371:12;12324:61;12422:2;12417;12409:6;12405:15;12398:27;12448:59;12503:2;12495:6;12491:15;12483:6;12474:7;12448:59;:::i;:::-;12438:69;-1:-1:-1;;;12565:12:15;;;;12530:15;;;;;-1:-1:-1;11419:1:15;11412:9;11383:1204;;;-1:-1:-1;;;12641:4:15;12626:20;;12619:36;;;;-1:-1:-1;;12686:4:15;12671:20;12664:36;12604:6;10815:1891;-1:-1:-1;;10815:1891:15:o;12964:629::-;13290:1;13286;13281:3;13277:11;13273:19;13265:6;13261:32;13250:9;13243:51;13330:6;13325:2;13314:9;13310:18;13303:34;13373:3;13368:2;13357:9;13353:18;13346:31;13224:4;13394:62;13451:3;13440:9;13436:19;13428:6;13420;13394:62;:::i;:::-;13487:2;13472:18;;13465:34;;;;-1:-1:-1;13530:3:15;13515:19;;13508:35;;;;13574:3;13559:19;;;13552:35;13386:70;12964:629;-1:-1:-1;;;;12964:629:15:o;14010:250::-;14095:1;14105:113;14119:6;14116:1;14113:13;14105:113;;;14195:11;;;14189:18;14176:11;;;14169:39;14141:2;14134:10;14105:113;;;-1:-1:-1;;14252:1:15;14234:16;;14227:27;14010:250::o;14265:812::-;14676:25;14671:3;14664:38;14646:3;14731:6;14725:13;14747:75;14815:6;14810:2;14805:3;14801:12;14794:4;14786:6;14782:17;14747:75;:::i;:::-;-1:-1:-1;;;14881:2:15;14841:16;;;14873:11;;;14866:40;14931:13;;14953:76;14931:13;15015:2;15007:11;;15000:4;14988:17;;14953:76;:::i;:::-;15049:17;15068:2;15045:26;;14265:812;-1:-1:-1;;;;14265:812:15:o;15082:396::-;15231:2;15220:9;15213:21;15194:4;15263:6;15257:13;15306:6;15301:2;15290:9;15286:18;15279:34;15322:79;15394:6;15389:2;15378:9;15374:18;15369:2;15361:6;15357:15;15322:79;:::i;:::-;15462:2;15441:15;-1:-1:-1;;15437:29:15;15422:45;;;;15469:2;15418:54;;15082:396;-1:-1:-1;;15082:396:15:o;15483:271::-;15666:6;15658;15653:3;15640:33;15622:3;15692:16;;15717:13;;;15692:16;15483:271;-1:-1:-1;15483:271:15:o;16173:400::-;16375:2;16357:21;;;16414:2;16394:18;;;16387:30;16453:34;16448:2;16433:18;;16426:62;-1:-1:-1;;;16519:2:15;16504:18;;16497:34;16563:3;16548:19;;16173:400::o;17710:125::-;17775:9;;;17796:10;;;17793:36;;;17809:18;;:::i;17840:331::-;17945:9;17956;17998:8;17986:10;17983:24;17980:44;;;18020:1;18017;18010:12;17980:44;18049:6;18039:8;18036:20;18033:40;;;18069:1;18066;18059:12;18033:40;-1:-1:-1;;18095:23:15;;;18140:25;;;;;-1:-1:-1;17840:331:15:o;18176:323::-;-1:-1:-1;;;;;;18296:19:15;;18372:11;;;;18403:1;18395:10;;18392:101;;;18480:2;18474;18467:3;18464:1;18460:11;18457:1;18453:19;18449:28;18445:2;18441:37;18437:46;18428:55;;18392:101;;;18176:323;;;;:::o;18906:168::-;18979:9;;;19010;;19027:15;;;19021:22;;19007:37;18997:71;;19048:18;;:::i;19079:136::-;19118:3;19146:5;19136:39;;19155:18;;:::i;:::-;-1:-1:-1;;;19191:18:15;;19079:136::o;19581:128::-;19648:9;;;19669:11;;;19666:37;;;19683:18;;:::i;19714:127::-;19775:10;19770:3;19766:20;19763:1;19756:31;19806:4;19803:1;19796:15;19830:4;19827:1;19820:15
Swarm Source
ipfs://64a83f60721959359d1c432c52a08f81bea2667aebccbbc732918f7169a85df5
Loading...
Loading
Loading...
Loading
Net Worth in USD
$18,603,381.58
Net Worth in ETH
8,912.865271
Token Allocations
LINK
100.00%
AVI
0.00%
STLINK
0.00%
Others
0.00%
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $9.14 | 2,035,363.5578 | $18,603,222.92 | |
| ETH | <0.01% | $0.000207 | 696,969.697 | $144.27 | |
| ETH | <0.01% | $9.61 | 0.7978 | $7.67 | |
| ETH | <0.01% | $0.00785 | 140.4358 | $1.1 | |
| ETH | <0.01% | $0.000035 | 28,877.777 | $1.01 | |
| ETH | <0.01% | $2,087.25 | 0.0003226 | $0.673348 | |
| ETH | <0.01% | $0.027828 | 7.77 | $0.2162 | |
| BASE | <0.01% | $0.019895 | 160 | $3.18 | |
| BASE | <0.01% | $2,086.82 | 0.00015315 | $0.319591 | |
| BASE | <0.01% | $0.289154 | 0.777 | $0.2246 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.