Contract 0x5Cc5ADE96FF3f5342Ff82da0f17BE38049EE144C

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
Ad
Ad
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x3fb5bc0c36171c2ec35957087cd827da3e66fd8bccdb003d7bc6e92984fa23080x60806040217952782021-11-25 19:29:187 days 1 hr ago0xc3c206540e37a410b78b1219e623d7929a3f8f13 IN  Contract Creation0 MATIC0.3043556
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LustToken

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 9 : LustToken.sol
/*
 .-.-. .-.-. .-.-. .-.-. .-.-. .-.-. 
( D .'( E .'( S .'( I .'( R .'( E .' 
 `.(   `.(   `.(   `.(   `.(   `.(   
                by sandman.finance                                     
 */
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";


/*
    ERROR REF
    ---------
    E1: presale hasn't started yet, good things come to those that wait
    E2: presale has ended, come back next time!
    E3: No more Lust remains!
    E4: No more Lust left!
    E5: not enough usdc provided
    E6: Lust Presale hardcap reached
    E7: user has already purchased too much lust
    E8: user cannot purchase 0 lust
    E9: cannot change start block if sale has already started
    E10: cannot set start block in the past
    E11: can only mint once!
    E12: start block has to be less than end block
    E13: new blocks cant be less than 3 days
*/

contract LustToken is ERC20('LUST PRESALE', 'LUST'), ReentrancyGuard, Ownable {
    using SafeERC20 for IERC20;

    address constant presaleAddress = 0x6Ce07B7Ee17c3231987a5BF377487FF801608F63;
    
    IERC20 public USDC = IERC20(0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174);
    
    IERC20 lustToken = IERC20(address(this));

    uint256 public constant lustPerAccountMaxTotal = 500 * (10 ** 18); // 500 lust

    uint256 public constant lustMaximumSupply = 15 * (10 ** 3) * (10 ** 18); //15,000k presale public

    uint256 public lustRemaining = lustMaximumSupply;
    
    uint256 public salePriceE35 = 10 * (10 ** 33); // 10 usdc

    uint256 public maxHardCap = 150 * (10 ** 3) * (10 ** 6); // 150,000 usdc

    uint256 public constant oneHourMatic = 1500;
    uint256 public constant minDurationPresale = oneHourMatic * 24 * 3; // 3 days


    uint256 public startBlock;
    
    uint256 public endBlock;

    mapping(address => uint256) public userLustTotally;

    event StartBlockChanged(uint256 newStartBlock, uint256 newEndBlock);
    event LustPurchased(address sender, uint256 usdcSpent, uint256 lustReceived);
    event MintLustForSandManL1(uint256 amountToMint);


    constructor(uint256 _startBlock, uint256 _endBlock) {
        startBlock  = _startBlock;
        endBlock    = _endBlock;
        _mint(address(this), lustMaximumSupply);
    }
    

    function buyLust(uint256 _usdcSpent) external nonReentrant {
        require(block.number >= startBlock, "E1");
        require(block.number < endBlock, "E2");
        require(lustRemaining > 0, "E3");
        require(lustToken.balanceOf(address(this)) > 0, "E4");
        require(_usdcSpent > 0, "E5");
        require(_usdcSpent <= maxHardCap, "E6");
        require(userLustTotally[msg.sender] <= lustPerAccountMaxTotal, "E7");

        uint256 lustPurchaseAmount = (_usdcSpent * (10 ** 12) * salePriceE35) / 1e35;

        // if we dont have enough left, give them the rest.
        if (lustRemaining < lustPurchaseAmount){
            lustPurchaseAmount = lustRemaining;
            _usdcSpent = ((lustPurchaseAmount * salePriceE35) / 1e33 ) / 1e12;
        }
        

        require(lustPurchaseAmount > 0, "E8");

        // shouldn't be possible to fail these asserts.
        assert(lustPurchaseAmount <= lustRemaining);
        assert(lustPurchaseAmount <= lustToken.balanceOf(address(this)));
        
        //send lust to user
        lustToken.safeTransfer(msg.sender, lustPurchaseAmount);
        // send usdc to presale address
    	USDC.safeTransferFrom(msg.sender, address(presaleAddress), _usdcSpent);

        lustRemaining = lustRemaining - lustPurchaseAmount;
        userLustTotally[msg.sender] = userLustTotally[msg.sender] + lustPurchaseAmount;

        emit LustPurchased(msg.sender, _usdcSpent, lustPurchaseAmount);

    }

    function setStartBlock(uint256 _newStartBlock, uint256 _newEndBlock) external onlyOwner {
        require(block.number < startBlock, "E9");
        require(block.number < _newStartBlock, "E10");
        require(_newStartBlock < _newEndBlock, "E9");
        require((_newEndBlock - _newStartBlock) > minDurationPresale, "E13");

        startBlock = _newStartBlock;
        endBlock   = _newEndBlock;

        emit StartBlockChanged(_newStartBlock, _newEndBlock);
    }
}

File 2 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

    /**
     * @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);
}

File 3 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.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}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of 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.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * 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 override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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 value {ERC20} uses, unless this function is
     * 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 override returns (uint8) {
        return 18;
    }

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        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}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` 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.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 4 of 9 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 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 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @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).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 5 of 9 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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 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;

    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 make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 6 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../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.
 *
 * By default, the owner account will be the one that deploys the contract. 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;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 7 of 9 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
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 8 of 9 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @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 9 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_endBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"usdcSpent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lustReceived","type":"uint256"}],"name":"LustPurchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountToMint","type":"uint256"}],"name":"MintLustForSandManL1","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newStartBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newEndBlock","type":"uint256"}],"name":"StartBlockChanged","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":"USDC","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"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":"amount","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":"_usdcSpent","type":"uint256"}],"name":"buyLust","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lustMaximumSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lustPerAccountMaxTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lustRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxHardCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minDurationPresale","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":"oneHourMatic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salePriceE35","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newStartBlock","type":"uint256"},{"internalType":"uint256","name":"_newEndBlock","type":"uint256"}],"name":"setStartBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userLustTotally","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052732791bca1f2de4661ed88a30c99a7a9449aa84174600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555030600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555069032d26d12e980b6000006009556e01ed09bead87c0378d8e6400000000600a556422ecb25c00600b55348015620000d157600080fd5b50604051620037ce380380620037ce8339818101604052810190620000f7919062000509565b6040518060400160405280600c81526020017f4c5553542050524553414c4500000000000000000000000000000000000000008152506040518060400160405280600481526020017f4c5553540000000000000000000000000000000000000000000000000000000081525081600390805190602001906200017b92919062000442565b5080600490805190602001906200019492919062000442565b5050506001600581905550620001bf620001b3620001f160201b60201c565b620001f960201b60201c565b81600c8190555080600d81905550620001e93069032d26d12e980b600000620002bf60201b60201c565b50506200071b565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000332576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003299062000588565b60405180910390fd5b62000346600083836200043860201b60201c565b80600260008282546200035a9190620005d8565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620003b19190620005d8565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620004189190620005aa565b60405180910390a362000434600083836200043d60201b60201c565b5050565b505050565b505050565b82805462000450906200063f565b90600052602060002090601f016020900481019282620004745760008555620004c0565b82601f106200048f57805160ff1916838001178555620004c0565b82800160010185558215620004c0579182015b82811115620004bf578251825591602001919060010190620004a2565b5b509050620004cf9190620004d3565b5090565b5b80821115620004ee576000816000905550600101620004d4565b5090565b600081519050620005038162000701565b92915050565b60008060408385031215620005235762000522620006d3565b5b60006200053385828601620004f2565b92505060206200054685828601620004f2565b9150509250929050565b60006200055f601f83620005c7565b91506200056c82620006d8565b602082019050919050565b620005828162000635565b82525050565b60006020820190508181036000830152620005a38162000550565b9050919050565b6000602082019050620005c1600083018462000577565b92915050565b600082825260208201905092915050565b6000620005e58262000635565b9150620005f28362000635565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200062a576200062962000675565b5b828201905092915050565b6000819050919050565b600060028204905060018216806200065857607f821691505b602082108114156200066f576200066e620006a4565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6200070c8162000635565b81146200071857600080fd5b50565b6130a3806200072b6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063715018a6116100f9578063a9059cbb11610097578063c32f60d711610071578063c32f60d7146104c6578063d3ebb9de146104e4578063dd62ed3e14610502578063f2fde38b14610532576101a9565b8063a9059cbb1461045a578063aace6fb51461048a578063b5ba3d49146104a8576101a9565b80638a796bf6116100d35780638a796bf6146103d25780638da5cb5b146103ee57806395d89b411461040c578063a457c2d71461042a576101a9565b8063715018a61461038e57806384df03731461039857806389a30271146103b4576101a9565b80633950935111610166578063611bf8d011610140578063611bf8d0146102f257806364281e2b146103105780636ecae53a1461032e57806370a082311461035e576101a9565b806339509351146102865780633c6385d4146102b657806348cd4cb1146102d4576101a9565b806306fdde03146101ae578063083c6323146101cc578063095ea7b3146101ea57806318160ddd1461021a57806323b872dd14610238578063313ce56714610268575b600080fd5b6101b661054e565b6040516101c3919061245c565b60405180910390f35b6101d46105e0565b6040516101e1919061277e565b60405180910390f35b61020460048036038101906101ff9190611e59565b6105e6565b6040516102119190612426565b60405180910390f35b610222610604565b60405161022f919061277e565b60405180910390f35b610252600480360381019061024d9190611e06565b61060e565b60405161025f9190612426565b60405180910390f35b610270610706565b60405161027d91906127c2565b60405180910390f35b6102a0600480360381019061029b9190611e59565b61070f565b6040516102ad9190612426565b60405180910390f35b6102be6107bb565b6040516102cb919061277e565b60405180910390f35b6102dc6107c8565b6040516102e9919061277e565b60405180910390f35b6102fa6107ce565b604051610307919061277e565b60405180910390f35b6103186107d4565b604051610325919061277e565b60405180910390f35b61034860048036038101906103439190611d99565b6107da565b604051610355919061277e565b60405180910390f35b61037860048036038101906103739190611d99565b6107f2565b604051610385919061277e565b60405180910390f35b61039661083a565b005b6103b260048036038101906103ad9190611ec6565b6108c2565b005b6103bc610f0d565b6040516103c99190612441565b60405180910390f35b6103ec60048036038101906103e79190611f20565b610f33565b005b6103f6611129565b6040516104039190612374565b60405180910390f35b610414611153565b604051610421919061245c565b60405180910390f35b610444600480360381019061043f9190611e59565b6111e5565b6040516104519190612426565b60405180910390f35b610474600480360381019061046f9190611e59565b6112d0565b6040516104819190612426565b60405180910390f35b6104926112ee565b60405161049f919061277e565b60405180910390f35b6104b06112fc565b6040516104bd919061277e565b60405180910390f35b6104ce61131a565b6040516104db919061277e565b60405180910390f35b6104ec611320565b6040516104f9919061277e565b60405180910390f35b61051c60048036038101906105179190611dc6565b611326565b604051610529919061277e565b60405180910390f35b61054c60048036038101906105479190611d99565b6113ad565b005b60606003805461055d906129d0565b80601f0160208091040260200160405190810160405280929190818152602001828054610589906129d0565b80156105d65780601f106105ab576101008083540402835291602001916105d6565b820191906000526020600020905b8154815290600101906020018083116105b957829003601f168201915b5050505050905090565b600d5481565b60006105fa6105f36114a5565b84846114ad565b6001905092915050565b6000600254905090565b600061061b848484611678565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006106666114a5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156106e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106dd9061265e565b60405180910390fd5b6106fa856106f26114a5565b8584036114ad565b60019150509392505050565b60006012905090565b60006107b161071c6114a5565b84846001600061072a6114a5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107ac919061280f565b6114ad565b6001905092915050565b681b1ae4d6e2ef50000081565b600c5481565b6105dc81565b60095481565b600e6020528060005260406000206000915090505481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6108426114a5565b73ffffffffffffffffffffffffffffffffffffffff16610860611129565b73ffffffffffffffffffffffffffffffffffffffff16146108b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ad9061267e565b60405180910390fd5b6108c060006118f9565b565b60026005541415610908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ff9061273e565b60405180910390fd5b6002600581905550600c54431015610955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094c9061261e565b60405180910390fd5b600d544310610999576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610990906124de565b60405180910390fd5b6000600954116109de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d59061247e565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a3b9190612374565b60206040518083038186803b158015610a5357600080fd5b505afa158015610a67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8b9190611ef3565b11610acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac2906126fe565b60405180910390fd5b60008111610b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b05906124be565b60405180910390fd5b600b54811115610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a9061257e565b60405180910390fd5b681b1ae4d6e2ef500000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115610bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd5906125fe565b60405180910390fd5b60006e13426172c74d822b878fe800000000600a5464e8d4a5100084610c049190612896565b610c0e9190612896565b610c189190612865565b9050806009541015610c6357600954905064e8d4a510006d314dc6448d9338c15b0a00000000600a5483610c4c9190612896565b610c569190612865565b610c609190612865565b91505b60008111610ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9d906125be565b60405180910390fd5b600954811115610cb957610cb8612a02565b5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610d149190612374565b60206040518083038186803b158015610d2c57600080fd5b505afa158015610d40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d649190611ef3565b811115610d7457610d73612a02565b5b610dc13382600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166119bf9092919063ffffffff16565b610e2433736ce07b7ee17c3231987a5bf377487ff801608f6384600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611a45909392919063ffffffff16565b80600954610e3291906128f0565b60098190555080600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e83919061280f565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f57156abfa26af062f6a6f9034aa221985acccef09eee7778b0a31f97d31a3928338383604051610ef9939291906123ef565b60405180910390a150600160058190555050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f3b6114a5565b73ffffffffffffffffffffffffffffffffffffffff16610f59611129565b73ffffffffffffffffffffffffffffffffffffffff1614610faf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa69061267e565b60405180910390fd5b600c544310610ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fea9061253e565b60405180910390fd5b814310611035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102c906125de565b60405180910390fd5b808210611077576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106e9061253e565b60405180910390fd5b600360186105dc6110889190612896565b6110929190612896565b828261109e91906128f0565b116110de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d59061263e565b60405180910390fd5b81600c8190555080600d819055507f8774aa9221f02a7971c04902013456be92b6a521a2347a44ec6610e4b9a5d8fc828260405161111d929190612799565b60405180910390a15050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611162906129d0565b80601f016020809104026020016040519081016040528092919081815260200182805461118e906129d0565b80156111db5780601f106111b0576101008083540402835291602001916111db565b820191906000526020600020905b8154815290600101906020018083116111be57829003601f168201915b5050505050905090565b600080600160006111f46114a5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156112b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a89061275e565b60405180910390fd5b6112c56112bc6114a5565b858584036114ad565b600191505092915050565b60006112e46112dd6114a5565b8484611678565b6001905092915050565b69032d26d12e980b60000081565b600360186105dc61130d9190612896565b6113179190612896565b81565b600a5481565b600b5481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6113b56114a5565b73ffffffffffffffffffffffffffffffffffffffff166113d3611129565b73ffffffffffffffffffffffffffffffffffffffff1614611429576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114209061267e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611499576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611490906124fe565b60405180910390fd5b6114a2816118f9565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561151d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611514906126be565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561158d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115849061251e565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161166b919061277e565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116df9061269e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174f9061249e565b60405180910390fd5b611763838383611ace565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156117e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e09061255e565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461187c919061280f565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516118e0919061277e565b60405180910390a36118f3848484611ad3565b50505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611a408363a9059cbb60e01b84846040516024016119de9291906123c6565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ad8565b505050565b611ac8846323b872dd60e01b858585604051602401611a669392919061238f565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611ad8565b50505050565b505050565b505050565b6000611b3a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611b9f9092919063ffffffff16565b9050600081511115611b9a5780806020019051810190611b5a9190611e99565b611b99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b909061271e565b60405180910390fd5b5b505050565b6060611bae8484600085611bb7565b90509392505050565b606082471015611bfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf39061259e565b60405180910390fd5b611c0585611ccb565b611c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3b906126de565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611c6d919061235d565b60006040518083038185875af1925050503d8060008114611caa576040519150601f19603f3d011682016040523d82523d6000602084013e611caf565b606091505b5091509150611cbf828286611cde565b92505050949350505050565b600080823b905060008111915050919050565b60608315611cee57829050611d3e565b600083511115611d015782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d35919061245c565b60405180910390fd5b9392505050565b600081359050611d5481613028565b92915050565b600081519050611d698161303f565b92915050565b600081359050611d7e81613056565b92915050565b600081519050611d9381613056565b92915050565b600060208284031215611daf57611dae612abe565b5b6000611dbd84828501611d45565b91505092915050565b60008060408385031215611ddd57611ddc612abe565b5b6000611deb85828601611d45565b9250506020611dfc85828601611d45565b9150509250929050565b600080600060608486031215611e1f57611e1e612abe565b5b6000611e2d86828701611d45565b9350506020611e3e86828701611d45565b9250506040611e4f86828701611d6f565b9150509250925092565b60008060408385031215611e7057611e6f612abe565b5b6000611e7e85828601611d45565b9250506020611e8f85828601611d6f565b9150509250929050565b600060208284031215611eaf57611eae612abe565b5b6000611ebd84828501611d5a565b91505092915050565b600060208284031215611edc57611edb612abe565b5b6000611eea84828501611d6f565b91505092915050565b600060208284031215611f0957611f08612abe565b5b6000611f1784828501611d84565b91505092915050565b60008060408385031215611f3757611f36612abe565b5b6000611f4585828601611d6f565b9250506020611f5685828601611d6f565b9150509250929050565b611f6981612924565b82525050565b611f7881612936565b82525050565b6000611f89826127dd565b611f9381856127f3565b9350611fa381856020860161299d565b80840191505092915050565b611fb881612979565b82525050565b6000611fc9826127e8565b611fd381856127fe565b9350611fe381856020860161299d565b611fec81612ac3565b840191505092915050565b60006120046002836127fe565b915061200f82612ad4565b602082019050919050565b60006120276023836127fe565b915061203282612afd565b604082019050919050565b600061204a6002836127fe565b915061205582612b4c565b602082019050919050565b600061206d6002836127fe565b915061207882612b75565b602082019050919050565b60006120906026836127fe565b915061209b82612b9e565b604082019050919050565b60006120b36022836127fe565b91506120be82612bed565b604082019050919050565b60006120d66002836127fe565b91506120e182612c3c565b602082019050919050565b60006120f96026836127fe565b915061210482612c65565b604082019050919050565b600061211c6002836127fe565b915061212782612cb4565b602082019050919050565b600061213f6026836127fe565b915061214a82612cdd565b604082019050919050565b60006121626002836127fe565b915061216d82612d2c565b602082019050919050565b60006121856003836127fe565b915061219082612d55565b602082019050919050565b60006121a86002836127fe565b91506121b382612d7e565b602082019050919050565b60006121cb6002836127fe565b91506121d682612da7565b602082019050919050565b60006121ee6003836127fe565b91506121f982612dd0565b602082019050919050565b60006122116028836127fe565b915061221c82612df9565b604082019050919050565b60006122346020836127fe565b915061223f82612e48565b602082019050919050565b60006122576025836127fe565b915061226282612e71565b604082019050919050565b600061227a6024836127fe565b915061228582612ec0565b604082019050919050565b600061229d601d836127fe565b91506122a882612f0f565b602082019050919050565b60006122c06002836127fe565b91506122cb82612f38565b602082019050919050565b60006122e3602a836127fe565b91506122ee82612f61565b604082019050919050565b6000612306601f836127fe565b915061231182612fb0565b602082019050919050565b60006123296025836127fe565b915061233482612fd9565b604082019050919050565b61234881612962565b82525050565b6123578161296c565b82525050565b60006123698284611f7e565b915081905092915050565b60006020820190506123896000830184611f60565b92915050565b60006060820190506123a46000830186611f60565b6123b16020830185611f60565b6123be604083018461233f565b949350505050565b60006040820190506123db6000830185611f60565b6123e8602083018461233f565b9392505050565b60006060820190506124046000830186611f60565b612411602083018561233f565b61241e604083018461233f565b949350505050565b600060208201905061243b6000830184611f6f565b92915050565b60006020820190506124566000830184611faf565b92915050565b600060208201905081810360008301526124768184611fbe565b905092915050565b6000602082019050818103600083015261249781611ff7565b9050919050565b600060208201905081810360008301526124b78161201a565b9050919050565b600060208201905081810360008301526124d78161203d565b9050919050565b600060208201905081810360008301526124f781612060565b9050919050565b6000602082019050818103600083015261251781612083565b9050919050565b60006020820190508181036000830152612537816120a6565b9050919050565b60006020820190508181036000830152612557816120c9565b9050919050565b60006020820190508181036000830152612577816120ec565b9050919050565b600060208201905081810360008301526125978161210f565b9050919050565b600060208201905081810360008301526125b781612132565b9050919050565b600060208201905081810360008301526125d781612155565b9050919050565b600060208201905081810360008301526125f781612178565b9050919050565b600060208201905081810360008301526126178161219b565b9050919050565b60006020820190508181036000830152612637816121be565b9050919050565b60006020820190508181036000830152612657816121e1565b9050919050565b6000602082019050818103600083015261267781612204565b9050919050565b6000602082019050818103600083015261269781612227565b9050919050565b600060208201905081810360008301526126b78161224a565b9050919050565b600060208201905081810360008301526126d78161226d565b9050919050565b600060208201905081810360008301526126f781612290565b9050919050565b60006020820190508181036000830152612717816122b3565b9050919050565b60006020820190508181036000830152612737816122d6565b9050919050565b60006020820190508181036000830152612757816122f9565b9050919050565b600060208201905081810360008301526127778161231c565b9050919050565b6000602082019050612793600083018461233f565b92915050565b60006040820190506127ae600083018561233f565b6127bb602083018461233f565b9392505050565b60006020820190506127d7600083018461234e565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600061281a82612962565b915061282583612962565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561285a57612859612a31565b5b828201905092915050565b600061287082612962565b915061287b83612962565b92508261288b5761288a612a60565b5b828204905092915050565b60006128a182612962565b91506128ac83612962565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156128e5576128e4612a31565b5b828202905092915050565b60006128fb82612962565b915061290683612962565b92508282101561291957612918612a31565b5b828203905092915050565b600061292f82612942565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006129848261298b565b9050919050565b600061299682612942565b9050919050565b60005b838110156129bb5780820151818401526020810190506129a0565b838111156129ca576000848401525b50505050565b600060028204905060018216806129e857607f821691505b602082108114156129fc576129fb612a8f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f4533000000000000000000000000000000000000000000000000000000000000600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f4535000000000000000000000000000000000000000000000000000000000000600082015250565b7f4532000000000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f4539000000000000000000000000000000000000000000000000000000000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f4536000000000000000000000000000000000000000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4538000000000000000000000000000000000000000000000000000000000000600082015250565b7f4531300000000000000000000000000000000000000000000000000000000000600082015250565b7f4537000000000000000000000000000000000000000000000000000000000000600082015250565b7f4531000000000000000000000000000000000000000000000000000000000000600082015250565b7f4531330000000000000000000000000000000000000000000000000000000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f4534000000000000000000000000000000000000000000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b61303181612924565b811461303c57600080fd5b50565b61304881612936565b811461305357600080fd5b50565b61305f81612962565b811461306a57600080fd5b5056fea264697066735822122051a4049260e1db1d9666429222ff76c5161d600d5c20bab2cdf032bfd0edaa1f64736f6c6343000806003300000000000000000000000000000000000000000000000000000000015010ba000000000000000000000000000000000000000000000000000000000151461a

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

00000000000000000000000000000000000000000000000000000000015010ba000000000000000000000000000000000000000000000000000000000151461a

-----Decoded View---------------
Arg [0] : _startBlock (uint256): 22024378
Arg [1] : _endBlock (uint256): 22103578

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000015010ba
Arg [1] : 000000000000000000000000000000000000000000000000000000000151461a


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.