ETH Price: $2,332.14 (-0.75%)

Token

GLORY (GLORY)
 

Overview

Max Total Supply

965,860,782 GLORY

Holders

13,979 (0.00%)

Market

Price

$0.00 @ 0.000000 ETH (-0.01%)

Onchain Market Cap

$835,730.36

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
2,333 GLORY

Value
$2.02 ( ~0.000866157676721947 ETH) [0.0002%]
0xc5e9090b15bd59da969383e6fa84d6ccf1fc4f69
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

SEKAI GLORY is an anime trading card game on mobile - built on Blast.

Contract Source Code Verified (Exact Match)

Contract Name:
Glory

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
paris EvmVersion
File 1 of 11 : Glory.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;

import { Ownable } from "@solady/src/auth/Ownable.sol";
import { ERC20, ERC20Burnable } from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import { IERC20 } from "@openzeppelin/contracts/interfaces/IERC20.sol";
import { IGlory } from "./interfaces/IGlory.sol";
import { IBlast } from "./interfaces/IBlast.sol";

/**
                   .:^~~!!77777777!!~^^:.                   
               .^~!7777777777777777777777!~^.               
            :~77??777777777777777777777777??7!~:            
         .~77?77777777777777777777777777777777?77~.         
       .~7?777777777777777777777777777?7777777777?7~.       
     .~7?7777777777777???????????????7~!7?777777777?7~.     
    :7?77777777777?77!~^^^^^^^^^^^^^:.  .^!7777777777?7:    
   ^77777777777?7!^:.                     ~7777777777777^   
  ^777777777777!:         ...........    ~?77777777777777^  
 :777777777777:        .~7777777777?!    ^7777777777777777: 
 !77777777777:        ~7?7777777777~.      .:~777777777777! 
^77777777777^        ~?7777777777777^.  .:~!777777777777777^
!77777777777.       :77777777777777??7!77????77777777777777!
!77777777777:       :777777777!!!!!!!!!!!!!!!777777777777777
!77777777777!        ~?7777777!^.         :^!777777777777777
~77777777777?~        ^7?777777?7~.    :~77?777777777777777!
^7777777777777!:       .^7?777777?:    !?777777777777777777^
 !77777777777777!^.       :~777777:    !?77777777777777777! 
 :777777777777777?7!~^:. .:!77777?:    ~?77777777777777777: 
  ^77777777777777777??7777?777777^      ^7777777777777777^  
   ^7777777777777777777777777777~        ~77777777777777^   
    :7?777777777777777777777777777^    ^7777777777777?7:    
     .~7?7777777777777777777777777?!::!?77777777777?7~.     
       .~7?77777777777777777777777777777777777777?7~:       
         .~77?77777777777777777777777777777777?77~.         
            :~!7??777777777777777777777777??77~:.           
               .^~!7777777777777777777777!~^:               
                   .:^^~!!77777777!!~~^:.                   
 */

/**›
 * @title Glory
 * @notice This contract handles all functionality related to the Sekai Glory ERC20 token.
 */
contract Glory is IGlory, Ownable, ERC20Burnable {
    IBlast public immutable BLAST = IBlast(0x4300000000000000000000000000000000000002);
    uint256 public constant MAX_TOKENS = 1_000_000_000 * 1e18;

    /**
     * @inheritdoc IGlory
     */
    mapping(address account => bool canTrade) public whitelist;

    /**
     * @inheritdoc IGlory
     */
    bool public transfersDisabled = true;

    /**
     * @inheritdoc IGlory
     */
    bool public enforceMaxBalance = true;

    /**
     * @inheritdoc IGlory
     */
    address public pair;

    /**
     * @inheritdoc IGlory
     */
    uint256 public maxBalance = 100_000 * 1e18; // Default to 100k tokens.

    constructor(address _blastGovernor) ERC20("GLORY", "GLORY") {
        if (_blastGovernor == address(0)) revert ZeroAddress();

        BLAST.configureClaimableGas();
        BLAST.configureGovernor({ _governor: _blastGovernor });

        _initializeOwner({ newOwner: msg.sender });
        _mint({ account: msg.sender, value: MAX_TOKENS });

        whitelist[msg.sender] = true;
    }

    /**
     * @inheritdoc IGlory
     */
    function burn(uint256 value) public override(IGlory, ERC20Burnable) {
        super.burn(value);
    }

    /**
     * @inheritdoc IGlory
     */
    function burnFrom(address account, uint256 value) public override(IGlory, ERC20Burnable) {
        super.burnFrom({ account: account, value: value });
    }

    /**
     * @inheritdoc IGlory
     */
    function updateWhitelist(address account, bool status) external onlyOwner {
        whitelist[account] = status;
    }

    /**
     * @inheritdoc IGlory
     */
    function enableTransfers() external onlyOwner {
        if (!transfersDisabled) revert TradingEnabled();
        transfersDisabled = false;
    }

    /**
     * @inheritdoc IGlory
     */
    function setMaxBalance(uint256 amount) external onlyOwner {
        maxBalance = amount;
    }

    /**
     * @inheritdoc IGlory
     */
    function toggleMaxBalanceCheck() external onlyOwner {
        enforceMaxBalance = !enforceMaxBalance;
    }

    /**
     * @inheritdoc IGlory
     */
    function setPair(address pairAddr) external onlyOwner {
        if (pairAddr == address(0)) revert ZeroAddress();
        pair = pairAddr;
    }

    /**
     * Overridden to prevent non-whitelisted addresses from transferring tokens when transfers are disabled.
     */
    function _update(address from, address to, uint256 value) internal override {
        // If a transfer from a non-zero address is occuring.
        if (from != address(0)) {
            // If transfers are disabled and the sender is not whitelisted.
            if (transfersDisabled && !whitelist[from]) revert CallerBlocked();

            /// @dev If here, transfers are either enabled OR the user is whitelisted.

            // If there max balance limit is being enforced and pair is sending tokens to a non-whitelisted address.
            if (enforceMaxBalance && from == pair && !whitelist[to]) {
                // Check if the balance of `to` plus the future value exceeds the wallet limit.
                if (balanceOf({ account: to }) + value > maxBalance) revert OverMaxBalance();
            }

            /// @dev If here, the user has under the `maxBalance` assuming they are not whitelisted OR
            /// there is no max balance limit being enforced.
        }

        super._update(from, to, value);
    }

}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/// @notice Simple single owner authorization mixin.
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol)
///
/// @dev Note:
/// This implementation does NOT auto-initialize the owner to `msg.sender`.
/// You MUST call the `_initializeOwner` in the constructor / initializer.
///
/// While the ownable portion follows
/// [EIP-173](https://eips.ethereum.org/EIPS/eip-173) for compatibility,
/// the nomenclature for the 2-step ownership handover may be unique to this codebase.
abstract contract Ownable {
    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                       CUSTOM ERRORS                        */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The caller is not authorized to call the function.
    error Unauthorized();

    /// @dev The `newOwner` cannot be the zero address.
    error NewOwnerIsZeroAddress();

    /// @dev The `pendingOwner` does not have a valid handover request.
    error NoHandoverRequest();

    /// @dev Cannot double-initialize.
    error AlreadyInitialized();

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                           EVENTS                           */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The ownership is transferred from `oldOwner` to `newOwner`.
    /// This event is intentionally kept the same as OpenZeppelin's Ownable to be
    /// compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173),
    /// despite it not being as lightweight as a single argument event.
    event OwnershipTransferred(address indexed oldOwner, address indexed newOwner);

    /// @dev An ownership handover to `pendingOwner` has been requested.
    event OwnershipHandoverRequested(address indexed pendingOwner);

    /// @dev The ownership handover to `pendingOwner` has been canceled.
    event OwnershipHandoverCanceled(address indexed pendingOwner);

    /// @dev `keccak256(bytes("OwnershipTransferred(address,address)"))`.
    uint256 private constant _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE =
        0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0;

    /// @dev `keccak256(bytes("OwnershipHandoverRequested(address)"))`.
    uint256 private constant _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE =
        0xdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d;

    /// @dev `keccak256(bytes("OwnershipHandoverCanceled(address)"))`.
    uint256 private constant _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE =
        0xfa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92;

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                          STORAGE                           */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The owner slot is given by:
    /// `bytes32(~uint256(uint32(bytes4(keccak256("_OWNER_SLOT_NOT")))))`.
    /// It is intentionally chosen to be a high value
    /// to avoid collision with lower slots.
    /// The choice of manual storage layout is to enable compatibility
    /// with both regular and upgradeable contracts.
    bytes32 internal constant _OWNER_SLOT =
        0xffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927;

    /// The ownership handover slot of `newOwner` is given by:
    /// ```
    ///     mstore(0x00, or(shl(96, user), _HANDOVER_SLOT_SEED))
    ///     let handoverSlot := keccak256(0x00, 0x20)
    /// ```
    /// It stores the expiry timestamp of the two-step ownership handover.
    uint256 private constant _HANDOVER_SLOT_SEED = 0x389a75e1;

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                     INTERNAL FUNCTIONS                     */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Override to return true to make `_initializeOwner` prevent double-initialization.
    function _guardInitializeOwner() internal pure virtual returns (bool guard) {}

    /// @dev Initializes the owner directly without authorization guard.
    /// This function must be called upon initialization,
    /// regardless of whether the contract is upgradeable or not.
    /// This is to enable generalization to both regular and upgradeable contracts,
    /// and to save gas in case the initial owner is not the caller.
    /// For performance reasons, this function will not check if there
    /// is an existing owner.
    function _initializeOwner(address newOwner) internal virtual {
        if (_guardInitializeOwner()) {
            /// @solidity memory-safe-assembly
            assembly {
                let ownerSlot := _OWNER_SLOT
                if sload(ownerSlot) {
                    mstore(0x00, 0x0dc149f0) // `AlreadyInitialized()`.
                    revert(0x1c, 0x04)
                }
                // Clean the upper 96 bits.
                newOwner := shr(96, shl(96, newOwner))
                // Store the new value.
                sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))
                // Emit the {OwnershipTransferred} event.
                log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)
            }
        } else {
            /// @solidity memory-safe-assembly
            assembly {
                // Clean the upper 96 bits.
                newOwner := shr(96, shl(96, newOwner))
                // Store the new value.
                sstore(_OWNER_SLOT, newOwner)
                // Emit the {OwnershipTransferred} event.
                log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)
            }
        }
    }

    /// @dev Sets the owner directly without authorization guard.
    function _setOwner(address newOwner) internal virtual {
        if (_guardInitializeOwner()) {
            /// @solidity memory-safe-assembly
            assembly {
                let ownerSlot := _OWNER_SLOT
                // Clean the upper 96 bits.
                newOwner := shr(96, shl(96, newOwner))
                // Emit the {OwnershipTransferred} event.
                log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)
                // Store the new value.
                sstore(ownerSlot, or(newOwner, shl(255, iszero(newOwner))))
            }
        } else {
            /// @solidity memory-safe-assembly
            assembly {
                let ownerSlot := _OWNER_SLOT
                // Clean the upper 96 bits.
                newOwner := shr(96, shl(96, newOwner))
                // Emit the {OwnershipTransferred} event.
                log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)
                // Store the new value.
                sstore(ownerSlot, newOwner)
            }
        }
    }

    /// @dev Throws if the sender is not the owner.
    function _checkOwner() internal view virtual {
        /// @solidity memory-safe-assembly
        assembly {
            // If the caller is not the stored owner, revert.
            if iszero(eq(caller(), sload(_OWNER_SLOT))) {
                mstore(0x00, 0x82b42900) // `Unauthorized()`.
                revert(0x1c, 0x04)
            }
        }
    }

    /// @dev Returns how long a two-step ownership handover is valid for in seconds.
    /// Override to return a different value if needed.
    /// Made internal to conserve bytecode. Wrap it in a public function if needed.
    function _ownershipHandoverValidFor() internal view virtual returns (uint64) {
        return 48 * 3600;
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                  PUBLIC UPDATE FUNCTIONS                   */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Allows the owner to transfer the ownership to `newOwner`.
    function transferOwnership(address newOwner) public payable virtual onlyOwner {
        /// @solidity memory-safe-assembly
        assembly {
            if iszero(shl(96, newOwner)) {
                mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.
                revert(0x1c, 0x04)
            }
        }
        _setOwner(newOwner);
    }

    /// @dev Allows the owner to renounce their ownership.
    function renounceOwnership() public payable virtual onlyOwner {
        _setOwner(address(0));
    }

    /// @dev Request a two-step ownership handover to the caller.
    /// The request will automatically expire in 48 hours (172800 seconds) by default.
    function requestOwnershipHandover() public payable virtual {
        unchecked {
            uint256 expires = block.timestamp + _ownershipHandoverValidFor();
            /// @solidity memory-safe-assembly
            assembly {
                // Compute and set the handover slot to `expires`.
                mstore(0x0c, _HANDOVER_SLOT_SEED)
                mstore(0x00, caller())
                sstore(keccak256(0x0c, 0x20), expires)
                // Emit the {OwnershipHandoverRequested} event.
                log2(0, 0, _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE, caller())
            }
        }
    }

    /// @dev Cancels the two-step ownership handover to the caller, if any.
    function cancelOwnershipHandover() public payable virtual {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute and set the handover slot to 0.
            mstore(0x0c, _HANDOVER_SLOT_SEED)
            mstore(0x00, caller())
            sstore(keccak256(0x0c, 0x20), 0)
            // Emit the {OwnershipHandoverCanceled} event.
            log2(0, 0, _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE, caller())
        }
    }

    /// @dev Allows the owner to complete the two-step ownership handover to `pendingOwner`.
    /// Reverts if there is no existing ownership handover requested by `pendingOwner`.
    function completeOwnershipHandover(address pendingOwner) public payable virtual onlyOwner {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute and set the handover slot to 0.
            mstore(0x0c, _HANDOVER_SLOT_SEED)
            mstore(0x00, pendingOwner)
            let handoverSlot := keccak256(0x0c, 0x20)
            // If the handover does not exist, or has expired.
            if gt(timestamp(), sload(handoverSlot)) {
                mstore(0x00, 0x6f5e8818) // `NoHandoverRequest()`.
                revert(0x1c, 0x04)
            }
            // Set the handover slot to 0.
            sstore(handoverSlot, 0)
        }
        _setOwner(pendingOwner);
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                   PUBLIC READ FUNCTIONS                    */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Returns the owner of the contract.
    function owner() public view virtual returns (address result) {
        /// @solidity memory-safe-assembly
        assembly {
            result := sload(_OWNER_SLOT)
        }
    }

    /// @dev Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.
    function ownershipHandoverExpiresAt(address pendingOwner)
        public
        view
        virtual
        returns (uint256 result)
    {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the handover slot.
            mstore(0x0c, _HANDOVER_SLOT_SEED)
            mstore(0x00, pendingOwner)
            // Load the handover slot.
            result := sload(keccak256(0x0c, 0x20))
        }
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                         MODIFIERS                          */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Marks a function as only callable by the owner.
    modifier onlyOwner() virtual {
        _checkOwner();
        _;
    }
}

File 3 of 11 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.20;

import {ERC20} from "../ERC20.sol";
import {Context} from "../../../utils/Context.sol";

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

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

File 4 of 11 : 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";

File 5 of 11 : IGlory.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;

import { IERC20 } from "@openzeppelin/contracts/interfaces/IERC20.sol";

/**
 * @title IGlory
 * @notice Interface for Glory.
 */
interface IGlory is IERC20 {
    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                           ERRORS                           */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /**
     * Thrown when the zero address is provided as input.
     */
    error ZeroAddress();

    /**
     * Thrown when trying to enable transfers when transfers are already enabled.
     */
    error TradingEnabled();

    /**
     * Thrown when the caller is not authorized to transfer tokens.
     */
    error CallerBlocked();

    /**
     * Thrown when a user exceeds the maximum wallet balance of tokens.
     */
    error OverMaxBalance();

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                         FUNCTIONS                          */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /**
     * Function used to destroy `value` amount of tokens from the caller.
     * @param value Amount of tokens to destroy.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 value) external;

    /**
     * Function used to destroy `value` amount of tokens from `account`, deducting from
     * the caller's allowance.
     *
     * @param account Address to destroy tokens from.
     * @param value Amount of tokens to destroy.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for `accounts`'s tokens of at least
     * `value`.
     */
    function burnFrom(address account, uint256 value) external;

    /**
     * Function used to update the mapping of addresses that can transfer tokens when transfers are disabled.
     * @param account Address to modify whitelisting for.
     * @param status Flag indicating if `account` can transfer tokens or not.
     */
    function updateWhitelist(address account, bool status) external;

    /**
     * Function used to enable token transfers.
     */
    function enableTransfers() external;

    /**
     * Function used to set a new `maxBalance` value.
     * @param amount New maximum amount of tokens a user can hold.
     */
    function setMaxBalance(uint256 amount) external;

    /**
     * Function used to toggle the check for maxiumum wallet balances.
     */
    function toggleMaxBalanceCheck() external;

    /**
     * Function used to view if an account is whitelisted.
     */
    function whitelist(address account) external view returns (bool);

    /**
     * Function used to set the pair address.
     */
    function setPair(address pairAddr) external;

    /**
     * Function used to view if transfers are currently disabled.
     */
    function transfersDisabled() external view returns (bool);

    /**
     * Function used to view if the maximum wallet limit is being enforced.
     */
    function enforceMaxBalance() external view returns (bool);

    /**
     * Function used to view the maximum number of tokens a wallet can hold, assuming not transferred
     * from a whitelisted address.
     */
    function maxBalance() external view returns (uint256);

    /**
     * Function used to view the Thruster pair.
     */
    function pair() external view returns (address);
}

File 6 of 11 : IBlast.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;

/**
 * @title IBlast
 * @notice Interface for Blast.
 */
interface IBlast {
    enum YieldMode {
        AUTOMATIC,
        VOID,
        CLAIMABLE
    }

    enum GasMode {
        VOID,
        CLAIMABLE 
    }

    // configure
    function configureContract(address contractAddress, YieldMode _yield, GasMode gasMode, address governor) external;
    function configure(YieldMode _yield, GasMode gasMode, address governor) external;

    // base configuration options
    function configureClaimableYield() external;
    function configureClaimableYieldOnBehalf(address contractAddress) external;
    function configureAutomaticYield() external;
    function configureAutomaticYieldOnBehalf(address contractAddress) external;
    function configureVoidYield() external;
    function configureVoidYieldOnBehalf(address contractAddress) external;
    function configureClaimableGas() external;
    function configureClaimableGasOnBehalf(address contractAddress) external;
    function configureVoidGas() external;
    function configureVoidGasOnBehalf(address contractAddress) external;
    function configureGovernor(address _governor) external;
    function configureGovernorOnBehalf(address _newGovernor, address contractAddress) external;

    // claim yield
    function claimYield(address contractAddress, address recipientOfYield, uint256 amount) external returns (uint256);
    function claimAllYield(address contractAddress, address recipientOfYield) external returns (uint256);

    // claim gas
    function claimAllGas(address contractAddress, address recipientOfGas) external returns (uint256);
    function claimGasAtMinClaimRate(address contractAddress, address recipientOfGas, uint256 minClaimRateBips) external returns (uint256);
    function claimMaxGas(address contractAddress, address recipientOfGas) external returns (uint256);
    function claimGas(address contractAddress, address recipientOfGas, uint256 gasToClaim, uint256 gasSecondsToConsume) external returns (uint256);

    // read functions
    function readClaimableYield(address contractAddress) external view returns (uint256);
    function readYieldConfiguration(address contractAddress) external view returns (uint8);
    function readGasParams(address contractAddress) external view returns (uint256 etherSeconds, uint256 etherBalance, uint256 lastUpdated, GasMode);
}

File 7 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.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 ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * 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:
     * ```
     * 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);
            }
        }
    }
}

File 8 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (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;
    }
}

File 9 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

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

File 10 of 11 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.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 ERC20 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);
}

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

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 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 ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-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 ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 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);
}

Settings
{
  "remappings": [
    "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "@erc721a-upgradeable/=lib/ERC721A-Upgradeable/contracts/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "@openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
    "@openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "@solady/=lib/solady/",
    "@v2-core/=lib/v2-core/contracts/",
    "@v2-periphery/=lib/v2-periphery/contracts/",
    "ERC721A-Upgradeable/=lib/ERC721A-Upgradeable/contracts/",
    "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "solady/=lib/solady/",
    "v2-core/=lib/v2-core/contracts/",
    "v2-periphery/=lib/v2-periphery/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 1000000
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_blastGovernor","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyInitialized","type":"error"},{"inputs":[],"name":"CallerBlocked","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"NewOwnerIsZeroAddress","type":"error"},{"inputs":[],"name":"NoHandoverRequest","type":"error"},{"inputs":[],"name":"OverMaxBalance","type":"error"},{"inputs":[],"name":"TradingEnabled","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BLAST","outputs":[{"internalType":"contract IBlast","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cancelOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"completeOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTransfers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enforceMaxBalance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"requestOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pairAddr","type":"address"}],"name":"setPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMaxBalanceCheck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"transfersDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"updateWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"canTrade","type":"bool"}],"stateMutability":"view","type":"function"}]

60a06040527343000000000000000000000000000000000000026080526006805461ffff191661010117905569152d02c7e14af68000006007553480156200004657600080fd5b50604051620019b5380380620019b58339810160408190526200006991620004a7565b604080518082018252600580825264474c4f525960d81b6020808401829052845180860190955291845290830152906003620000a683826200057d565b506004620000b582826200057d565b5050506001600160a01b038116620000e05760405163d92e233d60e01b815260040160405180910390fd5b6080516001600160a01b0316634e606c476040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156200011e57600080fd5b505af115801562000133573d6000803e3d6000fd5b5050608051604051631d70c8d360e31b81526001600160a01b038581166004830152909116925063eb8646989150602401600060405180830381600087803b1580156200017f57600080fd5b505af115801562000194573d6000803e3d6000fd5b50505050620001a933620001e260201b60201c565b620001c1336b033b2e3c9fd0803ce80000006200021e565b50336000908152600560205260409020805460ff1916600117905562000671565b6001600160a01b0316638b78c6d8198190558060007f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a350565b6001600160a01b0382166200024e5760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b6200025c6000838362000260565b5050565b6001600160a01b03831615620003625760065460ff1680156200029c57506001600160a01b03831660009081526005602052604090205460ff16155b15620002bb576040516364b0889f60e11b815260040160405180910390fd5b600654610100900460ff168015620002e657506006546001600160a01b038481166201000090920416145b80156200030c57506001600160a01b03821660009081526005602052604090205460ff16155b1562000362576007548162000336846001600160a01b031660009081526020819052604090205490565b62000342919062000649565b111562000362576040516307695a9160e21b815260040160405180910390fd5b6200036f83838362000374565b505050565b6001600160a01b038316620003a357806002600082825462000397919062000649565b90915550620004179050565b6001600160a01b03831660009081526020819052604090205481811015620003f85760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000245565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620004355760028054829003905562000454565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200049a91815260200190565b60405180910390a3505050565b600060208284031215620004ba57600080fd5b81516001600160a01b0381168114620004d257600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200050457607f821691505b6020821081036200052557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200036f57600081815260208120601f850160051c81016020861015620005545750805b601f850160051c820191505b81811015620005755782815560010162000560565b505050505050565b81516001600160401b03811115620005995762000599620004d9565b620005b181620005aa8454620004ef565b846200052b565b602080601f831160018114620005e95760008415620005d05750858301515b600019600386901b1c1916600185901b17855562000575565b600085815260208120601f198616915b828110156200061a57888601518255948401946001909101908401620005f9565b5085821015620006395787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200066b57634e487b7160e01b600052601160045260246000fd5b92915050565b6080516113286200068d600039600061040d01526113286000f3fe6080604052600436106101cd5760003560e01c80638da5cb5b116100f7578063a9059cbb11610095578063f04e283e11610064578063f04e283e1461056e578063f2fde38b14610581578063f47c84c514610594578063fee81cf4146105b457600080fd5b8063a9059cbb146104c7578063af35c6c7146104e7578063d1243674146104fc578063dd62ed3e1461051b57600080fd5b80639b19251a116100d15780639b19251a1461042f5780639d51d9b71461045f578063a389e0f81461047f578063a8aa1b311461049457600080fd5b80638da5cb5b1461039157806395d89b41146103e657806397d75776146103fb57600080fd5b8063313ce5671161016f578063715018a61161013e578063715018a61461033357806373ad468a1461033b57806379cc6790146103515780638187f5161461037157600080fd5b8063313ce567146102ac57806342966c68146102c857806354d1f13d146102e857806370a08231146102f057600080fd5b80630d392cd9116101ab5780630d392cd91461024357806318160ddd1461026557806323b872dd1461028457806325692962146102a457600080fd5b8063034cd725146101d257806306fdde0314610201578063095ea7b314610223575b600080fd5b3480156101de57600080fd5b506006546101ec9060ff1681565b60405190151581526020015b60405180910390f35b34801561020d57600080fd5b506102166105e7565b6040516101f891906110c0565b34801561022f57600080fd5b506101ec61023e366004611155565b610679565b34801561024f57600080fd5b5061026361025e36600461117f565b610693565b005b34801561027157600080fd5b506002545b6040519081526020016101f8565b34801561029057600080fd5b506101ec61029f3660046111bb565b6106f1565b610263610715565b3480156102b857600080fd5b50604051601281526020016101f8565b3480156102d457600080fd5b506102636102e33660046111f7565b610765565b610263610771565b3480156102fc57600080fd5b5061027661030b366004611210565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6102636107ad565b34801561034757600080fd5b5061027660075481565b34801561035d57600080fd5b5061026361036c366004611155565b6107c1565b34801561037d57600080fd5b5061026361038c366004611210565b6107cf565b34801561039d57600080fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927545b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101f8565b3480156103f257600080fd5b50610216610871565b34801561040757600080fd5b506103c17f000000000000000000000000000000000000000000000000000000000000000081565b34801561043b57600080fd5b506101ec61044a366004611210565b60056020526000908152604090205460ff1681565b34801561046b57600080fd5b5061026361047a3660046111f7565b610880565b34801561048b57600080fd5b5061026361088d565b3480156104a057600080fd5b506006546103c19062010000900473ffffffffffffffffffffffffffffffffffffffff1681565b3480156104d357600080fd5b506101ec6104e2366004611155565b6108cf565b3480156104f357600080fd5b506102636108dd565b34801561050857600080fd5b506006546101ec90610100900460ff1681565b34801561052757600080fd5b50610276610536366004611232565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b61026361057c366004611210565b61094b565b61026361058f366004611210565b610988565b3480156105a057600080fd5b506102766b033b2e3c9fd0803ce800000081565b3480156105c057600080fd5b506102766105cf366004611210565b63389a75e1600c908152600091909152602090205490565b6060600380546105f690611265565b80601f016020809104026020016040519081016040528092919081815260200182805461062290611265565b801561066f5780601f106106445761010080835404028352916020019161066f565b820191906000526020600020905b81548152906001019060200180831161065257829003601f168201915b5050505050905090565b6000336106878185856109af565b60019150505b92915050565b61069b6109c1565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260056020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b6000336106ff8582856109f7565b61070a858585610acb565b506001949350505050565b60006202a30067ffffffffffffffff164201905063389a75e1600c5233600052806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d600080a250565b61076e81610b76565b50565b63389a75e1600c523360005260006020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92600080a2565b6107b56109c1565b6107bf6000610b80565b565b6107cb8282610be6565b5050565b6107d76109c1565b73ffffffffffffffffffffffffffffffffffffffff8116610824576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006805473ffffffffffffffffffffffffffffffffffffffff90921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b6060600480546105f690611265565b6108886109c1565b600755565b6108956109c1565b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff81166101009182900460ff1615909102179055565b600033610687818585610acb565b6108e56109c1565b60065460ff16610921576040517f7996634500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b6109536109c1565b63389a75e1600c52806000526020600c20805442111561097b57636f5e88186000526004601cfd5b6000905561076e81610b80565b6109906109c1565b8060601b6109a657637448fbae6000526004601cfd5b61076e81610b80565b6109bc8383836001610bfb565b505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275433146107bf576382b429006000526004601cfd5b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610ac55781811015610ab6576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101829052604481018390526064015b60405180910390fd5b610ac584848484036000610bfb565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610b1b576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610aad565b73ffffffffffffffffffffffffffffffffffffffff8216610b6b576040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152602401610aad565b6109bc838383610d43565b61076e3382610eb9565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927805473ffffffffffffffffffffffffffffffffffffffff9092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a355565b610bf18233836109f7565b6107cb8282610eb9565b73ffffffffffffffffffffffffffffffffffffffff8416610c4b576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610aad565b73ffffffffffffffffffffffffffffffffffffffff8316610c9b576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610aad565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526001602090815260408083209387168352929052208290558015610ac5578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d3591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff831615610eae5760065460ff168015610d97575073ffffffffffffffffffffffffffffffffffffffff831660009081526005602052604090205460ff16155b15610dce576040517fc961113e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600654610100900460ff168015610e05575060065473ffffffffffffffffffffffffffffffffffffffff8481166201000090920416145b8015610e37575073ffffffffffffffffffffffffffffffffffffffff821660009081526005602052604090205460ff16155b15610eae5760075481610e6c8473ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610e7691906112b8565b1115610eae576040517f1da56a4400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109bc838383610f15565b73ffffffffffffffffffffffffffffffffffffffff8216610f09576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610aad565b6107cb82600083610d43565b73ffffffffffffffffffffffffffffffffffffffff8316610f4d578060026000828254610f4291906112b8565b90915550610fff9050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610fd3576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851660048201526024810182905260448101839052606401610aad565b73ffffffffffffffffffffffffffffffffffffffff841660009081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff821661102857600280548290039055611054565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110b391815260200190565b60405180910390a3505050565b600060208083528351808285015260005b818110156110ed578581018301518582016040015282016110d1565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461115057600080fd5b919050565b6000806040838503121561116857600080fd5b6111718361112c565b946020939093013593505050565b6000806040838503121561119257600080fd5b61119b8361112c565b9150602083013580151581146111b057600080fd5b809150509250929050565b6000806000606084860312156111d057600080fd5b6111d98461112c565b92506111e76020850161112c565b9150604084013590509250925092565b60006020828403121561120957600080fd5b5035919050565b60006020828403121561122257600080fd5b61122b8261112c565b9392505050565b6000806040838503121561124557600080fd5b61124e8361112c565b915061125c6020840161112c565b90509250929050565b600181811c9082168061127957607f821691505b6020821081036112b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b8082018082111561068d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea264697066735822122054be332f31d4f7712c188715868c00d5b0751f4e581d6ef3f850f146acd33f3664736f6c63430008140033000000000000000000000000abb8621b2f4fb61f083b9f2a033a40086db9030d

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c80638da5cb5b116100f7578063a9059cbb11610095578063f04e283e11610064578063f04e283e1461056e578063f2fde38b14610581578063f47c84c514610594578063fee81cf4146105b457600080fd5b8063a9059cbb146104c7578063af35c6c7146104e7578063d1243674146104fc578063dd62ed3e1461051b57600080fd5b80639b19251a116100d15780639b19251a1461042f5780639d51d9b71461045f578063a389e0f81461047f578063a8aa1b311461049457600080fd5b80638da5cb5b1461039157806395d89b41146103e657806397d75776146103fb57600080fd5b8063313ce5671161016f578063715018a61161013e578063715018a61461033357806373ad468a1461033b57806379cc6790146103515780638187f5161461037157600080fd5b8063313ce567146102ac57806342966c68146102c857806354d1f13d146102e857806370a08231146102f057600080fd5b80630d392cd9116101ab5780630d392cd91461024357806318160ddd1461026557806323b872dd1461028457806325692962146102a457600080fd5b8063034cd725146101d257806306fdde0314610201578063095ea7b314610223575b600080fd5b3480156101de57600080fd5b506006546101ec9060ff1681565b60405190151581526020015b60405180910390f35b34801561020d57600080fd5b506102166105e7565b6040516101f891906110c0565b34801561022f57600080fd5b506101ec61023e366004611155565b610679565b34801561024f57600080fd5b5061026361025e36600461117f565b610693565b005b34801561027157600080fd5b506002545b6040519081526020016101f8565b34801561029057600080fd5b506101ec61029f3660046111bb565b6106f1565b610263610715565b3480156102b857600080fd5b50604051601281526020016101f8565b3480156102d457600080fd5b506102636102e33660046111f7565b610765565b610263610771565b3480156102fc57600080fd5b5061027661030b366004611210565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6102636107ad565b34801561034757600080fd5b5061027660075481565b34801561035d57600080fd5b5061026361036c366004611155565b6107c1565b34801561037d57600080fd5b5061026361038c366004611210565b6107cf565b34801561039d57600080fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927545b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101f8565b3480156103f257600080fd5b50610216610871565b34801561040757600080fd5b506103c17f000000000000000000000000430000000000000000000000000000000000000281565b34801561043b57600080fd5b506101ec61044a366004611210565b60056020526000908152604090205460ff1681565b34801561046b57600080fd5b5061026361047a3660046111f7565b610880565b34801561048b57600080fd5b5061026361088d565b3480156104a057600080fd5b506006546103c19062010000900473ffffffffffffffffffffffffffffffffffffffff1681565b3480156104d357600080fd5b506101ec6104e2366004611155565b6108cf565b3480156104f357600080fd5b506102636108dd565b34801561050857600080fd5b506006546101ec90610100900460ff1681565b34801561052757600080fd5b50610276610536366004611232565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b61026361057c366004611210565b61094b565b61026361058f366004611210565b610988565b3480156105a057600080fd5b506102766b033b2e3c9fd0803ce800000081565b3480156105c057600080fd5b506102766105cf366004611210565b63389a75e1600c908152600091909152602090205490565b6060600380546105f690611265565b80601f016020809104026020016040519081016040528092919081815260200182805461062290611265565b801561066f5780601f106106445761010080835404028352916020019161066f565b820191906000526020600020905b81548152906001019060200180831161065257829003601f168201915b5050505050905090565b6000336106878185856109af565b60019150505b92915050565b61069b6109c1565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260056020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b6000336106ff8582856109f7565b61070a858585610acb565b506001949350505050565b60006202a30067ffffffffffffffff164201905063389a75e1600c5233600052806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d600080a250565b61076e81610b76565b50565b63389a75e1600c523360005260006020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92600080a2565b6107b56109c1565b6107bf6000610b80565b565b6107cb8282610be6565b5050565b6107d76109c1565b73ffffffffffffffffffffffffffffffffffffffff8116610824576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006805473ffffffffffffffffffffffffffffffffffffffff90921662010000027fffffffffffffffffffff0000000000000000000000000000000000000000ffff909216919091179055565b6060600480546105f690611265565b6108886109c1565b600755565b6108956109c1565b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff81166101009182900460ff1615909102179055565b600033610687818585610acb565b6108e56109c1565b60065460ff16610921576040517f7996634500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b6109536109c1565b63389a75e1600c52806000526020600c20805442111561097b57636f5e88186000526004601cfd5b6000905561076e81610b80565b6109906109c1565b8060601b6109a657637448fbae6000526004601cfd5b61076e81610b80565b6109bc8383836001610bfb565b505050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275433146107bf576382b429006000526004601cfd5b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610ac55781811015610ab6576040517ffb8f41b200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260248101829052604481018390526064015b60405180910390fd5b610ac584848484036000610bfb565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610b1b576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610aad565b73ffffffffffffffffffffffffffffffffffffffff8216610b6b576040517fec442f0500000000000000000000000000000000000000000000000000000000815260006004820152602401610aad565b6109bc838383610d43565b61076e3382610eb9565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927805473ffffffffffffffffffffffffffffffffffffffff9092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a355565b610bf18233836109f7565b6107cb8282610eb9565b73ffffffffffffffffffffffffffffffffffffffff8416610c4b576040517fe602df0500000000000000000000000000000000000000000000000000000000815260006004820152602401610aad565b73ffffffffffffffffffffffffffffffffffffffff8316610c9b576040517f94280d6200000000000000000000000000000000000000000000000000000000815260006004820152602401610aad565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526001602090815260408083209387168352929052208290558015610ac5578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d3591815260200190565b60405180910390a350505050565b73ffffffffffffffffffffffffffffffffffffffff831615610eae5760065460ff168015610d97575073ffffffffffffffffffffffffffffffffffffffff831660009081526005602052604090205460ff16155b15610dce576040517fc961113e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600654610100900460ff168015610e05575060065473ffffffffffffffffffffffffffffffffffffffff8481166201000090920416145b8015610e37575073ffffffffffffffffffffffffffffffffffffffff821660009081526005602052604090205460ff16155b15610eae5760075481610e6c8473ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b610e7691906112b8565b1115610eae576040517f1da56a4400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109bc838383610f15565b73ffffffffffffffffffffffffffffffffffffffff8216610f09576040517f96c6fd1e00000000000000000000000000000000000000000000000000000000815260006004820152602401610aad565b6107cb82600083610d43565b73ffffffffffffffffffffffffffffffffffffffff8316610f4d578060026000828254610f4291906112b8565b90915550610fff9050565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610fd3576040517fe450d38c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851660048201526024810182905260448101839052606401610aad565b73ffffffffffffffffffffffffffffffffffffffff841660009081526020819052604090209082900390555b73ffffffffffffffffffffffffffffffffffffffff821661102857600280548290039055611054565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090208054820190555b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516110b391815260200190565b60405180910390a3505050565b600060208083528351808285015260005b818110156110ed578581018301518582016040015282016110d1565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461115057600080fd5b919050565b6000806040838503121561116857600080fd5b6111718361112c565b946020939093013593505050565b6000806040838503121561119257600080fd5b61119b8361112c565b9150602083013580151581146111b057600080fd5b809150509250929050565b6000806000606084860312156111d057600080fd5b6111d98461112c565b92506111e76020850161112c565b9150604084013590509250925092565b60006020828403121561120957600080fd5b5035919050565b60006020828403121561122257600080fd5b61122b8261112c565b9392505050565b6000806040838503121561124557600080fd5b61124e8361112c565b915061125c6020840161112c565b90509250929050565b600181811c9082168061127957607f821691505b6020821081036112b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b8082018082111561068d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea264697066735822122054be332f31d4f7712c188715868c00d5b0751f4e581d6ef3f850f146acd33f3664736f6c63430008140033

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

000000000000000000000000abb8621b2f4fb61f083b9f2a033a40086db9030d

-----Decoded View---------------
Arg [0] : _blastGovernor (address): 0xAbb8621b2F4FB61f083b9f2a033A40086DB9030d

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000abb8621b2f4fb61f083b9f2a033a40086db9030d


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

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