Contract 0xa5c16eb6ebd72bc72c70fca3e4facf389ad4abe7

 
Ad
Ad
Txn Hash
Block
From
To
Value
0x8163c6d39b27a40d28a521e1df1a0438367e11f43eab692d8bd8e398ecf5ece3111672972020-10-31 22:08:53162 days 13 hrs agoyAxis: Deployer IN  0xa5c16eb6ebd72bc72c70fca3e4facf389ad4abe70 Ether0.00045459216
0x67399a12382ba602e42f179ccc4aa1a1cde3967339332455e5f33e70fcbd4b0d111599942020-10-30 19:14:24163 days 16 hrs agoyAxis: Deployer IN  Contract Creation0 Ether0.0326854851218.028
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StableSwap3PoolConverter

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-10-30
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;

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

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

/**
 * @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;
    using Address for address;

    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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view 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 returns (uint8) {
        return _decimals;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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 {
        _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 { }
}

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

interface IConverter {
    function token() external returns (address _share);
    function convert(address _input, address _output, uint _inputAmount) external returns (uint _outputAmount);
    function convert_rate(address _input, address _output, uint _inputAmount) external view returns (uint _outputAmount);
    function convert_stables(uint[3] calldata amounts) external returns (uint _shareAmount); // 0: DAI, 1: USDC, 2: USDT
    function get_dy(int128 i, int128 j, uint dx) external view returns (uint);
    function exchange(int128 i, int128 j, uint dx, uint min_dy) external returns (uint dy);
    function calc_token_amount(uint[3] calldata amounts, bool deposit) external view returns (uint _shareAmount);
    function calc_token_amount_withdraw(uint _shares, address _output) external view returns (uint _outputAmount);
}

interface IVaultManager {
    function yax() external view returns (address);
    function vaults(address) external view returns (bool);
    function controllers(address) external view returns (bool);
    function strategies(address) external view returns (bool);
    function stakingPool() external view returns (address);
    function profitSharer() external view returns (address);
    function treasuryWallet() external view returns (address);
    function performanceReward() external view returns (address);
    function stakingPoolShareFee() external view returns (uint);
    function gasFee() external view returns (uint);
    function insuranceFee() external view returns (uint);
    function withdrawalProtectionFee() external view returns (uint);
}

interface IStableSwap3Pool {
    function get_virtual_price() external view returns (uint);
    function get_dy(int128 i, int128 j, uint dx) external view returns (uint dy);
    function exchange(int128 i, int128 j, uint dx, uint min_dy) external;
    function add_liquidity(uint[3] calldata amounts, uint min_mint_amount) external;
    function remove_liquidity(uint _amount, uint[3] calldata amounts) external;
    function remove_liquidity_one_coin(uint _token_amount, int128 i, uint min_amount) external;
    function calc_token_amount(uint[3] calldata amounts, bool deposit) external view returns (uint);
    function calc_withdraw_one_coin(uint _token_amount, int128 i) external view returns (uint);
}

contract StableSwap3PoolConverter is IConverter {
    using SafeMath for uint;
    using SafeERC20 for IERC20;

    IERC20[3] public tokens; // DAI, USDC, USDT
    IERC20 public token3CRV; // 3Crv

    address public governance;

    IStableSwap3Pool public stableSwap3Pool;
    IVaultManager public vaultManager;

    constructor (IERC20 _tokenDAI, IERC20 _tokenUSDC, IERC20 _tokenUSDT, IERC20 _token3CRV, IStableSwap3Pool _stableSwap3Pool, IVaultManager _vaultManager) public {
        tokens[0] = _tokenDAI;
        tokens[1] = _tokenUSDC;
        tokens[2] = _tokenUSDT;
        token3CRV = _token3CRV;
        stableSwap3Pool = _stableSwap3Pool;
        tokens[0].safeApprove(address(stableSwap3Pool), uint(-1));
        tokens[1].safeApprove(address(stableSwap3Pool), uint(-1));
        tokens[2].safeApprove(address(stableSwap3Pool), uint(-1));
        token3CRV.safeApprove(address(stableSwap3Pool), uint(-1));
        vaultManager = _vaultManager;
        governance = msg.sender;
    }

    function setGovernance(address _governance) public {
        require(msg.sender == governance, "!governance");
        governance = _governance;
    }

    function setStableSwap3Pool(IStableSwap3Pool _stableSwap3Pool) public {
        require(msg.sender == governance, "!governance");
        stableSwap3Pool = _stableSwap3Pool;
        tokens[0].safeApprove(address(stableSwap3Pool), uint(-1));
        tokens[1].safeApprove(address(stableSwap3Pool), uint(-1));
        tokens[2].safeApprove(address(stableSwap3Pool), uint(-1));
        token3CRV.safeApprove(address(stableSwap3Pool), uint(-1));
    }

    function setVaultManager(IVaultManager _vaultManager) public {
        require(msg.sender == governance, "!governance");
        vaultManager = _vaultManager;
    }

    function approveForSpender(IERC20 _token, address _spender, uint _amount) external {
        require(msg.sender == governance, "!governance");
        _token.safeApprove(_spender, _amount);
    }

    function token() external override returns (address _share) {
        _share = address(token3CRV);
    }

    function convert(address _input, address _output, uint _inputAmount) external override returns (uint _outputAmount) {
        require(msg.sender == governance || vaultManager.vaults(msg.sender), "!(governance||vault)");
        if (_output == address(token3CRV)) { // convert to 3CRV
            uint[3] memory amounts;
            for (uint8 i = 0; i < 3; i++) {
                if (_input == address(tokens[i])) {
                    amounts[i] = _inputAmount;
                    uint _before = token3CRV.balanceOf(address(this));
                    stableSwap3Pool.add_liquidity(amounts, 1);
                    uint _after = token3CRV.balanceOf(address(this));
                    _outputAmount = _after.sub(_before);
                    token3CRV.safeTransfer(msg.sender, _outputAmount);
                    return _outputAmount;
                }
            }
        } else if (_input == address(token3CRV)) { // convert from 3CRV
            for (uint8 i = 0; i < 3; i++) {
                if (_output == address(tokens[i])) {
                    uint _before = tokens[i].balanceOf(address(this));
                    stableSwap3Pool.remove_liquidity_one_coin(_inputAmount, i, 1);
                    uint _after = tokens[i].balanceOf(address(this));
                    _outputAmount = _after.sub(_before);
                    tokens[i].safeTransfer(msg.sender, _outputAmount);
                    return _outputAmount;
                }
            }
        }
        return 0;
    }

    function convert_rate(address _input, address _output, uint _inputAmount) external override view returns (uint _outputAmount) {
        if (_output == address(token3CRV)) { // convert to 3CRV
            uint[3] memory amounts;
            for (uint8 i = 0; i < 3; i++) {
                if (_input == address(tokens[i])) {
                    amounts[i] = _inputAmount;
                    return stableSwap3Pool.calc_token_amount(amounts, true);
                }
            }
        } else if (_input == address(token3CRV)) { // convert from 3CRV
            for (uint8 i = 0; i < 3; i++) {
                if (_output == address(tokens[i])) {
                    // @dev this is for UI reference only, the actual share price (stable/CRV) will be re-calculated on-chain when we do convert()
                    return stableSwap3Pool.calc_withdraw_one_coin(_inputAmount, i);
                }
            }
        }
        return 0;
    }

    // 0: DAI, 1: USDC, 2: USDT
    function convert_stables(uint[3] calldata amounts) external override returns (uint _shareAmount) {
        require(msg.sender == governance || vaultManager.vaults(msg.sender), "!(governance||vault)");
        uint _before = token3CRV.balanceOf(address(this));
        stableSwap3Pool.add_liquidity(amounts, 1);
        uint _after = token3CRV.balanceOf(address(this));
        _shareAmount = _after.sub(_before);
        token3CRV.safeTransfer(msg.sender, _shareAmount);
    }

    function get_dy(int128 i, int128 j, uint dx) external override view returns (uint) {
        return stableSwap3Pool.get_dy(i, j, dx);
    }

    function exchange(int128 i, int128 j, uint dx, uint min_dy) external override returns (uint dy) {
        require(msg.sender == governance || vaultManager.vaults(msg.sender), "!(governance||vault)");
        IERC20 _output = tokens[uint8(j)];
        uint _before = _output.balanceOf(address(this));
        stableSwap3Pool.exchange(i, j, dx, min_dy);
        uint _after = _output.balanceOf(address(this));
        dy = _after.sub(_before);
        _output.safeTransfer(msg.sender, dy);
    }

    function calc_token_amount(uint[3] calldata amounts, bool deposit) external override view returns (uint _shareAmount) {
        _shareAmount = stableSwap3Pool.calc_token_amount(amounts, deposit);
    }

    function calc_token_amount_withdraw(uint _shares, address _output) external override view returns (uint) {
        for (uint8 i = 0; i < 3; i++) {
            if (_output == address(tokens[i])) {
                return stableSwap3Pool.calc_withdraw_one_coin(_shares, i);
            }
        }
        return 0;
    }

    function governanceRecoverUnsupported(IERC20 _token, uint _amount, address _to) external {
        require(msg.sender == governance, "!governance");
        _token.transfer(_to, _amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_tokenDAI","type":"address"},{"internalType":"contract IERC20","name":"_tokenUSDC","type":"address"},{"internalType":"contract IERC20","name":"_tokenUSDT","type":"address"},{"internalType":"contract IERC20","name":"_token3CRV","type":"address"},{"internalType":"contract IStableSwap3Pool","name":"_stableSwap3Pool","type":"address"},{"internalType":"contract IVaultManager","name":"_vaultManager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"approveForSpender","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[3]","name":"amounts","type":"uint256[3]"},{"internalType":"bool","name":"deposit","type":"bool"}],"name":"calc_token_amount","outputs":[{"internalType":"uint256","name":"_shareAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_shares","type":"uint256"},{"internalType":"address","name":"_output","type":"address"}],"name":"calc_token_amount_withdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_input","type":"address"},{"internalType":"address","name":"_output","type":"address"},{"internalType":"uint256","name":"_inputAmount","type":"uint256"}],"name":"convert","outputs":[{"internalType":"uint256","name":"_outputAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_input","type":"address"},{"internalType":"address","name":"_output","type":"address"},{"internalType":"uint256","name":"_inputAmount","type":"uint256"}],"name":"convert_rate","outputs":[{"internalType":"uint256","name":"_outputAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[3]","name":"amounts","type":"uint256[3]"}],"name":"convert_stables","outputs":[{"internalType":"uint256","name":"_shareAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int128","name":"i","type":"int128"},{"internalType":"int128","name":"j","type":"int128"},{"internalType":"uint256","name":"dx","type":"uint256"},{"internalType":"uint256","name":"min_dy","type":"uint256"}],"name":"exchange","outputs":[{"internalType":"uint256","name":"dy","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int128","name":"i","type":"int128"},{"internalType":"int128","name":"j","type":"int128"},{"internalType":"uint256","name":"dx","type":"uint256"}],"name":"get_dy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IStableSwap3Pool","name":"_stableSwap3Pool","type":"address"}],"name":"setStableSwap3Pool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IVaultManager","name":"_vaultManager","type":"address"}],"name":"setVaultManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stableSwap3Pool","outputs":[{"internalType":"contract IStableSwap3Pool","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"_share","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token3CRV","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vaultManager","outputs":[{"internalType":"contract IVaultManager","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200200938038062002009833981810160405260c08110156200003757600080fd5b508051602082015160408301516060840151608085015160a090950151600080546001600160a01b03199081166001600160a01b0380891691909117835560018054831682891617905560028054831682881617905560038054831682871617905560058054909216818a1617918290559697959694959394620000dd9291169060001990805b01546001600160a01b031691906200017b602090811b6200153d17901c565b600554620000fb906001600160a01b031660001960006001620000be565b60055462000119906001600160a01b031660001960006002620000be565b60055460035462000146916001600160a01b0391821691166000196200017b602090811b6200153d17901c565b600680546001600160a01b039092166001600160a01b0319928316179055600480549091163317905550620005329350505050565b80158062000205575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015620001d557600080fd5b505afa158015620001ea573d6000803e3d6000fd5b505050506040513d60208110156200020157600080fd5b5051155b620002425760405162461bcd60e51b815260040180806020018281038252603681526020018062001fd36036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b179091526200029a9185916200029f16565b505050565b6060620002fb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166200035b60201b62001650179092919060201c565b8051909150156200029a578080602001905160208110156200031c57600080fd5b50516200029a5760405162461bcd60e51b815260040180806020018281038252602a81526020018062001fa9602a913960400191505060405180910390fd5b60606200036c848460008562000374565b949350505050565b606062000381856200052c565b620003d3576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310620004145780518252601f199092019160209182019101620003f3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462000478576040519150601f19603f3d011682016040523d82523d6000602084013e6200047d565b606091505b50915091508115620004935791506200036c9050565b805115620004a45780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620004f0578181015183820152602001620004d6565b50505050905090810190601f1680156200051e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b3b151590565b611a6780620005426000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80638a4adf24116100a2578063b543503e11610071578063b543503e14610307578063b7b11c5e1461032d578063e6c0375314610349578063ef9e23791461036f578063fc0c546a146103a557610116565b80638a4adf24146102a5578063a488680f146102ad578063ab033ea9146102b5578063ae2841c7146102db57610116565b80634f64b2be116100e95780634f64b2be146101f357806354575af41461022c5780635a3874ac146102645780635aa6e6751461026c5780635e0d443f1461027457610116565b8063248391ff1461011b57806336cf893c146101635780633883e119146101995780633df02124146101bc575b600080fd5b6101516004803603606081101561013157600080fd5b506001600160a01b038135811691602081013590911690604001356103ad565b60408051918252519081900360200190f35b6101516004803603606081101561017957600080fd5b506001600160a01b038135811691602081013590911690604001356108d1565b610151600480360360808110156101af57600080fd5b5060608101351515610acc565b610151600480360360808110156101d257600080fd5b508035600f90810b91602081013590910b9060408101359060600135610b6b565b6102106004803603602081101561020957600080fd5b5035610df7565b604080516001600160a01b039092168252519081900360200190f35b6102626004803603606081101561024257600080fd5b506001600160a01b03813581169160208101359160409091013516610e14565b005b610210610ee9565b610210610ef8565b6101516004803603606081101561028a57600080fd5b508035600f90810b91602081013590910b9060400135610f07565b610210610f99565b610210610fa8565b610262600480360360208110156102cb57600080fd5b50356001600160a01b0316610fb7565b610151600480360360408110156102f157600080fd5b50803590602001356001600160a01b0316611026565b6102626004803603602081101561031d57600080fd5b50356001600160a01b03166110f9565b6101516004803603606081101561034357600080fd5b50611168565b6102626004803603602081101561035f57600080fd5b50356001600160a01b03166113e2565b6102626004803603606081101561038557600080fd5b506001600160a01b038135811691602081013590911690604001356114c8565b61021061152e565b6004546000906001600160a01b031633148061043c575060065460408051632988bb9f60e21b815233600482015290516001600160a01b039092169163a622ee7c91602480820192602092909190829003018186803b15801561040f57600080fd5b505afa158015610423573d6000803e3d6000fd5b505050506040513d602081101561043957600080fd5b50515b610484576040805162461bcd60e51b81526020600482015260146024820152732128676f7665726e616e63657c7c7661756c742960601b604482015290519081900360640190fd5b6003546001600160a01b03848116911614156106af576104a26119b3565b60005b60038160ff1610156106a85760008160ff16600381106104c157fe5b01546001600160a01b03878116911614156106a05783828260ff16600381106104e657fe5b60209081029190910191909152600354604080516370a0823160e01b815230600482015290516000936001600160a01b03909316926370a082319260248082019391829003018186803b15801561053c57600080fd5b505afa158015610550573d6000803e3d6000fd5b505050506040513d602081101561056657600080fd5b5051600554604051634515cef360e01b81529192506001600160a01b031690634515cef39085906001906004018083606080838360005b838110156105b557818101518382015260200161059d565b5050505090500182815260200192505050600060405180830381600087803b1580156105e057600080fd5b505af11580156105f4573d6000803e3d6000fd5b5050600354604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b15801561064557600080fd5b505afa158015610659573d6000803e3d6000fd5b505050506040513d602081101561066f57600080fd5b5051905061067d8183611667565b600354909550610697906001600160a01b031633876116a9565b505050506108ca565b6001016104a5565b50506108c6565b6003546001600160a01b03858116911614156108c65760005b60038160ff1610156108c45760008160ff16600381106106e457fe5b01546001600160a01b03858116911614156108bc576000808260ff166003811061070a57fe5b0154604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561075457600080fd5b505afa158015610768573d6000803e3d6000fd5b505050506040513d602081101561077e57600080fd5b505160055460408051630d2680e960e11b81526004810188905260ff861660248201526001604482015290519293506001600160a01b0390911691631a4d01d29160648082019260009290919082900301818387803b1580156107e057600080fd5b505af11580156107f4573d6000803e3d6000fd5b505050506000808360ff166003811061080957fe5b0154604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561085357600080fd5b505afa158015610867573d6000803e3d6000fd5b505050506040513d602081101561087d57600080fd5b5051905061088b8183611667565b93506108b4338560008660ff16600381106108a257fe5b01546001600160a01b031691906116a9565b5050506108ca565b6001016106c8565b505b5060005b9392505050565b6003546000906001600160a01b03848116911614156109f0576108f26119b3565b60005b60038160ff1610156106a85760008160ff166003811061091157fe5b01546001600160a01b03878116911614156109e85783828260ff166003811061093657fe5b6020020152600554604051633883e11960e01b81526001600160a01b0390911690633883e1199084906001906004018083606080838360005b8381101561098757818101518382015260200161096f565b5050505090500182151581526020019250505060206040518083038186803b1580156109b257600080fd5b505afa1580156109c6573d6000803e3d6000fd5b505050506040513d60208110156109dc57600080fd5b505192506108ca915050565b6001016108f5565b6003546001600160a01b03858116911614156108c65760005b60038160ff1610156108c45760008160ff1660038110610a2557fe5b01546001600160a01b0385811691161415610ac4576005546040805163cc2b27d760e01b81526004810186905260ff8416602482015290516001600160a01b039092169163cc2b27d791604480820192602092909190829003018186803b158015610a8f57600080fd5b505afa158015610aa3573d6000803e3d6000fd5b505050506040513d6020811015610ab957600080fd5b505191506108ca9050565b600101610a09565b600554604051633883e11960e01b81526000916001600160a01b031690633883e11990859085906004018083606080828437600083820152931515601f909401601f19169091019283525050604051602080830193509181900382018186803b158015610b3857600080fd5b505afa158015610b4c573d6000803e3d6000fd5b505050506040513d6020811015610b6257600080fd5b50519392505050565b6004546000906001600160a01b0316331480610bfa575060065460408051632988bb9f60e21b815233600482015290516001600160a01b039092169163a622ee7c91602480820192602092909190829003018186803b158015610bcd57600080fd5b505afa158015610be1573d6000803e3d6000fd5b505050506040513d6020811015610bf757600080fd5b50515b610c42576040805162461bcd60e51b81526020600482015260146024820152732128676f7665726e616e63657c7c7661756c742960601b604482015290519081900360640190fd5b6000808560ff1660038110610c5357fe5b0154604080516370a0823160e01b815230600482015290516001600160a01b03909216925060009183916370a08231916024808301926020929190829003018186803b158015610ca257600080fd5b505afa158015610cb6573d6000803e3d6000fd5b505050506040513d6020811015610ccc57600080fd5b505160055460408051630f7c084960e21b8152600f8b810b60048301528a900b6024820152604481018990526064810188905290519293506001600160a01b0390911691633df021249160848082019260009290919082900301818387803b158015610d3757600080fd5b505af1158015610d4b573d6000803e3d6000fd5b505050506000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610d9e57600080fd5b505afa158015610db2573d6000803e3d6000fd5b505050506040513d6020811015610dc857600080fd5b50519050610dd68183611667565b9350610dec6001600160a01b03841633866116a9565b505050949350505050565b60008160038110610e0457fe5b01546001600160a01b0316905081565b6004546001600160a01b03163314610e61576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b826001600160a01b031663a9059cbb82846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610eb857600080fd5b505af1158015610ecc573d6000803e3d6000fd5b505050506040513d6020811015610ee257600080fd5b5050505050565b6005546001600160a01b031681565b6004546001600160a01b031681565b60055460408051635e0d443f60e01b8152600f86810b600483015285900b60248201526044810184905290516000926001600160a01b031691635e0d443f916064808301926020929190829003018186803b158015610f6557600080fd5b505afa158015610f79573d6000803e3d6000fd5b505050506040513d6020811015610f8f57600080fd5b5051949350505050565b6006546001600160a01b031681565b6003546001600160a01b031681565b6004546001600160a01b03163314611004576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000805b60038160ff1610156110ed5760008160ff166003811061104657fe5b01546001600160a01b03848116911614156110e5576005546040805163cc2b27d760e01b81526004810187905260ff8416602482015290516001600160a01b039092169163cc2b27d791604480820192602092909190829003018186803b1580156110b057600080fd5b505afa1580156110c4573d6000803e3d6000fd5b505050506040513d60208110156110da57600080fd5b505191506110f39050565b60010161102a565b50600090505b92915050565b6004546001600160a01b03163314611146576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6004546000906001600160a01b03163314806111f7575060065460408051632988bb9f60e21b815233600482015290516001600160a01b039092169163a622ee7c91602480820192602092909190829003018186803b1580156111ca57600080fd5b505afa1580156111de573d6000803e3d6000fd5b505050506040513d60208110156111f457600080fd5b50515b61123f576040805162461bcd60e51b81526020600482015260146024820152732128676f7665726e616e63657c7c7661756c742960601b604482015290519081900360640190fd5b600354604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561128a57600080fd5b505afa15801561129e573d6000803e3d6000fd5b505050506040513d60208110156112b457600080fd5b5051600554604051634515cef360e01b81529192506001600160a01b031690634515cef39085906001906004018083606080828437600081840152601f19601f82011690508083019250505082815260200192505050600060405180830381600087803b15801561132457600080fd5b505af1158015611338573d6000803e3d6000fd5b5050600354604080516370a0823160e01b81523060048201529051600094506001600160a01b0390921692506370a08231916024808301926020929190829003018186803b15801561138957600080fd5b505afa15801561139d573d6000803e3d6000fd5b505050506040513d60208110156113b357600080fd5b505190506113c18183611667565b6003549093506113db906001600160a01b031633856116a9565b5050919050565b6004546001600160a01b0316331461142f576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b03838116919091179182905561146e91166000196000805b01546001600160a01b0316919061153d565b60055461148a906001600160a01b03166000196000600161145c565b6005546114a6906001600160a01b03166000196000600261145c565b6005546003546114c5916001600160a01b03918216911660001961153d565b50565b6004546001600160a01b03163314611515576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b6115296001600160a01b038416838361153d565b505050565b6003546001600160a01b031690565b8015806115c3575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561159557600080fd5b505afa1580156115a9573d6000803e3d6000fd5b505050506040513d60208110156115bf57600080fd5b5051155b6115fe5760405162461bcd60e51b81526004018080602001828103825260368152602001806119fc6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526115299084906116f7565b606061165f84846000856117a8565b949350505050565b60006108ca83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611953565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526115299084905b606061174c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116509092919063ffffffff16565b8051909150156115295780806020019051602081101561176b57600080fd5b50516115295760405162461bcd60e51b815260040180806020018281038252602a8152602001806119d2602a913960400191505060405180910390fd5b60606117b3856119ad565b611804576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106118435780518252601f199092019160209182019101611824565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146118a5576040519150601f19603f3d011682016040523d82523d6000602084013e6118aa565b606091505b509150915081156118be57915061165f9050565b8051156118ce5780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611918578181015183820152602001611900565b50505050905090810190601f1680156119455780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b600081848411156119a55760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611918578181015183820152602001611900565b505050900390565b3b151590565b6040518060600160405280600390602082028036833750919291505056fe5361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220da24009903d1aec83b592eb5249911542be90a54450637d2f5f1256a2a3999a164736f6c634300060c00335361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000006c3f90f043a72fa612cbac8115ee7e52bde6e490000000000000000000000000bebc44782c7db0a1a60cb6fe97d0b483032ff1c70000000000000000000000009cd645330e64b07810dde54dee1240060071f6aa

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

0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000006c3f90f043a72fa612cbac8115ee7e52bde6e490000000000000000000000000bebc44782c7db0a1a60cb6fe97d0b483032ff1c70000000000000000000000009cd645330e64b07810dde54dee1240060071f6aa

-----Decoded View---------------
Arg [0] : _tokenDAI (address): 0x6b175474e89094c44da98b954eedeac495271d0f
Arg [1] : _tokenUSDC (address): 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [2] : _tokenUSDT (address): 0xdac17f958d2ee523a2206206994597c13d831ec7
Arg [3] : _token3CRV (address): 0x6c3f90f043a72fa612cbac8115ee7e52bde6e490
Arg [4] : _stableSwap3Pool (address): 0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7
Arg [5] : _vaultManager (address): 0x9cd645330e64b07810dde54dee1240060071f6aa

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f
Arg [1] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [2] : 000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7
Arg [3] : 0000000000000000000000006c3f90f043a72fa612cbac8115ee7e52bde6e490
Arg [4] : 000000000000000000000000bebc44782c7db0a1a60cb6fe97d0b483032ff1c7
Arg [5] : 0000000000000000000000009cd645330e64b07810dde54dee1240060071f6aa


Deployed ByteCode Sourcemap

31818:6574:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33963:1525;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33963:1525:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;35496:963;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;35496:963:0;;;;;;;;;;;;;;;;;:::i;37649:203::-;;;;;;;;;;;;;;;;-1:-1:-1;37649:203:0;;;;;;;:::i;37140:501::-;;;;;;;;;;;;;;;;-1:-1:-1;37140:501:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;31938:23::-;;;;;;;;;;;;;;;;-1:-1:-1;31938:23:0;;:::i;:::-;;;;-1:-1:-1;;;;;31938:23:0;;;;;;;;;;;;;;38193:196;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;38193:196:0;;;;;;;;;;;;;;;;;:::i;:::-;;32061:39;;;:::i;32027:25::-;;;:::i;36991:141::-;;;;;;;;;;;;;;;;-1:-1:-1;36991:141:0;;;;;;;;;;;;;;;;;;;:::i;32107:33::-;;;:::i;31987:23::-;;;:::i;32845:153::-;;;;;;;;;;;;;;;;-1:-1:-1;32845:153:0;-1:-1:-1;;;;;32845:153:0;;:::i;37860:325::-;;;;;;;;;;;;;;;;-1:-1:-1;37860:325:0;;;;;;-1:-1:-1;;;;;37860:325:0;;:::i;33468:167::-;;;;;;;;;;;;;;;;-1:-1:-1;33468:167:0;-1:-1:-1;;;;;33468:167:0;;:::i;36500:483::-;;;;;;;;;;;;;;;;-1:-1:-1;36500:483:0;:::i;33006:454::-;;;;;;;;;;;;;;;;-1:-1:-1;33006:454:0;-1:-1:-1;;;;;33006:454:0;;:::i;33643:198::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;33643:198:0;;;;;;;;;;;;;;;;;:::i;33849:106::-;;;:::i;33963:1525::-;34112:10;;34059:18;;-1:-1:-1;;;;;34112:10:0;34098;:24;;:59;;-1:-1:-1;34126:12:0;;:31;;;-1:-1:-1;;;34126:31:0;;34146:10;34126:31;;;;;;-1:-1:-1;;;;;34126:12:0;;;;:19;;:31;;;;;;;;;;;;;;;:12;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34126:31:0;34098:59;34090:92;;;;;-1:-1:-1;;;34090:92:0;;;;;;;;;;;;-1:-1:-1;;;34090:92:0;;;;;;;;;;;;;;;34216:9;;-1:-1:-1;;;;;34197:29:0;;;34216:9;;34197:29;34193:1269;;;34262:22;;:::i;:::-;34304:7;34299:546;34321:1;34317;:5;;;34299:546;;;34370:6;34377:1;34370:9;;;;;;;;;;;-1:-1:-1;;;;;34352:28:0;;;34370:9;;34352:28;34348:482;;;34418:12;34405:7;34413:1;34405:10;;;;;;;;;;;;;;;;;:25;;;;34468:9;;:34;;;-1:-1:-1;;;34468:34:0;;34496:4;34468:34;;;;;;34453:12;;-1:-1:-1;;;;;34468:9:0;;;;:19;;:34;;;;;;;;;;;:9;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34468:34:0;34525:15;;:41;;-1:-1:-1;;;34525:41:0;;34468:34;;-1:-1:-1;;;;;;34525:15:0;;:29;;34555:7;;34525:15;;:41;;;34555:7;34525:41;;;34555:7;34525:15;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;34603:9:0;;:34;;;-1:-1:-1;;;34603:34:0;;34631:4;34603:34;;;;;;34589:11;;-1:-1:-1;;;;;;34603:9:0;;;;-1:-1:-1;34603:19:0;;:34;;;;;;;;;;;;;;:9;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34603:34:0;;-1:-1:-1;34676:19:0;34603:34;34687:7;34676:10;:19::i;:::-;34718:9;;34660:35;;-1:-1:-1;34718:49:0;;-1:-1:-1;;;;;34718:9:0;34741:10;34660:35;34718:22;:49::i;:::-;34790:20;;;;;;34348:482;34324:3;;34299:546;;;;34193:1269;;;;34884:9;;-1:-1:-1;;;;;34866:28:0;;;34884:9;;34866:28;34862:600;;;34937:7;34932:519;34954:1;34950;:5;;;34932:519;;;35004:6;35011:1;35004:9;;;;;;;;;;;-1:-1:-1;;;;;34985:29:0;;;35004:9;;34985:29;34981:455;;;35039:12;35054:6;35061:1;35054:9;;;;;;;;;;;:34;;;-1:-1:-1;;;35054:34:0;;35082:4;35054:34;;;;;;-1:-1:-1;;;;;35054:9:0;;;;:19;;:34;;;;;;;;;;;;;;;:9;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35054:34:0;35111:15;;:61;;;-1:-1:-1;;;35111:61:0;;;;;;;;;;;;;;;:15;:61;;;;;;35054:34;;-1:-1:-1;;;;;;35111:15:0;;;;:41;;:61;;;;;:15;;:61;;;;;;;;:15;;:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35195:11;35209:6;35216:1;35209:9;;;;;;;;;;;:34;;;-1:-1:-1;;;35209:34:0;;35237:4;35209:34;;;;;;-1:-1:-1;;;;;35209:9:0;;;;:19;;:34;;;;;;;;;;;;;;;:9;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35209:34:0;;-1:-1:-1;35282:19:0;35209:34;35293:7;35282:10;:19::i;:::-;35266:35;;35324:49;35347:10;35359:13;35324:6;35331:1;35324:9;;;;;;;;;;;-1:-1:-1;;;;;35324:9:0;;:49;:22;:49::i;:::-;35396:20;;;;;34981:455;34957:3;;34932:519;;;;34862:600;-1:-1:-1;35479:1:0;33963:1525;;;;;;:::o;35496:963::-;35656:9;;35602:18;;-1:-1:-1;;;;;35637:29:0;;;35656:9;;35637:29;35633:800;;;35702:22;;:::i;:::-;35744:7;35739:244;35761:1;35757;:5;;;35739:244;;;35810:6;35817:1;35810:9;;;;;;;;;;;-1:-1:-1;;;;;35792:28:0;;;35810:9;;35792:28;35788:180;;;35858:12;35845:7;35853:1;35845:10;;;;;;;;;;;;:25;35900:15;;:48;;-1:-1:-1;;;35900:48:0;;-1:-1:-1;;;;;35900:15:0;;;;:33;;35934:7;;35900:15;;:48;;;35934:7;35900:48;;;35934:7;35900:15;:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35900:48:0;;-1:-1:-1;35893:55:0;;-1:-1:-1;;35893:55:0;35788:180;35764:3;;35739:244;;35633:800;36022:9;;-1:-1:-1;;;;;36004:28:0;;;36022:9;;36004:28;36000:433;;;36075:7;36070:352;36092:1;36088;:5;;;36070:352;;;36142:6;36149:1;36142:9;;;;;;;;;;;-1:-1:-1;;;;;36123:29:0;;;36142:9;;36123:29;36119:288;;;36332:15;;:55;;;-1:-1:-1;;;36332:55:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36332:15:0;;;;:38;;:55;;;;;;;;;;;;;;;:15;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36332:55:0;;-1:-1:-1;36325:62:0;;-1:-1:-1;36325:62:0;36119:288;36095:3;;36070:352;;37649:203;37793:15;;:51;;-1:-1:-1;;;37793:51:0;;37748:17;;-1:-1:-1;;;;;37793:15:0;;:33;;37827:7;;37836;;37793:51;;;37827:7;37793:51;;37827:7;37793:51;;;;;;;;;;;;;;-1:-1:-1;;37793:51:0;;;;;;;-1:-1:-1;;37793:51:0;;;;;;;-1:-1:-1;37793:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37793:51:0;;37649:203;-1:-1:-1;;;37649:203:0:o;37140:501::-;37269:10;;37227:7;;-1:-1:-1;;;;;37269:10:0;37255;:24;;:59;;-1:-1:-1;37283:12:0;;:31;;;-1:-1:-1;;;37283:31:0;;37303:10;37283:31;;;;;;-1:-1:-1;;;;;37283:12:0;;;;:19;;:31;;;;;;;;;;;;;;;:12;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37283:31:0;37255:59;37247:92;;;;;-1:-1:-1;;;37247:92:0;;;;;;;;;;;;-1:-1:-1;;;37247:92:0;;;;;;;;;;;;;;;37350:14;37367:6;37380:1;37367:16;;;;;;;;;;;37409:32;;;-1:-1:-1;;;37409:32:0;;37435:4;37409:32;;;;;;-1:-1:-1;;;;;37367:16:0;;;;-1:-1:-1;37367:16:0;;;;37409:17;;:32;;;;;;;;;;;;;;37367:16;37409:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37409:32:0;37452:15;;:42;;;-1:-1:-1;;;37452:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37409:32;;-1:-1:-1;;;;;;37452:15:0;;;;:24;;:42;;;;;:15;;:42;;;;;;;;:15;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37505:11;37519:7;-1:-1:-1;;;;;37519:17:0;;37545:4;37519:32;;;;;;;;;;;;;-1:-1:-1;;;;;37519:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37519:32:0;;-1:-1:-1;37567:19:0;37519:32;37578:7;37567:10;:19::i;:::-;37562:24;-1:-1:-1;37597:36:0;-1:-1:-1;;;;;37597:20:0;;37618:10;37562:24;37597:20;:36::i;:::-;37140:501;;;;;;;;;:::o;31938:23::-;;;;;;;;;;;;-1:-1:-1;;;;;31938:23:0;;-1:-1:-1;31938:23:0;:::o;38193:196::-;38315:10;;-1:-1:-1;;;;;38315:10:0;38301;:24;38293:48;;;;;-1:-1:-1;;;38293:48:0;;;;;;;;;;;;-1:-1:-1;;;38293:48:0;;;;;;;;;;;;;;;38352:6;-1:-1:-1;;;;;38352:15:0;;38368:3;38373:7;38352:29;;;;;;;;;;;;;-1:-1:-1;;;;;38352:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38193:196:0:o;32061:39::-;;;-1:-1:-1;;;;;32061:39:0;;:::o;32027:25::-;;;-1:-1:-1;;;;;32027:25:0;;:::o;36991:141::-;37092:15;;:32;;;-1:-1:-1;;;37092:32:0;;;;;;;;;;;;;;;;;;;;;;;;;37068:4;;-1:-1:-1;;;;;37092:15:0;;:22;;:32;;;;;;;;;;;;;;:15;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37092:32:0;;36991:141;-1:-1:-1;;;;36991:141:0:o;32107:33::-;;;-1:-1:-1;;;;;32107:33:0;;:::o;31987:23::-;;;-1:-1:-1;;;;;31987:23:0;;:::o;32845:153::-;32929:10;;-1:-1:-1;;;;;32929:10:0;32915;:24;32907:48;;;;;-1:-1:-1;;;32907:48:0;;;;;;;;;;;;-1:-1:-1;;;32907:48:0;;;;;;;;;;;;;;;32966:10;:24;;-1:-1:-1;;;;;;32966:24:0;-1:-1:-1;;;;;32966:24:0;;;;;;;;;;32845:153::o;37860:325::-;37959:4;;37976:183;37998:1;37994;:5;;;37976:183;;;38044:6;38051:1;38044:9;;;;;;;;;;;-1:-1:-1;;;;;38025:29:0;;;38044:9;;38025:29;38021:127;;;38082:15;;:50;;;-1:-1:-1;;;38082:50:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38082:15:0;;;;:38;;:50;;;;;;;;;;;;;;;:15;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38082:50:0;;-1:-1:-1;38075:57:0;;-1:-1:-1;38075:57:0;38021:127;38001:3;;37976:183;;;;38176:1;38169:8;;37860:325;;;;;:::o;33468:167::-;33562:10;;-1:-1:-1;;;;;33562:10:0;33548;:24;33540:48;;;;;-1:-1:-1;;;33540:48:0;;;;;;;;;;;;-1:-1:-1;;;33540:48:0;;;;;;;;;;;;;;;33599:12;:28;;-1:-1:-1;;;;;;33599:28:0;-1:-1:-1;;;;;33599:28:0;;;;;;;;;;33468:167::o;36500:483::-;36630:10;;36578:17;;-1:-1:-1;;;;;36630:10:0;36616;:24;;:59;;-1:-1:-1;36644:12:0;;:31;;;-1:-1:-1;;;36644:31:0;;36664:10;36644:31;;;;;;-1:-1:-1;;;;;36644:12:0;;;;:19;;:31;;;;;;;;;;;;;;;:12;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36644:31:0;36616:59;36608:92;;;;;-1:-1:-1;;;36608:92:0;;;;;;;;;;;;-1:-1:-1;;;36608:92:0;;;;;;;;;;;;;;;36726:9;;:34;;;-1:-1:-1;;;36726:34:0;;36754:4;36726:34;;;;;;36711:12;;-1:-1:-1;;;;;36726:9:0;;:19;;:34;;;;;;;;;;;;;;:9;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36726:34:0;36771:15;;:41;;-1:-1:-1;;;36771:41:0;;36726:34;;-1:-1:-1;;;;;;36771:15:0;;:29;;36801:7;;36771:15;;:41;;;36801:7;36771:41;;36801:7;36771:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;36837:9:0;;:34;;;-1:-1:-1;;;36837:34:0;;36865:4;36837:34;;;;;;36823:11;;-1:-1:-1;;;;;;36837:9:0;;;;-1:-1:-1;36837:19:0;;:34;;;;;;;;;;;;;;:9;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36837:34:0;;-1:-1:-1;36897:19:0;36837:34;36908:7;36897:10;:19::i;:::-;36927:9;;36882:34;;-1:-1:-1;36927:48:0;;-1:-1:-1;;;;;36927:9:0;36950:10;36882:34;36927:22;:48::i;:::-;36500:483;;;;;:::o;33006:454::-;33109:10;;-1:-1:-1;;;;;33109:10:0;33095;:24;33087:48;;;;;-1:-1:-1;;;33087:48:0;;;;;;;;;;;;-1:-1:-1;;;33087:48:0;;;;;;;;;;;;;;;33146:15;:34;;-1:-1:-1;;;;;;33146:34:0;-1:-1:-1;;;;;33146:34:0;;;;;;;;;;;33191:57;;33221:15;-1:-1:-1;;;;33191:9:0;;;-1:-1:-1;;;;;33191:9:0;;:57;:21;:57::i;:::-;33289:15;;33259:57;;-1:-1:-1;;;;;33289:15:0;-1:-1:-1;;33289:15:0;;33259:9;;:57;33357:15;;33327:57;;-1:-1:-1;;;;;33357:15:0;-1:-1:-1;;33357:15:0;33334:1;33327:9;;:57;33425:15;;33395:9;;:57;;-1:-1:-1;;;;;33395:9:0;;;;33425:15;-1:-1:-1;;33395:21:0;:57::i;:::-;33006:454;:::o;33643:198::-;33759:10;;-1:-1:-1;;;;;33759:10:0;33745;:24;33737:48;;;;;-1:-1:-1;;;33737:48:0;;;;;;;;;;;;-1:-1:-1;;;33737:48:0;;;;;;;;;;;;;;;33796:37;-1:-1:-1;;;;;33796:18:0;;33815:8;33825:7;33796:18;:37::i;:::-;33643:198;;;:::o;33849:106::-;33937:9;;-1:-1:-1;;;;;33937:9:0;;33849:106::o;27060:622::-;27430:10;;;27429:62;;-1:-1:-1;27446:39:0;;;-1:-1:-1;;;27446:39:0;;27470:4;27446:39;;;;-1:-1:-1;;;;;27446:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27446:39:0;:44;27429:62;27421:152;;;;-1:-1:-1;;;27421:152:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27611:62;;;-1:-1:-1;;;;;27611:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27611:62:0;-1:-1:-1;;;27611:62:0;;;27584:90;;27604:5;;27584:19;:90::i;12571:196::-;12674:12;12706:53;12729:6;12737:4;12743:1;12746:12;12706:22;:53::i;:::-;12699:60;12571:196;-1:-1:-1;;;;12571:196:0:o;4079:136::-;4137:7;4164:43;4168:1;4171;4164:43;;;;;;;;;;;;;;;;;:3;:43::i;26401:177::-;26511:58;;;-1:-1:-1;;;;;26511:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26511:58:0;-1:-1:-1;;;26511:58:0;;;26484:86;;26504:5;;28706:761;29130:23;29156:69;29184:4;29156:69;;;;;;;;;;;;;;;;;29164:5;-1:-1:-1;;;;;29156:27:0;;;:69;;;;;:::i;:::-;29240:17;;29130:95;;-1:-1:-1;29240:21:0;29236:224;;29382:10;29371:30;;;;;;;;;;;;;;;-1:-1:-1;29371:30:0;29363:85;;;;-1:-1:-1;;;29363:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13948:979;14078:12;14111:18;14122:6;14111:10;:18::i;:::-;14103:60;;;;;-1:-1:-1;;;14103:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14237:12;14251:23;14278:6;-1:-1:-1;;;;;14278:11:0;14298:8;14309:4;14278:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;14278:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14236:78;;;;14329:7;14325:595;;;14360:10;-1:-1:-1;14353:17:0;;-1:-1:-1;14353:17:0;14325:595;14474:17;;:21;14470:439;;14737:10;14731:17;14798:15;14785:10;14781:2;14777:19;14770:44;14685:148;14880:12;14873:20;;-1:-1:-1;;;14873:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4518:192;4604:7;4640:12;4632:6;;;;4624:29;;;;-1:-1:-1;;;4624:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4676:5:0;;;4518:192::o;9653:422::-;10020:20;10059:8;;;9653:422::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://da24009903d1aec83b592eb5249911542be90a54450637d2f5f1256a2a3999a1
Block Transaction Difficulty Gas Used Reward
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.