S Price: $0.44104 (+3.28%)

Token

FOG (FOG)

Overview

Max Total Supply

1 FOG

Holders

8

Market

Price

$0.00 @ 0.000000 S

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 FOG

Value
$0.00
0xf9f9382908add14ae5e00c496a0eed43fc55a01f
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
FOG

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion
File 1 of 1 : FOG.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.28;

interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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;
    }
}

interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

    mapping(address account => mapping(address spender => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     *
     * ```solidity
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance < type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)
/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys a `value` amount of tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 value) public virtual {
        _burn(_msgSender(), value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, deducting from
     * the caller's allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `value`.
     */
    function burnFrom(address account, uint256 value) public virtual {
        _spendAllowance(account, _msgSender(), value);
        _burn(account, value);
    }
}

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Capped.sol)
/**
 * @dev Extension of {ERC20} that adds a cap to the supply of tokens.
 */
abstract contract ERC20Capped is ERC20 {
    uint256 private immutable _cap;

    /**
     * @dev Total supply cap has been exceeded.
     */
    error ERC20ExceededCap(uint256 increasedSupply, uint256 cap);

    /**
     * @dev The supplied cap is not a valid cap.
     */
    error ERC20InvalidCap(uint256 cap);

    /**
     * @dev Sets the value of the `cap`. This value is immutable, it can only be
     * set once during construction.
     */
    constructor(uint256 cap_) {
        if (cap_ == 0) {
            revert ERC20InvalidCap(0);
        }
        _cap = cap_;
    }

    /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap() public view virtual returns (uint256) {
        return _cap;
    }

    /**
     * @dev See {ERC20-_update}.
     */
    function _update(address from, address to, uint256 value) internal virtual override {
        super._update(from, to, value);

        if (from == address(0)) {
            uint256 maxSupply = cap();
            uint256 supply = totalSupply();
            if (supply > maxSupply) {
                revert ERC20ExceededCap(supply, maxSupply);
            }
        }
    }
}

// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)
/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */

// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
/**
 * @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.
 */

// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.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);
    }
}

abstract contract Operator is Context, Ownable {
    address private _operator;

    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);

    constructor() Ownable(_msgSender()) {
        _operator = _msgSender();
        emit OperatorTransferred(address(0), _operator);
    }

    function operator() public view returns (address) {
        return _operator;
    }

    modifier onlyOperator() {
        require(_operator == msg.sender, "operator: caller is not the operator");
        _;
    }

    function isOperator() public view returns (bool) {
        return _msgSender() == _operator;
    }

    function transferOperator(address newOperator_) public onlyOwner {
        _transferOperator(newOperator_);
    }

    function _transferOperator(address newOperator_) internal {
        require(newOperator_ != address(0), "operator: zero address given for new operator");
        emit OperatorTransferred(_operator, newOperator_);
        _operator = newOperator_;
    }

    function _renounceOperator() public onlyOwner {
        emit OperatorTransferred(_operator, address(0));
        _operator = address(0);
    }
}

interface IEpoch {
    function epoch() external view returns (uint256);

    function nextEpochPoint() external view returns (uint256);

    function nextEpochLength() external view returns (uint256);
}

interface ITreasury is IEpoch {
    function getPegTokenPrice(address _token) external view returns (uint256);

    function getPegTokenUpdatedPrice(address _token) external view returns (uint256);

    function getPegTokenLockedBalance(address _token) external view returns (uint256);

    function getPegTokenCirculatingSupply(address _token) external view returns (uint256);

    function getPegTokenExpansionRate(address _token) external view returns (uint256);

    function getPegTokenExpansionAmount(address _token) external view returns (uint256);

    function boardroom() external view returns (address);

    function boardroomSharedPercent() external view returns (uint256);

    function pegStabilizationReserves() external view returns (address);

    function pegStabilizationReservesSharedPercent() external view returns (uint256);

    function devFund() external view returns (address);

    function devFundSharedPercent() external view returns (uint256);

    function isTokenPrinter(address token, address account) external view returns (bool);

    function priceOne() external view returns (uint256);

    function priceCeiling() external view returns (uint256);

    function fog() external view returns (address);

    function fogOracle() external view returns (address);
}

/**
 * @title FOG
 * @dev A burnable, capped ERC20 token with a dynamic (time-based) cap.
 *      The cap increases linearly over a vesting period, and burned tokens permanently reduce minting space.
 */
contract FOG is ERC20Burnable, ERC20Capped, Operator {
    // Total supply parameters (using 18 decimals)
    uint256 public constant TOTAL_MAX_SUPPLY = 10000 ether; // 10K FOG
    uint256 public constant GENESIS_SUPPLY = 1 ether; // 1 RED minted at deployment

    // Allocation constants
    uint256 public constant LIQUIDITY_MINING_PROGRAM_ALLOCATION = 6000 ether; // 60%
    uint256 public constant PEG_STABILIZATION_RESERVES_ALLOCATION = 3000 ether; // 30%
    uint256 public constant DEV_FUND_ALLOCATION = 999 ether; // ~10% (accounting for genesis supply)

    // Vesting duration for additional minting (730 days = 2 years)
    uint256 public constant VESTING_DURATION = 730 days;

    address public treasury;

    // Vesting and reward distribution timing
    uint256 public startTime;
    uint256 public vestingEndTime;
    uint256 public lastClaimedTime;

    // Reward rates (tokens per second)
    uint256 public pegStabilizationReservesRewardRate;
    uint256 public devFundRewardRate;

    // Fund addresses
    address public pegStabilizationReserves;
    address public devFund;

    // Minting rate for new tokens (per second) over the vesting period
    uint256 public mintingRate;

    // Total tokens burned (which reduce minting space)
    uint256 public totalBurned;

    event TreasuryUpdated(address indexed newTreasury);

    /**
     * @dev Modifier to restrict functions to treasury or share printers.
     */
    modifier onlyPrinter() {
        require(treasury == msg.sender || ITreasury(treasury).isTokenPrinter(address(this), msg.sender), "!printer");
        _;
    }

    /**
     * @notice Constructor sets up the token, vesting schedule, and reward rates.
     * @param _startTime The timestamp when vesting starts.
     * @param _pegStabilizationReserves Address for DAO Fund rewards.
     * @param _pegStabilizationReserves Address for Collateral Pool rewards.
     * @param _devFund Address for Dev Fund rewards.
     */
    constructor(uint256 _startTime, address _pegStabilizationReserves, address _devFund) ERC20Capped(TOTAL_MAX_SUPPLY) ERC20("FOG", "FOG") {
        _mint(msg.sender, GENESIS_SUPPLY);

        startTime = _startTime; // 1742040000 - March 15, 2025, 12:00 PM UTC
        vestingEndTime = _startTime + VESTING_DURATION;
        lastClaimedTime = _startTime;

        pegStabilizationReservesRewardRate = PEG_STABILIZATION_RESERVES_ALLOCATION / VESTING_DURATION;
        devFundRewardRate = DEV_FUND_ALLOCATION / VESTING_DURATION;

        mintingRate = (TOTAL_MAX_SUPPLY - GENESIS_SUPPLY) / VESTING_DURATION;

        require(_pegStabilizationReserves != address(0), "Invalid pegStabilizationReserves address");
        pegStabilizationReserves = _pegStabilizationReserves;
        require(_devFund != address(0), "Invalid devFund address");
        devFund = _devFund;
    }

    function setTreasuryAddress(address _treasury) public onlyOwner {
        require(_treasury != address(0), "Treasury cannot be zero");
        treasury = _treasury;
        emit TreasuryUpdated(_treasury);
    }

    function setPegStabilizationReserves(address _pegStabilizationReserves) external onlyOwner {
        require(_pegStabilizationReserves != address(0), "pegStabilizationReserves cannot be zero");
        pegStabilizationReserves = _pegStabilizationReserves;
    }

    function setDevFund(address _devFund) external onlyOwner {
        require(_devFund != address(0), "devFund cannot be zero");
        devFund = _devFund;
    }

    /* ========== VIEWS ================ */

    /**
     * @notice Returns the dynamic cap on the token's total supply.
     *         The cap increases linearly over the vesting period and is reduced by burned tokens.
     */
    function cap() public view override returns (uint256) {
        uint256 currentTime = block.timestamp;
        if (currentTime <= startTime) {
            return GENESIS_SUPPLY;
        }
        if (currentTime > vestingEndTime) {
            currentTime = vestingEndTime;
        }
        uint256 dynamicCap = GENESIS_SUPPLY + ((currentTime + 1 - startTime) * mintingRate);
        // Adjust for tokens burned
        if (dynamicCap <= totalBurned) {
            return 0;
        } else {
            dynamicCap -= totalBurned;
        }
        if (dynamicCap > TOTAL_MAX_SUPPLY) {
            dynamicCap = TOTAL_MAX_SUPPLY;
        }
        return dynamicCap;
    }

    /**
     * @notice Returns the pending rewards for DAO, Collateral, and Dev funds since the last claim.
     */
    function unclaimedFunds() public view returns (uint256 pendingReserves, uint256 pendingDev) {
        uint256 currentTime = block.timestamp;
        if (currentTime > vestingEndTime) {
            currentTime = vestingEndTime;
        }
        if (lastClaimedTime < currentTime) {
            uint256 elapsed = currentTime - lastClaimedTime;
            pendingReserves = elapsed * pegStabilizationReservesRewardRate;
            pendingDev = elapsed * devFundRewardRate;
        }
    }

    /* ========== MUTATIVE FUNCTIONS ========== */

    /**
     * @notice Claims pending rewards and mints tokens to the DAO, Collateral, and Dev funds.
     */
    function claimRewards() external {
        (uint256 _pendingReserves, uint256 _pendingDev) = unclaimedFunds();
        if (_pendingReserves > 0) {
            _mint(pegStabilizationReserves, _pendingReserves);
        }
        if (_pendingDev > 0) {
            _mint(devFund, _pendingDev);
        }
        lastClaimedTime = block.timestamp;
    }

    /**
     * @notice Mints new tokens to a recipient, respecting the dynamic cap.
     * @param recipient_ The address receiving the minted tokens.
     * @param amount_ The requested amount to mint.
     * @return True if tokens were minted.
     */
    function mint(address recipient_, uint256 amount_) public onlyPrinter returns (bool) {
        uint256 currentSupply = totalSupply();
        uint256 maxSupply = cap();
        if (currentSupply > maxSupply) return false;
        if (currentSupply + amount_ > maxSupply) {
            amount_ = maxSupply - currentSupply;
        }
        uint256 balanceBefore = balanceOf(recipient_);
        _mint(recipient_, amount_);
        return balanceOf(recipient_) > balanceBefore;
    }

    /**
     * @notice Burns tokens and updates totalBurned.
     * @param amount The amount to burn.
     */
    function burn(uint256 amount) public override {
        totalBurned += amount;
        super.burn(amount);
    }

    /**
     * @dev Override _update to use the ERC20Capped version.
     */
    function _update(address from, address to, uint256 value) internal override(ERC20, ERC20Capped) {
        ERC20Capped._update(from, to, value);
    }

    /**
     * @notice Allows the owner to recover unsupported tokens.
     * @param token The ERC20 token to recover.
     * @param amount The amount to recover.
     * @param to The address to receive the tokens.
     */
    function governanceRecoverUnsupported(IERC20 token, uint256 amount, address to) external onlyOwner {
        require(to != address(0), "Cannot transfer to zero address");
        token.transfer(to, amount);
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 999999
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "remappings": []
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"address","name":"_pegStabilizationReserves","type":"address"},{"internalType":"address","name":"_devFund","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"increasedSupply","type":"uint256"},{"internalType":"uint256","name":"cap","type":"uint256"}],"name":"ERC20ExceededCap","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"uint256","name":"cap","type":"uint256"}],"name":"ERC20InvalidCap","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","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":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newTreasury","type":"address"}],"name":"TreasuryUpdated","type":"event"},{"inputs":[],"name":"DEV_FUND_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GENESIS_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LIQUIDITY_MINING_PROGRAM_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PEG_STABILIZATION_RESERVES_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VESTING_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_renounceOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFundRewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastClaimedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pegStabilizationReserves","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pegStabilizationReservesRewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devFund","type":"address"}],"name":"setDevFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pegStabilizationReserves","type":"address"}],"name":"setPegStabilizationReserves","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator_","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unclaimedFunds","outputs":[{"internalType":"uint256","name":"pendingReserves","type":"uint256"},{"internalType":"uint256","name":"pendingDev","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60a060405234801561000f575f5ffd5b5060405161215938038061215983398101604081905261002e91610591565b33604080518082018252600380825262464f4760e81b6020808401829052845180860190955282855284015269021e19e0c9bab24000009290610071838261065a565b50600461007e828261065a565b505050805f036100a85760405163392e1e2760e01b81525f60048201526024015b60405180910390fd5b6080526001600160a01b0381166100d457604051631e4fbdf760e01b81525f600482015260240161009f565b6100dd816102a9565b50600680546001600160a01b031916339081179091556040515f907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a361012f33670de0b6b3a76400006102fa565b60088390556101426303c2670084610728565b600955600a8390556101616303c2670068a2a15d09519be0000061073b565b600b5561017b6303c26700683627e8f712373c000061073b565b600c556303c2670061019f670de0b6b3a764000069021e19e0c9bab240000061075a565b6101a9919061073b565b600f556001600160a01b0382166102135760405162461bcd60e51b815260206004820152602860248201527f496e76616c69642070656753746162696c697a6174696f6e5265736572766573604482015267206164647265737360c01b606482015260840161009f565b600d80546001600160a01b0319166001600160a01b038481169190911790915581166102815760405162461bcd60e51b815260206004820152601760248201527f496e76616c69642064657646756e642061646472657373000000000000000000604482015260640161009f565b600e80546001600160a01b0319166001600160a01b0392909216919091179055506107849050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166103235760405163ec442f0560e01b81525f600482015260240161009f565b61032e5f8383610332565b5050565b61033d838383610342565b505050565b61034d8383836103a4565b6001600160a01b03831661033d575f6103646104ca565b90505f61037060025490565b90508181111561039d5760405163279e7e1560e21b8152600481018290526024810183905260440161009f565b5050505050565b6001600160a01b0383166103ce578060025f8282546103c39190610728565b9091555061043e9050565b6001600160a01b0383165f90815260208190526040902054818110156104205760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161009f565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661045a57600280548290039055610478565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516104bd91815260200190565b60405180910390a3505050565b6008545f90429081116104e657670de0b6b3a764000091505090565b6009548111156104f557506009545b5f600f546008548360016105099190610728565b610513919061075a565b61051d919061076d565b61052f90670de0b6b3a7640000610728565b90506010548111610542575f9250505090565b60105461054f908261075a565b905069021e19e0c9bab2400000811115610570575069021e19e0c9bab24000005b92915050565b80516001600160a01b038116811461058c575f5ffd5b919050565b5f5f5f606084860312156105a3575f5ffd5b835192506105b360208501610576565b91506105c160408501610576565b90509250925092565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806105f257607f821691505b60208210810361061057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561033d57805f5260205f20601f840160051c8101602085101561063b5750805b601f840160051c820191505b8181101561039d575f8155600101610647565b81516001600160401b03811115610673576106736105ca565b6106878161068184546105de565b84610616565b6020601f8211600181146106b9575f83156106a25750848201515b5f19600385901b1c1916600184901b17845561039d565b5f84815260208120601f198516915b828110156106e857878501518255602094850194600190920191016106c8565b508482101561070557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561057057610570610714565b5f8261075557634e487b7160e01b5f52601260045260245ffd5b500490565b8181038181111561057057610570610714565b808202811582820484141761057057610570610714565b6080516119c06107995f395f50506119c05ff3fe608060405234801561000f575f5ffd5b50600436106102cd575f3560e01c80636605bfda1161017c57806399ec6765116100dd578063bd61ea7911610093578063dd62ed3e1161006e578063dd62ed3e146105d0578063f2fde38b14610615578063fe34b92f14610628575f5ffd5b8063bd61ea7914610597578063d89135cd146105b7578063d959f0b0146105c0575f5ffd5b8063a9059cbb116100c3578063a9059cbb14610560578063ae4db91914610573578063b89dbdcd14610586575f5ffd5b806399ec6765146105485780639f7ff88914610557575f5ffd5b806384e09fd6116101325780638a27f103116101185780638a27f1031461051a5780638da5cb5b1461052257806395d89b4114610540575f5ffd5b806384e09fd61461050157806386fab45e14610511575f5ffd5b8063715018a611610162578063715018a6146104dd57806378e97925146104e557806379cc6790146104ee575f5ffd5b80636605bfda1461049557806370a08231146104a8575f5ffd5b8063372500ab116102315780634b96f52a116101e7578063570ca735116101c2578063570ca7351461044657806361d027b31461046457806365b1de2014610484575f5ffd5b80634b96f52a146104155780634cfc4d301461042857806354575af414610433575f5ffd5b806342966c681161021757806342966c681461039d5780634390d2a8146103b05780634456eda2146103f5575f5ffd5b8063372500ab1461038257806340c10f191461038a575f5ffd5b806329605e7711610286578063313ce5671161026c578063313ce5671461036257806334b9558e14610371578063355274ea1461037a575f5ffd5b806329605e77146103445780632e3367ce14610359575f5ffd5b8063095ea7b3116102b6578063095ea7b31461030657806318160ddd1461032957806323b872dd14610331575f5ffd5b806306fdde03146102d157806308b6abea146102ef575b5f5ffd5b6102d9610645565b6040516102e69190611725565b60405180910390f35b6102f8600b5481565b6040519081526020016102e6565b610319610314366004611799565b6106d5565b60405190151581526020016102e6565b6002546102f8565b61031961033f3660046117c3565b6106ee565b610357610352366004611801565b610711565b005b6102f8600c5481565b604051601281526020016102e6565b6102f8600a5481565b6102f8610725565b6103576107d0565b610319610398366004611799565b610839565b6103576103ab366004611823565b610a0a565b600e546103d09073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102e6565b60065473ffffffffffffffffffffffffffffffffffffffff163314610319565b610357610423366004611801565b610a2a565b6102f86303c2670081565b61035761044136600461183a565b610b1c565b60065473ffffffffffffffffffffffffffffffffffffffff166103d0565b6007546103d09073ffffffffffffffffffffffffffffffffffffffff1681565b6102f869021e19e0c9bab240000081565b6103576104a3366004611801565b610c3d565b6102f86104b6366004611801565b73ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205490565b610357610d30565b6102f860085481565b6103576104fc366004611799565b610d43565b6102f8683627e8f712373c000081565b6102f860095481565b610357610d5c565b60055473ffffffffffffffffffffffffffffffffffffffff166103d0565b6102d9610dd2565b6102f8670de0b6b3a764000081565b6102f8600f5481565b61031961056e366004611799565b610de1565b610357610581366004611801565b610dee565b6102f869014542ba12a337c0000081565b600d546103d09073ffffffffffffffffffffffffffffffffffffffff1681565b6102f860105481565b6102f868a2a15d09519be0000081565b6102f86105de366004611879565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260016020908152604080832093909416825291909152205490565b610357610623366004611801565b610eba565b610630610f1a565b604080519283526020830191909152016102e6565b606060038054610654906118b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610680906118b0565b80156106cb5780601f106106a2576101008083540402835291602001916106cb565b820191905f5260205f20905b8154815290600101906020018083116106ae57829003601f168201915b5050505050905090565b5f336106e2818585610f71565b60019150505b92915050565b5f336106fb858285610f83565b61070685858561104b565b506001949350505050565b6107196110f4565b61072281611147565b50565b6008545f904290811161074157670de0b6b3a764000091505090565b60095481111561075057506009545b5f600f54600854836001610764919061192e565b61076e9190611941565b6107789190611954565b61078a90670de0b6b3a764000061192e565b9050601054811161079d575f9250505090565b6010546107aa9082611941565b905069021e19e0c9bab24000008111156106e8575069021e19e0c9bab240000092915050565b5f5f6107da610f1a565b9092509050811561080857600d546108089073ffffffffffffffffffffffffffffffffffffffff1683611277565b801561083157600e546108319073ffffffffffffffffffffffffffffffffffffffff1682611277565b505042600a55565b6007545f9073ffffffffffffffffffffffffffffffffffffffff163314806108f257506007546040517fb7880a9300000000000000000000000000000000000000000000000000000000815230600482015233602482015273ffffffffffffffffffffffffffffffffffffffff9091169063b7880a9390604401602060405180830381865afa1580156108ce573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f2919061196b565b61095d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f217072696e74657200000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b5f61096760025490565b90505f610972610725565b905080821115610986575f925050506106e8565b80610991858461192e565b11156109a4576109a18282611941565b93505b73ffffffffffffffffffffffffffffffffffffffff85165f908152602081905260409020546109d38686611277565b806109ff8773ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205490565b119695505050505050565b8060105f828254610a1b919061192e565b909155506107229050816112d1565b610a326110f4565b73ffffffffffffffffffffffffffffffffffffffff8116610ad5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f70656753746162696c697a6174696f6e52657365727665732063616e6e6f742060448201527f6265207a65726f000000000000000000000000000000000000000000000000006064820152608401610954565b600d80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610b246110f4565b73ffffffffffffffffffffffffffffffffffffffff8116610ba1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f43616e6e6f74207472616e7366657220746f207a65726f2061646472657373006044820152606401610954565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301526024820184905284169063a9059cbb906044016020604051808303815f875af1158015610c13573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c37919061196b565b50505050565b610c456110f4565b73ffffffffffffffffffffffffffffffffffffffff8116610cc2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f54726561737572792063616e6e6f74206265207a65726f0000000000000000006044820152606401610954565b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d1905f90a250565b610d386110f4565b610d415f6112db565b565b610d4e823383610f83565b610d588282611351565b5050565b610d646110f4565b6006546040515f9173ffffffffffffffffffffffffffffffffffffffff16907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908390a3600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b606060048054610654906118b0565b5f336106e281858561104b565b610df66110f4565b73ffffffffffffffffffffffffffffffffffffffff8116610e73576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f64657646756e642063616e6e6f74206265207a65726f000000000000000000006044820152606401610954565b600e80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610ec26110f4565b73ffffffffffffffffffffffffffffffffffffffff8116610f11576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081525f6004820152602401610954565b610722816112db565b5f5f5f429050600954811115610f2f57506009545b80600a541015610f6c575f600a5482610f489190611941565b9050600b5481610f589190611954565b9350600c5481610f689190611954565b9250505b509091565b610f7e83838360016113ab565b505050565b73ffffffffffffffffffffffffffffffffffffffff8381165f908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015610c37578181101561103d576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201526024810182905260448101839052606401610954565b610c3784848484035f6113ab565b73ffffffffffffffffffffffffffffffffffffffff831661109a576040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081525f6004820152602401610954565b73ffffffffffffffffffffffffffffffffffffffff82166110e9576040517fec442f050000000000000000000000000000000000000000000000000000000081525f6004820152602401610954565b610f7e8383836114f0565b60055473ffffffffffffffffffffffffffffffffffffffff163314610d41576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610954565b73ffffffffffffffffffffffffffffffffffffffff81166111ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260448201527f206e6577206f70657261746f72000000000000000000000000000000000000006064820152608401610954565b60065460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed905f90a3600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff82166112c6576040517fec442f050000000000000000000000000000000000000000000000000000000081525f6004820152602401610954565b610d585f83836114f0565b6107223382611351565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b73ffffffffffffffffffffffffffffffffffffffff82166113a0576040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081525f6004820152602401610954565b610d58825f836114f0565b73ffffffffffffffffffffffffffffffffffffffff84166113fa576040517fe602df050000000000000000000000000000000000000000000000000000000081525f6004820152602401610954565b73ffffffffffffffffffffffffffffffffffffffff8316611449576040517f94280d620000000000000000000000000000000000000000000000000000000081525f6004820152602401610954565b73ffffffffffffffffffffffffffffffffffffffff8085165f9081526001602090815260408083209387168352929052208290558015610c37578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516114e291815260200190565b60405180910390a350505050565b610f7e83838361150183838361157e565b73ffffffffffffffffffffffffffffffffffffffff8316610f7e575f611525610725565b90505f61153160025490565b905081811115611577576040517f9e79f8540000000000000000000000000000000000000000000000000000000081526004810182905260248101839052604401610954565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff83166115b5578060025f8282546115aa919061192e565b909155506116659050565b73ffffffffffffffffffffffffffffffffffffffff83165f908152602081905260409020548181101561163a576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851660048201526024810182905260448101839052606401610954565b73ffffffffffffffffffffffffffffffffffffffff84165f9081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff821661168e576002805482900390556116b9565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161171891815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f6040828501015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011684010191505092915050565b73ffffffffffffffffffffffffffffffffffffffff81168114610722575f5ffd5b5f5f604083850312156117aa575f5ffd5b82356117b581611778565b946020939093013593505050565b5f5f5f606084860312156117d5575f5ffd5b83356117e081611778565b925060208401356117f081611778565b929592945050506040919091013590565b5f60208284031215611811575f5ffd5b813561181c81611778565b9392505050565b5f60208284031215611833575f5ffd5b5035919050565b5f5f5f6060848603121561184c575f5ffd5b833561185781611778565b925060208401359150604084013561186e81611778565b809150509250925092565b5f5f6040838503121561188a575f5ffd5b823561189581611778565b915060208301356118a581611778565b809150509250929050565b600181811c908216806118c457607f821691505b6020821081036118fb577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b808201808211156106e8576106e8611901565b818103818111156106e8576106e8611901565b80820281158282048414176106e8576106e8611901565b5f6020828403121561197b575f5ffd5b8151801515811461181c575f5ffdfea26469706673582212209bab473c6c481282eded04aae15d41ac7bd2ad0e9c6ae79cc9ec869f99bfaf0c64736f6c634300081c00330000000000000000000000000000000000000000000000000000000067d2c8c0000000000000000000000000f9f9382908add14ae5e00c496a0eed43fc55a01f00000000000000000000000011d92bf4bbb47bccec97c5d64381737a1bfa45a1

Deployed Bytecode

0x608060405234801561000f575f5ffd5b50600436106102cd575f3560e01c80636605bfda1161017c57806399ec6765116100dd578063bd61ea7911610093578063dd62ed3e1161006e578063dd62ed3e146105d0578063f2fde38b14610615578063fe34b92f14610628575f5ffd5b8063bd61ea7914610597578063d89135cd146105b7578063d959f0b0146105c0575f5ffd5b8063a9059cbb116100c3578063a9059cbb14610560578063ae4db91914610573578063b89dbdcd14610586575f5ffd5b806399ec6765146105485780639f7ff88914610557575f5ffd5b806384e09fd6116101325780638a27f103116101185780638a27f1031461051a5780638da5cb5b1461052257806395d89b4114610540575f5ffd5b806384e09fd61461050157806386fab45e14610511575f5ffd5b8063715018a611610162578063715018a6146104dd57806378e97925146104e557806379cc6790146104ee575f5ffd5b80636605bfda1461049557806370a08231146104a8575f5ffd5b8063372500ab116102315780634b96f52a116101e7578063570ca735116101c2578063570ca7351461044657806361d027b31461046457806365b1de2014610484575f5ffd5b80634b96f52a146104155780634cfc4d301461042857806354575af414610433575f5ffd5b806342966c681161021757806342966c681461039d5780634390d2a8146103b05780634456eda2146103f5575f5ffd5b8063372500ab1461038257806340c10f191461038a575f5ffd5b806329605e7711610286578063313ce5671161026c578063313ce5671461036257806334b9558e14610371578063355274ea1461037a575f5ffd5b806329605e77146103445780632e3367ce14610359575f5ffd5b8063095ea7b3116102b6578063095ea7b31461030657806318160ddd1461032957806323b872dd14610331575f5ffd5b806306fdde03146102d157806308b6abea146102ef575b5f5ffd5b6102d9610645565b6040516102e69190611725565b60405180910390f35b6102f8600b5481565b6040519081526020016102e6565b610319610314366004611799565b6106d5565b60405190151581526020016102e6565b6002546102f8565b61031961033f3660046117c3565b6106ee565b610357610352366004611801565b610711565b005b6102f8600c5481565b604051601281526020016102e6565b6102f8600a5481565b6102f8610725565b6103576107d0565b610319610398366004611799565b610839565b6103576103ab366004611823565b610a0a565b600e546103d09073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016102e6565b60065473ffffffffffffffffffffffffffffffffffffffff163314610319565b610357610423366004611801565b610a2a565b6102f86303c2670081565b61035761044136600461183a565b610b1c565b60065473ffffffffffffffffffffffffffffffffffffffff166103d0565b6007546103d09073ffffffffffffffffffffffffffffffffffffffff1681565b6102f869021e19e0c9bab240000081565b6103576104a3366004611801565b610c3d565b6102f86104b6366004611801565b73ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205490565b610357610d30565b6102f860085481565b6103576104fc366004611799565b610d43565b6102f8683627e8f712373c000081565b6102f860095481565b610357610d5c565b60055473ffffffffffffffffffffffffffffffffffffffff166103d0565b6102d9610dd2565b6102f8670de0b6b3a764000081565b6102f8600f5481565b61031961056e366004611799565b610de1565b610357610581366004611801565b610dee565b6102f869014542ba12a337c0000081565b600d546103d09073ffffffffffffffffffffffffffffffffffffffff1681565b6102f860105481565b6102f868a2a15d09519be0000081565b6102f86105de366004611879565b73ffffffffffffffffffffffffffffffffffffffff9182165f90815260016020908152604080832093909416825291909152205490565b610357610623366004611801565b610eba565b610630610f1a565b604080519283526020830191909152016102e6565b606060038054610654906118b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610680906118b0565b80156106cb5780601f106106a2576101008083540402835291602001916106cb565b820191905f5260205f20905b8154815290600101906020018083116106ae57829003601f168201915b5050505050905090565b5f336106e2818585610f71565b60019150505b92915050565b5f336106fb858285610f83565b61070685858561104b565b506001949350505050565b6107196110f4565b61072281611147565b50565b6008545f904290811161074157670de0b6b3a764000091505090565b60095481111561075057506009545b5f600f54600854836001610764919061192e565b61076e9190611941565b6107789190611954565b61078a90670de0b6b3a764000061192e565b9050601054811161079d575f9250505090565b6010546107aa9082611941565b905069021e19e0c9bab24000008111156106e8575069021e19e0c9bab240000092915050565b5f5f6107da610f1a565b9092509050811561080857600d546108089073ffffffffffffffffffffffffffffffffffffffff1683611277565b801561083157600e546108319073ffffffffffffffffffffffffffffffffffffffff1682611277565b505042600a55565b6007545f9073ffffffffffffffffffffffffffffffffffffffff163314806108f257506007546040517fb7880a9300000000000000000000000000000000000000000000000000000000815230600482015233602482015273ffffffffffffffffffffffffffffffffffffffff9091169063b7880a9390604401602060405180830381865afa1580156108ce573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f2919061196b565b61095d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f217072696e74657200000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b5f61096760025490565b90505f610972610725565b905080821115610986575f925050506106e8565b80610991858461192e565b11156109a4576109a18282611941565b93505b73ffffffffffffffffffffffffffffffffffffffff85165f908152602081905260409020546109d38686611277565b806109ff8773ffffffffffffffffffffffffffffffffffffffff165f9081526020819052604090205490565b119695505050505050565b8060105f828254610a1b919061192e565b909155506107229050816112d1565b610a326110f4565b73ffffffffffffffffffffffffffffffffffffffff8116610ad5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f70656753746162696c697a6174696f6e52657365727665732063616e6e6f742060448201527f6265207a65726f000000000000000000000000000000000000000000000000006064820152608401610954565b600d80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610b246110f4565b73ffffffffffffffffffffffffffffffffffffffff8116610ba1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f43616e6e6f74207472616e7366657220746f207a65726f2061646472657373006044820152606401610954565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82811660048301526024820184905284169063a9059cbb906044016020604051808303815f875af1158015610c13573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c37919061196b565b50505050565b610c456110f4565b73ffffffffffffffffffffffffffffffffffffffff8116610cc2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f54726561737572792063616e6e6f74206265207a65726f0000000000000000006044820152606401610954565b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040517f7dae230f18360d76a040c81f050aa14eb9d6dc7901b20fc5d855e2a20fe814d1905f90a250565b610d386110f4565b610d415f6112db565b565b610d4e823383610f83565b610d588282611351565b5050565b610d646110f4565b6006546040515f9173ffffffffffffffffffffffffffffffffffffffff16907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908390a3600680547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b606060048054610654906118b0565b5f336106e281858561104b565b610df66110f4565b73ffffffffffffffffffffffffffffffffffffffff8116610e73576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f64657646756e642063616e6e6f74206265207a65726f000000000000000000006044820152606401610954565b600e80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610ec26110f4565b73ffffffffffffffffffffffffffffffffffffffff8116610f11576040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081525f6004820152602401610954565b610722816112db565b5f5f5f429050600954811115610f2f57506009545b80600a541015610f6c575f600a5482610f489190611941565b9050600b5481610f589190611954565b9350600c5481610f689190611954565b9250505b509091565b610f7e83838360016113ab565b505050565b73ffffffffffffffffffffffffffffffffffffffff8381165f908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015610c37578181101561103d576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201526024810182905260448101839052606401610954565b610c3784848484035f6113ab565b73ffffffffffffffffffffffffffffffffffffffff831661109a576040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081525f6004820152602401610954565b73ffffffffffffffffffffffffffffffffffffffff82166110e9576040517fec442f050000000000000000000000000000000000000000000000000000000081525f6004820152602401610954565b610f7e8383836114f0565b60055473ffffffffffffffffffffffffffffffffffffffff163314610d41576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610954565b73ffffffffffffffffffffffffffffffffffffffff81166111ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f6f70657261746f723a207a65726f206164647265737320676976656e20666f7260448201527f206e6577206f70657261746f72000000000000000000000000000000000000006064820152608401610954565b60065460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed905f90a3600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b73ffffffffffffffffffffffffffffffffffffffff82166112c6576040517fec442f050000000000000000000000000000000000000000000000000000000081525f6004820152602401610954565b610d585f83836114f0565b6107223382611351565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b73ffffffffffffffffffffffffffffffffffffffff82166113a0576040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081525f6004820152602401610954565b610d58825f836114f0565b73ffffffffffffffffffffffffffffffffffffffff84166113fa576040517fe602df050000000000000000000000000000000000000000000000000000000081525f6004820152602401610954565b73ffffffffffffffffffffffffffffffffffffffff8316611449576040517f94280d620000000000000000000000000000000000000000000000000000000081525f6004820152602401610954565b73ffffffffffffffffffffffffffffffffffffffff8085165f9081526001602090815260408083209387168352929052208290558015610c37578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516114e291815260200190565b60405180910390a350505050565b610f7e83838361150183838361157e565b73ffffffffffffffffffffffffffffffffffffffff8316610f7e575f611525610725565b90505f61153160025490565b905081811115611577576040517f9e79f8540000000000000000000000000000000000000000000000000000000081526004810182905260248101839052604401610954565b5050505050565b73ffffffffffffffffffffffffffffffffffffffff83166115b5578060025f8282546115aa919061192e565b909155506116659050565b73ffffffffffffffffffffffffffffffffffffffff83165f908152602081905260409020548181101561163a576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851660048201526024810182905260448101839052606401610954565b73ffffffffffffffffffffffffffffffffffffffff84165f9081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff821661168e576002805482900390556116b9565b73ffffffffffffffffffffffffffffffffffffffff82165f9081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161171891815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f6040828501015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011684010191505092915050565b73ffffffffffffffffffffffffffffffffffffffff81168114610722575f5ffd5b5f5f604083850312156117aa575f5ffd5b82356117b581611778565b946020939093013593505050565b5f5f5f606084860312156117d5575f5ffd5b83356117e081611778565b925060208401356117f081611778565b929592945050506040919091013590565b5f60208284031215611811575f5ffd5b813561181c81611778565b9392505050565b5f60208284031215611833575f5ffd5b5035919050565b5f5f5f6060848603121561184c575f5ffd5b833561185781611778565b925060208401359150604084013561186e81611778565b809150509250925092565b5f5f6040838503121561188a575f5ffd5b823561189581611778565b915060208301356118a581611778565b809150509250929050565b600181811c908216806118c457607f821691505b6020821081036118fb577f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b808201808211156106e8576106e8611901565b818103818111156106e8576106e8611901565b80820281158282048414176106e8576106e8611901565b5f6020828403121561197b575f5ffd5b8151801515811461181c575f5ffdfea26469706673582212209bab473c6c481282eded04aae15d41ac7bd2ad0e9c6ae79cc9ec869f99bfaf0c64736f6c634300081c0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000067d2c8c0000000000000000000000000f9f9382908add14ae5e00c496a0eed43fc55a01f00000000000000000000000011d92bf4bbb47bccec97c5d64381737a1bfa45a1

-----Decoded View---------------
Arg [0] : _startTime (uint256): 1741867200
Arg [1] : _pegStabilizationReserves (address): 0xF9f9382908ADD14Ae5e00c496a0eed43fC55A01F
Arg [2] : _devFund (address): 0x11D92bF4bBB47bCceC97C5d64381737a1bFA45A1

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000067d2c8c0
Arg [1] : 000000000000000000000000f9f9382908add14ae5e00c496a0eed43fc55a01f
Arg [2] : 00000000000000000000000011d92bf4bbb47bccec97c5d64381737a1bfa45a1


[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.