MATIC Price: $1.02 (-0.87%)
Gas: 151 GWei
 

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

MATIC Value

$0.00

Sponsored

Transaction Hash
Method
Block
From
To
Value
0x617a6960196143652021-09-28 15:18:36911 days ago1632842316IN
 Create: Vyper_contract
0 MATIC0.1026769420

Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Vyper_contract

Compiler Version
vyper:0.2.16

Optimization Enabled:
N/A

Other Settings:
None license

Contract Source Code (Vyper language format)

# @version 0.2.16
"""
@title StableSwap
@author Curve.Fi
@license Copyright (c) Curve.Fi, 2020-2021 - all rights reserved
@notice 3pool metapool implementation contract
@dev ERC20 support for return True/revert, return True/False, return None
"""

interface ERC20:
    def approve(_spender: address, _amount: uint256): nonpayable
    def balanceOf(_owner: address) -> uint256: view

interface Curve:
    def coins(i: uint256) -> address: view
    def get_virtual_price() -> uint256: view
    def calc_token_amount(amounts: uint256[BASE_N_COINS], deposit: bool) -> uint256: view
    def calc_withdraw_one_coin(_token_amount: uint256, i: int128) -> uint256: view
    def fee() -> uint256: view
    def get_dy(i: int128, j: int128, dx: uint256) -> uint256: view
    def exchange(i: int128, j: int128, dx: uint256, min_dy: uint256): nonpayable
    def add_liquidity(amounts: uint256[BASE_N_COINS], min_mint_amount: uint256): nonpayable
    def remove_liquidity_one_coin(_token_amount: uint256, i: int128, min_amount: uint256): nonpayable

interface Gauge:
    def set_rewards_receiver(_receiver: address): nonpayable
    def deposit(_value: uint256): nonpayable
    def withdraw(_value: uint256): nonpayable

interface GaugeExtension:
    def initialize(_base_gauge: address): nonpayable
    def checkpoint_rewards(_addr: address): nonpayable

interface Factory:
    def convert_metapool_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 TokenExchangeUnderlying:
    buyer: indexed(address)
    sold_id: int128
    tokens_sold: uint256
    bought_id: int128
    tokens_bought: uint256

event AddLiquidity:
    provider: indexed(address)
    token_amounts: uint256[N_COINS]
    fees: uint256[N_COINS]
    invariant: uint256
    token_supply: uint256

event RemoveLiquidity:
    provider: indexed(address)
    token_amounts: uint256[N_COINS]
    fees: uint256[N_COINS]
    token_supply: uint256

event RemoveLiquidityOne:
    provider: indexed(address)
    token_amount: uint256
    coin_amount: uint256
    token_supply: uint256

event RemoveLiquidityImbalance:
    provider: indexed(address)
    token_amounts: uint256[N_COINS]
    fees: uint256[N_COINS]
    invariant: uint256
    token_supply: uint256

event RampA:
    old_A: uint256
    new_A: uint256
    initial_time: uint256
    future_time: uint256

event StopRampA:
    A: uint256
    t: uint256


BASE_POOL: constant(address) = 0xC2d95EEF97Ec6C17551d45e77B590dc1F9117C67
BASE_N_COINS: constant(int128) = 2
BASE_COINS: constant(address[BASE_N_COINS]) = [0x5c2ed810328349100A66B82b78a1791B101C9D61, 0xDBf31dF14B66535aF65AaC99C32e9eA844e14501]

BASE_LP_TOKEN: constant(address) = 0xf8a57c1d3b9629b77b6726a042ca48990A84Fb49
BASE_GAUGE: constant(address) = 0xffbACcE0CC7C19d46132f1258FC16CF6871D153c

GAUGE_EXTENSION_IMPL: constant(address) = 0x903D3C74843E91074742934FfC53BaF066d3358D

N_COINS: constant(int128) = 2
MAX_COIN: constant(int128) = N_COINS - 1
PRECISION: constant(uint256) = 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)

rate_multiplier: uint256

name: public(String[64])
symbol: public(String[32])

balanceOf: public(HashMap[address, uint256])
allowance: public(HashMap[address, HashMap[address, uint256]])
totalSupply: public(uint256)

rewards_receiver: public(address)


@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],
    _coin: address,
    _rate_multiplier: uint256,
    _A: uint256,
    _fee: uint256
):
    """
    @notice Contract initializer
    @param _name Name of the new pool
    @param _symbol Token symbol
    @param _coin Addresses of ERC20 conracts of coins
    @param _rate_multiplier Rate multiplier for `_coin` (10 ** (36 - decimals))
    @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

    A: uint256 = _A * A_PRECISION
    self.coins = [_coin, BASE_LP_TOKEN]
    self.rate_multiplier = _rate_multiplier
    self.initial_A = A
    self.future_A = A
    self.fee = _fee
    self.factory = msg.sender

    self.name = concat("Curve.fi Factory USD Metapool: ", _name)
    self.symbol = concat(_symbol, "3CRV-f")

    receiver: address = create_forwarder_to(GAUGE_EXTENSION_IMPL)
    GaugeExtension(receiver).initialize(BASE_GAUGE)
    
    self.rewards_receiver = receiver

    Gauge(BASE_GAUGE).set_rewards_receiver(receiver)

    for coin in BASE_COINS:
        ERC20(coin).approve(BASE_POOL, MAX_UINT256)
    
    ERC20(BASE_LP_TOKEN).approve(BASE_GAUGE, MAX_UINT256)

    # 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
    receiver: address = self.rewards_receiver
    
    GaugeExtension(receiver).checkpoint_rewards(_from)
    self.balanceOf[_from] -= _value

    GaugeExtension(receiver).checkpoint_rewards(_to)
    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
@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 _xp_mem(_rates: uint256[N_COINS], _balances: uint256[N_COINS]) -> uint256[N_COINS]:
    result: uint256[N_COINS] = empty(uint256[N_COINS])
    for i in range(N_COINS):
        result[i] = _rates[i] * _balances[i] / PRECISION
    return result


@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
@internal
def get_D_mem(_rates: uint256[N_COINS], _balances: uint256[N_COINS], _amp: uint256) -> uint256:
    xp: uint256[N_COINS] = self._xp_mem(_rates, _balances)
    return self.get_D(xp, _amp)


@view
@external
def get_virtual_price() -> uint256:
    """
    @notice The current virtual price of the pool LP token
    @dev Useful for calculating profits
    @return LP token virtual price normalized to 1e18
    """
    amp: uint256 = self._A()
    rates: uint256[N_COINS] = [self.rate_multiplier, Curve(BASE_POOL).get_virtual_price()]
    xp: uint256[N_COINS] = self._xp_mem(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.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()
    rates: uint256[N_COINS] = [self.rate_multiplier, Curve(BASE_POOL).get_virtual_price()]
    balances: uint256[N_COINS] = self.balances

    D0: uint256 = self.get_D_mem(rates, 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_mem(rates, 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()
    rates: uint256[N_COINS] = [self.rate_multiplier, Curve(BASE_POOL).get_virtual_price()]

    # Initial invariant
    old_balances: uint256[N_COINS] = self.balances
    D0: uint256 = self.get_D_mem(rates, old_balances, amp)
    new_balances: uint256[N_COINS] = old_balances

    total_supply: uint256 = self.totalSupply
    for i in range(N_COINS):
        amount: uint256 = _amounts[i]
        if amount == 0:
            assert total_supply > 0
        else:
            response: Bytes[32] = raw_call(
                self.coins[i],
                _abi_encode(
                    msg.sender,
                    self,
                    amount,
                    method_id=method_id("transferFrom(address,address,uint256)")
                ),
                max_outsize=32,
            )
            if len(response) > 0:
                assert convert(response, bool)
            new_balances[i] += amount

    # 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: 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_mem(rates, 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

    # Deposit into base gauge
    # RewardsOnlyGauge and Factory LiquidityGauge allow
    # calling deposit with a value of 0
    Gauge(BASE_GAUGE).deposit(_amounts[MAX_COIN])

    GaugeExtension(self.rewards_receiver).checkpoint_rewards(_receiver)

    # 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:
    # 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
    """
    rates: uint256[N_COINS] = [self.rate_multiplier, Curve(BASE_POOL).get_virtual_price()]
    xp: uint256[N_COINS] = self._xp_mem(rates, self.balances)

    x: uint256 = xp[i] + (dx * rates[i] / PRECISION)
    y: uint256 = self.get_y(i, j, x, xp)
    dy: uint256 = xp[j] - y - 1
    fee: uint256 = self.fee * dy / FEE_DENOMINATOR
    return (dy - fee) * PRECISION / rates[j]


@view
@external
def get_dy_underlying(i: int128, j: int128, dx: uint256) -> uint256:
    """
    @notice Calculate the current output dy given input dx on underlying
    @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
    """
    rates: uint256[N_COINS] = [self.rate_multiplier, Curve(BASE_POOL).get_virtual_price()]
    xp: uint256[N_COINS] = self._xp_mem(rates, self.balances)

    x: uint256 = 0
    base_i: int128 = 0
    base_j: int128 = 0
    meta_i: int128 = 0
    meta_j: int128 = 0

    if i != 0:
        base_i = i - MAX_COIN
        meta_i = 1
    if j != 0:
        base_j = j - MAX_COIN
        meta_j = 1

    if i == 0:
        x = xp[i] + dx * (rates[0] / 10**18)
    else:
        if j == 0:
            # i is from BasePool
            # At first, get the amount of pool tokens
            base_inputs: uint256[BASE_N_COINS] = empty(uint256[BASE_N_COINS])
            base_inputs[base_i] = dx
            # Token amount transformed to underlying "dollars"
            x = Curve(BASE_POOL).calc_token_amount(base_inputs, True) * rates[1] / PRECISION
            # Accounting for deposit/withdraw fees approximately
            x -= x * Curve(BASE_POOL).fee() / (2 * FEE_DENOMINATOR)
            # Adding number of pool tokens
            x += xp[MAX_COIN]
        else:
            # If both are from the base pool
            return Curve(BASE_POOL).get_dy(base_i, base_j, dx)

    # This pool is involved only when in-pool assets are used
    y: uint256 = self.get_y(meta_i, meta_j, x, xp)
    dy: uint256 = xp[meta_j] - y - 1
    dy = (dy - self.fee * dy / FEE_DENOMINATOR)

    # If output is going via the metapool
    if j == 0:
        dy /= (rates[0] / 10**18)
    else:
        # j is from BasePool
        # The fee is already accounted for
        dy = Curve(BASE_POOL).calc_withdraw_one_coin(dy * PRECISION / rates[1], base_j)

    return dy


@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
    @param _receiver Address that receives `j`
    @return Actual amount of `j` received
    """
    rates: uint256[N_COINS] = [self.rate_multiplier, Curve(BASE_POOL).get_virtual_price()]

    old_balances: uint256[N_COINS] = self.balances
    xp: uint256[N_COINS] = self._xp_mem(rates, old_balances)

    x: uint256 = xp[i] + _dx * rates[i] / PRECISION
    y: uint256 = self.get_y(i, j, x, xp)

    dy: uint256 = xp[j] - y - 1  # -1 just in case there were some rounding errors
    dy_fee: uint256 = dy * self.fee / FEE_DENOMINATOR

    # Convert all to real units
    dy = (dy - dy_fee) * PRECISION / rates[j]
    assert dy >= _min_dy

    dy_admin_fee: uint256 = dy_fee * ADMIN_FEE / FEE_DENOMINATOR
    dy_admin_fee = dy_admin_fee * PRECISION / rates[j]

    # Change balances exactly in same way as we change actual ERC20 coin amounts
    self.balances[i] = old_balances[i] + _dx
    # When rounding errors happen, we undercharge admin fee in favor of LP
    self.balances[j] = old_balances[j] - dy - dy_admin_fee

    response: Bytes[32] = raw_call(
        self.coins[i],
        _abi_encode(
            msg.sender, self, _dx, method_id=method_id("transferFrom(address,address,uint256)")
        ),
        max_outsize=32,
    )
    if len(response) > 0:
        assert convert(response, bool)

    if i == MAX_COIN:
        Gauge(BASE_GAUGE).deposit(_dx)
    else:
        Gauge(BASE_GAUGE).withdraw(dy)

    response = raw_call(
        self.coins[j],
        _abi_encode(_receiver, dy, method_id=method_id("transfer(address,uint256)")),
        max_outsize=32,
    )
    if len(response) > 0:
        assert convert(response, bool)

    log TokenExchange(msg.sender, i, _dx, j, dy)

    return dy


@external
@nonreentrant('lock')
def exchange_underlying(
    i: int128,
    j: int128,
    _dx: uint256,
    _min_dy: uint256,
    _receiver: address = msg.sender,
) -> uint256:
    """
    @notice Perform an exchange between two underlying coins
    @param i Index value for the underlying coin to send
    @param j Index valie of the underlying coin to receive
    @param _dx Amount of `i` being exchanged
    @param _min_dy Minimum amount of `j` to receive
    @param _receiver Address that receives `j`
    @return Actual amount of `j` received
    """
    rates: uint256[N_COINS] = [self.rate_multiplier, Curve(BASE_POOL).get_virtual_price()]
    old_balances: uint256[N_COINS] = self.balances
    xp: uint256[N_COINS] = self._xp_mem(rates, old_balances)

    base_coins: address[BASE_N_COINS] = BASE_COINS

    dy: uint256 = 0
    base_i: int128 = 0
    base_j: int128 = 0
    meta_i: int128 = 0
    meta_j: int128 = 0
    x: uint256 = 0
    input_coin: address = ZERO_ADDRESS
    output_coin: address = ZERO_ADDRESS

    if i == 0:
        input_coin = self.coins[0]
    else:
        base_i = i - MAX_COIN
        meta_i = 1
        input_coin = base_coins[base_i]
    if j == 0:
        output_coin = self.coins[0]
    else:
        base_j = j - MAX_COIN
        meta_j = 1
        output_coin = base_coins[base_j]

    response: Bytes[32] = raw_call(
        input_coin,
        _abi_encode(
            msg.sender, self, _dx, method_id=method_id("transferFrom(address,address,uint256)")
        ),
        max_outsize=32,
    )
    if len(response) > 0:
        assert convert(response, bool)

    dx: uint256 = _dx
    if i == 0 or j == 0:
        if i == 0:
            x = xp[i] + dx * rates[i] / PRECISION
        else:
            # i is from BasePool
            # At first, get the amount of pool tokens
            base_inputs: uint256[BASE_N_COINS] = empty(uint256[BASE_N_COINS])
            base_inputs[base_i] = dx
            coin_i: address = self.coins[MAX_COIN]
            # Deposit and measure delta
            x = ERC20(coin_i).balanceOf(self)
            Curve(BASE_POOL).add_liquidity(base_inputs, 0)
            # Need to convert pool token to "virtual" units using rates
            # dx is also different now
            dx = ERC20(coin_i).balanceOf(self) - x
            x = dx * rates[MAX_COIN] / PRECISION
            # Adding number of pool tokens
            x += xp[MAX_COIN]
            Gauge(BASE_GAUGE).deposit(dx)

        y: uint256 = self.get_y(meta_i, meta_j, x, xp)

        # Either a real coin or token
        dy = xp[meta_j] - y - 1  # -1 just in case there were some rounding errors
        dy_fee: uint256 = dy * self.fee / FEE_DENOMINATOR

        # Convert all to real units
        # Works for both pool coins and real coins
        dy = (dy - dy_fee) * PRECISION / rates[meta_j]

        dy_admin_fee: uint256 = dy_fee * ADMIN_FEE / FEE_DENOMINATOR
        dy_admin_fee = dy_admin_fee * PRECISION / rates[meta_j]

        # Change balances exactly in same way as we change actual ERC20 coin amounts
        self.balances[meta_i] = old_balances[meta_i] + dx
        # When rounding errors happen, we undercharge admin fee in favor of LP
        self.balances[meta_j] = old_balances[meta_j] - dy - dy_admin_fee

        # Withdraw from the base pool if needed
        if j > 0:
            out_amount: uint256 = ERC20(output_coin).balanceOf(self)
            Gauge(BASE_GAUGE).withdraw(dy)
            Curve(BASE_POOL).remove_liquidity_one_coin(dy, base_j, 0)
            dy = ERC20(output_coin).balanceOf(self) - out_amount

        assert dy >= _min_dy

    else:
        # If both are from the base pool
        dy = ERC20(output_coin).balanceOf(self)
        Curve(BASE_POOL).exchange(base_i, base_j, dx, _min_dy)
        dy = ERC20(output_coin).balanceOf(self) - dy

    response = raw_call(
        output_coin,
        _abi_encode(_receiver, dy, method_id=method_id("transfer(address,uint256)")),
        max_outsize=32,
    )
    if len(response) > 0:
        assert convert(response, bool)

    log TokenExchangeUnderlying(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]
        self.balances[i] = old_balance - value
        amounts[i] = value
        if i == MAX_COIN:
            Gauge(BASE_GAUGE).withdraw(value)
        response: Bytes[32] = raw_call(
            self.coins[i],
            _abi_encode(_receiver, value, method_id=method_id("transfer(address,uint256)")),
            max_outsize=32,
        )
        if len(response) > 0:
            assert convert(response, bool)


    GaugeExtension(self.rewards_receiver).checkpoint_rewards(msg.sender)

    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()
    rates: uint256[N_COINS] = [self.rate_multiplier, Curve(BASE_POOL).get_virtual_price()]
    old_balances: uint256[N_COINS] = self.balances
    D0: uint256 = self.get_D_mem(rates, old_balances, amp)

    new_balances: uint256[N_COINS] = old_balances
    for i in range(N_COINS):
        amount: uint256 = _amounts[i]
        if i == MAX_COIN:
            Gauge(BASE_GAUGE).withdraw(amount)
        if amount != 0:
            new_balances[i] -= amount
            response: Bytes[32] = raw_call(
                self.coins[i],
                _abi_encode(_receiver, amount, method_id=method_id("transfer(address,uint256)")),
                max_outsize=32,
            )
            if len(response) > 0:
                assert convert(response, bool)
    D1: uint256 = self.get_D_mem(rates, 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_mem(rates, 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

    GaugeExtension(self.rewards_receiver).checkpoint_rewards(msg.sender)

    total_supply -= burn_amount
    self.totalSupply = total_supply
    self.balanceOf[msg.sender] -= burn_amount
    log Transfer(msg.sender, ZERO_ADDRESS, burn_amount)
    log RemoveLiquidityImbalance(msg.sender, _amounts, fees, D1, total_supply)

    return burn_amount


@view
@internal
def get_y_D(A: uint256, i: int128, xp: uint256[N_COINS], D: uint256) -> uint256:
    """
    Calculate x[i] if one reduces D from being calculated for xp to D

    Done by solving quadratic equation iteratively.
    x_1**2 + x1 * (sum' - (A*n**n - 1) * D / (A * n**n)) = D ** (n + 1) / (n ** (2 * n) * prod' * A)
    x_1**2 + b*x_1 = c

    x_1 = (x_1**2 + c) / (2*x_1 + b)
    """
    # x in the input is converted to the same price/precision

    assert i >= 0  # dev: i below zero
    assert i < N_COINS  # dev: i above N_COINS

    S_: uint256 = 0
    _x: uint256 = 0
    y_prev: uint256 = 0
    c: uint256 = D
    Ann: uint256 = A * N_COINS

    for _i in range(N_COINS):
        if _i != i:
            _x = xp[_i]
        else:
            continue
        S_ += _x
        c = c * D / (_x * N_COINS)

    c = c * D * A_PRECISION / (Ann * N_COINS)
    b: uint256 = S_ + D * A_PRECISION / Ann
    y: uint256 = D

    for _i in range(255):
        y_prev = y
        y = (y*y + c) / (2 * y + b - D)
        # Equality with the precision of 1
        if y > y_prev:
            if y - y_prev <= 1:
                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()
    rates: uint256[N_COINS] = [self.rate_multiplier, Curve(BASE_POOL).get_virtual_price()]
    xp: uint256[N_COINS] = self._xp_mem(rates, self.balances)
    D0: uint256 = self.get_D(xp, amp)

    total_supply: uint256 = self.totalSupply
    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))
    xp_reduced: uint256[N_COINS] = empty(uint256[N_COINS])

    for j in range(N_COINS):
        dx_expected: uint256 = 0
        xp_j: uint256 = xp[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 = (xp[i] - new_y) * PRECISION / rates[i]  # w/o fees
    dy = (dy - 1) * PRECISION / rates[i]  # 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

    self.balances[i] -= (dy[0] + dy[1] * ADMIN_FEE / FEE_DENOMINATOR)

    GaugeExtension(self.rewards_receiver).checkpoint_rewards(msg.sender)

    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)

    if i == MAX_COIN:
        Gauge(BASE_GAUGE).withdraw(dy[0])

    response: Bytes[32] = raw_call(
        self.coins[i],
        _abi_encode(_receiver, dy[0], method_id=method_id("transfer(address,uint256)")),
        max_outsize=32,
    )
    if len(response) > 0:
        assert convert(response, bool)

    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:
    coin: address = self.coins[i]
    if i == MAX_COIN:
        coin = BASE_GAUGE
    return ERC20(coin).balanceOf(self) - self.balances[i]


@external
def withdraw_admin_fees():
    # transfer coin 0 to Factory and call `convert_fees` to swap it for coin 1
    factory: address = self.factory
    coin: address = self.coins[0]
    amount: uint256 = ERC20(coin).balanceOf(self) - self.balances[0]
    if amount > 0:
        response: Bytes[32] = raw_call(
            coin,
            _abi_encode(factory, amount, method_id=method_id("transfer(address,uint256)")),
            max_outsize=32,
        )
        if len(response) > 0:
            assert convert(response, bool)
        Factory(factory).convert_metapool_fees()

    # transfer coin 1 to the receiver
    coin = self.coins[1]
    amount = ERC20(BASE_GAUGE).balanceOf(self) - self.balances[1]
    Gauge(BASE_GAUGE).withdraw(amount)
    amount = ERC20(coin).balanceOf(self)
    if amount > 0:
        receiver: address = Factory(factory).get_fee_receiver(self)
        response: Bytes[32] = raw_call(
            coin,
            _abi_encode(receiver, amount, method_id=method_id("transfer(address,uint256)")),
            max_outsize=32,
        )
        if len(response) > 0:
            assert convert(response, bool)

Contract Security Audit

Contract ABI

[{"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[2]","indexed":false},{"name":"fees","type":"uint256[2]","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[2]","indexed":false},{"name":"fees","type":"uint256[2]","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[2]","indexed":false},{"name":"fees","type":"uint256[2]","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":"_coin","type":"address"},{"name":"_rate_multiplier","type":"uint256"},{"name":"_A","type":"uint256"},{"name":"_fee","type":"uint256"}],"outputs":[],"gas":539992},{"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":91298},{"stateMutability":"nonpayable","type":"function","name":"transferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":129233},{"stateMutability":"nonpayable","type":"function","name":"approve","inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":39151},{"stateMutability":"view","type":"function","name":"admin_fee","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":438},{"stateMutability":"view","type":"function","name":"A","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":10704},{"stateMutability":"view","type":"function","name":"A_precise","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":10666},{"stateMutability":"view","type":"function","name":"get_virtual_price","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":1023280},{"stateMutability":"view","type":"function","name":"calc_token_amount","inputs":[{"name":"_amounts","type":"uint256[2]"},{"name":"_is_deposit","type":"bool"}],"outputs":[{"name":"","type":"uint256"}],"gas":4029742},{"stateMutability":"nonpayable","type":"function","name":"add_liquidity","inputs":[{"name":"_amounts","type":"uint256[2]"},{"name":"_min_mint_amount","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"add_liquidity","inputs":[{"name":"_amounts","type":"uint256[2]"},{"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":2466434},{"stateMutability":"view","type":"function","name":"get_dy_underlying","inputs":[{"name":"i","type":"int128"},{"name":"j","type":"int128"},{"name":"dx","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":2474920},{"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_underlying","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_underlying","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[2]"}],"outputs":[{"name":"","type":"uint256[2]"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity","inputs":[{"name":"_burn_amount","type":"uint256"},{"name":"_min_amounts","type":"uint256[2]"},{"name":"_receiver","type":"address"}],"outputs":[{"name":"","type":"uint256[2]"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity_imbalance","inputs":[{"name":"_amounts","type":"uint256[2]"},{"name":"_max_burn_amount","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity_imbalance","inputs":[{"name":"_amounts","type":"uint256[2]"},{"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":1108},{"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":161967},{"stateMutability":"nonpayable","type":"function","name":"stop_ramp_A","inputs":[],"outputs":[],"gas":157887},{"stateMutability":"view","type":"function","name":"admin_balances","inputs":[{"name":"i","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":7855},{"stateMutability":"nonpayable","type":"function","name":"withdraw_admin_fees","inputs":[],"outputs":[],"gas":43650},{"stateMutability":"view","type":"function","name":"coins","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}],"gas":3123},{"stateMutability":"view","type":"function","name":"balances","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":3153},{"stateMutability":"view","type":"function","name":"fee","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3138},{"stateMutability":"view","type":"function","name":"initial_A","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3168},{"stateMutability":"view","type":"function","name":"future_A","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3198},{"stateMutability":"view","type":"function","name":"initial_A_time","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3228},{"stateMutability":"view","type":"function","name":"future_A_time","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3258},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":13518},{"stateMutability":"view","type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":11271},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3563},{"stateMutability":"view","type":"function","name":"allowance","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3808},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3408},{"stateMutability":"view","type":"function","name":"rewards_receiver","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3438}]

617a69600b55615b9056600436101561000d57614784565b600035601c5260005134615b81576398094be08114156105045760406004356004016101403760206004356004013511615b8157602a6024356004016101a037600a6024356004013511615b815760443560a01c615b8157600b54615b81576084356064808202821582848304141715615b815780905090509050610200526007604435815573f8a57c1d3b9629b77b6726a042ca48990a84fb4960018201555060643560105561020051600c5561020051600d5560a435600b55336006556000601f610220527f43757276652e666920466163746f727920555344204d657461706f6f6c3a200061024052610220601f8060208461028001018260208501600060045af150508051820191505061014060208060208461028001018260208501600060045af150508051820191505080610280526102809050806011602082510161012060006003818352015b8261012051602002111561016e57610190565b61012051602002850151610120518501555b815160010180835281141561015b575b50505050505060006101a0600a8060208461028001018260208501600060045af15050805182019150506006610220527f334352562d6600000000000000000000000000000000000000000000000000006102405261022060068060208461028001018260208501600060045af150508051820191505080610280526102809050806015602082510161012060006002818352015b826101205160200211156102385761025a565b61012051602002850151610120518501555b8151600101808352811415610225575b5050505050507f602d3d8160093d39f3363d3d373d3d3d363d7300000000000000000000000000610240527f903d3c74843e91074742934ffc53baf066d3358d000000000000000000000000610253527f5af43d82803e903d91602b57fd5bf300000000000000000000000000000000006102675260366102406000f061022052610220513b15615b815760006000602463c4d66de86102405273ffbacce0cc7c19d46132f1258fc16cf6871d153c6102605261025c6000610220515af115615b815761022051601b5573ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b815760006000602463bdf9811661024052610220516102605261025c600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b8157735c2ed810328349100a66b82b78a1791b101c9d616102805273dbf31df14b66535af65aac99c32e9ea844e145016102a05261026060006002818352015b60206102605102610280015161024052610240513b15615b815760006000604463095ea7b36102c05273c2d95eef97ec6c17551d45e77b590dc1f9117c676102e0527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610300526102dc6000610240515af115615b81575b81516001018083528114156103b5575b505073f8a57c1d3b9629b77b6726a042ca48990a84fb493b15615b815760006000604463095ea7b36102405273ffbacce0cc7c19d46132f1258fc16cf6871d153c610260527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6102805261025c600073f8a57c1d3b9629b77b6726a042ca48990a84fb495af115615b81573060007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610240808080600081525050602090509050610240a3005b63313ce56781141561051b57601260005260206000f35b63a9059cbb8114156105675760043560a01c615b8157336101405260043561016052602435610180526101805161016051610140516006580161478a565b600050600160005260206000f35b6323b872dd81141561063e5760043560a01c615b815760243560a01c615b81576004356101405260243561016052604435610180526101805161016051610140516006580161478a565b600050601960043560e05260c052604060c0203360e05260c052604060c02054610140527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101405118156106335761014051604435808210615b815780820390509050601960043560e05260c052604060c0203360e05260c052604060c020555b600160005260206000f35b63095ea7b38114156106bb5760043560a01c615b815760243560193360e05260c052604060c02060043560e05260c052604060c02055600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92561014080808060243581525050602090509050610140a3600160005260206000f35b63fee3f7f98114156106d65764012a05f20060005260206000f35b63f446c1d0811415610705576006580161489c565b610140526101405160648082049050905060005260206000f35b6376a2f0f081141561072b576006580161489c565b610140526101405160005260206000f35b63bb7b8b808114156108ca57610140516006580161489c565b610160526101405261016051610140526020610200600463bb7b8b806101a0526101bc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b815760005061020051610220526010546101605261022051610180526101405161016051610180516101a0516101c051610160516101e05261018051610200526009805461022052600181015461024052506102405161022051610200516101e051600658016149f4565b6102a0526102c0526101c0526101a0526101805261016052610140526102a080516101a05280602001516101c052506101405161016051610180516101a0516101c0516101e0516101a051610200526101c05161022052610140516102405261024051610220516102005160065801614acd565b6102a0526101e0526101c0526101a0526101805261016052610140526102a0516101e0526101e051670de0b6b3a7640000808202821582848304141715615b815780905090509050601a54808015615b815782049050905060005260206000f35b63ed8e84f3811415610b885760443560011c615b8157610140516006580161489c565b610160526101405261016051610140526020610200600463bb7b8b806101a0526101bc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b81576000506102005161022052601054610160526102205161018052600980546101a05260018101546101c052506101405161016051610180516101a0516101c0516101e051610160516102005261018051610220526101a051610240526101c051610260526101405161028052610280516102605161024051610220516102005160065801614d77565b6102e0526101e0526101c0526101a0526101805261016052610140526102e0516101e05261020060006002818352015b6004610200516002811015615b815760200201356102205260443515610a40576101a0610200516002811015615b8157602002018051610220518181830110615b815780820190509050815250610a6c565b6101a0610200516002811015615b815760200201805161022051808210615b8157808203905090508152505b5b81516001018083528114156109ee575b50506101405161016051610180516101a0516101c0516101e05161020051610160516102205261018051610240526101a051610260526101c05161028052610140516102a0526102a0516102805161026051610240516102205160065801614d77565b61030052610200526101e0526101c0526101a052610180526101605261014052610300516102005260006102205260443515610b3557610200516101e051808210615b81578082039050905061022052610b50565b6101e05161020051808210615b815780820390509050610220525b61022051601a54808202821582848304141715615b8157809050905090506101e051808015615b815782049050905060005260206000f35b630b4c7e4d811415610b9e573361014052610bc9565b630c3e4b54811415610bc45760643560a01c615b81576020606461014037600050610bc9565b6113d8565b600054615b8157600160005561014051610160516006580161489c565b61018052610160526101405261018051610160526020610220600463bb7b8b806101c0526101dc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b8157600050610220516102405260105461018052610240516101a052600980546101c05260018101546101e052506101405161016051610180516101a0516101c0516101e0516102005161018051610220526101a051610240526101c051610260526101e05161028052610160516102a0526102a0516102805161026051610240516102205160065801614d77565b61030052610200526101e0526101c0526101a05261018052610160526101405261030051610200526101c051610220526101e05161024052601a546102605261028060006002818352015b6004610280516002811015615b815760200201356102a0526102a051610d3b576000610260511115615b8157610e60565b6323b872dd61032452600461034480808033815250506020810190508080308152505060208101905080806102a0518152505060609050905001610320526103208051602001806103c08284600060045af115615b8157505060206104806103c0516103e060006001610280516002811015615b815702600701545af115615b815760203d80821115610dce5780610dd0565b815b90509050610460526104608051602001806102c08284600060045af115615b8157505060006102c0511115610e32576102c08060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b610220610280516002811015615b81576020020180516102a0518181830110615b8157808201905090508152505b5b8151600101808352811415610d0a575b50506101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161028051610180516102a0526101a0516102c052610220516102e0526102405161030052610160516103205261032051610300516102e0516102c0516102a05160065801614d77565b6103805261028052610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052610380516102805261020051610280511115615b81576060366102a037600061026051111561120257600b546002808202821582848304141715615b8157809050905090506004808204905090506103005261032060006002818352015b610280516101c0610320516002811015615b81576020020151808202821582848304141715615b81578090509050905061020051808015615b815782049050905061034052600061036052610220610320516002811015615b815760200201516103805261038051610340511115611003576103405161038051808210615b8157808203905090506103605261101e565b6103805161034051808210615b815780820390509050610360525b6103005161036051808202821582848304141715615b8157809050905090506402540be400808204905090506102a0610320516002811015615b81576020020152610380516102a0610320516002811015615b8157602002015164012a05f200808202821582848304141715615b8157809050905090506402540be40080820490509050808210615b8157808203905090506001610320516002811015615b81570260090155610220610320516002811015615b81576020020180516102a0610320516002811015615b81576020020151808210615b8157808203905090508152505b8151600101808352811415610f72575b5050610140610340525b6103405151602061034051016103405261034061034051101561113d5761111b565b61018051610360526101a05161038052610220516103a052610240516103c052610160516103e0526103e0516103c0516103a051610380516103605160065801614d77565b61044052610320610340525b6103405152602061034051036103405261014061034051106111af5761118e565b6104405161032052610260516103205161020051808210615b815780820390509050808202821582848304141715615b81578090509050905061020051808015615b81578204905090506102e05261121d565b600961022051815561024051600182015550610280516102e0525b6044356102e05110615b815773ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b815760006000602463b6b55f25610300526024356103205261031c600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b8157601b543b15615b815760006000602463026c334961030052610140516103205261031c6000601b545af115615b815761026080516102e0518181830110615b81578082019050905081525060186101405160e05260c052604060c02080546102e0518181830110615b81578082019050905081555061026051601a556101405160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6103008080806102e05181525050602090509050610300a3337f26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a7686103008080808080600435815250506020810190508080602435815250505050604081019050808080806102a0518152505060208101905080806102c051815250505050604081019050808061028051815250506020810190508080610260518152505060c090509050610300a26102e051600052600060005560206000f35b635e0d443f81141561167e5760043580607f1d8160801d1415615b81578090505060243580607f1d8160801d1415615b81578090505060206101e0600463bb7b8b806101805261019c73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b81576000506101e051610200526010546101405261020051610160526101405161016051610180516101a051610140516101c052610160516101e05260098054610200526001810154610220525061022051610200516101e0516101c051600658016149f4565b610280526102a0526101a05261018052610160526101405261028080516101805280602001516101a052506101806004356002811015615b815760200201516044356101406004356002811015615b81576020020151808202821582848304141715615b815780905090509050670de0b6b3a7640000808204905090508181830110615b8157808201905090506101c0526101405161016051610180516101a0516101c0516101e05160406004610200376101c0516102405261018051610260526101a05161028052610280516102605161024051610220516102005160065801614ea4565b6102e0526101e0526101c0526101a0526101805261016052610140526102e0516101e0526101806024356002811015615b815760200201516101e051808210615b8157808203905090506001808210615b81578082039050905061020052600b5461020051808202821582848304141715615b8157809050905090506402540be40080820490509050610220526102005161022051808210615b815780820390509050670de0b6b3a7640000808202821582848304141715615b8157809050905090506101406024356002811015615b81576020020151808015615b815782049050905060005260206000f35b6307211ef7811415611bd75760043580607f1d8160801d1415615b81578090505060243580607f1d8160801d1415615b81578090505060206101e0600463bb7b8b806101805261019c73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b81576000506101e051610200526010546101405261020051610160526101405161016051610180516101a051610140516101c052610160516101e05260098054610200526001810154610220525061022051610200516101e0516101c051600658016149f4565b610280526102a0526101a05261018052610160526101405261028080516101805280602001516101a0525060a0366101c037600060043518156117b657600435600180820380607f1d8160801d1415615b8157809050905090506101e0526001610220525b600060243518156117e957602435600180820380607f1d8160801d1415615b815780905090509050610200526001610240525b60043561184b576101806004356002811015615b8157602002015160443561014051670de0b6b3a764000080820490509050808202821582848304141715615b8157809050905090508181830110615b8157808201905090506101c0526119f3565b60243561199357604036610260376044356102606101e0516002811015615b815760200201526020610360606463ed8e84f36102a052610260516102c052610280516102e0526001610300526102bc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b81576000506103605161016051808202821582848304141715615b815780905090509050670de0b6b3a7640000808204905090506101c0526101c080516101c0516020610300600463ddca3f436102a0526102bc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b815760005061030051808202821582848304141715615b8157809050905090506404a817c80080820490509050808210615b8157808203905090508152506101c080516101a0518181830110615b8157808201905090508152506119f2565b60206103206064635e0d443f610260526101e05161028052610200516102a0526044356102c05261027c73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b81576000506103205160005260206000f35b5b6101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516102205161028052610240516102a0526101c0516102c052610180516102e0526101a05161030052610300516102e0516102c0516102a0516102805160065801614ea4565b61036052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103605161026052610180610240516002811015615b8157602002015161026051808210615b8157808203905090506001808210615b8157808203905090506102805261028051600b5461028051808202821582848304141715615b8157809050905090506402540be40080820490509050808210615b81578082039050905061028052602435611b4557610280805161014051670de0b6b3a764000080820490509050808015615b8157820490509050815250611bca565b6020610340604463cc2b27d76102a05261028051670de0b6b3a7640000808202821582848304141715615b81578090509050905061016051808015615b81578204905090506102c052610200516102e0526102bc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b815760005061034051610280525b6102805160005260206000f35b633df02124811415611bed573361014052611c18565b63ddc1f59d811415611c135760843560a01c615b81576020608461014037600050611c18565b612315565b600154615b8157600160015560043580607f1d8160801d1415615b81578090505060243580607f1d8160801d1415615b8157809050506020610200600463bb7b8b806101a0526101bc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b81576000506102005161022052601054610160526102205161018052600980546101a05260018101546101c052506101405161016051610180516101a0516101c0516101e05161020051610160516102205261018051610240526101a051610260526101c0516102805261028051610260516102405161022051600658016149f4565b6102e05261030052610200526101e0526101c0526101a0526101805261016052610140526102e080516101e052806020015161020052506101e06004356002811015615b815760200201516044356101606004356002811015615b81576020020151808202821582848304141715615b815780905090509050670de0b6b3a7640000808204905090508181830110615b815780820190509050610220526101405161016051610180516101a0516101c0516101e0516102005161022051610240516040600461026037610220516102a0526101e0516102c052610200516102e0526102e0516102c0516102a051610280516102605160065801614ea4565b610340526102405261022052610200526101e0526101c0526101a05261018052610160526101405261034051610240526101e06024356002811015615b8157602002015161024051808210615b8157808203905090506001808210615b8157808203905090506102605261026051600b54808202821582848304141715615b8157809050905090506402540be40080820490509050610280526102605161028051808210615b815780820390509050670de0b6b3a7640000808202821582848304141715615b8157809050905090506101606024356002811015615b81576020020151808015615b8157820490509050610260526064356102605110615b81576102805164012a05f200808202821582848304141715615b8157809050905090506402540be400808204905090506102a0526102a051670de0b6b3a7640000808202821582848304141715615b8157809050905090506101606024356002811015615b81576020020151808015615b81578204905090506102a0526101a06004356002811015615b815760200201516044358181830110615b81578082019050905060016004356002811015615b815702600901556101a06024356002811015615b8157602002015161026051808210615b8157808203905090506102a051808210615b81578082039050905060016024356002811015615b815702600901556323b872dd61032452600461034480808033815250506020810190508080308152505060208101905080806044358152505060609050905001610320526103208051602001806103c08284600060045af115615b8157505060206104806103c0516103e0600060016004356002811015615b815702600701545af115615b815760203d808211156120965780612098565b815b90509050610460526104608051602001806102c08284600060045af115615b8157505060006102c05111156120fa576102c08060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b6001600435141561215c5773ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b815760006000602463b6b55f25610320526044356103405261033c600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b81576121b0565b73ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b8157600060006024632e1a7d4d61032052610260516103405261033c600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b81575b63a9059cbb61032452600461034480808061014051815250506020810190508080610260518152505060409050905001610320526103208051602001806103a08284600060045af115615b8157505060206104406103a0516103c0600060016024356002811015615b815702600701545af115615b815760203d80821115612238578061223a565b815b90509050610420526104208051602001806102c08284600060045af115615b8157505060006102c051111561229c576102c08060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b337f8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd971406103208080806004358152505060208101905080806044358152505060208101905080806024358152505060208101905080806102605181525050608090509050610320a261026051600052600060015560206000f35b63a6417ed681141561232b573361014052612356565b6344ee19868114156123515760843560a01c615b81576020608461014037600050612356565b612e85565b600254615b8157600160025560043580607f1d8160801d1415615b81578090505060243580607f1d8160801d1415615b8157809050506020610200600463bb7b8b806101a0526101bc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b81576000506102005161022052601054610160526102205161018052600980546101a05260018101546101c052506101405161016051610180516101a0516101c0516101e05161020051610160516102205261018051610240526101a051610260526101c0516102805261028051610260516102405161022051600658016149f4565b6102e05261030052610200526101e0526101c0526101a0526101805261016052610140526102e080516101e05280602001516102005250735c2ed810328349100a66b82b78a1791b101c9d616102205273dbf31df14b66535af65aac99c32e9ea844e145016102405261010036610260376004356124c9576007546103205261250a565b600435600180820380607f1d8160801d1415615b8157809050905090506102805260016102c052610220610280516002811015615b81576020020151610320525b60243561251d576007546103405261255e565b602435600180820380607f1d8160801d1415615b8157809050905090506102a05260016102e0526102206102a0516002811015615b81576020020151610340525b6323b872dd6103c45260046103e4808080338152505060208101905080803081525050602081019050808060443581525050606090509050016103c0526103c08051602001806104608284600060045af115615b815750506020610520610460516104806000610320515af115615b815760203d808211156125e057806125e2565b815b90509050610500526105008051602001806103608284600060045af115615b815750506000610360511115612644576103608060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b6044356103c05260043561265957600161265e565b602435155b5b15612c43576004356126d7576101e06004356002811015615b815760200201516103c0516101606004356002811015615b81576020020151808202821582848304141715615b815780905090509050670de0b6b3a7640000808204905090508181830110615b81578082019050905061030052612882565b6040366103e0376103c0516103e0610280516002811015615b815760200201526008546104205260206104c060246370a0823161044052306104605261045c610420515afa15615b8157601f3d1115615b81576000506104c0516103005273c2d95eef97ec6c17551d45e77b590dc1f9117c673b15615b8157600060006064630b4c7e4d610440526103e05161046052610400516104805260006104a05261045c600073c2d95eef97ec6c17551d45e77b590dc1f9117c675af115615b815760206104c060246370a0823161044052306104605261045c610420515afa15615b8157601f3d1115615b81576000506104c05161030051808210615b8157808203905090506103c0526103c05161018051808202821582848304141715615b815780905090509050670de0b6b3a764000080820490509050610300526103008051610200518181830110615b81578082019050905081525073ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b815760006000602463b6b55f25610440526103c0516104605261045c600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b81575b610140610400525b610400515160206104005101610400526104006104005110156128ac5761288a565b6102c051610420526102e0516104405261030051610460526101e05161048052610200516104a0526104a0516104805161046051610440516104205160065801614ea4565b610500526103e0610400525b61040051526020610400510361040052610140610400511061291e576128fd565b610500516103e0526101e06102e0516002811015615b815760200201516103e051808210615b8157808203905090506001808210615b8157808203905090506102605261026051600b54808202821582848304141715615b8157809050905090506402540be40080820490509050610400526102605161040051808210615b815780820390509050670de0b6b3a7640000808202821582848304141715615b8157809050905090506101606102e0516002811015615b81576020020151808015615b8157820490509050610260526104005164012a05f200808202821582848304141715615b8157809050905090506402540be400808204905090506104205261042051670de0b6b3a7640000808202821582848304141715615b8157809050905090506101606102e0516002811015615b81576020020151808015615b8157820490509050610420526101a06102c0516002811015615b815760200201516103c0518181830110615b81578082019050905060016102c0516002811015615b815702600901556101a06102e0516002811015615b8157602002015161026051808210615b81578082039050905061042051808210615b81578082039050905060016102e0516002811015615b8157026009015560006024351315612c325760206104e060246370a0823161046052306104805261047c610340515afa15615b8157601f3d1115615b81576000506104e0516104405273ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b8157600060006024632e1a7d4d61046052610260516104805261047c600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b815773c2d95eef97ec6c17551d45e77b590dc1f9117c673b15615b8157600060006064631a4d01d26104605261026051610480526102a0516104a05260006104c05261047c600073c2d95eef97ec6c17551d45e77b590dc1f9117c675af115615b815760206104e060246370a0823161046052306104805261047c610340515afa15615b8157601f3d1115615b81576000506104e05161044051808210615b815780820390509050610260525b6064356102605110615b8157612d2e565b602061046060246370a082316103e05230610400526103fc610340515afa15615b8157601f3d1115615b8157600050610460516102605273c2d95eef97ec6c17551d45e77b590dc1f9117c673b15615b8157600060006084633df021246103e05261028051610400526102a051610420526103c05161044052606435610460526103fc600073c2d95eef97ec6c17551d45e77b590dc1f9117c675af115615b8157602061046060246370a082316103e05230610400526103fc610340515afa15615b8157601f3d1115615b81576000506104605161026051808210615b815780820390509050610260525b63a9059cbb6103e4526004610404808080610140518152505060208101905080806102605181525050604090509050016103e0526103e08051602001806104608284600060045af115615b815750506020610500610460516104806000610340515af115615b815760203d80821115612da75780612da9565b815b905090506104e0526104e08051602001806103608284600060045af115615b815750506000610360511115612e0b576103608060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b337fd013ca23e77a65003c2c659c5442c00c805371b7fc1ebd4c206c41d1536bd90b6103e08080806004358152505060208101905080806103c05181525050602081019050808060243581525050602081019050808061026051815250506080905090506103e0a261026051600052600060025560206000f35b635b36389c811415612e9b573361014052612ec6565b633eb1719f811415612ec15760643560a01c615b81576020606461014037600050612ec6565b61322c565b600354615b81576001600355601a5461016052604036610180376101c060006002818352015b60016101c0516002811015615b815702600901546101e0526101e051600435808202821582848304141715615b81578090509050905061016051808015615b81578204905090506102005260246101c0516002811015615b815760200201356102005110615b81576101e05161020051808210615b81578082039050905060016101c0516002811015615b81570260090155610200516101806101c0516002811015615b8157602002015260016101c0511415612ff75773ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b8157600060006024632e1a7d4d61022052610200516102405261023c600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b81575b63a9059cbb6102845260046102a480808061014051815250506020810190508080610200518152505060409050905001610280526102808051602001806103008284600060045af115615b8157505060206103a061030051610320600060016101c0516002811015615b815702600701545af115615b815760203d808211156130805780613082565b815b90509050610380526103808051602001806102208284600060045af115615b8157505060006102205111156130e4576102208060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b5b8151600101808352811415612eec575b5050601b543b15615b815760006000602463026c33496101c052336101e0526101dc6000601b545af115615b81576101608051600435808210615b81578082039050905081525060183360e05260c052604060c0208054600435808210615b81578082039050905081555061016051601a556000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6101c0808080600435815250506020905090506101c0a3337f7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c6101c08080808080610180518152505060208101905080806101a05181525050505060408101905080808080600081525050602081019050808060008152505050506040810190508080610160518152505060a0905090506101c0a260006003556040610180f35b63e310327381141561324257336101405261326d565b6352d2cfdd8114156132685760643560a01c615b8157602060646101403760005061326d565b613a5d565b600454615b8157600160045561014051610160516006580161489c565b61018052610160526101405261018051610160526020610220600463bb7b8b806101c0526101dc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b8157600050610220516102405260105461018052610240516101a052600980546101c05260018101546101e052506101405161016051610180516101a0516101c0516101e0516102005161018051610220526101a051610240526101c051610260526101e05161028052610160516102a0526102a0516102805161026051610240516102205160065801614d77565b61030052610200526101e0526101c0526101a05261018052610160526101405261030051610200526101c051610220526101e0516102405261026060006002818352015b6004610260516002811015615b8157602002013561028052600161026051141561341f5773ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b8157600060006024632e1a7d4d6102a052610280516102c0526102bc600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b81575b600061028051181561354457610220610260516002811015615b815760200201805161028051808210615b81578082039050905081525063a9059cbb61030452600461032480808061014051815250506020810190508080610280518152505060409050905001610300526103008051602001806103808284600060045af115615b815750506020610420610380516103a060006001610260516002811015615b815702600701545af115615b815760203d808211156134df57806134e1565b815b90509050610400526104008051602001806102a08284600060045af115615b8157505060006102a0511115613543576102a08060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b5b5b81516001018083528114156133a7575b50506101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161018051610280526101a0516102a052610220516102c052610240516102e0526101605161030052610300516102e0516102c0516102a0516102805160065801614d77565b61036052610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052610360516102605260403661028037600b546002808202821582848304141715615b8157809050905090506004808204905090506102c0526102e060006002818352015b610260516101c06102e0516002811015615b81576020020151808202821582848304141715615b81578090509050905061020051808015615b8157820490509050610300526000610320526102206102e0516002811015615b8157602002015161034052610340516103005111156136c5576103005161034051808210615b815780820390509050610320526136e0565b6103405161030051808210615b815780820390509050610320525b6102c05161032051808202821582848304141715615b8157809050905090506402540be400808204905090506102806102e0516002811015615b81576020020152610340516102806102e0516002811015615b8157602002015164012a05f200808202821582848304141715615b8157809050905090506402540be40080820490509050808210615b81578082039050905060016102e0516002811015615b815702600901556102206102e0516002811015615b81576020020180516102806102e0516002811015615b81576020020151808210615b8157808203905090508152505b8151600101808352811415613634575b50506101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c0516102e05161018051610300526101a05161032052610220516103405261024051610360526101605161038052610380516103605161034051610320516103005160065801614d77565b6103e0526102e0526102c0526102a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103e0516102e052601a5461030052610200516102e051808210615b81578082039050905061030051808202821582848304141715615b81578090509050905061020051808015615b815782049050905060018181830110615b815780820190509050610320526001610320511115615b81576044356103205111615b8157601b543b15615b815760006000602463026c334961034052336103605261035c6000601b545af115615b8157610300805161032051808210615b81578082039050905081525061030051601a5560183360e05260c052604060c020805461032051808210615b8157808203905090508155506000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6103408080806103205181525050602090509050610340a3337f2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e610340808080808060043581525050602081019050808060243581525050505060408101905080808080610280518152505060208101905080806102a051815250505050604081019050808061026051815250506020810190508080610300518152505060c090509050610340a261032051600052600060045560206000f35b63cc2b27d7811415613ab25760243580607f1d8160801d1415615b815780905050600435610140526024356101605261016051610140516006580161558f565b6101c0526101e0526101c05160005260206000f35b631a4d01d2811415613ac8573361014052613af3565b63081579a5811415613aee5760643560a01c615b81576020606461014037600050613af3565b613e39565b600554615b8157600160055560243580607f1d8160801d1415615b8157809050506101405161016051610180516004356101a0526024356101c0526101c0516101a0516006580161558f565b6102205261024052610180526101605261014052610220805161016052806020015161018052506044356101605110615b815760016024356002811015615b8157026009018054610160516101805164012a05f200808202821582848304141715615b8157809050905090506402540be400808204905090508181830110615b815780820190509050808210615b815780820390509050815550601b543b15615b815760006000602463026c33496101a052336101c0526101bc6000601b545af115615b8157601a54600435808210615b8157808203905090506101a0526101a051601a5560183360e05260c052604060c0208054600435808210615b8157808203905090508155506000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6101c0808080600435815250506020905090506101c0a360016024351415613ce25773ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b8157600060006024632e1a7d4d6101c052610160516101e0526101dc600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b81575b63a9059cbb61022452600461024480808061014051815250506020810190508080610160518152505060409050905001610220526102208051602001806102a08284600060045af115615b8157505060206103406102a0516102c0600060016024356002811015615b815702600701545af115615b815760203d80821115613d6a5780613d6c565b815b90509050610320526103208051602001806101c08284600060045af115615b8157505060006101c0511115613dce576101c08060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b337f5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a0610220808080600435815250506020810190508080610160518152505060208101905080806101a05181525050606090509050610220a261016051600052600060055560206000f35b633c157e64811415613fef5760206101a0600463f851a4406101405261015c6006545afa15615b8157601f3d1115615b81576000506101a051331415615b8157600e54620151808181830110615b8157808201905090504210615b815742620151808181830110615b81578082019050905060243510615b8157610140516006580161489c565b610160526101405261016051610140526004356064808202821582848304141715615b8157809050905090506101605260006004351115613f0857620f424060043510613f0b565b60005b15615b815761014051610160511015613f49576101405161016051600a808202821582848304141715615b81578090509050905010615b8157613f70565b61014051600a808202821582848304141715615b8157809050905090506101605111615b81575b61014051600c5561016051600d5542600e55602435600f557fa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c25461018080808061014051815250506020810190508080610160518152505060208101905080804281525050602081019050808060243581525050608090509050610180a1005b63551a65888114156140aa5760206101a0600463f851a4406101405261015c6006545afa15615b8157601f3d1115615b81576000506101a051331415615b8157610140516006580161489c565b6101605261014052610160516101405261014051600c5561014051600d5542600e5542600f557f46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938610160808080610140518152505060208101905080804281525050604090509050610160a1005b63e2e7d26481141561414f5760016004356002811015615b8157026007015461014052600160043514156140f25773ffbacce0cc7c19d46132f1258fc16cf6871d153c610140525b60206101e060246370a0823161016052306101805261017c610140515afa15615b8157601f3d1115615b81576000506101e05160016004356002811015615b81570260090154808210615b81578082039050905060005260206000f35b6330c540858114156144d8576006546101405260075461016052602061022060246370a082316101a052306101c0526101bc610160515afa15615b8157601f3d1115615b815760005061022051600954808210615b8157808203905090506101805260006101805111156142cb5763a9059cbb61020452600461022480808061014051815250506020810190508080610180518152505060409050905001610200526102008051602001806102808284600060045af115615b815750506020610320610280516102a06000610160515af115615b815760203d808211156142365780614238565b815b90509050610300526103008051602001806101a08284600060045af115615b8157505060006101a051111561429a576101a08060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b6020610260600463bcc981d26102005261021c6000610140515af115615b8157601f3d1115615b8157600050610260505b60085461016052602061022060246370a082316101a052306101c0526101bc73ffbacce0cc7c19d46132f1258fc16cf6871d153c5afa15615b8157601f3d1115615b815760005061022051600a54808210615b8157808203905090506101805273ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b8157600060006024632e1a7d4d6101a052610180516101c0526101bc600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b8157602061022060246370a082316101a052306101c0526101bc610160515afa15615b8157601f3d1115615b8157600050610220516101805260006101805111156144d6576020610240602463154aa8f56101c052306101e0526101dc610140515afa15615b8157601f3d1115615b8157600050610240516101a05263a9059cbb6102245260046102448080806101a051815250506020810190508080610180518152505060409050905001610220526102208051602001806102a08284600060045af115615b8157505060206103406102a0516102c06000610160515af115615b815760203d808211156144715780614473565b815b90509050610320526103208051602001806101c08284600060045af115615b8157505060006101c05111156144d5576101c08060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b5b005b63c66106578114156145005760016004356002811015615b8157026007015460005260206000f35b634903b0d18114156145285760016004356002811015615b8157026009015460005260206000f35b63ddca3f4381141561454057600b5460005260206000f35b635409491a81141561455857600c5460005260206000f35b63b4b577ad81141561457057600d5460005260206000f35b632081066c81141561458857600e5460005260206000f35b63140522888114156145a057600f5460005260206000f35b6306fdde0381141561463d57601180610180602082540161012060006003818352015b826101205160200211156145d6576145f8565b61012051850154610120516020028501525b81516001018083528114156145c3575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6395d89b418114156146da57601580610180602082540161012060006002818352015b8261012051602002111561467357614695565b61012051850154610120516020028501525b8151600101808352811415614660575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6370a0823181141561470a5760043560a01c615b8157601860043560e05260c052604060c0205460005260206000f35b63dd62ed3e8114156147525760043560a01c615b815760243560a01c615b8157601960043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b6318160ddd81141561476a57601a5460005260206000f35b6364817b8a81141561478257601b5460005260206000f35b505b60006000fd5b6101a052610140526101605261018052601b546101c0526101c0513b15615b815760006000602463026c33496101e05261014051610200526101fc60006101c0515af115615b815760186101405160e05260c052604060c020805461018051808210615b8157808203905090508155506101c0513b15615b815760006000602463026c33496101e05261016051610200526101fc60006101c0515af115615b815760186101605160e05260c052604060c0208054610180518181830110615b81578082019050905081555061016051610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6101e080808061018051815250506020905090506101e0a36101a051565b61014052600f5461016052600d5461018052610160514210156149e257600c546101a052600e546101c0526101a05161018051111561495c576101a051610180516101a051808210615b815780820390509050426101c051808210615b815780820390509050808202821582848304141715615b815780905090509050610160516101c051808210615b815780820390509050808015615b81578204905090508181830110615b81578082019050905060005260005161014051566149dd565b6101a0516101a05161018051808210615b815780820390509050426101c051808210615b815780820390509050808202821582848304141715615b815780905090509050610160516101c051808210615b815780820390509050808015615b8157820490509050808210615b81578082039050905060005260005161014051565b6149f2565b6101805160005260005161014051565b005b6101c0526101405261016052610180526101a0526040366101e03761022060006002818352015b610140610220516002811015615b81576020020151610180610220516002811015615b81576020020151808202821582848304141715615b815780905090509050670de0b6b3a7640000808204905090506101e0610220516002811015615b815760200201525b8151600101808352811415614a1b575b50506040610220525b60006102205111614aab57614ac7565b602061022051036101e001516020610220510361022052614a9b565b6101c051565b6101a0526101405261016052610180526040366101c03761022060006002818352015b602061022051026101400151610200526101c08051610200518181830110615b8157808201905090508152505b8151600101808352811415614af0575b50506101c051614b455760006000526000516101a051565b6101c05161020052610180516002808202821582848304141715615b81578090509050905061022052610240600060ff818352015b61020051610260526102a060006002818352015b60206102a051026101400151610280526102605161020051808202821582848304141715615b815780905090509050610280516002808202821582848304141715615b815780905090509050808015615b8157820490509050610260525b8151600101808352811415614b8e575b5050610200516101e052610220516101c051808202821582848304141715615b815780905090509050606480820490509050610260516002808202821582848304141715615b8157809050905090508181830110615b81578082019050905061020051808202821582848304141715615b815780905090509050610220516064808210615b81578082039050905061020051808202821582848304141715615b815780905090509050606480820490509050600361026051808202821582848304141715615b8157809050905090508181830110615b815780820190509050808015615b8157820490509050610200526101e051610200511115614d2e576001610200516101e051808210615b81578082039050905011614d29576102005160005250506000516101a051565b614d5e565b60016101e05161020051808210615b81578082039050905011614d5d576102005160005250506000516101a051565b5b5b8151600101808352811415614b7a575b505060006000fd5b6101e0526101405261016052610180526101a0526101c0526101405161016051610180516101a0516101c0516101e05161020051610220516101405161024052610160516102605261018051610280526101a0516102a0526102a051610280516102605161024051600658016149f4565b610300526103205261022052610200526101e0526101c0526101a052610180526101605261014052610300805161020052806020015161022052506101405161016051610180516101a0516101c0516101e0516102005161022051610200516102405261022051610260526101c0516102805261028051610260516102405160065801614acd565b6102e05261022052610200526101e0526101c0526101a0526101805261016052610140526102e0516000526000516101e051565b6101e0526101405261016052610180526101a0526101c05261016051610140511815615b815760006101605112615b81576002610160511215615b815760006101405112615b81576002610140511215615b81576101405161016051610180516101a0516101c0516101e051610200516006580161489c565b61022052610200526101e0526101c0526101a05261018052610160526101405261022051610200526101405161016051610180516101a0516101c0516101e05161020051610220516101a051610240526101c05161026052610200516102805261028051610260516102405160065801614acd565b6102e05261022052610200526101e0526101c0526101a0526101805261016052610140526102e0516102205260603661024037610220516102a052610200516002808202821582848304141715615b8157809050905090506102c0526102e060006002818352015b610140516102e0511415615015576101805161026052615047565b610160516102e0511815615041576101a06102e0516002811015615b8157602002015161026052615046565b6150b1565b5b6102408051610260518181830110615b8157808201905090508152506102a05161022051808202821582848304141715615b815780905090509050610260516002808202821582848304141715615b815780905090509050808015615b81578204905090506102a0525b8151600101808352811415614ffa575b50506102a05161022051808202821582848304141715615b8157809050905090506064808202821582848304141715615b8157809050905090506102c0516002808202821582848304141715615b815780905090509050808015615b81578204905090506102a05261024051610220516064808202821582848304141715615b8157809050905090506102c051808015615b81578204905090508181830110615b8157808201905090506102e0526102205161030052610320600060ff818352015b61030051610280526103005161030051808202821582848304141715615b8157809050905090506102a0518181830110615b815780820190509050600261030051808202821582848304141715615b8157809050905090506102e0518181830110615b81578082019050905061022051808210615b815780820390509050808015615b815782049050905061030052610280516103005111156152545760016103005161028051808210615b8157808203905090501161524f576103005160005250506000516101e051565b615284565b60016102805161030051808210615b81578082039050905011615283576103005160005250506000516101e051565b5b5b8151600101808352811415615183575b505060006000fd5b6101e0526101405261016052610180526101a0526101c05260006101605112615b81576002610160511215615b8157606036610200376101c05161026052610140516002808202821582848304141715615b815780905090509050610280526102a060006002818352015b610160516102a0511815615334576101806102a0516002811015615b8157602002015161022052615339565b6153a3565b6102008051610220518181830110615b815780820190509050815250610260516101c051808202821582848304141715615b815780905090509050610220516002808202821582848304141715615b815780905090509050808015615b8157820490509050610260525b8151600101808352811415615308575b5050610260516101c051808202821582848304141715615b8157809050905090506064808202821582848304141715615b815780905090509050610280516002808202821582848304141715615b815780905090509050808015615b815782049050905061026052610200516101c0516064808202821582848304141715615b81578090509050905061028051808015615b81578204905090508181830110615b8157808201905090506102a0526101c0516102c0526102e0600060ff818352015b6102c051610240526102c0516102c051808202821582848304141715615b815780905090509050610260518181830110615b81578082019050905060026102c051808202821582848304141715615b8157809050905090506102a0518181830110615b8157808201905090506101c051808210615b815780820390509050808015615b81578204905090506102c052610240516102c05111156155465760016102c05161024051808210615b81578082039050905011615541576102c05160005250506000516101e051565b615576565b6001610240516102c051808210615b81578082039050905011615575576102c05160005250506000516101e051565b5b5b8151600101808352811415615475575b505060006000fd5b6101805261014052610160526101405161016051610180516101a0516006580161489c565b6101c0526101a0526101805261016052610140526101c0516101a0526020610260600463bb7b8b806102005261021c73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b815760005061026051610280526010546101c052610280516101e0526101405161016051610180516101a0516101c0516101e05161020051610220516101c051610240526101e05161026052600980546102805260018101546102a052506102a051610280516102605161024051600658016149f4565b610300526103205261022052610200526101e0526101c0526101a052610180526101605261014052610300805161020052806020015161022052506101405161016051610180516101a0516101c0516101e051610200516102205161024051610200516102605261022051610280526101a0516102a0526102a051610280516102605160065801614acd565b610300526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103005161024052601a5461026052610240516101405161024051808202821582848304141715615b81578090509050905061026051808015615b8157820490509050808210615b815780820390509050610280526101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516101a0516102c052610160516102e0526102005161030052610220516103205261028051610340526103405161032051610300516102e0516102c0516006580161529d565b6103a0526102a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103a0516102a052600b546002808202821582848304141715615b8157809050905090506004808204905090506102c0526040366102e03761032060006002818352015b600061034052610200610320516002811015615b8157602002015161036052610160516103205114156158eb576103605161028051808202821582848304141715615b81578090509050905061024051808015615b81578204905090506102a051808210615b81578082039050905061034052615932565b610360516103605161028051808202821582848304141715615b81578090509050905061024051808015615b8157820490509050808210615b815780820390509050610340525b610360516102c05161034051808202821582848304141715615b8157809050905090506402540be40080820490509050808210615b8157808203905090506102e0610320516002811015615b815760200201525b8151600101808352811415615873575b50506102e0610160516002811015615b81576020020151610140610340525b610340515160206103405101610340526103406103405110156159d7576159b5565b6101a0516103605261016051610380526102e0516103a052610300516103c052610280516103e0526103e0516103c0516103a05161038051610360516006580161529d565b61044052610320610340525b610340515260206103405103610340526101406103405110615a4957615a28565b61044051808210615b81578082039050905061032052610200610160516002811015615b815760200201516102a051808210615b815780820390509050670de0b6b3a7640000808202821582848304141715615b8157809050905090506101c0610160516002811015615b81576020020151808015615b815782049050905061034052610320516001808210615b815780820390509050670de0b6b3a7640000808202821582848304141715615b8157809050905090506101c0610160516002811015615b81576020020151808015615b81578204905090506103205261032051610380526103405161032051808210615b8157808203905090506103a0526040610360525b60006103605111615b5f57615b7b565b6020610360510361038001516020610360510361036052615b4f565b61018051565b600080fd5b61000a615b900361000a60003961000a615b90036000f3

Deployed Bytecode

0x600436101561000d57614784565b600035601c5260005134615b81576398094be08114156105045760406004356004016101403760206004356004013511615b8157602a6024356004016101a037600a6024356004013511615b815760443560a01c615b8157600b54615b81576084356064808202821582848304141715615b815780905090509050610200526007604435815573f8a57c1d3b9629b77b6726a042ca48990a84fb4960018201555060643560105561020051600c5561020051600d5560a435600b55336006556000601f610220527f43757276652e666920466163746f727920555344204d657461706f6f6c3a200061024052610220601f8060208461028001018260208501600060045af150508051820191505061014060208060208461028001018260208501600060045af150508051820191505080610280526102809050806011602082510161012060006003818352015b8261012051602002111561016e57610190565b61012051602002850151610120518501555b815160010180835281141561015b575b50505050505060006101a0600a8060208461028001018260208501600060045af15050805182019150506006610220527f334352562d6600000000000000000000000000000000000000000000000000006102405261022060068060208461028001018260208501600060045af150508051820191505080610280526102809050806015602082510161012060006002818352015b826101205160200211156102385761025a565b61012051602002850151610120518501555b8151600101808352811415610225575b5050505050507f602d3d8160093d39f3363d3d373d3d3d363d7300000000000000000000000000610240527f903d3c74843e91074742934ffc53baf066d3358d000000000000000000000000610253527f5af43d82803e903d91602b57fd5bf300000000000000000000000000000000006102675260366102406000f061022052610220513b15615b815760006000602463c4d66de86102405273ffbacce0cc7c19d46132f1258fc16cf6871d153c6102605261025c6000610220515af115615b815761022051601b5573ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b815760006000602463bdf9811661024052610220516102605261025c600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b8157735c2ed810328349100a66b82b78a1791b101c9d616102805273dbf31df14b66535af65aac99c32e9ea844e145016102a05261026060006002818352015b60206102605102610280015161024052610240513b15615b815760006000604463095ea7b36102c05273c2d95eef97ec6c17551d45e77b590dc1f9117c676102e0527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610300526102dc6000610240515af115615b81575b81516001018083528114156103b5575b505073f8a57c1d3b9629b77b6726a042ca48990a84fb493b15615b815760006000604463095ea7b36102405273ffbacce0cc7c19d46132f1258fc16cf6871d153c610260527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6102805261025c600073f8a57c1d3b9629b77b6726a042ca48990a84fb495af115615b81573060007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610240808080600081525050602090509050610240a3005b63313ce56781141561051b57601260005260206000f35b63a9059cbb8114156105675760043560a01c615b8157336101405260043561016052602435610180526101805161016051610140516006580161478a565b600050600160005260206000f35b6323b872dd81141561063e5760043560a01c615b815760243560a01c615b81576004356101405260243561016052604435610180526101805161016051610140516006580161478a565b600050601960043560e05260c052604060c0203360e05260c052604060c02054610140527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101405118156106335761014051604435808210615b815780820390509050601960043560e05260c052604060c0203360e05260c052604060c020555b600160005260206000f35b63095ea7b38114156106bb5760043560a01c615b815760243560193360e05260c052604060c02060043560e05260c052604060c02055600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92561014080808060243581525050602090509050610140a3600160005260206000f35b63fee3f7f98114156106d65764012a05f20060005260206000f35b63f446c1d0811415610705576006580161489c565b610140526101405160648082049050905060005260206000f35b6376a2f0f081141561072b576006580161489c565b610140526101405160005260206000f35b63bb7b8b808114156108ca57610140516006580161489c565b610160526101405261016051610140526020610200600463bb7b8b806101a0526101bc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b815760005061020051610220526010546101605261022051610180526101405161016051610180516101a0516101c051610160516101e05261018051610200526009805461022052600181015461024052506102405161022051610200516101e051600658016149f4565b6102a0526102c0526101c0526101a0526101805261016052610140526102a080516101a05280602001516101c052506101405161016051610180516101a0516101c0516101e0516101a051610200526101c05161022052610140516102405261024051610220516102005160065801614acd565b6102a0526101e0526101c0526101a0526101805261016052610140526102a0516101e0526101e051670de0b6b3a7640000808202821582848304141715615b815780905090509050601a54808015615b815782049050905060005260206000f35b63ed8e84f3811415610b885760443560011c615b8157610140516006580161489c565b610160526101405261016051610140526020610200600463bb7b8b806101a0526101bc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b81576000506102005161022052601054610160526102205161018052600980546101a05260018101546101c052506101405161016051610180516101a0516101c0516101e051610160516102005261018051610220526101a051610240526101c051610260526101405161028052610280516102605161024051610220516102005160065801614d77565b6102e0526101e0526101c0526101a0526101805261016052610140526102e0516101e05261020060006002818352015b6004610200516002811015615b815760200201356102205260443515610a40576101a0610200516002811015615b8157602002018051610220518181830110615b815780820190509050815250610a6c565b6101a0610200516002811015615b815760200201805161022051808210615b8157808203905090508152505b5b81516001018083528114156109ee575b50506101405161016051610180516101a0516101c0516101e05161020051610160516102205261018051610240526101a051610260526101c05161028052610140516102a0526102a0516102805161026051610240516102205160065801614d77565b61030052610200526101e0526101c0526101a052610180526101605261014052610300516102005260006102205260443515610b3557610200516101e051808210615b81578082039050905061022052610b50565b6101e05161020051808210615b815780820390509050610220525b61022051601a54808202821582848304141715615b8157809050905090506101e051808015615b815782049050905060005260206000f35b630b4c7e4d811415610b9e573361014052610bc9565b630c3e4b54811415610bc45760643560a01c615b81576020606461014037600050610bc9565b6113d8565b600054615b8157600160005561014051610160516006580161489c565b61018052610160526101405261018051610160526020610220600463bb7b8b806101c0526101dc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b8157600050610220516102405260105461018052610240516101a052600980546101c05260018101546101e052506101405161016051610180516101a0516101c0516101e0516102005161018051610220526101a051610240526101c051610260526101e05161028052610160516102a0526102a0516102805161026051610240516102205160065801614d77565b61030052610200526101e0526101c0526101a05261018052610160526101405261030051610200526101c051610220526101e05161024052601a546102605261028060006002818352015b6004610280516002811015615b815760200201356102a0526102a051610d3b576000610260511115615b8157610e60565b6323b872dd61032452600461034480808033815250506020810190508080308152505060208101905080806102a0518152505060609050905001610320526103208051602001806103c08284600060045af115615b8157505060206104806103c0516103e060006001610280516002811015615b815702600701545af115615b815760203d80821115610dce5780610dd0565b815b90509050610460526104608051602001806102c08284600060045af115615b8157505060006102c0511115610e32576102c08060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b610220610280516002811015615b81576020020180516102a0518181830110615b8157808201905090508152505b5b8151600101808352811415610d0a575b50506101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161028051610180516102a0526101a0516102c052610220516102e0526102405161030052610160516103205261032051610300516102e0516102c0516102a05160065801614d77565b6103805261028052610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052610380516102805261020051610280511115615b81576060366102a037600061026051111561120257600b546002808202821582848304141715615b8157809050905090506004808204905090506103005261032060006002818352015b610280516101c0610320516002811015615b81576020020151808202821582848304141715615b81578090509050905061020051808015615b815782049050905061034052600061036052610220610320516002811015615b815760200201516103805261038051610340511115611003576103405161038051808210615b8157808203905090506103605261101e565b6103805161034051808210615b815780820390509050610360525b6103005161036051808202821582848304141715615b8157809050905090506402540be400808204905090506102a0610320516002811015615b81576020020152610380516102a0610320516002811015615b8157602002015164012a05f200808202821582848304141715615b8157809050905090506402540be40080820490509050808210615b8157808203905090506001610320516002811015615b81570260090155610220610320516002811015615b81576020020180516102a0610320516002811015615b81576020020151808210615b8157808203905090508152505b8151600101808352811415610f72575b5050610140610340525b6103405151602061034051016103405261034061034051101561113d5761111b565b61018051610360526101a05161038052610220516103a052610240516103c052610160516103e0526103e0516103c0516103a051610380516103605160065801614d77565b61044052610320610340525b6103405152602061034051036103405261014061034051106111af5761118e565b6104405161032052610260516103205161020051808210615b815780820390509050808202821582848304141715615b81578090509050905061020051808015615b81578204905090506102e05261121d565b600961022051815561024051600182015550610280516102e0525b6044356102e05110615b815773ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b815760006000602463b6b55f25610300526024356103205261031c600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b8157601b543b15615b815760006000602463026c334961030052610140516103205261031c6000601b545af115615b815761026080516102e0518181830110615b81578082019050905081525060186101405160e05260c052604060c02080546102e0518181830110615b81578082019050905081555061026051601a556101405160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6103008080806102e05181525050602090509050610300a3337f26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a7686103008080808080600435815250506020810190508080602435815250505050604081019050808080806102a0518152505060208101905080806102c051815250505050604081019050808061028051815250506020810190508080610260518152505060c090509050610300a26102e051600052600060005560206000f35b635e0d443f81141561167e5760043580607f1d8160801d1415615b81578090505060243580607f1d8160801d1415615b81578090505060206101e0600463bb7b8b806101805261019c73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b81576000506101e051610200526010546101405261020051610160526101405161016051610180516101a051610140516101c052610160516101e05260098054610200526001810154610220525061022051610200516101e0516101c051600658016149f4565b610280526102a0526101a05261018052610160526101405261028080516101805280602001516101a052506101806004356002811015615b815760200201516044356101406004356002811015615b81576020020151808202821582848304141715615b815780905090509050670de0b6b3a7640000808204905090508181830110615b8157808201905090506101c0526101405161016051610180516101a0516101c0516101e05160406004610200376101c0516102405261018051610260526101a05161028052610280516102605161024051610220516102005160065801614ea4565b6102e0526101e0526101c0526101a0526101805261016052610140526102e0516101e0526101806024356002811015615b815760200201516101e051808210615b8157808203905090506001808210615b81578082039050905061020052600b5461020051808202821582848304141715615b8157809050905090506402540be40080820490509050610220526102005161022051808210615b815780820390509050670de0b6b3a7640000808202821582848304141715615b8157809050905090506101406024356002811015615b81576020020151808015615b815782049050905060005260206000f35b6307211ef7811415611bd75760043580607f1d8160801d1415615b81578090505060243580607f1d8160801d1415615b81578090505060206101e0600463bb7b8b806101805261019c73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b81576000506101e051610200526010546101405261020051610160526101405161016051610180516101a051610140516101c052610160516101e05260098054610200526001810154610220525061022051610200516101e0516101c051600658016149f4565b610280526102a0526101a05261018052610160526101405261028080516101805280602001516101a0525060a0366101c037600060043518156117b657600435600180820380607f1d8160801d1415615b8157809050905090506101e0526001610220525b600060243518156117e957602435600180820380607f1d8160801d1415615b815780905090509050610200526001610240525b60043561184b576101806004356002811015615b8157602002015160443561014051670de0b6b3a764000080820490509050808202821582848304141715615b8157809050905090508181830110615b8157808201905090506101c0526119f3565b60243561199357604036610260376044356102606101e0516002811015615b815760200201526020610360606463ed8e84f36102a052610260516102c052610280516102e0526001610300526102bc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b81576000506103605161016051808202821582848304141715615b815780905090509050670de0b6b3a7640000808204905090506101c0526101c080516101c0516020610300600463ddca3f436102a0526102bc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b815760005061030051808202821582848304141715615b8157809050905090506404a817c80080820490509050808210615b8157808203905090508152506101c080516101a0518181830110615b8157808201905090508152506119f2565b60206103206064635e0d443f610260526101e05161028052610200516102a0526044356102c05261027c73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b81576000506103205160005260206000f35b5b6101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516102205161028052610240516102a0526101c0516102c052610180516102e0526101a05161030052610300516102e0516102c0516102a0516102805160065801614ea4565b61036052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103605161026052610180610240516002811015615b8157602002015161026051808210615b8157808203905090506001808210615b8157808203905090506102805261028051600b5461028051808202821582848304141715615b8157809050905090506402540be40080820490509050808210615b81578082039050905061028052602435611b4557610280805161014051670de0b6b3a764000080820490509050808015615b8157820490509050815250611bca565b6020610340604463cc2b27d76102a05261028051670de0b6b3a7640000808202821582848304141715615b81578090509050905061016051808015615b81578204905090506102c052610200516102e0526102bc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b815760005061034051610280525b6102805160005260206000f35b633df02124811415611bed573361014052611c18565b63ddc1f59d811415611c135760843560a01c615b81576020608461014037600050611c18565b612315565b600154615b8157600160015560043580607f1d8160801d1415615b81578090505060243580607f1d8160801d1415615b8157809050506020610200600463bb7b8b806101a0526101bc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b81576000506102005161022052601054610160526102205161018052600980546101a05260018101546101c052506101405161016051610180516101a0516101c0516101e05161020051610160516102205261018051610240526101a051610260526101c0516102805261028051610260516102405161022051600658016149f4565b6102e05261030052610200526101e0526101c0526101a0526101805261016052610140526102e080516101e052806020015161020052506101e06004356002811015615b815760200201516044356101606004356002811015615b81576020020151808202821582848304141715615b815780905090509050670de0b6b3a7640000808204905090508181830110615b815780820190509050610220526101405161016051610180516101a0516101c0516101e0516102005161022051610240516040600461026037610220516102a0526101e0516102c052610200516102e0526102e0516102c0516102a051610280516102605160065801614ea4565b610340526102405261022052610200526101e0526101c0526101a05261018052610160526101405261034051610240526101e06024356002811015615b8157602002015161024051808210615b8157808203905090506001808210615b8157808203905090506102605261026051600b54808202821582848304141715615b8157809050905090506402540be40080820490509050610280526102605161028051808210615b815780820390509050670de0b6b3a7640000808202821582848304141715615b8157809050905090506101606024356002811015615b81576020020151808015615b8157820490509050610260526064356102605110615b81576102805164012a05f200808202821582848304141715615b8157809050905090506402540be400808204905090506102a0526102a051670de0b6b3a7640000808202821582848304141715615b8157809050905090506101606024356002811015615b81576020020151808015615b81578204905090506102a0526101a06004356002811015615b815760200201516044358181830110615b81578082019050905060016004356002811015615b815702600901556101a06024356002811015615b8157602002015161026051808210615b8157808203905090506102a051808210615b81578082039050905060016024356002811015615b815702600901556323b872dd61032452600461034480808033815250506020810190508080308152505060208101905080806044358152505060609050905001610320526103208051602001806103c08284600060045af115615b8157505060206104806103c0516103e0600060016004356002811015615b815702600701545af115615b815760203d808211156120965780612098565b815b90509050610460526104608051602001806102c08284600060045af115615b8157505060006102c05111156120fa576102c08060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b6001600435141561215c5773ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b815760006000602463b6b55f25610320526044356103405261033c600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b81576121b0565b73ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b8157600060006024632e1a7d4d61032052610260516103405261033c600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b81575b63a9059cbb61032452600461034480808061014051815250506020810190508080610260518152505060409050905001610320526103208051602001806103a08284600060045af115615b8157505060206104406103a0516103c0600060016024356002811015615b815702600701545af115615b815760203d80821115612238578061223a565b815b90509050610420526104208051602001806102c08284600060045af115615b8157505060006102c051111561229c576102c08060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b337f8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd971406103208080806004358152505060208101905080806044358152505060208101905080806024358152505060208101905080806102605181525050608090509050610320a261026051600052600060015560206000f35b63a6417ed681141561232b573361014052612356565b6344ee19868114156123515760843560a01c615b81576020608461014037600050612356565b612e85565b600254615b8157600160025560043580607f1d8160801d1415615b81578090505060243580607f1d8160801d1415615b8157809050506020610200600463bb7b8b806101a0526101bc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b81576000506102005161022052601054610160526102205161018052600980546101a05260018101546101c052506101405161016051610180516101a0516101c0516101e05161020051610160516102205261018051610240526101a051610260526101c0516102805261028051610260516102405161022051600658016149f4565b6102e05261030052610200526101e0526101c0526101a0526101805261016052610140526102e080516101e05280602001516102005250735c2ed810328349100a66b82b78a1791b101c9d616102205273dbf31df14b66535af65aac99c32e9ea844e145016102405261010036610260376004356124c9576007546103205261250a565b600435600180820380607f1d8160801d1415615b8157809050905090506102805260016102c052610220610280516002811015615b81576020020151610320525b60243561251d576007546103405261255e565b602435600180820380607f1d8160801d1415615b8157809050905090506102a05260016102e0526102206102a0516002811015615b81576020020151610340525b6323b872dd6103c45260046103e4808080338152505060208101905080803081525050602081019050808060443581525050606090509050016103c0526103c08051602001806104608284600060045af115615b815750506020610520610460516104806000610320515af115615b815760203d808211156125e057806125e2565b815b90509050610500526105008051602001806103608284600060045af115615b815750506000610360511115612644576103608060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b6044356103c05260043561265957600161265e565b602435155b5b15612c43576004356126d7576101e06004356002811015615b815760200201516103c0516101606004356002811015615b81576020020151808202821582848304141715615b815780905090509050670de0b6b3a7640000808204905090508181830110615b81578082019050905061030052612882565b6040366103e0376103c0516103e0610280516002811015615b815760200201526008546104205260206104c060246370a0823161044052306104605261045c610420515afa15615b8157601f3d1115615b81576000506104c0516103005273c2d95eef97ec6c17551d45e77b590dc1f9117c673b15615b8157600060006064630b4c7e4d610440526103e05161046052610400516104805260006104a05261045c600073c2d95eef97ec6c17551d45e77b590dc1f9117c675af115615b815760206104c060246370a0823161044052306104605261045c610420515afa15615b8157601f3d1115615b81576000506104c05161030051808210615b8157808203905090506103c0526103c05161018051808202821582848304141715615b815780905090509050670de0b6b3a764000080820490509050610300526103008051610200518181830110615b81578082019050905081525073ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b815760006000602463b6b55f25610440526103c0516104605261045c600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b81575b610140610400525b610400515160206104005101610400526104006104005110156128ac5761288a565b6102c051610420526102e0516104405261030051610460526101e05161048052610200516104a0526104a0516104805161046051610440516104205160065801614ea4565b610500526103e0610400525b61040051526020610400510361040052610140610400511061291e576128fd565b610500516103e0526101e06102e0516002811015615b815760200201516103e051808210615b8157808203905090506001808210615b8157808203905090506102605261026051600b54808202821582848304141715615b8157809050905090506402540be40080820490509050610400526102605161040051808210615b815780820390509050670de0b6b3a7640000808202821582848304141715615b8157809050905090506101606102e0516002811015615b81576020020151808015615b8157820490509050610260526104005164012a05f200808202821582848304141715615b8157809050905090506402540be400808204905090506104205261042051670de0b6b3a7640000808202821582848304141715615b8157809050905090506101606102e0516002811015615b81576020020151808015615b8157820490509050610420526101a06102c0516002811015615b815760200201516103c0518181830110615b81578082019050905060016102c0516002811015615b815702600901556101a06102e0516002811015615b8157602002015161026051808210615b81578082039050905061042051808210615b81578082039050905060016102e0516002811015615b8157026009015560006024351315612c325760206104e060246370a0823161046052306104805261047c610340515afa15615b8157601f3d1115615b81576000506104e0516104405273ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b8157600060006024632e1a7d4d61046052610260516104805261047c600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b815773c2d95eef97ec6c17551d45e77b590dc1f9117c673b15615b8157600060006064631a4d01d26104605261026051610480526102a0516104a05260006104c05261047c600073c2d95eef97ec6c17551d45e77b590dc1f9117c675af115615b815760206104e060246370a0823161046052306104805261047c610340515afa15615b8157601f3d1115615b81576000506104e05161044051808210615b815780820390509050610260525b6064356102605110615b8157612d2e565b602061046060246370a082316103e05230610400526103fc610340515afa15615b8157601f3d1115615b8157600050610460516102605273c2d95eef97ec6c17551d45e77b590dc1f9117c673b15615b8157600060006084633df021246103e05261028051610400526102a051610420526103c05161044052606435610460526103fc600073c2d95eef97ec6c17551d45e77b590dc1f9117c675af115615b8157602061046060246370a082316103e05230610400526103fc610340515afa15615b8157601f3d1115615b81576000506104605161026051808210615b815780820390509050610260525b63a9059cbb6103e4526004610404808080610140518152505060208101905080806102605181525050604090509050016103e0526103e08051602001806104608284600060045af115615b815750506020610500610460516104806000610340515af115615b815760203d80821115612da75780612da9565b815b905090506104e0526104e08051602001806103608284600060045af115615b815750506000610360511115612e0b576103608060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b337fd013ca23e77a65003c2c659c5442c00c805371b7fc1ebd4c206c41d1536bd90b6103e08080806004358152505060208101905080806103c05181525050602081019050808060243581525050602081019050808061026051815250506080905090506103e0a261026051600052600060025560206000f35b635b36389c811415612e9b573361014052612ec6565b633eb1719f811415612ec15760643560a01c615b81576020606461014037600050612ec6565b61322c565b600354615b81576001600355601a5461016052604036610180376101c060006002818352015b60016101c0516002811015615b815702600901546101e0526101e051600435808202821582848304141715615b81578090509050905061016051808015615b81578204905090506102005260246101c0516002811015615b815760200201356102005110615b81576101e05161020051808210615b81578082039050905060016101c0516002811015615b81570260090155610200516101806101c0516002811015615b8157602002015260016101c0511415612ff75773ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b8157600060006024632e1a7d4d61022052610200516102405261023c600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b81575b63a9059cbb6102845260046102a480808061014051815250506020810190508080610200518152505060409050905001610280526102808051602001806103008284600060045af115615b8157505060206103a061030051610320600060016101c0516002811015615b815702600701545af115615b815760203d808211156130805780613082565b815b90509050610380526103808051602001806102208284600060045af115615b8157505060006102205111156130e4576102208060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b5b8151600101808352811415612eec575b5050601b543b15615b815760006000602463026c33496101c052336101e0526101dc6000601b545af115615b81576101608051600435808210615b81578082039050905081525060183360e05260c052604060c0208054600435808210615b81578082039050905081555061016051601a556000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6101c0808080600435815250506020905090506101c0a3337f7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c6101c08080808080610180518152505060208101905080806101a05181525050505060408101905080808080600081525050602081019050808060008152505050506040810190508080610160518152505060a0905090506101c0a260006003556040610180f35b63e310327381141561324257336101405261326d565b6352d2cfdd8114156132685760643560a01c615b8157602060646101403760005061326d565b613a5d565b600454615b8157600160045561014051610160516006580161489c565b61018052610160526101405261018051610160526020610220600463bb7b8b806101c0526101dc73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b8157600050610220516102405260105461018052610240516101a052600980546101c05260018101546101e052506101405161016051610180516101a0516101c0516101e0516102005161018051610220526101a051610240526101c051610260526101e05161028052610160516102a0526102a0516102805161026051610240516102205160065801614d77565b61030052610200526101e0526101c0526101a05261018052610160526101405261030051610200526101c051610220526101e0516102405261026060006002818352015b6004610260516002811015615b8157602002013561028052600161026051141561341f5773ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b8157600060006024632e1a7d4d6102a052610280516102c0526102bc600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b81575b600061028051181561354457610220610260516002811015615b815760200201805161028051808210615b81578082039050905081525063a9059cbb61030452600461032480808061014051815250506020810190508080610280518152505060409050905001610300526103008051602001806103808284600060045af115615b815750506020610420610380516103a060006001610260516002811015615b815702600701545af115615b815760203d808211156134df57806134e1565b815b90509050610400526104008051602001806102a08284600060045af115615b8157505060006102a0511115613543576102a08060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b5b5b81516001018083528114156133a7575b50506101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161018051610280526101a0516102a052610220516102c052610240516102e0526101605161030052610300516102e0516102c0516102a0516102805160065801614d77565b61036052610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052610360516102605260403661028037600b546002808202821582848304141715615b8157809050905090506004808204905090506102c0526102e060006002818352015b610260516101c06102e0516002811015615b81576020020151808202821582848304141715615b81578090509050905061020051808015615b8157820490509050610300526000610320526102206102e0516002811015615b8157602002015161034052610340516103005111156136c5576103005161034051808210615b815780820390509050610320526136e0565b6103405161030051808210615b815780820390509050610320525b6102c05161032051808202821582848304141715615b8157809050905090506402540be400808204905090506102806102e0516002811015615b81576020020152610340516102806102e0516002811015615b8157602002015164012a05f200808202821582848304141715615b8157809050905090506402540be40080820490509050808210615b81578082039050905060016102e0516002811015615b815702600901556102206102e0516002811015615b81576020020180516102806102e0516002811015615b81576020020151808210615b8157808203905090508152505b8151600101808352811415613634575b50506101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c0516102e05161018051610300526101a05161032052610220516103405261024051610360526101605161038052610380516103605161034051610320516103005160065801614d77565b6103e0526102e0526102c0526102a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103e0516102e052601a5461030052610200516102e051808210615b81578082039050905061030051808202821582848304141715615b81578090509050905061020051808015615b815782049050905060018181830110615b815780820190509050610320526001610320511115615b81576044356103205111615b8157601b543b15615b815760006000602463026c334961034052336103605261035c6000601b545af115615b8157610300805161032051808210615b81578082039050905081525061030051601a5560183360e05260c052604060c020805461032051808210615b8157808203905090508155506000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6103408080806103205181525050602090509050610340a3337f2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e610340808080808060043581525050602081019050808060243581525050505060408101905080808080610280518152505060208101905080806102a051815250505050604081019050808061026051815250506020810190508080610300518152505060c090509050610340a261032051600052600060045560206000f35b63cc2b27d7811415613ab25760243580607f1d8160801d1415615b815780905050600435610140526024356101605261016051610140516006580161558f565b6101c0526101e0526101c05160005260206000f35b631a4d01d2811415613ac8573361014052613af3565b63081579a5811415613aee5760643560a01c615b81576020606461014037600050613af3565b613e39565b600554615b8157600160055560243580607f1d8160801d1415615b8157809050506101405161016051610180516004356101a0526024356101c0526101c0516101a0516006580161558f565b6102205261024052610180526101605261014052610220805161016052806020015161018052506044356101605110615b815760016024356002811015615b8157026009018054610160516101805164012a05f200808202821582848304141715615b8157809050905090506402540be400808204905090508181830110615b815780820190509050808210615b815780820390509050815550601b543b15615b815760006000602463026c33496101a052336101c0526101bc6000601b545af115615b8157601a54600435808210615b8157808203905090506101a0526101a051601a5560183360e05260c052604060c0208054600435808210615b8157808203905090508155506000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6101c0808080600435815250506020905090506101c0a360016024351415613ce25773ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b8157600060006024632e1a7d4d6101c052610160516101e0526101dc600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b81575b63a9059cbb61022452600461024480808061014051815250506020810190508080610160518152505060409050905001610220526102208051602001806102a08284600060045af115615b8157505060206103406102a0516102c0600060016024356002811015615b815702600701545af115615b815760203d80821115613d6a5780613d6c565b815b90509050610320526103208051602001806101c08284600060045af115615b8157505060006101c0511115613dce576101c08060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b337f5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a0610220808080600435815250506020810190508080610160518152505060208101905080806101a05181525050606090509050610220a261016051600052600060055560206000f35b633c157e64811415613fef5760206101a0600463f851a4406101405261015c6006545afa15615b8157601f3d1115615b81576000506101a051331415615b8157600e54620151808181830110615b8157808201905090504210615b815742620151808181830110615b81578082019050905060243510615b8157610140516006580161489c565b610160526101405261016051610140526004356064808202821582848304141715615b8157809050905090506101605260006004351115613f0857620f424060043510613f0b565b60005b15615b815761014051610160511015613f49576101405161016051600a808202821582848304141715615b81578090509050905010615b8157613f70565b61014051600a808202821582848304141715615b8157809050905090506101605111615b81575b61014051600c5561016051600d5542600e55602435600f557fa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c25461018080808061014051815250506020810190508080610160518152505060208101905080804281525050602081019050808060243581525050608090509050610180a1005b63551a65888114156140aa5760206101a0600463f851a4406101405261015c6006545afa15615b8157601f3d1115615b81576000506101a051331415615b8157610140516006580161489c565b6101605261014052610160516101405261014051600c5561014051600d5542600e5542600f557f46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938610160808080610140518152505060208101905080804281525050604090509050610160a1005b63e2e7d26481141561414f5760016004356002811015615b8157026007015461014052600160043514156140f25773ffbacce0cc7c19d46132f1258fc16cf6871d153c610140525b60206101e060246370a0823161016052306101805261017c610140515afa15615b8157601f3d1115615b81576000506101e05160016004356002811015615b81570260090154808210615b81578082039050905060005260206000f35b6330c540858114156144d8576006546101405260075461016052602061022060246370a082316101a052306101c0526101bc610160515afa15615b8157601f3d1115615b815760005061022051600954808210615b8157808203905090506101805260006101805111156142cb5763a9059cbb61020452600461022480808061014051815250506020810190508080610180518152505060409050905001610200526102008051602001806102808284600060045af115615b815750506020610320610280516102a06000610160515af115615b815760203d808211156142365780614238565b815b90509050610300526103008051602001806101a08284600060045af115615b8157505060006101a051111561429a576101a08060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b6020610260600463bcc981d26102005261021c6000610140515af115615b8157601f3d1115615b8157600050610260505b60085461016052602061022060246370a082316101a052306101c0526101bc73ffbacce0cc7c19d46132f1258fc16cf6871d153c5afa15615b8157601f3d1115615b815760005061022051600a54808210615b8157808203905090506101805273ffbacce0cc7c19d46132f1258fc16cf6871d153c3b15615b8157600060006024632e1a7d4d6101a052610180516101c0526101bc600073ffbacce0cc7c19d46132f1258fc16cf6871d153c5af115615b8157602061022060246370a082316101a052306101c0526101bc610160515afa15615b8157601f3d1115615b8157600050610220516101805260006101805111156144d6576020610240602463154aa8f56101c052306101e0526101dc610140515afa15615b8157601f3d1115615b8157600050610240516101a05263a9059cbb6102245260046102448080806101a051815250506020810190508080610180518152505060409050905001610220526102208051602001806102a08284600060045af115615b8157505060206103406102a0516102c06000610160515af115615b815760203d808211156144715780614473565b815b90509050610320526103208051602001806101c08284600060045af115615b8157505060006101c05111156144d5576101c08060200151600082518060209013615b815780919012615b8157806020036101000a820490509050905015615b81575b5b005b63c66106578114156145005760016004356002811015615b8157026007015460005260206000f35b634903b0d18114156145285760016004356002811015615b8157026009015460005260206000f35b63ddca3f4381141561454057600b5460005260206000f35b635409491a81141561455857600c5460005260206000f35b63b4b577ad81141561457057600d5460005260206000f35b632081066c81141561458857600e5460005260206000f35b63140522888114156145a057600f5460005260206000f35b6306fdde0381141561463d57601180610180602082540161012060006003818352015b826101205160200211156145d6576145f8565b61012051850154610120516020028501525b81516001018083528114156145c3575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6395d89b418114156146da57601580610180602082540161012060006002818352015b8261012051602002111561467357614695565b61012051850154610120516020028501525b8151600101808352811415614660575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6370a0823181141561470a5760043560a01c615b8157601860043560e05260c052604060c0205460005260206000f35b63dd62ed3e8114156147525760043560a01c615b815760243560a01c615b8157601960043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b6318160ddd81141561476a57601a5460005260206000f35b6364817b8a81141561478257601b5460005260206000f35b505b60006000fd5b6101a052610140526101605261018052601b546101c0526101c0513b15615b815760006000602463026c33496101e05261014051610200526101fc60006101c0515af115615b815760186101405160e05260c052604060c020805461018051808210615b8157808203905090508155506101c0513b15615b815760006000602463026c33496101e05261016051610200526101fc60006101c0515af115615b815760186101605160e05260c052604060c0208054610180518181830110615b81578082019050905081555061016051610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6101e080808061018051815250506020905090506101e0a36101a051565b61014052600f5461016052600d5461018052610160514210156149e257600c546101a052600e546101c0526101a05161018051111561495c576101a051610180516101a051808210615b815780820390509050426101c051808210615b815780820390509050808202821582848304141715615b815780905090509050610160516101c051808210615b815780820390509050808015615b81578204905090508181830110615b81578082019050905060005260005161014051566149dd565b6101a0516101a05161018051808210615b815780820390509050426101c051808210615b815780820390509050808202821582848304141715615b815780905090509050610160516101c051808210615b815780820390509050808015615b8157820490509050808210615b81578082039050905060005260005161014051565b6149f2565b6101805160005260005161014051565b005b6101c0526101405261016052610180526101a0526040366101e03761022060006002818352015b610140610220516002811015615b81576020020151610180610220516002811015615b81576020020151808202821582848304141715615b815780905090509050670de0b6b3a7640000808204905090506101e0610220516002811015615b815760200201525b8151600101808352811415614a1b575b50506040610220525b60006102205111614aab57614ac7565b602061022051036101e001516020610220510361022052614a9b565b6101c051565b6101a0526101405261016052610180526040366101c03761022060006002818352015b602061022051026101400151610200526101c08051610200518181830110615b8157808201905090508152505b8151600101808352811415614af0575b50506101c051614b455760006000526000516101a051565b6101c05161020052610180516002808202821582848304141715615b81578090509050905061022052610240600060ff818352015b61020051610260526102a060006002818352015b60206102a051026101400151610280526102605161020051808202821582848304141715615b815780905090509050610280516002808202821582848304141715615b815780905090509050808015615b8157820490509050610260525b8151600101808352811415614b8e575b5050610200516101e052610220516101c051808202821582848304141715615b815780905090509050606480820490509050610260516002808202821582848304141715615b8157809050905090508181830110615b81578082019050905061020051808202821582848304141715615b815780905090509050610220516064808210615b81578082039050905061020051808202821582848304141715615b815780905090509050606480820490509050600361026051808202821582848304141715615b8157809050905090508181830110615b815780820190509050808015615b8157820490509050610200526101e051610200511115614d2e576001610200516101e051808210615b81578082039050905011614d29576102005160005250506000516101a051565b614d5e565b60016101e05161020051808210615b81578082039050905011614d5d576102005160005250506000516101a051565b5b5b8151600101808352811415614b7a575b505060006000fd5b6101e0526101405261016052610180526101a0526101c0526101405161016051610180516101a0516101c0516101e05161020051610220516101405161024052610160516102605261018051610280526101a0516102a0526102a051610280516102605161024051600658016149f4565b610300526103205261022052610200526101e0526101c0526101a052610180526101605261014052610300805161020052806020015161022052506101405161016051610180516101a0516101c0516101e0516102005161022051610200516102405261022051610260526101c0516102805261028051610260516102405160065801614acd565b6102e05261022052610200526101e0526101c0526101a0526101805261016052610140526102e0516000526000516101e051565b6101e0526101405261016052610180526101a0526101c05261016051610140511815615b815760006101605112615b81576002610160511215615b815760006101405112615b81576002610140511215615b81576101405161016051610180516101a0516101c0516101e051610200516006580161489c565b61022052610200526101e0526101c0526101a05261018052610160526101405261022051610200526101405161016051610180516101a0516101c0516101e05161020051610220516101a051610240526101c05161026052610200516102805261028051610260516102405160065801614acd565b6102e05261022052610200526101e0526101c0526101a0526101805261016052610140526102e0516102205260603661024037610220516102a052610200516002808202821582848304141715615b8157809050905090506102c0526102e060006002818352015b610140516102e0511415615015576101805161026052615047565b610160516102e0511815615041576101a06102e0516002811015615b8157602002015161026052615046565b6150b1565b5b6102408051610260518181830110615b8157808201905090508152506102a05161022051808202821582848304141715615b815780905090509050610260516002808202821582848304141715615b815780905090509050808015615b81578204905090506102a0525b8151600101808352811415614ffa575b50506102a05161022051808202821582848304141715615b8157809050905090506064808202821582848304141715615b8157809050905090506102c0516002808202821582848304141715615b815780905090509050808015615b81578204905090506102a05261024051610220516064808202821582848304141715615b8157809050905090506102c051808015615b81578204905090508181830110615b8157808201905090506102e0526102205161030052610320600060ff818352015b61030051610280526103005161030051808202821582848304141715615b8157809050905090506102a0518181830110615b815780820190509050600261030051808202821582848304141715615b8157809050905090506102e0518181830110615b81578082019050905061022051808210615b815780820390509050808015615b815782049050905061030052610280516103005111156152545760016103005161028051808210615b8157808203905090501161524f576103005160005250506000516101e051565b615284565b60016102805161030051808210615b81578082039050905011615283576103005160005250506000516101e051565b5b5b8151600101808352811415615183575b505060006000fd5b6101e0526101405261016052610180526101a0526101c05260006101605112615b81576002610160511215615b8157606036610200376101c05161026052610140516002808202821582848304141715615b815780905090509050610280526102a060006002818352015b610160516102a0511815615334576101806102a0516002811015615b8157602002015161022052615339565b6153a3565b6102008051610220518181830110615b815780820190509050815250610260516101c051808202821582848304141715615b815780905090509050610220516002808202821582848304141715615b815780905090509050808015615b8157820490509050610260525b8151600101808352811415615308575b5050610260516101c051808202821582848304141715615b8157809050905090506064808202821582848304141715615b815780905090509050610280516002808202821582848304141715615b815780905090509050808015615b815782049050905061026052610200516101c0516064808202821582848304141715615b81578090509050905061028051808015615b81578204905090508181830110615b8157808201905090506102a0526101c0516102c0526102e0600060ff818352015b6102c051610240526102c0516102c051808202821582848304141715615b815780905090509050610260518181830110615b81578082019050905060026102c051808202821582848304141715615b8157809050905090506102a0518181830110615b8157808201905090506101c051808210615b815780820390509050808015615b81578204905090506102c052610240516102c05111156155465760016102c05161024051808210615b81578082039050905011615541576102c05160005250506000516101e051565b615576565b6001610240516102c051808210615b81578082039050905011615575576102c05160005250506000516101e051565b5b5b8151600101808352811415615475575b505060006000fd5b6101805261014052610160526101405161016051610180516101a0516006580161489c565b6101c0526101a0526101805261016052610140526101c0516101a0526020610260600463bb7b8b806102005261021c73c2d95eef97ec6c17551d45e77b590dc1f9117c675afa15615b8157601f3d1115615b815760005061026051610280526010546101c052610280516101e0526101405161016051610180516101a0516101c0516101e05161020051610220516101c051610240526101e05161026052600980546102805260018101546102a052506102a051610280516102605161024051600658016149f4565b610300526103205261022052610200526101e0526101c0526101a052610180526101605261014052610300805161020052806020015161022052506101405161016051610180516101a0516101c0516101e051610200516102205161024051610200516102605261022051610280526101a0516102a0526102a051610280516102605160065801614acd565b610300526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103005161024052601a5461026052610240516101405161024051808202821582848304141715615b81578090509050905061026051808015615b8157820490509050808210615b815780820390509050610280526101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516101a0516102c052610160516102e0526102005161030052610220516103205261028051610340526103405161032051610300516102e0516102c0516006580161529d565b6103a0526102a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103a0516102a052600b546002808202821582848304141715615b8157809050905090506004808204905090506102c0526040366102e03761032060006002818352015b600061034052610200610320516002811015615b8157602002015161036052610160516103205114156158eb576103605161028051808202821582848304141715615b81578090509050905061024051808015615b81578204905090506102a051808210615b81578082039050905061034052615932565b610360516103605161028051808202821582848304141715615b81578090509050905061024051808015615b8157820490509050808210615b815780820390509050610340525b610360516102c05161034051808202821582848304141715615b8157809050905090506402540be40080820490509050808210615b8157808203905090506102e0610320516002811015615b815760200201525b8151600101808352811415615873575b50506102e0610160516002811015615b81576020020151610140610340525b610340515160206103405101610340526103406103405110156159d7576159b5565b6101a0516103605261016051610380526102e0516103a052610300516103c052610280516103e0526103e0516103c0516103a05161038051610360516006580161529d565b61044052610320610340525b610340515260206103405103610340526101406103405110615a4957615a28565b61044051808210615b81578082039050905061032052610200610160516002811015615b815760200201516102a051808210615b815780820390509050670de0b6b3a7640000808202821582848304141715615b8157809050905090506101c0610160516002811015615b81576020020151808015615b815782049050905061034052610320516001808210615b815780820390509050670de0b6b3a7640000808202821582848304141715615b8157809050905090506101c0610160516002811015615b81576020020151808015615b81578204905090506103205261032051610380526103405161032051808210615b8157808203905090506103a0526040610360525b60006103605111615b5f57615b7b565b6020610360510361038001516020610360510361036052615b4f565b61018051565b600080fd

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.