ETH Price: $3,417.87 (-2.29%)
Gas: 8 Gwei

Token

RESET (RESET)
 

Overview

Max Total Supply

10,000,000,000 RESET

Holders

140

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
RESET

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 2 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
import "../../utils/math/SafeMath.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.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.
 *
 * 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 {
    using SafeMath for uint256;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    
    function symbol() public view virtual override returns (string memory) {
        return _symbol;

    }
    
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }


    
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

   
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }
   
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;

    }

    
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;

    }

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

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }


   
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");
 _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }


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

    
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

}

File 3 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

File 4 of 9 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

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 5 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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 6 of 9 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 8 of 9 : IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

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

pragma solidity 0.8.19;

import "openzeppelin/access/Ownable.sol";
import "openzeppelin/token/ERC20/ERC20.sol";
import "./IUniswapV2Router02.sol";

contract RESET is ERC20, Ownable {

    IUniswapV2Router02 public immutable uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    uint256 public immutable maxAmountToRaiseInPublicSale;
    uint256 public immutable minContribution;
    uint256 public immutable maxContribution;
    uint256 private immutable presaleSupply;

    uint256 public tradingStartTimeStamp;
    uint256 public amountRaisedInPublicSale;
    uint256 public totalContributed;
    uint256 public numOfContributoors;
    uint256 public maxHoldingAmount;
    uint256 public maxTransactionAmount;
    uint256 private swapTokensAt;

    address public deployerWallet;
    address public marketingWallet;
    address public uniswapV2Pair;

    bool public publicSaleStarted;
    bool public limited;
    bool public swapEnabled;
    bool private swapping;
    

    mapping (uint256 => PublicContribution) public contribution;
    mapping (address => uint256) public contributor;
    mapping (address => bool) public purchasedPublic;
    mapping (address => bool) private _ExcludedFromFees;
    mapping (address => bool) private _ExcludedFromTransactionAmount;
    
    struct PublicContribution {
        uint256 amount;
        address userAddr;
    }

    modifier onlyEOA(address _caller) {
        if (tx.origin != _caller) revert NoContracts(tx.origin, _caller);
        _;
    }

    error MistmatchArrayLengths(uint256,uint256);
    error CanOnlySetPairOnce(address);
    error InvalidPresalePrice(uint256);
    error AlreadyPurchased(address);
    error NoContracts(address,address);
    error ExceedsHoldingAmount(uint256);
    error ExceedsMaxTransactionAmount(uint256);
    error SaleHasNotStarted();
    error TradingHasNotStarted();
    error PublicSoldOut();
    error WithdrawFailed();

    constructor(
        uint256 _totalSupply, 
        uint256 _amountRaisedInPrivateSale,
        uint256 _minContribution,
        uint256 _maxContribution,
        uint256 _amountToRaiseInPublic,
        uint256 _preSaleSupply,
        address _marketingWallet
    ) ERC20("RESET", "RESET") {

        _mint(msg.sender, _totalSupply);

        totalContributed = _amountRaisedInPrivateSale;

        minContribution = _minContribution;

        maxContribution = _maxContribution;

        maxAmountToRaiseInPublicSale = _amountToRaiseInPublic;

        presaleSupply = _preSaleSupply;

        swapTokensAt = (_totalSupply * 9) / 10_000;

        swapEnabled = true;

        deployerWallet = msg.sender;

        marketingWallet = _marketingWallet;

        excludeFromFees(msg.sender, true);
        excludeFromFees(address(this), true);
        excludeFromFees(marketingWallet, true);
        excludeFromMaxTransaction(marketingWallet, true);
        excludeFromMaxTransaction(address(uniswapV2Router), true);
        excludeFromMaxTransaction(msg.sender, true);
        excludeFromMaxTransaction(address(this), true);
    }

    receive() external payable {}

    function sendEthToPresale() external payable onlyEOA(msg.sender) {

        // The sale must have started in order to participate
        if (!publicSaleStarted) revert SaleHasNotStarted();

        // Msg.value must respect the boundries set
        if (msg.value > maxContribution || msg.value < minContribution) revert InvalidPresalePrice(msg.value);

        // Check to see if they have already purchased an allocation of tokens
        if (purchasedPublic[msg.sender]) revert AlreadyPurchased(msg.sender);

        // Ensures that the max amount to raise in a public sale is respected
        if (amountRaisedInPublicSale + msg.value > maxAmountToRaiseInPublicSale) revert PublicSoldOut();

        unchecked {
            uint256 contributionIndex = numOfContributoors + 1;
            contributor[msg.sender] = contributionIndex;
            contribution[contributionIndex].userAddr = msg.sender;
            contribution[contributionIndex].amount += msg.value;
            purchasedPublic[msg.sender] = true;
            numOfContributoors++;
            amountRaisedInPublicSale += msg.value;
            totalContributed += msg.value;
        }
    }

    function airdropPresalers(address[] calldata _recipients, uint256[] calldata _amounts) external onlyOwner {

        // Private presale allocations
        if (_recipients.length != _amounts.length) revert MistmatchArrayLengths(_recipients.length, _amounts.length);

        for (uint256 i; i < _recipients.length;) {
            _transfer(owner(), _recipients[i], _amounts[i]);
            unchecked {
                ++i;
            }
        }

        // Public presale allocations
        uint256 pricePerToken = (totalContributed * 10 ** 18) / presaleSupply;

        for (uint256 i = 1; i <= numOfContributoors;) {
            uint256 contributionAmount = contribution[i].amount * 10 ** 18;

            uint256 numberOfTokens = contributionAmount/pricePerToken;

            _transfer(owner(), contribution[i].userAddr, numberOfTokens);
            unchecked {
                ++i;
            }
        }
 
    }

    function commenceTrading(address _uniswapV2Pair) external onlyOwner {

        if (tradingStartTimeStamp != 0) revert CanOnlySetPairOnce(uniswapV2Pair);

        uniswapV2Pair = _uniswapV2Pair;
        tradingStartTimeStamp = block.timestamp;
    }

    function setLimits(
        bool _limited, 
        uint256 _maxHoldingAmount,
        uint256 _maxTransactionAmount
    ) external onlyOwner {
        limited = _limited;
        maxTransactionAmount = _maxTransactionAmount;
        maxHoldingAmount = _maxHoldingAmount;
    }

    function toggleSwapping(bool _bool) external onlyOwner {
        swapEnabled = _bool;
    }

    function commencePublicSale(bool _bool) external onlyOwner {
        publicSaleStarted = _bool;
    }

    function excludeFromFees(address _account, bool _excluded) public onlyOwner {
        _ExcludedFromFees[_account] = _excluded;
    }

    function excludeFromMaxTransaction(address _account, bool _excluded) public onlyOwner {
        _ExcludedFromTransactionAmount[_account] = _excluded;
    }

    function withdrawFunds(address payable _address) external onlyOwner {
        (bool success, ) = _address.call{value: address(this).balance}("");
        if (!success) revert WithdrawFailed();
    }


    function _getTaxes(
        uint256 _currentTimestamp
    ) internal view returns (uint256 _buyTax, uint256 _sellTax, bool _eligibleForTax) {
        uint256 elapsedTime = _currentTimestamp - tradingStartTimeStamp;
        uint256 buyTax;
        uint256 sellTax;
        bool eligibleForTax;
        if (elapsedTime < 1 minutes) {
            buyTax = 20;
            sellTax = 20;
            eligibleForTax = true;
        } else if (elapsedTime >= 1 minutes && elapsedTime < 2 minutes) {
            buyTax = 10;
            sellTax = 15;
            eligibleForTax = true;
        } else if (elapsedTime >= 2 minutes && elapsedTime < 3 minutes) {
            buyTax = 5;
            sellTax = 10;
            eligibleForTax = true;
        } else if (elapsedTime >= 3 minutes && elapsedTime < 4 minutes) {
            sellTax = 5;
            eligibleForTax = true;
        } 

        return (buyTax, sellTax, eligibleForTax);
    }

    function _transfer(
        address from, 
        address to, 
        uint256 amount
    ) internal override {
        if (uniswapV2Pair == address(0) && from != address(0) && from != owner()) revert TradingHasNotStarted();

        if(
            from != owner() &&
            to != owner() &&
            to != address(0) &&
            to != address(0xdead) &&
            !swapping
        )
            {
                if (limited) {
                    if (from == uniswapV2Pair && !_ExcludedFromTransactionAmount[to]) {
                        if (amount > maxTransactionAmount) revert ExceedsMaxTransactionAmount(amount);
                        if (balanceOf(to) + amount > maxHoldingAmount) revert ExceedsHoldingAmount(amount);
                    }
                    else if (to == uniswapV2Pair && !_ExcludedFromTransactionAmount[from]) {
                        if (amount > maxTransactionAmount) revert ExceedsMaxTransactionAmount(amount);
                    }
                    else if (!_ExcludedFromTransactionAmount[to]) {
                        if (balanceOf(to) + amount > maxHoldingAmount) revert ExceedsHoldingAmount(amount);
                    }
                }
            }
        
        uint256 contractBalance = balanceOf(address(this));

        
        bool canSwap = contractBalance >= swapTokensAt;

        if( 
            canSwap &&
            swapEnabled &&
            !swapping &&
            from != uniswapV2Pair &&
            !_ExcludedFromFees[from] &&
            !_ExcludedFromFees[to]
        ) {
            swapping = true;
            
            _swapBack(contractBalance);

            swapping = false;
        }

        bool takeFee = !swapping;

        
        if(_ExcludedFromFees[from] || _ExcludedFromFees[to]) {
            takeFee = false;
        }

        if (takeFee) {
            (uint256 buyTax, uint256 sellTax, bool eligibleForTax) = _getTaxes(block.timestamp);
            if (from == uniswapV2Pair && eligibleForTax) {
                uint256 tax = (amount * buyTax) / 100;
                super._transfer(from, address(this), tax);
                amount -= tax;
            }

            if (to == uniswapV2Pair && eligibleForTax) {
                uint256 tax = (amount * sellTax) / 100;
                super._transfer(from, address(this), tax);
                amount -= tax;
            }
        }
        super._transfer(from, to, amount);
    }

    function _swapBack(uint256 _contractBalance) private {
        if (_contractBalance == 0) { return; }

        // Calculate the total tokens to swap for ETH (30% marketing + 35% liquidity)
        uint256 tokensToSwap = _contractBalance * 65 / 100;

        // Swap tokens for ETH
        _swapTokensForEth(tokensToSwap); 

        uint256 totalEth = address(this).balance;
        uint256 newBalance = balanceOf(address(this));

        // Calculate ETH distribution
        uint256 ethForMarketing = totalEth * 30 / 100; // 30% ETH for marketing
        uint256 ethForLiquidity = totalEth - ethForMarketing; // 70% ETH for liquidity

        // Send ETH to marketing wallet
        (bool success,) = address(marketingWallet).call{value: ethForMarketing}("");

        // Add ETH to liquidity
        _addLiquidity(newBalance, ethForLiquidity); // We take the proportional part of tokensToSwap for liquidity
    }


    function _swapTokensForEth(uint256 _tokenAmount) private {

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), _tokenAmount);

        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            _tokenAmount,
            0, 
            path,
            address(this),
            block.timestamp
        );
    }

    function _addLiquidity(uint256 _tokenAmount, uint256 _ethAmount) private {
        
        _approve(address(this), address(uniswapV2Router), _tokenAmount);

        
        uniswapV2Router.addLiquidityETH{value: _ethAmount}(
            address(this),
            _tokenAmount,
            0, 
            0, 
            deployerWallet,
            block.timestamp
        );

    }
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
    "openzeppelin/=lib/openzeppelin-contracts/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"internalType":"uint256","name":"_amountRaisedInPrivateSale","type":"uint256"},{"internalType":"uint256","name":"_minContribution","type":"uint256"},{"internalType":"uint256","name":"_maxContribution","type":"uint256"},{"internalType":"uint256","name":"_amountToRaiseInPublic","type":"uint256"},{"internalType":"uint256","name":"_preSaleSupply","type":"uint256"},{"internalType":"address","name":"_marketingWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"AlreadyPurchased","type":"error"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"CanOnlySetPairOnce","type":"error"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ExceedsHoldingAmount","type":"error"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ExceedsMaxTransactionAmount","type":"error"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"InvalidPresalePrice","type":"error"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"MistmatchArrayLengths","type":"error"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"NoContracts","type":"error"},{"inputs":[],"name":"PublicSoldOut","type":"error"},{"inputs":[],"name":"SaleHasNotStarted","type":"error"},{"inputs":[],"name":"TradingHasNotStarted","type":"error"},{"inputs":[],"name":"WithdrawFailed","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"_recipients","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"airdropPresalers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountRaisedInPublicSale","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":"bool","name":"_bool","type":"bool"}],"name":"commencePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniswapV2Pair","type":"address"}],"name":"commenceTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"contribution","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"userAddr","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"contributor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"deployerWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_excluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","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":"limited","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAmountToRaiseInPublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxContribution","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxHoldingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minContribution","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":"numOfContributoors","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":"publicSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"purchasedPublic","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sendEthToPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bool","name":"_limited","type":"bool"},{"internalType":"uint256","name":"_maxHoldingAmount","type":"uint256"},{"internalType":"uint256","name":"_maxTransactionAmount","type":"uint256"}],"name":"setLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_bool","type":"bool"}],"name":"toggleSwapping","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalContributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingStartTimeStamp","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":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_address","type":"address"}],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

610120604052737a250d5630b4cf539739df2c5dacb4c659f2488d6080523480156200002a57600080fd5b50604051620026e5380380620026e58339810160408190526200004d91620003df565b604080518082018252600580825264149154d15560da1b60208084018290528451808601909552918452908301529060036200008a8382620004f4565b506004620000998282620004f4565b505050620000b6620000b0620001bd60201b60201c565b620001c1565b620000c2338862000213565b600886905560c085905260e084905260a0839052610100829052612710620000ec886009620005d6565b620000f89190620005f0565b600c55600f8054600160b01b60ff60b01b19909116179055600d8054336001600160a01b03199182168117909255600e80549091166001600160a01b03841617905562000147906001620002fb565b62000154306001620002fb565b600e546200016d906001600160a01b03166001620002fb565b600e5462000186906001600160a01b0316600162000330565b6080516200019690600162000330565b620001a333600162000330565b620001b030600162000330565b5050505050505062000629565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200026f5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6002546200027e90826200036a565b6002556001600160a01b038216600090815260208190526040902054620002a690826200036a565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6200030562000381565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6200033a62000381565b6001600160a01b03919091166000908152601460205260409020805460ff1916911515919091179055565b505050565b600062000378828462000613565b90505b92915050565b6005546001600160a01b03163314620003dd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000266565b565b600080600080600080600060e0888a031215620003fb57600080fd5b8751602089015160408a015160608b015160808c015160a08d015160c08e0151959c50939a509198509650945092506001600160a01b03811681146200044057600080fd5b8091505092959891949750929550565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200047b57607f821691505b6020821081036200049c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200036557600081815260208120601f850160051c81016020861015620004cb5750805b601f850160051c820191505b81811015620004ec57828155600101620004d7565b505050505050565b81516001600160401b0381111562000510576200051062000450565b620005288162000521845462000466565b84620004a2565b602080601f831160018114620005605760008415620005475750858301515b600019600386901b1c1916600185901b178555620004ec565b600085815260208120601f198616915b82811015620005915788860151825594840194600190910190840162000570565b5085821015620005b05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200037b576200037b620005c0565b6000826200060e57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156200037b576200037b620005c0565b60805160a05160c05160e0516101005161203f620006a66000396000610b8101526000818161058e015261097d01526000818161067601526109a60152600081816107990152610a1d0152600081816103180152818161193f015281816119f801528181611a3401528181611aa60152611b0e015261203f6000f3fe6080604052600436106102555760003560e01c806375f0a87411610139578063aaffadf3116100b6578063d73ad1f41161007a578063d73ad1f414610711578063dd62ed3e14610741578063e3e06d9914610787578063e8709c40146107bb578063f2fde38b14610815578063f50fdf511461083557600080fd5b8063aaffadf314610664578063c024666814610698578063c8c8ebe4146106b8578063ceb35605146106ce578063d631069c146106fb57600080fd5b806391221716116100fd57806391221716146105ce57806395d89b41146105ee578063a2e9147714610603578063a457c2d714610624578063a9059cbb1461064457600080fd5b806375f0a87414610525578063860a32ec1461054557806389f9a1d3146105665780638d3d65761461057c5780638da5cb5b146105b057600080fd5b8063313ce567116101d257806368742da61161019657806368742da6146104595780636ddd17131461047957806370a082311461049a578063715018a6146104d0578063756ba9d8146104e55780637571336a1461050557600080fd5b8063313ce567146103c75780633289afcf146103e357806339509351146103f957806349bd5a5e146104195780635d60c7be1461043957600080fd5b80631694505e116102195780631694505e1461030657806318160ddd146103525780631d35485c14610367578063239be29a1461038757806323b872dd146103a757600080fd5b806301bef46514610261578063023f41471461028357806306fdde03146102ac578063095ea7b3146102ce5780630c4c5550146102fe57600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b5061028161027c366004611b9b565b61084b565b005b34801561028f57600080fd5b5061029960085481565b6040519081526020015b60405180910390f35b3480156102b857600080fd5b506102c1610871565b6040516102a39190611bb6565b3480156102da57600080fd5b506102ee6102e9366004611c19565b610903565b60405190151581526020016102a3565b61028161091a565b34801561031257600080fd5b5061033a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102a3565b34801561035e57600080fd5b50600254610299565b34801561037357600080fd5b50610281610382366004611c91565b610add565b34801561039357600080fd5b506102816103a2366004611b9b565b610c47565b3480156103b357600080fd5b506102ee6103c2366004611cfd565b610c6d565b3480156103d357600080fd5b50604051601281526020016102a3565b3480156103ef57600080fd5b5061029960095481565b34801561040557600080fd5b506102ee610414366004611c19565b610cd6565b34801561042557600080fd5b50600f5461033a906001600160a01b031681565b34801561044557600080fd5b50600d5461033a906001600160a01b031681565b34801561046557600080fd5b50610281610474366004611d3e565b610d0c565b34801561048557600080fd5b50600f546102ee90600160b01b900460ff1681565b3480156104a657600080fd5b506102996104b5366004611d3e565b6001600160a01b031660009081526020819052604090205490565b3480156104dc57600080fd5b50610281610d8c565b3480156104f157600080fd5b50610281610500366004611d5b565b610da0565b34801561051157600080fd5b50610281610520366004611d8e565b610dd0565b34801561053157600080fd5b50600e5461033a906001600160a01b031681565b34801561055157600080fd5b50600f546102ee90600160a81b900460ff1681565b34801561057257600080fd5b50610299600a5481565b34801561058857600080fd5b506102997f000000000000000000000000000000000000000000000000000000000000000081565b3480156105bc57600080fd5b506005546001600160a01b031661033a565b3480156105da57600080fd5b506102816105e9366004611d3e565b610e03565b3480156105fa57600080fd5b506102c1610e61565b34801561060f57600080fd5b50600f546102ee90600160a01b900460ff1681565b34801561063057600080fd5b506102ee61063f366004611c19565b610e70565b34801561065057600080fd5b506102ee61065f366004611c19565b610ebf565b34801561067057600080fd5b506102997f000000000000000000000000000000000000000000000000000000000000000081565b3480156106a457600080fd5b506102816106b3366004611d8e565b610ecc565b3480156106c457600080fd5b50610299600b5481565b3480156106da57600080fd5b506102996106e9366004611d3e565b60116020526000908152604090205481565b34801561070757600080fd5b5061029960065481565b34801561071d57600080fd5b506102ee61072c366004611d3e565b60126020526000908152604090205460ff1681565b34801561074d57600080fd5b5061029961075c366004611dc3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561079357600080fd5b506102997f000000000000000000000000000000000000000000000000000000000000000081565b3480156107c757600080fd5b506107f86107d6366004611dfc565b601060205260009081526040902080546001909101546001600160a01b031682565b604080519283526001600160a01b039091166020830152016102a3565b34801561082157600080fd5b50610281610830366004611d3e565b610eff565b34801561084157600080fd5b5061029960075481565b610853610f78565b600f8054911515600160a01b0260ff60a01b19909216919091179055565b60606003805461088090611e15565b80601f01602080910402602001604051908101604052809291908181526020018280546108ac90611e15565b80156108f95780601f106108ce576101008083540402835291602001916108f9565b820191906000526020600020905b8154815290600101906020018083116108dc57829003601f168201915b5050505050905090565b6000610910338484610fd2565b5060015b92915050565b33328114610951576040516347dc561360e01b81523260048201526001600160a01b03821660248201526044015b60405180910390fd5b600f54600160a01b900460ff1661097b576040516374626dc160e11b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000003411806109c857507f000000000000000000000000000000000000000000000000000000000000000034105b156109e8576040516307a55fa160e01b8152346004820152602401610948565b3360009081526012602052604090205460ff1615610a1b576040516367e667af60e11b8152336004820152602401610948565b7f000000000000000000000000000000000000000000000000000000000000000034600754610a4a9190611e65565b1115610a69576040516331b52d7360e01b815260040160405180910390fd5b506009805433600081815260116020908152604080832060019586019081905583526010825280832080860180546001600160a01b0319168617905580543490810190915593835260129091529020805460ff19168317905582549091019091556007805482019055600880549091019055565b610ae5610f78565b828114610b0f576040516311ad2bfd60e01b81526004810184905260248101829052604401610948565b60005b83811015610b7c57610b74610b2f6005546001600160a01b031690565b868684818110610b4157610b41611e78565b9050602002016020810190610b569190611d3e565b858585818110610b6857610b68611e78565b905060200201356110f7565b600101610b12565b5060007f0000000000000000000000000000000000000000000000000000000000000000600854670de0b6b3a7640000610bb69190611e8e565b610bc09190611ea5565b905060015b6009548111610c3f57600081815260106020526040812054610bef90670de0b6b3a7640000611e8e565b90506000610bfd8483611ea5565b9050610c35610c146005546001600160a01b031690565b6000858152601060205260409020600101546001600160a01b0316836110f7565b5050600101610bc5565b505050505050565b610c4f610f78565b600f8054911515600160b01b0260ff60b01b19909216919091179055565b6000610c7a8484846110f7565b610ccc8433610cc785604051806060016040528060288152602001611fbd602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611555565b610fd2565b5060019392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610910918590610cc79086611581565b610d14610f78565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610d61576040519150601f19603f3d011682016040523d82523d6000602084013e610d66565b606091505b5050905080610d8857604051631d42c86760e21b815260040160405180910390fd5b5050565b610d94610f78565b610d9e6000611594565b565b610da8610f78565b600f8054931515600160a81b0260ff60a81b1990941693909317909255600b91909155600a55565b610dd8610f78565b6001600160a01b03919091166000908152601460205260409020805460ff1916911515919091179055565b610e0b610f78565b60065415610e3b57600f54604051636916e2b160e01b81526001600160a01b039091166004820152602401610948565b600f80546001600160a01b0319166001600160a01b039290921691909117905542600655565b60606004805461088090611e15565b60006109103384610cc785604051806060016040528060258152602001611fe5602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611555565b60006109103384846110f7565b610ed4610f78565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b610f07610f78565b6001600160a01b038116610f6c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610948565b610f7581611594565b50565b6005546001600160a01b03163314610d9e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610948565b6001600160a01b0383166110345760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610948565b6001600160a01b0382166110955760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610948565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600f546001600160a01b031615801561111857506001600160a01b03831615155b801561113257506005546001600160a01b03848116911614155b15611150576040516366eb772360e01b815260040160405180910390fd5b6005546001600160a01b0384811691161480159061117c57506005546001600160a01b03838116911614155b801561119057506001600160a01b03821615155b80156111a757506001600160a01b03821661dead14155b80156111bd5750600f54600160b81b900460ff16155b1561135957600f54600160a81b900460ff161561135957600f546001600160a01b03848116911614801561120a57506001600160a01b03821660009081526014602052604090205460ff16155b1561128957600b5481111561123557604051630da27c9560e41b815260048101829052602401610948565b600a5481611258846001600160a01b031660009081526020819052604090205490565b6112629190611e65565b111561128457604051639b440edf60e01b815260048101829052602401610948565b611359565b600f546001600160a01b0383811691161480156112bf57506001600160a01b03831660009081526014602052604090205460ff16155b156112ea57600b5481111561128457604051630da27c9560e41b815260048101829052602401610948565b6001600160a01b03821660009081526014602052604090205460ff1661135957600a548161132d846001600160a01b031660009081526020819052604090205490565b6113379190611e65565b111561135957604051639b440edf60e01b815260048101829052602401610948565b30600090815260208190526040902054600c54811080159081906113865750600f54600160b01b900460ff165b801561139c5750600f54600160b81b900460ff16155b80156113b65750600f546001600160a01b03868116911614155b80156113db57506001600160a01b03851660009081526013602052604090205460ff16155b801561140057506001600160a01b03841660009081526013602052604090205460ff16155b1561142f57600f805460ff60b81b1916600160b81b179055611421826115e6565b600f805460ff60b81b191690555b600f546001600160a01b03861660009081526013602052604090205460ff600160b81b90920482161591168061147d57506001600160a01b03851660009081526013602052604090205460ff165b15611486575060005b801561154a57600080600061149a426116ba565b600f5492955090935091506001600160a01b038a811691161480156114bc5750805b156114f457600060646114cf858a611e8e565b6114d99190611ea5565b90506114e68a3083611765565b6114f08189611ec7565b9750505b600f546001600160a01b03898116911614801561150e5750805b156115465760006064611521848a611e8e565b61152b9190611ea5565b90506115388a3083611765565b6115428189611ec7565b9750505b5050505b610c3f868686611765565b600081848411156115795760405162461bcd60e51b81526004016109489190611bb6565b505050900390565b600061158d8284611e65565b9392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b806000036115f15750565b60006064611600836041611e8e565b61160a9190611ea5565b9050611615816118e8565b306000908152602081905260408120544791606461163484601e611e8e565b61163e9190611ea5565b9050600061164c8285611ec7565b600e546040519192506000916001600160a01b039091169084908381818185875af1925050503d806000811461169e576040519150601f19603f3d011682016040523d82523d6000602084013e6116a3565b606091505b505090506116b18483611aa0565b50505050505050565b600080600080600654856116ce9190611ec7565b90506000806000603c8410156116ed5750601491508190506001611757565b603c84101580156116fe5750607884105b156117135750600a9150600f90506001611757565b60788410158015611724575060b484105b15611739575060059150600a90506001611757565b60b4841015801561174a575060f084105b1561175757506005905060015b919790965090945092505050565b6001600160a01b0383166117c95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610948565b6001600160a01b03821661182b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610948565b61186881604051806060016040528060268152602001611f97602691396001600160a01b0386166000908152602081905260409020549190611555565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546118979082611581565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016110ea565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061191d5761191d611e78565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561199b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bf9190611eda565b816001815181106119d2576119d2611e78565b60200260200101906001600160a01b031690816001600160a01b031681525050611a1d307f000000000000000000000000000000000000000000000000000000000000000084610fd2565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611a72908590600090869030904290600401611ef7565b600060405180830381600087803b158015611a8c57600080fd5b505af1158015610c3f573d6000803e3d6000fd5b611acb307f000000000000000000000000000000000000000000000000000000000000000084610fd2565b600d5460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000009091169063f305d71990839060c40160606040518083038185885af1158015611b5a573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b7f9190611f68565b5050505050565b80358015158114611b9657600080fd5b919050565b600060208284031215611bad57600080fd5b61158d82611b86565b600060208083528351808285015260005b81811015611be357858101830151858201604001528201611bc7565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610f7557600080fd5b60008060408385031215611c2c57600080fd5b8235611c3781611c04565b946020939093013593505050565b60008083601f840112611c5757600080fd5b50813567ffffffffffffffff811115611c6f57600080fd5b6020830191508360208260051b8501011115611c8a57600080fd5b9250929050565b60008060008060408587031215611ca757600080fd5b843567ffffffffffffffff80821115611cbf57600080fd5b611ccb88838901611c45565b90965094506020870135915080821115611ce457600080fd5b50611cf187828801611c45565b95989497509550505050565b600080600060608486031215611d1257600080fd5b8335611d1d81611c04565b92506020840135611d2d81611c04565b929592945050506040919091013590565b600060208284031215611d5057600080fd5b813561158d81611c04565b600080600060608486031215611d7057600080fd5b611d7984611b86565b95602085013595506040909401359392505050565b60008060408385031215611da157600080fd5b8235611dac81611c04565b9150611dba60208401611b86565b90509250929050565b60008060408385031215611dd657600080fd5b8235611de181611c04565b91506020830135611df181611c04565b809150509250929050565b600060208284031215611e0e57600080fd5b5035919050565b600181811c90821680611e2957607f821691505b602082108103611e4957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561091457610914611e4f565b634e487b7160e01b600052603260045260246000fd5b808202811582820484141761091457610914611e4f565b600082611ec257634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561091457610914611e4f565b600060208284031215611eec57600080fd5b815161158d81611c04565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f475784516001600160a01b031683529383019391830191600101611f22565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215611f7d57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220a4af9eeee3edc2d8b640566477da61716efd255ef3e09c2ba4db05828c79ec9364736f6c634300081300330000000000000000000000000000000000000000204fce5e3e250261100000000000000000000000000000000000000000000000000000010383beec53ce000000000000000000000000000000000000000000000000000003782dace9d9000000000000000000000000000000000000000000000000000006f05b59d3b20000000000000000000000000000000000000000000000000001158e460913d00000000000000000000000000000000000000000000011c57e4d6efac14efc000000000000000000000000000000df0ccf0eaf66f743a480099f97c84ebf8181d1a9

Deployed Bytecode

0x6080604052600436106102555760003560e01c806375f0a87411610139578063aaffadf3116100b6578063d73ad1f41161007a578063d73ad1f414610711578063dd62ed3e14610741578063e3e06d9914610787578063e8709c40146107bb578063f2fde38b14610815578063f50fdf511461083557600080fd5b8063aaffadf314610664578063c024666814610698578063c8c8ebe4146106b8578063ceb35605146106ce578063d631069c146106fb57600080fd5b806391221716116100fd57806391221716146105ce57806395d89b41146105ee578063a2e9147714610603578063a457c2d714610624578063a9059cbb1461064457600080fd5b806375f0a87414610525578063860a32ec1461054557806389f9a1d3146105665780638d3d65761461057c5780638da5cb5b146105b057600080fd5b8063313ce567116101d257806368742da61161019657806368742da6146104595780636ddd17131461047957806370a082311461049a578063715018a6146104d0578063756ba9d8146104e55780637571336a1461050557600080fd5b8063313ce567146103c75780633289afcf146103e357806339509351146103f957806349bd5a5e146104195780635d60c7be1461043957600080fd5b80631694505e116102195780631694505e1461030657806318160ddd146103525780631d35485c14610367578063239be29a1461038757806323b872dd146103a757600080fd5b806301bef46514610261578063023f41471461028357806306fdde03146102ac578063095ea7b3146102ce5780630c4c5550146102fe57600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b5061028161027c366004611b9b565b61084b565b005b34801561028f57600080fd5b5061029960085481565b6040519081526020015b60405180910390f35b3480156102b857600080fd5b506102c1610871565b6040516102a39190611bb6565b3480156102da57600080fd5b506102ee6102e9366004611c19565b610903565b60405190151581526020016102a3565b61028161091a565b34801561031257600080fd5b5061033a7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102a3565b34801561035e57600080fd5b50600254610299565b34801561037357600080fd5b50610281610382366004611c91565b610add565b34801561039357600080fd5b506102816103a2366004611b9b565b610c47565b3480156103b357600080fd5b506102ee6103c2366004611cfd565b610c6d565b3480156103d357600080fd5b50604051601281526020016102a3565b3480156103ef57600080fd5b5061029960095481565b34801561040557600080fd5b506102ee610414366004611c19565b610cd6565b34801561042557600080fd5b50600f5461033a906001600160a01b031681565b34801561044557600080fd5b50600d5461033a906001600160a01b031681565b34801561046557600080fd5b50610281610474366004611d3e565b610d0c565b34801561048557600080fd5b50600f546102ee90600160b01b900460ff1681565b3480156104a657600080fd5b506102996104b5366004611d3e565b6001600160a01b031660009081526020819052604090205490565b3480156104dc57600080fd5b50610281610d8c565b3480156104f157600080fd5b50610281610500366004611d5b565b610da0565b34801561051157600080fd5b50610281610520366004611d8e565b610dd0565b34801561053157600080fd5b50600e5461033a906001600160a01b031681565b34801561055157600080fd5b50600f546102ee90600160a81b900460ff1681565b34801561057257600080fd5b50610299600a5481565b34801561058857600080fd5b506102997f00000000000000000000000000000000000000000000000006f05b59d3b2000081565b3480156105bc57600080fd5b506005546001600160a01b031661033a565b3480156105da57600080fd5b506102816105e9366004611d3e565b610e03565b3480156105fa57600080fd5b506102c1610e61565b34801561060f57600080fd5b50600f546102ee90600160a01b900460ff1681565b34801561063057600080fd5b506102ee61063f366004611c19565b610e70565b34801561065057600080fd5b506102ee61065f366004611c19565b610ebf565b34801561067057600080fd5b506102997f00000000000000000000000000000000000000000000000003782dace9d9000081565b3480156106a457600080fd5b506102816106b3366004611d8e565b610ecc565b3480156106c457600080fd5b50610299600b5481565b3480156106da57600080fd5b506102996106e9366004611d3e565b60116020526000908152604090205481565b34801561070757600080fd5b5061029960065481565b34801561071d57600080fd5b506102ee61072c366004611d3e565b60126020526000908152604090205460ff1681565b34801561074d57600080fd5b5061029961075c366004611dc3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561079357600080fd5b506102997f000000000000000000000000000000000000000000000001158e460913d0000081565b3480156107c757600080fd5b506107f86107d6366004611dfc565b601060205260009081526040902080546001909101546001600160a01b031682565b604080519283526001600160a01b039091166020830152016102a3565b34801561082157600080fd5b50610281610830366004611d3e565b610eff565b34801561084157600080fd5b5061029960075481565b610853610f78565b600f8054911515600160a01b0260ff60a01b19909216919091179055565b60606003805461088090611e15565b80601f01602080910402602001604051908101604052809291908181526020018280546108ac90611e15565b80156108f95780601f106108ce576101008083540402835291602001916108f9565b820191906000526020600020905b8154815290600101906020018083116108dc57829003601f168201915b5050505050905090565b6000610910338484610fd2565b5060015b92915050565b33328114610951576040516347dc561360e01b81523260048201526001600160a01b03821660248201526044015b60405180910390fd5b600f54600160a01b900460ff1661097b576040516374626dc160e11b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000006f05b59d3b200003411806109c857507f00000000000000000000000000000000000000000000000003782dace9d9000034105b156109e8576040516307a55fa160e01b8152346004820152602401610948565b3360009081526012602052604090205460ff1615610a1b576040516367e667af60e11b8152336004820152602401610948565b7f000000000000000000000000000000000000000000000001158e460913d0000034600754610a4a9190611e65565b1115610a69576040516331b52d7360e01b815260040160405180910390fd5b506009805433600081815260116020908152604080832060019586019081905583526010825280832080860180546001600160a01b0319168617905580543490810190915593835260129091529020805460ff19168317905582549091019091556007805482019055600880549091019055565b610ae5610f78565b828114610b0f576040516311ad2bfd60e01b81526004810184905260248101829052604401610948565b60005b83811015610b7c57610b74610b2f6005546001600160a01b031690565b868684818110610b4157610b41611e78565b9050602002016020810190610b569190611d3e565b858585818110610b6857610b68611e78565b905060200201356110f7565b600101610b12565b5060007f000000000000000000000000000000000000000011c57e4d6efac14efc000000600854670de0b6b3a7640000610bb69190611e8e565b610bc09190611ea5565b905060015b6009548111610c3f57600081815260106020526040812054610bef90670de0b6b3a7640000611e8e565b90506000610bfd8483611ea5565b9050610c35610c146005546001600160a01b031690565b6000858152601060205260409020600101546001600160a01b0316836110f7565b5050600101610bc5565b505050505050565b610c4f610f78565b600f8054911515600160b01b0260ff60b01b19909216919091179055565b6000610c7a8484846110f7565b610ccc8433610cc785604051806060016040528060288152602001611fbd602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611555565b610fd2565b5060019392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610910918590610cc79086611581565b610d14610f78565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610d61576040519150601f19603f3d011682016040523d82523d6000602084013e610d66565b606091505b5050905080610d8857604051631d42c86760e21b815260040160405180910390fd5b5050565b610d94610f78565b610d9e6000611594565b565b610da8610f78565b600f8054931515600160a81b0260ff60a81b1990941693909317909255600b91909155600a55565b610dd8610f78565b6001600160a01b03919091166000908152601460205260409020805460ff1916911515919091179055565b610e0b610f78565b60065415610e3b57600f54604051636916e2b160e01b81526001600160a01b039091166004820152602401610948565b600f80546001600160a01b0319166001600160a01b039290921691909117905542600655565b60606004805461088090611e15565b60006109103384610cc785604051806060016040528060258152602001611fe5602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611555565b60006109103384846110f7565b610ed4610f78565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b610f07610f78565b6001600160a01b038116610f6c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610948565b610f7581611594565b50565b6005546001600160a01b03163314610d9e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610948565b6001600160a01b0383166110345760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610948565b6001600160a01b0382166110955760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610948565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600f546001600160a01b031615801561111857506001600160a01b03831615155b801561113257506005546001600160a01b03848116911614155b15611150576040516366eb772360e01b815260040160405180910390fd5b6005546001600160a01b0384811691161480159061117c57506005546001600160a01b03838116911614155b801561119057506001600160a01b03821615155b80156111a757506001600160a01b03821661dead14155b80156111bd5750600f54600160b81b900460ff16155b1561135957600f54600160a81b900460ff161561135957600f546001600160a01b03848116911614801561120a57506001600160a01b03821660009081526014602052604090205460ff16155b1561128957600b5481111561123557604051630da27c9560e41b815260048101829052602401610948565b600a5481611258846001600160a01b031660009081526020819052604090205490565b6112629190611e65565b111561128457604051639b440edf60e01b815260048101829052602401610948565b611359565b600f546001600160a01b0383811691161480156112bf57506001600160a01b03831660009081526014602052604090205460ff16155b156112ea57600b5481111561128457604051630da27c9560e41b815260048101829052602401610948565b6001600160a01b03821660009081526014602052604090205460ff1661135957600a548161132d846001600160a01b031660009081526020819052604090205490565b6113379190611e65565b111561135957604051639b440edf60e01b815260048101829052602401610948565b30600090815260208190526040902054600c54811080159081906113865750600f54600160b01b900460ff165b801561139c5750600f54600160b81b900460ff16155b80156113b65750600f546001600160a01b03868116911614155b80156113db57506001600160a01b03851660009081526013602052604090205460ff16155b801561140057506001600160a01b03841660009081526013602052604090205460ff16155b1561142f57600f805460ff60b81b1916600160b81b179055611421826115e6565b600f805460ff60b81b191690555b600f546001600160a01b03861660009081526013602052604090205460ff600160b81b90920482161591168061147d57506001600160a01b03851660009081526013602052604090205460ff165b15611486575060005b801561154a57600080600061149a426116ba565b600f5492955090935091506001600160a01b038a811691161480156114bc5750805b156114f457600060646114cf858a611e8e565b6114d99190611ea5565b90506114e68a3083611765565b6114f08189611ec7565b9750505b600f546001600160a01b03898116911614801561150e5750805b156115465760006064611521848a611e8e565b61152b9190611ea5565b90506115388a3083611765565b6115428189611ec7565b9750505b5050505b610c3f868686611765565b600081848411156115795760405162461bcd60e51b81526004016109489190611bb6565b505050900390565b600061158d8284611e65565b9392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b806000036115f15750565b60006064611600836041611e8e565b61160a9190611ea5565b9050611615816118e8565b306000908152602081905260408120544791606461163484601e611e8e565b61163e9190611ea5565b9050600061164c8285611ec7565b600e546040519192506000916001600160a01b039091169084908381818185875af1925050503d806000811461169e576040519150601f19603f3d011682016040523d82523d6000602084013e6116a3565b606091505b505090506116b18483611aa0565b50505050505050565b600080600080600654856116ce9190611ec7565b90506000806000603c8410156116ed5750601491508190506001611757565b603c84101580156116fe5750607884105b156117135750600a9150600f90506001611757565b60788410158015611724575060b484105b15611739575060059150600a90506001611757565b60b4841015801561174a575060f084105b1561175757506005905060015b919790965090945092505050565b6001600160a01b0383166117c95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610948565b6001600160a01b03821661182b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610948565b61186881604051806060016040528060268152602001611f97602691396001600160a01b0386166000908152602081905260409020549190611555565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546118979082611581565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016110ea565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061191d5761191d611e78565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561199b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bf9190611eda565b816001815181106119d2576119d2611e78565b60200260200101906001600160a01b031690816001600160a01b031681525050611a1d307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610fd2565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611a72908590600090869030904290600401611ef7565b600060405180830381600087803b158015611a8c57600080fd5b505af1158015610c3f573d6000803e3d6000fd5b611acb307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610fd2565b600d5460405163f305d71960e01b81523060048201526024810184905260006044820181905260648201526001600160a01b0391821660848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d9091169063f305d71990839060c40160606040518083038185885af1158015611b5a573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b7f9190611f68565b5050505050565b80358015158114611b9657600080fd5b919050565b600060208284031215611bad57600080fd5b61158d82611b86565b600060208083528351808285015260005b81811015611be357858101830151858201604001528201611bc7565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610f7557600080fd5b60008060408385031215611c2c57600080fd5b8235611c3781611c04565b946020939093013593505050565b60008083601f840112611c5757600080fd5b50813567ffffffffffffffff811115611c6f57600080fd5b6020830191508360208260051b8501011115611c8a57600080fd5b9250929050565b60008060008060408587031215611ca757600080fd5b843567ffffffffffffffff80821115611cbf57600080fd5b611ccb88838901611c45565b90965094506020870135915080821115611ce457600080fd5b50611cf187828801611c45565b95989497509550505050565b600080600060608486031215611d1257600080fd5b8335611d1d81611c04565b92506020840135611d2d81611c04565b929592945050506040919091013590565b600060208284031215611d5057600080fd5b813561158d81611c04565b600080600060608486031215611d7057600080fd5b611d7984611b86565b95602085013595506040909401359392505050565b60008060408385031215611da157600080fd5b8235611dac81611c04565b9150611dba60208401611b86565b90509250929050565b60008060408385031215611dd657600080fd5b8235611de181611c04565b91506020830135611df181611c04565b809150509250929050565b600060208284031215611e0e57600080fd5b5035919050565b600181811c90821680611e2957607f821691505b602082108103611e4957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561091457610914611e4f565b634e487b7160e01b600052603260045260246000fd5b808202811582820484141761091457610914611e4f565b600082611ec257634e487b7160e01b600052601260045260246000fd5b500490565b8181038181111561091457610914611e4f565b600060208284031215611eec57600080fd5b815161158d81611c04565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f475784516001600160a01b031683529383019391830191600101611f22565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215611f7d57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220a4af9eeee3edc2d8b640566477da61716efd255ef3e09c2ba4db05828c79ec9364736f6c63430008130033

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

0000000000000000000000000000000000000000204fce5e3e250261100000000000000000000000000000000000000000000000000000010383beec53ce000000000000000000000000000000000000000000000000000003782dace9d9000000000000000000000000000000000000000000000000000006f05b59d3b20000000000000000000000000000000000000000000000000001158e460913d00000000000000000000000000000000000000000000011c57e4d6efac14efc000000000000000000000000000000df0ccf0eaf66f743a480099f97c84ebf8181d1a9

-----Decoded View---------------
Arg [0] : _totalSupply (uint256): 10000000000000000000000000000
Arg [1] : _amountRaisedInPrivateSale (uint256): 18700000000000000000
Arg [2] : _minContribution (uint256): 250000000000000000
Arg [3] : _maxContribution (uint256): 500000000000000000
Arg [4] : _amountToRaiseInPublic (uint256): 20000000000000000000
Arg [5] : _preSaleSupply (uint256): 5500000000000000000000000000
Arg [6] : _marketingWallet (address): 0xdF0Ccf0eaF66F743A480099F97C84eBF8181d1a9

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000204fce5e3e25026110000000
Arg [1] : 0000000000000000000000000000000000000000000000010383beec53ce0000
Arg [2] : 00000000000000000000000000000000000000000000000003782dace9d90000
Arg [3] : 00000000000000000000000000000000000000000000000006f05b59d3b20000
Arg [4] : 000000000000000000000000000000000000000000000001158e460913d00000
Arg [5] : 000000000000000000000000000000000000000011c57e4d6efac14efc000000
Arg [6] : 000000000000000000000000df0ccf0eaf66f743a480099f97c84ebf8181d1a9


Loading...
Loading
Loading...
Loading
[ 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.