Overview
MATIC Balance
0 MATIC
MATIC Value
$0.00More Info
Private Name Tags
ContractCreator:
Sponsored
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0x617a6960 | 19613496 | 912 days ago | IN | Create: Vyper_contract | 0 MATIC | 0.06616896 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Vyper_contract
Compiler Version
vyper:0.2.15
Contract Source Code (Vyper language format)
# @version 0.2.15 """ @title StableSwap @author Curve.Fi @license Copyright (c) Curve.Fi, 2020-2021 - all rights reserved @notice 3 coin pool implementation with no lending @dev Optimized to only support ERC20's with 18 decimals that return True/revert """ from vyper.interfaces import ERC20 interface Factory: def convert_fees() -> bool: nonpayable def get_fee_receiver(_pool: address) -> address: view def admin() -> address: view 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 AddLiquidity: provider: indexed(address) token_amounts: uint256[N_COINS] fees: uint256[N_COINS] invariant: uint256 token_supply: uint256 event RemoveLiquidity: provider: indexed(address) token_amounts: uint256[N_COINS] fees: uint256[N_COINS] token_supply: uint256 event RemoveLiquidityOne: provider: indexed(address) token_amount: uint256 coin_amount: uint256 token_supply: uint256 event RemoveLiquidityImbalance: provider: indexed(address) token_amounts: uint256[N_COINS] fees: uint256[N_COINS] invariant: uint256 token_supply: uint256 event RampA: old_A: uint256 new_A: uint256 initial_time: uint256 future_time: uint256 event StopRampA: A: uint256 t: uint256 N_COINS: constant(int128) = 3 PRECISION: constant(int128) = 10 ** 18 FEE_DENOMINATOR: constant(uint256) = 10 ** 10 ADMIN_FEE: constant(uint256) = 5000000000 A_PRECISION: constant(uint256) = 100 MAX_A: constant(uint256) = 10 ** 6 MAX_A_CHANGE: constant(uint256) = 10 MIN_RAMP_TIME: constant(uint256) = 86400 factory: address coins: public(address[N_COINS]) balances: public(uint256[N_COINS]) fee: public(uint256) # fee * 1e10 initial_A: public(uint256) future_A: public(uint256) initial_A_time: public(uint256) future_A_time: public(uint256) name: public(String[64]) symbol: public(String[32]) balanceOf: public(HashMap[address, uint256]) allowance: public(HashMap[address, HashMap[address, uint256]]) totalSupply: public(uint256) @external def __init__(): # we do this to prevent the implementation contract from being used as a pool self.fee = 31337 @external def initialize( _name: String[32], _symbol: String[10], _coins: address[4], _rate_multipliers: uint256[4], _A: uint256, _fee: uint256, ): """ @notice Contract constructor @param _name Name of the new pool @param _symbol Token symbol @param _coins List of all ERC20 conract addresses of coins @param _rate_multipliers List of number of decimals in coins @param _A Amplification coefficient multiplied by n ** (n - 1) @param _fee Fee to charge for exchanges """ # check if fee was already set to prevent initializing contract twice assert self.fee == 0 for i in range(N_COINS): coin: address = _coins[i] if coin == ZERO_ADDRESS: break self.coins[i] = coin assert _rate_multipliers[i] == PRECISION A: uint256 = _A * A_PRECISION self.initial_A = A self.future_A = A self.fee = _fee self.factory = msg.sender self.name = concat("Curve.fi Factory Plain Pool: ", _name) self.symbol = concat(_symbol, "-f") # fire a transfer event so block explorers identify the contract as an ERC20 log Transfer(ZERO_ADDRESS, self, 0) ### ERC20 Functionality ### @view @external def decimals() -> uint256: """ @notice Get the number of decimals for this token @dev Implemented as a view method to reduce gas costs @return uint256 decimal places """ return 18 @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) @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_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 ### StableSwap Functionality ### @view @external def get_balances() -> uint256[N_COINS]: return self.balances @view @internal def _A() -> uint256: """ Handle ramping A up or down """ t1: uint256 = self.future_A_time A1: uint256 = self.future_A if block.timestamp < t1: A0: uint256 = self.initial_A t0: uint256 = self.initial_A_time # Expressions in uint256 cannot have negative numbers, thus "if" if A1 > A0: return A0 + (A1 - A0) * (block.timestamp - t0) / (t1 - t0) else: return A0 - (A0 - A1) * (block.timestamp - t0) / (t1 - t0) else: # when t1 == 0 or block.timestamp >= t1 return A1 @view @external def admin_fee() -> uint256: return ADMIN_FEE @view @external def A() -> uint256: return self._A() / A_PRECISION @view @external def A_precise() -> uint256: return self._A() @pure @internal def get_D(_xp: uint256[N_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 Dprev: uint256 = 0 for x in _xp: S += x if S == 0: return 0 D: uint256 = S Ann: uint256 = _amp * N_COINS for i in range(255): D_P: uint256 = D for x in _xp: D_P = D_P * D / (x * N_COINS) # If division by 0, this will be borked: only withdrawal will work. And that is good Dprev = D D = (Ann * S / A_PRECISION + D_P * N_COINS) * D / ((Ann - A_PRECISION) * D / A_PRECISION + (N_COINS + 1) * D_P) # Equality with the precision of 1 if D > Dprev: if D - Dprev <= 1: 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 @view @external def get_virtual_price() -> uint256: """ @notice The current virtual price of the pool LP token @dev Useful for calculating profits @return LP token virtual price normalized to 1e18 """ amp: uint256 = self._A() D: uint256 = self.get_D(self.balances, 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.totalSupply @view @external def calc_token_amount(_amounts: uint256[N_COINS], _is_deposit: bool) -> uint256: """ @notice Calculate addition or reduction in token supply from a deposit or withdrawal @dev This calculation accounts for slippage, but not fees. Needed to prevent front-running, not for precise calculations! @param _amounts Amount of each coin being deposited @param _is_deposit set True for deposits, False for withdrawals @return Expected amount of LP tokens received """ amp: uint256 = self._A() balances: uint256[N_COINS] = self.balances D0: uint256 = self.get_D(balances, amp) for i in range(N_COINS): amount: uint256 = _amounts[i] if _is_deposit: balances[i] += amount else: balances[i] -= amount D1: uint256 = self.get_D(balances, amp) diff: uint256 = 0 if _is_deposit: diff = D1 - D0 else: diff = D0 - D1 return diff * self.totalSupply / D0 @external @nonreentrant('lock') def add_liquidity( _amounts: uint256[N_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: uint256[N_COINS] = self.balances # Initial invariant D0: uint256 = self.get_D(old_balances, amp) total_supply: uint256 = self.totalSupply new_balances: uint256[N_COINS] = old_balances for i in range(N_COINS): amount: uint256 = _amounts[i] if total_supply == 0: assert amount > 0 # dev: initial deposit requires all coins new_balances[i] += amount # Invariant after change D1: uint256 = self.get_D(new_balances, amp) assert D1 > D0 # We need to recalculate the invariant accounting for fees # to calculate fair user's share fees: uint256[N_COINS] = empty(uint256[N_COINS]) mint_amount: uint256 = 0 if total_supply > 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(N_COINS): ideal_balance: uint256 = D1 * old_balances[i] / D0 difference: uint256 = 0 new_balance: uint256 = new_balances[i] if ideal_balance > new_balance: difference = ideal_balance - new_balance else: difference = new_balance - ideal_balance fees[i] = base_fee * difference / FEE_DENOMINATOR self.balances[i] = new_balance - (fees[i] * ADMIN_FEE / FEE_DENOMINATOR) new_balances[i] -= fees[i] D2: uint256 = self.get_D(new_balances, amp) mint_amount = total_supply * (D2 - D0) / D0 else: self.balances = new_balances mint_amount = D1 # Take the dust if there was any assert mint_amount >= _min_mint_amount, "Slippage screwed you" # Take coins from the sender for i in range(N_COINS): amount: uint256 = _amounts[i] if amount > 0: assert ERC20(self.coins[i]).transferFrom(msg.sender, self, amount) # Mint pool tokens total_supply += mint_amount self.balanceOf[_receiver] += mint_amount self.totalSupply = total_supply log Transfer(ZERO_ADDRESS, _receiver, mint_amount) log AddLiquidity(msg.sender, _amounts, fees, D1, total_supply) return mint_amount @view @internal def get_y(i: int128, j: int128, x: uint256, xp: uint256[N_COINS]) -> 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 # dev: j above N_COINS # should be unreachable, but good for safety assert i >= 0 assert i < N_COINS amp: uint256 = self._A() D: uint256 = self.get_D(xp, amp) S_: uint256 = 0 _x: uint256 = 0 y_prev: uint256 = 0 c: uint256 = D Ann: uint256 = amp * N_COINS for _i in range(N_COINS): if _i == i: _x = x elif _i != j: _x = xp[_i] else: continue S_ += _x c = c * D / (_x * N_COINS) c = c * D * A_PRECISION / (Ann * N_COINS) b: uint256 = S_ + D * A_PRECISION / Ann # - D y: uint256 = D for _i in range(255): y_prev = y y = (y*y + c) / (2 * y + b - D) # Equality with the precision of 1 if y > y_prev: if y - y_prev <= 1: return y else: if y_prev - y <= 1: return y raise @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 """ xp: uint256[N_COINS] = self.balances x: uint256 = xp[i] + dx y: uint256 = self.get_y(i, j, x, xp) dy: uint256 = xp[j] - y - 1 fee: uint256 = self.fee * dy / FEE_DENOMINATOR return dy - fee @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 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 """ old_balances: uint256[N_COINS] = self.balances x: uint256 = old_balances[i] + _dx y: uint256 = self.get_y(i, j, x, old_balances) dy: uint256 = old_balances[j] - y - 1 # -1 just in case there were some rounding errors dy_fee: uint256 = dy * self.fee / FEE_DENOMINATOR # Convert all to real units dy -= dy_fee assert dy >= _min_dy, "Exchange resulted in fewer coins than expected" dy_admin_fee: uint256 = dy_fee * ADMIN_FEE / FEE_DENOMINATOR # Change balances exactly in same way as we change actual ERC20 coin amounts self.balances[i] = old_balances[i] + _dx # When rounding errors happen, we undercharge admin fee in favor of LP self.balances[j] = old_balances[j] - dy - dy_admin_fee assert ERC20(self.coins[i]).transferFrom(msg.sender, self, _dx) assert ERC20(self.coins[j]).transfer(_receiver, dy) log TokenExchange(msg.sender, i, _dx, j, dy) return dy @external @nonreentrant('lock') def remove_liquidity( _burn_amount: uint256, _min_amounts: uint256[N_COINS], _receiver: address = msg.sender ) -> uint256[N_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.totalSupply amounts: uint256[N_COINS] = empty(uint256[N_COINS]) for i in range(N_COINS): old_balance: uint256 = self.balances[i] value: uint256 = old_balance * _burn_amount / total_supply assert value >= _min_amounts[i], "Withdrawal resulted in fewer coins than expected" self.balances[i] = old_balance - value amounts[i] = value assert ERC20(self.coins[i]).transfer(_receiver, value) total_supply -= _burn_amount self.balanceOf[msg.sender] -= _burn_amount self.totalSupply = total_supply log Transfer(msg.sender, ZERO_ADDRESS, _burn_amount) log RemoveLiquidity(msg.sender, amounts, empty(uint256[N_COINS]), total_supply) return amounts @external @nonreentrant('lock') def remove_liquidity_imbalance( _amounts: uint256[N_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() old_balances: uint256[N_COINS] = self.balances D0: uint256 = self.get_D(old_balances, amp) new_balances: uint256[N_COINS] = old_balances for i in range(N_COINS): new_balances[i] -= _amounts[i] D1: uint256 = self.get_D(new_balances, amp) fees: uint256[N_COINS] = empty(uint256[N_COINS]) base_fee: uint256 = self.fee * N_COINS / (4 * (N_COINS - 1)) for i in range(N_COINS): ideal_balance: uint256 = D1 * old_balances[i] / D0 difference: uint256 = 0 new_balance: uint256 = new_balances[i] if ideal_balance > new_balance: difference = ideal_balance - new_balance else: difference = new_balance - ideal_balance fees[i] = base_fee * difference / FEE_DENOMINATOR self.balances[i] = new_balance - (fees[i] * ADMIN_FEE / FEE_DENOMINATOR) new_balances[i] -= fees[i] D2: uint256 = self.get_D(new_balances, amp) total_supply: uint256 = self.totalSupply burn_amount: uint256 = ((D0 - D2) * 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.totalSupply = total_supply self.balanceOf[msg.sender] -= burn_amount log Transfer(msg.sender, ZERO_ADDRESS, burn_amount) for i in range(N_COINS): if _amounts[i] != 0: assert ERC20(self.coins[i]).transfer(_receiver, _amounts[i]) log RemoveLiquidityImbalance(msg.sender, _amounts, fees, D1, total_supply) return burn_amount @pure @internal def get_y_D(A: uint256, i: int128, xp: uint256[N_COINS], D: uint256) -> uint256: """ Calculate x[i] if one reduces D from being calculated for xp to D Done by solving quadratic equation iteratively. x_1**2 + 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 # dev: i above N_COINS S_: uint256 = 0 _x: uint256 = 0 y_prev: uint256 = 0 c: uint256 = D Ann: uint256 = A * N_COINS for _i in range(N_COINS): if _i != i: _x = xp[_i] else: continue S_ += _x c = c * D / (_x * N_COINS) c = c * D * A_PRECISION / (Ann * N_COINS) b: uint256 = S_ + D * A_PRECISION / Ann y: uint256 = D for _i in range(255): y_prev = y y = (y*y + c) / (2 * y + b - D) # Equality with the precision of 1 if y > y_prev: if y - y_prev <= 1: return y else: if y_prev - y <= 1: return y raise @view @internal def _calc_withdraw_one_coin(_burn_amount: uint256, i: int128) -> uint256[2]: # First, need to calculate # * Get current D # * Solve Eqn against y_i for D - _token_amount amp: uint256 = self._A() balances: uint256[N_COINS] = self.balances D0: uint256 = self.get_D(balances, amp) total_supply: uint256 = self.totalSupply D1: uint256 = D0 - _burn_amount * D0 / total_supply new_y: uint256 = self.get_y_D(amp, i, balances, D1) base_fee: uint256 = self.fee * N_COINS / (4 * (N_COINS - 1)) xp_reduced: uint256[N_COINS] = empty(uint256[N_COINS]) for j in range(N_COINS): dx_expected: uint256 = 0 xp_j: uint256 = balances[j] if j == i: dx_expected = xp_j * D1 / D0 - new_y else: dx_expected = xp_j - xp_j * D1 / D0 xp_reduced[j] = xp_j - base_fee * dx_expected / FEE_DENOMINATOR dy: uint256 = xp_reduced[i] - self.get_y_D(amp, i, xp_reduced, D1) dy_0: uint256 = (balances[i] - new_y) # w/o fees dy = (dy - 1) # Withdraw less to account for rounding errors return [dy, dy_0 - dy] @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] @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 """ dy: uint256[2] = self._calc_withdraw_one_coin(_burn_amount, i) assert dy[0] >= _min_received, "Not enough coins removed" self.balances[i] -= (dy[0] + dy[1] * ADMIN_FEE / FEE_DENOMINATOR) total_supply: uint256 = self.totalSupply - _burn_amount self.totalSupply = total_supply self.balanceOf[msg.sender] -= _burn_amount log Transfer(msg.sender, ZERO_ADDRESS, _burn_amount) assert ERC20(self.coins[i]).transfer(_receiver, dy[0]) log RemoveLiquidityOne(msg.sender, _burn_amount, dy[0], total_supply) return dy[0] @external def ramp_A(_future_A: uint256, _future_time: uint256): assert msg.sender == Factory(self.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(self.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) @view @external def admin_balances(i: uint256) -> uint256: return ERC20(self.coins[i]).balanceOf(self) - self.balances[i] @external def withdraw_admin_fees(): receiver: address = Factory(self.factory).get_fee_receiver(self) for i in range(N_COINS): coin: address = self.coins[i] fees: uint256 = ERC20(coin).balanceOf(self) - self.balances[i] ERC20(coin).transfer(receiver, fees)
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":"AddLiquidity","inputs":[{"name":"provider","type":"address","indexed":true},{"name":"token_amounts","type":"uint256[3]","indexed":false},{"name":"fees","type":"uint256[3]","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[3]","indexed":false},{"name":"fees","type":"uint256[3]","indexed":false},{"name":"token_supply","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"RemoveLiquidityOne","inputs":[{"name":"provider","type":"address","indexed":true},{"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[3]","indexed":false},{"name":"fees","type":"uint256[3]","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"},{"stateMutability":"nonpayable","type":"constructor","inputs":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"initialize","inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_coins","type":"address[4]"},{"name":"_rate_multipliers","type":"uint256[4]"},{"name":"_A","type":"uint256"},{"name":"_fee","type":"uint256"}],"outputs":[],"gas":436999},{"stateMutability":"view","type":"function","name":"decimals","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":318},{"stateMutability":"nonpayable","type":"function","name":"transfer","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":77977},{"stateMutability":"nonpayable","type":"function","name":"transferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":115912},{"stateMutability":"nonpayable","type":"function","name":"approve","inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":37851},{"stateMutability":"view","type":"function","name":"get_balances","inputs":[],"outputs":[{"name":"","type":"uint256[3]"}],"gas":6825},{"stateMutability":"view","type":"function","name":"admin_fee","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":468},{"stateMutability":"view","type":"function","name":"A","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":10764},{"stateMutability":"view","type":"function","name":"A_precise","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":10726},{"stateMutability":"view","type":"function","name":"get_virtual_price","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":1195679},{"stateMutability":"view","type":"function","name":"calc_token_amount","inputs":[{"name":"_amounts","type":"uint256[3]"},{"name":"_is_deposit","type":"bool"}],"outputs":[{"name":"","type":"uint256"}],"gas":2373601},{"stateMutability":"nonpayable","type":"function","name":"add_liquidity","inputs":[{"name":"_amounts","type":"uint256[3]"},{"name":"_min_mint_amount","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"add_liquidity","inputs":[{"name":"_amounts","type":"uint256[3]"},{"name":"_min_mint_amount","type":"uint256"},{"name":"_receiver","type":"address"}],"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"}],"gas":2816282},{"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":"remove_liquidity","inputs":[{"name":"_burn_amount","type":"uint256"},{"name":"_min_amounts","type":"uint256[3]"}],"outputs":[{"name":"","type":"uint256[3]"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity","inputs":[{"name":"_burn_amount","type":"uint256"},{"name":"_min_amounts","type":"uint256[3]"},{"name":"_receiver","type":"address"}],"outputs":[{"name":"","type":"uint256[3]"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity_imbalance","inputs":[{"name":"_amounts","type":"uint256[3]"},{"name":"_max_burn_amount","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity_imbalance","inputs":[{"name":"_amounts","type":"uint256[3]"},{"name":"_max_burn_amount","type":"uint256"},{"name":"_receiver","type":"address"}],"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"}],"gas":1100},{"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":"ramp_A","inputs":[{"name":"_future_A","type":"uint256"},{"name":"_future_time","type":"uint256"}],"outputs":[],"gas":162101},{"stateMutability":"nonpayable","type":"function","name":"stop_ramp_A","inputs":[],"outputs":[],"gas":157565},{"stateMutability":"view","type":"function","name":"admin_balances","inputs":[{"name":"i","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":7740},{"stateMutability":"nonpayable","type":"function","name":"withdraw_admin_fees","inputs":[],"outputs":[],"gas":33358},{"stateMutability":"view","type":"function","name":"coins","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}],"gas":3093},{"stateMutability":"view","type":"function","name":"balances","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":3123},{"stateMutability":"view","type":"function","name":"fee","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3108},{"stateMutability":"view","type":"function","name":"initial_A","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3138},{"stateMutability":"view","type":"function","name":"future_A","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3168},{"stateMutability":"view","type":"function","name":"initial_A_time","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3198},{"stateMutability":"view","type":"function","name":"future_A_time","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3228},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":13488},{"stateMutability":"view","type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":11241},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3533},{"stateMutability":"view","type":"function","name":"allowance","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3778},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3378}]
Contract Creation Code
617a69600c5561384f56600436101561000d576127d1565b600035601c52600051346138405763a461b3c8811415610309576040600435600401610140376020600435600401351161384057602a6024356004016101a037600a60243560040135116138405760443560a01c6138405760643560a01c6138405760843560a01c6138405760a43560a01c61384057600c546138405761020060006003818352015b604461020051600481101561384057602002013561022052610220516100bb57610107565b610220516001610200516003811015613840570260060155670de0b6b3a764000060c46102005160048110156138405760200201351415613840575b8151600101808352811415610096575b505061014435606480820282158284830414171561384057809050905090506102005261020051600d5561020051600e5561016435600c55336005556000601d610220527f43757276652e666920466163746f727920506c61696e20506f6f6c3a2000000061024052610220601d8060208461028001018260208501600060045af150508051820191505061014060208060208461028001018260208501600060045af150508051820191505080610280526102809050806011602082510161012060006003818352015b826101205160200211156101e557610207565b61012051602002850151610120518501555b81516001018083528114156101d2575b50505050505060006101a0600a8060208461028001018260208501600060045af15050805182019150506002610220527f2d660000000000000000000000000000000000000000000000000000000000006102405261022060028060208461028001018260208501600060045af150508051820191505080610280526102809050806015602082510161012060006002818352015b826101205160200211156102af576102d1565b61012051602002850151610120518501555b815160010180835281141561029c575b5050505050506000610220523060007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610220a3005b63313ce56781141561032057601260005260206000f35b63a9059cbb81141561036c5760043560a01c6138405733610140526004356101605260243561018052610180516101605161014051600658016127d7565b600050600160005260206000f35b6323b872dd8114156104435760043560a01c6138405760243560a01c61384057600435610140526024356101605260443561018052610180516101605161014051600658016127d7565b600050601960043560e05260c052604060c0203360e05260c052604060c02054610140527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61014051181561043857610140516044358082106138405780820390509050601960043560e05260c052604060c0203360e05260c052604060c020555b600160005260206000f35b63095ea7b38114156104b65760043560a01c6138405760243560193360e05260c052604060c02060043560e05260c052604060c0205560243561014052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610140a3600160005260206000f35b6314f059798114156104e457600980546101605260018101546101805260028101546101a052506060610160f35b63fee3f7f98114156104ff5764012a05f20060005260206000f35b63f446c1d081141561052e5760065801612876565b610140526101405160648082049050905060005260206000f35b6376a2f0f08114156105545760065801612876565b610140526101405160005260206000f35b63bb7b8b80811415610612576101405160065801612876565b610160526101405261016051610140526101405161016051600980546101805260018101546101a05260028101546101c05250610140516101e0526101e0516101c0516101a05161018051600658016129ce565b610240526101605261014052610240516101605261016051670de0b6b3a76400008082028215828483041417156138405780905090509050601a548080156138405782049050905060005260206000f35b633883e11981141561085f5760643560011c613840576101405160065801612876565b61016052610140526101605161014052600980546101605260018101546101805260028101546101a052506101405161016051610180516101a0516101c051610160516101e05261018051610200526101a0516102205261014051610240526102405161022051610200516101e051600658016129ce565b6102a0526101c0526101a0526101805261016052610140526102a0516101c0526101e060006003818352015b60046101e0516003811015613840576020020135610200526064351561072b576101606101e0516003811015613840576020020180516102005181818301106138405780820190509050815250610757565b6101606101e0516003811015613840576020020180516102005180821061384057808203905090508152505b5b81516001018083528114156106d9575b50506101405161016051610180516101a0516101c0516101e051610160516102005261018051610220526101a05161024052610140516102605261026051610240516102205161020051600658016129ce565b6102c0526101e0526101c0526101a0526101805261016052610140526102c0516101e0526000610200526064351561080c576101e0516101c051808210613840578082039050905061020052610827565b6101c0516101e0518082106138405780820390509050610200525b61020051601a5480820282158284830414171561384057809050905090506101c0518080156138405782049050905060005260206000f35b634515cef38114156108755733610140526108a0565b6375b96abc81141561089b5760843560a01c6138405760206084610140376000506108a0565b610f6e565b600054613840576001600055610140516101605160065801612876565b6101805261016052610140526101805161016052600980546101805260018101546101a05260028101546101c052506101405161016051610180516101a0516101c0516101e05161018051610200526101a051610220526101c05161024052610160516102605261026051610240516102205161020051600658016129ce565b6102c0526101e0526101c0526101a0526101805261016052610140526102c0516101e052601a546102005261018051610220526101a051610240526101c0516102605261028060006003818352015b60046102805160038110156138405760200201356102a052610200516109b95760006102a0511115613840575b610220610280516003811015613840576020020180516102a051818183011061384057808201905090508152505b815160010180835281141561098c575b50506101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161028051610220516102a052610240516102c052610260516102e0526101605161030052610300516102e0516102c0516102a051600658016129ce565b6103605261028052610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405261036051610280526101e051610280511115613840576080366102a0376000610200511115610d7057600c54600380820282158284830414171561384057809050905090506008808204905090506103205261034060006003818352015b6102805161018061034051600381101561384057602002015180820282158284830414171561384057809050905090506101e05180801561384057820490509050610360526000610380526102206103405160038110156138405760200201516103a0526103a051610360511115610b7d57610360516103a051808210613840578082039050905061038052610b98565b6103a051610360518082106138405780820390509050610380525b610320516103805180820282158284830414171561384057809050905090506402540be400808204905090506102a06103405160038110156138405760200201526103a0516102a061034051600381101561384057602002015164012a05f20080820282158284830414171561384057809050905090506402540be4008082049050905080821061384057808203905090506001610340516003811015613840570260090155610220610340516003811015613840576020020180516102a061034051600381101561384057602002015180821061384057808203905090508152505b8151600101808352811415610aec575b5050610140610360525b61036051516020610360510161036052610360610360511015610cb757610c95565b6102205161038052610240516103a052610260516103c052610160516103e0526103e0516103c0516103a05161038051600658016129ce565b61044052610340610360525b610360515260206103605103610360526101406103605110610d1d57610cfc565b610440516103405261020051610340516101e051808210613840578082039050905080820282158284830414171561384057809050905090506101e0518080156138405782049050905061030052610d94565b60096102205181556102405160018201556102605160028201555061028051610300525b606435610300511015610de6576308c379a0610320526020610340526014610360527f536c697070616765207363726577656420796f750000000000000000000000006103805261036050606461033cfd5b61032060006003818352015b6004610320516003811015613840576020020135610340526000610340511115610e6e57602061042060646323b872dd610360523361038052306103a052610340516103c05261037c600060016103205160038110156138405702600601545af11561384057601f3d1115613840576000506104205115613840575b5b8151600101808352811415610df2575b50506102008051610300518181830110613840578082019050905081525060186101405160e05260c052604060c0208054610300518181830110613840578082019050905081555061020051601a5561030051610320526101405160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610320a360606004610320376102a051610380526102c0516103a0526102e0516103c052610280516103e0526102005161040052337f423f6495a08fc652425cf4ed0d1f9e37e571d9b9529b1c1c23cce780b2e7df0d610100610320a261030051600052600060005560206000f35b635e0d443f8114156110f95760043580806000811215610f8a57195b607f1c6138405790505060243580806000811215610fa457195b607f1c613840579050506009805461014052600181015461016052600281015461018052506101406004356003811015613840576020020151604435818183011061384057808201905090506101a0526101405161016051610180516101a0516101c051604060046101e0376101a0516102205261014051610240526101605161026052610180516102805261028051610260516102405161022051610200516101e05160065801612c7c565b6102e0526101c0526101a0526101805261016052610140526102e0516101c05261014060243560038110156138405760200201516101c0518082106138405780820390509050600180821061384057808203905090506101e052600c546101e05180820282158284830414171561384057809050905090506402540be40080820490509050610200526101e05161020051808210613840578082039050905060005260206000f35b633df0212481141561110f57336101405261113a565b63ddc1f59d8114156111355760843560a01c61384057602060846101403760005061113a565b6114f6565b6001546138405760016001556004358080600081121561115657195b607f1c613840579050506024358080600081121561117057195b607f1c61384057905050600980546101605260018101546101805260028101546101a052506101606004356003811015613840576020020151604435818183011061384057808201905090506101c0526101405161016051610180516101a0516101c0516101e05160406004610200376101c05161024052610160516102605261018051610280526101a0516102a0526102a051610280516102605161024051610220516102005160065801612c7c565b610300526101e0526101c0526101a052610180526101605261014052610300516101e05261016060243560038110156138405760200201516101e0518082106138405780820390509050600180821061384057808203905090506102005261020051600c5480820282158284830414171561384057809050905090506402540be4008082049050905061022052610200805161022051808210613840578082039050905081525060643561020051101561133f576308c379a061024052602061026052602e610280527f45786368616e676520726573756c74656420696e20666577657220636f696e736102a0527f207468616e2065787065637465640000000000000000000000000000000000006102c05261028050608461025cfd5b6102205164012a05f20080820282158284830414171561384057809050905090506402540be400808204905090506102405261016060043560038110156138405760200201516044358181830110613840578082019050905060016004356003811015613840570260090155610160602435600381101561384057602002015161020051808210613840578082039050905061024051808210613840578082039050905060016024356003811015613840570260090155602061032060646323b872dd610260523361028052306102a0526044356102c05261027c6000600160043560038110156138405702600601545af11561384057601f3d1115613840576000506103205115613840576020610300604463a9059cbb610260526101405161028052610200516102a05261027c6000600160243560038110156138405702600601545af11561384057601f3d11156138405760005061030051156138405760043561026052604435610280526024356102a052610200516102c052337f8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd971406080610260a261020051600052600060015560206000f35b63ecb586a581141561150c573361014052611537565b632da5dc218114156115325760843560a01c613840576020608461014037600050611537565b6117ab565b600254613840576001600255601a5461016052606036610180376101e060006003818352015b60016101e05160038110156138405702600901546102005261020051600435808202821582848304141715613840578090509050905061016051808015613840578204905090506102205260246101e0516003811015613840576020020135610220511015611630576308c379a0610240526020610260526030610280527f5769746864726177616c20726573756c74656420696e20666577657220636f696102a0527f6e73207468616e206578706563746564000000000000000000000000000000006102c05261028050608461025cfd5b6102005161022051808210613840578082039050905060016101e0516003811015613840570260090155610220516101806101e051600381101561384057602002015260206102e0604463a9059cbb610240526101405161026052610220516102805261025c600060016101e05160038110156138405702600601545af11561384057601f3d1115613840576000506102e05115613840575b815160010180835281141561155d575b50506101608051600435808210613840578082039050905081525060183360e05260c052604060c0208054600435808210613840578082039050905081555061016051601a556004356101e0526000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101e0a3610180516101e0526101a051610200526101c0516102205260603661024037610160516102a052337fa49d4cf02656aebf8c771f5a8585638a2a15ee6c97cf7205d4208ed7c1df252d60e06101e0a260006002556060610180f35b639fdaea0c8114156117c15733610140526117ec565b639504fae88114156117e75760843560a01c6138405760206084610140376000506117ec565b611e8f565b600354613840576001600355610140516101605160065801612876565b6101805261016052610140526101805161016052600980546101805260018101546101a05260028101546101c052506101405161016051610180516101a0516101c0516101e05161018051610200526101a051610220526101c05161024052610160516102605261026051610240516102205161020051600658016129ce565b6102c0526101e0526101c0526101a0526101805261016052610140526102c0516101e05261018051610200526101a051610220526101c0516102405261026060006003818352015b61020061026051600381101561384057602002018051600461026051600381101561384057602002013580821061384057808203905090508152505b81516001018083528114156118d1575b50506101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516102005161028052610220516102a052610240516102c052610160516102e0526102e0516102c0516102a05161028051600658016129ce565b61034052610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052610340516102605260603661028037600c54600380820282158284830414171561384057809050905090506008808204905090506102e05261030060006003818352015b6102605161018061030051600381101561384057602002015180820282158284830414171561384057809050905090506101e05180801561384057820490509050610320526000610340526102006103005160038110156138405760200201516103605261036051610320511115611a81576103205161036051808210613840578082039050905061034052611a9c565b61036051610320518082106138405780820390509050610340525b6102e0516103405180820282158284830414171561384057809050905090506402540be400808204905090506102806103005160038110156138405760200201526103605161028061030051600381101561384057602002015164012a05f20080820282158284830414171561384057809050905090506402540be40080820490509050808210613840578082039050905060016103005160038110156138405702600901556102006103005160038110156138405760200201805161028061030051600381101561384057602002015180821061384057808203905090508152505b81516001018083528114156119f0575b50506101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c0516102e05161030051610200516103205261022051610340526102405161036052610160516103805261038051610360516103405161032051600658016129ce565b6103e052610300526102e0526102c0526102a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103e05161030052601a54610320526101e0516103005180821061384057808203905090506103205180820282158284830414171561384057809050905090506101e0518080156138405782049050905060018181830110613840578082019050905061034052600161034051111561384057606435610340511115611d0b576308c379a06103605260206103805260146103a0527f536c697070616765207363726577656420796f750000000000000000000000006103c0526103a050606461037cfd5b610320805161034051808210613840578082039050905081525061032051601a5560183360e05260c052604060c020805461034051808210613840578082039050905081555061034051610360526000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610360a361036060006003818352015b600060046103605160038110156138405760200201351815611e11576020610420604463a9059cbb61038052610140516103a05260046103605160038110156138405760200201356103c05261039c600060016103605160038110156138405702600601545af11561384057601f3d1115613840576000506104205115613840575b5b8151600101808352811415611d8f575b50506060600461036037610280516103c0526102a0516103e0526102c0516104005261026051610420526103205161044052337f173599dbf9c6ca6f7c3b590df07ae98a45d74ff54065505141e7de6c46a624c2610100610360a261034051600052600060035560206000f35b63cc2b27d7811415611ee95760243580806000811215611eab57195b607f1c61384057905050600435610140526024356101605261016051610140516006580161338b565b6101c0526101e0526101c05160005260206000f35b631a4d01d2811415611eff573361014052611f2a565b63081579a5811415611f255760643560a01c613840576020606461014037600050611f2a565b612174565b60045461384057600160045560243580806000811215611f4657195b607f1c613840579050506101405161016051610180516004356101a0526024356101c0526101c0516101a0516006580161338b565b610220526102405261018052610160526101405261022080516101605280602001516101805250604435610160511015611ff4576308c379a06101a05260206101c05260186101e0527f4e6f7420656e6f75676820636f696e732072656d6f7665640000000000000000610200526101e05060646101bcfd5b6001602435600381101561384057026009018054610160516101805164012a05f20080820282158284830414171561384057809050905090506402540be40080820490509050818183011061384057808201905090508082106138405780820390509050815550601a5460043580821061384057808203905090506101a0526101a051601a5560183360e05260c052604060c020805460043580821061384057808203905090508155506004356101c0526000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101c0a36020610260604463a9059cbb6101c052610140516101e05261016051610200526101dc6000600160243560038110156138405702600601545af11561384057601f3d1115613840576000506102605115613840576004356101c052610160516101e0526101a05161020052337f5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a060606101c0a261016051600052600060045560206000f35b633c157e648114156123085760206101a0600463f851a4406101405261015c6005545afa1561384057601f3d1115613840576000506101a05133141561384057600f54620151808181830110613840578082019050905042106138405742620151808181830110613840578082019050905060243510613840576101405160065801612876565b6101605261014052610160516101405260043560648082028215828483041417156138405780905090509050610160526000600435111561224357620f424060043510612246565b60005b156138405761014051610160511015612284576101405161016051600a808202821582848304141715613840578090509050905010613840576122ab565b61014051600a80820282158284830414171561384057809050905090506101605111613840575b61014051600d5561016051600e5542600f556024356010556101405161018052610160516101a052426101c0526024356101e0527fa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c2546080610180a1005b63551a65888114156123b15760206101a0600463f851a4406101405261015c6005545afa1561384057601f3d1115613840576000506101a051331415613840576101405160065801612876565b6101605261014052610160516101405261014051600d5561014051600e5542600f5542601055610140516101605242610180527f46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc2019386040610160a1005b63e2e7d2648114156124295760206101c060246370a0823161014052306101605261015c600160043560038110156138405702600601545afa1561384057601f3d1115613840576000506101c05160016004356003811015613840570260090154808210613840578082039050905060005260206000f35b6330c5408581141561253d5760206101e0602463154aa8f561016052306101805261017c6005545afa1561384057601f3d1115613840576000506101e0516101405261016060006003818352015b600161016051600381101561384057026006015461018052602061024060246370a082316101c052306101e0526101dc610180515afa1561384057601f3d11156138405760005061024051600161016051600381101561384057026009015480821061384057808203905090506101a0526020610260604463a9059cbb6101c052610140516101e0526101a051610200526101dc6000610180515af11561384057601f3d111561384057600050610260505b8151600101808352811415612477575b5050005b63c6610657811415612565576001600435600381101561384057026006015460005260206000f35b634903b0d181141561258d576001600435600381101561384057026009015460005260206000f35b63ddca3f438114156125a557600c5460005260206000f35b635409491a8114156125bd57600d5460005260206000f35b63b4b577ad8114156125d557600e5460005260206000f35b632081066c8114156125ed57600f5460005260206000f35b63140522888114156126055760105460005260206000f35b6306fdde038114156126a257601180610180602082540161012060006003818352015b8261012051602002111561263b5761265d565b61012051850154610120516020028501525b8151600101808352811415612628575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6395d89b4181141561273f57601580610180602082540161012060006002818352015b826101205160200211156126d8576126fa565b61012051850154610120516020028501525b81516001018083528114156126c5575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6370a0823181141561276f5760043560a01c61384057601860043560e05260c052604060c0205460005260206000f35b63dd62ed3e8114156127b75760043560a01c6138405760243560a01c61384057601960043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b6318160ddd8114156127cf57601a5460005260206000f35b505b60006000fd5b6101a05261014052610160526101805260186101405160e05260c052604060c020805461018051808210613840578082039050905081555060186101605160e05260c052604060c02080546101805181818301106138405780820190509050815550610180516101c05261016051610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101c0a36101a051565b6101405260105461016052600e5461018052610160514210156129bc57600d546101a052600f546101c0526101a051610180511115612936576101a051610180516101a0518082106138405780820390509050426101c05180821061384057808203905090508082028215828483041417156138405780905090509050610160516101c0518082106138405780820390509050808015613840578204905090508181830110613840578082019050905060005260005161014051566129b7565b6101a0516101a051610180518082106138405780820390509050426101c05180821061384057808203905090508082028215828483041417156138405780905090509050610160516101c051808210613840578082039050905080801561384057820490509050808210613840578082039050905060005260005161014051565b6129cc565b6101805160005260005161014051565b005b6101c0526101405261016052610180526101a0526040366101e03761024060006003818352015b602061024051026101400151610220526101e0805161022051818183011061384057808201905090508152505b81516001018083528114156129f5575b50506101e051612a4a5760006000526000516101c051565b6101e051610220526101a0516003808202821582848304141715613840578090509050905061024052610260600060ff818352015b61022051610280526102c060006003818352015b60206102c0510261014001516102a052610280516102205180820282158284830414171561384057809050905090506102a0516003808202821582848304141715613840578090509050905080801561384057820490509050610280525b8151600101808352811415612a93575b50506102205161020052610240516101e05180820282158284830414171561384057809050905090506064808204905090506102805160038082028215828483041417156138405780905090509050818183011061384057808201905090506102205180820282158284830414171561384057809050905090506102405160648082106138405780820390509050610220518082028215828483041417156138405780905090509050606480820490509050600461028051808202821582848304141715613840578090509050905081818301106138405780820190509050808015613840578204905090506102205261020051610220511115612c335760016102205161020051808210613840578082039050905011612c2e576102205160005250506000516101c051565b612c63565b60016102005161022051808210613840578082039050905011612c62576102205160005250506000516101c051565b5b5b8151600101808352811415612a7f575b505060006000fd5b610200526101405261016052610180526101a0526101c0526101e0526101605161014051181561384057600061016051126138405760036101605112156138405760006101405112613840576003610140511215613840576101405161016051610180516101a0516101c0516101e051610200516102205160065801612876565b6102405261022052610200526101e0526101c0526101a05261018052610160526101405261024051610220526101405161016051610180516101a0516101c0516101e0516102005161022051610240516101a051610260526101c051610280526101e0516102a052610220516102c0526102c0516102a0516102805161026051600658016129ce565b610320526102405261022052610200526101e0526101c0526101a052610180526101605261014052610320516102405260603661026037610240516102c05261022051600380820282158284830414171561384057809050905090506102e05261030060006003818352015b61014051610300511415612e0d576101805161028052612e3f565b61016051610300511815612e39576101a061030051600381101561384057602002015161028052612e3e565b612ea9565b5b610260805161028051818183011061384057808201905090508152506102c0516102405180820282158284830414171561384057809050905090506102805160038082028215828483041417156138405780905090509050808015613840578204905090506102c0525b8151600101808352811415612df2575b50506102c051610240518082028215828483041417156138405780905090509050606480820282158284830414171561384057809050905090506102e05160038082028215828483041417156138405780905090509050808015613840578204905090506102c0526102605161024051606480820282158284830414171561384057809050905090506102e0518080156138405782049050905081818301106138405780820190509050610300526102405161032052610340600060ff818352015b610320516102a052610320516103205180820282158284830414171561384057809050905090506102c051818183011061384057808201905090506002610320518082028215828483041417156138405780905090509050610300518181830110613840578082019050905061024051808210613840578082039050905080801561384057820490509050610320526102a05161032051111561304c576001610320516102a0518082106138405780820390509050116130475761032051600052505060005161020051565b61307c565b60016102a0516103205180821061384057808203905090501161307b5761032051600052505060005161020051565b5b5b8151600101808352811415612f7b575b505060006000fd5b610200526101405261016052610180526101a0526101c0526101e0526000610160511261384057600361016051121561384057606036610220376101e0516102805261014051600380820282158284830414171561384057809050905090506102a0526102c060006003818352015b610160516102c0511815613130576101806102c051600381101561384057602002015161024052613135565b61319f565b61022080516102405181818301106138405780820190509050815250610280516101e0518082028215828483041417156138405780905090509050610240516003808202821582848304141715613840578090509050905080801561384057820490509050610280525b8151600101808352811415613104575b5050610280516101e0518082028215828483041417156138405780905090509050606480820282158284830414171561384057809050905090506102a051600380820282158284830414171561384057809050905090508080156138405782049050905061028052610220516101e051606480820282158284830414171561384057809050905090506102a05180801561384057820490509050818183011061384057808201905090506102c0526101e0516102e052610300600060ff818352015b6102e051610260526102e0516102e0518082028215828483041417156138405780905090509050610280518181830110613840578082019050905060026102e05180820282158284830414171561384057809050905090506102c051818183011061384057808201905090506101e0518082106138405780820390509050808015613840578204905090506102e052610260516102e05111156133425760016102e0516102605180821061384057808203905090501161333d576102e051600052505060005161020051565b613372565b6001610260516102e051808210613840578082039050905011613371576102e051600052505060005161020051565b5b5b8151600101808352811415613271575b505060006000fd5b6101805261014052610160526101405161016051610180516101a05160065801612876565b6101c0526101a0526101805261016052610140526101c0516101a052600980546101c05260018101546101e052600281015461020052506101405161016051610180516101a0516101c0516101e05161020051610220516101c051610240526101e0516102605261020051610280526101a0516102a0526102a051610280516102605161024051600658016129ce565b6103005261022052610200526101e0526101c0526101a0526101805261016052610140526103005161022052601a5461024052610220516101405161022051808202821582848304141715613840578090509050905061024051808015613840578204905090508082106138405780820390509050610260526101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516101a0516102a052610160516102c0526101c0516102e0526101e05161030052610200516103205261026051610340526103405161032051610300516102e0516102c0516102a05160065801613095565b6103a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103a05161028052600c54600380820282158284830414171561384057809050905090506008808204905090506102a0526060366102c03761032060006003818352015b6000610340526101c061032051600381101561384057602002015161036052610160516103205114156136225761036051610260518082028215828483041417156138405780905090509050610220518080156138405782049050905061028051808210613840578082039050905061034052613669565b610360516103605161026051808202821582848304141715613840578090509050905061022051808015613840578204905090508082106138405780820390509050610340525b610360516102a0516103405180820282158284830414171561384057809050905090506402540be4008082049050905080821061384057808203905090506102c06103205160038110156138405760200201525b81516001018083528114156135aa575b50506102c0610160516003811015613840576020020151610140610340525b6103405151602061034051016103405261034061034051101561370e576136ec565b6101a0516103605261016051610380526102c0516103a0526102e0516103c052610300516103e0526102605161040052610400516103e0516103c0516103a051610380516103605160065801613095565b61046052610320610340525b61034051526020610340510361034052610140610340511061378c5761376b565b610460518082106138405780820390509050610320526101c0610160516003811015613840576020020151610280518082106138405780820390509050610340526103205160018082106138405780820390509050610320526103205161038052610340516103205180821061384057808203905090506103a0526040610360525b6000610360511161381e5761383a565b602061036051036103800151602061036051036103605261380e565b61018051565b600080fd5b61000a61384f0361000a60003961000a61384f036000f3
Deployed Bytecode
0x600436101561000d576127d1565b600035601c52600051346138405763a461b3c8811415610309576040600435600401610140376020600435600401351161384057602a6024356004016101a037600a60243560040135116138405760443560a01c6138405760643560a01c6138405760843560a01c6138405760a43560a01c61384057600c546138405761020060006003818352015b604461020051600481101561384057602002013561022052610220516100bb57610107565b610220516001610200516003811015613840570260060155670de0b6b3a764000060c46102005160048110156138405760200201351415613840575b8151600101808352811415610096575b505061014435606480820282158284830414171561384057809050905090506102005261020051600d5561020051600e5561016435600c55336005556000601d610220527f43757276652e666920466163746f727920506c61696e20506f6f6c3a2000000061024052610220601d8060208461028001018260208501600060045af150508051820191505061014060208060208461028001018260208501600060045af150508051820191505080610280526102809050806011602082510161012060006003818352015b826101205160200211156101e557610207565b61012051602002850151610120518501555b81516001018083528114156101d2575b50505050505060006101a0600a8060208461028001018260208501600060045af15050805182019150506002610220527f2d660000000000000000000000000000000000000000000000000000000000006102405261022060028060208461028001018260208501600060045af150508051820191505080610280526102809050806015602082510161012060006002818352015b826101205160200211156102af576102d1565b61012051602002850151610120518501555b815160010180835281141561029c575b5050505050506000610220523060007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610220a3005b63313ce56781141561032057601260005260206000f35b63a9059cbb81141561036c5760043560a01c6138405733610140526004356101605260243561018052610180516101605161014051600658016127d7565b600050600160005260206000f35b6323b872dd8114156104435760043560a01c6138405760243560a01c61384057600435610140526024356101605260443561018052610180516101605161014051600658016127d7565b600050601960043560e05260c052604060c0203360e05260c052604060c02054610140527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61014051181561043857610140516044358082106138405780820390509050601960043560e05260c052604060c0203360e05260c052604060c020555b600160005260206000f35b63095ea7b38114156104b65760043560a01c6138405760243560193360e05260c052604060c02060043560e05260c052604060c0205560243561014052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610140a3600160005260206000f35b6314f059798114156104e457600980546101605260018101546101805260028101546101a052506060610160f35b63fee3f7f98114156104ff5764012a05f20060005260206000f35b63f446c1d081141561052e5760065801612876565b610140526101405160648082049050905060005260206000f35b6376a2f0f08114156105545760065801612876565b610140526101405160005260206000f35b63bb7b8b80811415610612576101405160065801612876565b610160526101405261016051610140526101405161016051600980546101805260018101546101a05260028101546101c05250610140516101e0526101e0516101c0516101a05161018051600658016129ce565b610240526101605261014052610240516101605261016051670de0b6b3a76400008082028215828483041417156138405780905090509050601a548080156138405782049050905060005260206000f35b633883e11981141561085f5760643560011c613840576101405160065801612876565b61016052610140526101605161014052600980546101605260018101546101805260028101546101a052506101405161016051610180516101a0516101c051610160516101e05261018051610200526101a0516102205261014051610240526102405161022051610200516101e051600658016129ce565b6102a0526101c0526101a0526101805261016052610140526102a0516101c0526101e060006003818352015b60046101e0516003811015613840576020020135610200526064351561072b576101606101e0516003811015613840576020020180516102005181818301106138405780820190509050815250610757565b6101606101e0516003811015613840576020020180516102005180821061384057808203905090508152505b5b81516001018083528114156106d9575b50506101405161016051610180516101a0516101c0516101e051610160516102005261018051610220526101a05161024052610140516102605261026051610240516102205161020051600658016129ce565b6102c0526101e0526101c0526101a0526101805261016052610140526102c0516101e0526000610200526064351561080c576101e0516101c051808210613840578082039050905061020052610827565b6101c0516101e0518082106138405780820390509050610200525b61020051601a5480820282158284830414171561384057809050905090506101c0518080156138405782049050905060005260206000f35b634515cef38114156108755733610140526108a0565b6375b96abc81141561089b5760843560a01c6138405760206084610140376000506108a0565b610f6e565b600054613840576001600055610140516101605160065801612876565b6101805261016052610140526101805161016052600980546101805260018101546101a05260028101546101c052506101405161016051610180516101a0516101c0516101e05161018051610200526101a051610220526101c05161024052610160516102605261026051610240516102205161020051600658016129ce565b6102c0526101e0526101c0526101a0526101805261016052610140526102c0516101e052601a546102005261018051610220526101a051610240526101c0516102605261028060006003818352015b60046102805160038110156138405760200201356102a052610200516109b95760006102a0511115613840575b610220610280516003811015613840576020020180516102a051818183011061384057808201905090508152505b815160010180835281141561098c575b50506101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161028051610220516102a052610240516102c052610260516102e0526101605161030052610300516102e0516102c0516102a051600658016129ce565b6103605261028052610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405261036051610280526101e051610280511115613840576080366102a0376000610200511115610d7057600c54600380820282158284830414171561384057809050905090506008808204905090506103205261034060006003818352015b6102805161018061034051600381101561384057602002015180820282158284830414171561384057809050905090506101e05180801561384057820490509050610360526000610380526102206103405160038110156138405760200201516103a0526103a051610360511115610b7d57610360516103a051808210613840578082039050905061038052610b98565b6103a051610360518082106138405780820390509050610380525b610320516103805180820282158284830414171561384057809050905090506402540be400808204905090506102a06103405160038110156138405760200201526103a0516102a061034051600381101561384057602002015164012a05f20080820282158284830414171561384057809050905090506402540be4008082049050905080821061384057808203905090506001610340516003811015613840570260090155610220610340516003811015613840576020020180516102a061034051600381101561384057602002015180821061384057808203905090508152505b8151600101808352811415610aec575b5050610140610360525b61036051516020610360510161036052610360610360511015610cb757610c95565b6102205161038052610240516103a052610260516103c052610160516103e0526103e0516103c0516103a05161038051600658016129ce565b61044052610340610360525b610360515260206103605103610360526101406103605110610d1d57610cfc565b610440516103405261020051610340516101e051808210613840578082039050905080820282158284830414171561384057809050905090506101e0518080156138405782049050905061030052610d94565b60096102205181556102405160018201556102605160028201555061028051610300525b606435610300511015610de6576308c379a0610320526020610340526014610360527f536c697070616765207363726577656420796f750000000000000000000000006103805261036050606461033cfd5b61032060006003818352015b6004610320516003811015613840576020020135610340526000610340511115610e6e57602061042060646323b872dd610360523361038052306103a052610340516103c05261037c600060016103205160038110156138405702600601545af11561384057601f3d1115613840576000506104205115613840575b5b8151600101808352811415610df2575b50506102008051610300518181830110613840578082019050905081525060186101405160e05260c052604060c0208054610300518181830110613840578082019050905081555061020051601a5561030051610320526101405160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610320a360606004610320376102a051610380526102c0516103a0526102e0516103c052610280516103e0526102005161040052337f423f6495a08fc652425cf4ed0d1f9e37e571d9b9529b1c1c23cce780b2e7df0d610100610320a261030051600052600060005560206000f35b635e0d443f8114156110f95760043580806000811215610f8a57195b607f1c6138405790505060243580806000811215610fa457195b607f1c613840579050506009805461014052600181015461016052600281015461018052506101406004356003811015613840576020020151604435818183011061384057808201905090506101a0526101405161016051610180516101a0516101c051604060046101e0376101a0516102205261014051610240526101605161026052610180516102805261028051610260516102405161022051610200516101e05160065801612c7c565b6102e0526101c0526101a0526101805261016052610140526102e0516101c05261014060243560038110156138405760200201516101c0518082106138405780820390509050600180821061384057808203905090506101e052600c546101e05180820282158284830414171561384057809050905090506402540be40080820490509050610200526101e05161020051808210613840578082039050905060005260206000f35b633df0212481141561110f57336101405261113a565b63ddc1f59d8114156111355760843560a01c61384057602060846101403760005061113a565b6114f6565b6001546138405760016001556004358080600081121561115657195b607f1c613840579050506024358080600081121561117057195b607f1c61384057905050600980546101605260018101546101805260028101546101a052506101606004356003811015613840576020020151604435818183011061384057808201905090506101c0526101405161016051610180516101a0516101c0516101e05160406004610200376101c05161024052610160516102605261018051610280526101a0516102a0526102a051610280516102605161024051610220516102005160065801612c7c565b610300526101e0526101c0526101a052610180526101605261014052610300516101e05261016060243560038110156138405760200201516101e0518082106138405780820390509050600180821061384057808203905090506102005261020051600c5480820282158284830414171561384057809050905090506402540be4008082049050905061022052610200805161022051808210613840578082039050905081525060643561020051101561133f576308c379a061024052602061026052602e610280527f45786368616e676520726573756c74656420696e20666577657220636f696e736102a0527f207468616e2065787065637465640000000000000000000000000000000000006102c05261028050608461025cfd5b6102205164012a05f20080820282158284830414171561384057809050905090506402540be400808204905090506102405261016060043560038110156138405760200201516044358181830110613840578082019050905060016004356003811015613840570260090155610160602435600381101561384057602002015161020051808210613840578082039050905061024051808210613840578082039050905060016024356003811015613840570260090155602061032060646323b872dd610260523361028052306102a0526044356102c05261027c6000600160043560038110156138405702600601545af11561384057601f3d1115613840576000506103205115613840576020610300604463a9059cbb610260526101405161028052610200516102a05261027c6000600160243560038110156138405702600601545af11561384057601f3d11156138405760005061030051156138405760043561026052604435610280526024356102a052610200516102c052337f8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd971406080610260a261020051600052600060015560206000f35b63ecb586a581141561150c573361014052611537565b632da5dc218114156115325760843560a01c613840576020608461014037600050611537565b6117ab565b600254613840576001600255601a5461016052606036610180376101e060006003818352015b60016101e05160038110156138405702600901546102005261020051600435808202821582848304141715613840578090509050905061016051808015613840578204905090506102205260246101e0516003811015613840576020020135610220511015611630576308c379a0610240526020610260526030610280527f5769746864726177616c20726573756c74656420696e20666577657220636f696102a0527f6e73207468616e206578706563746564000000000000000000000000000000006102c05261028050608461025cfd5b6102005161022051808210613840578082039050905060016101e0516003811015613840570260090155610220516101806101e051600381101561384057602002015260206102e0604463a9059cbb610240526101405161026052610220516102805261025c600060016101e05160038110156138405702600601545af11561384057601f3d1115613840576000506102e05115613840575b815160010180835281141561155d575b50506101608051600435808210613840578082039050905081525060183360e05260c052604060c0208054600435808210613840578082039050905081555061016051601a556004356101e0526000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101e0a3610180516101e0526101a051610200526101c0516102205260603661024037610160516102a052337fa49d4cf02656aebf8c771f5a8585638a2a15ee6c97cf7205d4208ed7c1df252d60e06101e0a260006002556060610180f35b639fdaea0c8114156117c15733610140526117ec565b639504fae88114156117e75760843560a01c6138405760206084610140376000506117ec565b611e8f565b600354613840576001600355610140516101605160065801612876565b6101805261016052610140526101805161016052600980546101805260018101546101a05260028101546101c052506101405161016051610180516101a0516101c0516101e05161018051610200526101a051610220526101c05161024052610160516102605261026051610240516102205161020051600658016129ce565b6102c0526101e0526101c0526101a0526101805261016052610140526102c0516101e05261018051610200526101a051610220526101c0516102405261026060006003818352015b61020061026051600381101561384057602002018051600461026051600381101561384057602002013580821061384057808203905090508152505b81516001018083528114156118d1575b50506101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516102005161028052610220516102a052610240516102c052610160516102e0526102e0516102c0516102a05161028051600658016129ce565b61034052610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052610340516102605260603661028037600c54600380820282158284830414171561384057809050905090506008808204905090506102e05261030060006003818352015b6102605161018061030051600381101561384057602002015180820282158284830414171561384057809050905090506101e05180801561384057820490509050610320526000610340526102006103005160038110156138405760200201516103605261036051610320511115611a81576103205161036051808210613840578082039050905061034052611a9c565b61036051610320518082106138405780820390509050610340525b6102e0516103405180820282158284830414171561384057809050905090506402540be400808204905090506102806103005160038110156138405760200201526103605161028061030051600381101561384057602002015164012a05f20080820282158284830414171561384057809050905090506402540be40080820490509050808210613840578082039050905060016103005160038110156138405702600901556102006103005160038110156138405760200201805161028061030051600381101561384057602002015180821061384057808203905090508152505b81516001018083528114156119f0575b50506101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c0516102e05161030051610200516103205261022051610340526102405161036052610160516103805261038051610360516103405161032051600658016129ce565b6103e052610300526102e0526102c0526102a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103e05161030052601a54610320526101e0516103005180821061384057808203905090506103205180820282158284830414171561384057809050905090506101e0518080156138405782049050905060018181830110613840578082019050905061034052600161034051111561384057606435610340511115611d0b576308c379a06103605260206103805260146103a0527f536c697070616765207363726577656420796f750000000000000000000000006103c0526103a050606461037cfd5b610320805161034051808210613840578082039050905081525061032051601a5560183360e05260c052604060c020805461034051808210613840578082039050905081555061034051610360526000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610360a361036060006003818352015b600060046103605160038110156138405760200201351815611e11576020610420604463a9059cbb61038052610140516103a05260046103605160038110156138405760200201356103c05261039c600060016103605160038110156138405702600601545af11561384057601f3d1115613840576000506104205115613840575b5b8151600101808352811415611d8f575b50506060600461036037610280516103c0526102a0516103e0526102c0516104005261026051610420526103205161044052337f173599dbf9c6ca6f7c3b590df07ae98a45d74ff54065505141e7de6c46a624c2610100610360a261034051600052600060035560206000f35b63cc2b27d7811415611ee95760243580806000811215611eab57195b607f1c61384057905050600435610140526024356101605261016051610140516006580161338b565b6101c0526101e0526101c05160005260206000f35b631a4d01d2811415611eff573361014052611f2a565b63081579a5811415611f255760643560a01c613840576020606461014037600050611f2a565b612174565b60045461384057600160045560243580806000811215611f4657195b607f1c613840579050506101405161016051610180516004356101a0526024356101c0526101c0516101a0516006580161338b565b610220526102405261018052610160526101405261022080516101605280602001516101805250604435610160511015611ff4576308c379a06101a05260206101c05260186101e0527f4e6f7420656e6f75676820636f696e732072656d6f7665640000000000000000610200526101e05060646101bcfd5b6001602435600381101561384057026009018054610160516101805164012a05f20080820282158284830414171561384057809050905090506402540be40080820490509050818183011061384057808201905090508082106138405780820390509050815550601a5460043580821061384057808203905090506101a0526101a051601a5560183360e05260c052604060c020805460043580821061384057808203905090508155506004356101c0526000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101c0a36020610260604463a9059cbb6101c052610140516101e05261016051610200526101dc6000600160243560038110156138405702600601545af11561384057601f3d1115613840576000506102605115613840576004356101c052610160516101e0526101a05161020052337f5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a060606101c0a261016051600052600060045560206000f35b633c157e648114156123085760206101a0600463f851a4406101405261015c6005545afa1561384057601f3d1115613840576000506101a05133141561384057600f54620151808181830110613840578082019050905042106138405742620151808181830110613840578082019050905060243510613840576101405160065801612876565b6101605261014052610160516101405260043560648082028215828483041417156138405780905090509050610160526000600435111561224357620f424060043510612246565b60005b156138405761014051610160511015612284576101405161016051600a808202821582848304141715613840578090509050905010613840576122ab565b61014051600a80820282158284830414171561384057809050905090506101605111613840575b61014051600d5561016051600e5542600f556024356010556101405161018052610160516101a052426101c0526024356101e0527fa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c2546080610180a1005b63551a65888114156123b15760206101a0600463f851a4406101405261015c6005545afa1561384057601f3d1115613840576000506101a051331415613840576101405160065801612876565b6101605261014052610160516101405261014051600d5561014051600e5542600f5542601055610140516101605242610180527f46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc2019386040610160a1005b63e2e7d2648114156124295760206101c060246370a0823161014052306101605261015c600160043560038110156138405702600601545afa1561384057601f3d1115613840576000506101c05160016004356003811015613840570260090154808210613840578082039050905060005260206000f35b6330c5408581141561253d5760206101e0602463154aa8f561016052306101805261017c6005545afa1561384057601f3d1115613840576000506101e0516101405261016060006003818352015b600161016051600381101561384057026006015461018052602061024060246370a082316101c052306101e0526101dc610180515afa1561384057601f3d11156138405760005061024051600161016051600381101561384057026009015480821061384057808203905090506101a0526020610260604463a9059cbb6101c052610140516101e0526101a051610200526101dc6000610180515af11561384057601f3d111561384057600050610260505b8151600101808352811415612477575b5050005b63c6610657811415612565576001600435600381101561384057026006015460005260206000f35b634903b0d181141561258d576001600435600381101561384057026009015460005260206000f35b63ddca3f438114156125a557600c5460005260206000f35b635409491a8114156125bd57600d5460005260206000f35b63b4b577ad8114156125d557600e5460005260206000f35b632081066c8114156125ed57600f5460005260206000f35b63140522888114156126055760105460005260206000f35b6306fdde038114156126a257601180610180602082540161012060006003818352015b8261012051602002111561263b5761265d565b61012051850154610120516020028501525b8151600101808352811415612628575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6395d89b4181141561273f57601580610180602082540161012060006002818352015b826101205160200211156126d8576126fa565b61012051850154610120516020028501525b81516001018083528114156126c5575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6370a0823181141561276f5760043560a01c61384057601860043560e05260c052604060c0205460005260206000f35b63dd62ed3e8114156127b75760043560a01c6138405760243560a01c61384057601960043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b6318160ddd8114156127cf57601a5460005260206000f35b505b60006000fd5b6101a05261014052610160526101805260186101405160e05260c052604060c020805461018051808210613840578082039050905081555060186101605160e05260c052604060c02080546101805181818301106138405780820190509050815550610180516101c05261016051610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101c0a36101a051565b6101405260105461016052600e5461018052610160514210156129bc57600d546101a052600f546101c0526101a051610180511115612936576101a051610180516101a0518082106138405780820390509050426101c05180821061384057808203905090508082028215828483041417156138405780905090509050610160516101c0518082106138405780820390509050808015613840578204905090508181830110613840578082019050905060005260005161014051566129b7565b6101a0516101a051610180518082106138405780820390509050426101c05180821061384057808203905090508082028215828483041417156138405780905090509050610160516101c051808210613840578082039050905080801561384057820490509050808210613840578082039050905060005260005161014051565b6129cc565b6101805160005260005161014051565b005b6101c0526101405261016052610180526101a0526040366101e03761024060006003818352015b602061024051026101400151610220526101e0805161022051818183011061384057808201905090508152505b81516001018083528114156129f5575b50506101e051612a4a5760006000526000516101c051565b6101e051610220526101a0516003808202821582848304141715613840578090509050905061024052610260600060ff818352015b61022051610280526102c060006003818352015b60206102c0510261014001516102a052610280516102205180820282158284830414171561384057809050905090506102a0516003808202821582848304141715613840578090509050905080801561384057820490509050610280525b8151600101808352811415612a93575b50506102205161020052610240516101e05180820282158284830414171561384057809050905090506064808204905090506102805160038082028215828483041417156138405780905090509050818183011061384057808201905090506102205180820282158284830414171561384057809050905090506102405160648082106138405780820390509050610220518082028215828483041417156138405780905090509050606480820490509050600461028051808202821582848304141715613840578090509050905081818301106138405780820190509050808015613840578204905090506102205261020051610220511115612c335760016102205161020051808210613840578082039050905011612c2e576102205160005250506000516101c051565b612c63565b60016102005161022051808210613840578082039050905011612c62576102205160005250506000516101c051565b5b5b8151600101808352811415612a7f575b505060006000fd5b610200526101405261016052610180526101a0526101c0526101e0526101605161014051181561384057600061016051126138405760036101605112156138405760006101405112613840576003610140511215613840576101405161016051610180516101a0516101c0516101e051610200516102205160065801612876565b6102405261022052610200526101e0526101c0526101a05261018052610160526101405261024051610220526101405161016051610180516101a0516101c0516101e0516102005161022051610240516101a051610260526101c051610280526101e0516102a052610220516102c0526102c0516102a0516102805161026051600658016129ce565b610320526102405261022052610200526101e0526101c0526101a052610180526101605261014052610320516102405260603661026037610240516102c05261022051600380820282158284830414171561384057809050905090506102e05261030060006003818352015b61014051610300511415612e0d576101805161028052612e3f565b61016051610300511815612e39576101a061030051600381101561384057602002015161028052612e3e565b612ea9565b5b610260805161028051818183011061384057808201905090508152506102c0516102405180820282158284830414171561384057809050905090506102805160038082028215828483041417156138405780905090509050808015613840578204905090506102c0525b8151600101808352811415612df2575b50506102c051610240518082028215828483041417156138405780905090509050606480820282158284830414171561384057809050905090506102e05160038082028215828483041417156138405780905090509050808015613840578204905090506102c0526102605161024051606480820282158284830414171561384057809050905090506102e0518080156138405782049050905081818301106138405780820190509050610300526102405161032052610340600060ff818352015b610320516102a052610320516103205180820282158284830414171561384057809050905090506102c051818183011061384057808201905090506002610320518082028215828483041417156138405780905090509050610300518181830110613840578082019050905061024051808210613840578082039050905080801561384057820490509050610320526102a05161032051111561304c576001610320516102a0518082106138405780820390509050116130475761032051600052505060005161020051565b61307c565b60016102a0516103205180821061384057808203905090501161307b5761032051600052505060005161020051565b5b5b8151600101808352811415612f7b575b505060006000fd5b610200526101405261016052610180526101a0526101c0526101e0526000610160511261384057600361016051121561384057606036610220376101e0516102805261014051600380820282158284830414171561384057809050905090506102a0526102c060006003818352015b610160516102c0511815613130576101806102c051600381101561384057602002015161024052613135565b61319f565b61022080516102405181818301106138405780820190509050815250610280516101e0518082028215828483041417156138405780905090509050610240516003808202821582848304141715613840578090509050905080801561384057820490509050610280525b8151600101808352811415613104575b5050610280516101e0518082028215828483041417156138405780905090509050606480820282158284830414171561384057809050905090506102a051600380820282158284830414171561384057809050905090508080156138405782049050905061028052610220516101e051606480820282158284830414171561384057809050905090506102a05180801561384057820490509050818183011061384057808201905090506102c0526101e0516102e052610300600060ff818352015b6102e051610260526102e0516102e0518082028215828483041417156138405780905090509050610280518181830110613840578082019050905060026102e05180820282158284830414171561384057809050905090506102c051818183011061384057808201905090506101e0518082106138405780820390509050808015613840578204905090506102e052610260516102e05111156133425760016102e0516102605180821061384057808203905090501161333d576102e051600052505060005161020051565b613372565b6001610260516102e051808210613840578082039050905011613371576102e051600052505060005161020051565b5b5b8151600101808352811415613271575b505060006000fd5b6101805261014052610160526101405161016051610180516101a05160065801612876565b6101c0526101a0526101805261016052610140526101c0516101a052600980546101c05260018101546101e052600281015461020052506101405161016051610180516101a0516101c0516101e05161020051610220516101c051610240526101e0516102605261020051610280526101a0516102a0526102a051610280516102605161024051600658016129ce565b6103005261022052610200526101e0526101c0526101a0526101805261016052610140526103005161022052601a5461024052610220516101405161022051808202821582848304141715613840578090509050905061024051808015613840578204905090508082106138405780820390509050610260526101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516101a0516102a052610160516102c0526101c0516102e0526101e05161030052610200516103205261026051610340526103405161032051610300516102e0516102c0516102a05160065801613095565b6103a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103a05161028052600c54600380820282158284830414171561384057809050905090506008808204905090506102a0526060366102c03761032060006003818352015b6000610340526101c061032051600381101561384057602002015161036052610160516103205114156136225761036051610260518082028215828483041417156138405780905090509050610220518080156138405782049050905061028051808210613840578082039050905061034052613669565b610360516103605161026051808202821582848304141715613840578090509050905061022051808015613840578204905090508082106138405780820390509050610340525b610360516102a0516103405180820282158284830414171561384057809050905090506402540be4008082049050905080821061384057808203905090506102c06103205160038110156138405760200201525b81516001018083528114156135aa575b50506102c0610160516003811015613840576020020151610140610340525b6103405151602061034051016103405261034061034051101561370e576136ec565b6101a0516103605261016051610380526102c0516103a0526102e0516103c052610300516103e0526102605161040052610400516103e0516103c0516103a051610380516103605160065801613095565b61046052610320610340525b61034051526020610340510361034052610140610340511061378c5761376b565b610460518082106138405780820390509050610320526101c0610160516003811015613840576020020151610280518082106138405780820390509050610340526103205160018082106138405780820390509050610320526103205161038052610340516103205180821061384057808203905090506103a0526040610360525b6000610360511161381e5761383a565b602061036051036103800151602061036051036103605261380e565b61018051565b600080fd
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.