ETH Price: $3,163.57 (+3.00%)
Gas: 1 Gwei

Contract

0x7910773350b1ec310bEB638Cc104C09d8b25f8a5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Swap Exact Token...155934052022-09-23 3:37:47659 days ago1663904267IN
0x79107733...d8b25f8a5
0 ETH0.001663938.18332017
Swap Exact Token...155929292022-09-23 2:01:35659 days ago1663898495IN
0x79107733...d8b25f8a5
0 ETH0.001397546.86982659
Swap Exact Token...155928602022-09-23 1:47:47659 days ago1663897667IN
0x79107733...d8b25f8a5
0 ETH0.001372466.15465249
Swap Exact Token...155928492022-09-23 1:45:35659 days ago1663897535IN
0x79107733...d8b25f8a5
0 ETH0.001203995.91842472
Swap Exact Token...155928472022-09-23 1:45:11659 days ago1663897511IN
0x79107733...d8b25f8a5
0 ETH0.001332025.60738136
Swap Exact Token...155928452022-09-23 1:44:47659 days ago1663897487IN
0x79107733...d8b25f8a5
0 ETH0.001386115.83508773
Swap Exact Token...155928332022-09-23 1:42:23659 days ago1663897343IN
0x79107733...d8b25f8a5
0 ETH0.00129826.38094209
Swap Exact Token...155928312022-09-23 1:41:59659 days ago1663897319IN
0x79107733...d8b25f8a5
0 ETH0.00137786.17857682
Swap Exact Token...155928282022-09-23 1:41:23659 days ago1663897283IN
0x79107733...d8b25f8a5
0 ETH0.001594146.7107992
Swap Exact Token...155927362022-09-23 1:22:59659 days ago1663896179IN
0x79107733...d8b25f8a5
0 ETH0.001139065.59871117
Swap Exact Token...155318832022-09-14 8:17:41668 days ago1663143461IN
0x79107733...d8b25f8a5
0 ETH0.002029379.97960673
Swap Exact Token...155254222022-09-13 6:25:36669 days ago1663050336IN
0x79107733...d8b25f8a5
0 ETH0.001456037.16053478
Swap Exact Token...153831422022-08-21 9:21:50692 days ago1661073710IN
0x79107733...d8b25f8a5
0 ETH0.001414066.95448322
Swap Exact Token...152828282022-08-05 14:17:59707 days ago1659709079IN
0x79107733...d8b25f8a5
0 ETH0.0058536528.78721576
Swap Exact Token...152804872022-08-05 5:42:09708 days ago1659678129IN
0x79107733...d8b25f8a5
0 ETH0.0043587721.43461713
Swap Exact Token...152787622022-08-04 23:22:52708 days ago1659655372IN
0x79107733...d8b25f8a5
0 ETH0.001659218.15972155
Swap Exact Token...152425422022-07-30 7:49:25714 days ago1659167365IN
0x79107733...d8b25f8a5
0 ETH0.001006693.88373989
Swap Exact Token...152402462022-07-29 23:11:44714 days ago1659136304IN
0x79107733...d8b25f8a5
0 ETH0.001847719.08672062
Swap Exact Token...152400822022-07-29 22:32:57714 days ago1659133977IN
0x79107733...d8b25f8a5
0 ETH0.002024069.95398208
Swap Exact Token...152293802022-07-28 6:28:55716 days ago1658989735IN
0x79107733...d8b25f8a5
0 ETH0.001557987.65819046
Swap Exact Token...152293632022-07-28 6:24:45716 days ago1658989485IN
0x79107733...d8b25f8a5
0 ETH0.001600887.17856428
Swap Exact Token...152293632022-07-28 6:24:45716 days ago1658989485IN
0x79107733...d8b25f8a5
0 ETH0.001459777.17856428
Swap Exact Token...152280782022-07-28 1:43:19716 days ago1658972599IN
0x79107733...d8b25f8a5
0 ETH0.0065387132.1562383
Swap Exact Token...152250792022-07-27 14:28:14716 days ago1658932094IN
0x79107733...d8b25f8a5
0 ETH0.0032793216.12795368
Swap Exact Token...152225362022-07-27 5:11:22717 days ago1658898682IN
0x79107733...d8b25f8a5
0 ETH0.0023082411.35207769
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SakeWear

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-11-19
*/

// File: contracts\sakeswap\interfaces\ISakeSwapRouter.sol

// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.6.2;

interface ISakeSwapRouter {
    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,
        bool ifmint
    ) external returns (uint256[] memory amounts);

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

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

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

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

    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline,
        bool ifmint
    ) 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);

    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,
        bool ifmint
    ) external;

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

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

// File: @openzeppelin\contracts\token\ERC20\IERC20.sol

pragma solidity ^0.6.0;

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

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

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

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: node_modules\@openzeppelin\contracts\math\SafeMath.sol

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @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) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @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 sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: node_modules\@openzeppelin\contracts\utils\Address.sol

pragma solidity ^0.6.2;

/**
 * @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 in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin\contracts\token\ERC20\SafeERC20.sol

pragma solidity ^0.6.0;




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

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

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

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

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

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

// File: contracts\sakewear\SakeWear.sol

pragma solidity 0.6.12;





contract SakeWear {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    ISakeSwapRouter public router;
    uint256 public wearRate = 50;
    uint256 public burnRate = 800;
    address public sake;
    address public owner;
    address public airDrop;

    constructor(ISakeSwapRouter _router, address _sake, address _airDrop) public {
        require(address(_router) != address(0), "Invalid Router Address");
        require(_sake != address(0), "Invalid Sake Address");
        require(_airDrop != address(0), "Invalid AirDrop Address");

        owner = msg.sender;
        router = _router;
        sake = _sake;
        airDrop = _airDrop;
    }

    modifier onlyOwner() {
        require(msg.sender == owner, "Not Owner");
        _;
    }

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline,
        bool ifmint
    ) external {
        require(path[0] == sake, "Only Sell Sake");
        uint256 _wearAmount = amountIn.mul(wearRate).div(1000);
        uint256 _amountIn = amountIn.sub(_wearAmount);
        uint256 _burnAmount = _wearAmount.mul(burnRate).div(1000);
        uint256 _airDropAmount = _wearAmount.sub(_burnAmount);
        IERC20(sake).safeTransferFrom(msg.sender, address(this), amountIn);
        IERC20(sake).safeTransfer(address(1), _burnAmount);
        IERC20(sake).safeTransfer(airDrop, _airDropAmount);
        IERC20(sake).safeApprove(address(router), _amountIn);
        router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            _amountIn,
            amountOutMin,
            path,
            to,
            deadline,
            ifmint
        );
    }

    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline,
        bool ifmint
    ) external {
        require(path[0] == sake, "Only Sell Sake");
        uint256 _wearAmount = amountIn.mul(wearRate).div(1000);
        uint256 _amountIn = amountIn.sub(_wearAmount);
        uint256 _burnAmount = _wearAmount.mul(burnRate).div(1000);
        uint256 _airDropAmount = _wearAmount.sub(_burnAmount);
        IERC20(sake).safeTransferFrom(msg.sender, address(this), amountIn);
        IERC20(sake).safeTransfer(address(1), _burnAmount);
        IERC20(sake).safeTransfer(airDrop, _airDropAmount);
        IERC20(sake).safeApprove(address(router), _amountIn);
        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            _amountIn,
            amountOutMin,
            path,
            to,
            deadline,
            ifmint
        );
    }

    function getAmountsOut(uint256 amountIn, address[] memory path) public view returns (uint256[] memory amounts) {
        require(path[0] == sake, "Only Sell Sake");
        uint256 _amountIn = amountIn.mul(1000 - wearRate).div(1000);
        return router.getAmountsOut(_amountIn, path);
    }

    function getAmountsIn(uint256 amountOut, address[] memory path) public view returns (uint256[] memory amounts) {
        require(path[0] == sake, "Only Sell Sake");
        uint256[] memory _amounts = router.getAmountsIn(amountOut, path);
        _amounts[0] = _amounts[0].mul(1000).div(1000 - wearRate);
        return _amounts;
    }

    function setWearRate(uint256 _wearRate) external onlyOwner {
        require(_wearRate < 1000, "Too Big Wear Rate");
        wearRate = _wearRate;
    }

    function setBurnRate(uint256 _burnRate) external onlyOwner {
        require(_burnRate <= 1000, "Too Big burn Rate");
        burnRate = _burnRate;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract ISakeSwapRouter","name":"_router","type":"address"},{"internalType":"address","name":"_sake","type":"address"},{"internalType":"address","name":"_airDrop","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"airDrop","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsIn","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"getAmountsOut","outputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract ISakeSwapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sake","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_burnRate","type":"uint256"}],"name":"setBurnRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wearRate","type":"uint256"}],"name":"setWearRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bool","name":"ifmint","type":"bool"}],"name":"swapExactTokensForETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bool","name":"ifmint","type":"bool"}],"name":"swapExactTokensForTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wearRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052603260015561032060025534801561001b57600080fd5b506040516116083803806116088339818101604052606081101561003e57600080fd5b50805160208201516040909201519091906001600160a01b0383166100aa576040805162461bcd60e51b815260206004820152601660248201527f496e76616c696420526f75746572204164647265737300000000000000000000604482015290519081900360640190fd5b6001600160a01b038216610105576040805162461bcd60e51b815260206004820152601460248201527f496e76616c69642053616b652041646472657373000000000000000000000000604482015290519081900360640190fd5b6001600160a01b038116610160576040805162461bcd60e51b815260206004820152601760248201527f496e76616c69642041697244726f702041646472657373000000000000000000604482015290519081900360640190fd5b600480546001600160a01b03199081163317909155600080546001600160a01b03958616908316179055600380549385169382169390931790925560058054919093169116179055611451806101b76000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c8063bed9985011610071578063bed99850146102a7578063c3e439b3146102af578063ca5d0880146102cc578063d06ca61f146102d4578063f887ea401461037c578063fa775c0f14610384576100b4565b8063189d165e146100b95780631f00ca74146100d857806364dd552e146101d05780638da5cb5b146101ea5780639be677c11461020e578063a10959d21461029f575b600080fd5b6100d6600480360360208110156100cf57600080fd5b5035610415565b005b610180600480360360408110156100ee57600080fd5b81359190810190604081016020820135600160201b81111561010f57600080fd5b82018360208201111561012157600080fd5b803590602001918460208302840111600160201b8311171561014257600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506104b0945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101bc5781810151838201526020016101a4565b505050509050019250505060405180910390f35b6101d86106e3565b60408051918252519081900360200190f35b6101f26106e9565b604080516001600160a01b039092168252519081900360200190f35b6100d6600480360360c081101561022457600080fd5b813591602081013591810190606081016040820135600160201b81111561024a57600080fd5b82018360208201111561025c57600080fd5b803590602001918460208302840111600160201b8311171561027d57600080fd5b91935091506001600160a01b03813516906020810135906040013515156106f8565b6101f2610902565b6101d8610911565b6100d6600480360360208110156102c557600080fd5b5035610917565b6101f26109b1565b610180600480360360408110156102ea57600080fd5b81359190810190604081016020820135600160201b81111561030b57600080fd5b82018360208201111561031d57600080fd5b803590602001918460208302840111600160201b8311171561033e57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506109c0945050505050565b6101f2610bc1565b6100d6600480360360c081101561039a57600080fd5b813591602081013591810190606081016040820135600160201b8111156103c057600080fd5b8201836020820111156103d257600080fd5b803590602001918460208302840111600160201b831117156103f357600080fd5b91935091506001600160a01b0381351690602081013590604001351515610bd0565b6004546001600160a01b03163314610460576040805162461bcd60e51b81526020600482015260096024820152682737ba1027bbb732b960b91b604482015290519081900360640190fd5b6103e88111156104ab576040805162461bcd60e51b8152602060048201526011602482015270546f6f20426967206275726e205261746560781b604482015290519081900360640190fd5b600255565b60035481516060916001600160a01b03169083906000906104cd57fe5b60200260200101516001600160a01b031614610521576040805162461bcd60e51b815260206004820152600e60248201526d4f6e6c792053656c6c2053616b6560901b604482015290519081900360640190fd5b606060008054906101000a90046001600160a01b03166001600160a01b0316631f00ca7485856040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b8381101561059c578181015183820152602001610584565b50505050905001935050505060006040518083038186803b1580156105c057600080fd5b505afa1580156105d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156105fd57600080fd5b8101908080516040519392919084600160201b82111561061c57600080fd5b90830190602082018581111561063157600080fd5b82518660208202830111600160201b8211171561064d57600080fd5b82525081516020918201928201910280838360005b8381101561067a578181015183820152602001610662565b5050505090500160405250505090506106c26001546103e8036106bc6103e8846000815181106106a657fe5b6020026020010151610db590919063ffffffff16565b90610e15565b816000815181106106cf57fe5b602090810291909101015290505b92915050565b60015481565b6004546001600160a01b031681565b6003546001600160a01b0316858560008161070f57fe5b905060200201356001600160a01b03166001600160a01b03161461076b576040805162461bcd60e51b815260206004820152600e60248201526d4f6e6c792053656c6c2053616b6560901b604482015290519081900360640190fd5b60006107886103e86106bc6001548b610db590919063ffffffff16565b905060006107968983610e57565b905060006107b56103e86106bc60025486610db590919063ffffffff16565b905060006107c38483610e57565b6003549091506107de906001600160a01b031633308e610e99565b6003546107f6906001600160a01b0316600184610ef9565b600554600354610813916001600160a01b03918216911683610ef9565b600054600354610830916001600160a01b03918216911685610f50565b6000546040516330df38d960e11b815260048101858152602482018d90526001600160a01b038a81166064840152608483018a905288151560a484015260c06044840190815260c484018d90529316926361be71b29287928f928f928f928f928f928f92919060e401876020880280828437600081840152601f19601f82011690508083019250505098505050505050505050600060405180830381600087803b1580156108dd57600080fd5b505af11580156108f1573d6000803e3d6000fd5b505050505050505050505050505050565b6003546001600160a01b031681565b60025481565b6004546001600160a01b03163314610962576040805162461bcd60e51b81526020600482015260096024820152682737ba1027bbb732b960b91b604482015290519081900360640190fd5b6103e881106109ac576040805162461bcd60e51b8152602060048201526011602482015270546f6f204269672057656172205261746560781b604482015290519081900360640190fd5b600155565b6005546001600160a01b031681565b60035481516060916001600160a01b03169083906000906109dd57fe5b60200260200101516001600160a01b031614610a31576040805162461bcd60e51b815260206004820152600e60248201526d4f6e6c792053656c6c2053616b6560901b604482015290519081900360640190fd5b6000610a526103e86106bc6001546103e80387610db590919063ffffffff16565b905060008054906101000a90046001600160a01b03166001600160a01b031663d06ca61f82856040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015610acd578181015183820152602001610ab5565b50505050905001935050505060006040518083038186803b158015610af157600080fd5b505afa158015610b05573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610b2e57600080fd5b8101908080516040519392919084600160201b821115610b4d57600080fd5b908301906020820185811115610b6257600080fd5b82518660208202830111600160201b82111715610b7e57600080fd5b82525081516020918201928201910280838360005b83811015610bab578181015183820152602001610b93565b5050505090500160405250505091505092915050565b6000546001600160a01b031681565b6003546001600160a01b03168585600081610be757fe5b905060200201356001600160a01b03166001600160a01b031614610c43576040805162461bcd60e51b815260206004820152600e60248201526d4f6e6c792053656c6c2053616b6560901b604482015290519081900360640190fd5b6000610c606103e86106bc6001548b610db590919063ffffffff16565b90506000610c6e8983610e57565b90506000610c8d6103e86106bc60025486610db590919063ffffffff16565b90506000610c9b8483610e57565b600354909150610cb6906001600160a01b031633308e610e99565b600354610cce906001600160a01b0316600184610ef9565b600554600354610ceb916001600160a01b03918216911683610ef9565b600054600354610d08916001600160a01b03918216911685610f50565b60005460405163026658fd60e21b815260048101858152602482018d90526001600160a01b038a81166064840152608483018a905288151560a484015260c06044840190815260c484018d905293169263099963f49287928f928f928f928f928f928f92919060e401876020880280828437600081840152601f19601f82011690508083019250505098505050505050505050600060405180830381600087803b1580156108dd57600080fd5b600082610dc4575060006106dd565b82820282848281610dd157fe5b0414610e0e5760405162461bcd60e51b815260040180806020018281038252602181526020018061139b6021913960400191505060405180910390fd5b9392505050565b6000610e0e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611063565b6000610e0e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611105565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610ef390859061115f565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f4b90849061115f565b505050565b801580610fd6575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015610fa857600080fd5b505afa158015610fbc573d6000803e3d6000fd5b505050506040513d6020811015610fd257600080fd5b5051155b6110115760405162461bcd60e51b81526004018080602001828103825260368152602001806113e66036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610f4b90849061115f565b600081836110ef5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110b457818101518382015260200161109c565b50505050905090810190601f1680156110e15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816110fb57fe5b0495945050505050565b600081848411156111575760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156110b457818101518382015260200161109c565b505050900390565b60606111b4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112109092919063ffffffff16565b805190915015610f4b578080602001905160208110156111d357600080fd5b5051610f4b5760405162461bcd60e51b815260040180806020018281038252602a8152602001806113bc602a913960400191505060405180910390fd5b606061121f8484600085611227565b949350505050565b606061123285611394565b611283576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106112c25780518252601f1990920191602091820191016112a3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611324576040519150601f19603f3d011682016040523d82523d6000602084013e611329565b606091505b5091509150811561133d57915061121f9050565b80511561134d5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156110b457818101518382015260200161109c565b3b15159056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212200f90657d3e75ad0ec0513c6b581edb5c8c8f79055bf1e80fdee7796ea9bc15df64736f6c634300060c00330000000000000000000000009c578b573ede001b95d51a55a3fafb45f5608b1f000000000000000000000000066798d9ef0833ccc719076dab77199ecbd178b000000000000000000000000092be21217d76bd3735a5ba0612d026ff6e714f78

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c8063bed9985011610071578063bed99850146102a7578063c3e439b3146102af578063ca5d0880146102cc578063d06ca61f146102d4578063f887ea401461037c578063fa775c0f14610384576100b4565b8063189d165e146100b95780631f00ca74146100d857806364dd552e146101d05780638da5cb5b146101ea5780639be677c11461020e578063a10959d21461029f575b600080fd5b6100d6600480360360208110156100cf57600080fd5b5035610415565b005b610180600480360360408110156100ee57600080fd5b81359190810190604081016020820135600160201b81111561010f57600080fd5b82018360208201111561012157600080fd5b803590602001918460208302840111600160201b8311171561014257600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506104b0945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101bc5781810151838201526020016101a4565b505050509050019250505060405180910390f35b6101d86106e3565b60408051918252519081900360200190f35b6101f26106e9565b604080516001600160a01b039092168252519081900360200190f35b6100d6600480360360c081101561022457600080fd5b813591602081013591810190606081016040820135600160201b81111561024a57600080fd5b82018360208201111561025c57600080fd5b803590602001918460208302840111600160201b8311171561027d57600080fd5b91935091506001600160a01b03813516906020810135906040013515156106f8565b6101f2610902565b6101d8610911565b6100d6600480360360208110156102c557600080fd5b5035610917565b6101f26109b1565b610180600480360360408110156102ea57600080fd5b81359190810190604081016020820135600160201b81111561030b57600080fd5b82018360208201111561031d57600080fd5b803590602001918460208302840111600160201b8311171561033e57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506109c0945050505050565b6101f2610bc1565b6100d6600480360360c081101561039a57600080fd5b813591602081013591810190606081016040820135600160201b8111156103c057600080fd5b8201836020820111156103d257600080fd5b803590602001918460208302840111600160201b831117156103f357600080fd5b91935091506001600160a01b0381351690602081013590604001351515610bd0565b6004546001600160a01b03163314610460576040805162461bcd60e51b81526020600482015260096024820152682737ba1027bbb732b960b91b604482015290519081900360640190fd5b6103e88111156104ab576040805162461bcd60e51b8152602060048201526011602482015270546f6f20426967206275726e205261746560781b604482015290519081900360640190fd5b600255565b60035481516060916001600160a01b03169083906000906104cd57fe5b60200260200101516001600160a01b031614610521576040805162461bcd60e51b815260206004820152600e60248201526d4f6e6c792053656c6c2053616b6560901b604482015290519081900360640190fd5b606060008054906101000a90046001600160a01b03166001600160a01b0316631f00ca7485856040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b8381101561059c578181015183820152602001610584565b50505050905001935050505060006040518083038186803b1580156105c057600080fd5b505afa1580156105d4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156105fd57600080fd5b8101908080516040519392919084600160201b82111561061c57600080fd5b90830190602082018581111561063157600080fd5b82518660208202830111600160201b8211171561064d57600080fd5b82525081516020918201928201910280838360005b8381101561067a578181015183820152602001610662565b5050505090500160405250505090506106c26001546103e8036106bc6103e8846000815181106106a657fe5b6020026020010151610db590919063ffffffff16565b90610e15565b816000815181106106cf57fe5b602090810291909101015290505b92915050565b60015481565b6004546001600160a01b031681565b6003546001600160a01b0316858560008161070f57fe5b905060200201356001600160a01b03166001600160a01b03161461076b576040805162461bcd60e51b815260206004820152600e60248201526d4f6e6c792053656c6c2053616b6560901b604482015290519081900360640190fd5b60006107886103e86106bc6001548b610db590919063ffffffff16565b905060006107968983610e57565b905060006107b56103e86106bc60025486610db590919063ffffffff16565b905060006107c38483610e57565b6003549091506107de906001600160a01b031633308e610e99565b6003546107f6906001600160a01b0316600184610ef9565b600554600354610813916001600160a01b03918216911683610ef9565b600054600354610830916001600160a01b03918216911685610f50565b6000546040516330df38d960e11b815260048101858152602482018d90526001600160a01b038a81166064840152608483018a905288151560a484015260c06044840190815260c484018d90529316926361be71b29287928f928f928f928f928f928f92919060e401876020880280828437600081840152601f19601f82011690508083019250505098505050505050505050600060405180830381600087803b1580156108dd57600080fd5b505af11580156108f1573d6000803e3d6000fd5b505050505050505050505050505050565b6003546001600160a01b031681565b60025481565b6004546001600160a01b03163314610962576040805162461bcd60e51b81526020600482015260096024820152682737ba1027bbb732b960b91b604482015290519081900360640190fd5b6103e881106109ac576040805162461bcd60e51b8152602060048201526011602482015270546f6f204269672057656172205261746560781b604482015290519081900360640190fd5b600155565b6005546001600160a01b031681565b60035481516060916001600160a01b03169083906000906109dd57fe5b60200260200101516001600160a01b031614610a31576040805162461bcd60e51b815260206004820152600e60248201526d4f6e6c792053656c6c2053616b6560901b604482015290519081900360640190fd5b6000610a526103e86106bc6001546103e80387610db590919063ffffffff16565b905060008054906101000a90046001600160a01b03166001600160a01b031663d06ca61f82856040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b83811015610acd578181015183820152602001610ab5565b50505050905001935050505060006040518083038186803b158015610af157600080fd5b505afa158015610b05573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610b2e57600080fd5b8101908080516040519392919084600160201b821115610b4d57600080fd5b908301906020820185811115610b6257600080fd5b82518660208202830111600160201b82111715610b7e57600080fd5b82525081516020918201928201910280838360005b83811015610bab578181015183820152602001610b93565b5050505090500160405250505091505092915050565b6000546001600160a01b031681565b6003546001600160a01b03168585600081610be757fe5b905060200201356001600160a01b03166001600160a01b031614610c43576040805162461bcd60e51b815260206004820152600e60248201526d4f6e6c792053656c6c2053616b6560901b604482015290519081900360640190fd5b6000610c606103e86106bc6001548b610db590919063ffffffff16565b90506000610c6e8983610e57565b90506000610c8d6103e86106bc60025486610db590919063ffffffff16565b90506000610c9b8483610e57565b600354909150610cb6906001600160a01b031633308e610e99565b600354610cce906001600160a01b0316600184610ef9565b600554600354610ceb916001600160a01b03918216911683610ef9565b600054600354610d08916001600160a01b03918216911685610f50565b60005460405163026658fd60e21b815260048101858152602482018d90526001600160a01b038a81166064840152608483018a905288151560a484015260c06044840190815260c484018d905293169263099963f49287928f928f928f928f928f928f92919060e401876020880280828437600081840152601f19601f82011690508083019250505098505050505050505050600060405180830381600087803b1580156108dd57600080fd5b600082610dc4575060006106dd565b82820282848281610dd157fe5b0414610e0e5760405162461bcd60e51b815260040180806020018281038252602181526020018061139b6021913960400191505060405180910390fd5b9392505050565b6000610e0e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611063565b6000610e0e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611105565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610ef390859061115f565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f4b90849061115f565b505050565b801580610fd6575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015610fa857600080fd5b505afa158015610fbc573d6000803e3d6000fd5b505050506040513d6020811015610fd257600080fd5b5051155b6110115760405162461bcd60e51b81526004018080602001828103825260368152602001806113e66036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610f4b90849061115f565b600081836110ef5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110b457818101518382015260200161109c565b50505050905090810190601f1680156110e15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816110fb57fe5b0495945050505050565b600081848411156111575760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156110b457818101518382015260200161109c565b505050900390565b60606111b4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112109092919063ffffffff16565b805190915015610f4b578080602001905160208110156111d357600080fd5b5051610f4b5760405162461bcd60e51b815260040180806020018281038252602a8152602001806113bc602a913960400191505060405180910390fd5b606061121f8484600085611227565b949350505050565b606061123285611394565b611283576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106112c25780518252601f1990920191602091820191016112a3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611324576040519150601f19603f3d011682016040523d82523d6000602084013e611329565b606091505b5091509150811561133d57915061121f9050565b80511561134d5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156110b457818101518382015260200161109c565b3b15159056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212200f90657d3e75ad0ec0513c6b581edb5c8c8f79055bf1e80fdee7796ea9bc15df64736f6c634300060c0033

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

0000000000000000000000009c578b573ede001b95d51a55a3fafb45f5608b1f000000000000000000000000066798d9ef0833ccc719076dab77199ecbd178b000000000000000000000000092be21217d76bd3735a5ba0612d026ff6e714f78

-----Decoded View---------------
Arg [0] : _router (address): 0x9C578b573EdE001b95d51a55A3FAfb45f5608b1f
Arg [1] : _sake (address): 0x066798d9ef0833ccc719076Dab77199eCbd178b0
Arg [2] : _airDrop (address): 0x92BE21217d76bd3735A5Ba0612d026ff6E714F78

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000009c578b573ede001b95d51a55a3fafb45f5608b1f
Arg [1] : 000000000000000000000000066798d9ef0833ccc719076dab77199ecbd178b0
Arg [2] : 00000000000000000000000092be21217d76bd3735a5ba0612d026ff6e714f78


Deployed Bytecode Sourcemap

24152:3783:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27776:156;;;;;;;;;;;;;;;;-1:-1:-1;27776:156:0;;:::i;:::-;;27265:340;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;27265:340:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;27265:340:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27265:340:0;;-1:-1:-1;27265:340:0;;-1:-1:-1;;;;;27265:340:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24281:28;;;:::i;:::-;;;;;;;;;;;;;;;;24378:20;;;:::i;:::-;;;;-1:-1:-1;;;;;24378:20:0;;;;;;;;;;;;;;25957:995;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;25957:995:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;25957:995:0;;;;;;;;;;;;-1:-1:-1;25957:995:0;-1:-1:-1;;;;;;25957:995:0;;;;;;;;;;;;;;;:::i;24352:19::-;;;:::i;24316:29::-;;;:::i;27613:155::-;;;;;;;;;;;;;;;;-1:-1:-1;27613:155:0;;:::i;24405:22::-;;;:::i;26960:297::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;26960:297:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;26960:297:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26960:297:0;;-1:-1:-1;26960:297:0;;-1:-1:-1;;;;;26960:297:0:i;24245:29::-;;;:::i;24948:1001::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;24948:1001:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;24948:1001:0;;;;;;;;;;;;-1:-1:-1;24948:1001:0;-1:-1:-1;;;;;;24948:1001:0;;;;;;;;;;;;;;;:::i;27776:156::-;24901:5;;-1:-1:-1;;;;;24901:5:0;24887:10;:19;24879:41;;;;;-1:-1:-1;;;24879:41:0;;;;;;;;;;;;-1:-1:-1;;;24879:41:0;;;;;;;;;;;;;;;27867:4:::1;27854:9;:17;;27846:47;;;::::0;;-1:-1:-1;;;27846:47:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27846:47:0;;;;;;;;;;;;;::::1;;27904:8;:20:::0;27776:156::o;27265:340::-;27406:4;;27395:7;;27350:24;;-1:-1:-1;;;;;27406:4:0;;27395;;27406;;27395:7;;;;;;;;;;-1:-1:-1;;;;;27395:15:0;;27387:42;;;;;-1:-1:-1;;;27387:42:0;;;;;;;;;;;;-1:-1:-1;;;27387:42:0;;;;;;;;;;;;;;;27440:25;27468:6;;;;;;;;-1:-1:-1;;;;;27468:6:0;-1:-1:-1;;;;;27468:19:0;;27488:9;27499:4;27468:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27468:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;27468:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;27468:36:0;;;;;;;;;;;;-1:-1:-1;27468:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27440:64;;27529:42;27562:8;;27555:4;:15;27529:21;27545:4;27529:8;27538:1;27529:11;;;;;;;;;;;;;;:15;;:21;;;;:::i;:::-;:25;;:42::i;:::-;27515:8;27524:1;27515:11;;;;;;;;;;;;;;;;;:56;27589:8;-1:-1:-1;27265:340:0;;;;;:::o;24281:28::-;;;;:::o;24378:20::-;;;-1:-1:-1;;;;;24378:20:0;;:::o;25957:995::-;26196:4;;-1:-1:-1;;;;;26196:4:0;26185;;26196;26185:7;;;;;;;;;;;-1:-1:-1;;;;;26185:7:0;-1:-1:-1;;;;;26185:15:0;;26177:42;;;;;-1:-1:-1;;;26177:42:0;;;;;;;;;;;;-1:-1:-1;;;26177:42:0;;;;;;;;;;;;;;;26230:19;26252:32;26279:4;26252:22;26265:8;;26252;:12;;:22;;;;:::i;:32::-;26230:54;-1:-1:-1;26295:17:0;26315:25;:8;26230:54;26315:12;:25::i;:::-;26295:45;;26351:19;26373:35;26403:4;26373:25;26389:8;;26373:11;:15;;:25;;;;:::i;:35::-;26351:57;-1:-1:-1;26419:22:0;26444:28;:11;26351:57;26444:15;:28::i;:::-;26490:4;;26419:53;;-1:-1:-1;26483:66:0;;-1:-1:-1;;;;;26490:4:0;26513:10;26533:4;26540:8;26483:29;:66::i;:::-;26567:4;;26560:50;;-1:-1:-1;;;;;26567:4:0;26594:1;26598:11;26560:25;:50::i;:::-;26647:7;;26628:4;;26621:50;;-1:-1:-1;;;;;26628:4:0;;;;26647:7;26656:14;26621:25;:50::i;:::-;26715:6;;26689:4;;26682:52;;-1:-1:-1;;;;;26689:4:0;;;;26715:6;26724:9;26682:24;:52::i;:::-;26745:6;;:199;;-1:-1:-1;;;26745:199:0;;;;;;;;;;;;;;-1:-1:-1;;;;;26745:199:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:6;;;:57;;26817:9;;26841:12;;26868:4;;;;26887:2;;26904:8;;26927:6;;26745:199;;;;26868:4;26745:199;;;;26868:4;26745:199;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25957:995;;;;;;;;;;;:::o;24352:19::-;;;-1:-1:-1;;;;;24352:19:0;;:::o;24316:29::-;;;;:::o;27613:155::-;24901:5;;-1:-1:-1;;;;;24901:5:0;24887:10;:19;24879:41;;;;;-1:-1:-1;;;24879:41:0;;;;;;;;;;;;-1:-1:-1;;;24879:41:0;;;;;;;;;;;;;;;27703:4:::1;27691:9;:16;27683:46;;;::::0;;-1:-1:-1;;;27683:46:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;27683:46:0;;;;;;;;;;;;;::::1;;27740:8;:20:::0;27613:155::o;24405:22::-;;;-1:-1:-1;;;;;24405:22:0;;:::o;26960:297::-;27101:4;;27090:7;;27045:24;;-1:-1:-1;;;;;27101:4:0;;27090;;27101;;27090:7;;;;;;;;;;-1:-1:-1;;;;;27090:15:0;;27082:42;;;;;-1:-1:-1;;;27082:42:0;;;;;;;;;;;;-1:-1:-1;;;27082:42:0;;;;;;;;;;;;;;;27135:17;27155:39;27189:4;27155:29;27175:8;;27168:4;:15;27155:8;:12;;:29;;;;:::i;:39::-;27135:59;;27212:6;;;;;;;;-1:-1:-1;;;;;27212:6:0;-1:-1:-1;;;;;27212:20:0;;27233:9;27244:4;27212:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;27212:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;27212:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;27212:37:0;;;;;;;;;;;;-1:-1:-1;27212:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27205:44;;;26960:297;;;;:::o;24245:29::-;;;-1:-1:-1;;;;;24245:29:0;;:::o;24948:1001::-;25190:4;;-1:-1:-1;;;;;25190:4:0;25179;;25190;25179:7;;;;;;;;;;;-1:-1:-1;;;;;25179:7:0;-1:-1:-1;;;;;25179:15:0;;25171:42;;;;;-1:-1:-1;;;25171:42:0;;;;;;;;;;;;-1:-1:-1;;;25171:42:0;;;;;;;;;;;;;;;25224:19;25246:32;25273:4;25246:22;25259:8;;25246;:12;;:22;;;;:::i;:32::-;25224:54;-1:-1:-1;25289:17:0;25309:25;:8;25224:54;25309:12;:25::i;:::-;25289:45;;25345:19;25367:35;25397:4;25367:25;25383:8;;25367:11;:15;;:25;;;;:::i;:35::-;25345:57;-1:-1:-1;25413:22:0;25438:28;:11;25345:57;25438:15;:28::i;:::-;25484:4;;25413:53;;-1:-1:-1;25477:66:0;;-1:-1:-1;;;;;25484:4:0;25507:10;25527:4;25534:8;25477:29;:66::i;:::-;25561:4;;25554:50;;-1:-1:-1;;;;;25561:4:0;25588:1;25592:11;25554:25;:50::i;:::-;25641:7;;25622:4;;25615:50;;-1:-1:-1;;;;;25622:4:0;;;;25641:7;25650:14;25615:25;:50::i;:::-;25709:6;;25683:4;;25676:52;;-1:-1:-1;;;;;25683:4:0;;;;25709:6;25718:9;25676:24;:52::i;:::-;25739:6;;:202;;-1:-1:-1;;;25739:202:0;;;;;;;;;;;;;;-1:-1:-1;;;;;25739:202:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:6;;;:60;;25814:9;;25838:12;;25865:4;;;;25884:2;;25901:8;;25924:6;;25739:202;;;;25865:4;25739:202;;;;25865:4;25739:202;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11184:471;11242:7;11487:6;11483:47;;-1:-1:-1;11517:1:0;11510:8;;11483:47;11554:5;;;11558:1;11554;:5;:1;11578:5;;;;;:10;11570:56;;;;-1:-1:-1;;;11570:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11646:1;11184:471;-1:-1:-1;;;11184:471:0:o;12131:132::-;12189:7;12216:39;12220:1;12223;12216:39;;;;;;;;;;;;;;;;;:3;:39::i;10294:136::-;10352:7;10379:43;10383:1;10386;10379:43;;;;;;;;;;;;;;;;;:3;:43::i;21185:205::-;21313:68;;;-1:-1:-1;;;;;21313:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21313:68:0;-1:-1:-1;;;21313:68:0;;;21286:96;;21306:5;;21286:19;:96::i;:::-;21185:205;;;;:::o;21000:177::-;21110:58;;;-1:-1:-1;;;;;21110:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21110:58:0;-1:-1:-1;;;21110:58:0;;;21083:86;;21103:5;;21083:19;:86::i;:::-;21000:177;;;:::o;21659:622::-;22029:10;;;22028:62;;-1:-1:-1;22045:39:0;;;-1:-1:-1;;;22045:39:0;;22069:4;22045:39;;;;-1:-1:-1;;;;;22045:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22045:39:0;:44;22028:62;22020:152;;;;-1:-1:-1;;;22020:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22210:62;;;-1:-1:-1;;;;;22210:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22210:62:0;-1:-1:-1;;;22210:62:0;;;22183:90;;22203:5;;22183:19;:90::i;12759:278::-;12845:7;12880:12;12873:5;12865:28;;;;-1:-1:-1;;;12865:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12904:9;12920:1;12916;:5;;;;;;;12759:278;-1:-1:-1;;;;;12759:278:0:o;10733:192::-;10819:7;10855:12;10847:6;;;;10839:29;;;;-1:-1:-1;;;10839:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;10891:5:0;;;10733:192::o;23305:761::-;23729:23;23755:69;23783:4;23755:69;;;;;;;;;;;;;;;;;23763:5;-1:-1:-1;;;;;23755:27:0;;;:69;;;;;:::i;:::-;23839:17;;23729:95;;-1:-1:-1;23839:21:0;23835:224;;23981:10;23970:30;;;;;;;;;;;;;;;-1:-1:-1;23970:30:0;23962:85;;;;-1:-1:-1;;;23962:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17983:196;18086:12;18118:53;18141:6;18149:4;18155:1;18158:12;18118:22;:53::i;:::-;18111:60;17983:196;-1:-1:-1;;;;17983:196:0:o;19360:979::-;19490:12;19523:18;19534:6;19523:10;:18::i;:::-;19515:60;;;;;-1:-1:-1;;;19515:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19649:12;19663:23;19690:6;-1:-1:-1;;;;;19690:11:0;19710:8;19721:4;19690:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19690:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19648:78;;;;19741:7;19737:595;;;19772:10;-1:-1:-1;19765:17:0;;-1:-1:-1;19765:17:0;19737:595;19886:17;;:21;19882:439;;20149:10;20143:17;20210:15;20197:10;20193:2;20189:19;20182:44;20097:148;20285:20;;-1:-1:-1;;;20285:20:0;;;;;;;;;;;;;;;;;20292:12;;20285:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15065:422;15432:20;15471:8;;;15065:422::o

Swarm Source

ipfs://0f90657d3e75ad0ec0513c6b581edb5c8c8f79055bf1e80fdee7796ea9bc15df

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.