false
true
0

Contract Address Details

0x06D081AD78EdE8c0f9241f2fc94c6d63153304e8

Contract Name
AuctionAdmin
Creator
0x99ab03–301446 at 0xc5ddc5–b5ebdc
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
Fetching transactions...
Transfers
Fetching transfers...
Gas Used
Fetching gas used...
Last Balance Update
25888975
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
AuctionAdmin




Optimization enabled
true
Compiler version
v0.8.20+commit.a1b79de6




Optimization runs
200
EVM Version
paris




Verified at
2026-02-25T19:19:26.660171Z

Constructor Arguments

0000000000000000000000003e9a5b61d88782dce7267642417cbab05e801c250000000000000000000000000f7f24c7f22e2ca7052f051a295e1a5d3369cace

Arg [0] (address) : 0x3e9a5b61d88782dce7267642417cbab05e801c25
Arg [1] (address) : 0x0f7f24c7f22e2ca7052f051a295e1a5d3369cace

              

src/AuctionAdmin.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import {TOKEN_V3} from "./Tokens.sol";
import "./interfaces/ISWAP_V3.sol";
import "./libraries/TimeUtilsLib.sol";

interface IPulseXFactory {
    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

interface IPulseXRouter02 {
    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity);
}

interface IDAV {
    function transferGovernanceImmediate(address newGovernance) external;
}

interface IBuyAndBurnController {
    function transferGovernanceByAdmin(address newGovernance) external;
}

/**
 * @title AuctionAdmin
 * @author State Protocol Team
 * @notice Administrative contract managing auction operations, token deployment, and fee distribution
 * @dev Handles governance transfers, development fee wallet management, and token deployment
 * @custom:governance 7-day timelock for governance transfers across all protocol contracts
 * @custom:fees Distributes DAV minting fees (5% PLS) and auction fees (0.5%) to dev wallets
 * @custom:wallets Maximum 5 development fee wallets, percentages must sum to 100
 * @custom:centralization Single governance address controls protocol - intended for launchpad model with timelock protection
 */
contract AuctionAdmin is Ownable, ReentrancyGuard {
    using SafeERC20 for IERC20;

    ISWAP_V3 public mainContract;
    address public governance;
    
    // ================= Governance Transfer System =================
    
    /// @notice Pending governance proposal with timelock
    struct GovernanceProposal {
        address newGovernance;
        uint256 timestamp;
    }
    GovernanceProposal public pendingProtocolGovernance;
    
    /// @notice Timelock duration for governance transfers (7 days for production)
    uint256 public constant GOVERNANCE_TIMELOCK = 7 days;
    
    // ================= Development Fee Wallet System =================
    // Used by DAV token (5% PLS minting fee) and AuctionSwap (0.5% auction fees)
    
    /// @notice Information for a development fee recipient wallet
    /// @dev Percentage must sum to 100 across all active wallets
    struct DevFeeWalletInfo {
        address wallet;         // Recipient address
        uint256 percentage;     // Allocation out of 100 (e.g., 40 = 40%)
        bool active;            // Whether this wallet is currently active
    }
    
    /// @notice Mapping of development fee wallet configurations by index
    /// @dev Uses index-based mapping for efficient iteration and compaction
    mapping(uint256 => DevFeeWalletInfo) public developmentFeeWallets;
    
    /// @notice Reverse mapping for quick wallet address to index lookup
    /// @dev Updated during add/remove operations to maintain consistency
    mapping(address => uint256) public feeWalletToIndex;
    
    /// @notice Current number of registered development fee wallets
    /// @dev Maximum of 5 wallets allowed (MAX_DEV_FEE_WALLETS)
    uint256 public developmentFeeWalletsCount;
    
    /// @notice Maximum number of development fee wallets allowed
    /// @dev Set to 5 to prevent excessive gas costs in distribution loops
    uint256 public constant MAX_DEV_FEE_WALLETS = 5;
    
    event ContractPaused(address indexed pauser);
    event ContractUnpaused(address indexed unpauser);
    event MaxParticipantsUpdated(uint256 oldValue, uint256 newValue);
    event DexAddressesUpdated(address indexed router, address indexed factory);
    event TokenDeployed(string name, address indexed token, uint256 tokenId);
    event AuctionStarted(uint256 startTime, uint256 endTime, address indexed token, address indexed stateToken);
    event DavTokenAddressSet(address indexed davToken);
    event TokensDeposited(address indexed token, uint256 amount);
    event ProtocolFeeAccrued(address indexed token, uint256 amount);
    event BurnAccrued(address indexed token, uint256 amount);
    event PoolCreated(address indexed token, address indexed pair, uint256 tokenAmount, uint256 stateAmount);
    event DailyStateReleaseRolled(uint256 dayIndex, uint256 amountReleased, uint256 nextWindowStart);
    event DevelopmentFeeWalletAdded(address indexed wallet, uint256 percentage);
    event DevelopmentFeeWalletRemoved(address indexed wallet);
    event DevelopmentFeeWalletPercentageUpdated(address indexed wallet, uint256 oldPercentage, uint256 newPercentage);
    event ProtocolGovernanceProposed(address indexed newGovernance, uint256 executeAfter);
    event ProtocolGovernanceTransferred(address indexed newGovernance);
    event ProtocolGovernanceProposalCancelled(address indexed cancelledGovernance);

    modifier onlyMainContract() {
        require(msg.sender == address(mainContract), "Only main contract");
        _;
    }
    
    modifier onlyGovernance() {
        require(msg.sender == governance, "Only governance");
        _;
    }

    constructor(address _mainContract, address _governance) Ownable(msg.sender) {
        require(_mainContract != address(0) && _governance != address(0), "Zero address");
        mainContract = ISWAP_V3(_mainContract);
        governance = _governance;
        
        // Renounce ownership immediately - governance has direct admin rights
        renounceOwnership();
    }

    // ================= Centralized Governance Transfer (7-Day Timelock) =================
    
    /**
     * @notice Propose new governance for entire protocol (7-day timelock)
     * @param newGovernance Address of new governance (typically a multisig)
     * @dev Starts timelock - must call confirmProtocolGovernance() after 7 days
     * @dev Transfers governance for all protocol contracts:
     *      - AuctionSwap: governance
     *      - DavToken: governance
     *      - BuyAndBurnController: governance
     *      - AuctionAdmin: governance (self)
     *      
     *      NOTE: All contracts renounce ownership in constructor
     *            AirdropDistributor is fully autonomous (no governance)
     */
    function proposeProtocolGovernance(address newGovernance) external onlyGovernance {
        require(newGovernance != address(0), "Zero address");
        
        pendingProtocolGovernance = GovernanceProposal({
            newGovernance: newGovernance,
            timestamp: block.timestamp + GOVERNANCE_TIMELOCK
        });
        
        emit ProtocolGovernanceProposed(newGovernance, block.timestamp + GOVERNANCE_TIMELOCK);
    }

    /**
     * @notice Confirm governance transfer after timelock expires
     * @dev Transfers governance for ALL protocol contracts atomically:
     *      1. AuctionSwap (SWAP_V3) - transfers governance
     *      2. DavToken (DAV_V3) - transfers governance
     *      3. BuyAndBurnController_V2 - transfers governance (read from SWAP)
     *      4. AuctionAdmin - transfers own governance (last)
     * @custom:security All transfers atomic - if any fails, entire transaction reverts
     * @custom:excluded SwapLens (renounced ownership), AirdropDistributor (autonomous)
     */
    function confirmProtocolGovernance() external onlyGovernance {
        require(pendingProtocolGovernance.newGovernance != address(0), "No pending governance");
        require(block.timestamp >= pendingProtocolGovernance.timestamp, "Timelock not expired");
        
        address newGov = pendingProtocolGovernance.newGovernance;
        
        // 1. Transfer AuctionSwap governance (ownership renounced in constructor)
        mainContract._setGovernance(newGov);
        
        // 2. Transfer DavToken governance (ownership renounced in constructor)
        address davToken = mainContract.davToken();
        if (davToken != address(0)) {
            IDAV(davToken).transferGovernanceImmediate(newGov);
        }
        
        // 3. Transfer BuyAndBurnController governance (ownership renounced in constructor)
        address buyAndBurn = mainContract.buyAndBurnController();
        if (buyAndBurn != address(0)) {
            IBuyAndBurnController(buyAndBurn).transferGovernanceByAdmin(newGov);
        }
        
        // 4. SwapLens - ownership renounced, no transfer needed
        // 5. AirdropDistributor - fully autonomous, no governance
        
        // 6. Transfer own governance (last operation)
        governance = newGov;
        
        // Clear pending proposal
        delete pendingProtocolGovernance;
        
        emit ProtocolGovernanceTransferred(newGov);
    }
    
    /**
     * @notice Cancel pending governance proposal (emergency)
     * @dev Only callable by current governance before timelock expires
     */
    function cancelProtocolGovernanceProposal() external onlyGovernance {
        require(pendingProtocolGovernance.newGovernance != address(0), "No pending governance");
        address cancelledGovernance = pendingProtocolGovernance.newGovernance;
        delete pendingProtocolGovernance;
        emit ProtocolGovernanceProposalCancelled(cancelledGovernance);
    }
    
    /**
     * @notice View pending governance proposal details
     * @return newGovernance Proposed new governance address
     * @return executeAfter Timestamp when proposal can be executed
     * @return isReady Whether timelock has passed and proposal is ready
     */
    function getPendingGovernance() external view returns (
        address newGovernance,
        uint256 executeAfter,
        bool isReady
    ) {
        newGovernance = pendingProtocolGovernance.newGovernance;
        executeAfter = pendingProtocolGovernance.timestamp;
        isReady = newGovernance != address(0) && block.timestamp >= executeAfter;
    }
    
    /**
     * @notice One-click token deployment with automatic SWAP registration
     * @param swapContract The SWAP_V3 contract address initiating the call (must match mainContract)
     * @param name Token name for the new token
     * @param symbol Token symbol for the new token
     * @return tokenAddress Address of the newly deployed token (100% supply minted to SWAP vault)
     * @custom:security Only callable by mainContract, all tokens minted to SWAP treasury atomically
     */
    function deployTokenOneClick(
        address swapContract,
        string memory name,
        string memory symbol
    ) external returns (address tokenAddress) {
        // Ensure this is being called by the main contract and the provided address matches
        require(msg.sender == address(mainContract), "Only main contract");
        require(swapContract == address(mainContract), "Invalid swap contract");
        require(bytes(name).length > 0 && bytes(symbol).length > 0, "Empty name or symbol");

        // Get governance address from the main contract
        address swapGovernance = mainContract.governanceAddress();

        // Deploy the token - 100% to SWAP treasury in SINGLE transaction
        // NOTE: _owner = address(0) makes token ownerless from deployment (modified OZ Ownable allows this)
        //       This is intentional and more efficient than deploying with owner then calling renounceOwnership()
        TOKEN_V3 token = new TOKEN_V3(
            name,
            symbol,
            address(mainContract),   // recipient (100% to SWAP contract in single mint)
            address(0)               // _owner (ownerless deployment - custom OZ modification)
        );

        tokenAddress = address(token);

        // Register the token with the main contract (deployer shown as governance for UI ownership mapping)
        mainContract._registerDeployedToken(tokenAddress, name, swapGovernance);

        emit TokenDeployed(name, tokenAddress, 0);
        return tokenAddress;
    }

    // ================= Development Fee Wallet Management =================
    
    /**
     * @notice Add a new development fee wallet with automatic equal distribution
     * @param wallet Address of the development wallet to add
     * @dev Automatically rebalances all wallets to equal percentages (e.g., 3 wallets = 33/33/34)
     * @custom:limit Maximum 5 wallets enforced to prevent excessive gas costs
     * @custom:security Validates wallet not already registered and count below MAX_DEV_FEE_WALLETS
     */
    function addDevelopmentFeeWallet(address wallet) external onlyGovernance {
        require(wallet != address(0), "Zero address");
        require(developmentFeeWalletsCount < MAX_DEV_FEE_WALLETS, "Max wallets reached");
        require(feeWalletToIndex[wallet] == 0 || !developmentFeeWallets[feeWalletToIndex[wallet]].active, "Wallet already exists");
        
        // Add new wallet with 0% initially
        uint256 index = developmentFeeWalletsCount;
        developmentFeeWallets[index] = DevFeeWalletInfo({
            wallet: wallet,
            percentage: 0,
            active: true
        });
        
        feeWalletToIndex[wallet] = index;
        developmentFeeWalletsCount++;
        
        // Automatically rebalance percentages equally among all active wallets
        _rebalanceAllWallets();
        
        emit DevelopmentFeeWalletAdded(wallet, developmentFeeWallets[index].percentage);
    }
    
    /**
     * @notice Remove a development fee wallet
     * @param wallet Address of the wallet to remove
     * @dev Uses swap-and-pop pattern for array compaction with proper mapping updates
     * @custom:pattern Moves last wallet to removed position, updates mappings, decrements count
     * @custom:security Validates wallet exists and is active before removal
     */
    function removeDevelopmentFeeWallet(address wallet) external onlyGovernance {
        require(wallet != address(0), "Zero address");
        
        uint256 index = feeWalletToIndex[wallet];
        require(developmentFeeWallets[index].active, "Wallet not active");
        require(developmentFeeWallets[index].wallet == wallet, "Wallet mismatch");
        
        // Mark as inactive
        developmentFeeWallets[index].active = false;
        
        // Compact the array by moving last element to removed position
        uint256 lastIndex = developmentFeeWalletsCount - 1;
        if (index != lastIndex && developmentFeeWallets[lastIndex].active) {
            // Move last wallet to removed position
            developmentFeeWallets[index] = developmentFeeWallets[lastIndex];
            feeWalletToIndex[developmentFeeWallets[lastIndex].wallet] = index;
        }
        
        // Clear last position
        delete developmentFeeWallets[lastIndex];
        delete feeWalletToIndex[wallet];
        developmentFeeWalletsCount--;
        
        // Automatically rebalance percentages equally among remaining active wallets
        _rebalanceAllWallets();
        
        emit DevelopmentFeeWalletRemoved(wallet);
    }
    
    /**
     * @notice Update percentage for an existing development fee wallet
     * @param wallet Address of the wallet
     * @param newPercentage New percentage allocation (out of 100)
     * @dev Total percentage across all wallets must equal 100% (except when setting to 0% for removal)
     */
    function updateDevelopmentFeeWalletPercentage(address wallet, uint256 newPercentage) external onlyGovernance {
        require(wallet != address(0), "Zero address");
        require(newPercentage <= 100, "Invalid percentage");
        
        uint256 index = feeWalletToIndex[wallet];
        require(developmentFeeWallets[index].active, "Wallet not active");
        require(developmentFeeWallets[index].wallet == wallet, "Wallet mismatch");
        
        uint256 oldPercentage = developmentFeeWallets[index].percentage;
        
        // Calculate total without this wallet
        uint256 otherWalletsTotal = _getTotalDevFeePercentage() - oldPercentage;
        
        // Allow setting to 0% as part of wallet removal workflow
        if (newPercentage == 0) {
            developmentFeeWallets[index].percentage = 0;
            emit DevelopmentFeeWalletPercentageUpdated(wallet, oldPercentage, 0);
            return;
        }
        
        // Otherwise, ensure total equals 100%
        require(otherWalletsTotal + newPercentage == 100, "Total must equal 100%");
        
        developmentFeeWallets[index].percentage = newPercentage;
        emit DevelopmentFeeWalletPercentageUpdated(wallet, oldPercentage, newPercentage);
    }
    
    /**
     * @notice Get all development fee wallets information
     * @return wallets Array of wallet addresses
     * @return percentages Array of percentage allocations
     * @return activeStatuses Array of active status flags
     */
    function getDevelopmentFeeWalletsInfo() external view returns (
        address[] memory wallets,
        uint256[] memory percentages,
        bool[] memory activeStatuses
    ) {
        wallets = new address[](developmentFeeWalletsCount);
        percentages = new uint256[](developmentFeeWalletsCount);
        activeStatuses = new bool[](developmentFeeWalletsCount);
        
        for (uint256 i = 0; i < developmentFeeWalletsCount; i++) {
            wallets[i] = developmentFeeWallets[i].wallet;
            percentages[i] = developmentFeeWallets[i].percentage;
            activeStatuses[i] = developmentFeeWallets[i].active;
        }
    }
    
    /**
     * @notice Get percentage allocation for a specific wallet
     * @param wallet Address of the wallet
     * @return percentage Percentage allocation (0-100)
     */
    function getWalletPercentage(address wallet) external view returns (uint256) {
        if (wallet == address(0)) return 0;
        
        uint256 index = feeWalletToIndex[wallet];
        if (!developmentFeeWallets[index].active) return 0;
        if (developmentFeeWallets[index].wallet != wallet) return 0;
        
        return developmentFeeWallets[index].percentage;
    }
    
    /**
     * @notice Get total percentage allocated across all active wallets
     * @return total The sum of all active wallet percentages
     */
    function _getTotalDevFeePercentage() internal view returns (uint256 total) {
        for (uint256 i = 0; i < developmentFeeWalletsCount; i++) {
            if (developmentFeeWallets[i].active) {
                total += developmentFeeWallets[i].percentage;
            }
        }
    }
    
    /**
     * @notice Automatically rebalance all active wallets to equal percentages
     * @dev Distributes 100% equally among all active wallets
     * @custom:formula basePercentage = 100 / count, remainder goes to first wallet
     * @custom:example 1 wallet = 100%, 2 wallets = 50/50, 3 wallets = 33/33/34
     * @custom:remainder First wallet (index 0) receives remainder to ensure total equals 100%
     *                   This is intentional - provides deterministic distribution with minimal complexity
     */
    function _rebalanceAllWallets() internal {
        if (developmentFeeWalletsCount == 0) return;
        
        // Calculate equal distribution
        uint256 basePercentage = 100 / developmentFeeWalletsCount;
        uint256 remainder = 100 % developmentFeeWalletsCount;
        
        // Distribute equally with remainder going to first wallet
        for (uint256 i = 0; i < developmentFeeWalletsCount; i++) {
            if (developmentFeeWallets[i].active) {
                if (i == 0) {
                    // First wallet gets base + remainder to ensure 100% total
                    developmentFeeWallets[i].percentage = basePercentage + remainder;
                } else {
                    developmentFeeWallets[i].percentage = basePercentage;
                }
            }
        }
    }
    
    /**
     * @notice Distribute fees to development wallets based on configured percentages
     * @param token Address of the token to distribute (STATE, auction tokens, PLS, etc.)
     * @param amount Total amount of tokens to distribute among dev wallets
     * @dev Called automatically by AuctionSwap (0.5% fees) and DAV (5% mint fees)
     * @custom:caller Callable by mainContract or governance for manual distributions
     * @custom:distribution Shares based on wallet percentages, dust goes to first active wallet
     * @custom:security Uses SafeERC20, reverts if insufficient balance
     * @custom:integration DAV distributes PLS fees directly, this handles ERC20 token fees
     */
    function distributeFeeToWallets(address token, uint256 amount) external {
        require(msg.sender == address(mainContract) || msg.sender == governance, "Unauthorized");
        require(token != address(0), "Zero token address");
        require(amount > 0, "Zero amount");
        
        // If no wallets configured, do nothing (tokens stay in AuctionAdmin)
        if (developmentFeeWalletsCount == 0) return;
        
        uint256 totalDistributed = 0;
        
        // Distribute tokens based on percentages
        for (uint256 i = 0; i < developmentFeeWalletsCount; i++) {
            if (developmentFeeWallets[i].active && developmentFeeWallets[i].percentage > 0) {
                uint256 share = (amount * developmentFeeWallets[i].percentage) / 100;
                if (share > 0) {
                    IERC20(token).safeTransfer(developmentFeeWallets[i].wallet, share);
                    totalDistributed += share;
                }
            }
        }
        
        // Handle dust (remainder due to rounding)
        uint256 dust = amount - totalDistributed;
        if (dust > 0 && developmentFeeWalletsCount > 0) {
            // Give dust to first active wallet with non-zero percentage
            for (uint256 i = 0; i < developmentFeeWalletsCount; i++) {
                if (developmentFeeWallets[i].active && developmentFeeWallets[i].percentage > 0) {
                    IERC20(token).safeTransfer(developmentFeeWallets[i].wallet, dust);
                    break;
                }
            }
        }
    }
}
        

/introspection/IERC165.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[ERC].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
          

/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

/**
 * @title TimeUtilsLib
 * @author State Protocol Team
 * @notice Utility library for timezone-aware time calculations
 * @dev Provides functions to calculate time boundaries with timezone offsets
 * @custom:timezone Default: GMT+3 (17:00 local = 14:00 UTC for DAV mint timing)
 * @custom:validation Bounds checking for timezone offsets (-14 to +14 hours)
 */
library TimeUtilsLib {
    uint256 internal constant SECONDS_IN_DAY = 86400;
    // Default time boundary: 17:00 GMT+3 (5:00 PM GMT+3)
    uint256 internal constant TARGET_GMT_HOUR = 17;
    uint256 internal constant TARGET_GMT_MINUTE = 0;

    /**
     * @notice Validates time calculation parameters
     * @custom:bounds Timezone offset: -14 to +14 hours, Hour: 0-23, Minute: 0-59
     * @custom:safety Prevents overflow in signed integer operations
     */
    function _validateTimeParams(
        uint256 blockTimestamp,
        int256 tzOffsetHours,
        uint256 targetLocalHour,
        uint256 targetLocalMinute
    ) private pure {
        require(blockTimestamp > 0, "Invalid timestamp");
        require(tzOffsetHours >= -14 && tzOffsetHours <= 14, "Invalid offset");
        require(targetLocalHour < 24, "Invalid hour");
        require(targetLocalMinute < 60, "Invalid minute");
        require(blockTimestamp <= uint256(type(int256).max), "Timestamp too large");
    }

    /**
     * @notice Calculates the next claim start time using a timezone offset and local-hour target
     * @param blockTimestamp Current block timestamp (UTC seconds)
     * @param tzOffsetHours Signed hour offset from UTC (e.g. +3 for GMT+3, -4 for GMT-4)
     * @param targetLocalHour Target hour in the local timezone (0-23)
     * @param targetLocalMinute Target minute in the local timezone (0-59)
     * @return finalTimestamp UTC timestamp of the next target local-time boundary
     * @custom:timezone Fixed offsets (does not account for DST)
     * @custom:safety Overflow protection on all signed math operations
     */
    function calculateNextClaimStartTZ(
        uint256 blockTimestamp,
        int256 tzOffsetHours,
        uint256 targetLocalHour,
        uint256 targetLocalMinute
    ) internal pure returns (uint256 finalTimestamp) {
        _validateTimeParams(blockTimestamp, tzOffsetHours, targetLocalHour, targetLocalMinute);
        
        int256 offsetSeconds = tzOffsetHours * int256(1 hours);
        int256 tsInt = int256(blockTimestamp);
        
        if (offsetSeconds > 0) {
            require(tsInt <= type(int256).max - offsetSeconds, "Local overflow");
        } else if (offsetSeconds < 0) {
            require(tsInt >= type(int256).min - offsetSeconds, "Local underflow");
        }
        
        int256 localTs = tsInt + offsetSeconds;
        require(localTs >= 0, "Local time < 0");
        
        uint256 localTsUint = uint256(localTs);
        uint256 localDayStart = (localTsUint / SECONDS_IN_DAY) * SECONDS_IN_DAY;
        
        uint256 hoursSec = targetLocalHour * 1 hours;
        uint256 minutesSec = targetLocalMinute * 1 minutes;
        require(localDayStart <= type(uint256).max - hoursSec, "Target calc ovf (h)");
        uint256 targetLocal = localDayStart + hoursSec;
        require(targetLocal <= type(uint256).max - minutesSec, "Target calc ovf (m)");
        targetLocal += minutesSec;
        
        if (localTsUint >= targetLocal) {
            require(targetLocal <= type(uint256).max - SECONDS_IN_DAY, "Next day ovf");
            targetLocal += SECONDS_IN_DAY;
        }
        
        require(targetLocal <= uint256(type(int256).max), "UTC cast ovf");
        int256 utcTs = int256(targetLocal) - offsetSeconds;
        require(utcTs >= 0, "UTC time < 0");
        finalTimestamp = uint256(utcTs);
        require(finalTimestamp > blockTimestamp, "Non-future ts");
    }

    /**
     * @notice Calculate next 17:00 GMT+3 (5:00 PM GMT+3)
     * @custom:utc 17:00 GMT+3 = 14:00 UTC (2:00 PM UTC)
     */
    function calculateNextClaimStartGMTPlus3(uint256 blockTimestamp)
        internal
        pure
        returns (uint256)
    {
        return calculateNextClaimStartTZ(blockTimestamp, int256(3), 17, 0);
    }

    /**
     * @notice LEGACY: Calculate next 23:00 Pakistan Standard Time (11:00 PM UTC+5)
     * @dev Not used in current protocol. Use calculateNextClaimStartGMTPlus3() instead
     * @custom:utc 23:00 UTC+5 = 18:00 UTC (6:00 PM UTC)
     */
    function calculateNextClaimStartPakistan(uint256 blockTimestamp) internal pure returns (uint256) {
        return calculateNextClaimStartTZ(blockTimestamp, int256(5), 23, 0);
    }
}
          

/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

interface ISWAP_V3 {
    // Governance state variables
    function governanceAddress() external view returns (address);
    function paused() external view returns (bool);
    function maxAuctionParticipants() external view returns (uint256);
    function treasury() external view returns (address);
    function davToken() external view returns (address);
    function stateToken() external view returns (address);
    function airdropDistributor() external view returns (address);
    function buyAndBurnController() external view returns (address);
    function swapLens() external view returns (address);
    function pulseXRouter() external view returns (address);
    function pulseXFactory() external view returns (address);
    
    // Admin-only state setters
    function _setPaused(bool _paused) external;
    function _setMaxAuctionParticipants(uint256 newMax) external;
    function _setDexAddresses(address _router, address _factory) external;
    function _setGovernance(address newGov) external;
    function _registerDeployedToken(address tokenAddress, string memory name, address deployer) external;
    function transferOwnershipByAdmin(address newOwner) external;
    
    // Vault allowance management
    function setVaultAllowance(address token, address spender, uint256 amount) external;
}
          

/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/**
 * @title TOKEN_V3 - Auction Token Contract
 * @author State Protocol Team
 * @notice Generic ERC20 token with fixed 5 billion supply minted at deployment
 * @dev Used for auction tokens in State Protocol ecosystem
 *
 * @custom:supply 5 billion tokens (5,000,000,000 with 18 decimals)
 * @custom:allocation Entire supply minted to recipient (typically SWAP_V3) in constructor
 * @custom:ownership Deployed ownerless - constructor accepts address(0) for _owner parameter
 * @custom:ownable-modification Uses modified OpenZeppelin Ownable.sol with constructor validation removed
 *                               to allow address(0) as initial owner (ownerless from deployment)
 */
contract TOKEN_V3 is ERC20, Ownable {
    
    // ============ Constants ============
    
    /// @notice Total supply of auction tokens
    /// @dev 5 billion tokens: 5,000,000,000 × 10^18 wei
    ///      Compile-time constant - does not consume storage slot
    uint256 public constant MAX_SUPPLY = 5000000000 ether;
    
    // ============ Events ============
    
    /// @notice Emitted when initial supply is minted during deployment
    /// @param recipient Address receiving the entire token supply
    /// @param totalAmount Total tokens minted (5 billion with 18 decimals)
    event InitialDistribution(
        address indexed recipient,
        uint256 totalAmount
    );

    // ============ Constructor ============
    
    /// @notice Deploys auction token with entire supply minted to recipient
    /// @param name Human-readable token name (e.g., "MyToken")
    /// @param symbol Token ticker symbol (e.g., "MTK")
    /// @param recipient Address receiving 100% of supply (typically SWAP_V3 auction contract)
    /// @param _owner Owner address - pass address(0) for ownerless deployment (standard practice)
    /// @dev Constructor operations (atomic transaction):
    ///      1. Validate recipient address (non-zero)
    ///      2. Mint 5 billion tokens to recipient
    ///      3. Set owner (address(0) for ownerless tokens - modified OZ Ownable accepts this)
    ///      4. Emit InitialDistribution event
    /// @custom:ownerless-design Tokens deployed with _owner = address(0) have no owner from birth
    ///                          Modified Ownable.sol constructor allows this (standard OZ v5 would revert)
    ///                          This is intentional - saves gas vs deploying with owner then renouncing
    constructor(
        string memory name,
        string memory symbol,
        address recipient,
        address _owner
    ) ERC20(name, symbol) Ownable(_owner) {
        require(recipient != address(0), "Invalid recipient address");
        
        // Mint entire supply to auction contract
        _mint(recipient, MAX_SUPPLY);
        
        emit InitialDistribution(recipient, MAX_SUPPLY);
    }
}
          

/ReentrancyGuard.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at,
 * consider using {ReentrancyGuardTransient} instead.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant NOT_ENTERED = 1;
    uint256 private constant ENTERED = 2;

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

        // Any calls to nonReentrant after this point will fail
        _status = ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}
          

/Context.sol

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

/ERC20/utils/SafeERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC1363} from "../../../interfaces/IERC1363.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC-20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    /**
     * @dev An operation with an ERC-20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.
     */
    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {
        return _callOptionalReturnBool(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.
     */
    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {
        return _callOptionalReturnBool(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     *
     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
     * only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
     * set here.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            safeTransfer(token, to, value);
        } else if (!token.transferAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
     * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferFromAndCallRelaxed(
        IERC1363 token,
        address from,
        address to,
        uint256 value,
        bytes memory data
    ) internal {
        if (to.code.length == 0) {
            safeTransferFrom(token, from, to, value);
        } else if (!token.transferFromAndCall(from, to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
     * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
     * once without retrying, and relies on the returned value to be true.
     *
     * Reverts if the returned value is other than `true`.
     */
    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            forceApprove(token, to, value);
        } else if (!token.approveAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            // bubble errors
            if iszero(success) {
                let ptr := mload(0x40)
                returndatacopy(ptr, 0, returndatasize())
                revert(ptr, returndatasize())
            }
            returnSize := returndatasize()
            returnValue := mload(0)
        }

        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        bool success;
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            returnSize := returndatasize()
            returnValue := mload(0)
        }
        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);
    }
}
          

/ERC20/extensions/IERC20Metadata.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC-20 standard.
 */
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);
}
          

/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
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);
}
          

/ERC20/ERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC-20
 * applications.
 */
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}.
     *
     * Both 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);
            }
        }
    }
}
          

/draft-IERC6093.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
 */
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);
}

/**
 * @dev Standard ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

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

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

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

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

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

/**
 * @dev Standard ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @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.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

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

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

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

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

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

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}
          

/IERC20.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../token/ERC20/IERC20.sol";
          

/IERC165.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../utils/introspection/IERC165.sol";
          

/IERC1363.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC165} from "./IERC165.sol";

/**
 * @title IERC1363
 * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
 *
 * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
 * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
 */
interface IERC1363 is IERC20, IERC165 {
    /*
     * Note: the ERC-165 identifier for this interface is 0xb0202a11.
     * 0xb0202a11 ===
     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^
     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
     */

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @param data Additional data with no specified format, sent in call to `spender`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}
          

/Ownable.sol

// 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) {
        
        _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);
    }
}
          

Compiler Settings

{"viaIR":true,"remappings":[":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",":openzeppelin-contracts/=lib/openzeppelin-contracts/"],"optimizer":{"runs":200,"enabled":true},"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"evmVersion":"paris","compilationTarget":{"src/AuctionAdmin.sol":"AuctionAdmin"}}
              

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_mainContract","internalType":"address"},{"type":"address","name":"_governance","internalType":"address"}]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"error","name":"ReentrancyGuardReentrantCall","inputs":[]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"type":"address","name":"token","internalType":"address"}]},{"type":"event","name":"AuctionStarted","inputs":[{"type":"uint256","name":"startTime","internalType":"uint256","indexed":false},{"type":"uint256","name":"endTime","internalType":"uint256","indexed":false},{"type":"address","name":"token","internalType":"address","indexed":true},{"type":"address","name":"stateToken","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"BurnAccrued","inputs":[{"type":"address","name":"token","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"ContractPaused","inputs":[{"type":"address","name":"pauser","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"ContractUnpaused","inputs":[{"type":"address","name":"unpauser","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"DailyStateReleaseRolled","inputs":[{"type":"uint256","name":"dayIndex","internalType":"uint256","indexed":false},{"type":"uint256","name":"amountReleased","internalType":"uint256","indexed":false},{"type":"uint256","name":"nextWindowStart","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"DavTokenAddressSet","inputs":[{"type":"address","name":"davToken","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"DevelopmentFeeWalletAdded","inputs":[{"type":"address","name":"wallet","internalType":"address","indexed":true},{"type":"uint256","name":"percentage","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"DevelopmentFeeWalletPercentageUpdated","inputs":[{"type":"address","name":"wallet","internalType":"address","indexed":true},{"type":"uint256","name":"oldPercentage","internalType":"uint256","indexed":false},{"type":"uint256","name":"newPercentage","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"DevelopmentFeeWalletRemoved","inputs":[{"type":"address","name":"wallet","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"DexAddressesUpdated","inputs":[{"type":"address","name":"router","internalType":"address","indexed":true},{"type":"address","name":"factory","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"MaxParticipantsUpdated","inputs":[{"type":"uint256","name":"oldValue","internalType":"uint256","indexed":false},{"type":"uint256","name":"newValue","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"PoolCreated","inputs":[{"type":"address","name":"token","internalType":"address","indexed":true},{"type":"address","name":"pair","internalType":"address","indexed":true},{"type":"uint256","name":"tokenAmount","internalType":"uint256","indexed":false},{"type":"uint256","name":"stateAmount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"ProtocolFeeAccrued","inputs":[{"type":"address","name":"token","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"ProtocolGovernanceProposalCancelled","inputs":[{"type":"address","name":"cancelledGovernance","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"ProtocolGovernanceProposed","inputs":[{"type":"address","name":"newGovernance","internalType":"address","indexed":true},{"type":"uint256","name":"executeAfter","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"ProtocolGovernanceTransferred","inputs":[{"type":"address","name":"newGovernance","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"TokenDeployed","inputs":[{"type":"string","name":"name","internalType":"string","indexed":false},{"type":"address","name":"token","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"TokensDeposited","inputs":[{"type":"address","name":"token","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"GOVERNANCE_TIMELOCK","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_DEV_FEE_WALLETS","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addDevelopmentFeeWallet","inputs":[{"type":"address","name":"wallet","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"cancelProtocolGovernanceProposal","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"confirmProtocolGovernance","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"address","name":"tokenAddress","internalType":"address"}],"name":"deployTokenOneClick","inputs":[{"type":"address","name":"swapContract","internalType":"address"},{"type":"string","name":"name","internalType":"string"},{"type":"string","name":"symbol","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"wallet","internalType":"address"},{"type":"uint256","name":"percentage","internalType":"uint256"},{"type":"bool","name":"active","internalType":"bool"}],"name":"developmentFeeWallets","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"developmentFeeWalletsCount","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"distributeFeeToWallets","inputs":[{"type":"address","name":"token","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"feeWalletToIndex","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address[]","name":"wallets","internalType":"address[]"},{"type":"uint256[]","name":"percentages","internalType":"uint256[]"},{"type":"bool[]","name":"activeStatuses","internalType":"bool[]"}],"name":"getDevelopmentFeeWalletsInfo","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"newGovernance","internalType":"address"},{"type":"uint256","name":"executeAfter","internalType":"uint256"},{"type":"bool","name":"isReady","internalType":"bool"}],"name":"getPendingGovernance","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getWalletPercentage","inputs":[{"type":"address","name":"wallet","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"governance","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract ISWAP_V3"}],"name":"mainContract","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"newGovernance","internalType":"address"},{"type":"uint256","name":"timestamp","internalType":"uint256"}],"name":"pendingProtocolGovernance","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"proposeProtocolGovernance","inputs":[{"type":"address","name":"newGovernance","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeDevelopmentFeeWallet","inputs":[{"type":"address","name":"wallet","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateDevelopmentFeeWalletPercentage","inputs":[{"type":"address","name":"wallet","internalType":"address"},{"type":"uint256","name":"newPercentage","internalType":"uint256"}]}]
              

Contract Creation Code

0x6080346200012557601f6200298138819003918201601f19168301916001600160401b038311848410176200012a57808492604094855283398101031262000125576200005a6020620000528362000140565b920162000140565b6000805490927f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e092906001600160a01b0390819033828616878980a36001805516918215158062000119575b15620000e55760018060a01b03199283600254161760025516816003541617600355803316911617825533908280a360405161282b9081620001568239f35b60405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b6044820152606490fd5b508181161515620000a6565b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b0382168203620001255756fe604060808152600490813610156200001657600080fd5b600091823560e01c9081630bf1134c1462000edf5781630e3fe91f1462000e0a57816324d9f5cb1462000d9e57816329c482751462000d685781632d4537051462000d475781633978054a1462000d055781633bc3f9ea1462000c9d5781635aa6e6751462000c725781636d3dacdc1462000c545781637134011a1462000bfe578163715018a61462000ba057816378ba139d1462000b80578163895d0d12146200098d5781638da5cb5b1462000963578163a5d6898d1462000777578163bc1894f51462000592578163d270e7ab1462000567578163d60e81b21462000265578163dc57e3e01462000232578163e87bfbe11462000201578163f2fde38b146200016a575063fb0465ab146200012c57600080fd5b3462000166576020366003190112620001665760209181906001600160a01b036200015662001175565b1681526007845220549051908152f35b5080fd5b905034620001fd576020366003190112620001fd576200018962001175565b90620001946200123b565b6001600160a01b03918216928315620001e7575050600054826001600160601b0360a01b821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a380f35b51631e4fbdf760e01b8152908101849052602490fd5b8280fd5b50503462000166573660031901126200022f576200022c6200022262001175565b6024359062001790565b80f35b80fd5b5050346200016657602036600319011262000166576020906200025e6200025862001175565b62001692565b9051908152f35b91905034620001fd576060366003190112620001fd576200028562001175565b9160249384359467ffffffffffffffff95868111620001fd57620002ad9036908501620011df565b926044358781116200056357620002c89036908301620011df565b9060018060a01b03918260025416978833036200052c578389911603620004f2578551151580620004e7575b15620004ae5786519763795053d360e01b89526020998a8a8581855afa998a15620004a457879a6200046e575b50885192610d6a808501928311858410176200045c578493926200036c8e8b946200035e8e60609662001a8c8b396080865260808601906200136d565b91848303908501526200136d565b938c8201520152039085f080156200045257821696826002541692833b156200044e5785606095938195938b938b519889978896879563067ab9a160e31b8752860152840152620003c1606484018c6200136d565b9116604483015203925af180156200044457908593929162000426575b507f868fe488c48c70f27d9d98f40cfc2ddb161894613ebc05f66f464e463047e54a9162000418918551928392878452878401906200136d565b90888301520390a251908152f35b81929350620004359062001191565b6200022f5790839138620003de565b84513d84823e3d90fd5b8580fd5b86513d86823e3d90fd5b634e487b7160e01b8952604186528789fd5b62000494919a508b3d8d116200049c575b6200048b8183620011bc565b8101906200134c565b983862000321565b503d6200047f565b89513d89823e3d90fd5b865162461bcd60e51b815260208184015260148186015273115b5c1d1e481b985b59481bdc881cde5b589bdb60621b6044820152606490fd5b5080511515620002f4565b865162461bcd60e51b815260208184015260158186015274125b9d985b1a59081cddd85c0818dbdb9d1c9858dd605a1b6044820152606490fd5b875162461bcd60e51b81526020818501526012818701527113db9b1e481b585a5b8818dbdb9d1c9858dd60721b6044820152606490fd5b8380fd5b505034620001665781600319360112620001665760025490516001600160a01b039091168152602090f35b91905034620001fd57602091826003193601126200056357620005b462001175565b6003546001600160a01b0393918491620005d2908316331462001268565b1693620005e1851515620012a7565b848652600781528186205480875260068083526002916200060a60ff84878c20015416620013bf565b808952818452620006228888878c2054161462001400565b8089528184528489208301805460ff19169055600854600019978882019291831162000764579282828c9897958995600798951415806200074e575b620006d3575b505083528352848220828155826001820155015586845252812055600854908115620006c057500160085562000699620016f2565b7f191378465c52a6b372fa1dd86b923fd1c8eeba292b9bb00fff05f5ec69ae06b18280a280f35b634e487b7160e01b855260119052602484fd5b8286528387528886208287528987208682820362000708575b5050508286528886205416855286865287852055388062000664565b60ff818486620007459654166001600160601b0360a01b8654161785556001810154600186015501541691019060ff801983541691151516179055565b388086620006ec565b5082865283875260ff858a88200154166200065e565b634e487b7160e01b8b526011885260248bfd5b8383346200016657602080600319360112620001fd576200079762001175565b6003546001600160a01b0393918491620007b5908316331462001268565b1692620007c4841515620012a7565b6008549060058210156200092a578486526007845282862054801590811562000911575b5015620008d657825196606088019088821067ffffffffffffffff831117620008c1575096600262000885927f80d01e06447e7701283901cfa60f841c27cf426be43fdc5c11f027ba300fde0997989986528883528683018a81528684019160018352868c5260068952878c209451166001600160601b0360a01b85541617845551600184015551151591019060ff801983541691151516179055565b8486526007835280828720556200089e600854620013af565b600855620008ab620016f2565b855260068252600181862001549051908152a280f35b604190634e487b7160e01b6000525260246000fd5b825162461bcd60e51b8152808801859052601560248201527457616c6c657420616c72656164792065786973747360581b6044820152606490fd5b875250600684528286206002015460ff161588620007e8565b825162461bcd60e51b8152808801859052601360248201527213585e081dd85b1b195d1cc81c995858da1959606a1b6044820152606490fd5b5050346200016657816003193601126200016657905490516001600160a01b039091168152602090f35b8284346200022f57806003193601126200022f57600854620009af816200164e565b91620009be84519384620011bc565b818352620009cc826200164e565b91602080850191601f19809501368437620009e7816200164e565b96620009f681519889620011bc565b81885262000a04826200164e565b9386848a01950136863762000a19836200164e565b9262000a2883519485620011bc565b80845262000a36816200164e565b8486019801368937865b81811062000b00575050815198899860608a019060608b525180915260808a019290885b81811062000adf5750505088820389860152518082529084019490865b81811062000ac757505050868403908701525180835291810193925b82811062000aad57505050500390f35b835115158552869550938101939281019260010162000a9d565b825187528a9950958501959185019160010162000a81565b82516001600160a01b031685528c9b50938701939187019160010162000a64565b8062000b709189989a9b9c9495969799526006808a528c62000b2f8360018060a01b038a8d2054169262001667565b52818952808a526001878a20015462000b49838762001667565b52818952895260ff6002878a2001541662000b65828962001667565b9015159052620013af565b9998979596949392919962000a40565b50503462000166578160031936011262000166576020905162093a808152f35b83346200022f57806003193601126200022f5762000bbd6200123b565b600080546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b905034620001fd576020366003190112620001fd5735825260066020908152918190208054600182015460029092015492516001600160a01b0390911681529283015260ff1615156040820152606090f35b0390f35b50503462000166578160031936011262000166576020905160058152f35b505034620001665781600319360112620001665760035490516001600160a01b039091168152602090f35b905082346200022f57806003193601126200022f575060018060a01b0390541662000c5060055492821515908162000cf8575b516001600160a01b039093168352602083019390935291151560408201529081906060820190565b9050834210159062000cd0565b50503462000166573660031901126200022f576200022c62000d2662001175565b62000d3d60018060a01b0360035416331462001268565b602435906200144d565b50503462000166578160031936011262000166576020906008549051908152f35b905082346200022f57806003193601126200022f57505460055491516001600160a01b0390911681526020810191909152604090f35b8390346200016657816003193601126200016657600060018060a01b0362000dcc8160035416331462001268565b8254169162000ddd83151562001307565b5560006005557f52be45b6d866661db847ec9cb4fe163f6e5dac19992796ef11a9bd700d7d78508280a280f35b905034620001fd576020366003190112620001fd5762000e2962001175565b6003546001600160a01b03919062000e45908316331462001268565b169162000e54831515620012a7565b62093a80420191824211620006c057815182810181811067ffffffffffffffff82111762000eca578352848152602090810184905281546001600160a01b0319168517909155600583905590519182527ff172b4d09700364ea24f36023d32ce7468f38e083a5375ff19d7aea02f9c6b6291a280f35b604183634e487b7160e01b6000525260246000fd5b905034620001fd5782600319360112620001fd576003546001600160a01b03929062000f0f908416331462001268565b828254169262000f2184151562001307565b60055442106200113b57848160025416803b15620001665781906024855180948193636e89e43d60e01b83528a8a8401525af18015620011315762001119575b5090818592600254168251809163473ca96360e11b8252818760209485935afa90811562001096579083918691620010f7575b501680620010a0575b5084818360025416855192838092635075c66760e11b82525afa9182156200109657859262001074575b505016908162001019575b505050600090826001600160601b0360a01b60035416176003555560006005557fa5129c344917f52985852acb6358b373875d63f40247d1f6c5f7bc9761211fda8280a280f35b813b15620001fd5782809260248351809581936302ce81a960e61b83528a8a8401525af19081156200106b575062001053575b8062000fd2565b6200105e9062001191565b620001fd5782386200104c565b513d84823e3d90fd5b6200108e9250803d106200049c576200048b8183620011bc565b388062000fc7565b84513d87823e3d90fd5b803b15620010f357848091602486518094819363188c1eb360e31b83528c8c8401525af180156200109657908591620010db575b5062000f9d565b620010e69062001191565b62000563578338620010d4565b8480fd5b620011129150833d85116200049c576200048b8183620011bc565b3862000f94565b62001128909591929562001191565b93903862000f61565b83513d88823e3d90fd5b815162461bcd60e51b81526020818501526014602482015273151a5b595b1bd8dac81b9bdd08195e1c1a5c995960621b6044820152606490fd5b600435906001600160a01b03821682036200118c57565b600080fd5b67ffffffffffffffff8111620011a657604052565b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff821117620011a657604052565b81601f820112156200118c5780359067ffffffffffffffff8211620011a6576040519262001218601f8401601f191660200185620011bc565b828452602083830101116200118c57816000926020809301838601378301015290565b6000546001600160a01b031633036200125057565b60405163118cdaa760e01b8152336004820152602490fd5b156200127057565b60405162461bcd60e51b815260206004820152600f60248201526e4f6e6c7920676f7665726e616e636560881b6044820152606490fd5b15620012af57565b60405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b6044820152606490fd5b91908201809211620012f157565b634e487b7160e01b600052601160045260246000fd5b156200130f57565b60405162461bcd60e51b81526020600482015260156024820152744e6f2070656e64696e6720676f7665726e616e636560581b6044820152606490fd5b908160209103126200118c57516001600160a01b03811681036200118c5790565b919082519283825260005b8481106200139a575050826000602080949584010152601f8019910116010190565b60208183018101518483018201520162001378565b6000198114620012f15760010190565b15620013c757565b60405162461bcd60e51b815260206004820152601160248201527057616c6c6574206e6f742061637469766560781b6044820152606490fd5b156200140857565b60405162461bcd60e51b815260206004820152600f60248201526e0aec2d8d8cae840dad2e6dac2e8c6d608b1b6044820152606490fd5b91908203918211620012f157565b6001600160a01b03908116929162001467841515620012a7565b60648111620016145760009391828552602091600783526040928387205496878152600680835260ff98620014bd88600297620014ab8d8a8c8920015416620013bf565b83865284875289862054161462001400565b8083528184526001998a96878986200154978891869387600854935b848210620015c1575050505050620014f1916200143f565b851562001583576200150686606492620012e3565b036200154757827f8713509f1066ad2aea50f5df115ad2001156e1c703e857b02b02283fa90c049998999a92889287955285522001558351928352820152a2565b865162461bcd60e51b8152600481018590526015602482015274546f74616c206d75737420657175616c203130302560581b6044820152606490fd5b50829450907f8713509f1066ad2aea50f5df115ad2001156e1c703e857b02b02283fa90c0499979899918352835285822001558351928352820152a2565b908092939495508952878a528c8920838582015416620015f5575b5050620015e990620013af565b908a9392918f620014d9565b01549094620015e9916200160991620012e3565b9490508e38620015dc565b60405162461bcd60e51b8152602060048201526012602482015271496e76616c69642070657263656e7461676560701b6044820152606490fd5b67ffffffffffffffff8111620011a65760051b60200190565b80518210156200167c5760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03908116908115620016eb576000918083526007602052604083205483526006602052604083209160ff60028401541615620016e55782541603620016e15760019150015490565b5090565b50505090565b5050600090565b6008805480156200178c57806064049060640660005b835481101562001786578062001744916000528360066020908082526040908160002060ff6002820154166200174a575b5050505050620013af565b62001708565b85620017775750620017608760019495620012e3565b93856000525260002001555b833880808062001739565b9150506001915001556200176c565b50505050565b5050565b6002805492939290916001600160a01b0391821633148015620019d8575b15620019a45781169283156200196a57841562001937576008938454156200192f57600091825b8654811015620018855780600052600660209080825260408060002060ff8a820154168062001877575b6200181a575b505050506200181490620013af565b620017d5565b6001015491828c02928c840403620012f1576064899304938462001840575b5062001805565b93809386999362001865936200186b97620018149960005252600020541688620019e6565b620012e3565b93908538808062001839565b5060018101541515620017ff565b509591620018959193926200143f565b928315158062001924575b620018ad575b5050505050565b60005b85548110156200191857806000526006602052604060002060ff8382015416806200190a575b620018ed5750620018e790620013af565b620018b0565b915050620018ff9450541690620019e6565b3880808080620018a6565b5060018101541515620018d6565b505050505050620018ff565b5084541515620018a0565b509350505050565b60405162461bcd60e51b815260206004820152600b60248201526a16995c9bc8185b5bdd5b9d60aa1b6044820152606490fd5b60405162461bcd60e51b81526020600482015260126024820152715a65726f20746f6b656e206164647265737360701b6044820152606490fd5b60405162461bcd60e51b815260206004820152600c60248201526b155b985d5d1a1bdc9a5e995960a21b6044820152606490fd5b5081600354163314620017ae565b60405163a9059cbb60e01b60208083019182526001600160a01b03949094166024830152604480830195909552938152909260009162001a28606482620011bc565b519082855af11562001a7f576000513d62001a7557506001600160a01b0381163b155b62001a535750565b604051635274afe760e01b81526001600160a01b039091166004820152602490fd5b6001141562001a4b565b6040513d6000823e3d90fdfe60406080815234620004685762000d6a90813803806200001f816200046d565b938439820191608081840312620004685780516001600160401b0393908481116200046857816200005291840162000493565b93602091828401519082821162000468576200007091850162000493565b946200008c60606200008487870162000505565b950162000505565b91815181811162000368576003908154906001948583811c931680156200045d575b8884101462000447578190601f93848111620003f1575b5088908483116001146200038a576000926200037e575b505060001982851b1c191690851b1782555b8851928311620003685760049889548581811c911680156200035d575b888210146200034857828111620002fd575b5086918411600114620002925793839491849260009562000286575b50501b92600019911b1c19161785555b600580546001600160a01b039283166001600160a01b031982168117909255855194919083167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3169182156200024757506002546b1027e72f1f12813088000000908181018091116200023257907f2ad6f48f384a94707002a26b23c49d27c2b8ef76da9c6c1cba7237c7f91f5b6792916002558360005260008252846000208181540190558360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef848851858152a38451908152a25161084f90816200051b8239f35b601186634e487b7160e01b6000525260246000fd5b6064918562461bcd60e51b8352820152601960248201527f496e76616c696420726563697069656e742061646472657373000000000000006044820152fd5b01519350388062000139565b9190601f198416928a60005284886000209460005b8a89838310620002e55750505010620002ca575b50505050811b01855562000149565b01519060f884600019921b161c1916905538808080620002bb565b868601518955909701969485019488935001620002a7565b8a600052876000208380870160051c8201928a88106200033e575b0160051c019086905b828110620003315750506200011d565b6000815501869062000321565b9250819262000318565b60228b634e487b7160e01b6000525260246000fd5b90607f16906200010b565b634e487b7160e01b600052604160045260246000fd5b015190503880620000dc565b90879350601f19831691866000528a6000209260005b8c828210620003da5750508411620003c1575b505050811b018255620000ee565b015160001983871b60f8161c19169055388080620003b3565b8385015186558b97909501949384019301620003a0565b90915084600052886000208480850160051c8201928b86106200043d575b918991869594930160051c01915b8281106200042d575050620000c5565b600081558594508991016200041d565b925081926200040f565b634e487b7160e01b600052602260045260246000fd5b92607f1692620000ae565b600080fd5b6040519190601f01601f191682016001600160401b038111838210176200036857604052565b919080601f84011215620004685782516001600160401b0381116200036857602090620004c9601f8201601f191683016200046d565b92818452828287010111620004685760005b818110620004f157508260009394955001015290565b8581018301518482018401528201620004db565b51906001600160a01b0382168203620004685756fe6080604081815260048036101561001557600080fd5b600092833560e01c90816306fdde03146105a057508063095ea7b3146104f757806318160ddd146104d857806323b872dd146103e5578063313ce567146103c957806332cb6b0c146103a257806370a082311461036b578063715018a61461030b5780638da5cb5b146102e257806395d89b41146101c2578063a9059cbb14610191578063dd62ed3e146101445763f2fde38b146100b257600080fd5b34610140576020366003190112610140576100cb6106de565b906100d461070f565b6001600160a01b0391821692831561012a575050600554826bffffffffffffffffffffffff60a01b821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b51631e4fbdf760e01b8152908101849052602490fd5b8280fd5b50503461018d578060031936011261018d57806020926101626106de565b61016a6106f9565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5080fd5b50503461018d578060031936011261018d576020906101bb6101b16106de565b602435903361073b565b5160018152f35b5091903461018d578160031936011261018d57805190828454600181811c908083169283156102d8575b60209384841081146102c5578388529081156102a95750600114610254575b505050829003601f01601f191682019267ffffffffffffffff841183851017610241575082918261023d925282610695565b0390f35b634e487b7160e01b815260418552602490fd5b8787529192508591837f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b838510610295575050505083010138808061020b565b80548886018301529301928490820161027f565b60ff1916878501525050151560051b840101905038808061020b565b634e487b7160e01b895260228a52602489fd5b91607f16916101ec565b50503461018d578160031936011261018d5760055490516001600160a01b039091168152602090f35b833461036857806003193601126103685761032461070f565b600580546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b80fd5b50503461018d57602036600319011261018d5760209181906001600160a01b036103936106de565b16815280845220549051908152f35b50503461018d578160031936011261018d57602090516b1027e72f1f128130880000008152f35b50503461018d578160031936011261018d576020905160128152f35b508234610368576060366003190112610368576104006106de565b6104086106f9565b916044359360018060a01b038316808352600160205286832033845260205286832054916000198310610444575b6020886101bb89898961073b565b8683106104ac57811561049557331561047e575082526001602090815286832033845281529186902090859003905582906101bb87610436565b8751634a1406b160e11b8152908101849052602490fd5b875163e602df0560e01b8152908101849052602490fd5b8751637dc7a0d960e11b8152339181019182526020820193909352604081018790528291506060010390fd5b50503461018d578160031936011261018d576020906002549051908152f35b50346101405781600319360112610140576105106106de565b602435903315610589576001600160a01b031691821561057257508083602095338152600187528181208582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b8351634a1406b160e11b8152908101859052602490fd5b835163e602df0560e01b8152808401869052602490fd5b849150833461014057826003193601126101405782600354600181811c9080831692831561068b575b60209384841081146102c55783885290811561066f575060011461061957505050829003601f01601f191682019267ffffffffffffffff841183851017610241575082918261023d925282610695565b600387529192508591837fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b83851061065b575050505083010185808061020b565b805488860183015293019284908201610645565b60ff1916878501525050151560051b840101905085808061020b565b91607f16916105c9565b6020808252825181830181905290939260005b8281106106ca57505060409293506000838284010152601f8019910116010190565b8181018601518482016040015285016106a8565b600435906001600160a01b03821682036106f457565b600080fd5b602435906001600160a01b03821682036106f457565b6005546001600160a01b0316330361072357565b60405163118cdaa760e01b8152336004820152602490fd5b916001600160a01b0380841692831561080057169283156107e757600090838252816020526040822054908382106107b5575091604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405163391434e360e21b81526001600160a01b03919091166004820152602481019190915260448101839052606490fd5b60405163ec442f0560e01b815260006004820152602490fd5b604051634b637e8f60e11b815260006004820152602490fdfea26469706673582212208ac1f2d8b3f0324d043b5b11503ceb84dba9b105a7fa3d93b05368d060b971e964736f6c63430008140033a26469706673582212203c2f7331d681cfd0f0b8e72b359ed06009edd7c8a9a83facaf2fe40db5e7119464736f6c634300081400330000000000000000000000003e9a5b61d88782dce7267642417cbab05e801c250000000000000000000000000f7f24c7f22e2ca7052f051a295e1a5d3369cace

Deployed ByteCode

0x604060808152600490813610156200001657600080fd5b600091823560e01c9081630bf1134c1462000edf5781630e3fe91f1462000e0a57816324d9f5cb1462000d9e57816329c482751462000d685781632d4537051462000d475781633978054a1462000d055781633bc3f9ea1462000c9d5781635aa6e6751462000c725781636d3dacdc1462000c545781637134011a1462000bfe578163715018a61462000ba057816378ba139d1462000b80578163895d0d12146200098d5781638da5cb5b1462000963578163a5d6898d1462000777578163bc1894f51462000592578163d270e7ab1462000567578163d60e81b21462000265578163dc57e3e01462000232578163e87bfbe11462000201578163f2fde38b146200016a575063fb0465ab146200012c57600080fd5b3462000166576020366003190112620001665760209181906001600160a01b036200015662001175565b1681526007845220549051908152f35b5080fd5b905034620001fd576020366003190112620001fd576200018962001175565b90620001946200123b565b6001600160a01b03918216928315620001e7575050600054826001600160601b0360a01b821617600055167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a380f35b51631e4fbdf760e01b8152908101849052602490fd5b8280fd5b50503462000166573660031901126200022f576200022c6200022262001175565b6024359062001790565b80f35b80fd5b5050346200016657602036600319011262000166576020906200025e6200025862001175565b62001692565b9051908152f35b91905034620001fd576060366003190112620001fd576200028562001175565b9160249384359467ffffffffffffffff95868111620001fd57620002ad9036908501620011df565b926044358781116200056357620002c89036908301620011df565b9060018060a01b03918260025416978833036200052c578389911603620004f2578551151580620004e7575b15620004ae5786519763795053d360e01b89526020998a8a8581855afa998a15620004a457879a6200046e575b50885192610d6a808501928311858410176200045c578493926200036c8e8b946200035e8e60609662001a8c8b396080865260808601906200136d565b91848303908501526200136d565b938c8201520152039085f080156200045257821696826002541692833b156200044e5785606095938195938b938b519889978896879563067ab9a160e31b8752860152840152620003c1606484018c6200136d565b9116604483015203925af180156200044457908593929162000426575b507f868fe488c48c70f27d9d98f40cfc2ddb161894613ebc05f66f464e463047e54a9162000418918551928392878452878401906200136d565b90888301520390a251908152f35b81929350620004359062001191565b6200022f5790839138620003de565b84513d84823e3d90fd5b8580fd5b86513d86823e3d90fd5b634e487b7160e01b8952604186528789fd5b62000494919a508b3d8d116200049c575b6200048b8183620011bc565b8101906200134c565b983862000321565b503d6200047f565b89513d89823e3d90fd5b865162461bcd60e51b815260208184015260148186015273115b5c1d1e481b985b59481bdc881cde5b589bdb60621b6044820152606490fd5b5080511515620002f4565b865162461bcd60e51b815260208184015260158186015274125b9d985b1a59081cddd85c0818dbdb9d1c9858dd605a1b6044820152606490fd5b875162461bcd60e51b81526020818501526012818701527113db9b1e481b585a5b8818dbdb9d1c9858dd60721b6044820152606490fd5b8380fd5b505034620001665781600319360112620001665760025490516001600160a01b039091168152602090f35b91905034620001fd57602091826003193601126200056357620005b462001175565b6003546001600160a01b0393918491620005d2908316331462001268565b1693620005e1851515620012a7565b848652600781528186205480875260068083526002916200060a60ff84878c20015416620013bf565b808952818452620006228888878c2054161462001400565b8089528184528489208301805460ff19169055600854600019978882019291831162000764579282828c9897958995600798951415806200074e575b620006d3575b505083528352848220828155826001820155015586845252812055600854908115620006c057500160085562000699620016f2565b7f191378465c52a6b372fa1dd86b923fd1c8eeba292b9bb00fff05f5ec69ae06b18280a280f35b634e487b7160e01b855260119052602484fd5b8286528387528886208287528987208682820362000708575b5050508286528886205416855286865287852055388062000664565b60ff818486620007459654166001600160601b0360a01b8654161785556001810154600186015501541691019060ff801983541691151516179055565b388086620006ec565b5082865283875260ff858a88200154166200065e565b634e487b7160e01b8b526011885260248bfd5b8383346200016657602080600319360112620001fd576200079762001175565b6003546001600160a01b0393918491620007b5908316331462001268565b1692620007c4841515620012a7565b6008549060058210156200092a578486526007845282862054801590811562000911575b5015620008d657825196606088019088821067ffffffffffffffff831117620008c1575096600262000885927f80d01e06447e7701283901cfa60f841c27cf426be43fdc5c11f027ba300fde0997989986528883528683018a81528684019160018352868c5260068952878c209451166001600160601b0360a01b85541617845551600184015551151591019060ff801983541691151516179055565b8486526007835280828720556200089e600854620013af565b600855620008ab620016f2565b855260068252600181862001549051908152a280f35b604190634e487b7160e01b6000525260246000fd5b825162461bcd60e51b8152808801859052601560248201527457616c6c657420616c72656164792065786973747360581b6044820152606490fd5b875250600684528286206002015460ff161588620007e8565b825162461bcd60e51b8152808801859052601360248201527213585e081dd85b1b195d1cc81c995858da1959606a1b6044820152606490fd5b5050346200016657816003193601126200016657905490516001600160a01b039091168152602090f35b8284346200022f57806003193601126200022f57600854620009af816200164e565b91620009be84519384620011bc565b818352620009cc826200164e565b91602080850191601f19809501368437620009e7816200164e565b96620009f681519889620011bc565b81885262000a04826200164e565b9386848a01950136863762000a19836200164e565b9262000a2883519485620011bc565b80845262000a36816200164e565b8486019801368937865b81811062000b00575050815198899860608a019060608b525180915260808a019290885b81811062000adf5750505088820389860152518082529084019490865b81811062000ac757505050868403908701525180835291810193925b82811062000aad57505050500390f35b835115158552869550938101939281019260010162000a9d565b825187528a9950958501959185019160010162000a81565b82516001600160a01b031685528c9b50938701939187019160010162000a64565b8062000b709189989a9b9c9495969799526006808a528c62000b2f8360018060a01b038a8d2054169262001667565b52818952808a526001878a20015462000b49838762001667565b52818952895260ff6002878a2001541662000b65828962001667565b9015159052620013af565b9998979596949392919962000a40565b50503462000166578160031936011262000166576020905162093a808152f35b83346200022f57806003193601126200022f5762000bbd6200123b565b600080546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b905034620001fd576020366003190112620001fd5735825260066020908152918190208054600182015460029092015492516001600160a01b0390911681529283015260ff1615156040820152606090f35b0390f35b50503462000166578160031936011262000166576020905160058152f35b505034620001665781600319360112620001665760035490516001600160a01b039091168152602090f35b905082346200022f57806003193601126200022f575060018060a01b0390541662000c5060055492821515908162000cf8575b516001600160a01b039093168352602083019390935291151560408201529081906060820190565b9050834210159062000cd0565b50503462000166573660031901126200022f576200022c62000d2662001175565b62000d3d60018060a01b0360035416331462001268565b602435906200144d565b50503462000166578160031936011262000166576020906008549051908152f35b905082346200022f57806003193601126200022f57505460055491516001600160a01b0390911681526020810191909152604090f35b8390346200016657816003193601126200016657600060018060a01b0362000dcc8160035416331462001268565b8254169162000ddd83151562001307565b5560006005557f52be45b6d866661db847ec9cb4fe163f6e5dac19992796ef11a9bd700d7d78508280a280f35b905034620001fd576020366003190112620001fd5762000e2962001175565b6003546001600160a01b03919062000e45908316331462001268565b169162000e54831515620012a7565b62093a80420191824211620006c057815182810181811067ffffffffffffffff82111762000eca578352848152602090810184905281546001600160a01b0319168517909155600583905590519182527ff172b4d09700364ea24f36023d32ce7468f38e083a5375ff19d7aea02f9c6b6291a280f35b604183634e487b7160e01b6000525260246000fd5b905034620001fd5782600319360112620001fd576003546001600160a01b03929062000f0f908416331462001268565b828254169262000f2184151562001307565b60055442106200113b57848160025416803b15620001665781906024855180948193636e89e43d60e01b83528a8a8401525af18015620011315762001119575b5090818592600254168251809163473ca96360e11b8252818760209485935afa90811562001096579083918691620010f7575b501680620010a0575b5084818360025416855192838092635075c66760e11b82525afa9182156200109657859262001074575b505016908162001019575b505050600090826001600160601b0360a01b60035416176003555560006005557fa5129c344917f52985852acb6358b373875d63f40247d1f6c5f7bc9761211fda8280a280f35b813b15620001fd5782809260248351809581936302ce81a960e61b83528a8a8401525af19081156200106b575062001053575b8062000fd2565b6200105e9062001191565b620001fd5782386200104c565b513d84823e3d90fd5b6200108e9250803d106200049c576200048b8183620011bc565b388062000fc7565b84513d87823e3d90fd5b803b15620010f357848091602486518094819363188c1eb360e31b83528c8c8401525af180156200109657908591620010db575b5062000f9d565b620010e69062001191565b62000563578338620010d4565b8480fd5b620011129150833d85116200049c576200048b8183620011bc565b3862000f94565b62001128909591929562001191565b93903862000f61565b83513d88823e3d90fd5b815162461bcd60e51b81526020818501526014602482015273151a5b595b1bd8dac81b9bdd08195e1c1a5c995960621b6044820152606490fd5b600435906001600160a01b03821682036200118c57565b600080fd5b67ffffffffffffffff8111620011a657604052565b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff821117620011a657604052565b81601f820112156200118c5780359067ffffffffffffffff8211620011a6576040519262001218601f8401601f191660200185620011bc565b828452602083830101116200118c57816000926020809301838601378301015290565b6000546001600160a01b031633036200125057565b60405163118cdaa760e01b8152336004820152602490fd5b156200127057565b60405162461bcd60e51b815260206004820152600f60248201526e4f6e6c7920676f7665726e616e636560881b6044820152606490fd5b15620012af57565b60405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b6044820152606490fd5b91908201809211620012f157565b634e487b7160e01b600052601160045260246000fd5b156200130f57565b60405162461bcd60e51b81526020600482015260156024820152744e6f2070656e64696e6720676f7665726e616e636560581b6044820152606490fd5b908160209103126200118c57516001600160a01b03811681036200118c5790565b919082519283825260005b8481106200139a575050826000602080949584010152601f8019910116010190565b60208183018101518483018201520162001378565b6000198114620012f15760010190565b15620013c757565b60405162461bcd60e51b815260206004820152601160248201527057616c6c6574206e6f742061637469766560781b6044820152606490fd5b156200140857565b60405162461bcd60e51b815260206004820152600f60248201526e0aec2d8d8cae840dad2e6dac2e8c6d608b1b6044820152606490fd5b91908203918211620012f157565b6001600160a01b03908116929162001467841515620012a7565b60648111620016145760009391828552602091600783526040928387205496878152600680835260ff98620014bd88600297620014ab8d8a8c8920015416620013bf565b83865284875289862054161462001400565b8083528184526001998a96878986200154978891869387600854935b848210620015c1575050505050620014f1916200143f565b851562001583576200150686606492620012e3565b036200154757827f8713509f1066ad2aea50f5df115ad2001156e1c703e857b02b02283fa90c049998999a92889287955285522001558351928352820152a2565b865162461bcd60e51b8152600481018590526015602482015274546f74616c206d75737420657175616c203130302560581b6044820152606490fd5b50829450907f8713509f1066ad2aea50f5df115ad2001156e1c703e857b02b02283fa90c0499979899918352835285822001558351928352820152a2565b908092939495508952878a528c8920838582015416620015f5575b5050620015e990620013af565b908a9392918f620014d9565b01549094620015e9916200160991620012e3565b9490508e38620015dc565b60405162461bcd60e51b8152602060048201526012602482015271496e76616c69642070657263656e7461676560701b6044820152606490fd5b67ffffffffffffffff8111620011a65760051b60200190565b80518210156200167c5760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03908116908115620016eb576000918083526007602052604083205483526006602052604083209160ff60028401541615620016e55782541603620016e15760019150015490565b5090565b50505090565b5050600090565b6008805480156200178c57806064049060640660005b835481101562001786578062001744916000528360066020908082526040908160002060ff6002820154166200174a575b5050505050620013af565b62001708565b85620017775750620017608760019495620012e3565b93856000525260002001555b833880808062001739565b9150506001915001556200176c565b50505050565b5050565b6002805492939290916001600160a01b0391821633148015620019d8575b15620019a45781169283156200196a57841562001937576008938454156200192f57600091825b8654811015620018855780600052600660209080825260408060002060ff8a820154168062001877575b6200181a575b505050506200181490620013af565b620017d5565b6001015491828c02928c840403620012f1576064899304938462001840575b5062001805565b93809386999362001865936200186b97620018149960005252600020541688620019e6565b620012e3565b93908538808062001839565b5060018101541515620017ff565b509591620018959193926200143f565b928315158062001924575b620018ad575b5050505050565b60005b85548110156200191857806000526006602052604060002060ff8382015416806200190a575b620018ed5750620018e790620013af565b620018b0565b915050620018ff9450541690620019e6565b3880808080620018a6565b5060018101541515620018d6565b505050505050620018ff565b5084541515620018a0565b509350505050565b60405162461bcd60e51b815260206004820152600b60248201526a16995c9bc8185b5bdd5b9d60aa1b6044820152606490fd5b60405162461bcd60e51b81526020600482015260126024820152715a65726f20746f6b656e206164647265737360701b6044820152606490fd5b60405162461bcd60e51b815260206004820152600c60248201526b155b985d5d1a1bdc9a5e995960a21b6044820152606490fd5b5081600354163314620017ae565b60405163a9059cbb60e01b60208083019182526001600160a01b03949094166024830152604480830195909552938152909260009162001a28606482620011bc565b519082855af11562001a7f576000513d62001a7557506001600160a01b0381163b155b62001a535750565b604051635274afe760e01b81526001600160a01b039091166004820152602490fd5b6001141562001a4b565b6040513d6000823e3d90fdfe60406080815234620004685762000d6a90813803806200001f816200046d565b938439820191608081840312620004685780516001600160401b0393908481116200046857816200005291840162000493565b93602091828401519082821162000468576200007091850162000493565b946200008c60606200008487870162000505565b950162000505565b91815181811162000368576003908154906001948583811c931680156200045d575b8884101462000447578190601f93848111620003f1575b5088908483116001146200038a576000926200037e575b505060001982851b1c191690851b1782555b8851928311620003685760049889548581811c911680156200035d575b888210146200034857828111620002fd575b5086918411600114620002925793839491849260009562000286575b50501b92600019911b1c19161785555b600580546001600160a01b039283166001600160a01b031982168117909255855194919083167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3169182156200024757506002546b1027e72f1f12813088000000908181018091116200023257907f2ad6f48f384a94707002a26b23c49d27c2b8ef76da9c6c1cba7237c7f91f5b6792916002558360005260008252846000208181540190558360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef848851858152a38451908152a25161084f90816200051b8239f35b601186634e487b7160e01b6000525260246000fd5b6064918562461bcd60e51b8352820152601960248201527f496e76616c696420726563697069656e742061646472657373000000000000006044820152fd5b01519350388062000139565b9190601f198416928a60005284886000209460005b8a89838310620002e55750505010620002ca575b50505050811b01855562000149565b01519060f884600019921b161c1916905538808080620002bb565b868601518955909701969485019488935001620002a7565b8a600052876000208380870160051c8201928a88106200033e575b0160051c019086905b828110620003315750506200011d565b6000815501869062000321565b9250819262000318565b60228b634e487b7160e01b6000525260246000fd5b90607f16906200010b565b634e487b7160e01b600052604160045260246000fd5b015190503880620000dc565b90879350601f19831691866000528a6000209260005b8c828210620003da5750508411620003c1575b505050811b018255620000ee565b015160001983871b60f8161c19169055388080620003b3565b8385015186558b97909501949384019301620003a0565b90915084600052886000208480850160051c8201928b86106200043d575b918991869594930160051c01915b8281106200042d575050620000c5565b600081558594508991016200041d565b925081926200040f565b634e487b7160e01b600052602260045260246000fd5b92607f1692620000ae565b600080fd5b6040519190601f01601f191682016001600160401b038111838210176200036857604052565b919080601f84011215620004685782516001600160401b0381116200036857602090620004c9601f8201601f191683016200046d565b92818452828287010111620004685760005b818110620004f157508260009394955001015290565b8581018301518482018401528201620004db565b51906001600160a01b0382168203620004685756fe6080604081815260048036101561001557600080fd5b600092833560e01c90816306fdde03146105a057508063095ea7b3146104f757806318160ddd146104d857806323b872dd146103e5578063313ce567146103c957806332cb6b0c146103a257806370a082311461036b578063715018a61461030b5780638da5cb5b146102e257806395d89b41146101c2578063a9059cbb14610191578063dd62ed3e146101445763f2fde38b146100b257600080fd5b34610140576020366003190112610140576100cb6106de565b906100d461070f565b6001600160a01b0391821692831561012a575050600554826bffffffffffffffffffffffff60a01b821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b51631e4fbdf760e01b8152908101849052602490fd5b8280fd5b50503461018d578060031936011261018d57806020926101626106de565b61016a6106f9565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5080fd5b50503461018d578060031936011261018d576020906101bb6101b16106de565b602435903361073b565b5160018152f35b5091903461018d578160031936011261018d57805190828454600181811c908083169283156102d8575b60209384841081146102c5578388529081156102a95750600114610254575b505050829003601f01601f191682019267ffffffffffffffff841183851017610241575082918261023d925282610695565b0390f35b634e487b7160e01b815260418552602490fd5b8787529192508591837f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b838510610295575050505083010138808061020b565b80548886018301529301928490820161027f565b60ff1916878501525050151560051b840101905038808061020b565b634e487b7160e01b895260228a52602489fd5b91607f16916101ec565b50503461018d578160031936011261018d5760055490516001600160a01b039091168152602090f35b833461036857806003193601126103685761032461070f565b600580546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b80fd5b50503461018d57602036600319011261018d5760209181906001600160a01b036103936106de565b16815280845220549051908152f35b50503461018d578160031936011261018d57602090516b1027e72f1f128130880000008152f35b50503461018d578160031936011261018d576020905160128152f35b508234610368576060366003190112610368576104006106de565b6104086106f9565b916044359360018060a01b038316808352600160205286832033845260205286832054916000198310610444575b6020886101bb89898961073b565b8683106104ac57811561049557331561047e575082526001602090815286832033845281529186902090859003905582906101bb87610436565b8751634a1406b160e11b8152908101849052602490fd5b875163e602df0560e01b8152908101849052602490fd5b8751637dc7a0d960e11b8152339181019182526020820193909352604081018790528291506060010390fd5b50503461018d578160031936011261018d576020906002549051908152f35b50346101405781600319360112610140576105106106de565b602435903315610589576001600160a01b031691821561057257508083602095338152600187528181208582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b8351634a1406b160e11b8152908101859052602490fd5b835163e602df0560e01b8152808401869052602490fd5b849150833461014057826003193601126101405782600354600181811c9080831692831561068b575b60209384841081146102c55783885290811561066f575060011461061957505050829003601f01601f191682019267ffffffffffffffff841183851017610241575082918261023d925282610695565b600387529192508591837fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b83851061065b575050505083010185808061020b565b805488860183015293019284908201610645565b60ff1916878501525050151560051b840101905085808061020b565b91607f16916105c9565b6020808252825181830181905290939260005b8281106106ca57505060409293506000838284010152601f8019910116010190565b8181018601518482016040015285016106a8565b600435906001600160a01b03821682036106f457565b600080fd5b602435906001600160a01b03821682036106f457565b6005546001600160a01b0316330361072357565b60405163118cdaa760e01b8152336004820152602490fd5b916001600160a01b0380841692831561080057169283156107e757600090838252816020526040822054908382106107b5575091604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405163391434e360e21b81526001600160a01b03919091166004820152602481019190915260448101839052606490fd5b60405163ec442f0560e01b815260006004820152602490fd5b604051634b637e8f60e11b815260006004820152602490fdfea26469706673582212208ac1f2d8b3f0324d043b5b11503ceb84dba9b105a7fa3d93b05368d060b971e964736f6c63430008140033a26469706673582212203c2f7331d681cfd0f0b8e72b359ed06009edd7c8a9a83facaf2fe40db5e7119464736f6c63430008140033