Contract 0x7f8218317dbce673e633bf4dee162766d3563d4c

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x37367e484b0b2a782cb8850138731a95f6a042575fcc7247b813351d15dcb3dbSwap112062362021-09-24 23:06:4423 hrs 52 mins ago0xdf7495fc2eaf599a8105044d480ad5c97488a5f1 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.001691515
0x4dc181220c042159d2bf8577f0d3157eca9695c7044cc625ee00724c222e5bf1Swap110842222021-09-20 16:51:465 days 6 hrs ago0xb94e4117f003da15994a53b9994917c7dd056a27 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00180171
0x0a122a18c314a344fe1009eb43d46e21a7e64bdb8d63bef66c1f6479152b26f3Swap110841552021-09-20 16:48:255 days 6 hrs ago0xb94e4117f003da15994a53b9994917c7dd056a27 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00180177
0xfd02699fad7491be9a9aa61f06ec72b033437a912dbc06dfd1348375d5619825Swap110829482021-09-20 15:48:025 days 7 hrs ago0xb94e4117f003da15994a53b9994917c7dd056a27 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00180171
0x676eb03c80ae85c11cc3a569064bf3c0b399b1e6db61e5ad8aa2ff7d27f63e62Swap110826012021-09-20 15:30:415 days 7 hrs ago0xb94e4117f003da15994a53b9994917c7dd056a27 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00187671
0x6112ac3a9d08aa43ed4b1f4653e3fd04a9ac79d752374071970aade60c138d97Swap107934822021-09-10 13:27:4815 days 9 hrs ago0x97e8a3f2f7ee34020a034dce16489c6cdc4d45e4 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00187683
0x73ab3533f6e0fffc7ee0bd5c2991ce1dbfb610d0aa746131b162f2a0de9402c0Swap107866552021-09-10 7:43:0215 days 15 hrs ago0xc3b2423d88fe0c003237d5b9c87e42548bdd3eb0 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00187683
0x926b9e82420fff8682bcfc930ba72170e5a114fa55745849621d6fda230ed864Swap107862712021-09-10 7:23:3815 days 15 hrs ago0x9d37d1863c197db7b7fc73d00bcabf338318e9dd IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00187683
0x8053d9a8c5be26a1a121bf169c95da35b7fca75a38b64ab531658e5c8bca44bcSwap106254742021-09-04 16:02:2421 days 6 hrs ago0x97e8a3f2f7ee34020a034dce16489c6cdc4d45e4 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00187677
0x0e0037e615755b1aaf0d82a3fd31540642aafc2cbf18012b33e4e89879177958Swap106121232021-09-04 4:54:5021 days 18 hrs ago0x97e8a3f2f7ee34020a034dce16489c6cdc4d45e4 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00187683
0xb9a974708f04f28e0f0e56af9d45339735a269310c013ba15865de0003ba10c6Swap106112332021-09-04 4:10:2021 days 18 hrs ago0x97e8a3f2f7ee34020a034dce16489c6cdc4d45e4 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00180177
0x43d9a425b14ab52746759e4300df096f1460448b54facf4c7aad1315327ad159Swap106111432021-09-04 4:05:5021 days 18 hrs ago0x97e8a3f2f7ee34020a034dce16489c6cdc4d45e4 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00187671
0x167e89f271876476572b7f9ad4abd1d4b5afd2e944ca9531542a1bcfbc76c4e2Swap105141822021-08-31 18:17:5825 days 4 hrs ago0xcf48385b95ebc8949b3b0052e0d51dc22aa8d5d0 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00187677
0x95c9df42297e47d81473fa15447d86450f696a694cd9bc0cc15946deaae28316Swap103750912021-08-26 20:22:1730 days 2 hrs ago0x558713d746365b583d9451cb6f513a427fea5845 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00180171
0x8ba9d49eb17b9771f02555fced0d67b468b9b572a13520f6a37dd79780889959Swap103750712021-08-26 20:21:1730 days 2 hrs ago0x558713d746365b583d9451cb6f513a427fea5845 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.001549795
0x786eada33d7f43b060633691099ca27f0a2ea2d3f031e7ce91bcf41e7df4c539Swap103750522021-08-26 20:20:2030 days 2 hrs ago0x558713d746365b583d9451cb6f513a427fea5845 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.001549855
0xd15ac29939c960dcab03e3a456c55da67d901f29e8418fffa5b12d1a827810a5Swap103750372021-08-26 20:19:3530 days 2 hrs ago0x558713d746365b583d9451cb6f513a427fea5845 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.001549855
0x748f72a75366fe8c22a81dbdd46d8073486e9cc42562a7e6d9ac0ea00f478ecaSwap103750222021-08-26 20:18:5030 days 2 hrs ago0x558713d746365b583d9451cb6f513a427fea5845 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.001549855
0xdaf05fbc378444daa298f2d8ac9aad52f973d5012561316b44d5c6bfd0d941dcSwap103750032021-08-26 20:17:5330 days 2 hrs ago0x558713d746365b583d9451cb6f513a427fea5845 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00180171
0xbf047076e0663f65948af4c2ae1c46dcd3973a4a8124fefb58010c1581e2985fSwap103748582021-08-26 20:10:3830 days 2 hrs ago0x558713d746365b583d9451cb6f513a427fea5845 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00187671
0x4fd16cb7ce79c5bbd5cd6abde972662ee13dc8f14fdfb4215b9d9b7499a21efbSwap102311222021-08-21 19:54:0135 days 3 hrs ago0xde61a5a4b8f7960070bd3ff5dc66f2e421a46fe3 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00187677
0x5844061cdf529e29fab55d225bcf8b7d388dfbe7ecc246c90a0fdb21b755c62cSwap101827962021-08-20 3:13:1236 days 19 hrs ago0x6e702d9089fa4cb1b7348250b96f524141c2999d IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00187683
0xecddacac3a9b1faebd74cd5313a5192e6a3e8798d0cfd369db105bdd3da1c97bSwap100760152021-08-16 9:52:0340 days 13 hrs ago0xfb82c127589c6f1aeed6fe059424f1a23e076bd9 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00180171
0xd50ea1b455fba99f4f6c56b6eae1ebff8c599820707d83c08dab66c40d3d940eSwap100759212021-08-16 9:47:2140 days 13 hrs ago0xfb82c127589c6f1aeed6fe059424f1a23e076bd9 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00187671
0x88799d5e9e11a72b8e3b678c9c5805e1e8065c09d77ac5e9293057a15703f7d1Swap99959152021-08-13 14:41:4843 days 8 hrs ago0x80b3d7735bbaa17b27d45acc17c3c233c32f4a59 IN  0x7f8218317dbce673e633bf4dee162766d3563d4c0 BNB0.00187689
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WaultSwap

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-04-24
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

/**
 * @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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

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

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

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

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

/**
 * @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 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

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

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

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

    /**
     * @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);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(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:
     *
     * - `to` 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @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 to 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 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;
        // 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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

/**
 * @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");
        }
    }
}
contract WaultSwap is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    
    IERC20 public tokenIn;
    IERC20 public tokenOut;

    uint256 public multiplier;
    
    constructor(
        IERC20 _tokenIn,
        IERC20 _tokenOut
    ) {
        tokenIn = _tokenIn;
        tokenOut = _tokenOut;
        multiplier = 1000;
    }
    
    function withdrawTokenOut(uint256 amount) public onlyOwner {
        tokenOut.safeTransfer(address(msg.sender), amount);
    }

    function withdrawTokenIn(uint256 amount) public onlyOwner {
        tokenIn.safeTransfer(address(msg.sender), amount);
    }

    function swap(uint256 amount) external {
        tokenIn.safeTransferFrom(address(msg.sender), address(this), amount);
        tokenOut.safeTransfer(address(msg.sender), amount.mul(multiplier));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_tokenIn","type":"address"},{"internalType":"contract IERC20","name":"_tokenOut","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"multiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenIn","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenOut","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTokenIn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTokenOut","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516110a63803806110a68339818101604052604081101561003357600080fd5b810190808051906020019092919080519060200190929190505050600061005e61018e60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506103e86003819055505050610196565b600033905090565b610f01806101a56000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80638da5cb5b116100665780638da5cb5b1461012257806394b918de14610156578063d0202d3b14610184578063d4f6b7a1146101b8578063f2fde38b146101e657610093565b80631b3ed722146100985780635fc1fd01146100b65780636daf390b146100e4578063715018a614610118575b600080fd5b6100a061022a565b6040518082815260200191505060405180910390f35b6100e2600480360360208110156100cc57600080fd5b8101908080359060200190929190505050610230565b005b6100ec61032f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610120610355565b005b61012a6104c2565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101826004803603602081101561016c57600080fd5b81019080803590602001909291905050506104eb565b005b61018c61059e565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101e4600480360360208110156101ce57600080fd5b81019080803590602001909291905050506105c4565b005b610228600480360360208110156101fc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106c3565b005b60035481565b6102386108b5565b73ffffffffffffffffffffffffffffffffffffffff166102566104c2565b73ffffffffffffffffffffffffffffffffffffffff16146102df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61032c3382600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108bd9092919063ffffffff16565b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61035d6108b5565b73ffffffffffffffffffffffffffffffffffffffff1661037b6104c2565b73ffffffffffffffffffffffffffffffffffffffff1614610404576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61053a333083600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661095f909392919063ffffffff16565b61059b3361055360035484610a2090919063ffffffff16565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108bd9092919063ffffffff16565b50565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6105cc6108b5565b73ffffffffffffffffffffffffffffffffffffffff166105ea6104c2565b73ffffffffffffffffffffffffffffffffffffffff1614610673576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6106c03382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108bd9092919063ffffffff16565b50565b6106cb6108b5565b73ffffffffffffffffffffffffffffffffffffffff166106e96104c2565b73ffffffffffffffffffffffffffffffffffffffff1614610772576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156107f8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610e356026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b61095a8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610aa6565b505050565b610a1a846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610aa6565b50505050565b600080831415610a335760009050610aa0565b6000828402905082848281610a4457fe5b0414610a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180610e816021913960400191505060405180910390fd5b809150505b92915050565b6000610b08826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610b959092919063ffffffff16565b9050600081511115610b9057808060200190516020811015610b2957600080fd5b8101908080519060200190929190505050610b8f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180610ea2602a913960400191505060405180910390fd5b5b505050565b6060610ba48484600085610bad565b90509392505050565b606082471015610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610e5b6026913960400191505060405180910390fd5b610c1185610d55565b610c83576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310610cd25780518252602082019150602081019050602083039250610caf565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610d34576040519150601f19603f3d011682016040523d82523d6000602084013e610d39565b606091505b5091509150610d49828286610d68565b92505050949350505050565b600080823b905060008111915050919050565b60608315610d7857829050610e2d565b600083511115610d8b5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610df2578082015181840152602081019050610dd7565b50505050905090810190601f168015610e1f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212209e5bf86e880887bff0516dbaf9989e43ae8506265e1b6ab41f0053fa7f15e32764736f6c634300070600330000000000000000000000006ff2d9e5891a7a7c554b80e0d1b791483c78bce9000000000000000000000000b64e638e60d154b43f660a6bf8fd8a3b249a6a21

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

0000000000000000000000006ff2d9e5891a7a7c554b80e0d1b791483c78bce9000000000000000000000000b64e638e60d154b43f660a6bf8fd8a3b249a6a21

-----Decoded View---------------
Arg [0] : _tokenIn (address): 0x6ff2d9e5891a7a7c554b80e0d1b791483c78bce9
Arg [1] : _tokenOut (address): 0xb64e638e60d154b43f660a6bf8fd8a3b249a6a21

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000006ff2d9e5891a7a7c554b80e0d1b791483c78bce9
Arg [1] : 000000000000000000000000b64e638e60d154b43f660a6bf8fd8a3b249a6a21


Deployed ByteCode Sourcemap

35779:862:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35947:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36165:128;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35888:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;31595:148;;;:::i;:::-;;30944:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;36435:203;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35916:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;36301:126;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31898:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35947:25;;;;:::o;36165:128::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36235:50:::1;36265:10;36278:6;36235:8;;;;;;;;;;;:21;;;;:50;;;;;:::i;:::-;36165:128:::0;:::o;35888:21::-;;;;;;;;;;;;;:::o;31595:148::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31702:1:::1;31665:40;;31686:6;::::0;::::1;;;;;;;;31665:40;;;;;;;;;;;;31733:1;31716:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;31595:148::o:0;30944:87::-;30990:7;31017:6;;;;;;;;;;;31010:13;;30944:87;:::o;36435:203::-;36485:68;36518:10;36539:4;36546:6;36485:7;;;;;;;;;;;:24;;;;:68;;;;;;:::i;:::-;36564:66;36594:10;36607:22;36618:10;;36607:6;:10;;:22;;;;:::i;:::-;36564:8;;;;;;;;;;;:21;;;;:66;;;;;:::i;:::-;36435:203;:::o;35916:22::-;;;;;;;;;;;;;:::o;36301:126::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36370:49:::1;36399:10;36412:6;36370:7;;;;;;;;;;;:20;;;;:49;;;;;:::i;:::-;36301:126:::0;:::o;31898:244::-;31175:12;:10;:12::i;:::-;31164:23;;:7;:5;:7::i;:::-;:23;;;31156:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32007:1:::1;31987:22;;:8;:22;;;;31979:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32097:8;32068:38;;32089:6;::::0;::::1;;;;;;;;32068:38;;;;;;;;;;;;32126:8;32117:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;31898:244:::0;:::o;613:106::-;666:15;701:10;694:17;;613:106;:::o;32708:177::-;32791:86;32811:5;32841:23;;;32866:2;32870:5;32818:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32791:19;:86::i;:::-;32708:177;;;:::o;32893:205::-;32994:96;33014:5;33044:27;;;33073:4;33079:2;33083:5;33021:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32994:19;:96::i;:::-;32893:205;;;;:::o;7263:220::-;7321:7;7350:1;7345;:6;7341:20;;;7360:1;7353:8;;;;7341:20;7372:9;7388:1;7384;:5;7372:17;;7417:1;7412;7408;:5;;;;;;:10;7400:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7474:1;7467:8;;;7263:220;;;;;:::o;35013:761::-;35437:23;35463:69;35491:4;35463:69;;;;;;;;;;;;;;;;;35471:5;35463:27;;;;:69;;;;;:::i;:::-;35437:95;;35567:1;35547:10;:17;:21;35543:224;;;35689:10;35678:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35670:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35543:224;35013:761;;;:::o;25588:195::-;25691:12;25723:52;25745:6;25753:4;25759:1;25762:12;25723:21;:52::i;:::-;25716:59;;25588:195;;;;;:::o;26640:530::-;26767:12;26825:5;26800:21;:30;;26792:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26892:18;26903:6;26892:10;:18::i;:::-;26884:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27018:12;27032:23;27059:6;:11;;27079:5;27087:4;27059:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27017:75;;;;27110:52;27128:7;27137:10;27149:12;27110:17;:52::i;:::-;27103:59;;;;26640:530;;;;;;:::o;22670:422::-;22730:4;22938:12;23049:7;23037:20;23029:28;;23083:1;23076:4;:8;23069:15;;;22670:422;;;:::o;29180:742::-;29295:12;29324:7;29320:595;;;29355:10;29348:17;;;;29320:595;29489:1;29469:10;:17;:21;29465:439;;;29732:10;29726:17;29793:15;29780:10;29776:2;29772:19;29765:44;29680:148;29875:12;29868:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29180:742;;;;;;:::o

Swarm Source

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