Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
GovernanceAcceleratedLock
Compiler Version
v0.8.30+commit.73712a01
Optimization Enabled:
Yes with 200 runs
Other Settings:
prague EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.27;
import {Address} from "@oz/utils/Address.sol";
import {Ownable} from "@oz/access/Ownable.sol";
interface IGovernanceAcceleratedLock {
error GovernanceAcceleratedLock__LockTimeNotMet();
error GovernanceAcceleratedLock__GovernanceAddressCannotBeZero();
event LockAccelerated();
event LockExtended();
function lockAccelerated() external view returns (bool);
function accelerateLock() external;
function extendLock() external;
function relay(address _target, bytes calldata _data) external returns (bytes memory);
}
contract GovernanceAcceleratedLock is Ownable, IGovernanceAcceleratedLock {
/// @notice The start time of the lock
uint256 public immutable START_TIME;
/// @notice The extended lock time
uint256 public constant EXTENDED_LOCK_TIME = 365 days;
/// @notice The shorter lock time
uint256 public constant SHORTER_LOCK_TIME = 90 days;
/// @notice Whether the lock is currently accelerated
bool public lockAccelerated = false;
/**
* @param _governance The address of the governance contract (Owner)
* @param _startTime The start time of the lock
*/
constructor(address _governance, uint256 _startTime) Ownable(_governance) {
require(_governance != address(0), GovernanceAcceleratedLock__GovernanceAddressCannotBeZero());
START_TIME = _startTime;
}
/**
* @notice Accelerate the lock
* @notice The lock can be decelerated by calling extendLock
*
* @dev Only the owner can accelerate the lock
*/
function accelerateLock() external override(IGovernanceAcceleratedLock) onlyOwner {
lockAccelerated = true;
emit LockAccelerated();
}
/**
* @notice Extend the lock
* @notice The lock can be accelerated by calling accelerateLock
*
* @dev Only the owner can extend the lock
*/
function extendLock() external override(IGovernanceAcceleratedLock) onlyOwner {
lockAccelerated = false;
emit LockExtended();
}
/**
* @notice Relay a call to a target contract
* @notice The call will be relayed if the lock is accelerated
*
* @dev The relay function CANNOT send native tokens (ETH)
* @dev Only the owner can relay the call
*
* @param _target The target contract to relay the call to
* @param _data The data to relay to the target contract
* @return The result of the call
*/
function relay(address _target, bytes calldata _data)
external
override(IGovernanceAcceleratedLock)
onlyOwner
returns (bytes memory)
{
uint256 lockTime = lockAccelerated ? SHORTER_LOCK_TIME : EXTENDED_LOCK_TIME;
require(block.timestamp >= START_TIME + lockTime, GovernanceAcceleratedLock__LockTimeNotMet());
return Address.functionCall(_target, _data);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.2.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, bytes memory returndata) = recipient.call{value: amount}("");
if (!success) {
_revert(returndata);
}
}
/**
* @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.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. This can
* later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)
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.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;
}
}{
"remappings": [
"src/=src/",
"test/=test/",
"@aztec/=lib/l1-contracts/src/",
"@aztec-test/=lib/l1-contracts/test/",
"@openzeppelin/=lib/openzeppelin-contracts/",
"@oz/=lib/openzeppelin-contracts/contracts/",
"forge-std/=lib/forge-std/src/",
"@atp/=lib/teegeeee/src/",
"@atp-mock/=lib/teegeeee/src/test/mocks/",
"@zkpassport/=lib/circuits/src/solidity/src/",
"@splits/=lib/splits-contracts-monorepo/packages/splits-v2/src/",
"@predicate/=lib/predicate-contracts/src/",
"@teegeeee/=lib/teegeeee/src/",
"@twap-auction/=lib/liquidity-launcher/lib/continuous-clearing-auction/src/",
"@twap-auction-test/=lib/liquidity-launcher/lib/continuous-clearing-auction/test/",
"@launcher/=lib/liquidity-launcher/src/",
"@v4c/=lib/liquidity-launcher/lib/v4-core/src/",
"@v4p/=lib/liquidity-launcher/lib/v4-periphery/src/",
"@aztec-blob-lib/=lib/l1-contracts/src/core/libraries/rollup/",
"@ensdomains/=lib/liquidity-launcher/lib/v4-core/node_modules/@ensdomains/",
"@openzeppelin-latest/=lib/liquidity-launcher/lib/openzeppelin-contracts/",
"@openzeppelin-upgrades-v4.9.0/=lib/predicate-contracts/lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable-v4.9.0/",
"@openzeppelin-upgrades/=lib/predicate-contracts/lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable/",
"@openzeppelin-v4.9.0/=lib/predicate-contracts/lib/eigenlayer-contracts/lib/openzeppelin-contracts-v4.9.0/",
"@optimism/=lib/liquidity-launcher/lib/optimism/packages/contracts-bedrock/",
"@solady/=lib/liquidity-launcher/lib/solady/",
"@test/=lib/l1-contracts/test/",
"@uniswap/v4-core/=lib/liquidity-launcher/lib/v4-core/",
"@uniswap/v4-periphery/=lib/liquidity-launcher/lib/v4-periphery/",
"@zkpassport-test/=lib/l1-contracts/lib/circuits/src/solidity/test/",
"btt/=lib/liquidity-launcher/lib/continuous-clearing-auction/test/btt/",
"circuits/=lib/circuits/src/",
"continuous-clearing-auction/=lib/liquidity-launcher/lib/continuous-clearing-auction/",
"ds-test/=lib/predicate-contracts/lib/forge-std/lib/ds-test/src/",
"eigenlayer-contracts/=lib/predicate-contracts/lib/eigenlayer-contracts/",
"eigenlayer-middleware/=lib/predicate-contracts/lib/eigenlayer-middleware/",
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"forge-gas-snapshot/=lib/liquidity-launcher/lib/continuous-clearing-auction/lib/forge-gas-snapshot/src/",
"halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",
"hardhat/=lib/liquidity-launcher/lib/v4-core/node_modules/hardhat/",
"kontrol-cheatcodes/=lib/liquidity-launcher/lib/optimism/packages/contracts-bedrock/lib/kontrol-cheatcodes/src/",
"l1-contracts/=lib/l1-contracts/src/",
"lib-keccak/=lib/liquidity-launcher/lib/optimism/packages/contracts-bedrock/lib/lib-keccak/contracts/",
"liquidity-launcher/=lib/liquidity-launcher/",
"merkle-distributor/=lib/liquidity-launcher/lib/merkle-distributor/",
"openzeppelin-contracts-4.7/=lib/liquidity-launcher/lib/openzeppelin-contracts-4.7/",
"openzeppelin-contracts-upgradeable-v4.9.0/=lib/predicate-contracts/lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable-v4.9.0/",
"openzeppelin-contracts-upgradeable/=lib/predicate-contracts/lib/openzeppelin-contracts-upgradeable/",
"openzeppelin-contracts-v4.9.0/=lib/predicate-contracts/lib/eigenlayer-contracts/lib/openzeppelin-contracts-v4.9.0/",
"openzeppelin-contracts-v5/=lib/liquidity-launcher/lib/optimism/packages/contracts-bedrock/lib/openzeppelin-contracts-v5/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"openzeppelin-foundry-upgrades/=lib/predicate-contracts/lib/openzeppelin-foundry-upgrades/src/",
"openzeppelin-upgradeable/=lib/predicate-contracts/lib/openzeppelin-contracts-upgradeable/contracts/",
"openzeppelin/=lib/predicate-contracts/lib/eigenlayer-contracts/lib/openzeppelin-contracts-upgradeable-v4.9.0/contracts/",
"optimism/=lib/liquidity-launcher/lib/optimism/",
"permit2/=lib/liquidity-launcher/lib/permit2/",
"predicate-contracts/=lib/predicate-contracts/src/",
"safe-contracts/=lib/liquidity-launcher/lib/optimism/packages/contracts-bedrock/lib/safe-contracts/contracts/",
"solady-v0.0.245/=lib/liquidity-launcher/lib/optimism/packages/contracts-bedrock/lib/solady-v0.0.245/src/",
"solady/=lib/liquidity-launcher/lib/solady/src/",
"solmate/=lib/predicate-contracts/lib/solmate/src/",
"splits-contracts-monorepo/=lib/splits-contracts-monorepo/",
"teegeeee/=lib/teegeeee/src/",
"utils/=lib/predicate-contracts/lib/utils/",
"v4-core/=lib/liquidity-launcher/lib/v4-core/src/",
"v4-periphery/=lib/liquidity-launcher/lib/v4-periphery/",
"zkpassport-packages/=lib/zkpassport-packages/"
],
"optimizer": {
"enabled": true,
"runs": 200
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "prague",
"viaIR": false
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_governance","type":"address"},{"internalType":"uint256","name":"_startTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[],"name":"GovernanceAcceleratedLock__GovernanceAddressCannotBeZero","type":"error"},{"inputs":[],"name":"GovernanceAcceleratedLock__LockTimeNotMet","type":"error"},{"inputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[],"name":"LockAccelerated","type":"event"},{"anonymous":false,"inputs":[],"name":"LockExtended","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"EXTENDED_LOCK_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SHORTER_LOCK_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accelerateLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"extendLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockAccelerated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_target","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"relay","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60a06040525f805460ff60a01b1916905534801561001b575f5ffd5b5060405161075c38038061075c83398101604081905261003a916100f1565b816001600160a01b03811661006857604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b610071816100a2565b506001600160a01b0382166100995760405163285ebd2560e11b815260040160405180910390fd5b60805250610128565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f5f60408385031215610102575f5ffd5b82516001600160a01b0381168114610118575f5ffd5b6020939093015192949293505050565b6080516106156101475f395f8181610143015261023d01526106155ff3fe608060405234801561000f575f5ffd5b506004361061009b575f3560e01c8063b4e8461c11610063578063b4e8461c146100f1578063c28e83fd14610114578063c6c1fcd814610134578063ddaa26ad1461013e578063f2fde38b14610165575f5ffd5b80634d674d071461009f5780636a67e4ec146100a9578063715018a6146100b15780638da5cb5b146100b95780639bab93aa146100d8575b5f5ffd5b6100a7610178565b005b6100a76101bb565b6100a76101f8565b5f546040516001600160a01b0390911681526020015b60405180910390f35b6100e36301e1338081565b6040519081526020016100cf565b5f5461010490600160a01b900460ff1681565b60405190151581526020016100cf565b6101276101223660046104de565b61020b565b6040516100cf919061055c565b6100e36276a70081565b6100e37f000000000000000000000000000000000000000000000000000000000000000081565b6100a7610173366004610591565b6102cb565b61018061030d565b5f805460ff60a01b1916600160a01b1781556040517ff73f4a9d016fa2640918200c9eaf7c454b996596f57f612c14b7df441ccbb4f79190a1565b6101c361030d565b5f805460ff60a01b191681556040517faf693000681fa29121b0c60f0310163222abcccbbfbb91aed316f29663183d859190a1565b61020061030d565b6102095f610339565b565b606061021561030d565b5f8054600160a01b900460ff16610230576301e13380610235565b6276a7005b9050610261817f00000000000000000000000000000000000000000000000000000000000000006105aa565b42101561028157604051636042dcdf60e01b815260040160405180910390fd5b6102c08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061038892505050565b9150505b9392505050565b6102d361030d565b6001600160a01b03811661030157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b61030a81610339565b50565b5f546001600160a01b031633146102095760405163118cdaa760e01b81523360048201526024016102f8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606061039583835f61039e565b90505b92915050565b6060814710156103ca5760405163cf47918160e01b8152476004820152602481018390526044016102f8565b5f5f856001600160a01b031684866040516103e591906105c9565b5f6040518083038185875af1925050503d805f811461041f576040519150601f19603f3d011682016040523d82523d5f602084013e610424565b606091505b509150915061043486838361043e565b9695505050505050565b6060826104535761044e8261049a565b6102c4565b815115801561046a57506001600160a01b0384163b155b1561049357604051639996b31560e01b81526001600160a01b03851660048201526024016102f8565b50806102c4565b8051156104aa5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b80356001600160a01b03811681146104d9575f5ffd5b919050565b5f5f5f604084860312156104f0575f5ffd5b6104f9846104c3565b9250602084013567ffffffffffffffff811115610514575f5ffd5b8401601f81018613610524575f5ffd5b803567ffffffffffffffff81111561053a575f5ffd5b86602082840101111561054b575f5ffd5b939660209190910195509293505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156105a1575f5ffd5b610395826104c3565b8082018082111561039857634e487b7160e01b5f52601160045260245ffd5b5f82518060208501845e5f92019182525091905056fea2646970667358221220e752c46abe6d24969c03e5271729ae56a40340e6ccbc18ec813a7f11bc36f78a64736f6c634300081e00330000000000000000000000001102471eb3378fee427121c9efcea452e4b6b75e000000000000000000000000000000000000000000000000000000006915e460
Deployed Bytecode
0x608060405234801561000f575f5ffd5b506004361061009b575f3560e01c8063b4e8461c11610063578063b4e8461c146100f1578063c28e83fd14610114578063c6c1fcd814610134578063ddaa26ad1461013e578063f2fde38b14610165575f5ffd5b80634d674d071461009f5780636a67e4ec146100a9578063715018a6146100b15780638da5cb5b146100b95780639bab93aa146100d8575b5f5ffd5b6100a7610178565b005b6100a76101bb565b6100a76101f8565b5f546040516001600160a01b0390911681526020015b60405180910390f35b6100e36301e1338081565b6040519081526020016100cf565b5f5461010490600160a01b900460ff1681565b60405190151581526020016100cf565b6101276101223660046104de565b61020b565b6040516100cf919061055c565b6100e36276a70081565b6100e37f000000000000000000000000000000000000000000000000000000006915e46081565b6100a7610173366004610591565b6102cb565b61018061030d565b5f805460ff60a01b1916600160a01b1781556040517ff73f4a9d016fa2640918200c9eaf7c454b996596f57f612c14b7df441ccbb4f79190a1565b6101c361030d565b5f805460ff60a01b191681556040517faf693000681fa29121b0c60f0310163222abcccbbfbb91aed316f29663183d859190a1565b61020061030d565b6102095f610339565b565b606061021561030d565b5f8054600160a01b900460ff16610230576301e13380610235565b6276a7005b9050610261817f000000000000000000000000000000000000000000000000000000006915e4606105aa565b42101561028157604051636042dcdf60e01b815260040160405180910390fd5b6102c08585858080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061038892505050565b9150505b9392505050565b6102d361030d565b6001600160a01b03811661030157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b61030a81610339565b50565b5f546001600160a01b031633146102095760405163118cdaa760e01b81523360048201526024016102f8565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606061039583835f61039e565b90505b92915050565b6060814710156103ca5760405163cf47918160e01b8152476004820152602481018390526044016102f8565b5f5f856001600160a01b031684866040516103e591906105c9565b5f6040518083038185875af1925050503d805f811461041f576040519150601f19603f3d011682016040523d82523d5f602084013e610424565b606091505b509150915061043486838361043e565b9695505050505050565b6060826104535761044e8261049a565b6102c4565b815115801561046a57506001600160a01b0384163b155b1561049357604051639996b31560e01b81526001600160a01b03851660048201526024016102f8565b50806102c4565b8051156104aa5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b80356001600160a01b03811681146104d9575f5ffd5b919050565b5f5f5f604084860312156104f0575f5ffd5b6104f9846104c3565b9250602084013567ffffffffffffffff811115610514575f5ffd5b8401601f81018613610524575f5ffd5b803567ffffffffffffffff81111561053a575f5ffd5b86602082840101111561054b575f5ffd5b939660209190910195509293505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156105a1575f5ffd5b610395826104c3565b8082018082111561039857634e487b7160e01b5f52601160045260245ffd5b5f82518060208501845e5f92019182525091905056fea2646970667358221220e752c46abe6d24969c03e5271729ae56a40340e6ccbc18ec813a7f11bc36f78a64736f6c634300081e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000001102471eb3378fee427121c9efcea452e4b6b75e000000000000000000000000000000000000000000000000000000006915e460
-----Decoded View---------------
Arg [0] : _governance (address): 0x1102471Eb3378FEE427121c9EfcEa452E4B6B75e
Arg [1] : _startTime (uint256): 1763042400
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000001102471eb3378fee427121c9efcea452e4b6b75e
Arg [1] : 000000000000000000000000000000000000000000000000000000006915e460
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.