Source Code
Latest 5 from a total of 5 transactions
Latest 16 internal transactions
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 30618947 | 179 days ago | 0.00090863 ETH | ||||
| 30618947 | 179 days ago | 0.00200406 ETH | ||||
| 30618947 | 179 days ago | 0.05 ETH | ||||
| 30613245 | 179 days ago | 0.00200406 ETH | ||||
| 30611105 | 179 days ago | 0.00200406 ETH | ||||
| 30611105 | 179 days ago | 0.003 ETH | ||||
| 30610990 | 179 days ago | 0.00200406 ETH | ||||
| 29393490 | 207 days ago | 0.00017163 ETH | ||||
| 29393490 | 207 days ago | 0.00068254 ETH | ||||
| 28462372 | 229 days ago | 0.00993507 ETH | ||||
| 28462372 | 229 days ago | 0.01 ETH | ||||
| 27599089 | 249 days ago | 0.00001706 ETH | ||||
| 27599089 | 249 days ago | 0.00005211 ETH | ||||
| 27599089 | 249 days ago | 0.00005211 ETH | ||||
| 26635802 | 271 days ago | 1 ETH | ||||
| 26331024 | 278 days ago | 1 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
SummerTimelockController
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
Yes with 50 runs
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.28;
import {TimelockController} from "@openzeppelin/contracts/governance/TimelockController.sol";
import {IProtocolAccessManager} from "@summerfi/access-contracts/interfaces/IProtocolAccessManager.sol";
contract SummerTimelockController is TimelockController {
IProtocolAccessManager public immutable accessManager;
// Add mapping to track guardian expiry operations
mapping(bytes32 => bool) private _guardianExpiryOperations;
constructor(
uint256 minDelay,
address[] memory proposers,
address[] memory executors,
address admin,
address _accessManager
) TimelockController(minDelay, proposers, executors, admin) {
accessManager = IProtocolAccessManager(_accessManager);
}
/**
* @dev Override of the TimelockController's cancel function to support guardian-based cancellation
* with special handling for guardian expiry proposals.
*
* Cancellation rules:
* 1. Guardian expiry proposals can ONLY be cancelled by governors
* 2. Governors with cancel role can cancel any other proposal
* 3. Active guardians with cancel role can cancel any non-expiry proposal
*
* @param id The identifier of the operation to cancel
*/
function cancel(bytes32 id) public virtual override {
if (_isGuardianExpiryProposal(id)) {
require(
accessManager.hasRole(
accessManager.GOVERNOR_ROLE(),
msg.sender
),
"Only governors can cancel guardian expiry proposals"
);
super.cancel(id);
return;
}
if (_isGovernorWithCancelRole(msg.sender)) {
super.cancel(id);
return;
}
if (!_isActiveGuardianWithCancelRole(msg.sender)) {
revert TimelockUnauthorizedCaller(msg.sender);
}
super.cancel(id);
}
/**
* @dev Checks if the provided operation data corresponds to a guardian expiry proposal.
*
* Guardian expiry proposals are special operations that set the expiration time for guardians.
* These proposals have additional restrictions on who can cancel them to prevent guardians
* from blocking their own expiry mechanisms.
*
* @return bool True if the operation is a guardian expiry proposal
*/
function _isGuardianExpiryProposal(
bytes32 id
) internal view returns (bool) {
return _guardianExpiryOperations[id];
}
/**
* @dev Checks if an account is a governor with cancellation privileges.
*
* To have governor cancellation rights, an account must:
* 1. Have the CANCELLER_ROLE in this contract
* 2. Have the GOVERNOR_ROLE in the access manager
*
* Governors with cancel rights can cancel any proposal except guardian expiry proposals,
* which have special handling.
*
* @param account The address to check
* @return bool True if the account is a governor with cancel rights
*/
function _isGovernorWithCancelRole(
address account
) internal view returns (bool) {
return
hasRole(CANCELLER_ROLE, account) &&
accessManager.hasRole(accessManager.GOVERNOR_ROLE(), account);
}
/**
* @dev Checks if an account is an active guardian with cancellation privileges.
*
* To have guardian cancellation rights, an account must:
* 1. Have the CANCELLER_ROLE in this contract
* 2. Be an active guardian in the access manager
*
* Active guardians with cancel rights can cancel any proposal EXCEPT guardian
* expiry proposals, which can only be cancelled by governors.
*
* @param account The address to check
* @return bool True if the account is an active guardian with cancel rights
*/
function _isActiveGuardianWithCancelRole(
address account
) internal view returns (bool) {
return
hasRole(CANCELLER_ROLE, account) &&
accessManager.isActiveGuardian(account);
}
// Override schedule to track guardian expiry operations
function schedule(
address target,
uint256 value,
bytes calldata data,
bytes32 predecessor,
bytes32 salt,
uint256 delay
) public virtual override onlyRole(PROPOSER_ROLE) {
bytes32 id = hashOperation(target, value, data, predecessor, salt);
// Check if this is a guardian expiry operation before scheduling
if (
bytes4(data) ==
IProtocolAccessManager.setGuardianExpiration.selector
) {
_guardianExpiryOperations[id] = true;
}
super.schedule(target, value, data, predecessor, salt, delay);
}
// Override scheduleBatch to track guardian expiry operations
function scheduleBatch(
address[] calldata targets,
uint256[] calldata values,
bytes[] calldata payloads,
bytes32 predecessor,
bytes32 salt,
uint256 delay
) public virtual override onlyRole(PROPOSER_ROLE) {
bytes32 id = hashOperationBatch(
targets,
values,
payloads,
predecessor,
salt
);
for (uint256 i = 0; i < payloads.length; i++) {
if (
bytes4(payloads[i]) ==
IProtocolAccessManager.setGuardianExpiration.selector
) {
_guardianExpiryOperations[id] = true;
}
}
super.scheduleBatch(
targets,
values,
payloads,
predecessor,
salt,
delay
);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)
pragma solidity ^0.8.20;
import {IAccessControl} from "./IAccessControl.sol";
import {Context} from "../utils/Context.sol";
import {ERC165} from "../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 account => bool) hasRole;
bytes32 adminRole;
}
mapping(bytes32 role => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with an {AccessControlUnauthorizedAccount} error including the required role.
*/
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 returns (bool) {
return _roles[role].hasRole[account];
}
/**
* @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`
* is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.
*/
function _checkRole(bytes32 role) internal view virtual {
_checkRole(role, _msgSender());
}
/**
* @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`
* is missing `role`.
*/
function _checkRole(bytes32 role, address account) internal view virtual {
if (!hasRole(role, account)) {
revert AccessControlUnauthorizedAccount(account, role);
}
}
/**
* @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 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 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 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 `callerConfirmation`.
*
* May emit a {RoleRevoked} event.
*/
function renounceRole(bytes32 role, address callerConfirmation) public virtual {
if (callerConfirmation != _msgSender()) {
revert AccessControlBadConfirmation();
}
_revokeRole(role, callerConfirmation);
}
/**
* @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 Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.
*
* Internal function without access restriction.
*
* May emit a {RoleGranted} event.
*/
function _grantRole(bytes32 role, address account) internal virtual returns (bool) {
if (!hasRole(role, account)) {
_roles[role].hasRole[account] = true;
emit RoleGranted(role, account, _msgSender());
return true;
} else {
return false;
}
}
/**
* @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.
*
* Internal function without access restriction.
*
* May emit a {RoleRevoked} event.
*/
function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {
if (hasRole(role, account)) {
_roles[role].hasRole[account] = false;
emit RoleRevoked(role, account, _msgSender());
return true;
} else {
return false;
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol)
pragma solidity ^0.8.20;
/**
* @dev External interface of AccessControl declared to support ERC-165 detection.
*/
interface IAccessControl {
/**
* @dev The `account` is missing a role.
*/
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);
/**
* @dev The caller of a function is not the expected one.
*
* NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.
*/
error AccessControlBadConfirmation();
/**
* @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.
*/
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. This account bears the admin role (for the granted role).
* Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.
*/
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 `callerConfirmation`.
*/
function renounceRole(bytes32 role, address callerConfirmation) external;
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (governance/TimelockController.sol)
pragma solidity ^0.8.20;
import {AccessControl} from "../access/AccessControl.sol";
import {ERC721Holder} from "../token/ERC721/utils/ERC721Holder.sol";
import {ERC1155Holder} from "../token/ERC1155/utils/ERC1155Holder.sol";
import {Address} from "../utils/Address.sol";
/**
* @dev Contract module which acts as a timelocked controller. When set as the
* owner of an `Ownable` smart contract, it enforces a timelock on all
* `onlyOwner` maintenance operations. This gives time for users of the
* controlled contract to exit before a potentially dangerous maintenance
* operation is applied.
*
* By default, this contract is self administered, meaning administration tasks
* have to go through the timelock process. The proposer (resp executor) role
* is in charge of proposing (resp executing) operations. A common use case is
* to position this {TimelockController} as the owner of a smart contract, with
* a multisig or a DAO as the sole proposer.
*/
contract TimelockController is AccessControl, ERC721Holder, ERC1155Holder {
bytes32 public constant PROPOSER_ROLE = keccak256("PROPOSER_ROLE");
bytes32 public constant EXECUTOR_ROLE = keccak256("EXECUTOR_ROLE");
bytes32 public constant CANCELLER_ROLE = keccak256("CANCELLER_ROLE");
uint256 internal constant _DONE_TIMESTAMP = uint256(1);
mapping(bytes32 id => uint256) private _timestamps;
uint256 private _minDelay;
enum OperationState {
Unset,
Waiting,
Ready,
Done
}
/**
* @dev Mismatch between the parameters length for an operation call.
*/
error TimelockInvalidOperationLength(uint256 targets, uint256 payloads, uint256 values);
/**
* @dev The schedule operation doesn't meet the minimum delay.
*/
error TimelockInsufficientDelay(uint256 delay, uint256 minDelay);
/**
* @dev The current state of an operation is not as required.
* The `expectedStates` is a bitmap with the bits enabled for each OperationState enum position
* counting from right to left.
*
* See {_encodeStateBitmap}.
*/
error TimelockUnexpectedOperationState(bytes32 operationId, bytes32 expectedStates);
/**
* @dev The predecessor to an operation not yet done.
*/
error TimelockUnexecutedPredecessor(bytes32 predecessorId);
/**
* @dev The caller account is not authorized.
*/
error TimelockUnauthorizedCaller(address caller);
/**
* @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,
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 new proposal is scheduled with non-zero salt.
*/
event CallSalt(bytes32 indexed id, bytes32 salt);
/**
* @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 Initializes the contract with the following parameters:
*
* - `minDelay`: initial minimum delay in seconds for operations
* - `proposers`: accounts to be granted proposer and canceller roles
* - `executors`: accounts to be granted executor role
* - `admin`: optional account to be granted admin role; disable with zero address
*
* IMPORTANT: The optional admin can aid with initial configuration of roles after deployment
* without being subject to delay, but this role should be subsequently renounced in favor of
* administration through timelocked proposals. Previous versions of this contract would assign
* this admin to the deployer automatically and should be renounced as well.
*/
constructor(uint256 minDelay, address[] memory proposers, address[] memory executors, address admin) {
// self administration
_grantRole(DEFAULT_ADMIN_ROLE, address(this));
// optional admin
if (admin != address(0)) {
_grantRole(DEFAULT_ADMIN_ROLE, admin);
}
// register proposers and cancellers
for (uint256 i = 0; i < proposers.length; ++i) {
_grantRole(PROPOSER_ROLE, proposers[i]);
_grantRole(CANCELLER_ROLE, proposers[i]);
}
// register executors
for (uint256 i = 0; i < executors.length; ++i) {
_grantRole(EXECUTOR_ROLE, executors[i]);
}
_minDelay = minDelay;
emit MinDelayChange(0, minDelay);
}
/**
* @dev Modifier to make a function callable only by a certain role. In
* addition to checking the sender's role, `address(0)` 's role is also
* considered. Granting a role to `address(0)` is equivalent to enabling
* this role for everyone.
*/
modifier onlyRoleOrOpenRole(bytes32 role) {
if (!hasRole(role, address(0))) {
_checkRole(role, _msgSender());
}
_;
}
/**
* @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(AccessControl, ERC1155Holder) returns (bool) {
return super.supportsInterface(interfaceId);
}
/**
* @dev Returns whether an id corresponds to a registered operation. This
* includes both Waiting, Ready, and Done operations.
*/
function isOperation(bytes32 id) public view returns (bool) {
return getOperationState(id) != OperationState.Unset;
}
/**
* @dev Returns whether an operation is pending or not. Note that a "pending" operation may also be "ready".
*/
function isOperationPending(bytes32 id) public view returns (bool) {
OperationState state = getOperationState(id);
return state == OperationState.Waiting || state == OperationState.Ready;
}
/**
* @dev Returns whether an operation is ready for execution. Note that a "ready" operation is also "pending".
*/
function isOperationReady(bytes32 id) public view returns (bool) {
return getOperationState(id) == OperationState.Ready;
}
/**
* @dev Returns whether an operation is done or not.
*/
function isOperationDone(bytes32 id) public view returns (bool) {
return getOperationState(id) == OperationState.Done;
}
/**
* @dev Returns the timestamp at which an operation becomes ready (0 for
* unset operations, 1 for done operations).
*/
function getTimestamp(bytes32 id) public view virtual returns (uint256) {
return _timestamps[id];
}
/**
* @dev Returns operation state.
*/
function getOperationState(bytes32 id) public view virtual returns (OperationState) {
uint256 timestamp = getTimestamp(id);
if (timestamp == 0) {
return OperationState.Unset;
} else if (timestamp == _DONE_TIMESTAMP) {
return OperationState.Done;
} else if (timestamp > block.timestamp) {
return OperationState.Waiting;
} else {
return OperationState.Ready;
}
}
/**
* @dev Returns the minimum delay in seconds 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) {
return _minDelay;
}
/**
* @dev Returns the identifier of an operation containing a single
* transaction.
*/
function hashOperation(
address target,
uint256 value,
bytes calldata data,
bytes32 predecessor,
bytes32 salt
) public pure virtual returns (bytes32) {
return keccak256(abi.encode(target, value, data, predecessor, salt));
}
/**
* @dev Returns the identifier of an operation containing a batch of
* transactions.
*/
function hashOperationBatch(
address[] calldata targets,
uint256[] calldata values,
bytes[] calldata payloads,
bytes32 predecessor,
bytes32 salt
) public pure virtual returns (bytes32) {
return keccak256(abi.encode(targets, values, payloads, predecessor, salt));
}
/**
* @dev Schedule an operation containing a single transaction.
*
* Emits {CallSalt} if salt is nonzero, and {CallScheduled}.
*
* Requirements:
*
* - the caller must have the 'proposer' role.
*/
function schedule(
address target,
uint256 value,
bytes calldata data,
bytes32 predecessor,
bytes32 salt,
uint256 delay
) public virtual onlyRole(PROPOSER_ROLE) {
bytes32 id = hashOperation(target, value, data, predecessor, salt);
_schedule(id, delay);
emit CallScheduled(id, 0, target, value, data, predecessor, delay);
if (salt != bytes32(0)) {
emit CallSalt(id, salt);
}
}
/**
* @dev Schedule an operation containing a batch of transactions.
*
* Emits {CallSalt} if salt is nonzero, and one {CallScheduled} event per transaction in the batch.
*
* Requirements:
*
* - the caller must have the 'proposer' role.
*/
function scheduleBatch(
address[] calldata targets,
uint256[] calldata values,
bytes[] calldata payloads,
bytes32 predecessor,
bytes32 salt,
uint256 delay
) public virtual onlyRole(PROPOSER_ROLE) {
if (targets.length != values.length || targets.length != payloads.length) {
revert TimelockInvalidOperationLength(targets.length, payloads.length, values.length);
}
bytes32 id = hashOperationBatch(targets, values, payloads, predecessor, salt);
_schedule(id, delay);
for (uint256 i = 0; i < targets.length; ++i) {
emit CallScheduled(id, i, targets[i], values[i], payloads[i], predecessor, delay);
}
if (salt != bytes32(0)) {
emit CallSalt(id, salt);
}
}
/**
* @dev Schedule an operation that is to become valid after a given delay.
*/
function _schedule(bytes32 id, uint256 delay) private {
if (isOperation(id)) {
revert TimelockUnexpectedOperationState(id, _encodeStateBitmap(OperationState.Unset));
}
uint256 minDelay = getMinDelay();
if (delay < minDelay) {
revert TimelockInsufficientDelay(delay, minDelay);
}
_timestamps[id] = block.timestamp + delay;
}
/**
* @dev Cancel an operation.
*
* Requirements:
*
* - the caller must have the 'canceller' role.
*/
function cancel(bytes32 id) public virtual onlyRole(CANCELLER_ROLE) {
if (!isOperationPending(id)) {
revert TimelockUnexpectedOperationState(
id,
_encodeStateBitmap(OperationState.Waiting) | _encodeStateBitmap(OperationState.Ready)
);
}
delete _timestamps[id];
emit Cancelled(id);
}
/**
* @dev Execute an (ready) operation containing a single transaction.
*
* Emits a {CallExecuted} event.
*
* Requirements:
*
* - the caller must have the 'executor' role.
*/
// This function can reenter, but it doesn't pose a risk because _afterCall checks that the proposal is pending,
// thus any modifications to the operation during reentrancy should be caught.
// slither-disable-next-line reentrancy-eth
function execute(
address target,
uint256 value,
bytes calldata payload,
bytes32 predecessor,
bytes32 salt
) public payable virtual onlyRoleOrOpenRole(EXECUTOR_ROLE) {
bytes32 id = hashOperation(target, value, payload, predecessor, salt);
_beforeCall(id, predecessor);
_execute(target, value, payload);
emit CallExecuted(id, 0, target, value, payload);
_afterCall(id);
}
/**
* @dev Execute an (ready) operation containing a batch of transactions.
*
* Emits one {CallExecuted} event per transaction in the batch.
*
* Requirements:
*
* - the caller must have the 'executor' role.
*/
// This function can reenter, but it doesn't pose a risk because _afterCall checks that the proposal is pending,
// thus any modifications to the operation during reentrancy should be caught.
// slither-disable-next-line reentrancy-eth
function executeBatch(
address[] calldata targets,
uint256[] calldata values,
bytes[] calldata payloads,
bytes32 predecessor,
bytes32 salt
) public payable virtual onlyRoleOrOpenRole(EXECUTOR_ROLE) {
if (targets.length != values.length || targets.length != payloads.length) {
revert TimelockInvalidOperationLength(targets.length, payloads.length, values.length);
}
bytes32 id = hashOperationBatch(targets, values, payloads, predecessor, salt);
_beforeCall(id, predecessor);
for (uint256 i = 0; i < targets.length; ++i) {
address target = targets[i];
uint256 value = values[i];
bytes calldata payload = payloads[i];
_execute(target, value, payload);
emit CallExecuted(id, i, target, value, payload);
}
_afterCall(id);
}
/**
* @dev Execute an operation's call.
*/
function _execute(address target, uint256 value, bytes calldata data) internal virtual {
(bool success, bytes memory returndata) = target.call{value: value}(data);
Address.verifyCallResult(success, returndata);
}
/**
* @dev Checks before execution of an operation's calls.
*/
function _beforeCall(bytes32 id, bytes32 predecessor) private view {
if (!isOperationReady(id)) {
revert TimelockUnexpectedOperationState(id, _encodeStateBitmap(OperationState.Ready));
}
if (predecessor != bytes32(0) && !isOperationDone(predecessor)) {
revert TimelockUnexecutedPredecessor(predecessor);
}
}
/**
* @dev Checks after execution of an operation's calls.
*/
function _afterCall(bytes32 id) private {
if (!isOperationReady(id)) {
revert TimelockUnexpectedOperationState(id, _encodeStateBitmap(OperationState.Ready));
}
_timestamps[id] = _DONE_TIMESTAMP;
}
/**
* @dev Changes the minimum timelock duration for future operations.
*
* Emits a {MinDelayChange} event.
*
* Requirements:
*
* - the caller must be the timelock itself. This can only be achieved by scheduling and later executing
* an operation where the timelock is the target and the data is the ABI-encoded call to this function.
*/
function updateDelay(uint256 newDelay) external virtual {
address sender = _msgSender();
if (sender != address(this)) {
revert TimelockUnauthorizedCaller(sender);
}
emit MinDelayChange(_minDelay, newDelay);
_minDelay = newDelay;
}
/**
* @dev Encodes a `OperationState` into a `bytes32` representation where each bit enabled corresponds to
* the underlying position in the `OperationState` enum. For example:
*
* 0x000...1000
* ^^^^^^----- ...
* ^---- Done
* ^--- Ready
* ^-- Waiting
* ^- Unset
*/
function _encodeStateBitmap(OperationState operationState) internal pure returns (bytes32) {
return bytes32(1 << uint8(operationState));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/IERC1155Receiver.sol)
pragma solidity ^0.8.20;
import {IERC165} from "../../utils/introspection/IERC165.sol";
/**
* @dev Interface that must be implemented by smart contracts in order to receive
* ERC-1155 token transfers.
*/
interface IERC1155Receiver is IERC165 {
/**
* @dev Handles the receipt of a single ERC-1155 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 ERC-1155 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 v5.0.0) (token/ERC1155/utils/ERC1155Holder.sol)
pragma solidity ^0.8.20;
import {IERC165, ERC165} from "../../../utils/introspection/ERC165.sol";
import {IERC1155Receiver} from "../IERC1155Receiver.sol";
/**
* @dev Simple implementation of `IERC1155Receiver` that will allow a contract to hold ERC-1155 tokens.
*
* IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be
* stuck.
*/
abstract contract ERC1155Holder is ERC165, IERC1155Receiver {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);
}
function onERC1155Received(
address,
address,
uint256,
uint256,
bytes memory
) public virtual override returns (bytes4) {
return this.onERC1155Received.selector;
}
function onERC1155BatchReceived(
address,
address,
uint256[] memory,
uint256[] memory,
bytes memory
) public virtual override returns (bytes4) {
return this.onERC1155BatchReceived.selector;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.20;
/**
* @title ERC-721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC-721 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 v5.0.0) (token/ERC721/utils/ERC721Holder.sol)
pragma solidity ^0.8.20;
import {IERC721Receiver} from "../IERC721Receiver.sol";
/**
* @dev Implementation of the {IERC721Receiver} interface.
*
* Accepts all token transfers.
* Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or
* {IERC721-setApprovalForAll}.
*/
abstract contract ERC721Holder is IERC721Receiver {
/**
* @dev See {IERC721Receiver-onERC721Received}.
*
* Always returns `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(address, address, uint256, bytes memory) public virtual returns (bytes4) {
return this.onERC721Received.selector;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)
pragma solidity ^0.8.20;
import {Errors} from "./Errors.sol";
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev There's no code at `target` (it is not a contract).
*/
error AddressEmptyCode(address target);
/**
* @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.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
if (address(this).balance < amount) {
revert Errors.InsufficientBalance(address(this).balance, amount);
}
(bool success, ) = recipient.call{value: amount}("");
if (!success) {
revert Errors.FailedCall();
}
}
/**
* @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 or custom error, it is bubbled
* up by this function (like regular Solidity function calls). However, if
* the call reverted with no returned reason, this function reverts with a
* {Errors.FailedCall} error.
*
* 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.
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0);
}
/**
* @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`.
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
if (address(this).balance < value) {
revert Errors.InsufficientBalance(address(this).balance, value);
}
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
* was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case
* of an unsuccessful call.
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata
) internal view returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
// only check if target is a contract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
if (returndata.length == 0 && target.code.length == 0) {
revert AddressEmptyCode(target);
}
return returndata;
}
}
/**
* @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
* revert reason or with a default {Errors.FailedCall} error.
*/
function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
if (!success) {
_revert(returndata);
} else {
return returndata;
}
}
/**
* @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}.
*/
function _revert(bytes memory returndata) 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
assembly ("memory-safe") {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert Errors.FailedCall();
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
/**
* @dev Collection of common custom errors used in multiple contracts
*
* IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.
* It is recommended to avoid relying on the error API for critical functionality.
*
* _Available since v5.1._
*/
library Errors {
/**
* @dev The ETH balance of the account is not enough to perform the operation.
*/
error InsufficientBalance(uint256 balance, uint256 needed);
/**
* @dev A call to an address target failed. The target may have reverted.
*/
error FailedCall();
/**
* @dev The deployment failed.
*/
error FailedDeployment();
/**
* @dev A necessary precompile is missing.
*/
error MissingPrecompile(address);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)
pragma solidity ^0.8.20;
import {IERC165} from "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC-165 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);
* }
* ```
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC-165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[ERC].
*
* 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[ERC 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: BUSL-1.1
pragma solidity 0.8.28;
import {AccessControl} from "@openzeppelin/contracts/access/AccessControl.sol";
/**
* @dev Dynamic roles are roles that are not hardcoded in the contract but are defined by the protocol
* Members of this enum are treated as prefixes to the role generated using prefix and target contract address
* e.g generateRole(ContractSpecificRoles.CURATOR_ROLE, address(this)) for FleetCommander, to generate the CURATOR_ROLE
* for the curator of the FleetCommander contract
*/
enum ContractSpecificRoles {
CURATOR_ROLE,
KEEPER_ROLE,
COMMANDER_ROLE
}
/**
* @title IProtocolAccessManager
* @notice Defines system roles and provides role based remote-access control for
* contracts that inherit from ProtocolAccessManaged contract
*/
interface IProtocolAccessManager {
/**
* @notice Grants the Governor role to a given account
*
* @param account The account to which the Governor role will be granted
*/
function grantGovernorRole(address account) external;
/**
* @notice Revokes the Governor role from a given account
*
* @param account The account from which the Governor role will be revoked
*/
function revokeGovernorRole(address account) external;
/**
* @notice Grants the Super Keeper role to a given account
*
* @param account The account to which the Super Keeper role will be granted
*/
function grantSuperKeeperRole(address account) external;
/**
* @notice Revokes the Super Keeper role from a given account
*
* @param account The account from which the Super Keeper role will be revoked
*/
function revokeSuperKeeperRole(address account) external;
/**
* @dev Generates a unique role identifier based on the role name and target contract address
* @param roleName The name of the role (from ContractSpecificRoles enum)
* @param roleTargetContract The address of the contract the role is for
* @return bytes32 The generated role identifier
* @custom:internal-logic
* - Combines the roleName and roleTargetContract using abi.encodePacked
* - Applies keccak256 hash function to generate a unique bytes32 identifier
* @custom:effects
* - Does not modify any state, pure function
* @custom:security-considerations
* - Ensures unique role identifiers for different contracts
* - Relies on the uniqueness of contract addresses and role names
*/
function generateRole(
ContractSpecificRoles roleName,
address roleTargetContract
) external pure returns (bytes32);
/**
* @notice Grants a contract specific role to a given account
* @param roleName The name of the role to grant
* @param roleTargetContract The address of the contract to grant the role for
* @param account The account to which the role will be granted
*/
function grantContractSpecificRole(
ContractSpecificRoles roleName,
address roleTargetContract,
address account
) external;
/**
* @notice Revokes a contract specific role from a given account
* @param roleName The name of the role to revoke
* @param roleTargetContract The address of the contract to revoke the role for
* @param account The account from which the role will be revoked
*/
function revokeContractSpecificRole(
ContractSpecificRoles roleName,
address roleTargetContract,
address account
) external;
/**
* @notice Grants the Curator role to a given account
* @param fleetCommanderAddress The address of the fleet commander to grant the role for
* @param account The account to which the role will be granted
*/
function grantCuratorRole(
address fleetCommanderAddress,
address account
) external;
/**
* @notice Revokes the Curator role from a given account
* @param fleetCommanderAddress The address of the fleet commander to revoke the role for
* @param account The account from which the role will be revoked
*/
function revokeCuratorRole(
address fleetCommanderAddress,
address account
) external;
/**
* @notice Grants the Keeper role to a given account
* @param fleetCommanderAddress The address of the fleet commander to grant the role for
* @param account The account to which the role will be granted
*/
function grantKeeperRole(
address fleetCommanderAddress,
address account
) external;
/**
* @notice Revokes the Keeper role from a given account
* @param fleetCommanderAddress The address of the fleet commander to revoke the role for
* @param account The account from which the role will be revoked
*/
function revokeKeeperRole(
address fleetCommanderAddress,
address account
) external;
/**
* @notice Grants the Commander role for a specific Ark
* @param arkAddress Address of the Ark contract
* @param account Address to grant the Commander role to
*/
function grantCommanderRole(address arkAddress, address account) external;
/**
* @notice Revokes the Commander role for a specific Ark
* @param arkAddress Address of the Ark contract
* @param account Address to revoke the Commander role from
*/
function revokeCommanderRole(address arkAddress, address account) external;
/**
* @notice Revokes a contract specific role from the caller
* @param roleName The name of the role to revoke
* @param roleTargetContract The address of the contract to revoke the role for
*/
function selfRevokeContractSpecificRole(
ContractSpecificRoles roleName,
address roleTargetContract
) external;
/**
* @notice Grants the Guardian role to a given account
*
* @param account The account to which the Guardian role will be granted
*/
function grantGuardianRole(address account) external;
/**
* @notice Revokes the Guardian role from a given account
*
* @param account The account from which the Guardian role will be revoked
*/
function revokeGuardianRole(address account) external;
/**
* @notice Grants the Decay Controller role to a given account
* @param account The account to which the Decay Controller role will be granted
*/
function grantDecayControllerRole(address account) external;
/**
* @notice Revokes the Decay Controller role from a given account
* @param account The account from which the Decay Controller role will be revoked
*/
function revokeDecayControllerRole(address account) external;
/**
* @notice Grants the ADMIRALS_QUARTERS_ROLE to an address
* @param account The address to grant the role to
*/
function grantAdmiralsQuartersRole(address account) external;
/**
* @notice Revokes the ADMIRALS_QUARTERS_ROLE from an address
* @param account The address to revoke the role from
*/
function revokeAdmiralsQuartersRole(address account) external;
/*//////////////////////////////////////////////////////////////
ROLE CONSTANTS
//////////////////////////////////////////////////////////////*/
/// @notice Role identifier for the Governor role
function GOVERNOR_ROLE() external pure returns (bytes32);
/// @notice Role identifier for the Guardian role
function GUARDIAN_ROLE() external pure returns (bytes32);
/// @notice Role identifier for the Super Keeper role
function SUPER_KEEPER_ROLE() external pure returns (bytes32);
/// @notice Role identifier for the Decay Controller role
function DECAY_CONTROLLER_ROLE() external pure returns (bytes32);
/// @notice Role identifier for the Admirals Quarters role
function ADMIRALS_QUARTERS_ROLE() external pure returns (bytes32);
/// @notice Role identifier for the Foundation, responsible for managing vesting wallets and related operations
function FOUNDATION_ROLE() external pure returns (bytes32);
/**
* @notice Checks if an account has a specific role
* @param role The role identifier to check
* @param account The account to check the role for
* @return bool True if the account has the role, false otherwise
*/
function hasRole(
bytes32 role,
address account
) external view returns (bool);
/*//////////////////////////////////////////////////////////////
EVENTS
//////////////////////////////////////////////////////////////*/
/**
* @notice Emitted when a guardian's expiration is set
* @param account The address of the guardian
* @param expiration The timestamp until which the guardian powers are valid
*/
event GuardianExpirationSet(address indexed account, uint256 expiration);
/*//////////////////////////////////////////////////////////////
GUARDIAN FUNCTIONS
//////////////////////////////////////////////////////////////*/
/**
* @notice Checks if an account is an active guardian (has role and not expired)
* @param account Address to check
* @return bool True if account is an active guardian
*/
function isActiveGuardian(address account) external view returns (bool);
/**
* @notice Sets the expiration timestamp for a guardian
* @param account Guardian address
* @param expiration Timestamp when guardian powers expire
*/
function setGuardianExpiration(
address account,
uint256 expiration
) external;
/**
* @notice Gets the expiration timestamp for a guardian
* @param account Guardian address
* @return uint256 Timestamp when guardian powers expire
*/
function guardianExpirations(
address account
) external view returns (uint256);
/**
* @notice Gets the expiration timestamp for a guardian
* @param account Guardian address
* @return expiration Timestamp when guardian powers expire
*/
function getGuardianExpiration(
address account
) external view returns (uint256 expiration);
/**
* @notice Emitted when an invalid guardian expiry period is set
* @param expiryPeriod The expiry period that was set
* @param minExpiryPeriod The minimum allowed expiry period
* @param maxExpiryPeriod The maximum allowed expiry period
*/
error InvalidGuardianExpiryPeriod(
uint256 expiryPeriod,
uint256 minExpiryPeriod,
uint256 maxExpiryPeriod
);
/**
* @notice Grants the Foundation role to a given account. The Foundation is responsible for
* managing vesting wallets and related operations.
* @param account The account to which the Foundation role will be granted
*/
function grantFoundationRole(address account) external;
/**
* @notice Revokes the Foundation role from a given account
* @param account The account from which the Foundation role will be revoked
*/
function revokeFoundationRole(address account) external;
}{
"optimizer": {
"enabled": true,
"runs": 50
},
"evmVersion": "cancun",
"viaIR": true,
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"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":"proposers","type":"address[]"},{"internalType":"address[]","name":"executors","type":"address[]"},{"internalType":"address","name":"admin","type":"address"},{"internalType":"address","name":"_accessManager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[{"internalType":"uint256","name":"delay","type":"uint256"},{"internalType":"uint256","name":"minDelay","type":"uint256"}],"name":"TimelockInsufficientDelay","type":"error"},{"inputs":[{"internalType":"uint256","name":"targets","type":"uint256"},{"internalType":"uint256","name":"payloads","type":"uint256"},{"internalType":"uint256","name":"values","type":"uint256"}],"name":"TimelockInvalidOperationLength","type":"error"},{"inputs":[{"internalType":"address","name":"caller","type":"address"}],"name":"TimelockUnauthorizedCaller","type":"error"},{"inputs":[{"internalType":"bytes32","name":"predecessorId","type":"bytes32"}],"name":"TimelockUnexecutedPredecessor","type":"error"},{"inputs":[{"internalType":"bytes32","name":"operationId","type":"bytes32"},{"internalType":"bytes32","name":"expectedStates","type":"bytes32"}],"name":"TimelockUnexpectedOperationState","type":"error"},{"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":false,"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"CallSalt","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":"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":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":"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":[],"name":"accessManager","outputs":[{"internalType":"contract IProtocolAccessManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"cancel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"payload","type":"bytes"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"execute","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes[]","name":"payloads","type":"bytes[]"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"executeBatch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getMinDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"getOperationState","outputs":[{"internalType":"enum TimelockController.OperationState","name":"","type":"uint8"}],"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":"id","type":"bytes32"}],"name":"getTimestamp","outputs":[{"internalType":"uint256","name":"","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":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"hashOperation","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes[]","name":"payloads","type":"bytes[]"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"hashOperationBatch","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperation","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperationDone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperationPending","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"}],"name":"isOperationReady","outputs":[{"internalType":"bool","name":"","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":"callerConfirmation","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":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes32","name":"predecessor","type":"bytes32"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256","name":"delay","type":"uint256"}],"name":"schedule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes[]","name":"payloads","type":"bytes[]"},{"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":"uint256","name":"newDelay","type":"uint256"}],"name":"updateDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
60a06040523461019b57611f53803803806100198161019f565b92833981019060a08183031261019b57805160208201516001600160401b03811161019b578361004a9184016101ec565b604083015190936001600160401b03821161019b5761006a9184016101ec565b90610083608061007c606086016101d8565b94016101d8565b9261008d3061027e565b506001600160a01b03811661018b575b505f5b84518110156100ea576001906100c86001600160a01b036100c18389610256565b51166102f4565b506100e3828060a01b036100dc8389610256565b5116610387565b50016100a0565b50825f5b835181101561011d576001906101166001600160a01b0361010f8388610256565b511661041a565b50016100ee565b507f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d5604083806002558151905f82526020820152a16001600160a01b0316608052604051611a0590816104ae823960805181818161017201528181611261015281816112f201526113d50152f35b6101949061027e565b505f61009d565b5f80fd5b6040519190601f01601f191682016001600160401b038111838210176101c457604052565b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b038216820361019b57565b9080601f8301121561019b578151916001600160401b0383116101c4578260051b9060208061021c81850161019f565b80968152019282010192831161019b57602001905b82821061023e5750505090565b6020809161024b846101d8565b815201910190610231565b805182101561026a5760209160051b010190565b634e487b7160e01b5f52603260045260245ffd5b6001600160a01b0381165f9081525f516020611f335f395f51905f52602052604090205460ff166102ef576001600160a01b03165f8181525f516020611f335f395f51905f5260205260408120805460ff191660011790553391905f516020611eb35f395f51905f528180a4600190565b505f90565b6001600160a01b0381165f9081525f516020611ed35f395f51905f52602052604090205460ff166102ef576001600160a01b03165f8181525f516020611ed35f395f51905f5260205260408120805460ff191660011790553391907fb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1905f516020611eb35f395f51905f529080a4600190565b6001600160a01b0381165f9081525f516020611f135f395f51905f52602052604090205460ff166102ef576001600160a01b03165f8181525f516020611f135f395f51905f5260205260408120805460ff191660011790553391907ffd643c72710c63c0180259aba6b2d05451e3591a24e58b62239378085726f783905f516020611eb35f395f51905f529080a4600190565b6001600160a01b0381165f9081525f516020611ef35f395f51905f52602052604090205460ff166102ef576001600160a01b03165f8181525f516020611ef35f395f51905f5260205260408120805460ff191660011790553391907fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63905f516020611eb35f395f51905f529080a460019056fe6080604052600436101561001a575b3615610018575f80fd5b005b5f3560e01c806301d5062a14610aff57806301ffc9a714610a8f57806307bd026514610a68578063134008d3146109c857806313bc9f20146109aa578063150b7a0214610955578063248a9ca31461092b5780632ab0f5291461090d5780632f2ff15d146108d057806331d50750146108b257806336568abe1461086e578063584b153e1461084657806364d62353146107e15780637958004c1461079e5780638065657f1461077f5780638f2a0bb0146105825780638f61f4f51461054857806391d1485414610500578063a217fddf146104e6578063b08e51c0146104ac578063b1c5f42714610482578063bc197c81146103ed578063c4d252f5146103d1578063d45c4435146103a7578063d547741f14610363578063e38335e514610217578063f23a6e61146101c2578063f27a0c92146101a55763fdcb60680361000e57346101a1575f3660031901126101a1576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b5f80fd5b346101a1575f3660031901126101a1576020600254604051908152f35b346101a15760a03660031901126101a1576101db610c00565b506101e4610c16565b506084356001600160401b0381116101a157610204903690600401610cf7565b5060405163f23a6e6160e01b8152602090f35b61022036610d6d565b5f80527fdae2aa361dfd1ca020a396615627d436107c35eff9fe7738a3512819782d70696020527f5ba6852781629bcdcd4bdaa6de76d786f1c64b16acdac474e55bebc0ea1579515492979196919593949260ff1615610355575b82821480159061034b575b6103305761029d6102a491888a888789888d611011565b9687611723565b5f5b8181106102b657610018876117ce565b8080887fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b58888861032761030e8f986001998f828e6103018f836102fc9161030796611513565b611523565b97611513565b3595610fbc565b9061031b8282878761177b565b60405194859485610e98565b0390a3016102a6565b50869063ffb0321160e01b5f5260045260245260445260645ffd5b5087821415610286565b61035e336115f5565b61027b565b346101a15760403660031901126101a157610018600435610382610c16565b906103a261039b825f525f602052600160405f20015490565b33906116db565b611874565b346101a15760203660031901126101a1576004355f526001602052602060405f2054604051908152f35b346101a15760203660031901126101a15761001860043561117b565b346101a15760a03660031901126101a157610406610c00565b5061040f610c16565b506044356001600160401b0381116101a15761042f903690600401610ddb565b506064356001600160401b0381116101a15761044f903690600401610ddb565b506084356001600160401b0381116101a15761046f903690600401610cf7565b5060405163bc197c8160e01b8152602090f35b346101a15760206104a461049536610d6d565b96959095949194939293611011565b604051908152f35b346101a1575f3660031901126101a15760206040517ffd643c72710c63c0180259aba6b2d05451e3591a24e58b62239378085726f7838152f35b346101a1575f3660031901126101a15760206040515f8152f35b346101a15760403660031901126101a157610519610c16565b6004355f525f60205260405f209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b346101a1575f3660031901126101a15760206040517fb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc18152f35b346101a15760c03660031901126101a1576004356001600160401b0381116101a1576105b2903690600401610d3d565b906024356001600160401b0381116101a1576105d2903690600401610d3d565b6044929192356001600160401b0381116101a157826105f685923690600401610d3d565b6064949194359161061d89848489856084359d8e9560a4359b6106183361156f565b611011565b5f5b83811061072d5750506106313361156f565b808914801590610723575b6107095761065088848489858a8f8e611011565b9861065b858b6118f4565b895f5b82811061069b5750898061066e57005b60207f20fda5fd27a1ea7bf5b9567f143ac5470bb059374a27e8f67cb44f946f6d038791604051908152a2005b806001927f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca8b8b6106fe8f8c6106f18f928e6106ea8f8f906106e46102fc8f8097948195611513565b99611513565b3597610fbc565b9060405196879687611537565b0390a3018a9061065e565b908863ffb0321160e01b5f5260045260245260445260645ffd5b508189141561063c565b8061073b600192868b610fbc565b637aea5b6f60e11b916001600160e01b03199161075791610e42565b1614610764575b0161061f565b825f52600360205260405f208260ff1982541617905561075e565b346101a15760206104a461079236610c59565b94939093929192610f67565b346101a15760203660031901126101a1576107ba600435610f2f565b60405160048210156107cd576020918152f35b634e487b7160e01b5f52602160045260245ffd5b346101a15760203660031901126101a157600435303303610833577f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d560406002548151908152836020820152a1600255005b63e2850c5960e01b5f523360045260245ffd5b346101a15760203660031901126101a1576020610864600435610f06565b6040519015158152f35b346101a15760403660031901126101a157610887610c16565b336001600160a01b038216036108a35761001890600435611874565b63334bd91960e11b5f5260045ffd5b346101a15760203660031901126101a1576020610864600435610eef565b346101a15760403660031901126101a1576100186004356108ef610c16565b9061090861039b825f525f602052600160405f20015490565b6117ec565b346101a15760203660031901126101a1576020610864600435610ed7565b346101a15760203660031901126101a15760206104a46004355f525f602052600160405f20015490565b346101a15760803660031901126101a15761096e610c00565b50610977610c16565b506064356001600160401b0381116101a157610997903690600401610cf7565b50604051630a85bd0160e11b8152602090f35b346101a15760203660031901126101a1576020610864600435610ebf565b610018610a465f610a527fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b58610a3d6109ff36610c59565b5f5160206119b05f395f51905f528a9995979299949394528960205260408a208a805260205260ff60408b20541615610a5a575b8884848989610f67565b98899788611723565b61031b8282878761177b565b0390a36117ce565b610a63336115f5565b610a33565b346101a1575f3660031901126101a15760206040515f5160206119b05f395f51905f528152f35b346101a15760203660031901126101a15760043563ffffffff60e01b81168091036101a157602090630271189760e51b8114908115610ad4575b506040519015158152f35b637965db0b60e01b811491508115610aee575b5082610ac9565b6301ffc9a760e01b14905082610ae7565b346101a15760c03660031901126101a157610b18610c00565b602435906044356001600160401b0381116101a1577f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca92610b5e5f923690600401610c2c565b94909160643594610bda6084359660a43590610b793361156f565b610b8789828c8a8989610f67565b637aea5b6f60e11b6001600160e01b0319610ba28d8b610e42565b1614610be4575b50610bb33361156f565b610bc189828c8a8989610f67565b998a97610bce848a6118f4565b60405196879687611537565b0390a38061066e57005b8852600360205260408820805460ff191660011790558a610ba9565b600435906001600160a01b03821682036101a157565b602435906001600160a01b03821682036101a157565b9181601f840112156101a1578235916001600160401b0383116101a157602083818601950101116101a157565b60a06003198201126101a1576004356001600160a01b03811681036101a1579160243591604435906001600160401b0382116101a157610c9b91600401610c2c565b90916064359060843590565b90601f801991011681019081106001600160401b03821117610cc857604052565b634e487b7160e01b5f52604160045260245ffd5b6001600160401b038111610cc857601f01601f191660200190565b81601f820112156101a157803590610d0e82610cdc565b92610d1c6040519485610ca7565b828452602083830101116101a157815f926020809301838601378301015290565b9181601f840112156101a1578235916001600160401b0383116101a1576020808501948460051b0101116101a157565b60a06003198201126101a1576004356001600160401b0381116101a15781610d9791600401610d3d565b929092916024356001600160401b0381116101a15781610db991600401610d3d565b92909291604435906001600160401b0382116101a157610c9b91600401610d3d565b9080601f830112156101a1578135916001600160401b038311610cc8578260051b9060405193610e0e6020840186610ca7565b84526020808501928201019283116101a157602001905b828210610e325750505090565b8135815260209182019101610e25565b356001600160e01b0319811692919060048210610e5d575050565b6001600160e01b031960049290920360031b82901b16169150565b908060209392818452848401375f828201840152601f01601f1916010190565b610ebc949260609260018060a01b0316825260208201528160408201520191610e78565b90565b610ec890610f2f565b60048110156107cd5760021490565b610ee090610f2f565b60048110156107cd5760031490565b610ef890610f2f565b60048110156107cd57151590565b610f0f90610f2f565b60048110156107cd5760018114908115610f27575090565b600291501490565b5f52600160205260405f205480155f14610f4857505f90565b60018103610f565750600390565b421015610f6257600190565b600290565b94610f9d610fb694959293604051968795602087019960018060a01b03168a52604087015260a0606087015260c0860191610e78565b91608084015260a083015203601f198101835282610ca7565b51902090565b9190811015610ffd5760051b81013590601e19813603018212156101a15701908135916001600160401b0383116101a15760200182360381136101a1579190565b634e487b7160e01b5f52603260045260245ffd5b9693949190969592956040519660208801988060c08a0160a08c525260e0890192905f905b80821061112d57505050878203601f190160408901528082526001600160fb1b0381116101a1579087959394929160051b8092602083013701848103606086015260208101849052600584901b8101604090810194908201915f90889036829003601e1901905b8484106110c757505050505050610fb69450608084015260a083015203601f198101835282610ca7565b91939597909294969850601f19601f19838303010187528935838112156101a157840190602082359201916001600160401b0381116101a15780360383136101a1576111196020928392600195610e78565b9b0197019401918a9896999795939161109d565b91939091908435906001600160a01b03821682036101a1576001600160a01b039091168152602090810194019160010190611036565b908160209103126101a1575180151581036101a15790565b805f52600360205260ff60405f2054166113c657335f9081525f5160206119905f395f51905f52602052604090205460ff16806112e2575b6112d957335f9081525f5160206119905f395f51905f52602052604090205460ff1680611245575b15610833576111e933611668565b6111f281610f06565b1561122b57805f5260016020525f60408120557fbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb705f80a2565b635ead8eb560e01b5f52600452600460021760245260445ffd5b50604051631f33573f60e31b81523360048201526020816024817f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165afa9081156112ce575f9161129f575b506111db565b6112c1915060203d6020116112c7575b6112b98183610ca7565b810190611163565b5f611299565b503d6112af565b6040513d5f823e3d90fd5b6111e933611668565b50604051630ccc574960e41b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690602081600481855afa9081156112ce575f91611392575b50604051632474521560e21b815260048101919091523360248201529060209082908180604481015b03915afa9081156112ce575f91611373575b506111b3565b61138c915060203d6020116112c7576112b98183610ca7565b5f61136d565b90506020813d6020116113be575b816113ad60209383610ca7565b810103126101a1575161135b611332565b3d91506113a0565b604051630ccc574960e41b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690602081600481855afa9081156112ce575f916114df575b50604051632474521560e21b815260048101919091523360248201529060209082908180604481015b03915afa9081156112ce575f916114c0575b501561145f576111e933611668565b60405162461bcd60e51b815260206004820152603360248201527f4f6e6c7920676f7665726e6f72732063616e2063616e63656c20677561726469604482015272616e206578706972792070726f706f73616c7360681b6064820152608490fd5b6114d9915060203d6020116112c7576112b98183610ca7565b5f611450565b90506020813d60201161150b575b816114fa60209383610ca7565b810103126101a1575161143e611415565b3d91506114ed565b9190811015610ffd5760051b0190565b356001600160a01b03811681036101a15790565b929093611565926080959897969860018060a01b03168552602085015260a0604085015260a0840191610e78565b9460608201520152565b6001600160a01b0381165f9081527f3412d5605ac6cd444957cedb533e5dacad6378b4bc819ebe3652188a665066d5602052604090205460ff16156115b15750565b63e2517d3f60e01b5f9081526001600160a01b03919091166004527fb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1602452604490fd5b6001600160a01b0381165f9081527fdae2aa361dfd1ca020a396615627d436107c35eff9fe7738a3512819782d7069602052604090205460ff16156116375750565b63e2517d3f60e01b5f9081526001600160a01b03919091166004525f5160206119b05f395f51905f52602452604490fd5b6001600160a01b0381165f9081525f5160206119905f395f51905f52602052604090205460ff16156116975750565b63e2517d3f60e01b5f9081526001600160a01b03919091166004527ffd643c72710c63c0180259aba6b2d05451e3591a24e58b62239378085726f783602452604490fd5b90815f525f60205260405f2060018060a01b0382165f5260205260ff60405f20541615611706575050565b63e2517d3f60e01b5f5260018060a01b031660045260245260445ffd5b61172c81610ebf565b15611764575080151580611754575b6117425750565b63121534c360e31b5f5260045260245ffd5b5061175e81610ed7565b1561173b565b635ead8eb560e01b5f52600452600460245260445ffd5b6117c3935f93928493826040519384928337810185815203925af13d156117c6573d906117a782610cdc565b916117b56040519384610ca7565b82523d5f602084013e611967565b50565b606090611967565b6117d781610ebf565b15611764575f526001602052600160405f2055565b5f818152602081815260408083206001600160a01b038616845290915290205460ff1661186e575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b50505f90565b5f818152602081815260408083206001600160a01b038616845290915290205460ff161561186e575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b906118fe82610eef565b61194f576002548082106119395750420190814211611925575f52600160205260405f2055565b634e487b7160e01b5f52601160045260245ffd5b90635433660960e01b5f5260045260245260445ffd5b50635ead8eb560e01b5f52600452600160245260445ffd5b90919061198d575080511561197e57805190602001fd5b63d6bda27560e01b5f5260045ffd5b56fec3ad33e20b0c56a223ad5104fff154aa010f8715b9c981fd38fdc60a4d1a52fbd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63a26469706673582212208a78996a7bb2e465906601bda20884f8355b89fad97777460276d534dff1b47264736f6c634300081c00332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d3412d5605ac6cd444957cedb533e5dacad6378b4bc819ebe3652188a665066d5dae2aa361dfd1ca020a396615627d436107c35eff9fe7738a3512819782d7069c3ad33e20b0c56a223ad5104fff154aa010f8715b9c981fd38fdc60a4d1a52fbad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5000000000000000000000000000000000000000000000000000000000002a30000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000009999cb59242e8ce485f52ebf82654f3664d63e4f000000000000000000000000f389bcea078acd9516414f5dabe3ddd5f7e3969400000000000000000000000000000000000000000000000000000000000000010000000000000000000000009999cb59242e8ce485f52ebf82654f3664d63e4f00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436101561001a575b3615610018575f80fd5b005b5f3560e01c806301d5062a14610aff57806301ffc9a714610a8f57806307bd026514610a68578063134008d3146109c857806313bc9f20146109aa578063150b7a0214610955578063248a9ca31461092b5780632ab0f5291461090d5780632f2ff15d146108d057806331d50750146108b257806336568abe1461086e578063584b153e1461084657806364d62353146107e15780637958004c1461079e5780638065657f1461077f5780638f2a0bb0146105825780638f61f4f51461054857806391d1485414610500578063a217fddf146104e6578063b08e51c0146104ac578063b1c5f42714610482578063bc197c81146103ed578063c4d252f5146103d1578063d45c4435146103a7578063d547741f14610363578063e38335e514610217578063f23a6e61146101c2578063f27a0c92146101a55763fdcb60680361000e57346101a1575f3660031901126101a1576040517f000000000000000000000000f389bcea078acd9516414f5dabe3ddd5f7e396946001600160a01b03168152602090f35b5f80fd5b346101a1575f3660031901126101a1576020600254604051908152f35b346101a15760a03660031901126101a1576101db610c00565b506101e4610c16565b506084356001600160401b0381116101a157610204903690600401610cf7565b5060405163f23a6e6160e01b8152602090f35b61022036610d6d565b5f80527fdae2aa361dfd1ca020a396615627d436107c35eff9fe7738a3512819782d70696020527f5ba6852781629bcdcd4bdaa6de76d786f1c64b16acdac474e55bebc0ea1579515492979196919593949260ff1615610355575b82821480159061034b575b6103305761029d6102a491888a888789888d611011565b9687611723565b5f5b8181106102b657610018876117ce565b8080887fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b58888861032761030e8f986001998f828e6103018f836102fc9161030796611513565b611523565b97611513565b3595610fbc565b9061031b8282878761177b565b60405194859485610e98565b0390a3016102a6565b50869063ffb0321160e01b5f5260045260245260445260645ffd5b5087821415610286565b61035e336115f5565b61027b565b346101a15760403660031901126101a157610018600435610382610c16565b906103a261039b825f525f602052600160405f20015490565b33906116db565b611874565b346101a15760203660031901126101a1576004355f526001602052602060405f2054604051908152f35b346101a15760203660031901126101a15761001860043561117b565b346101a15760a03660031901126101a157610406610c00565b5061040f610c16565b506044356001600160401b0381116101a15761042f903690600401610ddb565b506064356001600160401b0381116101a15761044f903690600401610ddb565b506084356001600160401b0381116101a15761046f903690600401610cf7565b5060405163bc197c8160e01b8152602090f35b346101a15760206104a461049536610d6d565b96959095949194939293611011565b604051908152f35b346101a1575f3660031901126101a15760206040517ffd643c72710c63c0180259aba6b2d05451e3591a24e58b62239378085726f7838152f35b346101a1575f3660031901126101a15760206040515f8152f35b346101a15760403660031901126101a157610519610c16565b6004355f525f60205260405f209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b346101a1575f3660031901126101a15760206040517fb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc18152f35b346101a15760c03660031901126101a1576004356001600160401b0381116101a1576105b2903690600401610d3d565b906024356001600160401b0381116101a1576105d2903690600401610d3d565b6044929192356001600160401b0381116101a157826105f685923690600401610d3d565b6064949194359161061d89848489856084359d8e9560a4359b6106183361156f565b611011565b5f5b83811061072d5750506106313361156f565b808914801590610723575b6107095761065088848489858a8f8e611011565b9861065b858b6118f4565b895f5b82811061069b5750898061066e57005b60207f20fda5fd27a1ea7bf5b9567f143ac5470bb059374a27e8f67cb44f946f6d038791604051908152a2005b806001927f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca8b8b6106fe8f8c6106f18f928e6106ea8f8f906106e46102fc8f8097948195611513565b99611513565b3597610fbc565b9060405196879687611537565b0390a3018a9061065e565b908863ffb0321160e01b5f5260045260245260445260645ffd5b508189141561063c565b8061073b600192868b610fbc565b637aea5b6f60e11b916001600160e01b03199161075791610e42565b1614610764575b0161061f565b825f52600360205260405f208260ff1982541617905561075e565b346101a15760206104a461079236610c59565b94939093929192610f67565b346101a15760203660031901126101a1576107ba600435610f2f565b60405160048210156107cd576020918152f35b634e487b7160e01b5f52602160045260245ffd5b346101a15760203660031901126101a157600435303303610833577f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d560406002548151908152836020820152a1600255005b63e2850c5960e01b5f523360045260245ffd5b346101a15760203660031901126101a1576020610864600435610f06565b6040519015158152f35b346101a15760403660031901126101a157610887610c16565b336001600160a01b038216036108a35761001890600435611874565b63334bd91960e11b5f5260045ffd5b346101a15760203660031901126101a1576020610864600435610eef565b346101a15760403660031901126101a1576100186004356108ef610c16565b9061090861039b825f525f602052600160405f20015490565b6117ec565b346101a15760203660031901126101a1576020610864600435610ed7565b346101a15760203660031901126101a15760206104a46004355f525f602052600160405f20015490565b346101a15760803660031901126101a15761096e610c00565b50610977610c16565b506064356001600160401b0381116101a157610997903690600401610cf7565b50604051630a85bd0160e11b8152602090f35b346101a15760203660031901126101a1576020610864600435610ebf565b610018610a465f610a527fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b58610a3d6109ff36610c59565b5f5160206119b05f395f51905f528a9995979299949394528960205260408a208a805260205260ff60408b20541615610a5a575b8884848989610f67565b98899788611723565b61031b8282878761177b565b0390a36117ce565b610a63336115f5565b610a33565b346101a1575f3660031901126101a15760206040515f5160206119b05f395f51905f528152f35b346101a15760203660031901126101a15760043563ffffffff60e01b81168091036101a157602090630271189760e51b8114908115610ad4575b506040519015158152f35b637965db0b60e01b811491508115610aee575b5082610ac9565b6301ffc9a760e01b14905082610ae7565b346101a15760c03660031901126101a157610b18610c00565b602435906044356001600160401b0381116101a1577f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca92610b5e5f923690600401610c2c565b94909160643594610bda6084359660a43590610b793361156f565b610b8789828c8a8989610f67565b637aea5b6f60e11b6001600160e01b0319610ba28d8b610e42565b1614610be4575b50610bb33361156f565b610bc189828c8a8989610f67565b998a97610bce848a6118f4565b60405196879687611537565b0390a38061066e57005b8852600360205260408820805460ff191660011790558a610ba9565b600435906001600160a01b03821682036101a157565b602435906001600160a01b03821682036101a157565b9181601f840112156101a1578235916001600160401b0383116101a157602083818601950101116101a157565b60a06003198201126101a1576004356001600160a01b03811681036101a1579160243591604435906001600160401b0382116101a157610c9b91600401610c2c565b90916064359060843590565b90601f801991011681019081106001600160401b03821117610cc857604052565b634e487b7160e01b5f52604160045260245ffd5b6001600160401b038111610cc857601f01601f191660200190565b81601f820112156101a157803590610d0e82610cdc565b92610d1c6040519485610ca7565b828452602083830101116101a157815f926020809301838601378301015290565b9181601f840112156101a1578235916001600160401b0383116101a1576020808501948460051b0101116101a157565b60a06003198201126101a1576004356001600160401b0381116101a15781610d9791600401610d3d565b929092916024356001600160401b0381116101a15781610db991600401610d3d565b92909291604435906001600160401b0382116101a157610c9b91600401610d3d565b9080601f830112156101a1578135916001600160401b038311610cc8578260051b9060405193610e0e6020840186610ca7565b84526020808501928201019283116101a157602001905b828210610e325750505090565b8135815260209182019101610e25565b356001600160e01b0319811692919060048210610e5d575050565b6001600160e01b031960049290920360031b82901b16169150565b908060209392818452848401375f828201840152601f01601f1916010190565b610ebc949260609260018060a01b0316825260208201528160408201520191610e78565b90565b610ec890610f2f565b60048110156107cd5760021490565b610ee090610f2f565b60048110156107cd5760031490565b610ef890610f2f565b60048110156107cd57151590565b610f0f90610f2f565b60048110156107cd5760018114908115610f27575090565b600291501490565b5f52600160205260405f205480155f14610f4857505f90565b60018103610f565750600390565b421015610f6257600190565b600290565b94610f9d610fb694959293604051968795602087019960018060a01b03168a52604087015260a0606087015260c0860191610e78565b91608084015260a083015203601f198101835282610ca7565b51902090565b9190811015610ffd5760051b81013590601e19813603018212156101a15701908135916001600160401b0383116101a15760200182360381136101a1579190565b634e487b7160e01b5f52603260045260245ffd5b9693949190969592956040519660208801988060c08a0160a08c525260e0890192905f905b80821061112d57505050878203601f190160408901528082526001600160fb1b0381116101a1579087959394929160051b8092602083013701848103606086015260208101849052600584901b8101604090810194908201915f90889036829003601e1901905b8484106110c757505050505050610fb69450608084015260a083015203601f198101835282610ca7565b91939597909294969850601f19601f19838303010187528935838112156101a157840190602082359201916001600160401b0381116101a15780360383136101a1576111196020928392600195610e78565b9b0197019401918a9896999795939161109d565b91939091908435906001600160a01b03821682036101a1576001600160a01b039091168152602090810194019160010190611036565b908160209103126101a1575180151581036101a15790565b805f52600360205260ff60405f2054166113c657335f9081525f5160206119905f395f51905f52602052604090205460ff16806112e2575b6112d957335f9081525f5160206119905f395f51905f52602052604090205460ff1680611245575b15610833576111e933611668565b6111f281610f06565b1561122b57805f5260016020525f60408120557fbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb705f80a2565b635ead8eb560e01b5f52600452600460021760245260445ffd5b50604051631f33573f60e31b81523360048201526020816024817f000000000000000000000000f389bcea078acd9516414f5dabe3ddd5f7e396946001600160a01b03165afa9081156112ce575f9161129f575b506111db565b6112c1915060203d6020116112c7575b6112b98183610ca7565b810190611163565b5f611299565b503d6112af565b6040513d5f823e3d90fd5b6111e933611668565b50604051630ccc574960e41b81527f000000000000000000000000f389bcea078acd9516414f5dabe3ddd5f7e396946001600160a01b031690602081600481855afa9081156112ce575f91611392575b50604051632474521560e21b815260048101919091523360248201529060209082908180604481015b03915afa9081156112ce575f91611373575b506111b3565b61138c915060203d6020116112c7576112b98183610ca7565b5f61136d565b90506020813d6020116113be575b816113ad60209383610ca7565b810103126101a1575161135b611332565b3d91506113a0565b604051630ccc574960e41b81527f000000000000000000000000f389bcea078acd9516414f5dabe3ddd5f7e396946001600160a01b031690602081600481855afa9081156112ce575f916114df575b50604051632474521560e21b815260048101919091523360248201529060209082908180604481015b03915afa9081156112ce575f916114c0575b501561145f576111e933611668565b60405162461bcd60e51b815260206004820152603360248201527f4f6e6c7920676f7665726e6f72732063616e2063616e63656c20677561726469604482015272616e206578706972792070726f706f73616c7360681b6064820152608490fd5b6114d9915060203d6020116112c7576112b98183610ca7565b5f611450565b90506020813d60201161150b575b816114fa60209383610ca7565b810103126101a1575161143e611415565b3d91506114ed565b9190811015610ffd5760051b0190565b356001600160a01b03811681036101a15790565b929093611565926080959897969860018060a01b03168552602085015260a0604085015260a0840191610e78565b9460608201520152565b6001600160a01b0381165f9081527f3412d5605ac6cd444957cedb533e5dacad6378b4bc819ebe3652188a665066d5602052604090205460ff16156115b15750565b63e2517d3f60e01b5f9081526001600160a01b03919091166004527fb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1602452604490fd5b6001600160a01b0381165f9081527fdae2aa361dfd1ca020a396615627d436107c35eff9fe7738a3512819782d7069602052604090205460ff16156116375750565b63e2517d3f60e01b5f9081526001600160a01b03919091166004525f5160206119b05f395f51905f52602452604490fd5b6001600160a01b0381165f9081525f5160206119905f395f51905f52602052604090205460ff16156116975750565b63e2517d3f60e01b5f9081526001600160a01b03919091166004527ffd643c72710c63c0180259aba6b2d05451e3591a24e58b62239378085726f783602452604490fd5b90815f525f60205260405f2060018060a01b0382165f5260205260ff60405f20541615611706575050565b63e2517d3f60e01b5f5260018060a01b031660045260245260445ffd5b61172c81610ebf565b15611764575080151580611754575b6117425750565b63121534c360e31b5f5260045260245ffd5b5061175e81610ed7565b1561173b565b635ead8eb560e01b5f52600452600460245260445ffd5b6117c3935f93928493826040519384928337810185815203925af13d156117c6573d906117a782610cdc565b916117b56040519384610ca7565b82523d5f602084013e611967565b50565b606090611967565b6117d781610ebf565b15611764575f526001602052600160405f2055565b5f818152602081815260408083206001600160a01b038616845290915290205460ff1661186e575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4600190565b50505f90565b5f818152602081815260408083206001600160a01b038616845290915290205460ff161561186e575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b906118fe82610eef565b61194f576002548082106119395750420190814211611925575f52600160205260405f2055565b634e487b7160e01b5f52601160045260245ffd5b90635433660960e01b5f5260045260245260445ffd5b50635ead8eb560e01b5f52600452600160245260445ffd5b90919061198d575080511561197e57805190602001fd5b63d6bda27560e01b5f5260045ffd5b56fec3ad33e20b0c56a223ad5104fff154aa010f8715b9c981fd38fdc60a4d1a52fbd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63a26469706673582212208a78996a7bb2e465906601bda20884f8355b89fad97777460276d534dff1b47264736f6c634300081c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000002a30000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000009999cb59242e8ce485f52ebf82654f3664d63e4f000000000000000000000000f389bcea078acd9516414f5dabe3ddd5f7e3969400000000000000000000000000000000000000000000000000000000000000010000000000000000000000009999cb59242e8ce485f52ebf82654f3664d63e4f00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : minDelay (uint256): 172800
Arg [1] : proposers (address[]): 0x9999Cb59242e8cE485F52eBF82654F3664D63E4f
Arg [2] : executors (address[]): 0x0000000000000000000000000000000000000000
Arg [3] : admin (address): 0x9999Cb59242e8cE485F52eBF82654F3664D63E4f
Arg [4] : _accessManager (address): 0xf389BCEa078acD9516414F5dabE3dDd5f7e39694
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000002a300
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000009999cb59242e8ce485f52ebf82654f3664d63e4f
Arg [4] : 000000000000000000000000f389bcea078acd9516414f5dabe3ddd5f7e39694
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000009999cb59242e8ce485f52ebf82654f3664d63e4f
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 37.21% | $0.999869 | 71,774.6017 | $71,765.2 | |
| ETH | 18.16% | $3,070.41 | 11.4084 | $35,028.33 | |
| ETH | 12.70% | $0.999572 | 24,512.1797 | $24,501.69 | |
| ETH | 3.96% | $0.999844 | 7,629.91 | $7,628.72 | |
| ETH | 1.59% | $3,070.41 | 1.001 | $3,073.48 | |
| ARB | 6.10% | $0.999906 | 11,772.0543 | $11,770.95 | |
| ARB | 5.57% | $0.999468 | 10,743.6049 | $10,737.89 | |
| ARB | 2.84% | $0.002741 | 2,000,000 | $5,481.05 | |
| ARB | 0.32% | $3,071.34 | 0.2 | $614.27 | |
| BASE | 7.02% | $0.99992 | 13,548.3564 | $13,547.27 | |
| BASE | 2.42% | $3,075.85 | 1.5161 | $4,663.2 | |
| BASE | 2.01% | $1.16 | 3,346.3895 | $3,881.81 | |
| BASE | 0.09% | $3,072.52 | 0.0583 | $179.27 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
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.