ETH Price: $2,066.02 (-2.22%)

Contract

0xee0E5Ea3ED87F1Fefd2784ED7973045307928aFA
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve127695842021-07-05 20:09:201721 days ago1625515760IN
0xee0E5Ea3...307928aFA
0 ETH0.0005429811.50000167
Open127695682021-07-05 20:06:231721 days ago1625515583IN
0xee0E5Ea3...307928aFA
0 ETH0.0030177810
Transfer127695302021-07-05 19:56:531721 days ago1625515013IN
0xee0E5Ea3...307928aFA
0.0001 ETH0.0002105510

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
-127695682021-07-05 20:06:231721 days ago1625515583
0xee0E5Ea3...307928aFA
0.0001 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BUFFDOGE

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Address.sol";
import {IUniswapV2Router02} from "./interfaces/IUniswapV2Router02.sol";
import {IUniswapV2Factory} from "./interfaces/IUniswapV2Factory.sol";
import {IUniswapV2Pair} from "./interfaces/IUniswapV2Pair.sol";
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";

// import "hardhat/console.sol";

/**
 * @notice ERC20 token with cost basis tracking and restricted loss-taking
 */
contract BUFFDOGE is ERC20 {
    using Address for address payable;

    address private constant UNISWAP_ROUTER =
        0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
    address private constant WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;

    uint256 private constant SUPPLY = 1e9 ether;

    address private _owner;

    address public _pair;

    uint256 private _openedAt;
    uint256 private _closedAt;

    mapping(address => uint256) public cooldownOf;

    /**
     * @notice deploy
     */
    constructor() payable ERC20("Test", "TST") {
        _owner = msg.sender;

        // setup uniswap pair and store address

        _pair = IUniswapV2Factory(IUniswapV2Router02(UNISWAP_ROUTER).factory())
        .createPair(WETH, address(this));

        // prepare to add liquidity

        _approve(address(this), UNISWAP_ROUTER, SUPPLY);

        // prepare to remove liquidity

        IERC20(_pair).approve(UNISWAP_ROUTER, type(uint256).max);
    }

    receive() external payable {}

    /**
     * @notice open trading
     * @dev sender must be owner
     * @dev trading must not yet have been opened
     */
    function open() external {
        require(msg.sender == _owner, "ERR: sender must be owner");
        require(_openedAt == 0, "ERR: already opened");

        _openedAt = block.timestamp;

        // add liquidity, set initial cost basis

        _mint(address(this), SUPPLY - totalSupply());

        _mint(_owner, 100000);

        IUniswapV2Router02(UNISWAP_ROUTER).addLiquidityETH{
            value: address(this).balance
        }(
            address(this),
            balanceOf(address(this)),
            0,
            0,
            address(this),
            block.timestamp
        );
    }

    /**
     * @notice close trading
     * @dev trading must not yet have been closed
     * @dev minimum time since open must have elapsed
     */
    function close() external {
        require(_openedAt != 0, "ERR: not yet opened");
        require(_closedAt == 0, "ERR: already closed");
        require(block.timestamp > _openedAt + (1 days), "ERR: too soon");

        _closedAt = block.timestamp;

        (uint256 token, ) = IUniswapV2Router02(UNISWAP_ROUTER)
        .removeLiquidityETH(
            address(this),
            IERC20(_pair).balanceOf(address(this)),
            0,
            0,
            address(this),
            block.timestamp
        );

        _burn(address(this), token);
    }

    /**
     * @notice exchange BUFFDOGE for proportion of ETH in contract
     * @dev trading must have been closed
     */
    function liquidate() external {
        require(_closedAt > 0, "ERR: not yet closed");

        uint256 balance = balanceOf(msg.sender);

        require(balance != 0, "ERR: zero balance");

        uint256 payout = (address(this).balance * balance) / totalSupply();

        _burn(msg.sender, balance);
        payable(msg.sender).sendValue(payout);
    }

    /**
     * @notice withdraw remaining ETH from contract
     * @dev trading must have been closed
     * @dev minimum time since close must have elapsed
     */
    function liquidateUnclaimed() external {
        require(_closedAt > 0, "ERR: not yet closed");
        require(block.timestamp > _closedAt + (12 weeks), "ERR: too soon");
        payable(_owner).sendValue(address(this).balance);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        super._beforeTokenTransfer(from, to, amount);

        // ignore minting and burning
        if (from == address(0) || to == address(0)) return;

        // ignore add/remove liquidity
        if (from == address(this) || to == address(this)) return;
        if (from == UNISWAP_ROUTER || to == UNISWAP_ROUTER) return;

        require(_openedAt > 0);

        // require(
        //     msg.sender == UNISWAP_ROUTER || msg.sender == _pair,
        //     "ERR: sender must be uniswap"
        // );
        // require(
        //     amount <= 5e9 ether /* revert message not returned by Uniswap */
        // );

        if (from == _pair) {
            require(
                cooldownOf[to] < block.timestamp /* revert message not returned by Uniswap */
            );
            cooldownOf[to] = block.timestamp + (5 minutes);
        } else if (to == _pair) {
            // blacklist Vitalik Buterin
            require(
                from != 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B /* revert message not returned by Uniswap */
            );
            require(
                cooldownOf[from] < block.timestamp /* revert message not returned by Uniswap */
            );
            cooldownOf[from] = block.timestamp + (5 minutes);
        }
    }
}

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

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

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

interface IUniswapV2Factory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint256
    );

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB)
        external
        view
        returns (address pair);

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

    function createPair(address tokenA, address tokenB)
        external
        returns (address pair);

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

interface IUniswapV2Pair {
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 value);

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    event Mint(address indexed sender, uint256 amount0, uint256 amount1);
    event Burn(
        address indexed sender,
        uint256 amount0,
        uint256 amount1,
        address indexed to
    );
    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

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

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

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

    function WETH() external pure returns (address);

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

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETH(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountToken, uint256 amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
}

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

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"payable","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":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":"_pair","outputs":[{"internalType":"address","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":[],"name":"close","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"cooldownOf","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":[{"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":"liquidate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"liquidateUnclaimed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"open","outputs":[],"stateMutability":"nonpayable","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"},{"stateMutability":"payable","type":"receive"}]

60806040526040518060400160405280600481526020017f54657374000000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f545354000000000000000000000000000000000000000000000000000000000081525081600390805190602001906200008892919062000557565b508060049080519060200190620000a192919062000557565b50505033600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b1580156200014057600080fd5b505afa15801562000155573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200017b919062000635565b73ffffffffffffffffffffffffffffffffffffffff1663c9c6539673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2306040518363ffffffff1660e01b8152600401620001cb9291906200077f565b602060405180830381600087803b158015620001e657600080fd5b505af1158015620001fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000221919062000635565b600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200029430737a250d5630b4cf539739df2c5dacb4c659f2488d6b033b2e3c9fd0803ce80000006200038460201b60201c565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3737a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b815260040162000327929190620007ac565b602060405180830381600087803b1580156200034257600080fd5b505af115801562000357573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200037d919062000661565b506200092e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620003f7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003ee90620007fb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200046a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200046190620007d9565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516200054a91906200081d565b60405180910390a3505050565b828054620005659062000895565b90600052602060002090601f016020900481019282620005895760008555620005d5565b82601f10620005a457805160ff1916838001178555620005d5565b82800160010185558215620005d5579182015b82811115620005d4578251825591602001919060010190620005b7565b5b509050620005e49190620005e8565b5090565b5b8082111562000603576000816000905550600101620005e9565b5090565b6000815190506200061881620008fa565b92915050565b6000815190506200062f8162000914565b92915050565b6000602082840312156200064857600080fd5b6000620006588482850162000607565b91505092915050565b6000602082840312156200067457600080fd5b600062000684848285016200061e565b91505092915050565b62000698816200084b565b82525050565b6000620006ad6022836200083a565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000620007156024836200083a565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b62000779816200088b565b82525050565b60006040820190506200079660008301856200068d565b620007a560208301846200068d565b9392505050565b6000604082019050620007c360008301856200068d565b620007d260208301846200076e565b9392505050565b60006020820190508181036000830152620007f4816200069e565b9050919050565b60006020820190508181036000830152620008168162000706565b9050919050565b60006020820190506200083460008301846200076e565b92915050565b600082825260208201905092915050565b600062000858826200086b565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006002820490506001821680620008ae57607f821691505b60208210811415620008c557620008c4620008cb565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b62000905816200084b565b81146200091157600080fd5b50565b6200091f816200085f565b81146200092b57600080fd5b50565b612ac2806200093e6000396000f3fe6080604052600436106101025760003560e01c806343d726d611610095578063a9059cbb11610064578063a9059cbb14610330578063b33a7a171461036d578063b51449bb146103aa578063dd62ed3e146103d5578063fcfff16f1461041257610109565b806343d726d61461027457806370a082311461028b57806395d89b41146102c8578063a457c2d7146102f357610109565b806328a07025116100d157806328a07025146101de5780632fc01391146101f5578063313ce5671461020c578063395093511461023757610109565b806306fdde031461010e578063095ea7b31461013957806318160ddd1461017657806323b872dd146101a157610109565b3661010957005b600080fd5b34801561011a57600080fd5b50610123610429565b6040516101309190612500565b60405180910390f35b34801561014557600080fd5b50610160600480360381019061015b9190611c8a565b6104bb565b60405161016d91906124e5565b60405180910390f35b34801561018257600080fd5b5061018b6104d9565b6040516101989190612782565b60405180910390f35b3480156101ad57600080fd5b506101c860048036038101906101c39190611c3b565b6104e3565b6040516101d591906124e5565b60405180910390f35b3480156101ea57600080fd5b506101f36105db565b005b34801561020157600080fd5b5061020a6106ca565b005b34801561021857600080fd5b506102216107ae565b60405161022e919061279d565b60405180910390f35b34801561024357600080fd5b5061025e60048036038101906102599190611c8a565b6107b7565b60405161026b91906124e5565b60405180910390f35b34801561028057600080fd5b50610289610863565b005b34801561029757600080fd5b506102b260048036038101906102ad9190611bd6565b610aac565b6040516102bf9190612782565b60405180910390f35b3480156102d457600080fd5b506102dd610af4565b6040516102ea9190612500565b60405180910390f35b3480156102ff57600080fd5b5061031a60048036038101906103159190611c8a565b610b86565b60405161032791906124e5565b60405180910390f35b34801561033c57600080fd5b5061035760048036038101906103529190611c8a565b610c71565b60405161036491906124e5565b60405180910390f35b34801561037957600080fd5b50610394600480360381019061038f9190611bd6565b610c8f565b6040516103a19190612782565b60405180910390f35b3480156103b657600080fd5b506103bf610ca7565b6040516103cc9190612469565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f79190611bff565b610ccd565b6040516104099190612782565b60405180910390f35b34801561041e57600080fd5b50610427610d54565b005b6060600380546104389061298e565b80601f01602080910402602001604051908101604052809291908181526020018280546104649061298e565b80156104b15780601f10610486576101008083540402835291602001916104b1565b820191906000526020600020905b81548152906001019060200180831161049457829003601f168201915b5050505050905090565b60006104cf6104c8610f3f565b8484610f47565b6001905092915050565b6000600254905090565b60006104f0848484611112565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061053b610f3f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156105bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b290612662565b60405180910390fd5b6105cf856105c7610f3f565b858403610f47565b60019150509392505050565b600060085411610620576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610617906125c2565b60405180910390fd5b600061062b33610aac565b90506000811415610671576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610668906126a2565b60405180910390fd5b600061067b6104d9565b82476106879190612866565b6106919190612835565b905061069d3383611393565b6106c6813373ffffffffffffffffffffffffffffffffffffffff1661156a90919063ffffffff16565b5050565b60006008541161070f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610706906125c2565b60405180910390fd5b626ebe0060085461072091906127df565b4211610761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075890612702565b60405180910390fd5b6107ac47600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661156a90919063ffffffff16565b565b60006012905090565b60006108596107c4610f3f565b8484600160006107d2610f3f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461085491906127df565b610f47565b6001905092915050565b600060075414156108a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a090612642565b60405180910390fd5b6000600854146108ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e590612582565b60405180910390fd5b620151806007546108ff91906127df565b4211610940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093790612702565b60405180910390fd5b426008819055506000737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff166302751cec30600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109d59190612469565b60206040518083038186803b1580156109ed57600080fd5b505afa158015610a01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a259190611cc6565b60008030426040518763ffffffff1660e01b8152600401610a4b96959493929190612484565b6040805180830381600087803b158015610a6457600080fd5b505af1158015610a78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9c9190611cef565b509050610aa93082611393565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060048054610b039061298e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2f9061298e565b8015610b7c5780601f10610b5157610100808354040283529160200191610b7c565b820191906000526020600020905b815481529060010190602001808311610b5f57829003601f168201915b5050505050905090565b60008060016000610b95610f3f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4990612742565b60405180910390fd5b610c66610c5d610f3f565b85858403610f47565b600191505092915050565b6000610c85610c7e610f3f565b8484611112565b6001905092915050565b60096020528060005260406000206000915090505481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddb90612682565b60405180910390fd5b600060075414610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2090612622565b60405180910390fd5b42600781905550610e5830610e3c6104d9565b6b033b2e3c9fd0803ce8000000610e5391906128c0565b61165e565b610e87600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620186a061165e565b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d7194730610ec230610aac565b60008030426040518863ffffffff1660e01b8152600401610ee896959493929190612484565b6060604051808303818588803b158015610f0157600080fd5b505af1158015610f15573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610f3a9190611d2b565b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610fb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fae90612722565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611027576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101e90612562565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516111059190612782565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611182576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611179906126e2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e990612522565b60405180910390fd5b6111fd8383836117be565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127a906125a2565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461131691906127df565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161137a9190612782565b60405180910390a361138d848484611b8d565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611403576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fa906126c2565b60405180910390fd5b61140f826000836117be565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148c90612542565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282546114ec91906128c0565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516115519190612782565b60405180910390a361156583600084611b8d565b505050565b804710156115ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a490612602565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516115d390612454565b60006040518083038185875af1925050503d8060008114611610576040519150601f19603f3d011682016040523d82523d6000602084013e611615565b606091505b5050905080611659576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611650906125e2565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c590612762565b60405180910390fd5b6116da600083836117be565b80600260008282546116ec91906127df565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461174191906127df565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117a69190612782565b60405180910390a36117ba60008383611b8d565b5050565b6117c9838383611b92565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806118305750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b1561183a57611b88565b3073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061189f57503073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b156118a957611b88565b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806119365750737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b1561194057611b88565b60006007541161194f57600080fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a465742600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106119f057600080fd5b61012c426119fe91906127df565b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611b87565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b865773ab5801a7d398351b8be11c439e05c5b3259aec9b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ae957600080fd5b42600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611b3457600080fd5b61012c42611b4291906127df565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b5b505050565b505050565b505050565b600081359050611ba681612a5e565b92915050565b600081359050611bbb81612a75565b92915050565b600081519050611bd081612a75565b92915050565b600060208284031215611be857600080fd5b6000611bf684828501611b97565b91505092915050565b60008060408385031215611c1257600080fd5b6000611c2085828601611b97565b9250506020611c3185828601611b97565b9150509250929050565b600080600060608486031215611c5057600080fd5b6000611c5e86828701611b97565b9350506020611c6f86828701611b97565b9250506040611c8086828701611bac565b9150509250925092565b60008060408385031215611c9d57600080fd5b6000611cab85828601611b97565b9250506020611cbc85828601611bac565b9150509250929050565b600060208284031215611cd857600080fd5b6000611ce684828501611bc1565b91505092915050565b60008060408385031215611d0257600080fd5b6000611d1085828601611bc1565b9250506020611d2185828601611bc1565b9150509250929050565b600080600060608486031215611d4057600080fd5b6000611d4e86828701611bc1565b9350506020611d5f86828701611bc1565b9250506040611d7086828701611bc1565b9150509250925092565b611d83816128f4565b82525050565b611d9281612906565b82525050565b611da181612949565b82525050565b6000611db2826127b8565b611dbc81856127ce565b9350611dcc81856020860161295b565b611dd581612a4d565b840191505092915050565b6000611ded6023836127ce565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611e536022836127ce565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611eb96022836127ce565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611f1f6013836127ce565b91507f4552523a20616c726561647920636c6f736564000000000000000000000000006000830152602082019050919050565b6000611f5f6026836127ce565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611fc56013836127ce565b91507f4552523a206e6f742079657420636c6f736564000000000000000000000000006000830152602082019050919050565b6000612005603a836127ce565b91507f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008301527f6563697069656e74206d617920686176652072657665727465640000000000006020830152604082019050919050565b600061206b601d836127ce565b91507f416464726573733a20696e73756666696369656e742062616c616e63650000006000830152602082019050919050565b60006120ab6013836127ce565b91507f4552523a20616c7265616479206f70656e6564000000000000000000000000006000830152602082019050919050565b60006120eb6013836127ce565b91507f4552523a206e6f7420796574206f70656e6564000000000000000000000000006000830152602082019050919050565b600061212b6028836127ce565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b60006121916019836127ce565b91507f4552523a2073656e646572206d757374206265206f776e6572000000000000006000830152602082019050919050565b60006121d16011836127ce565b91507f4552523a207a65726f2062616c616e63650000000000000000000000000000006000830152602082019050919050565b60006122116021836127ce565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006122776025836127ce565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006122dd600d836127ce565b91507f4552523a20746f6f20736f6f6e000000000000000000000000000000000000006000830152602082019050919050565b600061231d6000836127c3565b9150600082019050919050565b60006123376024836127ce565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061239d6025836127ce565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612403601f836127ce565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b61243f81612932565b82525050565b61244e8161293c565b82525050565b600061245f82612310565b9150819050919050565b600060208201905061247e6000830184611d7a565b92915050565b600060c0820190506124996000830189611d7a565b6124a66020830188612436565b6124b36040830187611d98565b6124c06060830186611d98565b6124cd6080830185611d7a565b6124da60a0830184612436565b979650505050505050565b60006020820190506124fa6000830184611d89565b92915050565b6000602082019050818103600083015261251a8184611da7565b905092915050565b6000602082019050818103600083015261253b81611de0565b9050919050565b6000602082019050818103600083015261255b81611e46565b9050919050565b6000602082019050818103600083015261257b81611eac565b9050919050565b6000602082019050818103600083015261259b81611f12565b9050919050565b600060208201905081810360008301526125bb81611f52565b9050919050565b600060208201905081810360008301526125db81611fb8565b9050919050565b600060208201905081810360008301526125fb81611ff8565b9050919050565b6000602082019050818103600083015261261b8161205e565b9050919050565b6000602082019050818103600083015261263b8161209e565b9050919050565b6000602082019050818103600083015261265b816120de565b9050919050565b6000602082019050818103600083015261267b8161211e565b9050919050565b6000602082019050818103600083015261269b81612184565b9050919050565b600060208201905081810360008301526126bb816121c4565b9050919050565b600060208201905081810360008301526126db81612204565b9050919050565b600060208201905081810360008301526126fb8161226a565b9050919050565b6000602082019050818103600083015261271b816122d0565b9050919050565b6000602082019050818103600083015261273b8161232a565b9050919050565b6000602082019050818103600083015261275b81612390565b9050919050565b6000602082019050818103600083015261277b816123f6565b9050919050565b60006020820190506127976000830184612436565b92915050565b60006020820190506127b26000830184612445565b92915050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b60006127ea82612932565b91506127f583612932565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561282a576128296129c0565b5b828201905092915050565b600061284082612932565b915061284b83612932565b92508261285b5761285a6129ef565b5b828204905092915050565b600061287182612932565b915061287c83612932565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156128b5576128b46129c0565b5b828202905092915050565b60006128cb82612932565b91506128d683612932565b9250828210156128e9576128e86129c0565b5b828203905092915050565b60006128ff82612912565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061295482612932565b9050919050565b60005b8381101561297957808201518184015260208101905061295e565b83811115612988576000848401525b50505050565b600060028204905060018216806129a657607f821691505b602082108114156129ba576129b9612a1e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b612a67816128f4565b8114612a7257600080fd5b50565b612a7e81612932565b8114612a8957600080fd5b5056fea26469706673582212204d89025913a966afc104af33b36a7ba92d7634aecc28b5d663c32cf5e457ed5d64736f6c63430008000033

Deployed Bytecode

0x6080604052600436106101025760003560e01c806343d726d611610095578063a9059cbb11610064578063a9059cbb14610330578063b33a7a171461036d578063b51449bb146103aa578063dd62ed3e146103d5578063fcfff16f1461041257610109565b806343d726d61461027457806370a082311461028b57806395d89b41146102c8578063a457c2d7146102f357610109565b806328a07025116100d157806328a07025146101de5780632fc01391146101f5578063313ce5671461020c578063395093511461023757610109565b806306fdde031461010e578063095ea7b31461013957806318160ddd1461017657806323b872dd146101a157610109565b3661010957005b600080fd5b34801561011a57600080fd5b50610123610429565b6040516101309190612500565b60405180910390f35b34801561014557600080fd5b50610160600480360381019061015b9190611c8a565b6104bb565b60405161016d91906124e5565b60405180910390f35b34801561018257600080fd5b5061018b6104d9565b6040516101989190612782565b60405180910390f35b3480156101ad57600080fd5b506101c860048036038101906101c39190611c3b565b6104e3565b6040516101d591906124e5565b60405180910390f35b3480156101ea57600080fd5b506101f36105db565b005b34801561020157600080fd5b5061020a6106ca565b005b34801561021857600080fd5b506102216107ae565b60405161022e919061279d565b60405180910390f35b34801561024357600080fd5b5061025e60048036038101906102599190611c8a565b6107b7565b60405161026b91906124e5565b60405180910390f35b34801561028057600080fd5b50610289610863565b005b34801561029757600080fd5b506102b260048036038101906102ad9190611bd6565b610aac565b6040516102bf9190612782565b60405180910390f35b3480156102d457600080fd5b506102dd610af4565b6040516102ea9190612500565b60405180910390f35b3480156102ff57600080fd5b5061031a60048036038101906103159190611c8a565b610b86565b60405161032791906124e5565b60405180910390f35b34801561033c57600080fd5b5061035760048036038101906103529190611c8a565b610c71565b60405161036491906124e5565b60405180910390f35b34801561037957600080fd5b50610394600480360381019061038f9190611bd6565b610c8f565b6040516103a19190612782565b60405180910390f35b3480156103b657600080fd5b506103bf610ca7565b6040516103cc9190612469565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f79190611bff565b610ccd565b6040516104099190612782565b60405180910390f35b34801561041e57600080fd5b50610427610d54565b005b6060600380546104389061298e565b80601f01602080910402602001604051908101604052809291908181526020018280546104649061298e565b80156104b15780601f10610486576101008083540402835291602001916104b1565b820191906000526020600020905b81548152906001019060200180831161049457829003601f168201915b5050505050905090565b60006104cf6104c8610f3f565b8484610f47565b6001905092915050565b6000600254905090565b60006104f0848484611112565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600061053b610f3f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156105bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b290612662565b60405180910390fd5b6105cf856105c7610f3f565b858403610f47565b60019150509392505050565b600060085411610620576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610617906125c2565b60405180910390fd5b600061062b33610aac565b90506000811415610671576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610668906126a2565b60405180910390fd5b600061067b6104d9565b82476106879190612866565b6106919190612835565b905061069d3383611393565b6106c6813373ffffffffffffffffffffffffffffffffffffffff1661156a90919063ffffffff16565b5050565b60006008541161070f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610706906125c2565b60405180910390fd5b626ebe0060085461072091906127df565b4211610761576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075890612702565b60405180910390fd5b6107ac47600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661156a90919063ffffffff16565b565b60006012905090565b60006108596107c4610f3f565b8484600160006107d2610f3f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461085491906127df565b610f47565b6001905092915050565b600060075414156108a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a090612642565b60405180910390fd5b6000600854146108ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e590612582565b60405180910390fd5b620151806007546108ff91906127df565b4211610940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093790612702565b60405180910390fd5b426008819055506000737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff166302751cec30600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109d59190612469565b60206040518083038186803b1580156109ed57600080fd5b505afa158015610a01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a259190611cc6565b60008030426040518763ffffffff1660e01b8152600401610a4b96959493929190612484565b6040805180830381600087803b158015610a6457600080fd5b505af1158015610a78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9c9190611cef565b509050610aa93082611393565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060048054610b039061298e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2f9061298e565b8015610b7c5780601f10610b5157610100808354040283529160200191610b7c565b820191906000526020600020905b815481529060010190602001808311610b5f57829003601f168201915b5050505050905090565b60008060016000610b95610f3f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4990612742565b60405180910390fd5b610c66610c5d610f3f565b85858403610f47565b600191505092915050565b6000610c85610c7e610f3f565b8484611112565b6001905092915050565b60096020528060005260406000206000915090505481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddb90612682565b60405180910390fd5b600060075414610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2090612622565b60405180910390fd5b42600781905550610e5830610e3c6104d9565b6b033b2e3c9fd0803ce8000000610e5391906128c0565b61165e565b610e87600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620186a061165e565b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff1663f305d7194730610ec230610aac565b60008030426040518863ffffffff1660e01b8152600401610ee896959493929190612484565b6060604051808303818588803b158015610f0157600080fd5b505af1158015610f15573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610f3a9190611d2b565b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610fb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fae90612722565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611027576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101e90612562565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516111059190612782565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611182576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611179906126e2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e990612522565b60405180910390fd5b6111fd8383836117be565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127a906125a2565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461131691906127df565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161137a9190612782565b60405180910390a361138d848484611b8d565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611403576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fa906126c2565b60405180910390fd5b61140f826000836117be565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148c90612542565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282546114ec91906128c0565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516115519190612782565b60405180910390a361156583600084611b8d565b505050565b804710156115ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a490612602565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516115d390612454565b60006040518083038185875af1925050503d8060008114611610576040519150601f19603f3d011682016040523d82523d6000602084013e611615565b606091505b5050905080611659576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611650906125e2565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c590612762565b60405180910390fd5b6116da600083836117be565b80600260008282546116ec91906127df565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461174191906127df565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117a69190612782565b60405180910390a36117ba60008383611b8d565b5050565b6117c9838383611b92565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806118305750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b1561183a57611b88565b3073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061189f57503073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b156118a957611b88565b737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806119365750737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b1561194057611b88565b60006007541161194f57600080fd5b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a465742600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106119f057600080fd5b61012c426119fe91906127df565b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611b87565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b865773ab5801a7d398351b8be11c439e05c5b3259aec9b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ae957600080fd5b42600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611b3457600080fd5b61012c42611b4291906127df565b600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b5b505050565b505050565b505050565b600081359050611ba681612a5e565b92915050565b600081359050611bbb81612a75565b92915050565b600081519050611bd081612a75565b92915050565b600060208284031215611be857600080fd5b6000611bf684828501611b97565b91505092915050565b60008060408385031215611c1257600080fd5b6000611c2085828601611b97565b9250506020611c3185828601611b97565b9150509250929050565b600080600060608486031215611c5057600080fd5b6000611c5e86828701611b97565b9350506020611c6f86828701611b97565b9250506040611c8086828701611bac565b9150509250925092565b60008060408385031215611c9d57600080fd5b6000611cab85828601611b97565b9250506020611cbc85828601611bac565b9150509250929050565b600060208284031215611cd857600080fd5b6000611ce684828501611bc1565b91505092915050565b60008060408385031215611d0257600080fd5b6000611d1085828601611bc1565b9250506020611d2185828601611bc1565b9150509250929050565b600080600060608486031215611d4057600080fd5b6000611d4e86828701611bc1565b9350506020611d5f86828701611bc1565b9250506040611d7086828701611bc1565b9150509250925092565b611d83816128f4565b82525050565b611d9281612906565b82525050565b611da181612949565b82525050565b6000611db2826127b8565b611dbc81856127ce565b9350611dcc81856020860161295b565b611dd581612a4d565b840191505092915050565b6000611ded6023836127ce565b91507f45524332303a207472616e7366657220746f20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611e536022836127ce565b91507f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008301527f63650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611eb96022836127ce565b91507f45524332303a20617070726f766520746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611f1f6013836127ce565b91507f4552523a20616c726561647920636c6f736564000000000000000000000000006000830152602082019050919050565b6000611f5f6026836127ce565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206260008301527f616c616e636500000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000611fc56013836127ce565b91507f4552523a206e6f742079657420636c6f736564000000000000000000000000006000830152602082019050919050565b6000612005603a836127ce565b91507f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008301527f6563697069656e74206d617920686176652072657665727465640000000000006020830152604082019050919050565b600061206b601d836127ce565b91507f416464726573733a20696e73756666696369656e742062616c616e63650000006000830152602082019050919050565b60006120ab6013836127ce565b91507f4552523a20616c7265616479206f70656e6564000000000000000000000000006000830152602082019050919050565b60006120eb6013836127ce565b91507f4552523a206e6f7420796574206f70656e6564000000000000000000000000006000830152602082019050919050565b600061212b6028836127ce565b91507f45524332303a207472616e7366657220616d6f756e742065786365656473206160008301527f6c6c6f77616e63650000000000000000000000000000000000000000000000006020830152604082019050919050565b60006121916019836127ce565b91507f4552523a2073656e646572206d757374206265206f776e6572000000000000006000830152602082019050919050565b60006121d16011836127ce565b91507f4552523a207a65726f2062616c616e63650000000000000000000000000000006000830152602082019050919050565b60006122116021836127ce565b91507f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006122776025836127ce565b91507f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006122dd600d836127ce565b91507f4552523a20746f6f20736f6f6e000000000000000000000000000000000000006000830152602082019050919050565b600061231d6000836127c3565b9150600082019050919050565b60006123376024836127ce565b91507f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061239d6025836127ce565b91507f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612403601f836127ce565b91507f45524332303a206d696e7420746f20746865207a65726f2061646472657373006000830152602082019050919050565b61243f81612932565b82525050565b61244e8161293c565b82525050565b600061245f82612310565b9150819050919050565b600060208201905061247e6000830184611d7a565b92915050565b600060c0820190506124996000830189611d7a565b6124a66020830188612436565b6124b36040830187611d98565b6124c06060830186611d98565b6124cd6080830185611d7a565b6124da60a0830184612436565b979650505050505050565b60006020820190506124fa6000830184611d89565b92915050565b6000602082019050818103600083015261251a8184611da7565b905092915050565b6000602082019050818103600083015261253b81611de0565b9050919050565b6000602082019050818103600083015261255b81611e46565b9050919050565b6000602082019050818103600083015261257b81611eac565b9050919050565b6000602082019050818103600083015261259b81611f12565b9050919050565b600060208201905081810360008301526125bb81611f52565b9050919050565b600060208201905081810360008301526125db81611fb8565b9050919050565b600060208201905081810360008301526125fb81611ff8565b9050919050565b6000602082019050818103600083015261261b8161205e565b9050919050565b6000602082019050818103600083015261263b8161209e565b9050919050565b6000602082019050818103600083015261265b816120de565b9050919050565b6000602082019050818103600083015261267b8161211e565b9050919050565b6000602082019050818103600083015261269b81612184565b9050919050565b600060208201905081810360008301526126bb816121c4565b9050919050565b600060208201905081810360008301526126db81612204565b9050919050565b600060208201905081810360008301526126fb8161226a565b9050919050565b6000602082019050818103600083015261271b816122d0565b9050919050565b6000602082019050818103600083015261273b8161232a565b9050919050565b6000602082019050818103600083015261275b81612390565b9050919050565b6000602082019050818103600083015261277b816123f6565b9050919050565b60006020820190506127976000830184612436565b92915050565b60006020820190506127b26000830184612445565b92915050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b60006127ea82612932565b91506127f583612932565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561282a576128296129c0565b5b828201905092915050565b600061284082612932565b915061284b83612932565b92508261285b5761285a6129ef565b5b828204905092915050565b600061287182612932565b915061287c83612932565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156128b5576128b46129c0565b5b828202905092915050565b60006128cb82612932565b91506128d683612932565b9250828210156128e9576128e86129c0565b5b828203905092915050565b60006128ff82612912565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061295482612932565b9050919050565b60005b8381101561297957808201518184015260208101905061295e565b83811115612988576000848401525b50505050565b600060028204905060018216806129a657607f821691505b602082108114156129ba576129b9612a1e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b612a67816128f4565b8114612a7257600080fd5b50565b612a7e81612932565b8114612a8957600080fd5b5056fea26469706673582212204d89025913a966afc104af33b36a7ba92d7634aecc28b5d663c32cf5e457ed5d64736f6c63430008000033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.