ERC-20
Overview
Max Total Supply
6,973,681.583006974210797171 USDecrvUSD
Holders
194
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000000000003 USDecrvUSDValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
CurveStableSwapNG
Compiler Version
vyper:0.3.10
Contract Source Code (Vyper language format)
# pragma version 0.3.10 # pragma optimize codesize # pragma evm-version shanghai """ @title CurveStableSwapNG @author Curve.Fi @license Copyright (c) Curve.Fi, 2020-2023 - all rights reserved @notice Stableswap implementation for up to 8 coins with no rehypothecation, i.e. the AMM does not deposit tokens into other contracts. The Pool contract also records exponential moving averages for coins relative to coin 0. @dev Asset Types: 0. Standard ERC20 token with no additional features. Note: Users are advised to do careful due-diligence on ERC20 tokens that they interact with, as this contract cannot differentiate between harmless and malicious ERC20 tokens. 1. Oracle - token with rate oracle (e.g. wstETH) Note: Oracles may be controlled externally by an EOA. Users are advised to proceed with caution. 2. Rebasing - token with rebase (e.g. stETH). Note: Users and Integrators are advised to understand how the AMM contract works with rebasing balances. 3. ERC4626 - token with convertToAssets method (e.g. sDAI). Note: Some ERC4626 implementations may be susceptible to Donation/Inflation attacks. Users are advised to proceed with caution. Supports: 1. ERC20 support for return True/revert, return True/False, return None 2. ERC20 tokens can have arbitrary decimals (<=18). 3. ERC20 tokens that rebase (either positive or fee on transfer) 4. ERC20 tokens that have a rate oracle (e.g. wstETH, cbETH, sDAI, etc.) Note: Oracle precision _must_ be 10**18. 5. ERC4626 tokens with arbitrary precision (<=18) of Vault token and underlying asset. Additional features include: 1. Adds price oracles based on AMM State Price (and _not_ last traded price). 2. Adds TVL oracle based on D. 3. `exchange_received`: swaps that expect an ERC20 transfer to have occurred prior to executing the swap. Note: a. If pool contains rebasing tokens and one of the `asset_types` is 2 (Rebasing) then calling `exchange_received` will REVERT. b. If pool contains rebasing token and `asset_types` does not contain 2 (Rebasing) then this is an incorrect implementation and rebases can be stolen. 4. Adds `get_dx`: Similar to `get_dy` which returns an expected output of coin[j] for given `dx` amount of coin[i], `get_dx` returns expected input of coin[i] for an output amount of coin[j]. 5. Fees are dynamic: AMM will charge a higher fee if pool depegs. This can cause very slight discrepancies between calculated fees and realised fees. """ from vyper.interfaces import ERC20 from vyper.interfaces import ERC20Detailed from vyper.interfaces import ERC4626 implements: ERC20 # ------------------------------- Interfaces --------------------------------- interface Factory: def fee_receiver() -> address: view def admin() -> address: view def views_implementation() -> address: view interface ERC1271: def isValidSignature(_hash: bytes32, _signature: Bytes[65]) -> bytes32: view interface StableSwapViews: def get_dx(i: int128, j: int128, dy: uint256, pool: address) -> uint256: view def get_dy(i: int128, j: int128, dx: uint256, pool: address) -> uint256: view def dynamic_fee(i: int128, j: int128, pool: address) -> uint256: view def calc_token_amount( _amounts: DynArray[uint256, MAX_COINS], _is_deposit: bool, _pool: address ) -> uint256: view # --------------------------------- Events ----------------------------------- event Transfer: sender: indexed(address) receiver: indexed(address) value: uint256 event Approval: owner: indexed(address) spender: indexed(address) value: uint256 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: DynArray[uint256, MAX_COINS] fees: DynArray[uint256, MAX_COINS] invariant: uint256 token_supply: uint256 event RemoveLiquidity: provider: indexed(address) token_amounts: DynArray[uint256, MAX_COINS] fees: DynArray[uint256, MAX_COINS] token_supply: uint256 event RemoveLiquidityOne: provider: indexed(address) token_id: int128 token_amount: uint256 coin_amount: uint256 token_supply: uint256 event RemoveLiquidityImbalance: provider: indexed(address) token_amounts: DynArray[uint256, MAX_COINS] fees: DynArray[uint256, MAX_COINS] invariant: uint256 token_supply: uint256 event RampA: old_A: uint256 new_A: uint256 initial_time: uint256 future_time: uint256 event StopRampA: A: uint256 t: uint256 event ApplyNewFee: fee: uint256 offpeg_fee_multiplier: uint256 MAX_COINS: constant(uint256) = 8 # max coins is 8 in the factory MAX_COINS_128: constant(int128) = 8 # ---------------------------- Pool Variables -------------------------------- N_COINS: public(immutable(uint256)) N_COINS_128: immutable(int128) PRECISION: constant(uint256) = 10 ** 18 factory: immutable(Factory) coins: public(immutable(DynArray[address, MAX_COINS])) asset_types: immutable(DynArray[uint8, MAX_COINS]) stored_balances: DynArray[uint256, MAX_COINS] # Fee specific vars FEE_DENOMINATOR: constant(uint256) = 10 ** 10 fee: public(uint256) # fee * 1e10 offpeg_fee_multiplier: public(uint256) # * 1e10 admin_fee: public(constant(uint256)) = 5000000000 MAX_FEE: constant(uint256) = 5 * 10 ** 9 # ---------------------- Pool Amplification Parameters ----------------------- A_PRECISION: constant(uint256) = 100 MAX_A: constant(uint256) = 10 ** 6 MAX_A_CHANGE: constant(uint256) = 10 initial_A: public(uint256) future_A: public(uint256) initial_A_time: public(uint256) future_A_time: public(uint256) # ---------------------------- Admin Variables ------------------------------- MIN_RAMP_TIME: constant(uint256) = 86400 admin_balances: public(DynArray[uint256, MAX_COINS]) # ----------------------- Oracle Specific vars ------------------------------- rate_multipliers: immutable(DynArray[uint256, MAX_COINS]) # [bytes4 method_id][bytes8 <empty>][bytes20 oracle] oracles: DynArray[uint256, MAX_COINS] # For ERC4626 tokens, we need: call_amount: immutable(DynArray[uint256, MAX_COINS]) scale_factor: immutable(DynArray[uint256, MAX_COINS]) last_prices_packed: DynArray[uint256, MAX_COINS] # packing: last_price, ma_price last_D_packed: uint256 # packing: last_D, ma_D ma_exp_time: public(uint256) D_ma_time: public(uint256) ma_last_time: public(uint256) # packing: ma_last_time_p, ma_last_time_D # ma_last_time has a distinction for p and D because p is _not_ updated if # users remove_liquidity, but D is. # shift(2**32 - 1, 224) ORACLE_BIT_MASK: constant(uint256) = (2**32 - 1) * 256**28 # --------------------------- ERC20 Specific Vars ---------------------------- name: public(immutable(String[64])) symbol: public(immutable(String[32])) decimals: public(constant(uint8)) = 18 version: public(constant(String[8])) = "v7.0.0" balanceOf: public(HashMap[address, uint256]) allowance: public(HashMap[address, HashMap[address, uint256]]) total_supply: uint256 nonces: public(HashMap[address, uint256]) # keccak256("isValidSignature(bytes32,bytes)")[:4] << 224 ERC1271_MAGIC_VAL: constant(bytes32) = 0x1626ba7e00000000000000000000000000000000000000000000000000000000 EIP712_TYPEHASH: constant(bytes32) = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract,bytes32 salt)") EIP2612_TYPEHASH: constant(bytes32) = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)") VERSION_HASH: constant(bytes32) = keccak256(version) NAME_HASH: immutable(bytes32) CACHED_CHAIN_ID: immutable(uint256) salt: public(immutable(bytes32)) CACHED_DOMAIN_SEPARATOR: immutable(bytes32) # ------------------------------ AMM Setup ----------------------------------- @external def __init__( _name: String[32], _symbol: String[10], _A: uint256, _fee: uint256, _offpeg_fee_multiplier: uint256, _ma_exp_time: uint256, _coins: DynArray[address, MAX_COINS], _rate_multipliers: DynArray[uint256, MAX_COINS], _asset_types: DynArray[uint8, MAX_COINS], _method_ids: DynArray[bytes4, MAX_COINS], _oracles: DynArray[address, MAX_COINS], ): """ @notice Initialize the pool contract @param _name Name of the new plain pool. @param _symbol Symbol for the new plain pool. @param _A Amplification co-efficient - a lower value here means less tolerance for imbalance within the pool's assets. Suggested values include: * Uncollateralized algorithmic stablecoins: 5-10 * Non-redeemable, collateralized assets: 100 * Redeemable assets: 200-400 @param _fee Trade fee, given as an integer with 1e10 precision. The the maximum is 1% (100000000). 50% of the fee is distributed to veCRV holders. @param _offpeg_fee_multiplier A multiplier that determines how much to increase Fees by when assets in the AMM depeg. Example value: 20000000000 @param _ma_exp_time Averaging window of oracle. Set as time_in_seconds / ln(2) Example: for 10 minute EMA, _ma_exp_time is 600 / ln(2) ~= 866 @param _coins List of addresses of the coins being used in the pool. @param _rate_multipliers An array of: [10 ** (36 - _coins[n].decimals()), ... for n in range(N_COINS)] @param _asset_types Array of uint8 representing tokens in pool @param _method_ids Array of first four bytes of the Keccak-256 hash of the function signatures of the oracle addresses that gives rate oracles. Calculated as: keccak(text=event_signature.replace(" ", ""))[:4] @param _oracles Array of rate oracle addresses. """ coins = _coins asset_types = _asset_types __n_coins: uint256 = len(_coins) N_COINS = __n_coins N_COINS_128 = convert(__n_coins, int128) rate_multipliers = _rate_multipliers factory = Factory(msg.sender) A: uint256 = _A * A_PRECISION self.initial_A = A self.future_A = A self.fee = _fee self.offpeg_fee_multiplier = _offpeg_fee_multiplier assert _ma_exp_time != 0 self.ma_exp_time = _ma_exp_time self.D_ma_time = 62324 # <--------- 12 hours default on contract start. self.ma_last_time = self.pack_2(block.timestamp, block.timestamp) # ------------------- initialize storage for DynArrays ------------------ _call_amount: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS]) _scale_factor: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS]) for i in range(MAX_COINS_128): if i == N_COINS_128: break if i < N_COINS_128 - 1: self.last_prices_packed.append(self.pack_2(10**18, 10**18)) self.oracles.append(convert(_method_ids[i], uint256) * 2**224 | convert(_oracles[i], uint256)) self.stored_balances.append(0) self.admin_balances.append(0) if _asset_types[i] == 3: _call_amount.append(10**convert(ERC20Detailed(_coins[i]).decimals(), uint256)) _underlying_asset: address = ERC4626(_coins[i]).asset() _scale_factor.append(10**(18 - convert(ERC20Detailed(_underlying_asset).decimals(), uint256))) else: _call_amount.append(0) _scale_factor.append(0) call_amount = _call_amount scale_factor = _scale_factor # ----------------------------- ERC20 stuff ------------------------------ name = _name symbol = _symbol # EIP712 related params ----------------- NAME_HASH = keccak256(name) salt = block.prevhash CACHED_CHAIN_ID = chain.id CACHED_DOMAIN_SEPARATOR = keccak256( _abi_encode( EIP712_TYPEHASH, NAME_HASH, VERSION_HASH, chain.id, self, salt, ) ) # ------------------------ Fire a transfer event ------------------------- log Transfer(empty(address), msg.sender, 0) # ------------------ Token transfers in and out of the AMM ------------------- @internal def _transfer_in( coin_idx: int128, dx: uint256, sender: address, expect_optimistic_transfer: bool, ) -> uint256: """ @notice Contains all logic to handle ERC20 token transfers. @param coin_idx Index of the coin to transfer in. @param dx amount of `_coin` to transfer into the pool. @param dy amount of `_coin` to transfer out of the pool. @param sender address to transfer `_coin` from. @param receiver address to transfer `_coin` to. @param expect_optimistic_transfer True if contract expects an optimistic coin transfer """ _dx: uint256 = ERC20(coins[coin_idx]).balanceOf(self) # ------------------------- Handle Transfers ----------------------------- if expect_optimistic_transfer: _dx = _dx - self.stored_balances[coin_idx] assert _dx >= dx else: assert dx > 0 # dev : do not transferFrom 0 tokens into the pool assert ERC20(coins[coin_idx]).transferFrom( sender, self, dx, default_return_value=True ) _dx = ERC20(coins[coin_idx]).balanceOf(self) - _dx # --------------------------- Store transferred in amount --------------------------- self.stored_balances[coin_idx] += _dx return _dx @internal def _transfer_out(_coin_idx: int128, _amount: uint256, receiver: address): """ @notice Transfer a single token from the pool to receiver. @dev This function is called by `remove_liquidity` and `remove_liquidity_one`, `_exchange` and `_withdraw_admin_fees` methods. @param _coin_idx Index of the token to transfer out @param _amount Amount of token to transfer out @param receiver Address to send the tokens to """ coin_balance: uint256 = ERC20(coins[_coin_idx]).balanceOf(self) # ------------------------- Handle Transfers ----------------------------- assert ERC20(coins[_coin_idx]).transfer( receiver, _amount, default_return_value=True ) # ----------------------- Update Stored Balances ------------------------- self.stored_balances[_coin_idx] = coin_balance - _amount # -------------------------- AMM Special Methods ----------------------------- @view @internal def _stored_rates() -> DynArray[uint256, MAX_COINS]: """ @notice Gets rate multipliers for each coin. @dev If the coin has a rate oracle that has been properly initialised, this method queries that rate by static-calling an external contract. """ rates: DynArray[uint256, MAX_COINS] = rate_multipliers oracles: DynArray[uint256, MAX_COINS] = self.oracles for i in range(MAX_COINS_128): if i == N_COINS_128: break if asset_types[i] == 1 and not oracles[i] == 0: # NOTE: fetched_rate is assumed to be 10**18 precision fetched_rate: uint256 = convert( raw_call( convert(oracles[i] % 2**160, address), _abi_encode(oracles[i] & ORACLE_BIT_MASK), max_outsize=32, is_static_call=True, ), uint256 ) rates[i] = unsafe_div(rates[i] * fetched_rate, PRECISION) elif asset_types[i] == 3: # ERC4626 # fetched_rate: uint256 = ERC4626(coins[i]).convertToAssets(call_amount[i]) * scale_factor[i] # here: call_amount has ERC4626 precision, but the returned value is scaled up to 18 # using scale_factor which is (18 - n) if underlying asset has n decimals. rates[i] = unsafe_div( rates[i] * ERC4626(coins[i]).convertToAssets(call_amount[i]) * scale_factor[i], PRECISION ) # 1e18 precision return rates @view @internal def _balances() -> DynArray[uint256, MAX_COINS]: """ @notice Calculates the pool's balances _excluding_ the admin's balances. @dev If the pool contains rebasing tokens, this method ensures LPs keep all rebases and admin only claims swap fees. This also means that, since admin's balances are stored in an array and not inferred from read balances, the fees in the rebasing token that the admin collects is immune to slashing events. """ result: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS]) balances_i: uint256 = 0 for i in range(MAX_COINS_128): if i == N_COINS_128: break if 2 in asset_types: balances_i = ERC20(coins[i]).balanceOf(self) - self.admin_balances[i] else: balances_i = self.stored_balances[i] - self.admin_balances[i] result.append(balances_i) return result # -------------------------- AMM Main Functions ------------------------------ @external @nonreentrant('lock') def exchange( i: int128, j: int128, _dx: uint256, _min_dy: uint256, _receiver: address = msg.sender, ) -> 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 value 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 """ return self._exchange( msg.sender, i, j, _dx, _min_dy, _receiver, False ) @external @nonreentrant('lock') def exchange_received( i: int128, j: int128, _dx: uint256, _min_dy: uint256, _receiver: address = msg.sender, ) -> uint256: """ @notice Perform an exchange between two coins without transferring token in @dev The contract swaps tokens based on a change in balance of coin[i]. The dx = ERC20(coin[i]).balanceOf(self) - self.stored_balances[i]. Users of this method are dex aggregators, arbitrageurs, or other users who do not wish to grant approvals to the contract: they would instead send tokens directly to the contract and call `exchange_received`. Note: This is disabled if pool contains rebasing tokens. @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 2 in asset_types # dev: exchange_received not supported if pool contains rebasing tokens return self._exchange( msg.sender, i, j, _dx, _min_dy, _receiver, True, # <--------------------------------------- swap optimistically. ) @external @nonreentrant('lock') def add_liquidity( _amounts: DynArray[uint256, MAX_COINS], _min_mint_amount: uint256, _receiver: address = msg.sender ) -> 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 @param _receiver Address that owns the minted LP tokens @return Amount of LP tokens received by depositing """ amp: uint256 = self._A() old_balances: DynArray[uint256, MAX_COINS] = self._balances() rates: DynArray[uint256, MAX_COINS] = self._stored_rates() # Initial invariant D0: uint256 = self.get_D_mem(rates, old_balances, amp) total_supply: uint256 = self.total_supply new_balances: DynArray[uint256, MAX_COINS] = old_balances # -------------------------- Do Transfers In ----------------------------- for i in range(MAX_COINS_128): if i == N_COINS_128: break if _amounts[i] > 0: new_balances[i] += self._transfer_in( i, _amounts[i], msg.sender, False, # expect_optimistic_transfer ) else: assert total_supply != 0 # dev: initial deposit requires all coins # ------------------------------------------------------------------------ # Invariant after change D1: uint256 = self.get_D_mem(rates, new_balances, amp) assert D1 > D0 # We need to recalculate the invariant accounting for fees # to calculate fair user's share fees: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS]) mint_amount: uint256 = 0 if total_supply > 0: ideal_balance: uint256 = 0 difference: uint256 = 0 new_balance: uint256 = 0 ys: uint256 = (D0 + D1) / N_COINS xs: uint256 = 0 _dynamic_fee_i: uint256 = 0 # Only account for fees if we are not the first to deposit base_fee: uint256 = self.fee * N_COINS / (4 * (N_COINS - 1)) for i in range(MAX_COINS_128): if i == N_COINS_128: break ideal_balance = D1 * old_balances[i] / D0 difference = 0 new_balance = new_balances[i] if ideal_balance > new_balance: difference = ideal_balance - new_balance else: difference = new_balance - ideal_balance # fee[i] = _dynamic_fee(i, j) * difference / FEE_DENOMINATOR xs = unsafe_div(rates[i] * (old_balances[i] + new_balance), PRECISION) _dynamic_fee_i = self._dynamic_fee(xs, ys, base_fee) fees.append(_dynamic_fee_i * difference / FEE_DENOMINATOR) self.admin_balances[i] += fees[i] * admin_fee / FEE_DENOMINATOR new_balances[i] -= fees[i] xp: DynArray[uint256, MAX_COINS] = self._xp_mem(rates, new_balances) D1 = self.get_D(xp, amp) # <--------------- Reuse D1 for new D value. mint_amount = total_supply * (D1 - D0) / D0 self.upkeep_oracles(xp, amp, D1) else: mint_amount = D1 # Take the dust if there was any # (re)instantiate D oracle if totalSupply is zero. self.last_D_packed = self.pack_2(D1, D1) assert mint_amount >= _min_mint_amount, "Slippage screwed you" # Mint pool tokens total_supply += mint_amount self.balanceOf[_receiver] += mint_amount self.total_supply = total_supply log Transfer(empty(address), _receiver, mint_amount) log AddLiquidity(msg.sender, _amounts, fees, D1, total_supply) return mint_amount @external @nonreentrant('lock') def remove_liquidity_one_coin( _burn_amount: uint256, i: int128, _min_received: uint256, _receiver: address = msg.sender, ) -> uint256: """ @notice Withdraw a single coin from the pool @param _burn_amount Amount of LP tokens to burn in the withdrawal @param i Index value of the coin to withdraw @param _min_received Minimum amount of coin to receive @param _receiver Address that receives the withdrawn coins @return Amount of coin received """ assert _burn_amount > 0 # dev: do not remove 0 LP tokens dy: uint256 = 0 fee: uint256 = 0 xp: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS]) amp: uint256 = empty(uint256) D: uint256 = empty(uint256) dy, fee, xp, amp, D = self._calc_withdraw_one_coin(_burn_amount, i) assert dy >= _min_received, "Not enough coins removed" self.admin_balances[i] += fee * admin_fee / FEE_DENOMINATOR self._burnFrom(msg.sender, _burn_amount) self._transfer_out(i, dy, _receiver) log RemoveLiquidityOne(msg.sender, i, _burn_amount, dy, self.total_supply) self.upkeep_oracles(xp, amp, D) return dy @external @nonreentrant('lock') def remove_liquidity_imbalance( _amounts: DynArray[uint256, MAX_COINS], _max_burn_amount: uint256, _receiver: address = msg.sender ) -> 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 @param _receiver Address that receives the withdrawn coins @return Actual amount of the LP token burned in the withdrawal """ amp: uint256 = self._A() rates: DynArray[uint256, MAX_COINS] = self._stored_rates() old_balances: DynArray[uint256, MAX_COINS] = self._balances() D0: uint256 = self.get_D_mem(rates, old_balances, amp) new_balances: DynArray[uint256, MAX_COINS] = old_balances for i in range(MAX_COINS_128): if i == N_COINS_128: break if _amounts[i] != 0: new_balances[i] -= _amounts[i] self._transfer_out(i, _amounts[i], _receiver) D1: uint256 = self.get_D_mem(rates, new_balances, amp) base_fee: uint256 = self.fee * N_COINS / (4 * (N_COINS - 1)) ys: uint256 = (D0 + D1) / N_COINS fees: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS]) dynamic_fee: uint256 = 0 xs: uint256 = 0 ideal_balance: uint256 = 0 difference: uint256 = 0 new_balance: uint256 = 0 for i in range(MAX_COINS_128): if i == N_COINS_128: break ideal_balance = D1 * old_balances[i] / D0 difference = 0 new_balance = new_balances[i] if ideal_balance > new_balance: difference = ideal_balance - new_balance else: difference = new_balance - ideal_balance xs = unsafe_div(rates[i] * (old_balances[i] + new_balance), PRECISION) dynamic_fee = self._dynamic_fee(xs, ys, base_fee) fees.append(dynamic_fee * difference / FEE_DENOMINATOR) self.admin_balances[i] += fees[i] * admin_fee / FEE_DENOMINATOR new_balances[i] -= fees[i] D1 = self.get_D_mem(rates, new_balances, amp) # dev: reuse D1 for new D. self.upkeep_oracles(new_balances, amp, D1) total_supply: uint256 = self.total_supply burn_amount: uint256 = ((D0 - D1) * total_supply / D0) + 1 assert burn_amount > 1 # dev: zero tokens burned assert burn_amount <= _max_burn_amount, "Slippage screwed you" total_supply -= burn_amount self._burnFrom(msg.sender, burn_amount) log RemoveLiquidityImbalance(msg.sender, _amounts, fees, D1, total_supply) return burn_amount @external @nonreentrant('lock') def remove_liquidity( _burn_amount: uint256, _min_amounts: DynArray[uint256, MAX_COINS], _receiver: address = msg.sender, _claim_admin_fees: bool = True, ) -> DynArray[uint256, MAX_COINS]: """ @notice Withdraw coins from the pool @dev Withdrawal amounts are based on current deposit ratios @param _burn_amount Quantity of LP tokens to burn in the withdrawal @param _min_amounts Minimum amounts of underlying coins to receive @param _receiver Address that receives the withdrawn coins @return List of amounts of coins that were withdrawn """ total_supply: uint256 = self.total_supply assert _burn_amount > 0 # dev: invalid burn amount amounts: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS]) balances: DynArray[uint256, MAX_COINS] = self._balances() value: uint256 = 0 for i in range(MAX_COINS_128): if i == N_COINS_128: break value = balances[i] * _burn_amount / total_supply assert value >= _min_amounts[i], "Withdrawal resulted in fewer coins than expected" amounts.append(value) self._transfer_out(i, value, _receiver) self._burnFrom(msg.sender, _burn_amount) # <---- Updates self.total_supply # --------------------------- Upkeep D_oracle ---------------------------- ma_last_time_unpacked: uint256[2] = self.unpack_2(self.ma_last_time) last_D_packed_current: uint256 = self.last_D_packed old_D: uint256 = last_D_packed_current & (2**128 - 1) self.last_D_packed = self.pack_2( old_D - unsafe_div(old_D * _burn_amount, total_supply), # new_D = proportionally reduce D. self._calc_moving_average( last_D_packed_current, self.D_ma_time, ma_last_time_unpacked[1] ) ) if ma_last_time_unpacked[1] < block.timestamp: ma_last_time_unpacked[1] = block.timestamp self.ma_last_time = self.pack_2(ma_last_time_unpacked[0], ma_last_time_unpacked[1]) # ------------------------------- Log event ------------------------------ log RemoveLiquidity( msg.sender, amounts, empty(DynArray[uint256, MAX_COINS]), total_supply - _burn_amount ) # ------- Withdraw admin fees if _claim_admin_fees is set to True -------- if _claim_admin_fees: self._withdraw_admin_fees() return amounts @external def withdraw_admin_fees(): """ @notice Claim admin fees. Callable by anyone. """ self._withdraw_admin_fees() # ------------------------ AMM Internal Functions ---------------------------- @view @internal def _dynamic_fee(xpi: uint256, xpj: uint256, _fee: uint256) -> uint256: _offpeg_fee_multiplier: uint256 = self.offpeg_fee_multiplier if _offpeg_fee_multiplier <= FEE_DENOMINATOR: return _fee xps2: uint256 = (xpi + xpj) ** 2 return ( (_offpeg_fee_multiplier * _fee) / ((_offpeg_fee_multiplier - FEE_DENOMINATOR) * 4 * xpi * xpj / xps2 + FEE_DENOMINATOR) ) @internal def __exchange( x: uint256, _xp: DynArray[uint256, MAX_COINS], rates: DynArray[uint256, MAX_COINS], i: int128, j: int128, ) -> uint256: amp: uint256 = self._A() D: uint256 = self.get_D(_xp, amp) y: uint256 = self.get_y(i, j, x, _xp, amp, D) dy: uint256 = _xp[j] - y - 1 # -1 just in case there were some rounding errors dy_fee: uint256 = dy * self._dynamic_fee((_xp[i] + x) / 2, (_xp[j] + y) / 2, self.fee) / FEE_DENOMINATOR # Convert all to real units dy = (dy - dy_fee) * PRECISION / rates[j] self.admin_balances[j] += ( dy_fee * admin_fee / FEE_DENOMINATOR ) * PRECISION / rates[j] # Calculate and store state prices: xp: DynArray[uint256, MAX_COINS] = _xp xp[i] = x xp[j] = y # D is not changed because we did not apply a fee self.upkeep_oracles(xp, amp, D) return dy @internal def _exchange( sender: address, i: int128, j: int128, _dx: uint256, _min_dy: uint256, receiver: address, expect_optimistic_transfer: bool ) -> uint256: assert i != j # dev: coin index out of range assert _dx > 0 # dev: do not exchange 0 coins rates: DynArray[uint256, MAX_COINS] = self._stored_rates() old_balances: DynArray[uint256, MAX_COINS] = self._balances() xp: DynArray[uint256, MAX_COINS] = self._xp_mem(rates, old_balances) # --------------------------- Do Transfer in ----------------------------- # `dx` is whatever the pool received after ERC20 transfer: dx: uint256 = self._transfer_in( i, _dx, sender, expect_optimistic_transfer ) # ------------------------------- Exchange ------------------------------- x: uint256 = xp[i] + dx * rates[i] / PRECISION dy: uint256 = self.__exchange(x, xp, rates, i, j) assert dy >= _min_dy, "Exchange resulted in fewer coins than expected" # --------------------------- Do Transfer out ---------------------------- self._transfer_out(j, dy, receiver) # ------------------------------------------------------------------------ log TokenExchange(msg.sender, i, _dx, j, dy) return dy @internal def _withdraw_admin_fees(): fee_receiver: address = factory.fee_receiver() assert fee_receiver != empty(address) # dev: fee receiver not set admin_balances: DynArray[uint256, MAX_COINS] = self.admin_balances for i in range(MAX_COINS_128): if i == N_COINS_128: break if admin_balances[i] > 0: self._transfer_out(i, admin_balances[i], fee_receiver) admin_balances[i] = 0 self.admin_balances = admin_balances # --------------------------- AMM Math Functions ----------------------------- @view @internal def get_y( i: int128, j: int128, x: uint256, xp: DynArray[uint256, MAX_COINS], _amp: uint256, _D: uint256 ) -> uint256: """ Calculate x[j] if one makes x[i] = x Done by solving quadratic equation iteratively. x_1**2 + x_1 * (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 != j # dev: same coin assert j >= 0 # dev: j below zero assert j < N_COINS_128 # dev: j above N_COINS # should be unreachable, but good for safety assert i >= 0 assert i < N_COINS_128 amp: uint256 = _amp D: uint256 = _D S_: uint256 = 0 _x: uint256 = 0 y_prev: uint256 = 0 c: uint256 = D Ann: uint256 = amp * N_COINS for _i in range(MAX_COINS_128): if _i == N_COINS_128: break 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: return y else: if y_prev - y <= 1: return y raise @pure @internal def get_D(_xp: DynArray[uint256, MAX_COINS], _amp: uint256) -> uint256: """ D invariant calculation in non-overflowing integer operations iteratively A * sum(x_i) * n**n + D = A * D * n**n + D**(n+1) / (n**n * prod(x_i)) Converging solution: D[j+1] = (A * n**n * sum(x_i) - D[j]**(n+1) / (n**n prod(x_i))) / (A * n**n - 1) """ S: uint256 = 0 for x in _xp: S += x if S == 0: return 0 D: uint256 = S Ann: uint256 = _amp * N_COINS D_P: uint256 = 0 Dprev: uint256 = 0 for i in range(255): D_P = D for x in _xp: D_P = D_P * D / (x * N_COINS) Dprev = D # (Ann * S / A_PRECISION + D_P * N_COINS) * D / ((Ann - A_PRECISION) * D / A_PRECISION + (N_COINS + 1) * D_P) D = ( (unsafe_div(Ann * S, A_PRECISION) + D_P * N_COINS) * D / ( unsafe_div((Ann - A_PRECISION) * D, A_PRECISION) + unsafe_add(N_COINS, 1) * D_P ) ) # Equality with the precision of 1 if D > Dprev: if D - Dprev <= 1: return D else: if Dprev - D <= 1: return D # convergence typically occurs in 4 rounds or less, this should be unreachable! # if it does happen the pool is borked and LPs can withdraw via `remove_liquidity` raise @pure @internal def get_y_D( A: uint256, i: int128, xp: DynArray[uint256, MAX_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 + x_1 * (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_128 # 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(MAX_COINS_128): if _i == N_COINS_128: break 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: return y else: if y_prev - y <= 1: return y raise @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 @pure @internal def _xp_mem( _rates: DynArray[uint256, MAX_COINS], _balances: DynArray[uint256, MAX_COINS] ) -> DynArray[uint256, MAX_COINS]: result: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS]) for i in range(MAX_COINS_128): if i == N_COINS_128: break result.append(_rates[i] * _balances[i] / PRECISION) return result @view @internal def get_D_mem( _rates: DynArray[uint256, MAX_COINS], _balances: DynArray[uint256, MAX_COINS], _amp: uint256 ) -> uint256: xp: DynArray[uint256, MAX_COINS] = self._xp_mem(_rates, _balances) return self.get_D(xp, _amp) @view @internal def _calc_withdraw_one_coin( _burn_amount: uint256, i: int128 ) -> ( uint256, uint256, DynArray[uint256, MAX_COINS], uint256, uint256 ): # First, need to calculate # * Get current D # * Solve Eqn against y_i for D - _token_amount amp: uint256 = self._A() rates: DynArray[uint256, MAX_COINS] = self._stored_rates() xp: DynArray[uint256, MAX_COINS] = self._xp_mem(rates, self._balances()) D0: uint256 = self.get_D(xp, amp) total_supply: uint256 = self.total_supply D1: uint256 = D0 - _burn_amount * D0 / total_supply new_y: uint256 = self.get_y_D(amp, i, xp, D1) base_fee: uint256 = self.fee * N_COINS / (4 * (N_COINS - 1)) ys: uint256 = (D0 + D1) / (2 * N_COINS) xp_reduced: DynArray[uint256, MAX_COINS] = xp dx_expected: uint256 = 0 xp_j: uint256 = 0 xavg: uint256 = 0 dynamic_fee: uint256 = 0 for j in range(MAX_COINS_128): if j == N_COINS_128: break dx_expected = 0 xp_j = xp[j] if j == i: dx_expected = xp_j * D1 / D0 - new_y xavg = (xp_j + new_y) / 2 else: dx_expected = xp_j - xp_j * D1 / D0 xavg = xp_j dynamic_fee = self._dynamic_fee(xavg, ys, base_fee) xp_reduced[j] = xp_j - dynamic_fee * dx_expected / FEE_DENOMINATOR dy: uint256 = xp_reduced[i] - self.get_y_D(amp, i, xp_reduced, D1) dy_0: uint256 = (xp[i] - new_y) * PRECISION / rates[i] # w/o fees dy = (dy - 1) * PRECISION / rates[i] # Withdraw less to account for rounding errors # update xp with new_y for p calculations. xp[i] = new_y return dy, dy_0 - dy, xp, amp, D1 # -------------------------- AMM Price Methods ------------------------------- @pure @internal def pack_2(p1: uint256, p2: uint256) -> uint256: assert p1 < 2**128 assert p2 < 2**128 return p1 | (p2 << 128) @pure @internal def unpack_2(packed: uint256) -> uint256[2]: return [packed & (2**128 - 1), packed >> 128] @internal @pure def _get_p( xp: DynArray[uint256, MAX_COINS], amp: uint256, D: uint256, ) -> DynArray[uint256, MAX_COINS]: # dx_0 / dx_1 only, however can have any number of coins in pool ANN: uint256 = unsafe_mul(amp, N_COINS) Dr: uint256 = unsafe_div(D, pow_mod256(N_COINS, N_COINS)) for i in range(MAX_COINS_128): if i == N_COINS_128: break Dr = Dr * D / xp[i] p: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS]) xp0_A: uint256 = ANN * xp[0] / A_PRECISION for i in range(1, MAX_COINS): if i == N_COINS: break p.append(10**18 * (xp0_A + Dr * xp[0] / xp[i]) / (xp0_A + Dr)) return p @internal def upkeep_oracles(xp: DynArray[uint256, MAX_COINS], amp: uint256, D: uint256): """ @notice Upkeeps price and D oracles. """ ma_last_time_unpacked: uint256[2] = self.unpack_2(self.ma_last_time) last_prices_packed_current: DynArray[uint256, MAX_COINS] = self.last_prices_packed last_prices_packed_new: DynArray[uint256, MAX_COINS] = last_prices_packed_current spot_price: DynArray[uint256, MAX_COINS] = self._get_p(xp, amp, D) # -------------------------- Upkeep price oracle ------------------------- for i in range(MAX_COINS): if i == N_COINS - 1: break if spot_price[i] != 0: # Upate packed prices ----------------- last_prices_packed_new[i] = self.pack_2( min(spot_price[i], 2 * 10**18), # <----- Cap spot value by 2. self._calc_moving_average( last_prices_packed_current[i], self.ma_exp_time, ma_last_time_unpacked[0], # index 0 is ma_last_time for prices ) ) self.last_prices_packed = last_prices_packed_new # ---------------------------- Upkeep D oracle --------------------------- last_D_packed_current: uint256 = self.last_D_packed self.last_D_packed = self.pack_2( D, self._calc_moving_average( last_D_packed_current, self.D_ma_time, ma_last_time_unpacked[1], # index 1 is ma_last_time for D ) ) # Housekeeping: Update ma_last_time for p and D oracles ------------------ for i in range(2): if ma_last_time_unpacked[i] < block.timestamp: ma_last_time_unpacked[i] = block.timestamp self.ma_last_time = self.pack_2(ma_last_time_unpacked[0], ma_last_time_unpacked[1]) @internal @view def _calc_moving_average( packed_value: uint256, averaging_window: uint256, ma_last_time: uint256 ) -> uint256: last_spot_value: uint256 = packed_value & (2**128 - 1) last_ema_value: uint256 = (packed_value >> 128) if ma_last_time < block.timestamp: # calculate new_ema_value and return that. alpha: uint256 = self.exp( -convert( (block.timestamp - ma_last_time) * 10**18 / averaging_window, int256 ) ) return (last_spot_value * (10**18 - alpha) + last_ema_value * alpha) / 10**18 return last_ema_value @view @external def last_price(i: uint256) -> uint256: return self.last_prices_packed[i] & (2**128 - 1) @view @external def ema_price(i: uint256) -> uint256: return (self.last_prices_packed[i] >> 128) @external @view def get_p(i: uint256) -> uint256: """ @notice Returns the AMM State price of token @dev if i = 0, it will return the state price of coin[1]. @param i index of state price (0 for coin[1], 1 for coin[2], ...) @return uint256 The state price quoted by the AMM for coin[i+1] """ amp: uint256 = self._A() xp: DynArray[uint256, MAX_COINS] = self._xp_mem( self._stored_rates(), self._balances() ) D: uint256 = self.get_D(xp, amp) return self._get_p(xp, amp, D)[i] @external @view @nonreentrant('lock') def price_oracle(i: uint256) -> uint256: return self._calc_moving_average( self.last_prices_packed[i], self.ma_exp_time, self.ma_last_time & (2**128 - 1) ) @external @view @nonreentrant('lock') def D_oracle() -> uint256: return self._calc_moving_average( self.last_D_packed, self.D_ma_time, self.ma_last_time >> 128 ) # ----------------------------- Math Utils ----------------------------------- @internal @pure def exp(x: int256) -> uint256: """ @dev Calculates the natural exponential function of a signed integer with a precision of 1e18. @notice Note that this function consumes about 810 gas units. The implementation is inspired by Remco Bloemen's implementation under the MIT license here: https://xn--2-umb.com/22/exp-ln. @dev This implementation is derived from Snekmate, which is authored by pcaversaccio (Snekmate), distributed under the AGPL-3.0 license. https://github.com/pcaversaccio/snekmate @param x The 32-byte variable. @return int256 The 32-byte calculation result. """ value: int256 = x # If the result is `< 0.5`, we return zero. This happens when we have the following: # "x <= floor(log(0.5e18) * 1e18) ~ -42e18". if (x <= -42139678854452767551): return empty(uint256) # When the result is "> (2 ** 255 - 1) / 1e18" we cannot represent it as a signed integer. # This happens when "x >= floor(log((2 ** 255 - 1) / 1e18) * 1e18) ~ 135". assert x < 135305999368893231589, "wad_exp overflow" # `x` is now in the range "(-42, 136) * 1e18". Convert to "(-42, 136) * 2 ** 96" for higher # intermediate precision and a binary base. This base conversion is a multiplication with # "1e18 / 2 ** 96 = 5 ** 18 / 2 ** 78". value = unsafe_div(x << 78, 5 ** 18) # Reduce the range of `x` to "(-½ ln 2, ½ ln 2) * 2 ** 96" by factoring out powers of two # so that "exp(x) = exp(x') * 2 ** k", where `k` is a signer integer. Solving this gives # "k = round(x / log(2))" and "x' = x - k * log(2)". Thus, `k` is in the range "[-61, 195]". k: int256 = unsafe_add(unsafe_div(value << 96, 54916777467707473351141471128), 2 ** 95) >> 96 value = unsafe_sub(value, unsafe_mul(k, 54916777467707473351141471128)) # Evaluate using a "(6, 7)"-term rational approximation. Since `p` is monic, # we will multiply by a scaling factor later. y: int256 = unsafe_add(unsafe_mul(unsafe_add(value, 1346386616545796478920950773328), value) >> 96, 57155421227552351082224309758442) p: int256 = unsafe_add(unsafe_mul(unsafe_add(unsafe_mul(unsafe_sub(unsafe_add(y, value), 94201549194550492254356042504812), y) >> 96,\ 28719021644029726153956944680412240), value), 4385272521454847904659076985693276 << 96) # We leave `p` in the "2 ** 192" base so that we do not have to scale it up # again for the division. q: int256 = unsafe_add(unsafe_mul(unsafe_sub(value, 2855989394907223263936484059900), value) >> 96, 50020603652535783019961831881945) q = unsafe_sub(unsafe_mul(q, value) >> 96, 533845033583426703283633433725380) q = unsafe_add(unsafe_mul(q, value) >> 96, 3604857256930695427073651918091429) q = unsafe_sub(unsafe_mul(q, value) >> 96, 14423608567350463180887372962807573) q = unsafe_add(unsafe_mul(q, value) >> 96, 26449188498355588339934803723976023) # The polynomial `q` has no zeros in the range because all its roots are complex. # No scaling is required, as `p` is already "2 ** 96" too large. Also, # `r` is in the range "(0.09, 0.25) * 2**96" after the division. r: int256 = unsafe_div(p, q) # To finalise the calculation, we have to multiply `r` by: # - the scale factor "s = ~6.031367120", # - the factor "2 ** k" from the range reduction, and # - the factor "1e18 / 2 ** 96" for the base conversion. # We do this all at once, with an intermediate result in "2**213" base, # so that the final right shift always gives a positive value. # Note that to circumvent Vyper's safecast feature for the potentially # negative parameter value `r`, we first convert `r` to `bytes32` and # subsequently to `uint256`. Remember that the EVM default behaviour is # to use two's complement representation to handle signed integers. return unsafe_mul(convert(convert(r, bytes32), uint256), 3822833074963236453042738258902158003155416615667) >> convert(unsafe_sub(195, k), uint256) # ---------------------------- ERC20 Utils ----------------------------------- @view @internal def _domain_separator() -> bytes32: if chain.id != CACHED_CHAIN_ID: return keccak256( _abi_encode( EIP712_TYPEHASH, NAME_HASH, VERSION_HASH, chain.id, self, salt, ) ) return CACHED_DOMAIN_SEPARATOR @internal def _transfer(_from: address, _to: address, _value: uint256): # # NOTE: vyper does not allow underflows # # so the following subtraction would revert on insufficient balance self.balanceOf[_from] -= _value self.balanceOf[_to] += _value log Transfer(_from, _to, _value) @internal def _burnFrom(_from: address, _burn_amount: uint256): self.total_supply -= _burn_amount self.balanceOf[_from] -= _burn_amount log Transfer(_from, empty(address), _burn_amount) @external def transfer(_to : address, _value : uint256) -> bool: """ @dev Transfer token for a specified address @param _to The address to transfer to. @param _value The amount to be transferred. """ self._transfer(msg.sender, _to, _value) return True @external def transferFrom(_from : address, _to : address, _value : uint256) -> bool: """ @dev Transfer tokens from one address to another. @param _from address The address which you want to send tokens from @param _to address The address which you want to transfer to @param _value uint256 the amount of tokens to be transferred """ self._transfer(_from, _to, _value) _allowance: uint256 = self.allowance[_from][msg.sender] if _allowance != max_value(uint256): self.allowance[_from][msg.sender] = _allowance - _value return True @external def approve(_spender : address, _value : uint256) -> bool: """ @notice Approve the passed address to transfer the specified amount of tokens on behalf of msg.sender @dev Beware that changing an allowance via this method brings the risk that someone may use both the old and new allowance by unfortunate transaction ordering: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 @param _spender The address which will transfer the funds @param _value The amount of tokens that may be transferred @return bool success """ self.allowance[msg.sender][_spender] = _value log Approval(msg.sender, _spender, _value) return True @external def permit( _owner: address, _spender: address, _value: uint256, _deadline: uint256, _v: uint8, _r: bytes32, _s: bytes32 ) -> bool: """ @notice Approves spender by owner's signature to expend owner's tokens. See https://eips.ethereum.org/EIPS/eip-2612. @dev Inspired by https://github.com/yearn/yearn-vaults/blob/main/contracts/Vault.vy#L753-L793 @dev Supports smart contract wallets which implement ERC1271 https://eips.ethereum.org/EIPS/eip-1271 @param _owner The address which is a source of funds and has signed the Permit. @param _spender The address which is allowed to spend the funds. @param _value The amount of tokens to be spent. @param _deadline The timestamp after which the Permit is no longer valid. @param _v The bytes[64] of the valid secp256k1 signature of permit by owner @param _r The bytes[0:32] of the valid secp256k1 signature of permit by owner @param _s The bytes[32:64] of the valid secp256k1 signature of permit by owner @return True, if transaction completes successfully """ assert _owner != empty(address) assert block.timestamp <= _deadline nonce: uint256 = self.nonces[_owner] digest: bytes32 = keccak256( concat( b"\x19\x01", self._domain_separator(), keccak256(_abi_encode(EIP2612_TYPEHASH, _owner, _spender, _value, nonce, _deadline)) ) ) if _owner.is_contract: sig: Bytes[65] = concat(_abi_encode(_r, _s), slice(convert(_v, bytes32), 31, 1)) # reentrancy not a concern since this is a staticcall assert ERC1271(_owner).isValidSignature(digest, sig) == ERC1271_MAGIC_VAL else: assert ecrecover(digest, convert(_v, uint256), convert(_r, uint256), convert(_s, uint256)) == _owner self.allowance[_owner][_spender] = _value self.nonces[_owner] = nonce + 1 log Approval(_owner, _spender, _value) return True @view @external def DOMAIN_SEPARATOR() -> bytes32: """ @notice EIP712 domain separator. @return bytes32 Domain Separator set for the current chain. """ return self._domain_separator() # ------------------------- AMM View Functions ------------------------------- @view @external def get_dx(i: int128, j: int128, dy: uint256) -> uint256: """ @notice Calculate the current input dx given output dy @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 dy Amount of `j` being received after exchange @return Amount of `i` predicted """ return StableSwapViews(factory.views_implementation()).get_dx(i, j, dy, self) @view @external def get_dy(i: int128, j: int128, dx: uint256) -> uint256: """ @notice Calculate the current output dy given input dx @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 @return Amount of `j` predicted """ return StableSwapViews(factory.views_implementation()).get_dy(i, j, dx, self) @view @external def calc_withdraw_one_coin(_burn_amount: uint256, i: int128) -> uint256: """ @notice Calculate the amount received when withdrawing a single coin @param _burn_amount Amount of LP tokens to burn in the withdrawal @param i Index value of the coin to withdraw @return Amount of coin received """ return self._calc_withdraw_one_coin(_burn_amount, i)[0] @view @external @nonreentrant('lock') def totalSupply() -> uint256: """ @notice The total supply of pool LP tokens @return self.total_supply, 18 decimals. """ return self.total_supply @view @external @nonreentrant('lock') def get_virtual_price() -> uint256: """ @notice The current virtual price of the pool LP token @dev Useful for calculating profits. The method may be vulnerable to donation-style attacks if implementation contains rebasing tokens. For integrators, caution is advised. @return LP token virtual price normalized to 1e18 """ amp: uint256 = self._A() xp: DynArray[uint256, MAX_COINS] = self._xp_mem( self._stored_rates(), self._balances() ) 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 return D * PRECISION / self.total_supply @view @external def calc_token_amount( _amounts: DynArray[uint256, MAX_COINS], _is_deposit: bool ) -> uint256: """ @notice Calculate addition or reduction in token supply from a deposit or withdrawal @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 """ return StableSwapViews(factory.views_implementation()).calc_token_amount(_amounts, _is_deposit, self) @view @external def A() -> uint256: return self._A() / A_PRECISION @view @external def A_precise() -> uint256: return self._A() @view @external def balances(i: uint256) -> uint256: """ @notice Get the current balance of a coin within the pool, less the accrued admin fees @param i Index value for the coin to query balance of @return Token balance """ return self._balances()[i] @view @external def get_balances() -> DynArray[uint256, MAX_COINS]: return self._balances() @view @external def stored_rates() -> DynArray[uint256, MAX_COINS]: return self._stored_rates() @view @external def dynamic_fee(i: int128, j: int128) -> uint256: """ @notice Return the fee for swapping between `i` and `j` @param i Index value for the coin to send @param j Index value of the coin to recieve @return Swap fee expressed as an integer with 1e10 precision """ return StableSwapViews(factory.views_implementation()).dynamic_fee(i, j, self) # --------------------------- AMM Admin Functions ---------------------------- @external def ramp_A(_future_A: uint256, _future_time: uint256): assert msg.sender == factory.admin() # 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 == factory.admin() # 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 set_new_fee(_new_fee: uint256, _new_offpeg_fee_multiplier: uint256): assert msg.sender == factory.admin() # set new fee: assert _new_fee <= MAX_FEE self.fee = _new_fee # set new offpeg_fee_multiplier: assert _new_offpeg_fee_multiplier * _new_fee <= MAX_FEE * FEE_DENOMINATOR # dev: offpeg multiplier exceeds maximum self.offpeg_fee_multiplier = _new_offpeg_fee_multiplier log ApplyNewFee(_new_fee, _new_offpeg_fee_multiplier) @external def set_ma_exp_time(_ma_exp_time: uint256, _D_ma_time: uint256): """ @notice Set the moving average window of the price oracles. @param _ma_exp_time Moving average window. It is time_in_seconds / ln(2) """ assert msg.sender == factory.admin() # dev: only owner assert 0 not in [_ma_exp_time, _D_ma_time] self.ma_exp_time = _ma_exp_time self.D_ma_time = _D_ma_time
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"name":"Transfer","inputs":[{"name":"sender","type":"address","indexed":true},{"name":"receiver","type":"address","indexed":true},{"name":"value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"Approval","inputs":[{"name":"owner","type":"address","indexed":true},{"name":"spender","type":"address","indexed":true},{"name":"value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"TokenExchange","inputs":[{"name":"buyer","type":"address","indexed":true},{"name":"sold_id","type":"int128","indexed":false},{"name":"tokens_sold","type":"uint256","indexed":false},{"name":"bought_id","type":"int128","indexed":false},{"name":"tokens_bought","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"TokenExchangeUnderlying","inputs":[{"name":"buyer","type":"address","indexed":true},{"name":"sold_id","type":"int128","indexed":false},{"name":"tokens_sold","type":"uint256","indexed":false},{"name":"bought_id","type":"int128","indexed":false},{"name":"tokens_bought","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"AddLiquidity","inputs":[{"name":"provider","type":"address","indexed":true},{"name":"token_amounts","type":"uint256[]","indexed":false},{"name":"fees","type":"uint256[]","indexed":false},{"name":"invariant","type":"uint256","indexed":false},{"name":"token_supply","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"RemoveLiquidity","inputs":[{"name":"provider","type":"address","indexed":true},{"name":"token_amounts","type":"uint256[]","indexed":false},{"name":"fees","type":"uint256[]","indexed":false},{"name":"token_supply","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"RemoveLiquidityOne","inputs":[{"name":"provider","type":"address","indexed":true},{"name":"token_id","type":"int128","indexed":false},{"name":"token_amount","type":"uint256","indexed":false},{"name":"coin_amount","type":"uint256","indexed":false},{"name":"token_supply","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"RemoveLiquidityImbalance","inputs":[{"name":"provider","type":"address","indexed":true},{"name":"token_amounts","type":"uint256[]","indexed":false},{"name":"fees","type":"uint256[]","indexed":false},{"name":"invariant","type":"uint256","indexed":false},{"name":"token_supply","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"RampA","inputs":[{"name":"old_A","type":"uint256","indexed":false},{"name":"new_A","type":"uint256","indexed":false},{"name":"initial_time","type":"uint256","indexed":false},{"name":"future_time","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"StopRampA","inputs":[{"name":"A","type":"uint256","indexed":false},{"name":"t","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"ApplyNewFee","inputs":[{"name":"fee","type":"uint256","indexed":false},{"name":"offpeg_fee_multiplier","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_A","type":"uint256"},{"name":"_fee","type":"uint256"},{"name":"_offpeg_fee_multiplier","type":"uint256"},{"name":"_ma_exp_time","type":"uint256"},{"name":"_coins","type":"address[]"},{"name":"_rate_multipliers","type":"uint256[]"},{"name":"_asset_types","type":"uint8[]"},{"name":"_method_ids","type":"bytes4[]"},{"name":"_oracles","type":"address[]"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"exchange","inputs":[{"name":"i","type":"int128"},{"name":"j","type":"int128"},{"name":"_dx","type":"uint256"},{"name":"_min_dy","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"exchange","inputs":[{"name":"i","type":"int128"},{"name":"j","type":"int128"},{"name":"_dx","type":"uint256"},{"name":"_min_dy","type":"uint256"},{"name":"_receiver","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"exchange_received","inputs":[{"name":"i","type":"int128"},{"name":"j","type":"int128"},{"name":"_dx","type":"uint256"},{"name":"_min_dy","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"exchange_received","inputs":[{"name":"i","type":"int128"},{"name":"j","type":"int128"},{"name":"_dx","type":"uint256"},{"name":"_min_dy","type":"uint256"},{"name":"_receiver","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"add_liquidity","inputs":[{"name":"_amounts","type":"uint256[]"},{"name":"_min_mint_amount","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"add_liquidity","inputs":[{"name":"_amounts","type":"uint256[]"},{"name":"_min_mint_amount","type":"uint256"},{"name":"_receiver","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity_one_coin","inputs":[{"name":"_burn_amount","type":"uint256"},{"name":"i","type":"int128"},{"name":"_min_received","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity_one_coin","inputs":[{"name":"_burn_amount","type":"uint256"},{"name":"i","type":"int128"},{"name":"_min_received","type":"uint256"},{"name":"_receiver","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity_imbalance","inputs":[{"name":"_amounts","type":"uint256[]"},{"name":"_max_burn_amount","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity_imbalance","inputs":[{"name":"_amounts","type":"uint256[]"},{"name":"_max_burn_amount","type":"uint256"},{"name":"_receiver","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity","inputs":[{"name":"_burn_amount","type":"uint256"},{"name":"_min_amounts","type":"uint256[]"}],"outputs":[{"name":"","type":"uint256[]"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity","inputs":[{"name":"_burn_amount","type":"uint256"},{"name":"_min_amounts","type":"uint256[]"},{"name":"_receiver","type":"address"}],"outputs":[{"name":"","type":"uint256[]"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity","inputs":[{"name":"_burn_amount","type":"uint256"},{"name":"_min_amounts","type":"uint256[]"},{"name":"_receiver","type":"address"},{"name":"_claim_admin_fees","type":"bool"}],"outputs":[{"name":"","type":"uint256[]"}]},{"stateMutability":"nonpayable","type":"function","name":"withdraw_admin_fees","inputs":[],"outputs":[]},{"stateMutability":"view","type":"function","name":"last_price","inputs":[{"name":"i","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"ema_price","inputs":[{"name":"i","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_p","inputs":[{"name":"i","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"price_oracle","inputs":[{"name":"i","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"D_oracle","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"transfer","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"transferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"approve","inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"permit","inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_deadline","type":"uint256"},{"name":"_v","type":"uint8"},{"name":"_r","type":"bytes32"},{"name":"_s","type":"bytes32"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"view","type":"function","name":"DOMAIN_SEPARATOR","inputs":[],"outputs":[{"name":"","type":"bytes32"}]},{"stateMutability":"view","type":"function","name":"get_dx","inputs":[{"name":"i","type":"int128"},{"name":"j","type":"int128"},{"name":"dy","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_dy","inputs":[{"name":"i","type":"int128"},{"name":"j","type":"int128"},{"name":"dx","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"calc_withdraw_one_coin","inputs":[{"name":"_burn_amount","type":"uint256"},{"name":"i","type":"int128"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_virtual_price","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"calc_token_amount","inputs":[{"name":"_amounts","type":"uint256[]"},{"name":"_is_deposit","type":"bool"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"A","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"A_precise","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"balances","inputs":[{"name":"i","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_balances","inputs":[],"outputs":[{"name":"","type":"uint256[]"}]},{"stateMutability":"view","type":"function","name":"stored_rates","inputs":[],"outputs":[{"name":"","type":"uint256[]"}]},{"stateMutability":"view","type":"function","name":"dynamic_fee","inputs":[{"name":"i","type":"int128"},{"name":"j","type":"int128"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"ramp_A","inputs":[{"name":"_future_A","type":"uint256"},{"name":"_future_time","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"stop_ramp_A","inputs":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_new_fee","inputs":[{"name":"_new_fee","type":"uint256"},{"name":"_new_offpeg_fee_multiplier","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_ma_exp_time","inputs":[{"name":"_ma_exp_time","type":"uint256"},{"name":"_D_ma_time","type":"uint256"}],"outputs":[]},{"stateMutability":"view","type":"function","name":"N_COINS","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"coins","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"fee","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"offpeg_fee_multiplier","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"admin_fee","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"initial_A","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"future_A","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"initial_A_time","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"future_A_time","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"admin_balances","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"ma_exp_time","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"D_ma_time","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"ma_last_time","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"decimals","inputs":[],"outputs":[{"name":"","type":"uint8"}]},{"stateMutability":"view","type":"function","name":"version","inputs":[],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"allowance","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"nonces","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"salt","inputs":[],"outputs":[{"name":"","type":"bytes32"}]}]
Contract Creation Code
615bb5515034610930576020615e0c5f395f516020602082615e0c015f395f5111610930576020602082615e0c015f395f51018082615e0c0160803950506020615e2c5f395f51600a602082615e0c015f395f5111610930576020602082615e0c015f395f51018082615e0c0160c03950506020615ecc5f395f516008602082615e0c015f395f511161093057602081615e0c015f395f515f81600881116109305780156100d857905b60208160051b6020860101615e0c015f395f518060a01c610930578160051b61012001526001018181186100a9575b5050806101005250506020615eec5f395f516008602082615e0c015f395f511161093057602081615e0c015f395f5160208160051b018083615e0c01610220395050506020615f0c5f395f516008602082615e0c015f395f511161093057602081615e0c015f395f515f816008811161093057801561018257905b60208160051b6020860101615e0c015f395f518060081c610930578160051b6103600152600101818118610153575b5050806103405250506020615f2c5f395f516008602082615e0c015f395f511161093057602081615e0c015f395f515f81600881116109305780156101f257905b60208160051b6020860101615e0c015f395f518060201b610930578160051b61048001526001018181186101c3575b5050806104605250506020615f4c5f395f516008602082615e0c015f395f511161093057602081615e0c015f395f515f816008811161093057801561026257905b60208160051b6020860101615e0c015f395f518060a01c610930578160051b6105a00152600101818118610233575b5050806105805250506101005160208160051b015f81601f0160051c600981116109305780156102ae57905b8060051b61010001518160051b6060016154b5015260010181811861028e575b505050506103405160208160051b015f81601f0160051c600981116109305780156102f657905b8060051b61034001518160051b610180016154b501526001018181186102d5575b50505050610100516106a0526106a0516154b5526106a05180607f1c610930576154d5526102205160208160051b015f81601f0160051c6009811161093057801561035e57905b8060051b61022001518160051b6102a0016154b5015260010181811861033d575b50505050336154f5526020615e4c5f395f51606481028160648204186109305790506106c0526106c051600c556106c051600d556020615e6c5f395f51600a556020615e8c5f395f51600b556020615eac5f395f5115610930576020615eac5f395f51602c5561f374602d5542604052426060526103dd6106e06108ef565b6106e051602e555f6106e0525f610800525f6008905b80610920526154d551610920511861040a576106c0565b6154d5516001810380600f0b8118610930579050610920511215610468576022546007811161093057670de0b6b3a7640000604052670de0b6b3a76400006060526104566109406108ef565b61094051816023015560018101602255505b601954600781116109305761092051610580518110156109305760051b6105a0015161092051610460518110156109305760051b61048001518060e01c90508060e01b818160e01c186109305790501781601a0155600181016019555060015460078111610930575f8160020155600181016001555060105460078111610930575f81601101556001810160105550600361092051610340518110156109305760051b610360015118610676576106e051600781116109305761092051610100518110156109305760051b610120015163313ce567610940526020610940600461095c845afa61055a573d5f5f3e3d5ffd5b60203d1061093057610940518060081c6109305761098052610980905051604d81116109305780600a0a90508160051b6107000152600181016106e0525061092051610100518110156109305760051b61012001516338d52e0f610960526020610960600461097c845afa6105d1573d5f5f3e3d5ffd5b60203d1061093057610960518060a01c610930576109a0526109a0905051610940526108005160078111610930576109405163313ce567610960526020610960600461097c845afa610625573d5f5f3e3d5ffd5b60203d1061093057610960518060081c610930576109a0526109a09050518060120360128111610930579050604d81116109305780600a0a90508160051b61082001526001810161080052506106b5565b6106e05160078111610930575f8160051b6107000152600181016106e052506108005160078111610930575f8160051b61082001526001810161080052505b6001018181186103f3575b50506106e05160208160051b015f81601f0160051c6009811161093057801561070657905b8060051b6106e001518160051b6103c0016154b501526001018181186106e5575b505050506108005160208160051b015f81601f0160051c6009811161093057801561074e57905b8060051b61080001518160051b6104e0016154b5015260010181811861072d575b505050506020608051015f81601f0160051c6002811161093057801561079057905b8060051b608001518160051b610600016154b50152600101818118610770575b505050602060c051015f81601f0160051c600281116109305780156107d157905b8060051b60c001518160051b610660016154b501526001018181186107b1575b5050506020615ab551015f81601f0160051c6003811161093057801561081457905b8060051b610600016154b501518160051b61092001526001018181186107f3575b505050610920805160208201209050615b55526001430340615b955246615b75527fd87cd6ef79d4e2b95e15ce8abf732db51ec771f1ca2edccf22a46c729ac5647261094052615b5551610960527f1c54f243822e0e9a0a377610b81577e771b3efe79964e76636b0d5d10247950d61098052466109a052306109c052615b95516109e05260c061092052610920805160208201209050615bb552335f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f610920526020610920a36154b561093461000039615bd5610000f35b6fffffffffffffffffffffffffffffffff60405111610930576fffffffffffffffffffffffffffffffff606051116109305760605160801b60405117815250565b5f80fd5f3560e01c6005600560068306026152ec01601b395f51600760078260ff16848460181c0260181c06028260081c61ffff1601601939505f51818160181c14600336111661004c57612988565b8060fe163610348260011602176152e8578060081c61ffff16565b60206154b560403960206040f35b602060043560206155155f395f518110156152e85760051b6080016154b50160403960206040f35b600a5460405260206040f35b600b5460405260206040f35b64012a05f20060405260206040f35b600c5460405260206040f35b600d5460405260206040f35b600e5460405260206040f35b600f5460405260206040f35b6004356010548110156152e8576011015460405260206040f35b602c5460405260206040f35b602d5460405260206040f35b602e5460405260206040f35b6020806040528060400160206020615ab55f395f510180615ab58339508051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b6020806040528060400160206020615b155f395f510180615b158339508051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b601260405260206040f35b60208060805260066040527f76372e302e30000000000000000000000000000000000000000000000000000060605260408160800181518152602082015160208201528051806020830101601f825f03163682375050601f19601f8251602001011690509050810190506080f35b6004358060a01c6152e857604052602f6040516020525f5260405f205460605260206060f35b6004358060a01c6152e8576040526024358060a01c6152e85760605260306040516020525f5260405f20806060516020525f5260405f2090505460805260206080f35b6004358060a01c6152e85760405260326040516020525f5260405f205460605260206060f35b6020615b9560403960206040f35b33611360526102ee565b6084358060a01c6152e857611360525b60043580600f0b81186152e8576113205260243580600f0b81186152e857611340525f546002146152e85760025f55602033610dc05261132051610de05261134051610e005260406044610e203761136051610e60525f610e80526103546113806144c7565b61138060035f55f35b3361136052610377565b6084358060a01c6152e857611360525b60043580600f0b81186152e8576113205260243580600f0b81186152e857611340525f546002146152e85760025f555f611380525f60206156355f395f51600881116152e85780156103f457905b600260208260051b6101a0016154b5015f395f51186103e9576001611380526103f4565b6001018181186103c5575b5050611380516152e857602033610dc05261132051610de05261134051610e005260406044610e203761136051610e60526001610e80526104366113806144c7565b61138060035f55f35b33610a8052610459565b6044358060a01c6152e857610a80525b60043560040160088135116152e857803560208160051b018083610960375050505f546002146152e85760025f55610492610ac06131fb565b610ac051610aa0526104a5610be0612fc2565b610be0805160208160051b0180610ac0828560045afa505050506104ca610d00612c96565b610d00805160208160051b0180610be0828560045afa50505050610be05160208160051b01806103c082610be060045afa505050610ac05160208160051b01806104e082610ac060045afa505050610aa0516106005261052b610d20614778565b610d2051610d0052603154610d2052610ac05160208160051b0180610d4082610ac060045afa5050505f6008905b80610e605260206154d55f395f51610e6051186105755761060c565b610e6051610960518110156152e85760051b6109800151156105f757610e6051610d40518110156152e85760051b610d60018051610e6051604052610e6051610960518110156152e85760051b6109800151606052336080525f60a0526105dd610e806129cd565b610e80518082018281106152e85790509050815250610601565b610d2051156152e8575b600101818118610559575b5050610be05160208160051b01806103c082610be060045afa505050610d405160208160051b01806104e082610d4060045afa505050610aa05161060052610655610e80614778565b610e8051610e6052610d0051610e605111156152e8575f610e80525f610fa052610d205115610a5c57606036610fc037610d0051610e60518082018281106152e8579050905060206154b55f395f5180156152e857808204905090506110205260403661104037600a5460206154b55f395f518082028115838383041417156152e8579050905060206154b55f395f51600181038181116152e85790508060021b818160021c186152e857905080156152e85780820490509050611080525f6008905b806110a05260206154d55f395f516110a0511861073457610955565b610e60516110a051610ac0518110156152e85760051b610ae001518082028115838383041417156152e85790509050610d005180156152e85780820490509050610fc0525f610fe0526110a051610d40518110156152e85760051b610d6001516110005261100051610fc051116107c45761100051610fc0518082038281116152e85790509050610fe0526107df565b610fc051611000518082038281116152e85790509050610fe0525b670de0b6b3a76400006110a051610be0518110156152e85760051b610c0001516110a051610ac0518110156152e85760051b610ae00151611000518082018281106152e857905090508082028115838383041417156152e8579050905004611040526110405160405261102051606052611080516080526108616110c0613899565b6110c05161106052610e8051600781116152e85761106051610fe0518082028115838383041417156152e857905090506402540be400810490508160051b610ea0015260018101610e8052506110a0516010548110156152e85760110180546110a051610e80518110156152e85760051b610ea0015164012a05f20081028164012a05f2008204186152e85790506402540be400810490508082018281106152e857905090508155506110a051610d40518110156152e85760051b610d600180516110a051610e80518110156152e85760051b610ea001518082038281116152e85790509050815250600101818118610718575b5050610be05160208160051b0180604082610be060045afa505050610d405160208160051b018061016082610d4060045afa5050506109956111c0613142565b6111c0805160208160051b01806110a0828560045afa505050506110a05160208160051b01806040826110a060045afa505050610aa051610160526109db6111c0613320565b6111c051610e6052610d2051610e6051610d00518082038281116152e857905090508082028115838383041417156152e85790509050610d005180156152e85780820490509050610fa0526110a05160208160051b0180610340826110a060045afa505050610aa05161046052610e605161048052610a85613f1956610a85565b610e6051610fa052610e6051604052610e6051606052610a7d610fc061298c565b610fc051602b555b602435610fa0511015610af7576014610fc0527f536c697070616765207363726577656420796f75000000000000000000000000610fe052610fc050610fc05180610fe001601f825f031636823750506308c379a0610f80526020610fa052601f19601f610fc0510116604401610f9cfd5b610d2051610fa0518082018281106152e85790509050610d2052602f610a80516020525f5260405f208054610fa0518082018281106152e85790509050815550610d2051603155610a80515f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610fa051610fc0526020610fc0a3337f189c623b666b1b45b83d7178f39b8c087cb09774317ca2f53c2d3c3726f222a2608080610fc05280610fc0015f610960518083528060051b5f82600881116152e8578015610bdc57905b8060051b61098001518160051b602088010152600101818118610bbe575b5050820160200191505090508101905080610fe05280610fc0015f610e80518083528060051b5f82600881116152e8578015610c3257905b8060051b610ea001518160051b602088010152600101818118610c14575b50508201602001915050905081019050610e605161100052610d205161102052610fc0a26020610fa060035f55f35b33610b0052610c7b565b6064358060a01c6152e857610b00525b60243580600f0b81186152e857610ae0525f546002146152e85760025f55600435156152e857606036610b20375f610c80525f610ca0526004356103c052610ae0516103e052610ccc610cc0614abb565b610cc08051610b20526020810151610b405260408101805160208160051b0180610b60828560045afa50505050610160810151610c8052610180810151610ca05250604435610b20511015610d80576018610cc0527f4e6f7420656e6f75676820636f696e732072656d6f7665640000000000000000610ce052610cc050610cc05180610ce001601f825f031636823750506308c379a0610c80526020610ca052601f19601f610cc0510116604401610c9cfd5b610ae0516010548110156152e8576011018054610b405164012a05f20081028164012a05f2008204186152e85790506402540be400810490508082018281106152e8579050905081555033604052600435606052610ddc615002565b610ae051604052610b2051606052610b0051608052610df9612b8f565b337f6f48129db1f37ccb9cc5dd7e119cb32750cabdf75b48375d730d26ce3659bbe1610ae051610cc052600435610ce052610b2051610d0052603154610d20526080610cc0a2610b605160208160051b018061034082610b6060045afa505050610c805161046052610ca05161048052610e71613f19565b6020610b2060035f55f35b33610a8052610e96565b6044358060a01c6152e857610a80525b60043560040160088135116152e857803560208160051b018083610960375050505f546002146152e85760025f55610ecf610ac06131fb565b610ac051610aa052610ee2610be0612c96565b610be0805160208160051b0180610ac0828560045afa50505050610f07610d00612fc2565b610d00805160208160051b0180610be0828560045afa50505050610ac05160208160051b01806103c082610ac060045afa505050610be05160208160051b01806104e082610be060045afa505050610aa05161060052610f68610d20614778565b610d2051610d0052610be05160208160051b0180610d2082610be060045afa5050505f6008905b80610e405260206154d55f395f51610e405118610fab57611042565b610e4051610960518110156152e85760051b61098001511561103757610e4051610d20518110156152e85760051b610d40018051610e4051610960518110156152e85760051b61098001518082038281116152e85790509050815250610e4051604052610e4051610960518110156152e85760051b6109800151606052610a8051608052611037612b8f565b600101818118610f8f575b5050610ac05160208160051b01806103c082610ac060045afa505050610d205160208160051b01806104e082610d2060045afa505050610aa0516106005261108b610e60614778565b610e6051610e4052600a5460206154b55f395f518082028115838383041417156152e8579050905060206154b55f395f51600181038181116152e85790508060021b818160021c186152e857905080156152e85780820490509050610e6052610d0051610e40518082018281106152e8579050905060206154b55f395f5180156152e85780820490509050610e80525f610ea0525f610fc052608036610fe0375f6008905b806110605260206154d55f395f51611060511861114c5761136d565b610e405161106051610be0518110156152e85760051b610c0001518082028115838383041417156152e85790509050610d005180156152e85780820490509050611000525f6110205261106051610d20518110156152e85760051b610d400151611040526110405161100051116111dc5761104051611000518082038281116152e85790509050611020526111f7565b61100051611040518082038281116152e85790509050611020525b670de0b6b3a764000061106051610ac0518110156152e85760051b610ae0015161106051610be0518110156152e85760051b610c000151611040518082018281106152e857905090508082028115838383041417156152e8579050905004610fe052610fe051604052610e8051606052610e6051608052611279611080613899565b61108051610fc052610ea051600781116152e857610fc051611020518082028115838383041417156152e857905090506402540be400810490508160051b610ec0015260018101610ea05250611060516010548110156152e857601101805461106051610ea0518110156152e85760051b610ec0015164012a05f20081028164012a05f2008204186152e85790506402540be400810490508082018281106152e8579050905081555061106051610d20518110156152e85760051b610d4001805161106051610ea0518110156152e85760051b610ec001518082038281116152e85790509050815250600101818118611130575b5050610ac05160208160051b01806103c082610ac060045afa505050610d205160208160051b01806104e082610d2060045afa505050610aa051610600526113b6611060614778565b61106051610e4052610d205160208160051b018061034082610d2060045afa505050610aa05161046052610e4051610480526113f0613f19565b60315461106052610d0051610e40518082038281116152e85790509050611060518082028115838383041417156152e85790509050610d005180156152e85780820490509050600181018181106152e857905061108052600261108051106152e8576024356110805111156114c45760146110a0527f536c697070616765207363726577656420796f750000000000000000000000006110c0526110a0506110a051806110c001601f825f031636823750506308c379a061106052602061108052601f19601f6110a051011660440161107cfd5b61106051611080518082038281116152e857905090506110605233604052611080516060526114f1615002565b337f3631c28b1f9dd213e0319fb167b554d76b6c283a41143eb400a0d1adb1af17556080806110a052806110a0015f610960518083528060051b5f82600881116152e857801561155b57905b8060051b61098001518160051b60208801015260010181811861153d575b50508201602001915050905081019050806110c052806110a0015f610ea0518083528060051b5f82600881116152e85780156115b157905b8060051b610ec001518160051b602088010152600101818118611593575b50508201602001915050905081019050610e40516110e05261106051611100526110a0a2602061108060035f55f35b336103c05260016103e052611629565b6044358060a01c6152e8576103c05260016103e052611629565b6044358060a01c6152e8576103c0526064358060011c6152e8576103e0525b60243560040160088135116152e857803560208160051b0180836102a0375050505f546002146152e85760025f5560315461040052600435156152e8575f61042052611676610660612fc2565b610660805160208160051b0180610540828560045afa505050505f610660525f6008905b806106805260206154d55f395f5161068051186116b6576117ee565b61068051610540518110156152e85760051b61056001516004358082028115838383041417156152e857905090506104005180156152e8578082049050905061066052610680516102a0518110156152e85760051b6102c001516106605110156117a45760306106a0527f5769746864726177616c20726573756c74656420696e20666577657220636f696106c0527f6e73207468616e206578706563746564000000000000000000000000000000006106e0526106a0506106a051806106c001601f825f031636823750506308c379a061066052602061068052601f19601f6106a051011660440161067cfd5b61042051600781116152e857610660518160051b610440015260018101610420525061068051604052610660516060526103c0516080526117e3612b8f565b60010181811861169a575b505033604052600435606052611802615002565b602e546040526118136106c061398c565b6106c0604061068060408360045afa5050602b546106c0526fffffffffffffffffffffffffffffffff6106c051166106e0526106e051610400516106e0516004358082028115838383041417156152e85790509050048082038281116152e85790509050610740526106c05161012052602d54610140526106a0516101605261189d610700613ddf565b610700516107605260406040604061074060045afa506118be61072061298c565b61072051602b55426106a05110156118d657426106a0525b610680516040526106a0516060526118ef61070061298c565b61070051602e55337f347ad828e58cbe534d8f6b67985d791360756b18f0d95fd9f197a66cc46480ea6060806107005280610700015f610420518083528060051b5f82600881116152e857801561196057905b8060051b61044001518160051b602088010152600101818118611942575b50508201602001915050905081019050806107205280610700015f5f82525f5f5f600881116152e85780156119a757905b5f8160051b602087010152600101818118611991575b505081016020019050905081019050610400516004358082038281116152e8579050905061074052610700a26103e051156119e4576119e461506f565b6020806107005280610700015f610420518083528060051b5f82600881116152e8578015611a2c57905b8060051b61044001518160051b602088010152600101818118611a0e575b5050820160200191505090508101905061070060035f55f35b611a4d61506f565b005b6fffffffffffffffffffffffffffffffff6004356022548110156152e857602301541660405260206040f35b6004356022548110156152e8576023015460801c60405260206040f35b611aa36103e06131fb565b6103e0516103c052611ab6610500612c96565b610500805160208160051b0180610860828560045afa50505050611adb610620612fc2565b610620805160208160051b0180610980828560045afa50505050610240604061024061086060045afa50611b10610740613142565b610740805160208160051b01806103e0828560045afa505050506103e05160208160051b01806040826103e060045afa5050506103c05161016052611b56610520613320565b610520516105005260206103e05160208160051b01806040826103e060045afa5050506103c051610160526105005161018052611b946105206139b1565b61052060043581518110156152e85760051b60208201019050f35b5f546002146152e85760206004356022548110156152e8576023015461012052602c54610140526fffffffffffffffffffffffffffffffff602e541661016052611bfa610200613ddf565b610200f35b5f546002146152e8576020602b5461012052602d5461014052602e5460801c61016052611c2d610200613ddf565b610200f35b6004358060a01c6152e85760c0523360405260c051606052602435608052611c5861526c565b600160e052602060e0f35b6004358060a01c6152e85760c0526024358060a01c6152e85760e05260c05160405260e051606052604435608052611c9961526c565b603060c0516020525f5260405f2080336020525f5260405f20905054610100527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101005114611d1557610100516044358082038281116152e85790509050603060c0516020525f5260405f2080336020525f5260405f209050555b6001610120526020610120f35b6004358060a01c6152e8576040526024356030336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560243560605260206060a3600160605260206060f35b6004358060a01c6152e857610120526024358060a01c6152e857610140526084358060081c6152e8576101605261012051156152e85760643542116152e8576032610120516020525f5260405f2054610180525f60026101c0527f19010000000000000000000000000000000000000000000000000000000000006101e0526101c0805160208201836103200181518152505080830192505050611e2f6102006151d9565b610200518161032001526020810190507f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c961024052610120516102605261014051610280526044356102a052610180516102c0526064356102e05260c061022052610220805160208201209050816103200152602081019050806103005261030090508051602082012090506101a052610120513b15611ff8575f604060a46102603760406102405261024080516020820183610320018281848460045afa50505080830192505050610160516102a0526102a0601f810180516102e0525060016102c0526102c09050805160208201836103200181518152505080830192505050806103005261030090506020815101806101c0828460045afa5050507f1626ba7e0000000000000000000000000000000000000000000000000000000061012051631626ba7e6102405260406101a051610260528061028052806102600160206101c051018082826101c060045afa50508051806020830101601f825f03163682375050601f19601f82516020010116905081015050602061024060c461025c845afa611fe0573d5f5f3e3d5ffd5b60203d106152e857610240905051186152e857612038565b610120515f610240526101a0516101c052610160516101e05260a4356102005260c43561022052602061024060806101c060015afa5061024051186152e8575b6044356030610120516020525f5260405f2080610140516020525f5260405f2090505561018051600181018181106152e85790506032610120516020525f5260405f205561014051610120517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256044356101c05260206101c0a360016101c05260206101c0f35b60206120cc6101206151d9565b610120f35b60043580600f0b81186152e85760405260243580600f0b81186152e857606052602060206154f55f395f5163e31593d8608052602060806004609c845afa61211b573d5f5f3e3d5ffd5b60203d106152e8576080518060a01c6152e85760c05260c09050516383aa796a60e0526040516101005260605161012052604435610140523061016052602060e0608460fc845afa61216f573d5f5f3e3d5ffd5b60203d106152e85760e09050f35b60043580600f0b81186152e85760405260243580600f0b81186152e857606052602060206154f55f395f5163e31593d8608052602060806004609c845afa6121c7573d5f5f3e3d5ffd5b60203d106152e8576080518060a01c6152e85760c05260c0905051630c601c2c60e0526040516101005260605161012052604435610140523061016052602060e0608460fc845afa61221b573d5f5f3e3d5ffd5b60203d106152e85760e09050f35b60243580600f0b81186152e857610ae05260206004356103c052610ae0516103e052612256610b00614abb565b610b00f35b5f546002146152e85760315460405260206040f35b5f546002146152e8576122846103e06131fb565b6103e0516103c052612297610500612c96565b610500805160208160051b0180610860828560045afa505050506122bc610620612fc2565b610620805160208160051b0180610980828560045afa50505050610240604061024061086060045afa506122f1610740613142565b610740805160208160051b01806103e0828560045afa505050506103e05160208160051b01806040826103e060045afa5050506103c05161016052612337610520613320565b610520516105005261050051670de0b6b3a7640000810281670de0b6b3a76400008204186152e857905060315480156152e85780820490509050610520526020610520f35b60043560040160088135116152e857803560208160051b0180836040375050506024358060011c6152e85761016052602060206154f55f395f5163e31593d8610180526020610180600461019c845afa6123d8573d5f5f3e3d5ffd5b60203d106152e857610180518060a01c6152e8576101c0526101c090505163fb79eb276101e0526060806102005280610200015f6040518083528060051b5f82600881116152e857801561244557905b8060051b606001518160051b602088010152600101818118612428575b50508201602001915050905081019050610160516102205230610240525060206101e06101846101fc845afa61247d573d5f5f3e3d5ffd5b60203d106152e8576101e09050f35b61249660c06131fb565b60c05160648104905060e052602060e0f35b60206124b460c06131fb565b60c0f35b60206124c5610200612fc2565b61020060043581518110156152e85760051b60208201019050f35b602080610320526124f2610200612fc2565b61020081610320015f82518083528060051b5f82600881116152e857801561253557905b8060051b6020880101518160051b602088010152600101818118612516575b505082016020019150509050905081019050610320f35b6020806104605261255e610340612c96565b61034081610460015f82518083528060051b5f82600881116152e85780156125a157905b8060051b6020880101518160051b602088010152600101818118612582575b505082016020019150509050905081019050610460f35b60043580600f0b81186152e85760405260243580600f0b81186152e857606052602060206154f55f395f5163e31593d8608052602060806004609c845afa612602573d5f5f3e3d5ffd5b60203d106152e8576080518060a01c6152e85760c05260c090505163a63530bd60e05260405161010052606051610120523061014052602060e0606460fc845afa61264f573d5f5f3e3d5ffd5b60203d106152e85760e09050f35b60206154f55f395f5163f851a44060c052602060c0600460dc845afa612685573d5f5f3e3d5ffd5b60203d106152e85760c0518060a01c6152e8576101005261010090505133186152e857600e546201518081018181106152e857905042106152e857426201518081018181106152e8579050602435106152e8576126e260e06131fb565b60e05160c052600435606481028160648204186152e857905060e0526004351561271457620f423f6004351115612716565b5f5b156152e85760c05160e051106127465760c051600a810281600a8204186152e857905060e051116152e857612762565b60c05160e051600a810281600a8204186152e8579050106152e8575b60c051600c5560e051600d5542600e55602435600f557fa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c25460c0516101005260e051610120524261014052602435610160526080610100a1005b60206154f55f395f5163f851a44060c052602060c0600460dc845afa6127e3573d5f5f3e3d5ffd5b60203d106152e85760c0518060a01c6152e8576101005261010090505133186152e85761281060e06131fb565b60e05160c05260c051600c5560c051600d5542600e5542600f557f46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc20193860c05160e0524261010052604060e0a1005b60206154f55f395f5163f851a440604052602060406004605c845afa612885573d5f5f3e3d5ffd5b60203d106152e8576040518060a01c6152e857608052608090505133186152e85764012a05f200600435116152e857600435600a556802b5e3af16b18800006024356004358082028115838383041417156152e85790509050116152e857602435600b557f750d10a7f37466ce785ee6bcb604aac543358db42afbcc332a3c12a49c80bf6d6040600460403760406040a1005b60206154f55f395f5163f851a440604052602060406004605c845afa612940573d5f5f3e3d5ffd5b60203d106152e8576040518060a01c6152e857608052608090505133186152e85760043515612973576024351515612975565b5f5b156152e857600435602c55602435602d55005b5f5ffd5b6fffffffffffffffffffffffffffffffff604051116152e8576fffffffffffffffffffffffffffffffff606051116152e85760605160801b60405117815250565b602060405160206155155f395f518110156152e85760051b6080016154b5015f395f516370a0823160e0523061010052602060e0602460fc845afa612a14573d5f5f3e3d5ffd5b60203d106152e85760e090505160c05260a051612b3057606051156152e857602060405160206155155f395f518110156152e85760051b6080016154b5015f395f516323b872dd60e05260805161010052306101205260605161014052602060e0606460fc5f855af1612a89573d5f5f3e3d5ffd5b3d612aa057803b156152e857600161016052612ab8565b60203d106152e85760e0518060011c6152e857610160525b610160905051156152e857602060405160206155155f395f518110156152e85760051b6080016154b5015f395f516370a0823160e0523061010052602060e0602460fc845afa612b0a573d5f5f3e3d5ffd5b60203d106152e85760e090505160c0518082038281116152e8579050905060c052612b61565b60c0516040516001548110156152e857600201548082038281116152e8579050905060c05260605160c051106152e8575b6040516001548110156152e857600201805460c0518082018281106152e8579050905081555060c051815250565b602060405160206155155f395f518110156152e85760051b6080016154b5015f395f516370a0823160c0523060e052602060c0602460dc845afa612bd5573d5f5f3e3d5ffd5b60203d106152e85760c090505160a052602060405160206155155f395f518110156152e85760051b6080016154b5015f395f5163a9059cbb60c05260805160e05260605161010052602060c0604460dc5f855af1612c35573d5f5f3e3d5ffd5b3d612c4c57803b156152e857600161012052612c64565b60203d106152e85760c0518060011c6152e857610120525b610120905051156152e85760a0516060518082038281116152e857905090506040516001548110156152e85760020155565b60206157555f395f5160208160051b0180615755604039505060195460208160051b015f81601f0160051c600981116152e8578015612cea57905b80601901548160051b6101600152600101818118612cd1575b505050505f6008905b806102805260206154d55f395f516102805118612d0f57612fa7565b600160206102805160206156355f395f518110156152e85760051b6101a0016154b5015f395f5118612d595761028051610160518110156152e85760051b61018001511515612d5b565b5f5b612e8a57600360206102805160206156355f395f518110156152e85760051b6101a0016154b5015f395f5118612f9c57670de0b6b3a7640000610280516040518110156152e85760051b6060015160206102805160206155155f395f518110156152e85760051b6080016154b5015f395f516307a2d13a6102a05260206102805160206158755f395f518110156152e85760051b6103e0016154b5016102c03960206102a060246102bc845afa612e14573d5f5f3e3d5ffd5b60203d106152e8576102a09050518082028115838383041417156152e8579050905060206102805160206159955f395f518110156152e85760051b610500016154b5015f395f518082028115838383041417156152e8579050905004610280516040518110156152e85760051b60600152612f9c565b61028051610160518110156152e85760051b610180015173ffffffffffffffffffffffffffffffffffffffff811690508060a01c6152e8575a7fffffffff0000000000000000000000000000000000000000000000000000000061028051610160518110156152e85760051b6101800151166102e05260206102c0526102c05060206103206102c0516102e08585fa90509050612f29573d5f5f3e3d5ffd5b3d602081183d6020100218610300526103006020810151815160200360031b1c90506102a052670de0b6b3a7640000610280516040518110156152e85760051b606001516102a0518082028115838383041417156152e8579050905004610280516040518110156152e85760051b606001525b600101818118612cf3575b505060405160208160051b01808382604060045afa50505050565b5f6040525f610160525f6008905b806101805260206154d55f395f516101805118612fec57613127565b5f6101a0525f60206156355f395f51600881116152e857801561303a57905b600260208260051b6101a0016154b5015f395f511861302f5760016101a05261303a565b60010181811861300b575b50506101a05161307f57610180516001548110156152e85760020154610180516010548110156152e857601101548082038281116152e85790509050610160526130fd565b60206101805160206155155f395f518110156152e85760051b6080016154b5015f395f516370a082316101c052306101e05260206101c060246101dc845afa6130ca573d5f5f3e3d5ffd5b60203d106152e8576101c0905051610180516010548110156152e857601101548082038281116152e85790509050610160525b604051600781116152e857610160518160051b606001526001810160405250600101818118612fd0575b505060405160208160051b01808382604060045afa50505050565b5f610280525f6008905b806103a05260206154d55f395f516103a05118613168576131de565b61028051600781116152e8576103a0516040518110156152e85760051b606001516103a051610160518110156152e85760051b61018001518082028115838383041417156152e85790509050670de0b6b3a7640000810490508160051b6102a0015260018101610280525060010181811861314c575b50506102805160208160051b0180838261028060045afa50505050565b600f54604052600d54606052604051421061321f5760605181525061331e5661331e565b600c54608052600e5460a052608051606051116132ae576080516080516060518082038281116152e857905090504260a0518082038281116152e857905090508082028115838383041417156152e8579050905060405160a0518082038281116152e8579050905080156152e857808204905090508082038281116152e8579050905081525061331e5661331e565b6080516060516080518082038281116152e857905090504260a0518082038281116152e857905090508082028115838383041417156152e8579050905060405160a0518082038281116152e8579050905080156152e857808204905090508082018281106152e857905090508152505b565b5f610180525f604051600881116152e857801561336a57905b8060051b606001516101a052610180516101a0518082018281106152e8579050905061018052600101818118613339575b50506101805161337d575f815250613592565b610180516101a0526101605160206154b55f395f518082028115838383041417156152e857905090506101c0526040366101e0375f60ff905b80610220526101a0516101e0525f604051600881116152e857801561343c57905b8060051b60600151610240526101e0516101a0518082028115838383041417156152e857905090506102405160206154b55f395f518082028115838383041417156152e8579050905080156152e857808204905090506101e0526001018181186133d7575b50506101a0516102005260646101c051610180518082028115838383041417156152e85790509050046101e05160206154b55f395f518082028115838383041417156152e857905090508082018281106152e857905090506101a0518082028115838383041417156152e8579050905060646101c051606481038181116152e85790506101a0518082028115838383041417156152e8579050905004600160206154b55f395f51016101e0518082028115838383041417156152e857905090508082018281106152e8579050905080156152e857808204905090506101a052610200516101a05111613557576001610200516101a0518082038281116152e8579050905011613582576101a051835250505061359256613582565b60016101a051610200518082038281116152e8579050905011613582576101a0518352505050613592565b6001018181186133b65750505f5ffd5b565b606051604051146152e8575f606051126152e85760206154d55f395f5160605112156152e8575f604051126152e85760206154d55f395f5160405112156152e8576101c051610200526101e0516102205260603661024037610220516102a0526102005160206154b55f395f518082028115838383041417156152e857905090506102c0525f6008905b806102e05260206154d55f395f516102e0511861363a576136f4565b6040516102e051186136525760805161026052613680565b6060516102e051146136e9576102e05160a0518110156152e85760051b60c0015161026052613680566136e9565b61024051610260518082018281106152e85790509050610240526102a051610220518082028115838383041417156152e857905090506102605160206154b55f395f518082028115838383041417156152e8579050905080156152e857808204905090506102a0525b60010181811861361e575b50506102a051610220518082028115838383041417156152e85790509050606481028160648204186152e85790506102c05160206154b55f395f518082028115838383041417156152e8579050905080156152e857808204905090506102a0526102405161022051606481028160648204186152e85790506102c05180156152e857808204905090508082018281106152e857905090506102e05261022051610300525f60ff905b8061032052610300516102805261030051610300518082028115838383041417156152e857905090506102a0518082018281106152e85790509050610300518060011b818160011c186152e85790506102e0518082018281106152e85790509050610220518082038281116152e8579050905080156152e857808204905090506103005261028051610300511161385c57600161028051610300518082038281116152e85790509050116138875761030051835250505061389756613887565b600161030051610280518082038281116152e857905090501161388757610300518352505050613897565b60010181811861379c5750505f5ffd5b565b600b5460a0526402540be40060a051116138b85760805181525061398a565b6040516060518082018281106152e857905090506fffffffffffffffffffffffffffffffff81116152e8576002810a905060c05260a0516080518082028115838383041417156152e8579050905060a0516402540be40081038181116152e85790508060021b818160021c186152e85790506040518082028115838383041417156152e857905090506060518082028115838383041417156152e8579050905060c05180156152e857808204905090506402540be40081018181106152e857905080156152e857808204905090508152505b565b6fffffffffffffffffffffffffffffffff60405116815260405160801c602082015250565b60206154b55f395f5161016051026101a05260206154b55f395f5160206154b55f395f510a61018051046101c0525f6008905b806101e05260206154d55f395f516101e05118613a0057613a4d565b6101c051610180518082028115838383041417156152e857905090506101e0516040518110156152e85760051b6060015180156152e857808204905090506101c0526001018181186139e4575b50505f6101e0526101a051604051156152e8575f60051b606001518082028115838383041417156152e8579050905060648104905061030052600160078101905b806103205260206154b55f395f516103205118613aaa57613b70565b6101e051600781116152e857610300516101c051604051156152e8575f60051b606001518082028115838383041417156152e85790509050610320516040518110156152e85760051b6060015180156152e857808204905090508082018281106152e85790509050670de0b6b3a7640000810281670de0b6b3a76400008204186152e8579050610300516101c0518082018281106152e8579050905080156152e857808204905090508160051b6102000152600181016101e05250600101818118613a8e575b50506101e05160208160051b018083826101e060045afa50505050565b6040516060527ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c160405113613bc5575f815250613ddd565b680755bf798b4a1bf1e46040511315613c345760106080527f7761645f657870206f766572666c6f770000000000000000000000000000000060a0526080506080518060a001601f825f031636823750506308c379a06040526020606052601f19601f6080510116604401605cfd5b6503782dace9d9604051604e1b056060526b8000000000000000000000006bb17217f7d1cf79abc9e3b39860605160601b050160601d6080526bb17217f7d1cf79abc9e3b39860805102606051036060526d02d16720577bd19bf614176fe9ea6060516c10fe68e7fd37d0007b713f7650606051010260601d0160a05279d835ebba824c98fb31b83b2ca45c0000000000000000000000006060516e0587f503bb6ea29d25fcb74019645060a0516d04a4fd9f2a8b96949216d2255a6c60605160a05101030260601d01020160c0526d0277594991cfc85f6e2461837cd96060516c240c330e9fb2d9cbaf0fd5aafc606051030260601d0160e0526d1a521255e34f6a5061b25ef1c9c460605160e0510260601d0360e0526db1bbb201f443cf962f1a1d3db4a560605160e0510260601d0160e0526e02c72388d9f74f51a9331fed693f1560605160e0510260601d0360e0526e05180bb14799ab47a8a8cb2a527d5760605160e0510260601d0160e05260e05160c051056101005274029d9dc38563c32e5c2f6dc192ee70ef65f9978af3610100510260805160c3035f81126152e8571c8152505b565b6fffffffffffffffffffffffffffffffff6101205116610180526101205160801c6101a05242610160511015613f0f5742610160518082038281116152e85790509050670de0b6b3a7640000810281670de0b6b3a76400008204186152e85790506101405180156152e857808204905090508060ff1c6152e8577f800000000000000000000000000000000000000000000000000000000000000081146152e8575f03604052613e906101e0613b8d565b6101e0516101c052610180516101c05180670de0b6b3a764000003670de0b6b3a764000081116152e85790508082028115838383041417156152e857905090506101a0516101c0518082028115838383041417156152e857905090508082018281106152e85790509050670de0b6b3a764000081049050815250613f17565b6101a0518152505b565b602e54604052613f2a6104e061398c565b6104e060406104a060408360045afa505060225460208160051b015f81601f0160051c600981116152e8578015613f7657905b80602201548160051b6104e00152600101818118613f5d575b505050506104e05160208160051b0180610600826104e060045afa5050506103405160208160051b018060408261034060045afa50505061046051610160526104805161018052613fc86108406139b1565b610840805160208160051b0180610720828560045afa505050505f6008905b806108405260206154b55f395f51600181038181116152e85790506108405118614010576140df565b61084051610720518110156152e85760051b6107400151156140d45761084051610720518110156152e85760051b6107400151671bc16d674ec80000818118671bc16d674ec800008310021890506108a052610840516104e0518110156152e85760051b610500015161012052602c54610140526104a05161016052614097610860613ddf565b610860516108c0526040604060406108a060045afa506140b861088061298c565b6108805161084051610600518110156152e85760051b61062001525b600101818118613fe7575b50506106005160208160051b015f81601f0160051c600981116152e857801561411d57905b8060051b61060001518160220155600101818118614104575b50505050602b5461084052610480516108a0526108405161012052602d54610140526104c05161016052614152610860613ddf565b610860516108c0526040604060406108a060045afa5061417361088061298c565b61088051602b555f6002905b80610860524261086051600181116152e85760051b6104a0015110156141b5574261086051600181116152e85760051b6104a001525b60010181811861417f5750506104a0516040526104c0516060526141da61086061298c565b61086051602e55565b6141ee610c206131fb565b610c2051610c00526109805160208160051b018060408261098060045afa505050610c005161016052614222610c40613320565b610c4051610c2052610bc051604052610be051606052610960516080526109805160208160051b018060a08261098060045afa505050610c00516101c052610c20516101e052614273610c60613594565b610c6051610c4052610be051610980518110156152e85760051b6109a00151610c40518082038281116152e85790509050600181038181116152e8579050610c6052610c6051610bc051610980518110156152e85760051b6109a00151610960518082018281106152e857905090508060011c9050604052610be051610980518110156152e85760051b6109a00151610c40518082018281106152e857905090508060011c9050606052600a5460805261432e610ca0613899565b610ca0518082028115838383041417156152e857905090506402540be40081049050610c8052610c6051610c80518082038281116152e85790509050670de0b6b3a7640000810281670de0b6b3a76400008204186152e8579050610be051610aa0518110156152e85760051b610ac0015180156152e85780820490509050610c6052610be0516010548110156152e8576011018054610c805164012a05f20081028164012a05f2008204186152e85790506402540be40081049050670de0b6b3a7640000810281670de0b6b3a76400008204186152e8579050610be051610aa0518110156152e85760051b610ac0015180156152e857808204905090508082018281106152e857905090508155506109805160208160051b0180610ca08261098060045afa50505061096051610bc051610ca0518110156152e85760051b610cc00152610c4051610be051610ca0518110156152e85760051b610cc00152610ca05160208160051b018061034082610ca060045afa505050610c005161046052610c2051610480526144be613f19565b610c6051815250565b610e0051610de051146152e857610e2051156152e8576144e8610fc0612c96565b610fc0805160208160051b0180610ea0828560045afa5050505061450d6110e0612fc2565b6110e0805160208160051b0180610fc0828560045afa50505050610ea05160208160051b0180604082610ea060045afa505050610fc05160208160051b018061016082610fc060045afa505050614565611200613142565b611200805160208160051b01806110e0828560045afa50505050610de051604052610e2051606052610dc051608052610e805160a0526145a66112206129cd565b6112205161120052610de0516110e0518110156152e85760051b611100015161120051610de051610ea0518110156152e85760051b610ec001518082028115838383041417156152e85790509050670de0b6b3a7640000810490508082018281106152e857905090506112205261122051610960526110e05160208160051b0180610980826110e060045afa505050610ea05160208160051b0180610aa082610ea060045afa505050610de051610bc052610e0051610be05261466a6112606141e3565b6112605161124052610e405161124051101561470a57602e611260527f45786368616e676520726573756c74656420696e20666577657220636f696e73611280527f207468616e2065787065637465640000000000000000000000000000000000006112a05261126050611260518061128001601f825f031636823750506308c379a061122052602061124052601f19601f61126051011660440161123cfd5b610e005160405261124051606052610e6051608052614727612b8f565b337f8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140610de05161126052610e205161128052610e00516112a052611240516112c0526080611260a261124051815250565b6103c05160208160051b01806040826103c060045afa5050506104e05160208160051b0180610160826104e060045afa5050506147b6610740613142565b610740805160208160051b0180610620828560045afa505050506106205160208160051b018060408261062060045afa50505061060051610160526147fc610740613320565b61074051815250565b5f606051126152e85760206154d55f395f5160605112156152e8576060366101c0376101a0516102205260405160206154b55f395f518082028115838383041417156152e85790509050610240525f6008905b806102605260206154d55f395f51610260511861487457614916565b606051610260511461490b57610260516080518110156152e85760051b60a001516101e0526148a25661490b565b6101c0516101e0518082018281106152e857905090506101c052610220516101a0518082028115838383041417156152e857905090506101e05160206154b55f395f518082028115838383041417156152e8579050905080156152e85780820490509050610220525b600101818118614858575b5050610220516101a0518082028115838383041417156152e85790509050606481028160648204186152e85790506102405160206154b55f395f518082028115838383041417156152e8579050905080156152e85780820490509050610220526101c0516101a051606481028160648204186152e85790506102405180156152e857808204905090508082018281106152e85790509050610260526101a051610280525f60ff905b806102a052610280516102005261028051610280518082028115838383041417156152e85790509050610220518082018281106152e85790509050610280518060011b818160011c186152e8579050610260518082018281106152e857905090506101a0518082038281116152e8579050905080156152e8578082049050905061028052610200516102805111614a7e57600161020051610280518082038281116152e8579050905011614aa957610280518352505050614ab956614aa9565b600161028051610200518082038281116152e8579050905011614aa957610280518352505050614ab9565b6001018181186149be5750505f5ffd5b565b614ac66104206131fb565b6104205161040052614ad9610540612c96565b610540805160208160051b0180610420828560045afa505050506104205160208160051b01806108a08261042060045afa505050614b18610660612fc2565b610660805160208160051b01806109c0828560045afa5050505061024060406102406108a060045afa50614b4d610780613142565b610780805160208160051b0180610540828560045afa505050506105405160208160051b018060408261054060045afa5050506104005161016052614b93610680613320565b610680516106605260315461068052610660516103c051610660518082028115838383041417156152e857905090506106805180156152e857808204905090508082038281116152e857905090506106a052610400516040526103e0516060526105405160208160051b018060808261054060045afa5050506106a0516101a052614c1f6106e0614805565b6106e0516106c052600a5460206154b55f395f518082028115838383041417156152e8579050905060206154b55f395f51600181038181116152e85790508060021b818160021c186152e857905080156152e857808204905090506106e052610660516106a0518082018281106152e8579050905060206154b55f395f518060011b818160011c186152e857905080156152e85780820490509050610700526105405160208160051b01806107208261054060045afa505050608036610840375f6008905b806108c05260206154d55f395f516108c05118614d0057614e63565b5f610840526108c051610540518110156152e85760051b6105600151610860526103e0516108c05118614d9557610860516106a0518082028115838383041417156152e857905090506106605180156152e857808204905090506106c0518082038281116152e8579050905061084052610860516106c0518082018281106152e857905090508060011c905061088052614de1565b61086051610860516106a0518082028115838383041417156152e857905090506106605180156152e857808204905090508082038281116152e857905090506108405261086051610880525b61088051604052610700516060526106e051608052614e016108e0613899565b6108e0516108a052610860516108a051610840518082028115838383041417156152e857905090506402540be400810490508082038281116152e857905090506108c051610720518110156152e85760051b6107400152600101818118614ce4575b50506103e051610720518110156152e85760051b6107400151610400516040526103e0516060526107205160208160051b018060808261072060045afa5050506106a0516101a052614eb66108e0614805565b6108e0518082038281116152e857905090506108c0526103e051610540518110156152e85760051b61056001516106c0518082038281116152e85790509050670de0b6b3a7640000810281670de0b6b3a76400008204186152e85790506103e051610420518110156152e85760051b610440015180156152e857808204905090506108e0526108c051600181038181116152e8579050670de0b6b3a7640000810281670de0b6b3a76400008204186152e85790506103e051610420518110156152e85760051b610440015180156152e857808204905090506108c0526106c0516103e051610540518110156152e85760051b61056001526108c05181526108e0516108c0518082038281116152e8579050905060208201526105405160208160051b016040830181818361054060045afa50505050610400516101608201526106a05161018082015250565b6031546060518082038281116152e85790509050603155602f6040516020525f5260405f2080546060518082038281116152e857905090508155505f6040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60605160805260206080a3565b60206154f55f395f5163cab4d3db610160526020610160600461017c845afa61509a573d5f5f3e3d5ffd5b60203d106152e857610160518060a01c6152e8576101a0526101a09050516101405261014051156152e85760105460208160051b015f81601f0160051c600981116152e857801561510057905b80601001548160051b61016001526001018181186150e7575b505050505f6008905b806102805260206154d55f395f51610280511861512557615195565b61028051610160518110156152e85760051b61018001511561518a576102805160405261028051610160518110156152e85760051b610180015160605261014051608052615171612b8f565b5f61028051610160518110156152e85760051b61018001525b600101818118615109575b50506101605160208160051b015f81601f0160051c600981116152e85780156151d357905b8060051b610160015181601001556001018181186151ba575b50505050565b6020615b755f395f514614615261577fd87cd6ef79d4e2b95e15ce8abf732db51ec771f1ca2edccf22a46c729ac564726060526020615b556080397f1c54f243822e0e9a0a377610b81577e771b3efe79964e76636b0d5d10247950d60a0524660c0523060e0526020615b956101003960c0604052604080516020820120905081525061526a565b6020615bb58239505b565b602f6040516020525f5260405f2080546080518082038281116152e85790509050815550602f6060516020525f5260405f2080546080518082018281106152e857905090508155506060516040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60805160a052602060a0a3565b5f80fd0299544509065753650a8094530a0d1cfc53ab0c0081548407076c53ff0ad40ddb8c15e0652081066c00dc059c4258c4011a053931ab521a4f2554fd4d5001c90576a9cd3e25b8455e604cd215f085b72df5de043f651a4d01d20c616567df02ca20d16529357750006705e2e7d26400f425ec0238621a9825fd0684b1254c0518160ddd225b05a9059cbb1c324570a0823102372530c540851a4505ddca3f43009d055e0d443f217d6506fdde03013205a7256d09044985c66106570075258edfdd5f00a905ddc1f59d02dea5cc2b27d722294590d208371a7b253644e51520bf05313ce56701be05081579a50c6b851ddc3b01012605d505accf1d8ae5bfa0b13302c60595d89b410178051be913a5010e057706db750e7c65fee3f7f900b505095ea7b31d224514f0597924e00565bbea6b291845907a016b1bff05b4b577ad00d0054903b0d124b82523b872dd1c6365687276531baf252969e04a160aa5551a658827bb051405228800e8055409491a00c405015c2838285d454a6e32c60e86857ecebe0002a0257e3db030035d85dd62ed3e025d45bb7b8b802270053c157e64265d4576a2f0f024a8053df0212402d485f446c1d0248c053db06dd8237c65afb430120367a5841954b587181e185b184618541846183f1831190720a16576797065728300030a0023000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000012c00000000000000000000000000000000000000000000000000000000000f42400000000000000000000000000000000000000000000000000000000ba43b7400000000000000000000000000000000000000000000000000000000000000036200000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000360000000000000000000000000000000000000000000000000000000000000000b555344652d637276555344000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a555344656372765553440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000004c9edd5852cd905f086c759e8383e09bff1e68b3000000000000000000000000f939e0a03fb07f59a73314e73794be0e57ac1b4e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x5f3560e01c6005600560068306026152ec01601b395f51600760078260ff16848460181c0260181c06028260081c61ffff1601601939505f51818160181c14600336111661004c57612988565b8060fe163610348260011602176152e8578060081c61ffff16565b60206154b560403960206040f35b602060043560206155155f395f518110156152e85760051b6080016154b50160403960206040f35b600a5460405260206040f35b600b5460405260206040f35b64012a05f20060405260206040f35b600c5460405260206040f35b600d5460405260206040f35b600e5460405260206040f35b600f5460405260206040f35b6004356010548110156152e8576011015460405260206040f35b602c5460405260206040f35b602d5460405260206040f35b602e5460405260206040f35b6020806040528060400160206020615ab55f395f510180615ab58339508051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b6020806040528060400160206020615b155f395f510180615b158339508051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b601260405260206040f35b60208060805260066040527f76372e302e30000000000000000000000000000000000000000000000000000060605260408160800181518152602082015160208201528051806020830101601f825f03163682375050601f19601f8251602001011690509050810190506080f35b6004358060a01c6152e857604052602f6040516020525f5260405f205460605260206060f35b6004358060a01c6152e8576040526024358060a01c6152e85760605260306040516020525f5260405f20806060516020525f5260405f2090505460805260206080f35b6004358060a01c6152e85760405260326040516020525f5260405f205460605260206060f35b6020615b9560403960206040f35b33611360526102ee565b6084358060a01c6152e857611360525b60043580600f0b81186152e8576113205260243580600f0b81186152e857611340525f546002146152e85760025f55602033610dc05261132051610de05261134051610e005260406044610e203761136051610e60525f610e80526103546113806144c7565b61138060035f55f35b3361136052610377565b6084358060a01c6152e857611360525b60043580600f0b81186152e8576113205260243580600f0b81186152e857611340525f546002146152e85760025f555f611380525f60206156355f395f51600881116152e85780156103f457905b600260208260051b6101a0016154b5015f395f51186103e9576001611380526103f4565b6001018181186103c5575b5050611380516152e857602033610dc05261132051610de05261134051610e005260406044610e203761136051610e60526001610e80526104366113806144c7565b61138060035f55f35b33610a8052610459565b6044358060a01c6152e857610a80525b60043560040160088135116152e857803560208160051b018083610960375050505f546002146152e85760025f55610492610ac06131fb565b610ac051610aa0526104a5610be0612fc2565b610be0805160208160051b0180610ac0828560045afa505050506104ca610d00612c96565b610d00805160208160051b0180610be0828560045afa50505050610be05160208160051b01806103c082610be060045afa505050610ac05160208160051b01806104e082610ac060045afa505050610aa0516106005261052b610d20614778565b610d2051610d0052603154610d2052610ac05160208160051b0180610d4082610ac060045afa5050505f6008905b80610e605260206154d55f395f51610e6051186105755761060c565b610e6051610960518110156152e85760051b6109800151156105f757610e6051610d40518110156152e85760051b610d60018051610e6051604052610e6051610960518110156152e85760051b6109800151606052336080525f60a0526105dd610e806129cd565b610e80518082018281106152e85790509050815250610601565b610d2051156152e8575b600101818118610559575b5050610be05160208160051b01806103c082610be060045afa505050610d405160208160051b01806104e082610d4060045afa505050610aa05161060052610655610e80614778565b610e8051610e6052610d0051610e605111156152e8575f610e80525f610fa052610d205115610a5c57606036610fc037610d0051610e60518082018281106152e8579050905060206154b55f395f5180156152e857808204905090506110205260403661104037600a5460206154b55f395f518082028115838383041417156152e8579050905060206154b55f395f51600181038181116152e85790508060021b818160021c186152e857905080156152e85780820490509050611080525f6008905b806110a05260206154d55f395f516110a0511861073457610955565b610e60516110a051610ac0518110156152e85760051b610ae001518082028115838383041417156152e85790509050610d005180156152e85780820490509050610fc0525f610fe0526110a051610d40518110156152e85760051b610d6001516110005261100051610fc051116107c45761100051610fc0518082038281116152e85790509050610fe0526107df565b610fc051611000518082038281116152e85790509050610fe0525b670de0b6b3a76400006110a051610be0518110156152e85760051b610c0001516110a051610ac0518110156152e85760051b610ae00151611000518082018281106152e857905090508082028115838383041417156152e8579050905004611040526110405160405261102051606052611080516080526108616110c0613899565b6110c05161106052610e8051600781116152e85761106051610fe0518082028115838383041417156152e857905090506402540be400810490508160051b610ea0015260018101610e8052506110a0516010548110156152e85760110180546110a051610e80518110156152e85760051b610ea0015164012a05f20081028164012a05f2008204186152e85790506402540be400810490508082018281106152e857905090508155506110a051610d40518110156152e85760051b610d600180516110a051610e80518110156152e85760051b610ea001518082038281116152e85790509050815250600101818118610718575b5050610be05160208160051b0180604082610be060045afa505050610d405160208160051b018061016082610d4060045afa5050506109956111c0613142565b6111c0805160208160051b01806110a0828560045afa505050506110a05160208160051b01806040826110a060045afa505050610aa051610160526109db6111c0613320565b6111c051610e6052610d2051610e6051610d00518082038281116152e857905090508082028115838383041417156152e85790509050610d005180156152e85780820490509050610fa0526110a05160208160051b0180610340826110a060045afa505050610aa05161046052610e605161048052610a85613f1956610a85565b610e6051610fa052610e6051604052610e6051606052610a7d610fc061298c565b610fc051602b555b602435610fa0511015610af7576014610fc0527f536c697070616765207363726577656420796f75000000000000000000000000610fe052610fc050610fc05180610fe001601f825f031636823750506308c379a0610f80526020610fa052601f19601f610fc0510116604401610f9cfd5b610d2051610fa0518082018281106152e85790509050610d2052602f610a80516020525f5260405f208054610fa0518082018281106152e85790509050815550610d2051603155610a80515f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610fa051610fc0526020610fc0a3337f189c623b666b1b45b83d7178f39b8c087cb09774317ca2f53c2d3c3726f222a2608080610fc05280610fc0015f610960518083528060051b5f82600881116152e8578015610bdc57905b8060051b61098001518160051b602088010152600101818118610bbe575b5050820160200191505090508101905080610fe05280610fc0015f610e80518083528060051b5f82600881116152e8578015610c3257905b8060051b610ea001518160051b602088010152600101818118610c14575b50508201602001915050905081019050610e605161100052610d205161102052610fc0a26020610fa060035f55f35b33610b0052610c7b565b6064358060a01c6152e857610b00525b60243580600f0b81186152e857610ae0525f546002146152e85760025f55600435156152e857606036610b20375f610c80525f610ca0526004356103c052610ae0516103e052610ccc610cc0614abb565b610cc08051610b20526020810151610b405260408101805160208160051b0180610b60828560045afa50505050610160810151610c8052610180810151610ca05250604435610b20511015610d80576018610cc0527f4e6f7420656e6f75676820636f696e732072656d6f7665640000000000000000610ce052610cc050610cc05180610ce001601f825f031636823750506308c379a0610c80526020610ca052601f19601f610cc0510116604401610c9cfd5b610ae0516010548110156152e8576011018054610b405164012a05f20081028164012a05f2008204186152e85790506402540be400810490508082018281106152e8579050905081555033604052600435606052610ddc615002565b610ae051604052610b2051606052610b0051608052610df9612b8f565b337f6f48129db1f37ccb9cc5dd7e119cb32750cabdf75b48375d730d26ce3659bbe1610ae051610cc052600435610ce052610b2051610d0052603154610d20526080610cc0a2610b605160208160051b018061034082610b6060045afa505050610c805161046052610ca05161048052610e71613f19565b6020610b2060035f55f35b33610a8052610e96565b6044358060a01c6152e857610a80525b60043560040160088135116152e857803560208160051b018083610960375050505f546002146152e85760025f55610ecf610ac06131fb565b610ac051610aa052610ee2610be0612c96565b610be0805160208160051b0180610ac0828560045afa50505050610f07610d00612fc2565b610d00805160208160051b0180610be0828560045afa50505050610ac05160208160051b01806103c082610ac060045afa505050610be05160208160051b01806104e082610be060045afa505050610aa05161060052610f68610d20614778565b610d2051610d0052610be05160208160051b0180610d2082610be060045afa5050505f6008905b80610e405260206154d55f395f51610e405118610fab57611042565b610e4051610960518110156152e85760051b61098001511561103757610e4051610d20518110156152e85760051b610d40018051610e4051610960518110156152e85760051b61098001518082038281116152e85790509050815250610e4051604052610e4051610960518110156152e85760051b6109800151606052610a8051608052611037612b8f565b600101818118610f8f575b5050610ac05160208160051b01806103c082610ac060045afa505050610d205160208160051b01806104e082610d2060045afa505050610aa0516106005261108b610e60614778565b610e6051610e4052600a5460206154b55f395f518082028115838383041417156152e8579050905060206154b55f395f51600181038181116152e85790508060021b818160021c186152e857905080156152e85780820490509050610e6052610d0051610e40518082018281106152e8579050905060206154b55f395f5180156152e85780820490509050610e80525f610ea0525f610fc052608036610fe0375f6008905b806110605260206154d55f395f51611060511861114c5761136d565b610e405161106051610be0518110156152e85760051b610c0001518082028115838383041417156152e85790509050610d005180156152e85780820490509050611000525f6110205261106051610d20518110156152e85760051b610d400151611040526110405161100051116111dc5761104051611000518082038281116152e85790509050611020526111f7565b61100051611040518082038281116152e85790509050611020525b670de0b6b3a764000061106051610ac0518110156152e85760051b610ae0015161106051610be0518110156152e85760051b610c000151611040518082018281106152e857905090508082028115838383041417156152e8579050905004610fe052610fe051604052610e8051606052610e6051608052611279611080613899565b61108051610fc052610ea051600781116152e857610fc051611020518082028115838383041417156152e857905090506402540be400810490508160051b610ec0015260018101610ea05250611060516010548110156152e857601101805461106051610ea0518110156152e85760051b610ec0015164012a05f20081028164012a05f2008204186152e85790506402540be400810490508082018281106152e8579050905081555061106051610d20518110156152e85760051b610d4001805161106051610ea0518110156152e85760051b610ec001518082038281116152e85790509050815250600101818118611130575b5050610ac05160208160051b01806103c082610ac060045afa505050610d205160208160051b01806104e082610d2060045afa505050610aa051610600526113b6611060614778565b61106051610e4052610d205160208160051b018061034082610d2060045afa505050610aa05161046052610e4051610480526113f0613f19565b60315461106052610d0051610e40518082038281116152e85790509050611060518082028115838383041417156152e85790509050610d005180156152e85780820490509050600181018181106152e857905061108052600261108051106152e8576024356110805111156114c45760146110a0527f536c697070616765207363726577656420796f750000000000000000000000006110c0526110a0506110a051806110c001601f825f031636823750506308c379a061106052602061108052601f19601f6110a051011660440161107cfd5b61106051611080518082038281116152e857905090506110605233604052611080516060526114f1615002565b337f3631c28b1f9dd213e0319fb167b554d76b6c283a41143eb400a0d1adb1af17556080806110a052806110a0015f610960518083528060051b5f82600881116152e857801561155b57905b8060051b61098001518160051b60208801015260010181811861153d575b50508201602001915050905081019050806110c052806110a0015f610ea0518083528060051b5f82600881116152e85780156115b157905b8060051b610ec001518160051b602088010152600101818118611593575b50508201602001915050905081019050610e40516110e05261106051611100526110a0a2602061108060035f55f35b336103c05260016103e052611629565b6044358060a01c6152e8576103c05260016103e052611629565b6044358060a01c6152e8576103c0526064358060011c6152e8576103e0525b60243560040160088135116152e857803560208160051b0180836102a0375050505f546002146152e85760025f5560315461040052600435156152e8575f61042052611676610660612fc2565b610660805160208160051b0180610540828560045afa505050505f610660525f6008905b806106805260206154d55f395f5161068051186116b6576117ee565b61068051610540518110156152e85760051b61056001516004358082028115838383041417156152e857905090506104005180156152e8578082049050905061066052610680516102a0518110156152e85760051b6102c001516106605110156117a45760306106a0527f5769746864726177616c20726573756c74656420696e20666577657220636f696106c0527f6e73207468616e206578706563746564000000000000000000000000000000006106e0526106a0506106a051806106c001601f825f031636823750506308c379a061066052602061068052601f19601f6106a051011660440161067cfd5b61042051600781116152e857610660518160051b610440015260018101610420525061068051604052610660516060526103c0516080526117e3612b8f565b60010181811861169a575b505033604052600435606052611802615002565b602e546040526118136106c061398c565b6106c0604061068060408360045afa5050602b546106c0526fffffffffffffffffffffffffffffffff6106c051166106e0526106e051610400516106e0516004358082028115838383041417156152e85790509050048082038281116152e85790509050610740526106c05161012052602d54610140526106a0516101605261189d610700613ddf565b610700516107605260406040604061074060045afa506118be61072061298c565b61072051602b55426106a05110156118d657426106a0525b610680516040526106a0516060526118ef61070061298c565b61070051602e55337f347ad828e58cbe534d8f6b67985d791360756b18f0d95fd9f197a66cc46480ea6060806107005280610700015f610420518083528060051b5f82600881116152e857801561196057905b8060051b61044001518160051b602088010152600101818118611942575b50508201602001915050905081019050806107205280610700015f5f82525f5f5f600881116152e85780156119a757905b5f8160051b602087010152600101818118611991575b505081016020019050905081019050610400516004358082038281116152e8579050905061074052610700a26103e051156119e4576119e461506f565b6020806107005280610700015f610420518083528060051b5f82600881116152e8578015611a2c57905b8060051b61044001518160051b602088010152600101818118611a0e575b5050820160200191505090508101905061070060035f55f35b611a4d61506f565b005b6fffffffffffffffffffffffffffffffff6004356022548110156152e857602301541660405260206040f35b6004356022548110156152e8576023015460801c60405260206040f35b611aa36103e06131fb565b6103e0516103c052611ab6610500612c96565b610500805160208160051b0180610860828560045afa50505050611adb610620612fc2565b610620805160208160051b0180610980828560045afa50505050610240604061024061086060045afa50611b10610740613142565b610740805160208160051b01806103e0828560045afa505050506103e05160208160051b01806040826103e060045afa5050506103c05161016052611b56610520613320565b610520516105005260206103e05160208160051b01806040826103e060045afa5050506103c051610160526105005161018052611b946105206139b1565b61052060043581518110156152e85760051b60208201019050f35b5f546002146152e85760206004356022548110156152e8576023015461012052602c54610140526fffffffffffffffffffffffffffffffff602e541661016052611bfa610200613ddf565b610200f35b5f546002146152e8576020602b5461012052602d5461014052602e5460801c61016052611c2d610200613ddf565b610200f35b6004358060a01c6152e85760c0523360405260c051606052602435608052611c5861526c565b600160e052602060e0f35b6004358060a01c6152e85760c0526024358060a01c6152e85760e05260c05160405260e051606052604435608052611c9961526c565b603060c0516020525f5260405f2080336020525f5260405f20905054610100527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101005114611d1557610100516044358082038281116152e85790509050603060c0516020525f5260405f2080336020525f5260405f209050555b6001610120526020610120f35b6004358060a01c6152e8576040526024356030336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560243560605260206060a3600160605260206060f35b6004358060a01c6152e857610120526024358060a01c6152e857610140526084358060081c6152e8576101605261012051156152e85760643542116152e8576032610120516020525f5260405f2054610180525f60026101c0527f19010000000000000000000000000000000000000000000000000000000000006101e0526101c0805160208201836103200181518152505080830192505050611e2f6102006151d9565b610200518161032001526020810190507f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c961024052610120516102605261014051610280526044356102a052610180516102c0526064356102e05260c061022052610220805160208201209050816103200152602081019050806103005261030090508051602082012090506101a052610120513b15611ff8575f604060a46102603760406102405261024080516020820183610320018281848460045afa50505080830192505050610160516102a0526102a0601f810180516102e0525060016102c0526102c09050805160208201836103200181518152505080830192505050806103005261030090506020815101806101c0828460045afa5050507f1626ba7e0000000000000000000000000000000000000000000000000000000061012051631626ba7e6102405260406101a051610260528061028052806102600160206101c051018082826101c060045afa50508051806020830101601f825f03163682375050601f19601f82516020010116905081015050602061024060c461025c845afa611fe0573d5f5f3e3d5ffd5b60203d106152e857610240905051186152e857612038565b610120515f610240526101a0516101c052610160516101e05260a4356102005260c43561022052602061024060806101c060015afa5061024051186152e8575b6044356030610120516020525f5260405f2080610140516020525f5260405f2090505561018051600181018181106152e85790506032610120516020525f5260405f205561014051610120517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256044356101c05260206101c0a360016101c05260206101c0f35b60206120cc6101206151d9565b610120f35b60043580600f0b81186152e85760405260243580600f0b81186152e857606052602060206154f55f395f5163e31593d8608052602060806004609c845afa61211b573d5f5f3e3d5ffd5b60203d106152e8576080518060a01c6152e85760c05260c09050516383aa796a60e0526040516101005260605161012052604435610140523061016052602060e0608460fc845afa61216f573d5f5f3e3d5ffd5b60203d106152e85760e09050f35b60043580600f0b81186152e85760405260243580600f0b81186152e857606052602060206154f55f395f5163e31593d8608052602060806004609c845afa6121c7573d5f5f3e3d5ffd5b60203d106152e8576080518060a01c6152e85760c05260c0905051630c601c2c60e0526040516101005260605161012052604435610140523061016052602060e0608460fc845afa61221b573d5f5f3e3d5ffd5b60203d106152e85760e09050f35b60243580600f0b81186152e857610ae05260206004356103c052610ae0516103e052612256610b00614abb565b610b00f35b5f546002146152e85760315460405260206040f35b5f546002146152e8576122846103e06131fb565b6103e0516103c052612297610500612c96565b610500805160208160051b0180610860828560045afa505050506122bc610620612fc2565b610620805160208160051b0180610980828560045afa50505050610240604061024061086060045afa506122f1610740613142565b610740805160208160051b01806103e0828560045afa505050506103e05160208160051b01806040826103e060045afa5050506103c05161016052612337610520613320565b610520516105005261050051670de0b6b3a7640000810281670de0b6b3a76400008204186152e857905060315480156152e85780820490509050610520526020610520f35b60043560040160088135116152e857803560208160051b0180836040375050506024358060011c6152e85761016052602060206154f55f395f5163e31593d8610180526020610180600461019c845afa6123d8573d5f5f3e3d5ffd5b60203d106152e857610180518060a01c6152e8576101c0526101c090505163fb79eb276101e0526060806102005280610200015f6040518083528060051b5f82600881116152e857801561244557905b8060051b606001518160051b602088010152600101818118612428575b50508201602001915050905081019050610160516102205230610240525060206101e06101846101fc845afa61247d573d5f5f3e3d5ffd5b60203d106152e8576101e09050f35b61249660c06131fb565b60c05160648104905060e052602060e0f35b60206124b460c06131fb565b60c0f35b60206124c5610200612fc2565b61020060043581518110156152e85760051b60208201019050f35b602080610320526124f2610200612fc2565b61020081610320015f82518083528060051b5f82600881116152e857801561253557905b8060051b6020880101518160051b602088010152600101818118612516575b505082016020019150509050905081019050610320f35b6020806104605261255e610340612c96565b61034081610460015f82518083528060051b5f82600881116152e85780156125a157905b8060051b6020880101518160051b602088010152600101818118612582575b505082016020019150509050905081019050610460f35b60043580600f0b81186152e85760405260243580600f0b81186152e857606052602060206154f55f395f5163e31593d8608052602060806004609c845afa612602573d5f5f3e3d5ffd5b60203d106152e8576080518060a01c6152e85760c05260c090505163a63530bd60e05260405161010052606051610120523061014052602060e0606460fc845afa61264f573d5f5f3e3d5ffd5b60203d106152e85760e09050f35b60206154f55f395f5163f851a44060c052602060c0600460dc845afa612685573d5f5f3e3d5ffd5b60203d106152e85760c0518060a01c6152e8576101005261010090505133186152e857600e546201518081018181106152e857905042106152e857426201518081018181106152e8579050602435106152e8576126e260e06131fb565b60e05160c052600435606481028160648204186152e857905060e0526004351561271457620f423f6004351115612716565b5f5b156152e85760c05160e051106127465760c051600a810281600a8204186152e857905060e051116152e857612762565b60c05160e051600a810281600a8204186152e8579050106152e8575b60c051600c5560e051600d5542600e55602435600f557fa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c25460c0516101005260e051610120524261014052602435610160526080610100a1005b60206154f55f395f5163f851a44060c052602060c0600460dc845afa6127e3573d5f5f3e3d5ffd5b60203d106152e85760c0518060a01c6152e8576101005261010090505133186152e85761281060e06131fb565b60e05160c05260c051600c5560c051600d5542600e5542600f557f46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc20193860c05160e0524261010052604060e0a1005b60206154f55f395f5163f851a440604052602060406004605c845afa612885573d5f5f3e3d5ffd5b60203d106152e8576040518060a01c6152e857608052608090505133186152e85764012a05f200600435116152e857600435600a556802b5e3af16b18800006024356004358082028115838383041417156152e85790509050116152e857602435600b557f750d10a7f37466ce785ee6bcb604aac543358db42afbcc332a3c12a49c80bf6d6040600460403760406040a1005b60206154f55f395f5163f851a440604052602060406004605c845afa612940573d5f5f3e3d5ffd5b60203d106152e8576040518060a01c6152e857608052608090505133186152e85760043515612973576024351515612975565b5f5b156152e857600435602c55602435602d55005b5f5ffd5b6fffffffffffffffffffffffffffffffff604051116152e8576fffffffffffffffffffffffffffffffff606051116152e85760605160801b60405117815250565b602060405160206155155f395f518110156152e85760051b6080016154b5015f395f516370a0823160e0523061010052602060e0602460fc845afa612a14573d5f5f3e3d5ffd5b60203d106152e85760e090505160c05260a051612b3057606051156152e857602060405160206155155f395f518110156152e85760051b6080016154b5015f395f516323b872dd60e05260805161010052306101205260605161014052602060e0606460fc5f855af1612a89573d5f5f3e3d5ffd5b3d612aa057803b156152e857600161016052612ab8565b60203d106152e85760e0518060011c6152e857610160525b610160905051156152e857602060405160206155155f395f518110156152e85760051b6080016154b5015f395f516370a0823160e0523061010052602060e0602460fc845afa612b0a573d5f5f3e3d5ffd5b60203d106152e85760e090505160c0518082038281116152e8579050905060c052612b61565b60c0516040516001548110156152e857600201548082038281116152e8579050905060c05260605160c051106152e8575b6040516001548110156152e857600201805460c0518082018281106152e8579050905081555060c051815250565b602060405160206155155f395f518110156152e85760051b6080016154b5015f395f516370a0823160c0523060e052602060c0602460dc845afa612bd5573d5f5f3e3d5ffd5b60203d106152e85760c090505160a052602060405160206155155f395f518110156152e85760051b6080016154b5015f395f5163a9059cbb60c05260805160e05260605161010052602060c0604460dc5f855af1612c35573d5f5f3e3d5ffd5b3d612c4c57803b156152e857600161012052612c64565b60203d106152e85760c0518060011c6152e857610120525b610120905051156152e85760a0516060518082038281116152e857905090506040516001548110156152e85760020155565b60206157555f395f5160208160051b0180615755604039505060195460208160051b015f81601f0160051c600981116152e8578015612cea57905b80601901548160051b6101600152600101818118612cd1575b505050505f6008905b806102805260206154d55f395f516102805118612d0f57612fa7565b600160206102805160206156355f395f518110156152e85760051b6101a0016154b5015f395f5118612d595761028051610160518110156152e85760051b61018001511515612d5b565b5f5b612e8a57600360206102805160206156355f395f518110156152e85760051b6101a0016154b5015f395f5118612f9c57670de0b6b3a7640000610280516040518110156152e85760051b6060015160206102805160206155155f395f518110156152e85760051b6080016154b5015f395f516307a2d13a6102a05260206102805160206158755f395f518110156152e85760051b6103e0016154b5016102c03960206102a060246102bc845afa612e14573d5f5f3e3d5ffd5b60203d106152e8576102a09050518082028115838383041417156152e8579050905060206102805160206159955f395f518110156152e85760051b610500016154b5015f395f518082028115838383041417156152e8579050905004610280516040518110156152e85760051b60600152612f9c565b61028051610160518110156152e85760051b610180015173ffffffffffffffffffffffffffffffffffffffff811690508060a01c6152e8575a7fffffffff0000000000000000000000000000000000000000000000000000000061028051610160518110156152e85760051b6101800151166102e05260206102c0526102c05060206103206102c0516102e08585fa90509050612f29573d5f5f3e3d5ffd5b3d602081183d6020100218610300526103006020810151815160200360031b1c90506102a052670de0b6b3a7640000610280516040518110156152e85760051b606001516102a0518082028115838383041417156152e8579050905004610280516040518110156152e85760051b606001525b600101818118612cf3575b505060405160208160051b01808382604060045afa50505050565b5f6040525f610160525f6008905b806101805260206154d55f395f516101805118612fec57613127565b5f6101a0525f60206156355f395f51600881116152e857801561303a57905b600260208260051b6101a0016154b5015f395f511861302f5760016101a05261303a565b60010181811861300b575b50506101a05161307f57610180516001548110156152e85760020154610180516010548110156152e857601101548082038281116152e85790509050610160526130fd565b60206101805160206155155f395f518110156152e85760051b6080016154b5015f395f516370a082316101c052306101e05260206101c060246101dc845afa6130ca573d5f5f3e3d5ffd5b60203d106152e8576101c0905051610180516010548110156152e857601101548082038281116152e85790509050610160525b604051600781116152e857610160518160051b606001526001810160405250600101818118612fd0575b505060405160208160051b01808382604060045afa50505050565b5f610280525f6008905b806103a05260206154d55f395f516103a05118613168576131de565b61028051600781116152e8576103a0516040518110156152e85760051b606001516103a051610160518110156152e85760051b61018001518082028115838383041417156152e85790509050670de0b6b3a7640000810490508160051b6102a0015260018101610280525060010181811861314c575b50506102805160208160051b0180838261028060045afa50505050565b600f54604052600d54606052604051421061321f5760605181525061331e5661331e565b600c54608052600e5460a052608051606051116132ae576080516080516060518082038281116152e857905090504260a0518082038281116152e857905090508082028115838383041417156152e8579050905060405160a0518082038281116152e8579050905080156152e857808204905090508082038281116152e8579050905081525061331e5661331e565b6080516060516080518082038281116152e857905090504260a0518082038281116152e857905090508082028115838383041417156152e8579050905060405160a0518082038281116152e8579050905080156152e857808204905090508082018281106152e857905090508152505b565b5f610180525f604051600881116152e857801561336a57905b8060051b606001516101a052610180516101a0518082018281106152e8579050905061018052600101818118613339575b50506101805161337d575f815250613592565b610180516101a0526101605160206154b55f395f518082028115838383041417156152e857905090506101c0526040366101e0375f60ff905b80610220526101a0516101e0525f604051600881116152e857801561343c57905b8060051b60600151610240526101e0516101a0518082028115838383041417156152e857905090506102405160206154b55f395f518082028115838383041417156152e8579050905080156152e857808204905090506101e0526001018181186133d7575b50506101a0516102005260646101c051610180518082028115838383041417156152e85790509050046101e05160206154b55f395f518082028115838383041417156152e857905090508082018281106152e857905090506101a0518082028115838383041417156152e8579050905060646101c051606481038181116152e85790506101a0518082028115838383041417156152e8579050905004600160206154b55f395f51016101e0518082028115838383041417156152e857905090508082018281106152e8579050905080156152e857808204905090506101a052610200516101a05111613557576001610200516101a0518082038281116152e8579050905011613582576101a051835250505061359256613582565b60016101a051610200518082038281116152e8579050905011613582576101a0518352505050613592565b6001018181186133b65750505f5ffd5b565b606051604051146152e8575f606051126152e85760206154d55f395f5160605112156152e8575f604051126152e85760206154d55f395f5160405112156152e8576101c051610200526101e0516102205260603661024037610220516102a0526102005160206154b55f395f518082028115838383041417156152e857905090506102c0525f6008905b806102e05260206154d55f395f516102e0511861363a576136f4565b6040516102e051186136525760805161026052613680565b6060516102e051146136e9576102e05160a0518110156152e85760051b60c0015161026052613680566136e9565b61024051610260518082018281106152e85790509050610240526102a051610220518082028115838383041417156152e857905090506102605160206154b55f395f518082028115838383041417156152e8579050905080156152e857808204905090506102a0525b60010181811861361e575b50506102a051610220518082028115838383041417156152e85790509050606481028160648204186152e85790506102c05160206154b55f395f518082028115838383041417156152e8579050905080156152e857808204905090506102a0526102405161022051606481028160648204186152e85790506102c05180156152e857808204905090508082018281106152e857905090506102e05261022051610300525f60ff905b8061032052610300516102805261030051610300518082028115838383041417156152e857905090506102a0518082018281106152e85790509050610300518060011b818160011c186152e85790506102e0518082018281106152e85790509050610220518082038281116152e8579050905080156152e857808204905090506103005261028051610300511161385c57600161028051610300518082038281116152e85790509050116138875761030051835250505061389756613887565b600161030051610280518082038281116152e857905090501161388757610300518352505050613897565b60010181811861379c5750505f5ffd5b565b600b5460a0526402540be40060a051116138b85760805181525061398a565b6040516060518082018281106152e857905090506fffffffffffffffffffffffffffffffff81116152e8576002810a905060c05260a0516080518082028115838383041417156152e8579050905060a0516402540be40081038181116152e85790508060021b818160021c186152e85790506040518082028115838383041417156152e857905090506060518082028115838383041417156152e8579050905060c05180156152e857808204905090506402540be40081018181106152e857905080156152e857808204905090508152505b565b6fffffffffffffffffffffffffffffffff60405116815260405160801c602082015250565b60206154b55f395f5161016051026101a05260206154b55f395f5160206154b55f395f510a61018051046101c0525f6008905b806101e05260206154d55f395f516101e05118613a0057613a4d565b6101c051610180518082028115838383041417156152e857905090506101e0516040518110156152e85760051b6060015180156152e857808204905090506101c0526001018181186139e4575b50505f6101e0526101a051604051156152e8575f60051b606001518082028115838383041417156152e8579050905060648104905061030052600160078101905b806103205260206154b55f395f516103205118613aaa57613b70565b6101e051600781116152e857610300516101c051604051156152e8575f60051b606001518082028115838383041417156152e85790509050610320516040518110156152e85760051b6060015180156152e857808204905090508082018281106152e85790509050670de0b6b3a7640000810281670de0b6b3a76400008204186152e8579050610300516101c0518082018281106152e8579050905080156152e857808204905090508160051b6102000152600181016101e05250600101818118613a8e575b50506101e05160208160051b018083826101e060045afa50505050565b6040516060527ffffffffffffffffffffffffffffffffffffffffffffffffdb731c958f34d94c160405113613bc5575f815250613ddd565b680755bf798b4a1bf1e46040511315613c345760106080527f7761645f657870206f766572666c6f770000000000000000000000000000000060a0526080506080518060a001601f825f031636823750506308c379a06040526020606052601f19601f6080510116604401605cfd5b6503782dace9d9604051604e1b056060526b8000000000000000000000006bb17217f7d1cf79abc9e3b39860605160601b050160601d6080526bb17217f7d1cf79abc9e3b39860805102606051036060526d02d16720577bd19bf614176fe9ea6060516c10fe68e7fd37d0007b713f7650606051010260601d0160a05279d835ebba824c98fb31b83b2ca45c0000000000000000000000006060516e0587f503bb6ea29d25fcb74019645060a0516d04a4fd9f2a8b96949216d2255a6c60605160a05101030260601d01020160c0526d0277594991cfc85f6e2461837cd96060516c240c330e9fb2d9cbaf0fd5aafc606051030260601d0160e0526d1a521255e34f6a5061b25ef1c9c460605160e0510260601d0360e0526db1bbb201f443cf962f1a1d3db4a560605160e0510260601d0160e0526e02c72388d9f74f51a9331fed693f1560605160e0510260601d0360e0526e05180bb14799ab47a8a8cb2a527d5760605160e0510260601d0160e05260e05160c051056101005274029d9dc38563c32e5c2f6dc192ee70ef65f9978af3610100510260805160c3035f81126152e8571c8152505b565b6fffffffffffffffffffffffffffffffff6101205116610180526101205160801c6101a05242610160511015613f0f5742610160518082038281116152e85790509050670de0b6b3a7640000810281670de0b6b3a76400008204186152e85790506101405180156152e857808204905090508060ff1c6152e8577f800000000000000000000000000000000000000000000000000000000000000081146152e8575f03604052613e906101e0613b8d565b6101e0516101c052610180516101c05180670de0b6b3a764000003670de0b6b3a764000081116152e85790508082028115838383041417156152e857905090506101a0516101c0518082028115838383041417156152e857905090508082018281106152e85790509050670de0b6b3a764000081049050815250613f17565b6101a0518152505b565b602e54604052613f2a6104e061398c565b6104e060406104a060408360045afa505060225460208160051b015f81601f0160051c600981116152e8578015613f7657905b80602201548160051b6104e00152600101818118613f5d575b505050506104e05160208160051b0180610600826104e060045afa5050506103405160208160051b018060408261034060045afa50505061046051610160526104805161018052613fc86108406139b1565b610840805160208160051b0180610720828560045afa505050505f6008905b806108405260206154b55f395f51600181038181116152e85790506108405118614010576140df565b61084051610720518110156152e85760051b6107400151156140d45761084051610720518110156152e85760051b6107400151671bc16d674ec80000818118671bc16d674ec800008310021890506108a052610840516104e0518110156152e85760051b610500015161012052602c54610140526104a05161016052614097610860613ddf565b610860516108c0526040604060406108a060045afa506140b861088061298c565b6108805161084051610600518110156152e85760051b61062001525b600101818118613fe7575b50506106005160208160051b015f81601f0160051c600981116152e857801561411d57905b8060051b61060001518160220155600101818118614104575b50505050602b5461084052610480516108a0526108405161012052602d54610140526104c05161016052614152610860613ddf565b610860516108c0526040604060406108a060045afa5061417361088061298c565b61088051602b555f6002905b80610860524261086051600181116152e85760051b6104a0015110156141b5574261086051600181116152e85760051b6104a001525b60010181811861417f5750506104a0516040526104c0516060526141da61086061298c565b61086051602e55565b6141ee610c206131fb565b610c2051610c00526109805160208160051b018060408261098060045afa505050610c005161016052614222610c40613320565b610c4051610c2052610bc051604052610be051606052610960516080526109805160208160051b018060a08261098060045afa505050610c00516101c052610c20516101e052614273610c60613594565b610c6051610c4052610be051610980518110156152e85760051b6109a00151610c40518082038281116152e85790509050600181038181116152e8579050610c6052610c6051610bc051610980518110156152e85760051b6109a00151610960518082018281106152e857905090508060011c9050604052610be051610980518110156152e85760051b6109a00151610c40518082018281106152e857905090508060011c9050606052600a5460805261432e610ca0613899565b610ca0518082028115838383041417156152e857905090506402540be40081049050610c8052610c6051610c80518082038281116152e85790509050670de0b6b3a7640000810281670de0b6b3a76400008204186152e8579050610be051610aa0518110156152e85760051b610ac0015180156152e85780820490509050610c6052610be0516010548110156152e8576011018054610c805164012a05f20081028164012a05f2008204186152e85790506402540be40081049050670de0b6b3a7640000810281670de0b6b3a76400008204186152e8579050610be051610aa0518110156152e85760051b610ac0015180156152e857808204905090508082018281106152e857905090508155506109805160208160051b0180610ca08261098060045afa50505061096051610bc051610ca0518110156152e85760051b610cc00152610c4051610be051610ca0518110156152e85760051b610cc00152610ca05160208160051b018061034082610ca060045afa505050610c005161046052610c2051610480526144be613f19565b610c6051815250565b610e0051610de051146152e857610e2051156152e8576144e8610fc0612c96565b610fc0805160208160051b0180610ea0828560045afa5050505061450d6110e0612fc2565b6110e0805160208160051b0180610fc0828560045afa50505050610ea05160208160051b0180604082610ea060045afa505050610fc05160208160051b018061016082610fc060045afa505050614565611200613142565b611200805160208160051b01806110e0828560045afa50505050610de051604052610e2051606052610dc051608052610e805160a0526145a66112206129cd565b6112205161120052610de0516110e0518110156152e85760051b611100015161120051610de051610ea0518110156152e85760051b610ec001518082028115838383041417156152e85790509050670de0b6b3a7640000810490508082018281106152e857905090506112205261122051610960526110e05160208160051b0180610980826110e060045afa505050610ea05160208160051b0180610aa082610ea060045afa505050610de051610bc052610e0051610be05261466a6112606141e3565b6112605161124052610e405161124051101561470a57602e611260527f45786368616e676520726573756c74656420696e20666577657220636f696e73611280527f207468616e2065787065637465640000000000000000000000000000000000006112a05261126050611260518061128001601f825f031636823750506308c379a061122052602061124052601f19601f61126051011660440161123cfd5b610e005160405261124051606052610e6051608052614727612b8f565b337f8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140610de05161126052610e205161128052610e00516112a052611240516112c0526080611260a261124051815250565b6103c05160208160051b01806040826103c060045afa5050506104e05160208160051b0180610160826104e060045afa5050506147b6610740613142565b610740805160208160051b0180610620828560045afa505050506106205160208160051b018060408261062060045afa50505061060051610160526147fc610740613320565b61074051815250565b5f606051126152e85760206154d55f395f5160605112156152e8576060366101c0376101a0516102205260405160206154b55f395f518082028115838383041417156152e85790509050610240525f6008905b806102605260206154d55f395f51610260511861487457614916565b606051610260511461490b57610260516080518110156152e85760051b60a001516101e0526148a25661490b565b6101c0516101e0518082018281106152e857905090506101c052610220516101a0518082028115838383041417156152e857905090506101e05160206154b55f395f518082028115838383041417156152e8579050905080156152e85780820490509050610220525b600101818118614858575b5050610220516101a0518082028115838383041417156152e85790509050606481028160648204186152e85790506102405160206154b55f395f518082028115838383041417156152e8579050905080156152e85780820490509050610220526101c0516101a051606481028160648204186152e85790506102405180156152e857808204905090508082018281106152e85790509050610260526101a051610280525f60ff905b806102a052610280516102005261028051610280518082028115838383041417156152e85790509050610220518082018281106152e85790509050610280518060011b818160011c186152e8579050610260518082018281106152e857905090506101a0518082038281116152e8579050905080156152e8578082049050905061028052610200516102805111614a7e57600161020051610280518082038281116152e8579050905011614aa957610280518352505050614ab956614aa9565b600161028051610200518082038281116152e8579050905011614aa957610280518352505050614ab9565b6001018181186149be5750505f5ffd5b565b614ac66104206131fb565b6104205161040052614ad9610540612c96565b610540805160208160051b0180610420828560045afa505050506104205160208160051b01806108a08261042060045afa505050614b18610660612fc2565b610660805160208160051b01806109c0828560045afa5050505061024060406102406108a060045afa50614b4d610780613142565b610780805160208160051b0180610540828560045afa505050506105405160208160051b018060408261054060045afa5050506104005161016052614b93610680613320565b610680516106605260315461068052610660516103c051610660518082028115838383041417156152e857905090506106805180156152e857808204905090508082038281116152e857905090506106a052610400516040526103e0516060526105405160208160051b018060808261054060045afa5050506106a0516101a052614c1f6106e0614805565b6106e0516106c052600a5460206154b55f395f518082028115838383041417156152e8579050905060206154b55f395f51600181038181116152e85790508060021b818160021c186152e857905080156152e857808204905090506106e052610660516106a0518082018281106152e8579050905060206154b55f395f518060011b818160011c186152e857905080156152e85780820490509050610700526105405160208160051b01806107208261054060045afa505050608036610840375f6008905b806108c05260206154d55f395f516108c05118614d0057614e63565b5f610840526108c051610540518110156152e85760051b6105600151610860526103e0516108c05118614d9557610860516106a0518082028115838383041417156152e857905090506106605180156152e857808204905090506106c0518082038281116152e8579050905061084052610860516106c0518082018281106152e857905090508060011c905061088052614de1565b61086051610860516106a0518082028115838383041417156152e857905090506106605180156152e857808204905090508082038281116152e857905090506108405261086051610880525b61088051604052610700516060526106e051608052614e016108e0613899565b6108e0516108a052610860516108a051610840518082028115838383041417156152e857905090506402540be400810490508082038281116152e857905090506108c051610720518110156152e85760051b6107400152600101818118614ce4575b50506103e051610720518110156152e85760051b6107400151610400516040526103e0516060526107205160208160051b018060808261072060045afa5050506106a0516101a052614eb66108e0614805565b6108e0518082038281116152e857905090506108c0526103e051610540518110156152e85760051b61056001516106c0518082038281116152e85790509050670de0b6b3a7640000810281670de0b6b3a76400008204186152e85790506103e051610420518110156152e85760051b610440015180156152e857808204905090506108e0526108c051600181038181116152e8579050670de0b6b3a7640000810281670de0b6b3a76400008204186152e85790506103e051610420518110156152e85760051b610440015180156152e857808204905090506108c0526106c0516103e051610540518110156152e85760051b61056001526108c05181526108e0516108c0518082038281116152e8579050905060208201526105405160208160051b016040830181818361054060045afa50505050610400516101608201526106a05161018082015250565b6031546060518082038281116152e85790509050603155602f6040516020525f5260405f2080546060518082038281116152e857905090508155505f6040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60605160805260206080a3565b60206154f55f395f5163cab4d3db610160526020610160600461017c845afa61509a573d5f5f3e3d5ffd5b60203d106152e857610160518060a01c6152e8576101a0526101a09050516101405261014051156152e85760105460208160051b015f81601f0160051c600981116152e857801561510057905b80601001548160051b61016001526001018181186150e7575b505050505f6008905b806102805260206154d55f395f51610280511861512557615195565b61028051610160518110156152e85760051b61018001511561518a576102805160405261028051610160518110156152e85760051b610180015160605261014051608052615171612b8f565b5f61028051610160518110156152e85760051b61018001525b600101818118615109575b50506101605160208160051b015f81601f0160051c600981116152e85780156151d357905b8060051b610160015181601001556001018181186151ba575b50505050565b6020615b755f395f514614615261577fd87cd6ef79d4e2b95e15ce8abf732db51ec771f1ca2edccf22a46c729ac564726060526020615b556080397f1c54f243822e0e9a0a377610b81577e771b3efe79964e76636b0d5d10247950d60a0524660c0523060e0526020615b956101003960c0604052604080516020820120905081525061526a565b6020615bb58239505b565b602f6040516020525f5260405f2080546080518082038281116152e85790509050815550602f6060516020525f5260405f2080546080518082018281106152e857905090508155506060516040517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60805160a052602060a0a3565b5f80fd0299544509065753650a8094530a0d1cfc53ab0c0081548407076c53ff0ad40ddb8c15e0652081066c00dc059c4258c4011a053931ab521a4f2554fd4d5001c90576a9cd3e25b8455e604cd215f085b72df5de043f651a4d01d20c616567df02ca20d16529357750006705e2e7d26400f425ec0238621a9825fd0684b1254c0518160ddd225b05a9059cbb1c324570a0823102372530c540851a4505ddca3f43009d055e0d443f217d6506fdde03013205a7256d09044985c66106570075258edfdd5f00a905ddc1f59d02dea5cc2b27d722294590d208371a7b253644e51520bf05313ce56701be05081579a50c6b851ddc3b01012605d505accf1d8ae5bfa0b13302c60595d89b410178051be913a5010e057706db750e7c65fee3f7f900b505095ea7b31d224514f0597924e00565bbea6b291845907a016b1bff05b4b577ad00d0054903b0d124b82523b872dd1c6365687276531baf252969e04a160aa5551a658827bb051405228800e8055409491a00c405015c2838285d454a6e32c60e86857ecebe0002a0257e3db030035d85dd62ed3e025d45bb7b8b802270053c157e64265d4576a2f0f024a8053df0212402d485f446c1d0248c053db06dd8237c65afb430120367a5000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020000000000000000000000006a8cbed756804b16e05e741edabd5cb544ae21bf00000000000000000000000000000000000000000000000000000000000000020000000000000000000000004c9edd5852cd905f086c759e8383e09bff1e68b3000000000000000000000000f939e0a03fb07f59a73314e73794be0e57ac1b4e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b555344652d6372765553440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a5553446563727655534400000000000000000000000000000000000000000000387b51582196fc0905653e18614c8ee439a67ed5d5f8850700ab11ae6e43601300000000000000000000000000000000000000000000000000000000000000014493f594ed8faf6d4742f6bed96febdfee42ab8e7fb338d97bacd1f1b11f44038107cc22129fa97de0763265d6ee509f8ad6a6d54703dc210d8c8c375dbfc01d
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000012c00000000000000000000000000000000000000000000000000000000000f42400000000000000000000000000000000000000000000000000000000ba43b7400000000000000000000000000000000000000000000000000000000000000036200000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000360000000000000000000000000000000000000000000000000000000000000000b555344652d637276555344000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a555344656372765553440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000004c9edd5852cd905f086c759e8383e09bff1e68b3000000000000000000000000f939e0a03fb07f59a73314e73794be0e57ac1b4e00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): USDe-crvUSD
Arg [1] : _symbol (string): USDecrvUSD
Arg [2] : _A (uint256): 300
Arg [3] : _fee (uint256): 1000000
Arg [4] : _offpeg_fee_multiplier (uint256): 50000000000
Arg [5] : _ma_exp_time (uint256): 866
Arg [6] : _coins (address[]): 0x4c9EDD5852cd905f086C759E8383e09bff1E68B3,0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E
Arg [7] : _rate_multipliers (uint256[]): 1000000000000000000,1000000000000000000
Arg [8] : _asset_types (uint8[]): 0,0
Arg [9] : _method_ids (bytes4[]): System.Byte[],System.Byte[]
Arg [10] : _oracles (address[]): 0x0000000000000000000000000000000000000000,0x0000000000000000000000000000000000000000
-----Encoded View---------------
30 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [3] : 00000000000000000000000000000000000000000000000000000000000f4240
Arg [4] : 0000000000000000000000000000000000000000000000000000000ba43b7400
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000362
Arg [6] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [8] : 00000000000000000000000000000000000000000000000000000000000002a0
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000300
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000360
Arg [11] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [12] : 555344652d637276555344000000000000000000000000000000000000000000
Arg [13] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [14] : 5553446563727655534400000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [16] : 0000000000000000000000004c9edd5852cd905f086c759e8383e09bff1e68b3
Arg [17] : 000000000000000000000000f939e0a03fb07f59a73314e73794be0e57ac1b4e
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [19] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [20] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [25] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [26] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [27] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [28] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [29] : 0000000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.