Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,590 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Exchange_underly... | 21204233 | 17 days ago | IN | 0 ETH | 0.00377183 | ||||
Exchange_underly... | 21194295 | 19 days ago | IN | 0 ETH | 0.00625394 | ||||
Exchange_underly... | 21194268 | 19 days ago | IN | 0 ETH | 0.00907634 | ||||
Exchange_underly... | 21194017 | 19 days ago | IN | 0 ETH | 0.01100364 | ||||
Exchange_underly... | 19605746 | 241 days ago | IN | 0 ETH | 0.00409972 | ||||
Exchange_underly... | 18055900 | 458 days ago | IN | 0 ETH | 0.0034716 | ||||
Exchange_underly... | 17707340 | 507 days ago | IN | 0 ETH | 0.00543175 | ||||
Exchange_underly... | 16926087 | 617 days ago | IN | 0 ETH | 0.0078078 | ||||
Exchange_underly... | 16822146 | 631 days ago | IN | 0 ETH | 0.0071596 | ||||
Exchange_underly... | 16821613 | 631 days ago | IN | 0 ETH | 0.01007875 | ||||
Exchange_underly... | 16589360 | 664 days ago | IN | 0 ETH | 0.00666459 | ||||
Exchange_underly... | 16582655 | 665 days ago | IN | 0 ETH | 0.00838867 | ||||
Exchange_underly... | 16483889 | 679 days ago | IN | 0 ETH | 0.00593096 | ||||
Exchange_underly... | 16480181 | 679 days ago | IN | 0 ETH | 0.00636855 | ||||
Exchange_underly... | 16469513 | 681 days ago | IN | 0 ETH | 0.00416793 | ||||
Exchange_underly... | 16258322 | 710 days ago | IN | 0 ETH | 0.00414841 | ||||
Exchange_underly... | 16258267 | 710 days ago | IN | 0 ETH | 0.00399092 | ||||
Remove_liquidity... | 16222992 | 715 days ago | IN | 0 ETH | 0.00209706 | ||||
Exchange_underly... | 16036865 | 741 days ago | IN | 0 ETH | 0.00359706 | ||||
Exchange_underly... | 16030056 | 742 days ago | IN | 0 ETH | 0.00432702 | ||||
Exchange_underly... | 15951730 | 753 days ago | IN | 0 ETH | 0.00463159 | ||||
Exchange_underly... | 15951716 | 753 days ago | IN | 0 ETH | 0.00501396 | ||||
Exchange_underly... | 15741593 | 782 days ago | IN | 0 ETH | 0.00605222 | ||||
Exchange_underly... | 15450852 | 825 days ago | IN | 0 ETH | 0.00333818 | ||||
Exchange_underly... | 15419733 | 830 days ago | IN | 0 ETH | 0.00228626 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Vyper_contract
Compiler Version
vyper:0.2.7
Contract Source Code (Vyper language format)
# @version 0.2.7 """ @title Curve tBTC Metapool @author Curve.Fi @license Copyright (c) Curve.Fi, 2020 - all rights reserved @dev Utilizes 3Pool to allow swaps between tBTC / DAI / USDC / USDT """ from vyper.interfaces import ERC20 interface CurveToken: def totalSupply() -> uint256: view def mint(_to: address, _value: uint256) -> bool: nonpayable def burnFrom(_to: address, _value: uint256) -> bool: nonpayable interface Curve: def coins(i: int128) -> address: view def get_virtual_price() -> uint256: view def calc_token_amount(amounts: uint256[BASE_N_COINS], deposit: bool) -> uint256: view def calc_withdraw_one_coin(_token_amount: uint256, i: int128) -> uint256: view def fee() -> uint256: view def get_dy(i: int128, j: int128, dx: uint256) -> uint256: view def get_dy_underlying(i: int128, j: int128, dx: uint256) -> uint256: view def exchange(i: int128, j: int128, dx: uint256, min_dy: uint256): nonpayable def add_liquidity(amounts: uint256[BASE_N_COINS], min_mint_amount: uint256): nonpayable def remove_liquidity_one_coin(_token_amount: uint256, i: int128, min_amount: uint256): nonpayable # Events event TokenExchange: buyer: indexed(address) sold_id: int128 tokens_sold: uint256 bought_id: int128 tokens_bought: uint256 event TokenExchangeUnderlying: buyer: indexed(address) sold_id: int128 tokens_sold: uint256 bought_id: int128 tokens_bought: uint256 event AddLiquidity: provider: indexed(address) token_amounts: uint256[N_COINS] fees: uint256[N_COINS] invariant: uint256 token_supply: uint256 event RemoveLiquidity: provider: indexed(address) token_amounts: uint256[N_COINS] fees: uint256[N_COINS] token_supply: uint256 event RemoveLiquidityOne: provider: indexed(address) token_amount: uint256 coin_amount: uint256 token_supply: uint256 event RemoveLiquidityImbalance: provider: indexed(address) token_amounts: uint256[N_COINS] fees: uint256[N_COINS] invariant: uint256 token_supply: uint256 event CommitNewAdmin: deadline: indexed(uint256) admin: indexed(address) event NewAdmin: admin: indexed(address) event CommitNewFee: deadline: indexed(uint256) fee: uint256 admin_fee: uint256 event NewFee: fee: uint256 admin_fee: uint256 event RampA: old_A: uint256 new_A: uint256 initial_time: uint256 future_time: uint256 event StopRampA: A: uint256 t: uint256 N_COINS: constant(int128) = 2 MAX_COIN: constant(int128) = N_COINS - 1 FEE_DENOMINATOR: constant(uint256) = 10 ** 10 PRECISION: constant(uint256) = 10 ** 18 # The precision to convert to PRECISION_MUL: constant(uint256[N_COINS]) = [1, 1] RATES: constant(uint256[N_COINS]) = [1000000000000000000, 1000000000000000000] BASE_N_COINS: constant(int128) = 3 # An asset which may have a transfer fee (renBTC) FEE_ASSET: constant(address) = 0xEB4C2781e4ebA804CE9a9803C67d0893436bB27D MAX_ADMIN_FEE: constant(uint256) = 10 * 10 ** 9 MAX_FEE: constant(uint256) = 5 * 10 ** 9 MAX_A: constant(uint256) = 10 ** 6 MAX_A_CHANGE: constant(uint256) = 10 ADMIN_ACTIONS_DELAY: constant(uint256) = 3 * 86400 MIN_RAMP_TIME: constant(uint256) = 86400 coins: public(address[N_COINS]) balances: public(uint256[N_COINS]) fee: public(uint256) # fee * 1e10 admin_fee: public(uint256) # admin_fee * 1e10 owner: public(address) token: public(CurveToken) # Token corresponding to the pool is always the last one BASE_POOL_COINS: constant(int128) = 3 BASE_CACHE_EXPIRES: constant(int128) = 10 * 60 # 10 min base_pool: public(address) base_virtual_price: public(uint256) base_cache_updated: public(uint256) base_coins: public(address[BASE_POOL_COINS]) A_PRECISION: constant(uint256) = 100 initial_A: public(uint256) future_A: public(uint256) initial_A_time: public(uint256) future_A_time: public(uint256) admin_actions_deadline: public(uint256) transfer_ownership_deadline: public(uint256) future_fee: public(uint256) future_admin_fee: public(uint256) future_owner: public(address) is_killed: bool kill_deadline: uint256 KILL_DEADLINE_DT: constant(uint256) = 2 * 30 * 86400 @external def __init__( _owner: address, _coins: address[N_COINS], _pool_token: address, _base_pool: address, _A: uint256, _fee: uint256, _admin_fee: uint256 ): """ @notice Contract constructor @param _owner Contract owner address @param _coins Addresses of ERC20 conracts of coins @param _pool_token Address of the token representing LP share @param _base_pool Address of the base pool (which will have a virtual price) @param _A Amplification coefficient multiplied by n * (n - 1) @param _fee Fee to charge for exchanges @param _admin_fee Admin fee """ for i in range(N_COINS): assert _coins[i] != ZERO_ADDRESS self.coins = _coins self.initial_A = _A * A_PRECISION self.future_A = _A * A_PRECISION self.fee = _fee self.admin_fee = _admin_fee self.owner = _owner self.kill_deadline = block.timestamp + KILL_DEADLINE_DT self.token = CurveToken(_pool_token) self.base_pool = _base_pool self.base_virtual_price = Curve(_base_pool).get_virtual_price() self.base_cache_updated = block.timestamp for i in range(BASE_POOL_COINS): _base_coin: address = Curve(_base_pool).coins(i) self.base_coins[i] = _base_coin # approve underlying coins for infinite transfers _response: Bytes[32] = raw_call( _base_coin, concat( method_id("approve(address,uint256)"), convert(_base_pool, bytes32), convert(MAX_UINT256, bytes32), ), max_outsize=32, ) if len(_response) > 0: assert convert(_response, bool) @view @internal def _A() -> uint256: """ Handle ramping A up or down """ t1: uint256 = self.future_A_time A1: uint256 = self.future_A if block.timestamp < t1: A0: uint256 = self.initial_A t0: uint256 = self.initial_A_time # Expressions in uint256 cannot have negative numbers, thus "if" if A1 > A0: return A0 + (A1 - A0) * (block.timestamp - t0) / (t1 - t0) else: return A0 - (A0 - A1) * (block.timestamp - t0) / (t1 - t0) else: # when t1 == 0 or block.timestamp >= t1 return A1 @view @external def A() -> uint256: return self._A() / A_PRECISION @view @external def A_precise() -> uint256: return self._A() @view @internal def _xp(vp_rate: uint256) -> uint256[N_COINS]: result: uint256[N_COINS] = RATES result[MAX_COIN] = vp_rate # virtual price for the metacurrency for i in range(N_COINS): result[i] = result[i] * self.balances[i] / PRECISION return result @pure @internal def _xp_mem(vp_rate: uint256, _balances: uint256[N_COINS]) -> uint256[N_COINS]: result: uint256[N_COINS] = RATES result[MAX_COIN] = vp_rate # virtual price for the metacurrency for i in range(N_COINS): result[i] = result[i] * _balances[i] / PRECISION return result @internal def _vp_rate() -> uint256: if block.timestamp > self.base_cache_updated + BASE_CACHE_EXPIRES: vprice: uint256 = Curve(self.base_pool).get_virtual_price() self.base_virtual_price = vprice self.base_cache_updated = block.timestamp return vprice else: return self.base_virtual_price @internal @view def _vp_rate_ro() -> uint256: if block.timestamp > self.base_cache_updated + BASE_CACHE_EXPIRES: return Curve(self.base_pool).get_virtual_price() else: return self.base_virtual_price @pure @internal def get_D(xp: uint256[N_COINS], amp: uint256) -> uint256: S: uint256 = 0 Dprev: uint256 = 0 for _x in xp: S += _x if S == 0: return 0 D: uint256 = S Ann: uint256 = amp * N_COINS for _i in range(255): D_P: uint256 = D for _x in xp: D_P = D_P * D / (_x * N_COINS) # If division by 0, this will be borked: only withdrawal will work. And that is good Dprev = D D = (Ann * S / A_PRECISION + D_P * N_COINS) * D / ((Ann - A_PRECISION) * D / A_PRECISION + (N_COINS + 1) * D_P) # Equality with the precision of 1 if D > Dprev: if D - Dprev <= 1: break else: if Dprev - D <= 1: break return D @view @internal def get_D_mem(vp_rate: uint256, _balances: uint256[N_COINS], amp: uint256) -> uint256: xp: uint256[N_COINS] = self._xp_mem(vp_rate, _balances) return self.get_D(xp, amp) @view @external def get_virtual_price() -> uint256: """ @notice The current virtual price of the pool LP token @dev Useful for calculating profits @return LP token virtual price normalized to 1e18 """ amp: uint256 = self._A() vp_rate: uint256 = self._vp_rate_ro() xp: uint256[N_COINS] = self._xp(vp_rate) D: uint256 = self.get_D(xp, amp) # D is in the units similar to DAI (e.g. converted to precision 1e18) # When balanced, D = n * x_u - total virtual value of the portfolio token_supply: uint256 = self.token.totalSupply() return D * PRECISION / token_supply @view @external def calc_token_amount(amounts: uint256[N_COINS], is_deposit: bool) -> uint256: """ @notice Calculate addition or reduction in token supply from a deposit or withdrawal @dev This calculation accounts for slippage, but not fees. Needed to prevent front-running, not for precise calculations! @param amounts Amount of each coin being deposited @param is_deposit set True for deposits, False for withdrawals @return Expected amount of LP tokens received """ amp: uint256 = self._A() vp_rate: uint256 = self._vp_rate_ro() _balances: uint256[N_COINS] = self.balances D0: uint256 = self.get_D_mem(vp_rate, _balances, amp) for i in range(N_COINS): if is_deposit: _balances[i] += amounts[i] else: _balances[i] -= amounts[i] D1: uint256 = self.get_D_mem(vp_rate, _balances, amp) token_amount: uint256 = self.token.totalSupply() diff: uint256 = 0 if is_deposit: diff = D1 - D0 else: diff = D0 - D1 return diff * token_amount / D0 @external @nonreentrant('lock') def add_liquidity(amounts: uint256[N_COINS], min_mint_amount: uint256) -> uint256: """ @notice Deposit coins into the pool @param amounts List of amounts of coins to deposit @param min_mint_amount Minimum amount of LP tokens to mint from the deposit @return Amount of LP tokens received by depositing """ assert not self.is_killed # dev: is killed amp: uint256 = self._A() vp_rate: uint256 = self._vp_rate() token_supply: uint256 = self.token.totalSupply() _fee: uint256 = self.fee * N_COINS / (4 * (N_COINS - 1)) _admin_fee: uint256 = self.admin_fee # Initial invariant D0: uint256 = 0 old_balances: uint256[N_COINS] = self.balances if token_supply > 0: D0 = self.get_D_mem(vp_rate, old_balances, amp) new_balances: uint256[N_COINS] = old_balances for i in range(N_COINS): if token_supply == 0: assert amounts[i] > 0 # dev: initial deposit requires all coins # balances store amounts of c-tokens new_balances[i] = old_balances[i] + amounts[i] # Invariant after change D1: uint256 = self.get_D_mem(vp_rate, new_balances, amp) assert D1 > D0 # We need to recalculate the invariant accounting for fees # to calculate fair user's share fees: uint256[N_COINS] = empty(uint256[N_COINS]) D2: uint256 = D1 if token_supply > 0: # Only account for fees if we are not the first to deposit for i in range(N_COINS): ideal_balance: uint256 = D1 * old_balances[i] / D0 difference: uint256 = 0 if ideal_balance > new_balances[i]: difference = ideal_balance - new_balances[i] else: difference = new_balances[i] - ideal_balance fees[i] = _fee * difference / FEE_DENOMINATOR self.balances[i] = new_balances[i] - (fees[i] * _admin_fee / FEE_DENOMINATOR) new_balances[i] -= fees[i] D2 = self.get_D_mem(vp_rate, new_balances, amp) else: self.balances = new_balances # Calculate, how much pool tokens to mint mint_amount: uint256 = 0 if token_supply == 0: mint_amount = D1 # Take the dust if there was any else: mint_amount = token_supply * (D2 - D0) / D0 assert mint_amount >= min_mint_amount, "Slippage screwed you" # Take coins from the sender for i in range(N_COINS): if amounts[i] > 0: assert ERC20(self.coins[i]).transferFrom(msg.sender, self, amounts[i]) # dev: failed transfer # Mint pool tokens self.token.mint(msg.sender, mint_amount) log AddLiquidity(msg.sender, amounts, fees, D1, token_supply + mint_amount) return mint_amount @view @internal def get_y(i: int128, j: int128, x: uint256, xp_: uint256[N_COINS]) -> uint256: # x in the input is converted to the same price/precision assert i != j # dev: same coin assert j >= 0 # dev: j below zero assert j < N_COINS # dev: j above N_COINS # should be unreachable, but good for safety assert i >= 0 assert i < N_COINS amp: uint256 = self._A() D: uint256 = self.get_D(xp_, amp) S_: uint256 = 0 _x: uint256 = 0 y_prev: uint256 = 0 c: uint256 = D Ann: uint256 = amp * N_COINS for _i in range(N_COINS): if _i == i: _x = x elif _i != j: _x = xp_[_i] else: continue S_ += _x c = c * D / (_x * N_COINS) c = c * D * A_PRECISION / (Ann * N_COINS) b: uint256 = S_ + D * A_PRECISION / Ann # - D y: uint256 = D for _i in range(255): y_prev = y y = (y*y + c) / (2 * y + b - D) # Equality with the precision of 1 if y > y_prev: if y - y_prev <= 1: break else: if y_prev - y <= 1: break return y @view @external def get_dy(i: int128, j: int128, dx: uint256) -> uint256: # dx and dy in c-units rates: uint256[N_COINS] = RATES rates[MAX_COIN] = self._vp_rate_ro() xp: uint256[N_COINS] = self._xp(rates[MAX_COIN]) x: uint256 = xp[i] + (dx * rates[i] / PRECISION) y: uint256 = self.get_y(i, j, x, xp) dy: uint256 = xp[j] - y - 1 _fee: uint256 = self.fee * dy / FEE_DENOMINATOR return (dy - _fee) * PRECISION / rates[j] @view @external def get_dy_underlying(i: int128, j: int128, dx: uint256) -> uint256: # dx and dy in underlying units vp_rate: uint256 = self._vp_rate_ro() xp: uint256[N_COINS] = self._xp(vp_rate) precisions: uint256[N_COINS] = PRECISION_MUL _base_pool: address = self.base_pool # Use base_i or base_j if they are >= 0 base_i: int128 = i - MAX_COIN base_j: int128 = j - MAX_COIN meta_i: int128 = MAX_COIN meta_j: int128 = MAX_COIN if base_i < 0: meta_i = i if base_j < 0: meta_j = j x: uint256 = 0 if base_i < 0: x = xp[i] + dx * precisions[i] else: if base_j < 0: # i is from BasePool # At first, get the amount of pool tokens base_inputs: uint256[BASE_N_COINS] = empty(uint256[BASE_N_COINS]) base_inputs[base_i] = dx # Token amount transformed to underlying "dollars" x = Curve(_base_pool).calc_token_amount(base_inputs, True) * vp_rate / PRECISION # Accounting for deposit/withdraw fees approximately x -= x * Curve(_base_pool).fee() / (2 * FEE_DENOMINATOR) # Adding number of pool tokens x += xp[MAX_COIN] else: # If both are from the base pool return Curve(_base_pool).get_dy(base_i, base_j, dx) # This pool is involved only when in-pool assets are used y: uint256 = self.get_y(meta_i, meta_j, x, xp) dy: uint256 = xp[meta_j] - y - 1 dy = (dy - self.fee * dy / FEE_DENOMINATOR) # If output is going via the metapool if base_j < 0: dy /= precisions[meta_j] else: # j is from BasePool # The fee is already accounted for dy = Curve(_base_pool).calc_withdraw_one_coin(dy * PRECISION / vp_rate, base_j) return dy @external @nonreentrant('lock') def exchange(i: int128, j: int128, dx: uint256, min_dy: uint256) -> uint256: """ @notice Perform an exchange between two coins @dev Index values can be found via the `coins` public getter method @param i Index value for the coin to send @param j Index valie of the coin to recieve @param dx Amount of `i` being exchanged @param min_dy Minimum amount of `j` to receive @return Actual amount of `j` received """ assert not self.is_killed # dev: is killed rates: uint256[N_COINS] = RATES rates[MAX_COIN] = self._vp_rate() old_balances: uint256[N_COINS] = self.balances xp: uint256[N_COINS] = self._xp_mem(rates[MAX_COIN], old_balances) x: uint256 = xp[i] + dx * rates[i] / PRECISION y: uint256 = self.get_y(i, j, x, xp) dy: uint256 = xp[j] - y - 1 # -1 just in case there were some rounding errors dy_fee: uint256 = dy * self.fee / FEE_DENOMINATOR # Convert all to real units dy = (dy - dy_fee) * PRECISION / rates[j] assert dy >= min_dy, "Too few coins in result" dy_admin_fee: uint256 = dy_fee * self.admin_fee / FEE_DENOMINATOR dy_admin_fee = dy_admin_fee * PRECISION / rates[j] # Change balances exactly in same way as we change actual ERC20 coin amounts self.balances[i] = old_balances[i] + dx # When rounding errors happen, we undercharge admin fee in favor of LP self.balances[j] = old_balances[j] - dy - dy_admin_fee assert ERC20(self.coins[i]).transferFrom(msg.sender, self, dx) assert ERC20(self.coins[j]).transfer(msg.sender, dy) log TokenExchange(msg.sender, i, dx, j, dy) return dy @external @nonreentrant('lock') def exchange_underlying(i: int128, j: int128, dx: uint256, min_dy: uint256) -> uint256: """ @notice Perform an exchange between two underlying coins @dev Index values can be found via the `underlying_coins` public getter method @param i Index value for the underlying coin to send @param j Index valie of the underlying coin to recieve @param dx Amount of `i` being exchanged @param min_dy Minimum amount of `j` to receive @return Actual amount of `j` received """ assert not self.is_killed # dev: is killed rates: uint256[N_COINS] = RATES rates[MAX_COIN] = self._vp_rate() _base_pool: address = self.base_pool # Use base_i or base_j if they are >= 0 base_i: int128 = i - MAX_COIN base_j: int128 = j - MAX_COIN meta_i: int128 = MAX_COIN meta_j: int128 = MAX_COIN if base_i < 0: meta_i = i if base_j < 0: meta_j = j dy: uint256 = 0 # Addresses for input and output coins input_coin: address = ZERO_ADDRESS if base_i < 0: input_coin = self.coins[i] else: input_coin = self.base_coins[base_i] output_coin: address = ZERO_ADDRESS if base_j < 0: output_coin = self.coins[j] else: output_coin = self.base_coins[base_j] # Handle potential Tether fees dx_w_fee: uint256 = dx if input_coin == FEE_ASSET: dx_w_fee = ERC20(FEE_ASSET).balanceOf(self) # "safeTransferFrom" which works for ERC20s which return bool or not _response: Bytes[32] = raw_call( input_coin, concat( method_id("transferFrom(address,address,uint256)"), convert(msg.sender, bytes32), convert(self, bytes32), convert(dx, bytes32), ), max_outsize=32, ) # dev: failed transfer if len(_response) > 0: assert convert(_response, bool) # dev: failed transfer # end "safeTransferFrom" # Handle potential Tether fees if input_coin == FEE_ASSET: dx_w_fee = ERC20(FEE_ASSET).balanceOf(self) - dx_w_fee if base_i < 0 or base_j < 0: old_balances: uint256[N_COINS] = self.balances xp: uint256[N_COINS] = self._xp_mem(rates[MAX_COIN], old_balances) x: uint256 = 0 if base_i < 0: x = xp[i] + dx_w_fee * rates[i] / PRECISION else: # i is from BasePool # At first, get the amount of pool tokens base_inputs: uint256[BASE_N_COINS] = empty(uint256[BASE_N_COINS]) base_inputs[base_i] = dx_w_fee coin_i: address = self.coins[MAX_COIN] # Deposit and measure delta x = ERC20(coin_i).balanceOf(self) Curve(_base_pool).add_liquidity(base_inputs, 0) # Need to convert pool token to "virtual" units using rates # dx is also different now dx_w_fee = ERC20(coin_i).balanceOf(self) - x x = dx_w_fee * rates[MAX_COIN] / PRECISION # Adding number of pool tokens x += xp[MAX_COIN] y: uint256 = self.get_y(meta_i, meta_j, x, xp) # Either a real coin or token dy = xp[meta_j] - y - 1 # -1 just in case there were some rounding errors dy_fee: uint256 = dy * self.fee / FEE_DENOMINATOR # Convert all to real units # Works for both pool coins and real coins dy = (dy - dy_fee) * PRECISION / rates[meta_j] dy_admin_fee: uint256 = dy_fee * self.admin_fee / FEE_DENOMINATOR dy_admin_fee = dy_admin_fee * PRECISION / rates[meta_j] # Change balances exactly in same way as we change actual ERC20 coin amounts self.balances[meta_i] = old_balances[meta_i] + dx_w_fee # When rounding errors happen, we undercharge admin fee in favor of LP self.balances[meta_j] = old_balances[meta_j] - dy - dy_admin_fee # Withdraw from the base pool if needed if base_j >= 0: out_amount: uint256 = ERC20(output_coin).balanceOf(self) Curve(_base_pool).remove_liquidity_one_coin(dy, base_j, 0) dy = ERC20(output_coin).balanceOf(self) - out_amount assert dy >= min_dy, "Too few coins in result" else: # If both are from the base pool dy = ERC20(output_coin).balanceOf(self) Curve(_base_pool).exchange(base_i, base_j, dx_w_fee, min_dy) dy = ERC20(output_coin).balanceOf(self) - dy # "safeTransfer" which works for ERC20s which return bool or not _response = raw_call( output_coin, concat( method_id("transfer(address,uint256)"), convert(msg.sender, bytes32), convert(dy, bytes32), ), max_outsize=32, ) # dev: failed transfer if len(_response) > 0: assert convert(_response, bool) # dev: failed transfer # end "safeTransfer" log TokenExchangeUnderlying(msg.sender, i, dx, j, dy) return dy @external @nonreentrant('lock') def remove_liquidity(_amount: uint256, min_amounts: uint256[N_COINS]) -> uint256[N_COINS]: """ @notice Withdraw coins from the pool @dev Withdrawal amounts are based on current deposit ratios @param _amount Quantity of LP tokens to burn in the withdrawal @param min_amounts Minimum amounts of underlying coins to receive @return List of amounts of coins that were withdrawn """ total_supply: uint256 = self.token.totalSupply() amounts: uint256[N_COINS] = empty(uint256[N_COINS]) fees: uint256[N_COINS] = empty(uint256[N_COINS]) # Fees are unused but we've got them historically in event for i in range(N_COINS): value: uint256 = self.balances[i] * _amount / total_supply assert value >= min_amounts[i], "Too few coins in result" self.balances[i] -= value amounts[i] = value assert ERC20(self.coins[i]).transfer(msg.sender, value) self.token.burnFrom(msg.sender, _amount) # dev: insufficient funds log RemoveLiquidity(msg.sender, amounts, fees, total_supply - _amount) return amounts @external @nonreentrant('lock') def remove_liquidity_imbalance(amounts: uint256[N_COINS], max_burn_amount: uint256) -> uint256: """ @notice Withdraw coins from the pool in an imbalanced amount @param amounts List of amounts of underlying coins to withdraw @param max_burn_amount Maximum amount of LP token to burn in the withdrawal @return Actual amount of the LP token burned in the withdrawal """ assert not self.is_killed # dev: is killed amp: uint256 = self._A() vp_rate: uint256 = self._vp_rate() token_supply: uint256 = self.token.totalSupply() assert token_supply != 0 # dev: zero total supply _fee: uint256 = self.fee * N_COINS / (4 * (N_COINS - 1)) _admin_fee: uint256 = self.admin_fee old_balances: uint256[N_COINS] = self.balances new_balances: uint256[N_COINS] = old_balances D0: uint256 = self.get_D_mem(vp_rate, old_balances, amp) for i in range(N_COINS): new_balances[i] -= amounts[i] D1: uint256 = self.get_D_mem(vp_rate, new_balances, amp) fees: uint256[N_COINS] = empty(uint256[N_COINS]) for i in range(N_COINS): ideal_balance: uint256 = D1 * old_balances[i] / D0 difference: uint256 = 0 if ideal_balance > new_balances[i]: difference = ideal_balance - new_balances[i] else: difference = new_balances[i] - ideal_balance fees[i] = _fee * difference / FEE_DENOMINATOR self.balances[i] = new_balances[i] - (fees[i] * _admin_fee / FEE_DENOMINATOR) new_balances[i] -= fees[i] D2: uint256 = self.get_D_mem(vp_rate, new_balances, amp) token_amount: uint256 = (D0 - D2) * token_supply / D0 assert token_amount != 0 # dev: zero tokens burned token_amount += 1 # In case of rounding errors - make it unfavorable for the "attacker" assert token_amount <= max_burn_amount, "Slippage screwed you" self.token.burnFrom(msg.sender, token_amount) # dev: insufficient funds for i in range(N_COINS): if amounts[i] != 0: assert ERC20(self.coins[i]).transfer(msg.sender, amounts[i]) log RemoveLiquidityImbalance(msg.sender, amounts, fees, D1, token_supply - token_amount) return token_amount @view @internal def get_y_D(A_: uint256, i: int128, xp: uint256[N_COINS], D: uint256) -> uint256: """ Calculate x[i] if one reduces D from being calculated for xp to D Done by solving quadratic equation iteratively. x_1**2 + x1 * (sum' - (A*n**n - 1) * D / (A * n**n)) = D ** (n + 1) / (n ** (2 * n) * prod' * A) x_1**2 + b*x_1 = c x_1 = (x_1**2 + c) / (2*x_1 + b) """ # x in the input is converted to the same price/precision assert i >= 0 # dev: i below zero assert i < N_COINS # dev: i above N_COINS S_: uint256 = 0 _x: uint256 = 0 y_prev: uint256 = 0 c: uint256 = D Ann: uint256 = A_ * N_COINS for _i in range(N_COINS): if _i != i: _x = xp[_i] else: continue S_ += _x c = c * D / (_x * N_COINS) c = c * D * A_PRECISION / (Ann * N_COINS) b: uint256 = S_ + D * A_PRECISION / Ann y: uint256 = D for _i in range(255): y_prev = y y = (y*y + c) / (2 * y + b - D) # Equality with the precision of 1 if y > y_prev: if y - y_prev <= 1: break else: if y_prev - y <= 1: break return y @view @internal def _calc_withdraw_one_coin(_token_amount: uint256, i: int128, vp_rate: uint256) -> (uint256, uint256, uint256): # First, need to calculate # * Get current D # * Solve Eqn against y_i for D - _token_amount amp: uint256 = self._A() xp: uint256[N_COINS] = self._xp(vp_rate) D0: uint256 = self.get_D(xp, amp) total_supply: uint256 = self.token.totalSupply() D1: uint256 = D0 - _token_amount * D0 / total_supply new_y: uint256 = self.get_y_D(amp, i, xp, D1) _fee: uint256 = self.fee * N_COINS / (4 * (N_COINS - 1)) rates: uint256[N_COINS] = RATES rates[MAX_COIN] = vp_rate xp_reduced: uint256[N_COINS] = xp dy_0: uint256 = (xp[i] - new_y) * PRECISION / rates[i] # w/o fees for j in range(N_COINS): dx_expected: uint256 = 0 if j == i: dx_expected = xp[j] * D1 / D0 - new_y else: dx_expected = xp[j] - xp[j] * D1 / D0 xp_reduced[j] -= _fee * dx_expected / FEE_DENOMINATOR dy: uint256 = xp_reduced[i] - self.get_y_D(amp, i, xp_reduced, D1) dy = (dy - 1) * PRECISION / rates[i] # Withdraw less to account for rounding errors return dy, dy_0 - dy, total_supply @view @external def calc_withdraw_one_coin(_token_amount: uint256, i: int128) -> uint256: """ @notice Calculate the amount received when withdrawing a single coin @param _token_amount Amount of LP tokens to burn in the withdrawal @param i Index value of the coin to withdraw @return Amount of coin received """ vp_rate: uint256 = self._vp_rate_ro() return self._calc_withdraw_one_coin(_token_amount, i, vp_rate)[0] @external @nonreentrant('lock') def remove_liquidity_one_coin(_token_amount: uint256, i: int128, _min_amount: uint256) -> uint256: """ @notice Withdraw a single coin from the pool @param _token_amount Amount of LP tokens to burn in the withdrawal @param i Index value of the coin to withdraw @param _min_amount Minimum amount of coin to receive @return Amount of coin received """ assert not self.is_killed # dev: is killed vp_rate: uint256 = self._vp_rate() dy: uint256 = 0 dy_fee: uint256 = 0 total_supply: uint256 = 0 dy, dy_fee, total_supply = self._calc_withdraw_one_coin(_token_amount, i, vp_rate) assert dy >= _min_amount, "Not enough coins removed" self.balances[i] -= (dy + dy_fee * self.admin_fee / FEE_DENOMINATOR) self.token.burnFrom(msg.sender, _token_amount) # dev: insufficient funds assert ERC20(self.coins[i]).transfer(msg.sender, dy) log RemoveLiquidityOne(msg.sender, _token_amount, dy, total_supply - _token_amount) return dy ### Admin functions ### @external def ramp_A(_future_A: uint256, _future_time: uint256): assert msg.sender == self.owner # dev: only owner assert block.timestamp >= self.initial_A_time + MIN_RAMP_TIME assert _future_time >= block.timestamp + MIN_RAMP_TIME # dev: insufficient time _initial_A: uint256 = self._A() _future_A_p: uint256 = _future_A * A_PRECISION assert _future_A > 0 and _future_A < MAX_A if _future_A_p < _initial_A: assert _future_A_p * MAX_A_CHANGE >= _initial_A else: assert _future_A_p <= _initial_A * MAX_A_CHANGE self.initial_A = _initial_A self.future_A = _future_A_p self.initial_A_time = block.timestamp self.future_A_time = _future_time log RampA(_initial_A, _future_A_p, block.timestamp, _future_time) @external def stop_ramp_A(): assert msg.sender == self.owner # dev: only owner current_A: uint256 = self._A() self.initial_A = current_A self.future_A = current_A self.initial_A_time = block.timestamp self.future_A_time = block.timestamp # now (block.timestamp < t1) is always False, so we return saved A log StopRampA(current_A, block.timestamp) @external def commit_new_fee(new_fee: uint256, new_admin_fee: uint256): assert msg.sender == self.owner # dev: only owner assert self.admin_actions_deadline == 0 # dev: active action assert new_fee <= MAX_FEE # dev: fee exceeds maximum assert new_admin_fee <= MAX_ADMIN_FEE # dev: admin fee exceeds maximum _deadline: uint256 = block.timestamp + ADMIN_ACTIONS_DELAY self.admin_actions_deadline = _deadline self.future_fee = new_fee self.future_admin_fee = new_admin_fee log CommitNewFee(_deadline, new_fee, new_admin_fee) @external def apply_new_fee(): assert msg.sender == self.owner # dev: only owner assert block.timestamp >= self.admin_actions_deadline # dev: insufficient time assert self.admin_actions_deadline != 0 # dev: no active action self.admin_actions_deadline = 0 _fee: uint256 = self.future_fee _admin_fee: uint256 = self.future_admin_fee self.fee = _fee self.admin_fee = _admin_fee log NewFee(_fee, _admin_fee) @external def revert_new_parameters(): assert msg.sender == self.owner # dev: only owner self.admin_actions_deadline = 0 @external def commit_transfer_ownership(_owner: address): assert msg.sender == self.owner # dev: only owner assert self.transfer_ownership_deadline == 0 # dev: active transfer _deadline: uint256 = block.timestamp + ADMIN_ACTIONS_DELAY self.transfer_ownership_deadline = _deadline self.future_owner = _owner log CommitNewAdmin(_deadline, _owner) @external def apply_transfer_ownership(): assert msg.sender == self.owner # dev: only owner assert block.timestamp >= self.transfer_ownership_deadline # dev: insufficient time assert self.transfer_ownership_deadline != 0 # dev: no active transfer self.transfer_ownership_deadline = 0 _owner: address = self.future_owner self.owner = _owner log NewAdmin(_owner) @external def revert_transfer_ownership(): assert msg.sender == self.owner # dev: only owner self.transfer_ownership_deadline = 0 @view @external def admin_balances(i: uint256) -> uint256: return ERC20(self.coins[i]).balanceOf(self) - self.balances[i] @external def withdraw_admin_fees(): assert msg.sender == self.owner # dev: only owner for i in range(N_COINS): c: address = self.coins[i] value: uint256 = ERC20(c).balanceOf(self) - self.balances[i] if value > 0: assert ERC20(c).transfer(msg.sender, value) @external def donate_admin_fees(): assert msg.sender == self.owner # dev: only owner for i in range(N_COINS): self.balances[i] = ERC20(self.coins[i]).balanceOf(self) @external def kill_me(): assert msg.sender == self.owner # dev: only owner assert self.kill_deadline > block.timestamp # dev: deadline has passed self.is_killed = True @external def unkill_me(): assert msg.sender == self.owner # dev: only owner self.is_killed = False
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"name":"TokenExchange","inputs":[{"type":"address","name":"buyer","indexed":true},{"type":"int128","name":"sold_id","indexed":false},{"type":"uint256","name":"tokens_sold","indexed":false},{"type":"int128","name":"bought_id","indexed":false},{"type":"uint256","name":"tokens_bought","indexed":false}],"anonymous":false,"type":"event"},{"name":"TokenExchangeUnderlying","inputs":[{"type":"address","name":"buyer","indexed":true},{"type":"int128","name":"sold_id","indexed":false},{"type":"uint256","name":"tokens_sold","indexed":false},{"type":"int128","name":"bought_id","indexed":false},{"type":"uint256","name":"tokens_bought","indexed":false}],"anonymous":false,"type":"event"},{"name":"AddLiquidity","inputs":[{"type":"address","name":"provider","indexed":true},{"type":"uint256[2]","name":"token_amounts","indexed":false},{"type":"uint256[2]","name":"fees","indexed":false},{"type":"uint256","name":"invariant","indexed":false},{"type":"uint256","name":"token_supply","indexed":false}],"anonymous":false,"type":"event"},{"name":"RemoveLiquidity","inputs":[{"type":"address","name":"provider","indexed":true},{"type":"uint256[2]","name":"token_amounts","indexed":false},{"type":"uint256[2]","name":"fees","indexed":false},{"type":"uint256","name":"token_supply","indexed":false}],"anonymous":false,"type":"event"},{"name":"RemoveLiquidityOne","inputs":[{"type":"address","name":"provider","indexed":true},{"type":"uint256","name":"token_amount","indexed":false},{"type":"uint256","name":"coin_amount","indexed":false},{"type":"uint256","name":"token_supply","indexed":false}],"anonymous":false,"type":"event"},{"name":"RemoveLiquidityImbalance","inputs":[{"type":"address","name":"provider","indexed":true},{"type":"uint256[2]","name":"token_amounts","indexed":false},{"type":"uint256[2]","name":"fees","indexed":false},{"type":"uint256","name":"invariant","indexed":false},{"type":"uint256","name":"token_supply","indexed":false}],"anonymous":false,"type":"event"},{"name":"CommitNewAdmin","inputs":[{"type":"uint256","name":"deadline","indexed":true},{"type":"address","name":"admin","indexed":true}],"anonymous":false,"type":"event"},{"name":"NewAdmin","inputs":[{"type":"address","name":"admin","indexed":true}],"anonymous":false,"type":"event"},{"name":"CommitNewFee","inputs":[{"type":"uint256","name":"deadline","indexed":true},{"type":"uint256","name":"fee","indexed":false},{"type":"uint256","name":"admin_fee","indexed":false}],"anonymous":false,"type":"event"},{"name":"NewFee","inputs":[{"type":"uint256","name":"fee","indexed":false},{"type":"uint256","name":"admin_fee","indexed":false}],"anonymous":false,"type":"event"},{"name":"RampA","inputs":[{"type":"uint256","name":"old_A","indexed":false},{"type":"uint256","name":"new_A","indexed":false},{"type":"uint256","name":"initial_time","indexed":false},{"type":"uint256","name":"future_time","indexed":false}],"anonymous":false,"type":"event"},{"name":"StopRampA","inputs":[{"type":"uint256","name":"A","indexed":false},{"type":"uint256","name":"t","indexed":false}],"anonymous":false,"type":"event"},{"outputs":[],"inputs":[{"type":"address","name":"_owner"},{"type":"address[2]","name":"_coins"},{"type":"address","name":"_pool_token"},{"type":"address","name":"_base_pool"},{"type":"uint256","name":"_A"},{"type":"uint256","name":"_fee"},{"type":"uint256","name":"_admin_fee"}],"stateMutability":"nonpayable","type":"constructor"},{"name":"A","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":5199},{"name":"A_precise","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":5161},{"name":"get_virtual_price","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":992460},{"name":"calc_token_amount","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"uint256[2]","name":"amounts"},{"type":"bool","name":"is_deposit"}],"stateMutability":"view","type":"function","gas":3938567},{"name":"add_liquidity","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"uint256[2]","name":"amounts"},{"type":"uint256","name":"min_mint_amount"}],"stateMutability":"nonpayable","type":"function","gas":6136485},{"name":"get_dy","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"int128","name":"i"},{"type":"int128","name":"j"},{"type":"uint256","name":"dx"}],"stateMutability":"view","type":"function","gas":2390018},{"name":"get_dy_underlying","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"int128","name":"i"},{"type":"int128","name":"j"},{"type":"uint256","name":"dx"}],"stateMutability":"view","type":"function","gas":2393224},{"name":"exchange","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"int128","name":"i"},{"type":"int128","name":"j"},{"type":"uint256","name":"dx"},{"type":"uint256","name":"min_dy"}],"stateMutability":"nonpayable","type":"function","gas":2617039},{"name":"exchange_underlying","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"int128","name":"i"},{"type":"int128","name":"j"},{"type":"uint256","name":"dx"},{"type":"uint256","name":"min_dy"}],"stateMutability":"nonpayable","type":"function","gas":2631854},{"name":"remove_liquidity","outputs":[{"type":"uint256[2]","name":""}],"inputs":[{"type":"uint256","name":"_amount"},{"type":"uint256[2]","name":"min_amounts"}],"stateMutability":"nonpayable","type":"function","gas":163158},{"name":"remove_liquidity_imbalance","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"uint256[2]","name":"amounts"},{"type":"uint256","name":"max_burn_amount"}],"stateMutability":"nonpayable","type":"function","gas":6136334},{"name":"calc_withdraw_one_coin","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"uint256","name":"_token_amount"},{"type":"int128","name":"i"}],"stateMutability":"view","type":"function","gas":4389},{"name":"remove_liquidity_one_coin","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"uint256","name":"_token_amount"},{"type":"int128","name":"i"},{"type":"uint256","name":"_min_amount"}],"stateMutability":"nonpayable","type":"function","gas":3826262},{"name":"ramp_A","outputs":[],"inputs":[{"type":"uint256","name":"_future_A"},{"type":"uint256","name":"_future_time"}],"stateMutability":"nonpayable","type":"function","gas":151894},{"name":"stop_ramp_A","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":148655},{"name":"commit_new_fee","outputs":[],"inputs":[{"type":"uint256","name":"new_fee"},{"type":"uint256","name":"new_admin_fee"}],"stateMutability":"nonpayable","type":"function","gas":110491},{"name":"apply_new_fee","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":97272},{"name":"revert_new_parameters","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":21925},{"name":"commit_transfer_ownership","outputs":[],"inputs":[{"type":"address","name":"_owner"}],"stateMutability":"nonpayable","type":"function","gas":74663},{"name":"apply_transfer_ownership","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":60740},{"name":"revert_transfer_ownership","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":22015},{"name":"admin_balances","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"uint256","name":"i"}],"stateMutability":"view","type":"function","gas":3511},{"name":"withdraw_admin_fees","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":9232},{"name":"donate_admin_fees","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":74995},{"name":"kill_me","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":38028},{"name":"unkill_me","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":22165},{"name":"coins","outputs":[{"type":"address","name":""}],"inputs":[{"type":"uint256","name":"arg0"}],"stateMutability":"view","type":"function","gas":2250},{"name":"balances","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"uint256","name":"arg0"}],"stateMutability":"view","type":"function","gas":2280},{"name":"fee","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2201},{"name":"admin_fee","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2231},{"name":"owner","outputs":[{"type":"address","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2261},{"name":"token","outputs":[{"type":"address","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2291},{"name":"base_pool","outputs":[{"type":"address","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2321},{"name":"base_virtual_price","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2351},{"name":"base_cache_updated","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2381},{"name":"base_coins","outputs":[{"type":"address","name":""}],"inputs":[{"type":"uint256","name":"arg0"}],"stateMutability":"view","type":"function","gas":2520},{"name":"initial_A","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2441},{"name":"future_A","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2471},{"name":"initial_A_time","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2501},{"name":"future_A_time","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2531},{"name":"admin_actions_deadline","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2561},{"name":"transfer_ownership_deadline","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2591},{"name":"future_fee","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2621},{"name":"future_admin_fee","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2651},{"name":"future_owner","outputs":[{"type":"address","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2681}]
Contract Creation Code
610100615ce3610140396020615ce360c03960c05160a01c1561002157600080fd5b60206020615ce30160c03960c05160a01c1561003c57600080fd5b60206040615ce30160c03960c05160a01c1561005757600080fd5b60206060615ce30160c03960c05160a01c1561007257600080fd5b60206080615ce30160c03960c05160a01c1561008d57600080fd5b61024060006002818352015b600061016061024051600281106100af57600080fd5b6020020151186100be57600080fd5b5b8151600101808352811415610099575b5050600060c052602060c020610160518155610180516001820155506101e0516064808202821582848304141761010557600080fd5b80905090509050600a556101e0516064808202821582848304141761012957600080fd5b80905090509050600b5561020051600255610220516003556101405160045542624f1a0081818301101561015c57600080fd5b808201905090506014556101a0516005556101c05160065560206102a0600463bb7b8b806102405261025c6101c0515afa61019657600080fd5b601f3d116101a357600080fd5b6000506102a0516007554260085561024060006003818352015b602061030060246323746eb861028052610240516102a05261029c6101c0515afa6101e757600080fd5b601f3d116101f457600080fd5b600050610300516102605261026051610240516003811061021457600080fd5b600960c052602060c0200155600060046102e0527f095ea7b300000000000000000000000000000000000000000000000000000000610300526102e060048060208461034001018260208501600060045af15050805182019150506101c0516020826103400101526020810190507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602082610340010152602081019050806103405261034090508051602001806103e08284600060045af16102d657600080fd5b505060206104a06103e0516104006000610260515af16102f557600080fd5b60203d808211156103065780610308565b815b90509050610480526104808051602001806102808284600060045af161032d57600080fd5b505060006102805111156103805761028080602001516000825180602090131561035657600080fd5b809190121561036457600080fd5b806020036101000a8204905090509050151561037f57600080fd5b5b5b81516001018083528114156101bd575b5050615ccb56341561000a57600080fd5b60043610156100185761592d565b600035601c526000156101c1575b61014052600d5461016052600b5461018052610160514210156101ae57600a546101a052600c546101c0526101a051610180511115610107576101a051610180516101a0518082101561007857600080fd5b80820390509050426101c0518082101561009157600080fd5b8082039050905080820282158284830414176100ac57600080fd5b80905090509050610160516101c051808210156100c857600080fd5b8082039050905080806100da57600080fd5b8204905090508181830110156100ef57600080fd5b808201905090506000526000516101405156506101a9565b6101a0516101a051610180518082101561012057600080fd5b80820390509050426101c0518082101561013957600080fd5b80820390509050808202821582848304141761015457600080fd5b80905090509050610160516101c0518082101561017057600080fd5b80820390509050808061018257600080fd5b8204905090508082101561019557600080fd5b808203905090506000526000516101405156505b6101bf565b610180516000526000516101405156505b005b63f446c1d060005114156101f45760065801610026565b610140526101405160648082049050905060005260206000f350005b6376a2f0f0600051141561021e5760065801610026565b610140526101405160005260206000f350005b600015610325575b6101605261014052670de0b6b3a764000061018052670de0b6b3a76400006101a052610140516101a0526101c060006002818352015b6101806101c0516002811061027057600080fd5b60200201516101c0516002811061028657600080fd5b600160c052602060c020015480820282158284830414176102a657600080fd5b80905090509050670de0b6b3a7640000808204905090506101806101c051600281106102d157600080fd5b60200201525b815160010180835281141561025c575b505060406101c0525b60006101c0511115156103025761031e565b60206101c05103610180015160206101c051036101c0526102f0565b6101605156005b600015610430575b6101a052610140526101605261018052670de0b6b3a76400006101c052670de0b6b3a76400006101e052610140516101e05261020060006002818352015b6101c0610200516002811061037f57600080fd5b6020020151610160610200516002811061039857600080fd5b602002015180820282158284830414176103b157600080fd5b80905090509050670de0b6b3a7640000808204905090506101c061020051600281106103dc57600080fd5b60200201525b815160010180835281141561036b575b50506040610200525b60006102005111151561040d57610429565b602061020051036101c0015160206102005103610200526103fb565b6101a05156005b6000156104ca575b6101405260085461025881818301101561045157600080fd5b808201905090504211156104b85760206101e0600463bb7b8b806101805261019c6006545afa61048057600080fd5b601f3d1161048d57600080fd5b6000506101e051610160526101605160075542600855610160516000526000516101405156506104c8565b6007546000526000516101405156505b005b600015610551575b610140526008546102588181830110156104eb57600080fd5b8082019050905042111561053f5760206101c0600463bb7b8b806101605261017c6006545afa61051a57600080fd5b601f3d1161052757600080fd5b6000506101c05160005260005161014051565061054f565b6007546000526000516101405156505b005b600015610848575b6101a0526101405261016052610180526040366101c03761022060006002818352015b602061022051026101400151610200526101c08051610200518181830110156105a457600080fd5b808201905090508152505b815160010180835281141561057c575b50506101c05115156105da5760006000526000516101a05156505b6101c0516102005261018051600280820282158284830414176105fc57600080fd5b8090509050905061022052610240600060ff818352015b61020051610260526102a060006002818352015b60206102a051026101400151610280526102605161020051808202821582848304141761065357600080fd5b80905090509050610280516002808202821582848304141761067457600080fd5b80905090509050808061068657600080fd5b820490509050610260525b8151600101808352811415610627575b5050610200516101e052610220516101c05180820282158284830414176106c757600080fd5b8090509050905060648082049050905061026051600280820282158284830414176106f157600080fd5b8090509050905081818301101561070757600080fd5b8082019050905061020051808202821582848304141761072657600080fd5b809050905090506102205160648082101561074057600080fd5b8082039050905061020051808202821582848304141761075f57600080fd5b80905090509050606480820490509050600361026051808202821582848304141761078957600080fd5b8090509050905081818301101561079f57600080fd5b8082019050905080806107b157600080fd5b820490509050610200526101e0516102005111156107f8576001610200516101e051808210156107e057600080fd5b808203905090501115156107f357610834565b610823565b60016101e051610200518082101561080f57600080fd5b8082039050905011151561082257610834565b5b5b8151600101808352811415610613575b5050610200516000526000516101a0515650005b60001561095f575b6101c0526101405261016052610180526101a0526101405161016051610180516101a0516101c0516101e051610200516101405161022052610160516102405261018051610260526102605161024051610220516006580161032d565b6102c0526102e052610200526101e0526101c0526101a0526101805261016052610140526102c080516101e052806020015161020052506101405161016051610180516101a0516101c0516101e051610200516101e0516102205261020051610240526101a0516102605261026051610240516102205160065801610559565b6102c052610200526101e0526101c0526101a0526101805261016052610140526102c0516000526000516101c0515650005b63bb7b8b806000511415610ae1576101405160065801610026565b610160526101405261016051610140526101405161016051600658016104d2565b61018052610160526101405261018051610160526101405161016051610180516101a051610160516101c0526101c05160065801610226565b61022052610240526101a05261018052610160526101405261022080516101805280602001516101a052506101405161016051610180516101a0516101c051610180516101e0526101a05161020052610140516102205261022051610200516101e05160065801610559565b610280526101c0526101a052610180526101605261014052610280516101c052602061026060046318160ddd6102005261021c6005545afa610a8157600080fd5b601f3d11610a8e57600080fd5b600050610260516101e0526101c051670de0b6b3a76400008082028215828483041417610aba57600080fd5b809050905090506101e0518080610ad057600080fd5b82049050905060005260206000f350005b63ed8e84f36000511415610dd65760443560011c15610aff57600080fd5b6101405160065801610026565b610160526101405261016051610140526101405161016051600658016104d2565b610180526101605261014052610180516101605260018060c052602060c020546101805260018160c052602060c02001546101a052506101405161016051610180516101a0516101c051610160516101e05261018051610200526101a0516102205261014051610240526102405161022051610200516101e05160065801610850565b6102a0526101c0526101a0526101805261016052610140526102a0516101c0526101e060006002818352015b60443515610c34576101806101e05160028110610bf857600080fd5b60200201805160046101e05160028110610c1157600080fd5b6020020135818183011015610c2557600080fd5b80820190509050815250610c7e565b6101806101e05160028110610c4857600080fd5b60200201805160046101e05160028110610c6157600080fd5b602002013580821015610c7357600080fd5b808203905090508152505b5b8151600101808352811415610bdc575b50506101405161016051610180516101a0516101c0516101e051610160516102005261018051610220526101a0516102405261014051610260526102605161024051610220516102005160065801610850565b6102c0526101e0526101c0526101a0526101805261016052610140526102c0516101e052602061028060046318160ddd6102205261023c6005545afa610d2757600080fd5b601f3d11610d3457600080fd5b600050610280516102005260006102205260443515610d72576101e0516101c05180821015610d6257600080fd5b8082039050905061022052610d93565b6101c0516101e05180821015610d8757600080fd5b80820390509050610220525b61022051610200518082028215828483041417610daf57600080fd5b809050905090506101c0518080610dc557600080fd5b82049050905060005260206000f350005b630b4c7e4d60005114156116345762ffffff5415610df357600080fd5b600162ffffff5560135415610e0757600080fd5b6101405160065801610026565b61016052610140526101605161014052610140516101605160065801610438565b6101805261016052610140526101805161016052602061020060046318160ddd6101a0526101bc6005545afa610e6a57600080fd5b601f3d11610e7757600080fd5b600050610200516101805260025460028082028215828483041417610e9b57600080fd5b809050905090506004808204905090506101a0526003546101c05260006101e05260018060c052602060c020546102005260018160c052602060c020015461022052506000610180511115610f70576101405161016051610180516101a0516101c0516101e0516102005161022051610160516102405261020051610260526102205161028052610140516102a0526102a05161028051610260516102405160065801610850565b6103005261022052610200526101e0526101c0526101a052610180526101605261014052610300516101e0525b6102005161024052610220516102605261028060006002818352015b610180511515610fbb57600060046102805160028110610fab57600080fd5b602002013511610fba57600080fd5b5b6102006102805160028110610fcf57600080fd5b602002015160046102805160028110610fe757600080fd5b6020020135818183011015610ffb57600080fd5b80820190509050610240610280516002811061101657600080fd5b60200201525b8151600101808352811415610f8c575b50506101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161028051610160516102a052610240516102c052610260516102e0526101405161030052610300516102e0516102c0516102a05160065801610850565b6103605261028052610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405261036051610280526101e05161028051116110dd57600080fd5b6040366102a037610280516102e05260006101805111156113c25761030060006002818352015b61028051610200610300516002811061111c57600080fd5b6020020151808202821582848304141761113557600080fd5b809050905090506101e051808061114b57600080fd5b82049050905061032052600061034052610240610300516002811061116f57600080fd5b60200201516103205111156111b85761032051610240610300516002811061119657600080fd5b6020020151808210156111a857600080fd5b80820390509050610340526111ee565b61024061030051600281106111cc57600080fd5b602002015161032051808210156111e257600080fd5b80820390509050610340525b6101a05161034051808202821582848304141761120a57600080fd5b809050905090506402540be400808204905090506102a0610300516002811061123257600080fd5b6020020152610240610300516002811061124b57600080fd5b60200201516102a0610300516002811061126457600080fd5b60200201516101c051808202821582848304141761128157600080fd5b809050905090506402540be40080820490509050808210156112a257600080fd5b8082039050905061030051600281106112ba57600080fd5b600160c052602060c020015561024061030051600281106112da57600080fd5b6020020180516102a061030051600281106112f457600080fd5b60200201518082101561130657600080fd5b808203905090508152505b8151600101808352811415611104575b5050610140610300525b6103005151602061030051016103005261030061030051101561134d5761132b565b61016051610320526102405161034052610260516103605261014051610380526103805161036051610340516103205160065801610850565b6103e0526102e0610300525b61030051526020610300510361030052610140610300511015156113b557611392565b6103e0516102e0526113dd565b600160c052602060c020610240518155610260516001820155505b6000610300526101805115156113fa57610280516103005261144f565b610180516102e0516101e0518082101561141357600080fd5b80820390509050808202821582848304141761142e57600080fd5b809050905090506101e051808061144457600080fd5b820490509050610300525b60443561030051101515156114a3576308c379a0610320526020610340526014610360527f536c697070616765207363726577656420796f750000000000000000000000006103805261036050606461033cfd5b61032060006002818352015b6000600461032051600281106114c457600080fd5b6020020135111561155057602061040060646323b872dd6103405233610360523061038052600461032051600281106114fc57600080fd5b60200201356103a05261035c6000610320516002811061151b57600080fd5b600060c052602060c02001545af161153257600080fd5b601f3d1161153f57600080fd5b6000506104005161154f57600080fd5b5b5b81516001018083528114156114af575b505060206103c060446340c10f19610320523361034052610300516103605261033c60006005545af161159357600080fd5b601f3d116115a057600080fd5b6000506103c05060043561032052602435610340526102a051610360526102c05161038052610280516103a05261018051610300518181830110156115e457600080fd5b808201905090506103c052337f26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a76860c0610320a261030051600052600062ffffff5560206000f350600062ffffff55005b600015611aa5575b6101e0526101405261016052610180526101a0526101c05261016051610140511861166657600080fd5b600061016051121561167757600080fd5b6002610160511261168757600080fd5b600061014051121561169857600080fd5b600261014051126116a857600080fd5b6101405161016051610180516101a0516101c0516101e0516102005160065801610026565b61022052610200526101e0526101c0526101a05261018052610160526101405261022051610200526101405161016051610180516101a0516101c0516101e05161020051610220516101a051610240526101c05161026052610200516102805261028051610260516102405160065801610559565b6102e05261022052610200526101e0526101c0526101a0526101805261016052610140526102e0516102205260603661024037610220516102a052610200516002808202821582848304141761179757600080fd5b809050905090506102c0526102e060006002818352015b610140516102e05114156117c95761018051610260526117ff565b610160516102e05118156117f9576101a06102e051600281106117eb57600080fd5b6020020151610260526117fe565b61187b565b5b61024080516102605181818301101561181757600080fd5b808201905090508152506102a05161022051808202821582848304141761183d57600080fd5b80905090509050610260516002808202821582848304141761185e57600080fd5b80905090509050808061187057600080fd5b8204905090506102a0525b81516001018083528114156117ae575b50506102a0516102205180820282158284830414176118a957600080fd5b80905090509050606480820282158284830414176118c657600080fd5b809050905090506102c051600280820282158284830414176118e757600080fd5b8090509050905080806118f957600080fd5b8204905090506102a05261024051610220516064808202821582848304141761192157600080fd5b809050905090506102c051808061193757600080fd5b82049050905081818301101561194c57600080fd5b808201905090506102e0526102205161030052610320600060ff818352015b61030051610280526103005161030051808202821582848304141761198f57600080fd5b809050905090506102a0518181830110156119a957600080fd5b8082019050905060026103005180820282158284830414176119ca57600080fd5b809050905090506102e0518181830110156119e457600080fd5b8082019050905061022051808210156119fc57600080fd5b808203905090508080611a0e57600080fd5b8204905090506103005261028051610300511115611a55576001610300516102805180821015611a3d57600080fd5b80820390509050111515611a5057611a91565b611a80565b6001610280516103005180821015611a6c57600080fd5b80820390509050111515611a7f57611a91565b5b5b815160010180835281141561196b575b5050610300516000526000516101e0515650005b635e0d443f6000511415611d6a5760043580806000811215611ac357195b607f1c15611ad057600080fd5b90505060243580806000811215611ae357195b607f1c15611af057600080fd5b905050670de0b6b3a764000061014052670de0b6b3a7640000610160526101405161016051600658016104d2565b61018052610160526101405261018051610160526101405161016051610180516101a051610160516101c0526101c05160065801610226565b61022052610240526101a05261018052610160526101405261022080516101805280602001516101a0525061018060043560028110611b9557600080fd5b602002015160443561014060043560028110611bb057600080fd5b60200201518082028215828483041417611bc957600080fd5b80905090509050670de0b6b3a764000080820490509050818183011015611bef57600080fd5b808201905090506101c0526101405161016051610180516101a0516101c0516101e05160043561020052602435610220526101c0516102405261018051610260526101a0516102805261028051610260516102405161022051610200516006580161163c565b6102e0526101e0526101c0526101a0526101805261016052610140526102e0516101e05261018060243560028110611c8c57600080fd5b60200201516101e05180821015611ca257600080fd5b80820390509050600180821015611cb857600080fd5b8082039050905061020052600254610200518082028215828483041417611cde57600080fd5b809050905090506402540be4008082049050905061022052610200516102205180821015611d0b57600080fd5b80820390509050670de0b6b3a76400008082028215828483041417611d2f57600080fd5b8090509050905061014060243560028110611d4957600080fd5b60200201518080611d5957600080fd5b82049050905060005260206000f350005b6307211ef7600051141561230b5760043580806000811215611d8857195b607f1c15611d9557600080fd5b90505060243580806000811215611da857195b607f1c15611db557600080fd5b90505061014051600658016104d2565b61016052610140526101605161014052610140516101605161018051610140516101a0526101a05160065801610226565b61020052610220526101805261016052610140526102008051610160528060200151610180525060016101a05260016101c0526006546101e052600435600180820380806000811215611e4557195b607f1c15611e5257600080fd5b90509050905061020052602435600180820380806000811215611e7157195b607f1c15611e7e57600080fd5b905090509050610220526001610240526001610260526000610200511215611ea857600435610240525b6000610220511215611ebc57602435610260525b6000610280526000610200511215611f3b5761016060043560028110611ee157600080fd5b60200201516044356101a060043560028110611efc57600080fd5b60200201518082028215828483041417611f1557600080fd5b80905090509050818183011015611f2b57600080fd5b80820190509050610280526120ee565b6000610220511215612096576060366102a0376044356102a06102005160038110611f6557600080fd5b602002015260206103e06084633883e119610300526102a051610320526102c051610340526102e0516103605260016103805261031c6101e0515afa611faa57600080fd5b601f3d11611fb757600080fd5b6000506103e051610140518082028215828483041417611fd657600080fd5b80905090509050670de0b6b3a764000080820490509050610280526102808051610280516020610360600463ddca3f436103005261031c6101e0515afa61201c57600080fd5b601f3d1161202957600080fd5b60005061036051808202821582848304141761204457600080fd5b809050905090506404a817c800808204905090508082101561206557600080fd5b8082039050905081525061028080516101805181818301101561208757600080fd5b808201905090508152506120ed565b60206103606064635e0d443f6102a052610200516102c052610220516102e052604435610300526102bc6101e0515afa6120cf57600080fd5b601f3d116120dc57600080fd5b6000506103605160005260206000f3505b5b6101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a051610240516102c052610260516102e0526102805161030052610160516103205261018051610340526103405161032051610300516102e0516102c0516006580161163c565b6103a0526102a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103a0516102a05261016061026051600281106121b357600080fd5b60200201516102a051808210156121c957600080fd5b808203905090506001808210156121df57600080fd5b808203905090506102c0526102c0516002546102c051808202821582848304141761220957600080fd5b809050905090506402540be400808204905090508082101561222a57600080fd5b808203905090506102c0526000610220511215612278576102c080516101a0610260516002811061225a57600080fd5b6020020151808061226a57600080fd5b8204905090508152506122fc565b6020610380604463cc2b27d76102e0526102c051670de0b6b3a764000080820282158284830414176122a957600080fd5b809050905090506101405180806122bf57600080fd5b8204905090506103005261022051610320526102fc6101e0515afa6122e357600080fd5b601f3d116122f057600080fd5b600050610380516102c0525b6102c05160005260206000f350005b633df0212460005114156129055762ffffff541561232857600080fd5b600162ffffff556004358080600081121561233f57195b607f1c1561234c57600080fd5b9050506024358080600081121561235f57195b607f1c1561236c57600080fd5b9050506013541561237c57600080fd5b670de0b6b3a764000061014052670de0b6b3a764000061016052610140516101605160065801610438565b610180526101605261014052610180516101605260018060c052602060c020546101805260018160c052602060c02001546101a052506101405161016051610180516101a0516101c0516101e051610160516102005261018051610220526101a051610240526102405161022051610200516006580161032d565b6102a0526102c0526101e0526101c0526101a0526101805261016052610140526102a080516101c05280602001516101e052506101c06004356002811061246857600080fd5b60200201516044356101406004356002811061248357600080fd5b6020020151808202821582848304141761249c57600080fd5b80905090509050670de0b6b3a7640000808204905090508181830110156124c257600080fd5b80820190509050610200526101405161016051610180516101a0516101c0516101e0516102005161022051600435610240526024356102605261020051610280526101c0516102a0526101e0516102c0526102c0516102a0516102805161026051610240516006580161163c565b6103205261022052610200526101e0526101c0526101a05261018052610160526101405261032051610220526101c06024356002811061256f57600080fd5b6020020151610220518082101561258557600080fd5b8082039050905060018082101561259b57600080fd5b80820390509050610240526102405160025480820282158284830414176125c157600080fd5b809050905090506402540be40080820490509050610260526102405161026051808210156125ee57600080fd5b80820390509050670de0b6b3a7640000808202821582848304141761261257600080fd5b809050905090506101406024356002811061262c57600080fd5b6020020151808061263c57600080fd5b82049050905061024052606435610240511015151561269a576308c379a06102805260206102a05260176102c0527f546f6f2066657720636f696e7320696e20726573756c740000000000000000006102e0526102c050606461029cfd5b6102605160035480820282158284830414176126b557600080fd5b809050905090506402540be400808204905090506102805261028051670de0b6b3a764000080820282158284830414176126ee57600080fd5b809050905090506101406024356002811061270857600080fd5b6020020151808061271857600080fd5b820490509050610280526101806004356002811061273557600080fd5b602002015160443581818301101561274c57600080fd5b808201905090506004356002811061276357600080fd5b600160c052602060c02001556101806024356002811061278257600080fd5b6020020151610240518082101561279857600080fd5b8082039050905061028051808210156127b057600080fd5b80820390509050602435600281106127c757600080fd5b600160c052602060c0200155602061036060646323b872dd6102a052336102c052306102e052604435610300526102bc60006004356002811061280957600080fd5b600060c052602060c02001545af161282057600080fd5b601f3d1161282d57600080fd5b6000506103605161283d57600080fd5b6020610340604463a9059cbb6102a052336102c052610240516102e0526102bc60006024356002811061286f57600080fd5b600060c052602060c02001545af161288657600080fd5b601f3d1161289357600080fd5b600050610340516128a357600080fd5b6004356102a0526044356102c0526024356102e0526102405161030052337f8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd9714060806102a0a261024051600052600062ffffff5560206000f350600062ffffff55005b63a6417ed660005114156136cc5762ffffff541561292257600080fd5b600162ffffff556004358080600081121561293957195b607f1c1561294657600080fd5b9050506024358080600081121561295957195b607f1c1561296657600080fd5b9050506013541561297657600080fd5b670de0b6b3a764000061014052670de0b6b3a764000061016052610140516101605160065801610438565b6101805261016052610140526101805161016052600654610180526004356001808203808060008112156129d157195b607f1c156129de57600080fd5b9050905090506101a0526024356001808203808060008112156129fd57195b607f1c15612a0a57600080fd5b9050905090506101c05260016101e05260016102005260006101a0511215612a34576004356101e0525b60006101c0511215612a4857602435610200525b6040366102203760006101a0511215612a805760043560028110612a6b57600080fd5b600060c052602060c020015461024052612aa2565b6101a05160038110612a9157600080fd5b600960c052602060c0200154610240525b60006102605260006101c0511215612ad95760243560028110612ac457600080fd5b600060c052602060c020015461026052612afb565b6101c05160038110612aea57600080fd5b600960c052602060c0200154610260525b6044356102805273eb4c2781e4eba804ce9a9803c67d0893436bb27d610240511415612b7257602061032060246370a082316102a052306102c0526102bc73eb4c2781e4eba804ce9a9803c67d0893436bb27d5afa612b5957600080fd5b601f3d11612b6657600080fd5b60005061032051610280525b60006004610300527f23b872dd000000000000000000000000000000000000000000000000000000006103205261030060048060208461036001018260208501600060045af15050805182019150503360208261036001015260208101905030602082610360010152602081019050604435602082610360010152602081019050806103605261036090508051602001806104208284600060045af1612c1757600080fd5b50506020610500610420516104406000610240515af1612c3657600080fd5b60203d80821115612c475780612c49565b815b905090506104e0526104e08051602001806102a08284600060045af1612c6e57600080fd5b505060006102a0511115612cc1576102a0806020015160008251806020901315612c9757600080fd5b8091901215612ca557600080fd5b806020036101000a82049050905090501515612cc057600080fd5b5b73eb4c2781e4eba804ce9a9803c67d0893436bb27d610240511415612d4957602061038060246370a0823161030052306103205261031c73eb4c2781e4eba804ce9a9803c67d0893436bb27d5afa612d1857600080fd5b601f3d11612d2557600080fd5b600050610380516102805180821015612d3d57600080fd5b80820390509050610280525b60006101a0511215612d5c576001612d64565b60006101c051125b5b156134435760018060c052602060c020546103005260018160c052602060c02001546103205250610140610380525b61038051516020610380510161038052610380610380511015612db657612d94565b610160516103a052610300516103c052610320516103e0526103e0516103c0516103a0516006580161032d565b6104405261046052610360610380525b6103805152602061038051036103805261014061038051101515612e1657612df3565b6104408051610340528060200151610360525060006103805260006101a0511215612eb95761034060043560028110612e4e57600080fd5b60200201516102805161014060043560028110612e6a57600080fd5b60200201518082028215828483041417612e8357600080fd5b80905090509050670de0b6b3a764000080820490509050818183011015612ea957600080fd5b808201905090506103805261302e565b6060366103a037610280516103a06101a05160038110612ed857600080fd5b60200201526001600060c052602060c02001546104005260206104a060246370a0823161042052306104405261043c610400515afa612f1657600080fd5b601f3d11612f2357600080fd5b6000506104a05161038052610180513b612f3c57600080fd5b600060006084634515cef3610420526103a051610440526103c051610460526103e0516104805260006104a05261043c6000610180515af1612f7d57600080fd5b60206104a060246370a0823161042052306104405261043c610400515afa612fa457600080fd5b601f3d11612fb157600080fd5b6000506104a0516103805180821015612fc957600080fd5b808203905090506102805261028051610160518082028215828483041417612ff057600080fd5b80905090509050670de0b6b3a7640000808204905090506103805261038080516103605181818301101561302357600080fd5b808201905090508152505b6101406103c0525b6103c0515160206103c051016103c0526103c06103c051101561305857613036565b6101e0516103e0526102005161040052610380516104205261034051610440526103605161046052610460516104405161042051610400516103e0516006580161163c565b6104c0526103a06103c0525b6103c0515260206103c051036103c0526101406103c0511015156130cc576130a9565b6104c0516103a05261034061020051600281106130e857600080fd5b60200201516103a051808210156130fe57600080fd5b8082039050905060018082101561311457600080fd5b808203905090506102205261022051600254808202821582848304141761313a57600080fd5b809050905090506402540be400808204905090506103c052610220516103c0518082101561316757600080fd5b80820390509050670de0b6b3a7640000808202821582848304141761318b57600080fd5b8090509050905061014061020051600281106131a657600080fd5b602002015180806131b657600080fd5b820490509050610220526103c05160035480820282158284830414176131db57600080fd5b809050905090506402540be400808204905090506103e0526103e051670de0b6b3a7640000808202821582848304141761321457600080fd5b80905090509050610140610200516002811061322f57600080fd5b6020020151808061323f57600080fd5b8204905090506103e0526103006101e0516002811061325d57600080fd5b60200201516102805181818301101561327557600080fd5b808201905090506101e0516002811061328d57600080fd5b600160c052602060c020015561030061020051600281106132ad57600080fd5b602002015161022051808210156132c357600080fd5b808203905090506103e051808210156132db57600080fd5b8082039050905061020051600281106132f357600080fd5b600160c052602060c020015560006101c0511215156133ea5760206104a060246370a0823161042052306104405261043c610260515afa61333357600080fd5b601f3d1161334057600080fd5b6000506104a05161040052610180513b61335957600080fd5b600060006064631a4d01d26104205261022051610440526101c0516104605260006104805261043c6000610180515af161339257600080fd5b60206104a060246370a0823161042052306104405261043c610260515afa6133b957600080fd5b601f3d116133c657600080fd5b6000506104a05161040051808210156133de57600080fd5b80820390509050610220525b606435610220511015151561343e576308c379a0610400526020610420526017610440527f546f6f2066657720636f696e7320696e20726573756c740000000000000000006104605261044050606461041cfd5b61352a565b602061038060246370a0823161030052306103205261031c610260515afa61346a57600080fd5b601f3d1161347757600080fd5b6000506103805161022052610180513b61349057600080fd5b600060006084633df02124610300526101a051610320526101c0516103405261028051610360526064356103805261031c6000610180515af16134d257600080fd5b602061038060246370a0823161030052306103205261031c610260515afa6134f957600080fd5b601f3d1161350657600080fd5b60005061038051610220518082101561351e57600080fd5b80820390509050610220525b60006004610300527fa9059cbb000000000000000000000000000000000000000000000000000000006103205261030060048060208461036001018260208501600060045af15050805182019150503360208261036001015260208101905061022051602082610360010152602081019050806103605261036090508051602001806104008284600060045af16135c057600080fd5b505060206104c0610400516104206000610260515af16135df57600080fd5b60203d808211156135f057806135f2565b815b905090506104a0526104a08051602001806102a08284600060045af161361757600080fd5b505060006102a051111561366a576102a080602001516000825180602090131561364057600080fd5b809190121561364e57600080fd5b806020036101000a8204905090509050151561366957600080fd5b5b6004356103005260443561032052602435610340526102205161036052337fd013ca23e77a65003c2c659c5442c00c805371b7fc1ebd4c206c41d1536bd90b6080610300a261022051600052600062ffffff5560206000f350600062ffffff55005b635b36389c60005114156139895762ffffff54156136e957600080fd5b600162ffffff5560206101c060046318160ddd6101605261017c6005545afa61371157600080fd5b601f3d1161371e57600080fd5b6000506101c05161014052608036610160376101e060006002818352015b6101e0516002811061374d57600080fd5b600160c052602060c0200154600435808202821582848304141761377057600080fd5b8090509050905061014051808061378657600080fd5b8204905090506102005260246101e051600281106137a357600080fd5b602002013561020051101515156137f9576308c379a0610220526020610240526017610260527f546f6f2066657720636f696e7320696e20726573756c740000000000000000006102805261026050606461023cfd5b6101e0516002811061380a57600080fd5b600160c052602060c020018054610200518082101561382857600080fd5b80820390509050815550610200516101606101e0516002811061384a57600080fd5b602002015260206102c0604463a9059cbb610220523361024052610200516102605261023c60006101e0516002811061388257600080fd5b600060c052602060c02001545af161389957600080fd5b601f3d116138a657600080fd5b6000506102c0516138b657600080fd5b5b815160010180835281141561373c575b5050602061028060446379cc67906101e0523361020052600435610220526101fc60006005545af16138f857600080fd5b601f3d1161390557600080fd5b60005061028050610160516101e05261018051610200526101a051610220526101c05161024052610140516004358082101561394057600080fd5b8082039050905061026052337f7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c60a06101e0a2600062ffffff556040610160f3600062ffffff55005b63e310327360005114156141735762ffffff54156139a657600080fd5b600162ffffff55601354156139ba57600080fd5b6101405160065801610026565b61016052610140526101605161014052610140516101605160065801610438565b6101805261016052610140526101805161016052602061020060046318160ddd6101a0526101bc6005545afa613a1d57600080fd5b601f3d11613a2a57600080fd5b600050610200516101805260006101805118613a4557600080fd5b60025460028082028215828483041417613a5e57600080fd5b809050905090506004808204905090506101a0526003546101c05260018060c052602060c020546101e05260018160c052602060c020015461020052506101e0516102205261020051610240526101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161016051610280526101e0516102a052610200516102c052610140516102e0526102e0516102c0516102a0516102805160065801610850565b61034052610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052610340516102605261028060006002818352015b6102206102805160028110613b6057600080fd5b60200201805160046102805160028110613b7957600080fd5b602002013580821015613b8b57600080fd5b808203905090508152505b8151600101808352811415613b4c575b50506101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161028051610160516102a052610220516102c052610240516102e0526101405161030052610300516102e0516102c0516102a05160065801610850565b6103605261028052610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405261036051610280526040366102a0376102e060006002818352015b610280516101e06102e05160028110613c7057600080fd5b60200201518082028215828483041417613c8957600080fd5b80905090509050610260518080613c9f57600080fd5b820490509050610300526000610320526102206102e05160028110613cc357600080fd5b6020020151610300511115613d0c57610300516102206102e05160028110613cea57600080fd5b602002015180821015613cfc57600080fd5b8082039050905061032052613d42565b6102206102e05160028110613d2057600080fd5b60200201516103005180821015613d3657600080fd5b80820390509050610320525b6101a051610320518082028215828483041417613d5e57600080fd5b809050905090506402540be400808204905090506102a06102e05160028110613d8657600080fd5b60200201526102206102e05160028110613d9f57600080fd5b60200201516102a06102e05160028110613db857600080fd5b60200201516101c0518082028215828483041417613dd557600080fd5b809050905090506402540be4008082049050905080821015613df657600080fd5b808203905090506102e05160028110613e0e57600080fd5b600160c052602060c02001556102206102e05160028110613e2e57600080fd5b6020020180516102a06102e05160028110613e4857600080fd5b602002015180821015613e5a57600080fd5b808203905090508152505b8151600101808352811415613c58575b5050610140610300525b61030051516020610300510161030052610300610300511015613ea157613e7f565b61016051610320526102205161034052610240516103605261014051610380526103805161036051610340516103205160065801610850565b6103e0526102e0610300525b6103005152602061030051036103005261014061030051101515613f0957613ee6565b6103e0516102e052610260516102e05180821015613f2657600080fd5b80820390509050610180518082028215828483041417613f4557600080fd5b80905090509050610260518080613f5b57600080fd5b8204905090506103005260006103005118613f7557600080fd5b61030080516001818183011015613f8b57600080fd5b808201905090508152506044356103005111151515613fe9576308c379a0610320526020610340526014610360527f536c697070616765207363726577656420796f750000000000000000000000006103805261036050606461033cfd5b60206103c060446379cc6790610320523361034052610300516103605261033c60006005545af161401957600080fd5b601f3d1161402657600080fd5b6000506103c05061032060006002818352015b60006004610320516002811061404e57600080fd5b602002013518156140d55760206103e0604463a9059cbb6103405233610360526004610320516002811061408157600080fd5b60200201356103805261035c600061032051600281106140a057600080fd5b600060c052602060c02001545af16140b757600080fd5b601f3d116140c457600080fd5b6000506103e0516140d457600080fd5b5b5b8151600101808352811415614039575b505060043561032052602435610340526102a051610360526102c05161038052610280516103a05261018051610300518082101561412357600080fd5b808203905090506103c052337f2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e60c0610320a261030051600052600062ffffff5560206000f350600062ffffff55005b6000156144cf575b6101e0526101405261016052610180526101a0526101c05260006101605112156141a457600080fd5b600261016051126141b457600080fd5b606036610200376101c0516102605261014051600280820282158284830414176141dd57600080fd5b80905090509050610280526102a060006002818352015b610160516102a0511815614224576101806102a0516002811061421657600080fd5b602002015161022052614229565b6142a5565b61020080516102205181818301101561424157600080fd5b80820190509050815250610260516101c051808202821582848304141761426757600080fd5b80905090509050610220516002808202821582848304141761428857600080fd5b80905090509050808061429a57600080fd5b820490509050610260525b81516001018083528114156141f4575b5050610260516101c05180820282158284830414176142d357600080fd5b80905090509050606480820282158284830414176142f057600080fd5b80905090509050610280516002808202821582848304141761431157600080fd5b80905090509050808061432357600080fd5b82049050905061026052610200516101c0516064808202821582848304141761434b57600080fd5b8090509050905061028051808061436157600080fd5b82049050905081818301101561437657600080fd5b808201905090506102a0526101c0516102c0526102e0600060ff818352015b6102c051610240526102c0516102c05180820282158284830414176143b957600080fd5b80905090509050610260518181830110156143d357600080fd5b8082019050905060026102c05180820282158284830414176143f457600080fd5b809050905090506102a05181818301101561440e57600080fd5b808201905090506101c0518082101561442657600080fd5b80820390509050808061443857600080fd5b8204905090506102c052610240516102c051111561447f5760016102c051610240518082101561446757600080fd5b8082039050905011151561447a576144bb565b6144aa565b6001610240516102c0518082101561449657600080fd5b808203905090501115156144a9576144bb565b5b5b8151600101808352811415614395575b50506102c0516000526000516101e0515650005b600015614b6a575b6101a0526101405261016052610180526101405161016051610180516101a0516101c05160065801610026565b6101e0526101c0526101a0526101805261016052610140526101e0516101c0526101405161016051610180516101a0516101c0516101e0516102005161018051610220526102205160065801610226565b610280526102a052610200526101e0526101c0526101a05261018052610160526101405261028080516101e052806020015161020052506101405161016051610180516101a0516101c0516101e05161020051610220516101e0516102405261020051610260526101c0516102805261028051610260516102405160065801610559565b6102e05261022052610200526101e0526101c0526101a0526101805261016052610140526102e0516102205260206102c060046318160ddd6102605261027c6005545afa61462657600080fd5b601f3d1161463357600080fd5b6000506102c05161024052610220516101405161022051808202821582848304141761465e57600080fd5b8090509050905061024051808061467457600080fd5b8204905090508082101561468757600080fd5b80820390509050610260526101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516101c0516102a052610160516102c0526101e0516102e0526102005161030052610260516103205261032051610300516102e0516102c0516102a0516006580161417b565b6103805261028052610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405261038051610280526002546002808202821582848304141761475457600080fd5b809050905090506004808204905090506102a052670de0b6b3a76400006102c052670de0b6b3a76400006102e052610180516102e0526101e0516103005261020051610320526101e061016051600281106147ae57600080fd5b602002015161028051808210156147c457600080fd5b80820390509050670de0b6b3a764000080820282158284830414176147e857600080fd5b809050905090506102c0610160516002811061480357600080fd5b6020020151808061481357600080fd5b8204905090506103405261036060006002818352015b600061038052610160516103605114156148ab576101e0610360516002811061485157600080fd5b602002015161026051808202821582848304141761486e57600080fd5b8090509050905061022051808061488457600080fd5b820490509050610280518082101561489b57600080fd5b808203905090506103805261492a565b6101e061036051600281106148bf57600080fd5b60200201516101e061036051600281106148d857600080fd5b60200201516102605180820282158284830414176148f557600080fd5b8090509050905061022051808061490b57600080fd5b8204905090508082101561491e57600080fd5b80820390509050610380525b610300610360516002811061493e57600080fd5b6020020180516102a05161038051808202821582848304141761496057600080fd5b809050905090506402540be400808204905090508082101561498157600080fd5b808203905090508152505b8151600101808352811415614829575b505061030061016051600281106149b257600080fd5b6020020151610140610380525b610380515160206103805101610380526103806103805110156149e1576149bf565b6101c0516103a052610160516103c052610300516103e0526103205161040052610260516104205261042051610400516103e0516103c0516103a0516006580161417b565b61048052610360610380525b6103805152602061038051036103805261014061038051101515614a5557614a32565b6104805180821015614a6657600080fd5b808203905090506103605261036051600180821015614a8457600080fd5b80820390509050670de0b6b3a76400008082028215828483041417614aa857600080fd5b809050905090506102c06101605160028110614ac357600080fd5b60200201518080614ad357600080fd5b8204905090506103605261038080808061036051815250506020810190508080610340516103605180821015614b0857600080fd5b80820390509050815250506020810190508080610240518152505060609050905060c05260c0516103e0525b60006103e051111515614b4657614b62565b60206103e05103610380015160206103e051036103e052614b34565b6101a0515650005b63cc2b27d76000511415614c335760243580806000811215614b8857195b607f1c15614b9557600080fd5b90505061014051600658016104d2565b61016052610140526101605161014052610140516004356101605260243561018052610140516101a0526101a0516101805161016051600658016144d7565b61020052610220526102405261014052610200808080805161026052505060208101905080808051610280525050602081019050808080516102a052505050506102605160005260206000f350005b631a4d01d26000511415614f385762ffffff5415614c5057600080fd5b600162ffffff5560243580806000811215614c6757195b607f1c15614c7457600080fd5b90505060135415614c8457600080fd5b6101405160065801610438565b61016052610140526101605161014052606036610160376101405161016051610180516101a0516004356101c0526024356101e0526101405161020052610200516101e0516101c051600658016144d7565b61026052610280526102a0526101a05261018052610160526101405261026080808080516102c0525050602081019050808080516102e05250506020810190508080805161030052505050506102c080516101605280602001516101805280604001516101a052506044356101605110151515614d9f576308c379a06101c05260206101e0526018610200527f4e6f7420656e6f75676820636f696e732072656d6f7665640000000000000000610220526102005060646101dcfd5b60243560028110614daf57600080fd5b600160c052602060c02001805461016051610180516003548082028215828483041417614ddb57600080fd5b809050905090506402540be40080820490509050818183011015614dfe57600080fd5b8082019050905080821015614e1257600080fd5b80820390509050815550602061026060446379cc67906101c052336101e052600435610200526101dc60006005545af1614e4b57600080fd5b601f3d11614e5857600080fd5b600050610260506020610260604463a9059cbb6101c052336101e05261016051610200526101dc600060243560028110614e9157600080fd5b600060c052602060c02001545af1614ea857600080fd5b601f3d11614eb557600080fd5b60005061026051614ec557600080fd5b6004356101c052610160516101e0526101a05160043580821015614ee857600080fd5b8082039050905061020052337f5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a060606101c0a261016051600052600062ffffff5560206000f350600062ffffff55005b633c157e6460005114156150dc576004543314614f5457600080fd5b600c5462015180818183011015614f6a57600080fd5b80820190509050421015614f7d57600080fd5b4262015180818183011015614f9157600080fd5b808201905090506024351015614fa657600080fd5b6101405160065801610026565b6101605261014052610160516101405260043560648082028215828483041417614fdc57600080fd5b809050905090506101605260006004351115614fff57620f424060043510615002565b60005b61500b57600080fd5b6101405161016051101561504e576101405161016051600a808202821582848304141761503757600080fd5b80905090509050101561504957600080fd5b61507f565b61014051600a808202821582848304141761506857600080fd5b8090509050905061016051111561507e57600080fd5b5b61014051600a5561016051600b5542600c55602435600d556101405161018052610160516101a052426101c0526024356101e0527fa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c2546080610180a1005b63551a658860005114156151615760045433146150f857600080fd5b6101405160065801610026565b6101605261014052610160516101405261014051600a5561014051600b5542600c5542600d55610140516101605242610180527f46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc2019386040610160a1005b635b5a1467600051141561521f57600454331461517d57600080fd5b600e541561518a57600080fd5b64012a05f200600435111561519e57600080fd5b6402540be40060243511156151b257600080fd5b426203f4808181830110156151c657600080fd5b808201905090506101405261014051600e556004356010556024356011556004356101605260243561018052610140517f351fc5da2fbf480f2225debf3664a4bc90fa9923743aad58b4603f648e931fe06040610160a2005b634f12fe9760005114156152b357600454331461523b57600080fd5b600e5442101561524a57600080fd5b6000600e541861525957600080fd5b6000600e55601054610140526011546101605261014051600255610160516003556101405161018052610160516101a0527fbe12859b636aed607d5230b2cc2711f68d70e51060e6cca1f575ef5d2fcc95d16040610180a1005b63226840fb60005114156152d65760045433146152cf57600080fd5b6000600e55005b636b441a40600051141561536a5760043560a01c156152f457600080fd5b600454331461530257600080fd5b600f541561530f57600080fd5b426203f48081818301101561532357600080fd5b808201905090506101405261014051600f55600435601255600435610140517f181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb93560006000a3005b636a1c05ae60005114156153e357600454331461538657600080fd5b600f5442101561539557600080fd5b6000600f54186153a457600080fd5b6000600f556012546101405261014051600455610140517f71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c60006000a2005b6386fbf19360005114156154065760045433146153ff57600080fd5b6000600f55005b63e2e7d26460005114156154a25760206101c060246370a0823161014052306101605261015c6004356002811061543c57600080fd5b600060c052602060c02001545afa61545357600080fd5b601f3d1161546057600080fd5b6000506101c0516004356002811061547757600080fd5b600160c052602060c02001548082101561549057600080fd5b8082039050905060005260206000f350005b6330c5408560005114156155cb5760045433146154be57600080fd5b61014060006002818352015b61014051600281106154db57600080fd5b600060c052602060c020015461016052602061022060246370a082316101a052306101c0526101bc610160515afa61551257600080fd5b601f3d1161551f57600080fd5b60005061022051610140516002811061553757600080fd5b600160c052602060c02001548082101561555057600080fd5b808203905090506101805260006101805111156155b6576020610240604463a9059cbb6101a052336101c052610180516101e0526101bc6000610160515af161559857600080fd5b601f3d116155a557600080fd5b600050610240516155b557600080fd5b5b5b81516001018083528114156154ca575b5050005b63524c390160005114156156795760045433146155e757600080fd5b61014060006002818352015b60206101e060246370a0823161016052306101805261017c610140516002811061561c57600080fd5b600060c052602060c02001545afa61563357600080fd5b601f3d1161564057600080fd5b6000506101e051610140516002811061565857600080fd5b600160c052602060c02001555b81516001018083528114156155f3575b5050005b63e369885360005114156156aa57600454331461569557600080fd5b42601454116156a357600080fd5b6001601355005b633046f97260005114156156cd5760045433146156c657600080fd5b6000601355005b63c6610657600051141561570257600435600281106156eb57600080fd5b600060c052602060c020015460005260206000f350005b634903b0d16000511415615737576004356002811061572057600080fd5b600160c052602060c020015460005260206000f350005b63ddca3f4360005114156157535760025460005260206000f350005b63fee3f7f9600051141561576f5760035460005260206000f350005b638da5cb5b600051141561578b5760045460005260206000f350005b63fc0c546a60005114156157a75760055460005260206000f350005b635d6362bb60005114156157c35760065460005260206000f350005b6395ccc02f60005114156157df5760075460005260206000f350005b638296f84f60005114156157fb5760085460005260206000f350005b6387cb4f576000511415615830576004356003811061581957600080fd5b600960c052602060c020015460005260206000f350005b635409491a600051141561584c57600a5460005260206000f350005b63b4b577ad600051141561586857600b5460005260206000f350005b632081066c600051141561588457600c5460005260206000f350005b631405228860005114156158a057600d5460005260206000f350005b63405e28f860005114156158bc57600e5460005260206000f350005b63e0a0b58660005114156158d857600f5460005260206000f350005b6358680d0b60005114156158f45760105460005260206000f350005b63e382446260005114156159105760115460005260206000f350005b631ec0cdc1600051141561592c5760125460005260206000f350005b5b60006000fd5b610398615ccb03610398600039610398615ccb036000f30000000000000000000000003f4232107ff437bcd7ea9abc134ad553efeddaff0000000000000000000000008daebade922df735c38c80c7ebd708af50815faa000000000000000000000000075b1bb99792c9e1041ba13afef80c91a1e70fb300000000000000000000000064eda51d3ad40d56b9dfc5554e06f94e1dd786fd0000000000000000000000007fc77b5c7614e1533320ea6ddc2eb61fa00a9714000000000000000000000000000000000000000000000000000000000000009600000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000012a05f200
Deployed Bytecode
0x341561000a57600080fd5b60043610156100185761592d565b600035601c526000156101c1575b61014052600d5461016052600b5461018052610160514210156101ae57600a546101a052600c546101c0526101a051610180511115610107576101a051610180516101a0518082101561007857600080fd5b80820390509050426101c0518082101561009157600080fd5b8082039050905080820282158284830414176100ac57600080fd5b80905090509050610160516101c051808210156100c857600080fd5b8082039050905080806100da57600080fd5b8204905090508181830110156100ef57600080fd5b808201905090506000526000516101405156506101a9565b6101a0516101a051610180518082101561012057600080fd5b80820390509050426101c0518082101561013957600080fd5b80820390509050808202821582848304141761015457600080fd5b80905090509050610160516101c0518082101561017057600080fd5b80820390509050808061018257600080fd5b8204905090508082101561019557600080fd5b808203905090506000526000516101405156505b6101bf565b610180516000526000516101405156505b005b63f446c1d060005114156101f45760065801610026565b610140526101405160648082049050905060005260206000f350005b6376a2f0f0600051141561021e5760065801610026565b610140526101405160005260206000f350005b600015610325575b6101605261014052670de0b6b3a764000061018052670de0b6b3a76400006101a052610140516101a0526101c060006002818352015b6101806101c0516002811061027057600080fd5b60200201516101c0516002811061028657600080fd5b600160c052602060c020015480820282158284830414176102a657600080fd5b80905090509050670de0b6b3a7640000808204905090506101806101c051600281106102d157600080fd5b60200201525b815160010180835281141561025c575b505060406101c0525b60006101c0511115156103025761031e565b60206101c05103610180015160206101c051036101c0526102f0565b6101605156005b600015610430575b6101a052610140526101605261018052670de0b6b3a76400006101c052670de0b6b3a76400006101e052610140516101e05261020060006002818352015b6101c0610200516002811061037f57600080fd5b6020020151610160610200516002811061039857600080fd5b602002015180820282158284830414176103b157600080fd5b80905090509050670de0b6b3a7640000808204905090506101c061020051600281106103dc57600080fd5b60200201525b815160010180835281141561036b575b50506040610200525b60006102005111151561040d57610429565b602061020051036101c0015160206102005103610200526103fb565b6101a05156005b6000156104ca575b6101405260085461025881818301101561045157600080fd5b808201905090504211156104b85760206101e0600463bb7b8b806101805261019c6006545afa61048057600080fd5b601f3d1161048d57600080fd5b6000506101e051610160526101605160075542600855610160516000526000516101405156506104c8565b6007546000526000516101405156505b005b600015610551575b610140526008546102588181830110156104eb57600080fd5b8082019050905042111561053f5760206101c0600463bb7b8b806101605261017c6006545afa61051a57600080fd5b601f3d1161052757600080fd5b6000506101c05160005260005161014051565061054f565b6007546000526000516101405156505b005b600015610848575b6101a0526101405261016052610180526040366101c03761022060006002818352015b602061022051026101400151610200526101c08051610200518181830110156105a457600080fd5b808201905090508152505b815160010180835281141561057c575b50506101c05115156105da5760006000526000516101a05156505b6101c0516102005261018051600280820282158284830414176105fc57600080fd5b8090509050905061022052610240600060ff818352015b61020051610260526102a060006002818352015b60206102a051026101400151610280526102605161020051808202821582848304141761065357600080fd5b80905090509050610280516002808202821582848304141761067457600080fd5b80905090509050808061068657600080fd5b820490509050610260525b8151600101808352811415610627575b5050610200516101e052610220516101c05180820282158284830414176106c757600080fd5b8090509050905060648082049050905061026051600280820282158284830414176106f157600080fd5b8090509050905081818301101561070757600080fd5b8082019050905061020051808202821582848304141761072657600080fd5b809050905090506102205160648082101561074057600080fd5b8082039050905061020051808202821582848304141761075f57600080fd5b80905090509050606480820490509050600361026051808202821582848304141761078957600080fd5b8090509050905081818301101561079f57600080fd5b8082019050905080806107b157600080fd5b820490509050610200526101e0516102005111156107f8576001610200516101e051808210156107e057600080fd5b808203905090501115156107f357610834565b610823565b60016101e051610200518082101561080f57600080fd5b8082039050905011151561082257610834565b5b5b8151600101808352811415610613575b5050610200516000526000516101a0515650005b60001561095f575b6101c0526101405261016052610180526101a0526101405161016051610180516101a0516101c0516101e051610200516101405161022052610160516102405261018051610260526102605161024051610220516006580161032d565b6102c0526102e052610200526101e0526101c0526101a0526101805261016052610140526102c080516101e052806020015161020052506101405161016051610180516101a0516101c0516101e051610200516101e0516102205261020051610240526101a0516102605261026051610240516102205160065801610559565b6102c052610200526101e0526101c0526101a0526101805261016052610140526102c0516000526000516101c0515650005b63bb7b8b806000511415610ae1576101405160065801610026565b610160526101405261016051610140526101405161016051600658016104d2565b61018052610160526101405261018051610160526101405161016051610180516101a051610160516101c0526101c05160065801610226565b61022052610240526101a05261018052610160526101405261022080516101805280602001516101a052506101405161016051610180516101a0516101c051610180516101e0526101a05161020052610140516102205261022051610200516101e05160065801610559565b610280526101c0526101a052610180526101605261014052610280516101c052602061026060046318160ddd6102005261021c6005545afa610a8157600080fd5b601f3d11610a8e57600080fd5b600050610260516101e0526101c051670de0b6b3a76400008082028215828483041417610aba57600080fd5b809050905090506101e0518080610ad057600080fd5b82049050905060005260206000f350005b63ed8e84f36000511415610dd65760443560011c15610aff57600080fd5b6101405160065801610026565b610160526101405261016051610140526101405161016051600658016104d2565b610180526101605261014052610180516101605260018060c052602060c020546101805260018160c052602060c02001546101a052506101405161016051610180516101a0516101c051610160516101e05261018051610200526101a0516102205261014051610240526102405161022051610200516101e05160065801610850565b6102a0526101c0526101a0526101805261016052610140526102a0516101c0526101e060006002818352015b60443515610c34576101806101e05160028110610bf857600080fd5b60200201805160046101e05160028110610c1157600080fd5b6020020135818183011015610c2557600080fd5b80820190509050815250610c7e565b6101806101e05160028110610c4857600080fd5b60200201805160046101e05160028110610c6157600080fd5b602002013580821015610c7357600080fd5b808203905090508152505b5b8151600101808352811415610bdc575b50506101405161016051610180516101a0516101c0516101e051610160516102005261018051610220526101a0516102405261014051610260526102605161024051610220516102005160065801610850565b6102c0526101e0526101c0526101a0526101805261016052610140526102c0516101e052602061028060046318160ddd6102205261023c6005545afa610d2757600080fd5b601f3d11610d3457600080fd5b600050610280516102005260006102205260443515610d72576101e0516101c05180821015610d6257600080fd5b8082039050905061022052610d93565b6101c0516101e05180821015610d8757600080fd5b80820390509050610220525b61022051610200518082028215828483041417610daf57600080fd5b809050905090506101c0518080610dc557600080fd5b82049050905060005260206000f350005b630b4c7e4d60005114156116345762ffffff5415610df357600080fd5b600162ffffff5560135415610e0757600080fd5b6101405160065801610026565b61016052610140526101605161014052610140516101605160065801610438565b6101805261016052610140526101805161016052602061020060046318160ddd6101a0526101bc6005545afa610e6a57600080fd5b601f3d11610e7757600080fd5b600050610200516101805260025460028082028215828483041417610e9b57600080fd5b809050905090506004808204905090506101a0526003546101c05260006101e05260018060c052602060c020546102005260018160c052602060c020015461022052506000610180511115610f70576101405161016051610180516101a0516101c0516101e0516102005161022051610160516102405261020051610260526102205161028052610140516102a0526102a05161028051610260516102405160065801610850565b6103005261022052610200526101e0526101c0526101a052610180526101605261014052610300516101e0525b6102005161024052610220516102605261028060006002818352015b610180511515610fbb57600060046102805160028110610fab57600080fd5b602002013511610fba57600080fd5b5b6102006102805160028110610fcf57600080fd5b602002015160046102805160028110610fe757600080fd5b6020020135818183011015610ffb57600080fd5b80820190509050610240610280516002811061101657600080fd5b60200201525b8151600101808352811415610f8c575b50506101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161028051610160516102a052610240516102c052610260516102e0526101405161030052610300516102e0516102c0516102a05160065801610850565b6103605261028052610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405261036051610280526101e05161028051116110dd57600080fd5b6040366102a037610280516102e05260006101805111156113c25761030060006002818352015b61028051610200610300516002811061111c57600080fd5b6020020151808202821582848304141761113557600080fd5b809050905090506101e051808061114b57600080fd5b82049050905061032052600061034052610240610300516002811061116f57600080fd5b60200201516103205111156111b85761032051610240610300516002811061119657600080fd5b6020020151808210156111a857600080fd5b80820390509050610340526111ee565b61024061030051600281106111cc57600080fd5b602002015161032051808210156111e257600080fd5b80820390509050610340525b6101a05161034051808202821582848304141761120a57600080fd5b809050905090506402540be400808204905090506102a0610300516002811061123257600080fd5b6020020152610240610300516002811061124b57600080fd5b60200201516102a0610300516002811061126457600080fd5b60200201516101c051808202821582848304141761128157600080fd5b809050905090506402540be40080820490509050808210156112a257600080fd5b8082039050905061030051600281106112ba57600080fd5b600160c052602060c020015561024061030051600281106112da57600080fd5b6020020180516102a061030051600281106112f457600080fd5b60200201518082101561130657600080fd5b808203905090508152505b8151600101808352811415611104575b5050610140610300525b6103005151602061030051016103005261030061030051101561134d5761132b565b61016051610320526102405161034052610260516103605261014051610380526103805161036051610340516103205160065801610850565b6103e0526102e0610300525b61030051526020610300510361030052610140610300511015156113b557611392565b6103e0516102e0526113dd565b600160c052602060c020610240518155610260516001820155505b6000610300526101805115156113fa57610280516103005261144f565b610180516102e0516101e0518082101561141357600080fd5b80820390509050808202821582848304141761142e57600080fd5b809050905090506101e051808061144457600080fd5b820490509050610300525b60443561030051101515156114a3576308c379a0610320526020610340526014610360527f536c697070616765207363726577656420796f750000000000000000000000006103805261036050606461033cfd5b61032060006002818352015b6000600461032051600281106114c457600080fd5b6020020135111561155057602061040060646323b872dd6103405233610360523061038052600461032051600281106114fc57600080fd5b60200201356103a05261035c6000610320516002811061151b57600080fd5b600060c052602060c02001545af161153257600080fd5b601f3d1161153f57600080fd5b6000506104005161154f57600080fd5b5b5b81516001018083528114156114af575b505060206103c060446340c10f19610320523361034052610300516103605261033c60006005545af161159357600080fd5b601f3d116115a057600080fd5b6000506103c05060043561032052602435610340526102a051610360526102c05161038052610280516103a05261018051610300518181830110156115e457600080fd5b808201905090506103c052337f26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a76860c0610320a261030051600052600062ffffff5560206000f350600062ffffff55005b600015611aa5575b6101e0526101405261016052610180526101a0526101c05261016051610140511861166657600080fd5b600061016051121561167757600080fd5b6002610160511261168757600080fd5b600061014051121561169857600080fd5b600261014051126116a857600080fd5b6101405161016051610180516101a0516101c0516101e0516102005160065801610026565b61022052610200526101e0526101c0526101a05261018052610160526101405261022051610200526101405161016051610180516101a0516101c0516101e05161020051610220516101a051610240526101c05161026052610200516102805261028051610260516102405160065801610559565b6102e05261022052610200526101e0526101c0526101a0526101805261016052610140526102e0516102205260603661024037610220516102a052610200516002808202821582848304141761179757600080fd5b809050905090506102c0526102e060006002818352015b610140516102e05114156117c95761018051610260526117ff565b610160516102e05118156117f9576101a06102e051600281106117eb57600080fd5b6020020151610260526117fe565b61187b565b5b61024080516102605181818301101561181757600080fd5b808201905090508152506102a05161022051808202821582848304141761183d57600080fd5b80905090509050610260516002808202821582848304141761185e57600080fd5b80905090509050808061187057600080fd5b8204905090506102a0525b81516001018083528114156117ae575b50506102a0516102205180820282158284830414176118a957600080fd5b80905090509050606480820282158284830414176118c657600080fd5b809050905090506102c051600280820282158284830414176118e757600080fd5b8090509050905080806118f957600080fd5b8204905090506102a05261024051610220516064808202821582848304141761192157600080fd5b809050905090506102c051808061193757600080fd5b82049050905081818301101561194c57600080fd5b808201905090506102e0526102205161030052610320600060ff818352015b61030051610280526103005161030051808202821582848304141761198f57600080fd5b809050905090506102a0518181830110156119a957600080fd5b8082019050905060026103005180820282158284830414176119ca57600080fd5b809050905090506102e0518181830110156119e457600080fd5b8082019050905061022051808210156119fc57600080fd5b808203905090508080611a0e57600080fd5b8204905090506103005261028051610300511115611a55576001610300516102805180821015611a3d57600080fd5b80820390509050111515611a5057611a91565b611a80565b6001610280516103005180821015611a6c57600080fd5b80820390509050111515611a7f57611a91565b5b5b815160010180835281141561196b575b5050610300516000526000516101e0515650005b635e0d443f6000511415611d6a5760043580806000811215611ac357195b607f1c15611ad057600080fd5b90505060243580806000811215611ae357195b607f1c15611af057600080fd5b905050670de0b6b3a764000061014052670de0b6b3a7640000610160526101405161016051600658016104d2565b61018052610160526101405261018051610160526101405161016051610180516101a051610160516101c0526101c05160065801610226565b61022052610240526101a05261018052610160526101405261022080516101805280602001516101a0525061018060043560028110611b9557600080fd5b602002015160443561014060043560028110611bb057600080fd5b60200201518082028215828483041417611bc957600080fd5b80905090509050670de0b6b3a764000080820490509050818183011015611bef57600080fd5b808201905090506101c0526101405161016051610180516101a0516101c0516101e05160043561020052602435610220526101c0516102405261018051610260526101a0516102805261028051610260516102405161022051610200516006580161163c565b6102e0526101e0526101c0526101a0526101805261016052610140526102e0516101e05261018060243560028110611c8c57600080fd5b60200201516101e05180821015611ca257600080fd5b80820390509050600180821015611cb857600080fd5b8082039050905061020052600254610200518082028215828483041417611cde57600080fd5b809050905090506402540be4008082049050905061022052610200516102205180821015611d0b57600080fd5b80820390509050670de0b6b3a76400008082028215828483041417611d2f57600080fd5b8090509050905061014060243560028110611d4957600080fd5b60200201518080611d5957600080fd5b82049050905060005260206000f350005b6307211ef7600051141561230b5760043580806000811215611d8857195b607f1c15611d9557600080fd5b90505060243580806000811215611da857195b607f1c15611db557600080fd5b90505061014051600658016104d2565b61016052610140526101605161014052610140516101605161018051610140516101a0526101a05160065801610226565b61020052610220526101805261016052610140526102008051610160528060200151610180525060016101a05260016101c0526006546101e052600435600180820380806000811215611e4557195b607f1c15611e5257600080fd5b90509050905061020052602435600180820380806000811215611e7157195b607f1c15611e7e57600080fd5b905090509050610220526001610240526001610260526000610200511215611ea857600435610240525b6000610220511215611ebc57602435610260525b6000610280526000610200511215611f3b5761016060043560028110611ee157600080fd5b60200201516044356101a060043560028110611efc57600080fd5b60200201518082028215828483041417611f1557600080fd5b80905090509050818183011015611f2b57600080fd5b80820190509050610280526120ee565b6000610220511215612096576060366102a0376044356102a06102005160038110611f6557600080fd5b602002015260206103e06084633883e119610300526102a051610320526102c051610340526102e0516103605260016103805261031c6101e0515afa611faa57600080fd5b601f3d11611fb757600080fd5b6000506103e051610140518082028215828483041417611fd657600080fd5b80905090509050670de0b6b3a764000080820490509050610280526102808051610280516020610360600463ddca3f436103005261031c6101e0515afa61201c57600080fd5b601f3d1161202957600080fd5b60005061036051808202821582848304141761204457600080fd5b809050905090506404a817c800808204905090508082101561206557600080fd5b8082039050905081525061028080516101805181818301101561208757600080fd5b808201905090508152506120ed565b60206103606064635e0d443f6102a052610200516102c052610220516102e052604435610300526102bc6101e0515afa6120cf57600080fd5b601f3d116120dc57600080fd5b6000506103605160005260206000f3505b5b6101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a051610240516102c052610260516102e0526102805161030052610160516103205261018051610340526103405161032051610300516102e0516102c0516006580161163c565b6103a0526102a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103a0516102a05261016061026051600281106121b357600080fd5b60200201516102a051808210156121c957600080fd5b808203905090506001808210156121df57600080fd5b808203905090506102c0526102c0516002546102c051808202821582848304141761220957600080fd5b809050905090506402540be400808204905090508082101561222a57600080fd5b808203905090506102c0526000610220511215612278576102c080516101a0610260516002811061225a57600080fd5b6020020151808061226a57600080fd5b8204905090508152506122fc565b6020610380604463cc2b27d76102e0526102c051670de0b6b3a764000080820282158284830414176122a957600080fd5b809050905090506101405180806122bf57600080fd5b8204905090506103005261022051610320526102fc6101e0515afa6122e357600080fd5b601f3d116122f057600080fd5b600050610380516102c0525b6102c05160005260206000f350005b633df0212460005114156129055762ffffff541561232857600080fd5b600162ffffff556004358080600081121561233f57195b607f1c1561234c57600080fd5b9050506024358080600081121561235f57195b607f1c1561236c57600080fd5b9050506013541561237c57600080fd5b670de0b6b3a764000061014052670de0b6b3a764000061016052610140516101605160065801610438565b610180526101605261014052610180516101605260018060c052602060c020546101805260018160c052602060c02001546101a052506101405161016051610180516101a0516101c0516101e051610160516102005261018051610220526101a051610240526102405161022051610200516006580161032d565b6102a0526102c0526101e0526101c0526101a0526101805261016052610140526102a080516101c05280602001516101e052506101c06004356002811061246857600080fd5b60200201516044356101406004356002811061248357600080fd5b6020020151808202821582848304141761249c57600080fd5b80905090509050670de0b6b3a7640000808204905090508181830110156124c257600080fd5b80820190509050610200526101405161016051610180516101a0516101c0516101e0516102005161022051600435610240526024356102605261020051610280526101c0516102a0526101e0516102c0526102c0516102a0516102805161026051610240516006580161163c565b6103205261022052610200526101e0526101c0526101a05261018052610160526101405261032051610220526101c06024356002811061256f57600080fd5b6020020151610220518082101561258557600080fd5b8082039050905060018082101561259b57600080fd5b80820390509050610240526102405160025480820282158284830414176125c157600080fd5b809050905090506402540be40080820490509050610260526102405161026051808210156125ee57600080fd5b80820390509050670de0b6b3a7640000808202821582848304141761261257600080fd5b809050905090506101406024356002811061262c57600080fd5b6020020151808061263c57600080fd5b82049050905061024052606435610240511015151561269a576308c379a06102805260206102a05260176102c0527f546f6f2066657720636f696e7320696e20726573756c740000000000000000006102e0526102c050606461029cfd5b6102605160035480820282158284830414176126b557600080fd5b809050905090506402540be400808204905090506102805261028051670de0b6b3a764000080820282158284830414176126ee57600080fd5b809050905090506101406024356002811061270857600080fd5b6020020151808061271857600080fd5b820490509050610280526101806004356002811061273557600080fd5b602002015160443581818301101561274c57600080fd5b808201905090506004356002811061276357600080fd5b600160c052602060c02001556101806024356002811061278257600080fd5b6020020151610240518082101561279857600080fd5b8082039050905061028051808210156127b057600080fd5b80820390509050602435600281106127c757600080fd5b600160c052602060c0200155602061036060646323b872dd6102a052336102c052306102e052604435610300526102bc60006004356002811061280957600080fd5b600060c052602060c02001545af161282057600080fd5b601f3d1161282d57600080fd5b6000506103605161283d57600080fd5b6020610340604463a9059cbb6102a052336102c052610240516102e0526102bc60006024356002811061286f57600080fd5b600060c052602060c02001545af161288657600080fd5b601f3d1161289357600080fd5b600050610340516128a357600080fd5b6004356102a0526044356102c0526024356102e0526102405161030052337f8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd9714060806102a0a261024051600052600062ffffff5560206000f350600062ffffff55005b63a6417ed660005114156136cc5762ffffff541561292257600080fd5b600162ffffff556004358080600081121561293957195b607f1c1561294657600080fd5b9050506024358080600081121561295957195b607f1c1561296657600080fd5b9050506013541561297657600080fd5b670de0b6b3a764000061014052670de0b6b3a764000061016052610140516101605160065801610438565b6101805261016052610140526101805161016052600654610180526004356001808203808060008112156129d157195b607f1c156129de57600080fd5b9050905090506101a0526024356001808203808060008112156129fd57195b607f1c15612a0a57600080fd5b9050905090506101c05260016101e05260016102005260006101a0511215612a34576004356101e0525b60006101c0511215612a4857602435610200525b6040366102203760006101a0511215612a805760043560028110612a6b57600080fd5b600060c052602060c020015461024052612aa2565b6101a05160038110612a9157600080fd5b600960c052602060c0200154610240525b60006102605260006101c0511215612ad95760243560028110612ac457600080fd5b600060c052602060c020015461026052612afb565b6101c05160038110612aea57600080fd5b600960c052602060c0200154610260525b6044356102805273eb4c2781e4eba804ce9a9803c67d0893436bb27d610240511415612b7257602061032060246370a082316102a052306102c0526102bc73eb4c2781e4eba804ce9a9803c67d0893436bb27d5afa612b5957600080fd5b601f3d11612b6657600080fd5b60005061032051610280525b60006004610300527f23b872dd000000000000000000000000000000000000000000000000000000006103205261030060048060208461036001018260208501600060045af15050805182019150503360208261036001015260208101905030602082610360010152602081019050604435602082610360010152602081019050806103605261036090508051602001806104208284600060045af1612c1757600080fd5b50506020610500610420516104406000610240515af1612c3657600080fd5b60203d80821115612c475780612c49565b815b905090506104e0526104e08051602001806102a08284600060045af1612c6e57600080fd5b505060006102a0511115612cc1576102a0806020015160008251806020901315612c9757600080fd5b8091901215612ca557600080fd5b806020036101000a82049050905090501515612cc057600080fd5b5b73eb4c2781e4eba804ce9a9803c67d0893436bb27d610240511415612d4957602061038060246370a0823161030052306103205261031c73eb4c2781e4eba804ce9a9803c67d0893436bb27d5afa612d1857600080fd5b601f3d11612d2557600080fd5b600050610380516102805180821015612d3d57600080fd5b80820390509050610280525b60006101a0511215612d5c576001612d64565b60006101c051125b5b156134435760018060c052602060c020546103005260018160c052602060c02001546103205250610140610380525b61038051516020610380510161038052610380610380511015612db657612d94565b610160516103a052610300516103c052610320516103e0526103e0516103c0516103a0516006580161032d565b6104405261046052610360610380525b6103805152602061038051036103805261014061038051101515612e1657612df3565b6104408051610340528060200151610360525060006103805260006101a0511215612eb95761034060043560028110612e4e57600080fd5b60200201516102805161014060043560028110612e6a57600080fd5b60200201518082028215828483041417612e8357600080fd5b80905090509050670de0b6b3a764000080820490509050818183011015612ea957600080fd5b808201905090506103805261302e565b6060366103a037610280516103a06101a05160038110612ed857600080fd5b60200201526001600060c052602060c02001546104005260206104a060246370a0823161042052306104405261043c610400515afa612f1657600080fd5b601f3d11612f2357600080fd5b6000506104a05161038052610180513b612f3c57600080fd5b600060006084634515cef3610420526103a051610440526103c051610460526103e0516104805260006104a05261043c6000610180515af1612f7d57600080fd5b60206104a060246370a0823161042052306104405261043c610400515afa612fa457600080fd5b601f3d11612fb157600080fd5b6000506104a0516103805180821015612fc957600080fd5b808203905090506102805261028051610160518082028215828483041417612ff057600080fd5b80905090509050670de0b6b3a7640000808204905090506103805261038080516103605181818301101561302357600080fd5b808201905090508152505b6101406103c0525b6103c0515160206103c051016103c0526103c06103c051101561305857613036565b6101e0516103e0526102005161040052610380516104205261034051610440526103605161046052610460516104405161042051610400516103e0516006580161163c565b6104c0526103a06103c0525b6103c0515260206103c051036103c0526101406103c0511015156130cc576130a9565b6104c0516103a05261034061020051600281106130e857600080fd5b60200201516103a051808210156130fe57600080fd5b8082039050905060018082101561311457600080fd5b808203905090506102205261022051600254808202821582848304141761313a57600080fd5b809050905090506402540be400808204905090506103c052610220516103c0518082101561316757600080fd5b80820390509050670de0b6b3a7640000808202821582848304141761318b57600080fd5b8090509050905061014061020051600281106131a657600080fd5b602002015180806131b657600080fd5b820490509050610220526103c05160035480820282158284830414176131db57600080fd5b809050905090506402540be400808204905090506103e0526103e051670de0b6b3a7640000808202821582848304141761321457600080fd5b80905090509050610140610200516002811061322f57600080fd5b6020020151808061323f57600080fd5b8204905090506103e0526103006101e0516002811061325d57600080fd5b60200201516102805181818301101561327557600080fd5b808201905090506101e0516002811061328d57600080fd5b600160c052602060c020015561030061020051600281106132ad57600080fd5b602002015161022051808210156132c357600080fd5b808203905090506103e051808210156132db57600080fd5b8082039050905061020051600281106132f357600080fd5b600160c052602060c020015560006101c0511215156133ea5760206104a060246370a0823161042052306104405261043c610260515afa61333357600080fd5b601f3d1161334057600080fd5b6000506104a05161040052610180513b61335957600080fd5b600060006064631a4d01d26104205261022051610440526101c0516104605260006104805261043c6000610180515af161339257600080fd5b60206104a060246370a0823161042052306104405261043c610260515afa6133b957600080fd5b601f3d116133c657600080fd5b6000506104a05161040051808210156133de57600080fd5b80820390509050610220525b606435610220511015151561343e576308c379a0610400526020610420526017610440527f546f6f2066657720636f696e7320696e20726573756c740000000000000000006104605261044050606461041cfd5b61352a565b602061038060246370a0823161030052306103205261031c610260515afa61346a57600080fd5b601f3d1161347757600080fd5b6000506103805161022052610180513b61349057600080fd5b600060006084633df02124610300526101a051610320526101c0516103405261028051610360526064356103805261031c6000610180515af16134d257600080fd5b602061038060246370a0823161030052306103205261031c610260515afa6134f957600080fd5b601f3d1161350657600080fd5b60005061038051610220518082101561351e57600080fd5b80820390509050610220525b60006004610300527fa9059cbb000000000000000000000000000000000000000000000000000000006103205261030060048060208461036001018260208501600060045af15050805182019150503360208261036001015260208101905061022051602082610360010152602081019050806103605261036090508051602001806104008284600060045af16135c057600080fd5b505060206104c0610400516104206000610260515af16135df57600080fd5b60203d808211156135f057806135f2565b815b905090506104a0526104a08051602001806102a08284600060045af161361757600080fd5b505060006102a051111561366a576102a080602001516000825180602090131561364057600080fd5b809190121561364e57600080fd5b806020036101000a8204905090509050151561366957600080fd5b5b6004356103005260443561032052602435610340526102205161036052337fd013ca23e77a65003c2c659c5442c00c805371b7fc1ebd4c206c41d1536bd90b6080610300a261022051600052600062ffffff5560206000f350600062ffffff55005b635b36389c60005114156139895762ffffff54156136e957600080fd5b600162ffffff5560206101c060046318160ddd6101605261017c6005545afa61371157600080fd5b601f3d1161371e57600080fd5b6000506101c05161014052608036610160376101e060006002818352015b6101e0516002811061374d57600080fd5b600160c052602060c0200154600435808202821582848304141761377057600080fd5b8090509050905061014051808061378657600080fd5b8204905090506102005260246101e051600281106137a357600080fd5b602002013561020051101515156137f9576308c379a0610220526020610240526017610260527f546f6f2066657720636f696e7320696e20726573756c740000000000000000006102805261026050606461023cfd5b6101e0516002811061380a57600080fd5b600160c052602060c020018054610200518082101561382857600080fd5b80820390509050815550610200516101606101e0516002811061384a57600080fd5b602002015260206102c0604463a9059cbb610220523361024052610200516102605261023c60006101e0516002811061388257600080fd5b600060c052602060c02001545af161389957600080fd5b601f3d116138a657600080fd5b6000506102c0516138b657600080fd5b5b815160010180835281141561373c575b5050602061028060446379cc67906101e0523361020052600435610220526101fc60006005545af16138f857600080fd5b601f3d1161390557600080fd5b60005061028050610160516101e05261018051610200526101a051610220526101c05161024052610140516004358082101561394057600080fd5b8082039050905061026052337f7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c60a06101e0a2600062ffffff556040610160f3600062ffffff55005b63e310327360005114156141735762ffffff54156139a657600080fd5b600162ffffff55601354156139ba57600080fd5b6101405160065801610026565b61016052610140526101605161014052610140516101605160065801610438565b6101805261016052610140526101805161016052602061020060046318160ddd6101a0526101bc6005545afa613a1d57600080fd5b601f3d11613a2a57600080fd5b600050610200516101805260006101805118613a4557600080fd5b60025460028082028215828483041417613a5e57600080fd5b809050905090506004808204905090506101a0526003546101c05260018060c052602060c020546101e05260018160c052602060c020015461020052506101e0516102205261020051610240526101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161016051610280526101e0516102a052610200516102c052610140516102e0526102e0516102c0516102a0516102805160065801610850565b61034052610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052610340516102605261028060006002818352015b6102206102805160028110613b6057600080fd5b60200201805160046102805160028110613b7957600080fd5b602002013580821015613b8b57600080fd5b808203905090508152505b8151600101808352811415613b4c575b50506101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161028051610160516102a052610220516102c052610240516102e0526101405161030052610300516102e0516102c0516102a05160065801610850565b6103605261028052610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405261036051610280526040366102a0376102e060006002818352015b610280516101e06102e05160028110613c7057600080fd5b60200201518082028215828483041417613c8957600080fd5b80905090509050610260518080613c9f57600080fd5b820490509050610300526000610320526102206102e05160028110613cc357600080fd5b6020020151610300511115613d0c57610300516102206102e05160028110613cea57600080fd5b602002015180821015613cfc57600080fd5b8082039050905061032052613d42565b6102206102e05160028110613d2057600080fd5b60200201516103005180821015613d3657600080fd5b80820390509050610320525b6101a051610320518082028215828483041417613d5e57600080fd5b809050905090506402540be400808204905090506102a06102e05160028110613d8657600080fd5b60200201526102206102e05160028110613d9f57600080fd5b60200201516102a06102e05160028110613db857600080fd5b60200201516101c0518082028215828483041417613dd557600080fd5b809050905090506402540be4008082049050905080821015613df657600080fd5b808203905090506102e05160028110613e0e57600080fd5b600160c052602060c02001556102206102e05160028110613e2e57600080fd5b6020020180516102a06102e05160028110613e4857600080fd5b602002015180821015613e5a57600080fd5b808203905090508152505b8151600101808352811415613c58575b5050610140610300525b61030051516020610300510161030052610300610300511015613ea157613e7f565b61016051610320526102205161034052610240516103605261014051610380526103805161036051610340516103205160065801610850565b6103e0526102e0610300525b6103005152602061030051036103005261014061030051101515613f0957613ee6565b6103e0516102e052610260516102e05180821015613f2657600080fd5b80820390509050610180518082028215828483041417613f4557600080fd5b80905090509050610260518080613f5b57600080fd5b8204905090506103005260006103005118613f7557600080fd5b61030080516001818183011015613f8b57600080fd5b808201905090508152506044356103005111151515613fe9576308c379a0610320526020610340526014610360527f536c697070616765207363726577656420796f750000000000000000000000006103805261036050606461033cfd5b60206103c060446379cc6790610320523361034052610300516103605261033c60006005545af161401957600080fd5b601f3d1161402657600080fd5b6000506103c05061032060006002818352015b60006004610320516002811061404e57600080fd5b602002013518156140d55760206103e0604463a9059cbb6103405233610360526004610320516002811061408157600080fd5b60200201356103805261035c600061032051600281106140a057600080fd5b600060c052602060c02001545af16140b757600080fd5b601f3d116140c457600080fd5b6000506103e0516140d457600080fd5b5b5b8151600101808352811415614039575b505060043561032052602435610340526102a051610360526102c05161038052610280516103a05261018051610300518082101561412357600080fd5b808203905090506103c052337f2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e60c0610320a261030051600052600062ffffff5560206000f350600062ffffff55005b6000156144cf575b6101e0526101405261016052610180526101a0526101c05260006101605112156141a457600080fd5b600261016051126141b457600080fd5b606036610200376101c0516102605261014051600280820282158284830414176141dd57600080fd5b80905090509050610280526102a060006002818352015b610160516102a0511815614224576101806102a0516002811061421657600080fd5b602002015161022052614229565b6142a5565b61020080516102205181818301101561424157600080fd5b80820190509050815250610260516101c051808202821582848304141761426757600080fd5b80905090509050610220516002808202821582848304141761428857600080fd5b80905090509050808061429a57600080fd5b820490509050610260525b81516001018083528114156141f4575b5050610260516101c05180820282158284830414176142d357600080fd5b80905090509050606480820282158284830414176142f057600080fd5b80905090509050610280516002808202821582848304141761431157600080fd5b80905090509050808061432357600080fd5b82049050905061026052610200516101c0516064808202821582848304141761434b57600080fd5b8090509050905061028051808061436157600080fd5b82049050905081818301101561437657600080fd5b808201905090506102a0526101c0516102c0526102e0600060ff818352015b6102c051610240526102c0516102c05180820282158284830414176143b957600080fd5b80905090509050610260518181830110156143d357600080fd5b8082019050905060026102c05180820282158284830414176143f457600080fd5b809050905090506102a05181818301101561440e57600080fd5b808201905090506101c0518082101561442657600080fd5b80820390509050808061443857600080fd5b8204905090506102c052610240516102c051111561447f5760016102c051610240518082101561446757600080fd5b8082039050905011151561447a576144bb565b6144aa565b6001610240516102c0518082101561449657600080fd5b808203905090501115156144a9576144bb565b5b5b8151600101808352811415614395575b50506102c0516000526000516101e0515650005b600015614b6a575b6101a0526101405261016052610180526101405161016051610180516101a0516101c05160065801610026565b6101e0526101c0526101a0526101805261016052610140526101e0516101c0526101405161016051610180516101a0516101c0516101e0516102005161018051610220526102205160065801610226565b610280526102a052610200526101e0526101c0526101a05261018052610160526101405261028080516101e052806020015161020052506101405161016051610180516101a0516101c0516101e05161020051610220516101e0516102405261020051610260526101c0516102805261028051610260516102405160065801610559565b6102e05261022052610200526101e0526101c0526101a0526101805261016052610140526102e0516102205260206102c060046318160ddd6102605261027c6005545afa61462657600080fd5b601f3d1161463357600080fd5b6000506102c05161024052610220516101405161022051808202821582848304141761465e57600080fd5b8090509050905061024051808061467457600080fd5b8204905090508082101561468757600080fd5b80820390509050610260526101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516101c0516102a052610160516102c0526101e0516102e0526102005161030052610260516103205261032051610300516102e0516102c0516102a0516006580161417b565b6103805261028052610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405261038051610280526002546002808202821582848304141761475457600080fd5b809050905090506004808204905090506102a052670de0b6b3a76400006102c052670de0b6b3a76400006102e052610180516102e0526101e0516103005261020051610320526101e061016051600281106147ae57600080fd5b602002015161028051808210156147c457600080fd5b80820390509050670de0b6b3a764000080820282158284830414176147e857600080fd5b809050905090506102c0610160516002811061480357600080fd5b6020020151808061481357600080fd5b8204905090506103405261036060006002818352015b600061038052610160516103605114156148ab576101e0610360516002811061485157600080fd5b602002015161026051808202821582848304141761486e57600080fd5b8090509050905061022051808061488457600080fd5b820490509050610280518082101561489b57600080fd5b808203905090506103805261492a565b6101e061036051600281106148bf57600080fd5b60200201516101e061036051600281106148d857600080fd5b60200201516102605180820282158284830414176148f557600080fd5b8090509050905061022051808061490b57600080fd5b8204905090508082101561491e57600080fd5b80820390509050610380525b610300610360516002811061493e57600080fd5b6020020180516102a05161038051808202821582848304141761496057600080fd5b809050905090506402540be400808204905090508082101561498157600080fd5b808203905090508152505b8151600101808352811415614829575b505061030061016051600281106149b257600080fd5b6020020151610140610380525b610380515160206103805101610380526103806103805110156149e1576149bf565b6101c0516103a052610160516103c052610300516103e0526103205161040052610260516104205261042051610400516103e0516103c0516103a0516006580161417b565b61048052610360610380525b6103805152602061038051036103805261014061038051101515614a5557614a32565b6104805180821015614a6657600080fd5b808203905090506103605261036051600180821015614a8457600080fd5b80820390509050670de0b6b3a76400008082028215828483041417614aa857600080fd5b809050905090506102c06101605160028110614ac357600080fd5b60200201518080614ad357600080fd5b8204905090506103605261038080808061036051815250506020810190508080610340516103605180821015614b0857600080fd5b80820390509050815250506020810190508080610240518152505060609050905060c05260c0516103e0525b60006103e051111515614b4657614b62565b60206103e05103610380015160206103e051036103e052614b34565b6101a0515650005b63cc2b27d76000511415614c335760243580806000811215614b8857195b607f1c15614b9557600080fd5b90505061014051600658016104d2565b61016052610140526101605161014052610140516004356101605260243561018052610140516101a0526101a0516101805161016051600658016144d7565b61020052610220526102405261014052610200808080805161026052505060208101905080808051610280525050602081019050808080516102a052505050506102605160005260206000f350005b631a4d01d26000511415614f385762ffffff5415614c5057600080fd5b600162ffffff5560243580806000811215614c6757195b607f1c15614c7457600080fd5b90505060135415614c8457600080fd5b6101405160065801610438565b61016052610140526101605161014052606036610160376101405161016051610180516101a0516004356101c0526024356101e0526101405161020052610200516101e0516101c051600658016144d7565b61026052610280526102a0526101a05261018052610160526101405261026080808080516102c0525050602081019050808080516102e05250506020810190508080805161030052505050506102c080516101605280602001516101805280604001516101a052506044356101605110151515614d9f576308c379a06101c05260206101e0526018610200527f4e6f7420656e6f75676820636f696e732072656d6f7665640000000000000000610220526102005060646101dcfd5b60243560028110614daf57600080fd5b600160c052602060c02001805461016051610180516003548082028215828483041417614ddb57600080fd5b809050905090506402540be40080820490509050818183011015614dfe57600080fd5b8082019050905080821015614e1257600080fd5b80820390509050815550602061026060446379cc67906101c052336101e052600435610200526101dc60006005545af1614e4b57600080fd5b601f3d11614e5857600080fd5b600050610260506020610260604463a9059cbb6101c052336101e05261016051610200526101dc600060243560028110614e9157600080fd5b600060c052602060c02001545af1614ea857600080fd5b601f3d11614eb557600080fd5b60005061026051614ec557600080fd5b6004356101c052610160516101e0526101a05160043580821015614ee857600080fd5b8082039050905061020052337f5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a060606101c0a261016051600052600062ffffff5560206000f350600062ffffff55005b633c157e6460005114156150dc576004543314614f5457600080fd5b600c5462015180818183011015614f6a57600080fd5b80820190509050421015614f7d57600080fd5b4262015180818183011015614f9157600080fd5b808201905090506024351015614fa657600080fd5b6101405160065801610026565b6101605261014052610160516101405260043560648082028215828483041417614fdc57600080fd5b809050905090506101605260006004351115614fff57620f424060043510615002565b60005b61500b57600080fd5b6101405161016051101561504e576101405161016051600a808202821582848304141761503757600080fd5b80905090509050101561504957600080fd5b61507f565b61014051600a808202821582848304141761506857600080fd5b8090509050905061016051111561507e57600080fd5b5b61014051600a5561016051600b5542600c55602435600d556101405161018052610160516101a052426101c0526024356101e0527fa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c2546080610180a1005b63551a658860005114156151615760045433146150f857600080fd5b6101405160065801610026565b6101605261014052610160516101405261014051600a5561014051600b5542600c5542600d55610140516101605242610180527f46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc2019386040610160a1005b635b5a1467600051141561521f57600454331461517d57600080fd5b600e541561518a57600080fd5b64012a05f200600435111561519e57600080fd5b6402540be40060243511156151b257600080fd5b426203f4808181830110156151c657600080fd5b808201905090506101405261014051600e556004356010556024356011556004356101605260243561018052610140517f351fc5da2fbf480f2225debf3664a4bc90fa9923743aad58b4603f648e931fe06040610160a2005b634f12fe9760005114156152b357600454331461523b57600080fd5b600e5442101561524a57600080fd5b6000600e541861525957600080fd5b6000600e55601054610140526011546101605261014051600255610160516003556101405161018052610160516101a0527fbe12859b636aed607d5230b2cc2711f68d70e51060e6cca1f575ef5d2fcc95d16040610180a1005b63226840fb60005114156152d65760045433146152cf57600080fd5b6000600e55005b636b441a40600051141561536a5760043560a01c156152f457600080fd5b600454331461530257600080fd5b600f541561530f57600080fd5b426203f48081818301101561532357600080fd5b808201905090506101405261014051600f55600435601255600435610140517f181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb93560006000a3005b636a1c05ae60005114156153e357600454331461538657600080fd5b600f5442101561539557600080fd5b6000600f54186153a457600080fd5b6000600f556012546101405261014051600455610140517f71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c60006000a2005b6386fbf19360005114156154065760045433146153ff57600080fd5b6000600f55005b63e2e7d26460005114156154a25760206101c060246370a0823161014052306101605261015c6004356002811061543c57600080fd5b600060c052602060c02001545afa61545357600080fd5b601f3d1161546057600080fd5b6000506101c0516004356002811061547757600080fd5b600160c052602060c02001548082101561549057600080fd5b8082039050905060005260206000f350005b6330c5408560005114156155cb5760045433146154be57600080fd5b61014060006002818352015b61014051600281106154db57600080fd5b600060c052602060c020015461016052602061022060246370a082316101a052306101c0526101bc610160515afa61551257600080fd5b601f3d1161551f57600080fd5b60005061022051610140516002811061553757600080fd5b600160c052602060c02001548082101561555057600080fd5b808203905090506101805260006101805111156155b6576020610240604463a9059cbb6101a052336101c052610180516101e0526101bc6000610160515af161559857600080fd5b601f3d116155a557600080fd5b600050610240516155b557600080fd5b5b5b81516001018083528114156154ca575b5050005b63524c390160005114156156795760045433146155e757600080fd5b61014060006002818352015b60206101e060246370a0823161016052306101805261017c610140516002811061561c57600080fd5b600060c052602060c02001545afa61563357600080fd5b601f3d1161564057600080fd5b6000506101e051610140516002811061565857600080fd5b600160c052602060c02001555b81516001018083528114156155f3575b5050005b63e369885360005114156156aa57600454331461569557600080fd5b42601454116156a357600080fd5b6001601355005b633046f97260005114156156cd5760045433146156c657600080fd5b6000601355005b63c6610657600051141561570257600435600281106156eb57600080fd5b600060c052602060c020015460005260206000f350005b634903b0d16000511415615737576004356002811061572057600080fd5b600160c052602060c020015460005260206000f350005b63ddca3f4360005114156157535760025460005260206000f350005b63fee3f7f9600051141561576f5760035460005260206000f350005b638da5cb5b600051141561578b5760045460005260206000f350005b63fc0c546a60005114156157a75760055460005260206000f350005b635d6362bb60005114156157c35760065460005260206000f350005b6395ccc02f60005114156157df5760075460005260206000f350005b638296f84f60005114156157fb5760085460005260206000f350005b6387cb4f576000511415615830576004356003811061581957600080fd5b600960c052602060c020015460005260206000f350005b635409491a600051141561584c57600a5460005260206000f350005b63b4b577ad600051141561586857600b5460005260206000f350005b632081066c600051141561588457600c5460005260206000f350005b631405228860005114156158a057600d5460005260206000f350005b63405e28f860005114156158bc57600e5460005260206000f350005b63e0a0b58660005114156158d857600f5460005260206000f350005b6358680d0b60005114156158f45760105460005260206000f350005b63e382446260005114156159105760115460005260206000f350005b631ec0cdc1600051141561592c5760125460005260206000f350005b5b60006000fd
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003f4232107ff437bcd7ea9abc134ad553efeddaff0000000000000000000000008daebade922df735c38c80c7ebd708af50815faa000000000000000000000000075b1bb99792c9e1041ba13afef80c91a1e70fb300000000000000000000000064eda51d3ad40d56b9dfc5554e06f94e1dd786fd0000000000000000000000007fc77b5c7614e1533320ea6ddc2eb61fa00a9714000000000000000000000000000000000000000000000000000000000000009600000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000012a05f200
-----Decoded View---------------
Arg [0] : _owner (address): 0x3f4232107FF437bCD7ea9aBC134aD553eFEDDaff
Arg [1] : _coins (address[2]): 0x8dAEBADE922dF735c38C80C7eBD708Af50815fAa,0x075b1bb99792c9E1041bA13afEf80C91a1e70fB3
Arg [2] : _pool_token (address): 0x64eda51d3Ad40D56b9dFc5554E06F94e1Dd786Fd
Arg [3] : _base_pool (address): 0x7fC77b5c7614E1533320Ea6DDc2Eb61fa00A9714
Arg [4] : _A (uint256): 150
Arg [5] : _fee (uint256): 4000000
Arg [6] : _admin_fee (uint256): 5000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000003f4232107ff437bcd7ea9abc134ad553efeddaff
Arg [1] : 0000000000000000000000008daebade922df735c38c80c7ebd708af50815faa
Arg [2] : 000000000000000000000000075b1bb99792c9e1041ba13afef80c91a1e70fb3
Arg [3] : 00000000000000000000000064eda51d3ad40d56b9dfc5554e06f94e1dd786fd
Arg [4] : 0000000000000000000000007fc77b5c7614e1533320ea6ddc2eb61fa00a9714
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000096
Arg [6] : 00000000000000000000000000000000000000000000000000000000003d0900
Arg [7] : 000000000000000000000000000000000000000000000000000000012a05f200
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.