Contract 0x556ea0b4c06D043806859c9490072FaadC104b63

 
Txn Hash
Block
From
To
Value [Txn Fee]
0x0f1181d87d119652139583c46b2d1f2d5be8f4e7b831a2ca379a4de7d209393c84698482021-06-20 19:48:293 mins ago0x97ce5cb056630337c8147b1253b10227692d79f8 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00040613
0x18cdb9571f28b1eb72b33a3af797da47ddb9cb23762cf2849c993c839088b84584698242021-06-20 19:47:174 mins ago0x97ce5cb056630337c8147b1253b10227692d79f8 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.000487356
0xfd144b939d2e9181c4b43c5e60b96fa352df6d09da580434f8c93c82c560326684698082021-06-20 19:46:295 mins ago0x97ce5cb056630337c8147b1253b10227692d79f8 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00040613
0xdd25ef83639c310833c15c13c0ac30f4025e0b6749d1aa3fbe6d260f3732f72d84695732021-06-20 19:34:4417 mins ago0x97ce5cb056630337c8147b1253b10227692d79f8 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00027945
0xd88d46108037d89294a71fb80db6974e031886da45835e8931652fc60d463b5a84695362021-06-20 19:32:5319 mins ago0x97ce5cb056630337c8147b1253b10227692d79f8 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00121426
0xa15a0b08f3b033d099e9321ed4137ca9cd899391e624f5394cf6d6b8c018a07f84683502021-06-20 18:33:351 hr 18 mins ago0x1a1bffc542688787015b25a1c6696fb59a879aa3 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00099034
0x3467452a41e1fffde26759b08cd78aa9839bec7359db22e07956e8b7d3143b2e84539112021-06-20 6:30:3813 hrs 21 mins ago0xb9a708c67e2e13035a5feb0f1a2f9e3b625ebd62 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00122767
0xdd2220a68bf03324ae3fd399e519f9e7b1c0b7108514ac766ad68520a415f7cc84498302021-06-20 3:06:1616 hrs 45 mins ago0x431e81e5dfb5a24541b5ff8762bdef3f32f96354 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00102611
0xd97b04743b639cead001f1c675dc6490c26e7d0c777e0efa69d00240f7a25faf84498282021-06-20 3:06:1016 hrs 45 mins ago0x431e81e5dfb5a24541b5ff8762bdef3f32f96354 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00118674
0x977905d35e5cb0b13ea194b0c996c1c89edd79902ac4e72f5ab5e1a3135c29e984402322021-06-19 19:06:131 day 45 mins ago0xe2255aea86b7b11ca757f9721478008c599d4014 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00091546
0xa21a26e1ee967d0f0a5dfd94f656a1cc214eb8b973f2a2644137f4cab847acc084400942021-06-19 18:59:191 day 52 mins ago0xe2255aea86b7b11ca757f9721478008c599d4014 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00122755
0x9faf40564f9a5b6c69429a33f2615bfba32073742f7d57a5fd44a0f8a7f57ff184360532021-06-19 15:36:451 day 4 hrs ago0x73a3f23f7f13de6f7f1e0cbe26bad345f96d000e IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00091552
0x958b5389b389492e714ab6d418ac0577a7a2a95921e39a9d8e2e003c887a8a2384360232021-06-19 15:35:151 day 4 hrs ago0x73a3f23f7f13de6f7f1e0cbe26bad345f96d000e IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00118674
0xcac93ad976bfbde85cb14826b44d52439e259afb6c5c24a66a66a6763d77f81384054522021-06-18 13:48:412 days 6 hrs ago0x6ce01abfb87dd5ff535e4015909a12f0d38a0555 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00084591
0x9be45fc424b4ef9076621930cd3b76c055db75aedb501644e7312130bdc57d1e84054022021-06-18 13:46:112 days 6 hrs ago0x950946f0568cfaf0182d921587c86d22978f331f IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.000897415
0x7fb8f4a8b0b669a588f075c7935283a0bfead51ea3abd41dfc49484065d2535284046352021-06-18 13:07:452 days 6 hrs ago0xa00b0540f43e00a634d016a31b0a39d95170e6bf IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00097964
0x49ae6f4e71d7c3bd3add928fb7c4b1ed8ac0c71fbcbcde752a23fc957f5e1c8d83972142021-06-18 6:53:542 days 12 hrs ago0xbc12a9b7da3cefe597c9e3f265b54342e22e2e64 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.001162475
0x9f980b239f949c573482d4854766b9e107fe95383dc987f96328a98b996affd083965652021-06-18 6:21:272 days 13 hrs agoRobonomics: Deployer IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00102611
0x5055da6997fa2302904b2c2bdd51923d9209ef980ad41c08fc375f52a65986d983965622021-06-18 6:21:182 days 13 hrs agoRobonomics: Deployer IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00118686
0x815a905e8240c2bd3df9d739fed922dc3c226b01c2dcab198a5ce2ea3e91434983956892021-06-18 5:37:212 days 14 hrs ago0x431e81e5dfb5a24541b5ff8762bdef3f32f96354 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00102599
0x32224e108f65f68a84bea9435d0e282194eaa189c4a001bfba8ecdb24881134f83956872021-06-18 5:37:152 days 14 hrs ago0x431e81e5dfb5a24541b5ff8762bdef3f32f96354 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00106012
0xd8049f8d003415ba37b980c2071012dab5b08c4a39597a09ceb511eec9016e4583956802021-06-18 5:36:542 days 14 hrs ago0x431e81e5dfb5a24541b5ff8762bdef3f32f96354 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.000859325
0xc53b5211cfbe8e0a486c8baf6ab22d864f505479e6143deaf42a38391e38b87983956782021-06-18 5:36:482 days 14 hrs ago0x431e81e5dfb5a24541b5ff8762bdef3f32f96354 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00079771
0xc84737dae8ab0e874ede2d02b94ae5c1edfbb58c78d276d8f30de9e03462c86383871282021-06-17 22:23:442 days 21 hrs ago0xb3a730d92ee547b06ddcc7a7e3fee172cb9061c8 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00097259
0x4afba0365817c949593fdcc37ae410ce56280e8be903344ae1967dbc0fabd33483804062021-06-17 16:45:573 days 3 hrs ago0x64d51ee92405f2a4fd047f8a285615bdcbaf0852 IN  0x556ea0b4c06d043806859c9490072faadc104b630 BNB0.00099052
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x8866C9f1Cea0Dd633e41208F23DD19430d1Ed306

Contract Name:
Vyper_contract

Compiler Version
vyper:0.2.11

Optimization Enabled:
N/A

Other Settings:
, None license

Contract Source Code (Vyper language format)

# @version 0.2.11
# (c) Curve.Fi, 2020

from vyper.interfaces import ERC20

interface CurveToken:
    def totalSupply() -> uint256: view
    def mint(_to: address, _value: uint256) -> bool: nonpayable
    def burnFrom(_to: address, _value: uint256) -> bool: nonpayable

interface Curve:
    def coins(i: 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 get_dy_underlying(i: int128, j: int128, dx: uint256) -> uint256: view
    def exchange(i: int128, j: int128, dx: uint256, min_dy: uint256): nonpayable
    def add_liquidity(amounts: uint256[BASE_N_COINS], min_mint_amount: uint256): nonpayable
    def remove_liquidity_one_coin(_token_amount: uint256, i: int128, min_amount: uint256): nonpayable

interface FeeConverter:
    def convertFees(): nonpayable


# Events
event TokenExchange:
    buyer: indexed(address)
    sold_id: int128
    tokens_sold: uint256
    bought_id: int128
    tokens_bought: uint256

event TokenExchangeUnderlying:
    buyer: indexed(address)
    sold_id: int128
    tokens_sold: uint256
    bought_id: int128
    tokens_bought: uint256

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

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

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

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

event CommitNewAdmin:
    deadline: indexed(uint256)
    admin: indexed(address)

event NewAdmin:
    admin: indexed(address)

event CommitNewFee:
    deadline: indexed(uint256)
    fee: uint256
    admin_fee: uint256

event NewFee:
    fee: uint256
    admin_fee: uint256

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

event StopRampA:
    A: uint256
    t: uint256


N_COINS: constant(int128) = 2
MAX_COIN: constant(int128) = N_COINS - 1

FEE_DENOMINATOR: constant(uint256) = 10 ** 10
PRECISION: constant(uint256) = 10 ** 18  # The precision to convert to
PRECISION_MUL: constant(uint256[N_COINS]) =  [1000000000000, 1]
RATES: constant(uint256[N_COINS]) = [1000000000000000000000000000000, 1000000000000000000]
BASE_N_COINS: constant(int128) = 3

# An asset which may have a transfer fee (USDT)
FEE_INDEX: constant(int128) = 3

MAX_ADMIN_FEE: constant(uint256) = 10 * 10 ** 9
MAX_FEE: constant(uint256) = 5 * 10 ** 9
MAX_A: constant(uint256) = 10 ** 6
MAX_A_CHANGE: constant(uint256) = 10

ADMIN_ACTIONS_DELAY: constant(uint256) = 3 * 86400
MIN_RAMP_TIME: constant(uint256) = 86400

coins: public(address[N_COINS])
balances: public(uint256[N_COINS])
fee: public(uint256)  # fee * 1e10
admin_fee: public(uint256)  # admin_fee * 1e10

owner: public(address)
fee_converter: public(address)
lp_token: public(address)

# Token corresponding to the pool is always the last one
BASE_CACHE_EXPIRES: constant(int128) = 10 * 60  # 10 min
base_pool: public(address)
base_virtual_price: public(uint256)
base_cache_updated: public(uint256)
base_coins: public(address[BASE_N_COINS])

A_PRECISION: constant(uint256) = 100
initial_A: public(uint256)
future_A: public(uint256)
initial_A_time: public(uint256)
future_A_time: public(uint256)

admin_actions_deadline: public(uint256)
transfer_ownership_deadline: public(uint256)
future_fee: public(uint256)
future_admin_fee: public(uint256)
future_owner: public(address)

is_killed: bool
kill_deadline: uint256
KILL_DEADLINE_DT: constant(uint256) = 2 * 30 * 86400


@external
def __init__(
    _owner: address,
    _coins: address[N_COINS],
    _pool_token: address,
    _base_pool: address,
    _A: uint256,
    _fee: uint256,
    _admin_fee: uint256,
    _fee_converter: address,
):
    """
    @notice Contract constructor
    @param _owner Contract owner address
    @param _coins Addresses of ERC20 conracts of coins
    @param _pool_token Address of the token representing LP share
    @param _base_pool Address of the base pool (which will have a virtual price)
    @param _A Amplification coefficient multiplied by n * (n - 1)
    @param _fee Fee to charge for exchanges
    @param _admin_fee Admin fee
    """
    for i in range(N_COINS):
        assert _coins[i] != ZERO_ADDRESS
    self.coins = _coins
    self.initial_A = _A * A_PRECISION
    self.future_A = _A * A_PRECISION
    self.fee = _fee
    self.admin_fee = _admin_fee
    self.owner = _owner
    self.kill_deadline = block.timestamp + KILL_DEADLINE_DT
    self.lp_token = _pool_token
    self.fee_converter = _fee_converter

    self.base_pool = _base_pool
    self.base_virtual_price = Curve(_base_pool).get_virtual_price()
    self.base_cache_updated = block.timestamp
    for i in range(BASE_N_COINS):
        base_coin: address = Curve(_base_pool).coins(convert(i, uint256))
        self.base_coins[i] = base_coin

        # approve underlying coins for infinite transfers
        response: Bytes[32] = raw_call(
            base_coin,
            concat(
                method_id("approve(address,uint256)"),
                convert(_base_pool, bytes32),
                convert(MAX_UINT256, bytes32),
            ),
            max_outsize=32,
        )
        if len(response) > 0:
            assert convert(response, bool)


@view
@internal
def _A() -> uint256:
    """
    Handle ramping A up or down
    """
    t1: uint256 = self.future_A_time
    A1: uint256 = self.future_A

    if block.timestamp < t1:
        A0: uint256 = self.initial_A
        t0: uint256 = self.initial_A_time
        # Expressions in uint256 cannot have negative numbers, thus "if"
        if A1 > A0:
            return A0 + (A1 - A0) * (block.timestamp - t0) / (t1 - t0)
        else:
            return A0 - (A0 - A1) * (block.timestamp - t0) / (t1 - t0)

    else:  # when t1 == 0 or block.timestamp >= t1
        return A1


@view
@external
def A() -> uint256:
    return self._A() / A_PRECISION


@view
@external
def A_precise() -> uint256:
    return self._A()


@view
@internal
def _xp(_vp_rate: uint256) -> uint256[N_COINS]:
    result: uint256[N_COINS] = RATES
    result[MAX_COIN] = _vp_rate  # virtual price for the metacurrency
    for i in range(N_COINS):
        result[i] = result[i] * self.balances[i] / PRECISION
    return result


@pure
@internal
def _xp_mem(_vp_rate: uint256, _balances: uint256[N_COINS]) -> uint256[N_COINS]:
    result: uint256[N_COINS] = RATES
    result[MAX_COIN] = _vp_rate  # virtual price for the metacurrency
    for i in range(N_COINS):
        result[i] = result[i] * _balances[i] / PRECISION
    return result


@internal
def _vp_rate() -> uint256:
    if block.timestamp > self.base_cache_updated + BASE_CACHE_EXPIRES:
        vprice: uint256 = Curve(self.base_pool).get_virtual_price()
        self.base_virtual_price = vprice
        self.base_cache_updated = block.timestamp
        return vprice
    else:
        return self.base_virtual_price


@internal
@view
def _vp_rate_ro() -> uint256:
    if block.timestamp > self.base_cache_updated + BASE_CACHE_EXPIRES:
        return Curve(self.base_pool).get_virtual_price()
    else:
        return self.base_virtual_price


@pure
@internal
def _get_D(_xp: uint256[N_COINS], _amp: uint256) -> uint256:
    S: uint256 = 0
    Dprev: uint256 = 0

    for _x in _xp:
        S += _x
    if S == 0:
        return 0

    D: uint256 = S
    Ann: uint256 = _amp * N_COINS
    for _i in range(255):
        D_P: uint256 = D
        for _x in _xp:
            D_P = D_P * D / (_x * N_COINS)  # If division by 0, this will be borked: only withdrawal will work. And that is good
        Dprev = D
        D = (Ann * S / A_PRECISION + D_P * N_COINS) * D / ((Ann - A_PRECISION) * D / A_PRECISION + (N_COINS + 1) * D_P)
        # Equality with the precision of 1
        if D > Dprev:
            if D - Dprev <= 1:
                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(_vp_rate: uint256, _balances: uint256[N_COINS], _amp: uint256) -> uint256:
    return self._get_D(self._xp_mem(_vp_rate, _balances), _amp)


@view
@external
def get_virtual_price() -> uint256:
    """
    @notice The current virtual price of the pool LP token
    @dev Useful for calculating profits
    @return LP token virtual price normalized to 1e18
    """
    amp: uint256 = self._A()
    vp_rate: uint256 = self._vp_rate_ro()
    xp: uint256[N_COINS] = self._xp(vp_rate)
    D: uint256 = self._get_D(xp, amp)
    # D is in the units similar to DAI (e.g. converted to precision 1e18)
    # When balanced, D = n * x_u - total virtual value of the portfolio
    token_supply: uint256 = CurveToken(self.lp_token).totalSupply()
    return D * PRECISION / token_supply


@view
@external
def calc_token_amount(_amounts: uint256[N_COINS], _is_deposit: bool) -> uint256:
    """
    @notice Calculate addition or reduction in token supply from a deposit or withdrawal
    @dev This calculation accounts for slippage, but not fees.
         Needed to prevent front-running, not for precise calculations!
    @param _amounts Amount of each coin being deposited
    @param _is_deposit set True for deposits, False for withdrawals
    @return Expected amount of LP tokens received
    """
    amp: uint256 = self._A()
    vp_rate: uint256 = self._vp_rate_ro()
    balances: uint256[N_COINS] = self.balances
    D0: uint256 = self._get_D_mem(vp_rate, balances, amp)
    for i in range(N_COINS):
        if _is_deposit:
            balances[i] += _amounts[i]
        else:
            balances[i] -= _amounts[i]
    D1: uint256 = self._get_D_mem(vp_rate, balances, amp)
    token_amount: uint256 = CurveToken(self.lp_token).totalSupply()
    diff: uint256 = 0
    if _is_deposit:
        diff = D1 - D0
    else:
        diff = D0 - D1
    return diff * token_amount / D0


@external
@nonreentrant('lock')
def add_liquidity(_amounts: uint256[N_COINS], _min_mint_amount: uint256) -> uint256:
    """
    @notice Deposit coins into the pool
    @param _amounts List of amounts of coins to deposit
    @param _min_mint_amount Minimum amount of LP tokens to mint from the deposit
    @return Amount of LP tokens received by depositing
    """
    assert not self.is_killed  # dev: is killed

    amp: uint256 = self._A()
    vp_rate: uint256 = self._vp_rate()
    old_balances: uint256[N_COINS] = self.balances

    # Initial invariant
    D0: uint256 = self._get_D_mem(vp_rate, old_balances, amp)

    lp_token: address = self.lp_token
    token_supply: uint256 = CurveToken(lp_token).totalSupply()
    new_balances: uint256[N_COINS] = old_balances

    for i in range(N_COINS):
        if token_supply == 0:
            assert _amounts[i] > 0  # dev: initial deposit requires all coins
        # balances store amounts of c-tokens
        new_balances[i] = old_balances[i] + _amounts[i]

    # Invariant after change
    D1: uint256 = self._get_D_mem(vp_rate, new_balances, amp)
    assert D1 > D0

    # We need to recalculate the invariant accounting for fees
    # to calculate fair user's share
    fees: uint256[N_COINS] = empty(uint256[N_COINS])
    D2: uint256 = D1
    mint_amount: uint256 = 0
    if token_supply > 0:
        fee: uint256 = self.fee * N_COINS / (4 * (N_COINS - 1))
        admin_fee: uint256 = self.admin_fee
        # Only account for fees if we are not the first to deposit
        for i in range(N_COINS):
            ideal_balance: uint256 = D1 * old_balances[i] / D0
            difference: uint256 = 0
            if ideal_balance > new_balances[i]:
                difference = ideal_balance - new_balances[i]
            else:
                difference = new_balances[i] - ideal_balance
            fees[i] = fee * difference / FEE_DENOMINATOR
            self.balances[i] = new_balances[i] - (fees[i] * admin_fee / FEE_DENOMINATOR)
            new_balances[i] -= fees[i]
        D2 = self._get_D_mem(vp_rate, new_balances, amp)
        mint_amount = token_supply * (D2 - D0) / D0
    else:
        self.balances = new_balances
        mint_amount = D1  # Take the dust if there was any

    assert mint_amount >= _min_mint_amount, "Slippage screwed you"

    # Take coins from the sender
    for i in range(N_COINS):
        if _amounts[i] > 0:
            # "safeTransferFrom" which works for ERC20s which return bool or not
            response: Bytes[32] = raw_call(
                self.coins[i],
                concat(
                    method_id("transferFrom(address,address,uint256)"),
                    convert(msg.sender, bytes32),
                    convert(self, bytes32),
                    convert(_amounts[i], bytes32),
                ),
                max_outsize=32,
            )
            if len(response) > 0:
                assert convert(response, bool)  # dev: failed transfer
            # end "safeTransferFrom"

    # Mint pool tokens
    CurveToken(lp_token).mint(msg.sender, mint_amount)

    log AddLiquidity(msg.sender, _amounts, fees, D1, token_supply + mint_amount)

    return mint_amount


@view
@internal
def _get_y(i: int128, j: int128, x: uint256, _xp: uint256[N_COINS]) -> uint256:
    """
    Calculate x[j] if one makes x[i] = x

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

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

    assert i != j       # dev: same coin
    assert j >= 0       # dev: j below zero
    assert j < N_COINS  # dev: j above N_COINS

    # should be unreachable, but good for safety
    assert i >= 0
    assert i < N_COINS

    A: uint256 = self._A()
    D: uint256 = self._get_D(_xp, A)
    Ann: uint256 = A * N_COINS
    c: uint256 = D
    S: uint256 = 0
    _x: uint256 = 0
    y_prev: uint256 = 0

    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:
    rates: uint256[N_COINS] = RATES
    rates[MAX_COIN] = self._vp_rate_ro()
    xp: uint256[N_COINS] = self._xp(rates[MAX_COIN])

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


@view
@external
def get_dy_underlying(i: int128, j: int128, _dx: uint256) -> uint256:
    # dx and dy in underlying units
    vp_rate: uint256 = self._vp_rate_ro()
    xp: uint256[N_COINS] = self._xp(vp_rate)
    precisions: uint256[N_COINS] = PRECISION_MUL
    base_pool: address = self.base_pool

    # Use base_i or base_j if they are >= 0
    base_i: int128 = i - MAX_COIN
    base_j: int128 = j - MAX_COIN
    meta_i: int128 = MAX_COIN
    meta_j: int128 = MAX_COIN
    if base_i < 0:
        meta_i = i
    if base_j < 0:
        meta_j = j

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

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

    # If output is going via the metapool
    if base_j < 0:
        dy /= precisions[meta_j]
    else:
        # j is from BasePool
        # The fee is already accounted for
        dy = Curve(base_pool).calc_withdraw_one_coin(dy * PRECISION / vp_rate, base_j)

    return dy


@external
@nonreentrant('lock')
def exchange(i: int128, j: int128, _dx: uint256, _min_dy: uint256) -> uint256:
    """
    @notice Perform an exchange between two coins
    @dev Index values can be found via the `coins` public getter method
    @param i Index value for the coin to send
    @param j Index valie of the coin to recieve
    @param _dx Amount of `i` being exchanged
    @param _min_dy Minimum amount of `j` to receive
    @return Actual amount of `j` received
    """
    assert not self.is_killed  # dev: is killed
    rates: uint256[N_COINS] = RATES
    rates[MAX_COIN] = self._vp_rate()

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

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

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

    # Convert all to real units
    dy = (dy - dy_fee) * PRECISION / rates[j]
    assert dy >= _min_dy, "Too few coins in result"

    dy_admin_fee: uint256 = dy_fee * self.admin_fee / FEE_DENOMINATOR
    dy_admin_fee = dy_admin_fee * PRECISION / rates[j]

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

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

    response = raw_call(
        self.coins[j],
        concat(
            method_id("transfer(address,uint256)"),
            convert(msg.sender, bytes32),
            convert(dy, bytes32),
        ),
        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) -> uint256:
    """
    @notice Perform an exchange between two underlying coins
    @dev Index values can be found via the `underlying_coins` public getter method
    @param i Index value for the underlying coin to send
    @param j Index valie of the underlying coin to recieve
    @param _dx Amount of `i` being exchanged
    @param _min_dy Minimum amount of `j` to receive
    @return Actual amount of `j` received
    """
    assert not self.is_killed  # dev: is killed
    rates: uint256[N_COINS] = RATES
    rates[MAX_COIN] = self._vp_rate()
    base_pool: address = self.base_pool

    # Use base_i or base_j if they are >= 0
    base_i: int128 = i - MAX_COIN
    base_j: int128 = j - MAX_COIN
    meta_i: int128 = MAX_COIN
    meta_j: int128 = MAX_COIN
    if base_i < 0:
        meta_i = i
    if base_j < 0:
        meta_j = j
    dy: uint256 = 0

    # Addresses for input and output coins
    input_coin: address = ZERO_ADDRESS
    output_coin: address = ZERO_ADDRESS
    if base_i < 0:
        input_coin = self.coins[i]
    else:
        input_coin = self.base_coins[base_i]
    if base_j < 0:
        output_coin = self.coins[j]
    else:
        output_coin = self.base_coins[base_j]

    # Handle potential Tether fees
    dx_w_fee: uint256 = _dx
    if i == FEE_INDEX:
        dx_w_fee = ERC20(input_coin).balanceOf(self)

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

    # Handle potential Tether fees
    if i == FEE_INDEX:
        dx_w_fee = ERC20(input_coin).balanceOf(self) - dx_w_fee

    if base_i < 0 or base_j < 0:
        old_balances: uint256[N_COINS] = self.balances
        xp: uint256[N_COINS] = self._xp_mem(rates[MAX_COIN], old_balances)

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

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

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

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

        dy_admin_fee: uint256 = dy_fee * self.admin_fee / FEE_DENOMINATOR
        dy_admin_fee = dy_admin_fee * PRECISION / rates[meta_j]

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

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

        assert dy >= _min_dy, "Too few coins in result"

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

    # "safeTransfer" which works for ERC20s which return bool or not
    response = raw_call(
        output_coin,
        concat(
            method_id("transfer(address,uint256)"),
            convert(msg.sender, bytes32),
            convert(dy, bytes32),
        ),
        max_outsize=32,
    )  # dev: failed transfer
    if len(response) > 0:
        assert convert(response, bool)  # dev: failed transfer
    # end "safeTransfer"

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

    return dy


@external
@nonreentrant('lock')
def remove_liquidity(_amount: uint256, _min_amounts: uint256[N_COINS]) -> uint256[N_COINS]:
    """
    @notice Withdraw coins from the pool
    @dev Withdrawal amounts are based on current deposit ratios
    @param _amount Quantity of LP tokens to burn in the withdrawal
    @param _min_amounts Minimum amounts of underlying coins to receive
    @return List of amounts of coins that were withdrawn
    """
    lp_token: address = self.lp_token
    total_supply: uint256 = CurveToken(lp_token).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 * _amount / total_supply
        assert value >= _min_amounts[i], "Withdrawal resulted in fewer coins than expected"
        self.balances[i] = old_balance - value
        amounts[i] = value
        ERC20(self.coins[i]).transfer(msg.sender, value)

    CurveToken(lp_token).burnFrom(msg.sender, _amount)  # dev: insufficient funds

    log RemoveLiquidity(msg.sender, amounts, empty(uint256[N_COINS]), total_supply - _amount)

    return amounts


@external
@nonreentrant('lock')
def remove_liquidity_imbalance(_amounts: uint256[N_COINS], _max_burn_amount: uint256) -> uint256:
    """
    @notice Withdraw coins from the pool in an imbalanced amount
    @param _amounts List of amounts of underlying coins to withdraw
    @param _max_burn_amount Maximum amount of LP token to burn in the withdrawal
    @return Actual amount of the LP token burned in the withdrawal
    """
    assert not self.is_killed  # dev: is killed

    amp: uint256 = self._A()
    vp_rate: uint256 = self._vp_rate()
    old_balances: uint256[N_COINS] = self.balances
    new_balances: uint256[N_COINS] = old_balances
    D0: uint256 = self._get_D_mem(vp_rate, old_balances, amp)
    for i in range(N_COINS):
        new_balances[i] -= _amounts[i]
    D1: uint256 = self._get_D_mem(vp_rate, new_balances, amp)

    fee: uint256 = self.fee * N_COINS / (4 * (N_COINS - 1))
    admin_fee: uint256 = self.admin_fee
    fees: uint256[N_COINS] = empty(uint256[N_COINS])
    for i in range(N_COINS):
        ideal_balance: uint256 = D1 * old_balances[i] / D0
        difference: uint256 = 0
        if ideal_balance > new_balances[i]:
            difference = ideal_balance - new_balances[i]
        else:
            difference = new_balances[i] - ideal_balance
        fees[i] = fee * difference / FEE_DENOMINATOR
        self.balances[i] = new_balances[i] - (fees[i] * admin_fee / FEE_DENOMINATOR)
        new_balances[i] -= fees[i]
    D2: uint256 = self._get_D_mem(vp_rate, new_balances, amp)

    lp_token: address = self.lp_token
    token_supply: uint256 = CurveToken(lp_token).totalSupply()
    token_amount: uint256 = (D0 - D2) * token_supply / D0
    assert token_amount != 0  # dev: zero tokens burned
    token_amount += 1  # In case of rounding errors - make it unfavorable for the "attacker"
    assert token_amount <= _max_burn_amount, "Slippage screwed you"

    CurveToken(lp_token).burnFrom(msg.sender, token_amount)  # dev: insufficient funds
    for i in range(N_COINS):
        if _amounts[i] != 0:
            ERC20(self.coins[i]).transfer(msg.sender, _amounts[i])

    log RemoveLiquidityImbalance(msg.sender, _amounts, fees, D1, token_supply - token_amount)

    return token_amount


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

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

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

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

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

    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(_token_amount: uint256, i: int128, _vp_rate: uint256) -> (uint256, uint256, uint256):
    # First, need to calculate
    # * Get current D
    # * Solve Eqn against y_i for D - _token_amount
    amp: uint256 = self._A()
    xp: uint256[N_COINS] = self._xp(_vp_rate)
    D0: uint256 = self._get_D(xp, amp)

    total_supply: uint256 = CurveToken(self.lp_token).totalSupply()
    D1: uint256 = D0 - _token_amount * D0 / total_supply
    new_y: uint256 = self._get_y_D(amp, i, xp, D1)

    fee: uint256 = self.fee * N_COINS / (4 * (N_COINS - 1))
    rates: uint256[N_COINS] = RATES
    rates[MAX_COIN] = _vp_rate

    xp_reduced: uint256[N_COINS] = xp
    dy_0: uint256 = (xp[i] - new_y) * PRECISION / rates[i]  # w/o fees

    for j in range(N_COINS):
        dx_expected: uint256 = 0
        if j == i:
            dx_expected = xp[j] * D1 / D0 - new_y
        else:
            dx_expected = xp[j] - xp[j] * D1 / D0
        xp_reduced[j] -= fee * dx_expected / FEE_DENOMINATOR

    dy: uint256 = xp_reduced[i] - self._get_y_D(amp, i, xp_reduced, D1)
    dy = (dy - 1) * PRECISION / rates[i]  # Withdraw less to account for rounding errors

    return dy, dy_0 - dy, total_supply


@view
@external
def calc_withdraw_one_coin(_token_amount: uint256, i: int128) -> uint256:
    """
    @notice Calculate the amount received when withdrawing a single coin
    @param _token_amount Amount of LP tokens to burn in the withdrawal
    @param i Index value of the coin to withdraw
    @return Amount of coin received
    """
    vp_rate: uint256 = self._vp_rate_ro()
    return self._calc_withdraw_one_coin(_token_amount, i, vp_rate)[0]


@external
@nonreentrant('lock')
def remove_liquidity_one_coin(_token_amount: uint256, i: int128, _min_amount: uint256) -> uint256:
    """
    @notice Withdraw a single coin from the pool
    @param _token_amount Amount of LP tokens to burn in the withdrawal
    @param i Index value of the coin to withdraw
    @param _min_amount Minimum amount of coin to receive
    @return Amount of coin received
    """
    assert not self.is_killed  # dev: is killed

    vp_rate: uint256 = self._vp_rate()
    dy: uint256 = 0
    dy_fee: uint256 = 0
    total_supply: uint256 = 0
    dy, dy_fee, total_supply = self._calc_withdraw_one_coin(_token_amount, i, vp_rate)
    assert dy >= _min_amount, "Not enough coins removed"

    self.balances[i] -= (dy + dy_fee * self.admin_fee / FEE_DENOMINATOR)
    CurveToken(self.lp_token).burnFrom(msg.sender, _token_amount)  # dev: insufficient funds

    ERC20(self.coins[i]).transfer(msg.sender, dy)

    log RemoveLiquidityOne(msg.sender, _token_amount, dy, total_supply - _token_amount)

    return dy


### Admin functions ###
@external
def ramp_A(_future_A: uint256, _future_time: uint256):
    assert msg.sender == self.owner  # dev: only owner
    assert block.timestamp >= self.initial_A_time + MIN_RAMP_TIME
    assert _future_time >= block.timestamp + MIN_RAMP_TIME  # dev: insufficient time

    initial_A: uint256 = self._A()
    future_A_p: uint256 = _future_A * A_PRECISION

    assert _future_A > 0 and _future_A < MAX_A
    if future_A_p < initial_A:
        assert future_A_p * MAX_A_CHANGE >= initial_A
    else:
        assert future_A_p <= initial_A * MAX_A_CHANGE

    self.initial_A = initial_A
    self.future_A = future_A_p
    self.initial_A_time = block.timestamp
    self.future_A_time = _future_time

    log RampA(initial_A, future_A_p, block.timestamp, _future_time)


@external
def stop_ramp_A():
    assert msg.sender == self.owner  # dev: only owner

    current_A: uint256 = self._A()
    self.initial_A = current_A
    self.future_A = current_A
    self.initial_A_time = block.timestamp
    self.future_A_time = block.timestamp
    # now (block.timestamp < t1) is always False, so we return saved A

    log StopRampA(current_A, block.timestamp)


@external
def commit_new_fee(_new_fee: uint256, _new_admin_fee: uint256):
    assert msg.sender == self.owner  # dev: only owner
    assert self.admin_actions_deadline == 0  # dev: active action
    assert _new_fee <= MAX_FEE  # dev: fee exceeds maximum
    assert _new_admin_fee <= MAX_ADMIN_FEE  # dev: admin fee exceeds maximum

    deadline: uint256 = block.timestamp + ADMIN_ACTIONS_DELAY
    self.admin_actions_deadline = deadline
    self.future_fee = _new_fee
    self.future_admin_fee = _new_admin_fee

    log CommitNewFee(deadline, _new_fee, _new_admin_fee)


@external
def apply_new_fee():
    assert msg.sender == self.owner  # dev: only owner
    assert block.timestamp >= self.admin_actions_deadline  # dev: insufficient time
    assert self.admin_actions_deadline != 0  # dev: no active action

    self.admin_actions_deadline = 0
    fee: uint256 = self.future_fee
    admin_fee: uint256 = self.future_admin_fee
    self.fee = fee
    self.admin_fee = admin_fee

    log NewFee(fee, admin_fee)


@external
def revert_new_parameters():
    assert msg.sender == self.owner  # dev: only owner

    self.admin_actions_deadline = 0


@external
def commit_transfer_ownership(_owner: address):
    assert msg.sender == self.owner  # dev: only owner
    assert self.transfer_ownership_deadline == 0  # dev: active transfer

    deadline: uint256 = block.timestamp + ADMIN_ACTIONS_DELAY
    self.transfer_ownership_deadline = deadline
    self.future_owner = _owner

    log CommitNewAdmin(deadline, _owner)


@external
def apply_transfer_ownership():
    assert msg.sender == self.owner  # dev: only owner
    assert block.timestamp >= self.transfer_ownership_deadline  # dev: insufficient time
    assert self.transfer_ownership_deadline != 0  # dev: no active transfer

    self.transfer_ownership_deadline = 0
    owner: address = self.future_owner
    self.owner = owner

    log NewAdmin(owner)


@external
def revert_transfer_ownership():
    assert msg.sender == self.owner  # dev: only owner

    self.transfer_ownership_deadline = 0


@view
@external
def admin_balances(i: uint256) -> uint256:
    return ERC20(self.coins[i]).balanceOf(self) - self.balances[i]


@external
def withdraw_admin_fees():
    fee_converter: address = self.fee_converter
    for i in range(N_COINS):
        c: address = self.coins[i]
        value: uint256 = ERC20(c).balanceOf(self) - self.balances[i]
        # "safeTransfer" which works for ERC20s which return bool or not
        _response: Bytes[32] = raw_call(
            c,
            concat(
                method_id("transfer(address,uint256)"),
                convert(fee_converter, bytes32),
                convert(value, bytes32),
            ),
            max_outsize=32,
        )  # dev: failed transfer
        if len(_response) > 0:
            assert convert(_response, bool)  # dev: failed transfer
    FeeConverter(fee_converter).convertFees()


@external
def kill_me():
    assert msg.sender == self.owner  # dev: only owner
    assert self.kill_deadline > block.timestamp  # dev: deadline has passed
    self.is_killed = True


@external
def unkill_me():
    assert msg.sender == self.owner  # dev: only owner
    self.is_killed = False

Contract ABI

[{"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":"CommitNewAdmin","inputs":[{"name":"deadline","type":"uint256","indexed":true},{"name":"admin","type":"address","indexed":true}],"anonymous":false,"type":"event"},{"name":"NewAdmin","inputs":[{"name":"admin","type":"address","indexed":true}],"anonymous":false,"type":"event"},{"name":"CommitNewFee","inputs":[{"name":"deadline","type":"uint256","indexed":true},{"name":"fee","type":"uint256","indexed":false},{"name":"admin_fee","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"NewFee","inputs":[{"name":"fee","type":"uint256","indexed":false},{"name":"admin_fee","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":[{"name":"_owner","type":"address"},{"name":"_coins","type":"address[2]"},{"name":"_pool_token","type":"address"},{"name":"_base_pool","type":"address"},{"name":"_A","type":"uint256"},{"name":"_fee","type":"uint256"},{"name":"_admin_fee","type":"uint256"},{"name":"_fee_converter","type":"address"}],"outputs":[]},{"stateMutability":"view","type":"function","name":"A","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":5174},{"stateMutability":"view","type":"function","name":"A_precise","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":5136},{"stateMutability":"view","type":"function","name":"get_virtual_price","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":1011946},{"stateMutability":"view","type":"function","name":"calc_token_amount","inputs":[{"name":"_amounts","type":"uint256[2]"},{"name":"_is_deposit","type":"bool"}],"outputs":[{"name":"","type":"uint256"}],"gas":4017190},{"stateMutability":"nonpayable","type":"function","name":"add_liquidity","inputs":[{"name":"_amounts","type":"uint256[2]"},{"name":"_min_mint_amount","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":6259605},{"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":2449165},{"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":2452371},{"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"}],"gas":2682071},{"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"}],"gas":2691001},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity","inputs":[{"name":"_amount","type":"uint256"},{"name":"_min_amounts","type":"uint256[2]"}],"outputs":[{"name":"","type":"uint256[2]"}],"gas":160333},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity_imbalance","inputs":[{"name":"_amounts","type":"uint256[2]"},{"name":"_max_burn_amount","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":6253244},{"stateMutability":"view","type":"function","name":"calc_withdraw_one_coin","inputs":[{"name":"_token_amount","type":"uint256"},{"name":"i","type":"int128"}],"outputs":[{"name":"","type":"uint256"}],"gas":3974},{"stateMutability":"nonpayable","type":"function","name":"remove_liquidity_one_coin","inputs":[{"name":"_token_amount","type":"uint256"},{"name":"i","type":"int128"},{"name":"_min_amount","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":3944030},{"stateMutability":"nonpayable","type":"function","name":"ramp_A","inputs":[{"name":"_future_A","type":"uint256"},{"name":"_future_time","type":"uint256"}],"outputs":[],"gas":151599},{"stateMutability":"nonpayable","type":"function","name":"stop_ramp_A","inputs":[],"outputs":[],"gas":148360},{"stateMutability":"nonpayable","type":"function","name":"commit_new_fee","inputs":[{"name":"_new_fee","type":"uint256"},{"name":"_new_admin_fee","type":"uint256"}],"outputs":[],"gas":110218},{"stateMutability":"nonpayable","type":"function","name":"apply_new_fee","inputs":[],"outputs":[],"gas":96999},{"stateMutability":"nonpayable","type":"function","name":"revert_new_parameters","inputs":[],"outputs":[],"gas":21652},{"stateMutability":"nonpayable","type":"function","name":"commit_transfer_ownership","inputs":[{"name":"_owner","type":"address"}],"outputs":[],"gas":74390},{"stateMutability":"nonpayable","type":"function","name":"apply_transfer_ownership","inputs":[],"outputs":[],"gas":60467},{"stateMutability":"nonpayable","type":"function","name":"revert_transfer_ownership","inputs":[],"outputs":[],"gas":21742},{"stateMutability":"view","type":"function","name":"admin_balances","inputs":[{"name":"i","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":3238},{"stateMutability":"nonpayable","type":"function","name":"withdraw_admin_fees","inputs":[],"outputs":[],"gas":16237},{"stateMutability":"nonpayable","type":"function","name":"kill_me","inputs":[],"outputs":[],"gas":37725},{"stateMutability":"nonpayable","type":"function","name":"unkill_me","inputs":[],"outputs":[],"gas":21862},{"stateMutability":"view","type":"function","name":"coins","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}],"gas":1947},{"stateMutability":"view","type":"function","name":"balances","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":1977},{"stateMutability":"view","type":"function","name":"fee","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":1898},{"stateMutability":"view","type":"function","name":"admin_fee","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":1928},{"stateMutability":"view","type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":1958},{"stateMutability":"view","type":"function","name":"fee_converter","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":1988},{"stateMutability":"view","type":"function","name":"lp_token","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2018},{"stateMutability":"view","type":"function","name":"base_pool","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2048},{"stateMutability":"view","type":"function","name":"base_virtual_price","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2078},{"stateMutability":"view","type":"function","name":"base_cache_updated","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2108},{"stateMutability":"view","type":"function","name":"base_coins","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}],"gas":2247},{"stateMutability":"view","type":"function","name":"initial_A","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2168},{"stateMutability":"view","type":"function","name":"future_A","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2198},{"stateMutability":"view","type":"function","name":"initial_A_time","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2228},{"stateMutability":"view","type":"function","name":"future_A_time","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2258},{"stateMutability":"view","type":"function","name":"admin_actions_deadline","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2288},{"stateMutability":"view","type":"function","name":"transfer_ownership_deadline","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2318},{"stateMutability":"view","type":"function","name":"future_fee","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2348},{"stateMutability":"view","type":"function","name":"future_admin_fee","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2378},{"stateMutability":"view","type":"function","name":"future_owner","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2408}]

610120615edd610140396020615edd60c03960c05160a01c1561002157600080fd5b60206020615edd0160c03960c05160a01c1561003c57600080fd5b60206040615edd0160c03960c05160a01c1561005757600080fd5b60206060615edd0160c03960c05160a01c1561007257600080fd5b60206080615edd0160c03960c05160a01c1561008d57600080fd5b6020610100615edd0160c03960c05160a01c156100a957600080fd5b61026060006002818352015b600061016061026051600281106100cb57600080fd5b6020020151186100da57600080fd5b81516001018083528114156100b5575b5050600060c052602060c020610160518155610180516001820155506101e0516064808202821582848304141761012057600080fd5b80905090509050600b556101e0516064808202821582848304141761014457600080fd5b80905090509050600c5561020051600255610220516003556101405160045542624f1a0081818301101561017757600080fd5b808201905090506015556101a051600655610240516005556101c05160075560206102c0600463bb7b8b806102605261027c6101c0515afa6101b857600080fd5b601f3d116101c557600080fd5b6000506102c0516008554260095561026060006003818352015b6020610320602463c66106576102a05261026051600081121561020157600080fd5b6102c0526102bc6101c0515afa61021757600080fd5b601f3d1161022457600080fd5b600050610320516102805261028051610260516003811061024457600080fd5b600a60c052602060c020015560006004610300527f095ea7b3000000000000000000000000000000000000000000000000000000006103205261030060048060208461036001018260208501600060045af15050805182019150506101c0516020826103600101526020810190507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602082610360010152602081019050806103605261036090508051602001806104008284600060045af161030657600080fd5b505060206104c0610400516104206000610280515af161032557600080fd5b60203d808211156103365780610338565b815b905090506104a0526104a08051602001806102a08284600060045af161035d57600080fd5b505060006102a05111156103af576102a080602001516000825180602090131561038657600080fd5b809190121561039457600080fd5b806020036101000a820490509050905015156103af57600080fd5b81516001018083528114156101df575b5050615ec556600436101561000d576143cd565b600035601c52600051341561002157600080fd5b63f446c1d081141561005057600658016143d3565b610140526101405160648082049050905060005260206000f35b6376a2f0f081141561007657600658016143d3565b610140526101405160005260206000f35b63bb7b8b808114156101f45761014051600658016143d3565b61016052610140526101605161014052610140516101605160065801614805565b61018052610160526101405261018051610160526101405161016051610180516101a051610160516101c0526101c0516006580161456b565b61022052610240526101a05261018052610160526101405261022080516101805280602001516101a052506101405161016051610180516101a0516101c051610180516101e0526101a05161020052610140516102205261022051610200516101e05160065801614882565b610280526101c0526101a052610180526101605261014052610280516101c052602061026060046318160ddd6102005261021c6006545afa61019657600080fd5b601f3d116101a357600080fd5b600050610260516101e0526101c051670de0b6b3a764000080820282158284830414176101cf57600080fd5b809050905090506101e05180806101e557600080fd5b82049050905060005260206000f35b63ed8e84f38114156104e45760443560011c1561021057600080fd5b61014051600658016143d3565b61016052610140526101605161014052610140516101605160065801614805565b610180526101605261014052610180516101605260018060c052602060c020546101805260018160c052602060c02001546101a052506101405161016051610180516101a0516101c051610160516101e05261018051610200526101a0516102205261014051610240526102405161022051610200516101e05160065801614b7c565b6102a0526101c0526101a0526101805261016052610140526102a0516101c0526101e060006002818352015b60443515610345576101806101e0516002811061030957600080fd5b60200201805160046101e0516002811061032257600080fd5b602002013581818301101561033657600080fd5b8082019050905081525061038f565b6101806101e0516002811061035957600080fd5b60200201805160046101e0516002811061037257600080fd5b60200201358082101561038457600080fd5b808203905090508152505b81516001018083528114156102ed575b50506101405161016051610180516101a0516101c0516101e051610160516102005261018051610220526101a0516102405261014051610260526102605161024051610220516102005160065801614b7c565b6102c0526101e0526101c0526101a0526101805261016052610140526102c0516101e052602061028060046318160ddd6102205261023c6006545afa61043757600080fd5b601f3d1161044457600080fd5b600050610280516102005260006102205260443515610482576101e0516101c0518082101561047257600080fd5b80820390509050610220526104a3565b6101c0516101e0518082101561049757600080fd5b80820390509050610220525b610220516102005180820282158284830414176104bf57600080fd5b809050905090506101c05180806104d557600080fd5b82049050905060005260206000f35b630b4c7e4d811415610df057601654156104fd57600080fd5b60016016556014541561050f57600080fd5b61014051600658016143d3565b61016052610140526101605161014052610140516101605160065801614775565b610180526101605261014052610180516101605260018060c052602060c020546101805260018160c052602060c02001546101a052506101405161016051610180516101a0516101c051610160516101e05261018051610200526101a0516102205261014051610240526102405161022051610200516101e05160065801614b7c565b6102a0526101c0526101a0526101805261016052610140526102a0516101c0526006546101e052602061028060046318160ddd6102205261023c6101e0515afa61060957600080fd5b601f3d1161061657600080fd5b600050610280516102005261018051610220526101a0516102405261026060006002818352015b61020051151561066b5760006004610260516002811061065c57600080fd5b60200201351161066b57600080fd5b610180610260516002811061067f57600080fd5b60200201516004610260516002811061069757600080fd5b60200201358181830110156106ab57600080fd5b8082019050905061022061026051600281106106c657600080fd5b60200201525b815160010180835281141561063d575b50506101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516101605161028052610220516102a052610240516102c052610140516102e0526102e0516102c0516102a0516102805160065801614b7c565b61034052610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405261034051610260526101c051610260511161078557600080fd5b60403661028037610260516102c05260006102e0526000610200511115610af857600254600280820282158284830414176107bf57600080fd5b80905090509050600480820490509050610300526003546103205261034060006002818352015b6102605161018061034051600281106107fe57600080fd5b6020020151808202821582848304141761081757600080fd5b809050905090506101c051808061082d57600080fd5b82049050905061036052600061038052610220610340516002811061085157600080fd5b602002015161036051111561089a5761036051610220610340516002811061087857600080fd5b60200201518082101561088a57600080fd5b80820390509050610380526108d0565b61022061034051600281106108ae57600080fd5b602002015161036051808210156108c457600080fd5b80820390509050610380525b610300516103805180820282158284830414176108ec57600080fd5b809050905090506402540be40080820490509050610280610340516002811061091457600080fd5b6020020152610220610340516002811061092d57600080fd5b6020020151610280610340516002811061094657600080fd5b602002015161032051808202821582848304141761096357600080fd5b809050905090506402540be400808204905090508082101561098457600080fd5b80820390509050610340516002811061099c57600080fd5b600160c052602060c020015561022061034051600281106109bc57600080fd5b60200201805161028061034051600281106109d657600080fd5b6020020151808210156109e857600080fd5b808203905090508152505b81516001018083528114156107e6575b5050610140610340525b61034051516020610340510161034052610340610340511015610a2f57610a0d565b61016051610360526102205161038052610240516103a052610140516103c0526103c0516103a051610380516103605160065801614b7c565b61042052610320610340525b6103405152602061034051036103405261014061034051101515610a9757610a74565b610420516102c052610200516102c0516101c05180821015610ab857600080fd5b808203905090508082028215828483041417610ad357600080fd5b809050905090506101c0518080610ae957600080fd5b8204905090506102e052610b1b565b600160c052602060c02061022051815561024051600182015550610260516102e0525b6044356102e05110151515610b6f576308c379a0610300526020610320526014610340527f536c697070616765207363726577656420796f750000000000000000000000006103605261034050606461031cfd5b61030060006002818352015b600060046103005160028110610b9057600080fd5b60200201351115610d175760006004610380527f23b872dd000000000000000000000000000000000000000000000000000000006103a0526103806004806020846103e001018260208501600060045af1505080518201915050336020826103e0010152602081019050306020826103e001015260208101905060046103005160028110610c1d57600080fd5b60200201356020826103e0010152602081019050806103e0526103e090508051602001806104a08284600060045af1610c5557600080fd5b505060206105806104a0516104c060006103005160028110610c7657600080fd5b600060c052602060c02001545af1610c8d57600080fd5b60203d80821115610c9e5780610ca0565b815b90509050610560526105608051602001806103208284600060045af1610cc557600080fd5b50506000610320511115610d1757610320806020015160008251806020901315610cee57600080fd5b8091901215610cfc57600080fd5b806020036101000a82049050905090501515610d1757600080fd5b8151600101808352811415610b7b575b505060206103a060446340c10f196103005233610320526102e0516103405261031c60006101e0515af1610d5a57600080fd5b601f3d11610d6757600080fd5b6000506103a050600435610300526024356103205261028051610340526102a051610360526102605161038052610200516102e051818183011015610dab57600080fd5b808201905090506103a052337f26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a76860c0610300a26102e051600052600060165560206000f35b635e0d443f8114156110b65760043580806000811215610e0c57195b607f1c15610e1957600080fd5b90505060243580806000811215610e2c57195b607f1c15610e3957600080fd5b9050506c0c9f2c9cd04674edea4000000061014052670de0b6b3a764000061016052610140516101605160065801614805565b61018052610160526101405261018051610160526101405161016051610180516101a051610160516101c0526101c0516006580161456b565b61022052610240526101a05261018052610160526101405261022080516101805280602001516101a0525061018060043560028110610ee357600080fd5b602002015160443561014060043560028110610efe57600080fd5b60200201518082028215828483041417610f1757600080fd5b80905090509050670de0b6b3a764000080820490509050818183011015610f3d57600080fd5b808201905090506101c0526101405161016051610180516101a0516101c0516101e05160043561020052602435610220526101c0516102405261018051610260526101a05161028052610280516102605161024051610220516102005160065801614cb1565b6102e0526101e0526101c0526101a0526101805261016052610140526102e0516101e05261018060243560028110610fda57600080fd5b60200201516101e05180821015610ff057600080fd5b8082039050905060018082101561100657600080fd5b808203905090506102005260025461020051808202821582848304141761102c57600080fd5b809050905090506402540be400808204905090506102205261020051610220518082101561105957600080fd5b80820390509050670de0b6b3a7640000808202821582848304141761107d57600080fd5b809050905090506101406024356002811061109757600080fd5b602002015180806110a757600080fd5b82049050905060005260206000f35b6307211ef781141561165557600435808060008112156110d257195b607f1c156110df57600080fd5b905050602435808060008112156110f257195b607f1c156110ff57600080fd5b9050506101405160065801614805565b61016052610140526101605161014052610140516101605161018051610140516101a0526101a0516006580161456b565b61020052610220526101805261016052610140526102008051610160528060200151610180525064e8d4a510006101a05260016101c0526007546101e05260043560018082038080600081121561119357195b607f1c156111a057600080fd5b905090509050610200526024356001808203808060008112156111bf57195b607f1c156111cc57600080fd5b9050905090506102205260016102405260016102605260006102005112156111f657600435610240525b600061022051121561120a57602435610260525b6000610280526000610200511215611289576101606004356002811061122f57600080fd5b60200201516044356101a06004356002811061124a57600080fd5b6020020151808202821582848304141761126357600080fd5b8090509050905081818301101561127957600080fd5b808201905090506102805261143a565b60006102205112156113e4576060366102a0376044356102a061020051600381106112b357600080fd5b602002015260206103e06084633883e119610300526102a051610320526102c051610340526102e0516103605260016103805261031c6101e0515afa6112f857600080fd5b601f3d1161130557600080fd5b6000506103e05161014051808202821582848304141761132457600080fd5b80905090509050670de0b6b3a764000080820490509050610280526102808051610280516020610360600463ddca3f436103005261031c6101e0515afa61136a57600080fd5b601f3d1161137757600080fd5b60005061036051808202821582848304141761139257600080fd5b809050905090506404a817c80080820490509050808210156113b357600080fd5b808203905090508152506102808051610180518181830110156113d557600080fd5b8082019050905081525061143a565b60206103606064635e0d443f6102a052610200516102c052610220516102e052604435610300526102bc6101e0515afa61141d57600080fd5b601f3d1161142a57600080fd5b6000506103605160005260206000f35b6101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a051610240516102c052610260516102e0526102805161030052610160516103205261018051610340526103405161032051610300516102e0516102c05160065801614cb1565b6103a0526102a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103a0516102a05261016061026051600281106114ff57600080fd5b60200201516102a0518082101561151557600080fd5b8082039050905060018082101561152b57600080fd5b808203905090506102c0526102c0516002546102c051808202821582848304141761155557600080fd5b809050905090506402540be400808204905090508082101561157657600080fd5b808203905090506102c05260006102205112156115c4576102c080516101a061026051600281106115a657600080fd5b602002015180806115b657600080fd5b820490509050815250611648565b6020610380604463cc2b27d76102e0526102c051670de0b6b3a764000080820282158284830414176115f557600080fd5b8090509050905061014051808061160b57600080fd5b8204905090506103005261022051610320526102fc6101e0515afa61162f57600080fd5b601f3d1161163c57600080fd5b600050610380516102c0525b6102c05160005260206000f35b633df02124811415611e30576016541561166e57600080fd5b60016016556004358080600081121561168357195b607f1c1561169057600080fd5b905050602435808060008112156116a357195b607f1c156116b057600080fd5b905050601454156116c057600080fd5b6c0c9f2c9cd04674edea4000000061014052670de0b6b3a764000061016052610140516101605160065801614775565b610180526101605261014052610180516101605260018060c052602060c020546101805260018160c052602060c02001546101a052506101405161016051610180516101a0516101c0516101e051610160516102005261018051610220526101a051610240526102405161022051610200516006580161466e565b6102a0526102c0526101e0526101c0526101a0526101805261016052610140526102a080516101c05280602001516101e052506101c0600435600281106117b157600080fd5b6020020151604435610140600435600281106117cc57600080fd5b602002015180820282158284830414176117e557600080fd5b80905090509050670de0b6b3a76400008082049050905081818301101561180b57600080fd5b80820190509050610200526101405161016051610180516101a0516101c0516101e0516102005161022051600435610240526024356102605261020051610280526101c0516102a0526101e0516102c0526102c0516102a05161028051610260516102405160065801614cb1565b6103205261022052610200526101e0526101c0526101a05261018052610160526101405261032051610220526101c0602435600281106118b857600080fd5b602002015161022051808210156118ce57600080fd5b808203905090506001808210156118e457600080fd5b808203905090506102405261024051600254808202821582848304141761190a57600080fd5b809050905090506402540be400808204905090506102605261024051610260518082101561193757600080fd5b80820390509050670de0b6b3a7640000808202821582848304141761195b57600080fd5b809050905090506101406024356002811061197557600080fd5b6020020151808061198557600080fd5b8204905090506102405260643561024051101515156119e3576308c379a06102805260206102a05260176102c0527f546f6f2066657720636f696e7320696e20726573756c740000000000000000006102e0526102c050606461029cfd5b6102605160035480820282158284830414176119fe57600080fd5b809050905090506402540be400808204905090506102805261028051670de0b6b3a76400008082028215828483041417611a3757600080fd5b8090509050905061014060243560028110611a5157600080fd5b60200201518080611a6157600080fd5b8204905090506102805261018060043560028110611a7e57600080fd5b6020020151604435818183011015611a9557600080fd5b8082019050905060043560028110611aac57600080fd5b600160c052602060c020015561018060243560028110611acb57600080fd5b60200201516102405180821015611ae157600080fd5b808203905090506102805180821015611af957600080fd5b8082039050905060243560028110611b1057600080fd5b600160c052602060c020015560006004610300527f23b872dd000000000000000000000000000000000000000000000000000000006103205261030060048060208461036001018260208501600060045af15050805182019150503360208261036001015260208101905030602082610360010152602081019050604435602082610360010152602081019050806103605261036090508051602001806104208284600060045af1611bc157600080fd5b5050602061050061042051610440600060043560028110611be157600080fd5b600060c052602060c02001545af1611bf857600080fd5b60203d80821115611c095780611c0b565b815b905090506104e0526104e08051602001806102a08284600060045af1611c3057600080fd5b505060006102a0511115611c82576102a0806020015160008251806020901315611c5957600080fd5b8091901215611c6757600080fd5b806020036101000a82049050905090501515611c8257600080fd5b60006004610300527fa9059cbb000000000000000000000000000000000000000000000000000000006103205261030060048060208461036001018260208501600060045af15050805182019150503360208261036001015260208101905061024051602082610360010152602081019050806103605261036090508051602001806104008284600060045af1611d1857600080fd5b505060206104c061040051610420600060243560028110611d3857600080fd5b600060c052602060c02001545af1611d4f57600080fd5b60203d80821115611d605780611d62565b815b905090506104a0526104a08051602001806102a08284600060045af1611d8757600080fd5b505060006102a0511115611dd9576102a0806020015160008251806020901315611db057600080fd5b8091901215611dbe57600080fd5b806020036101000a82049050905090501515611dd957600080fd5b6004356103005260443561032052602435610340526102405161036052337f8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd971406080610300a261024051600052600060165560206000f35b63a6417ed6811415612b985760165415611e4957600080fd5b600160165560043580806000811215611e5e57195b607f1c15611e6b57600080fd5b90505060243580806000811215611e7e57195b607f1c15611e8b57600080fd5b90505060145415611e9b57600080fd5b6c0c9f2c9cd04674edea4000000061014052670de0b6b3a764000061016052610140516101605160065801614775565b610180526101605261014052610180516101605260075461018052600435600180820380806000811215611efb57195b607f1c15611f0857600080fd5b9050905090506101a052602435600180820380806000811215611f2757195b607f1c15611f3457600080fd5b9050905090506101c05260016101e05260016102005260006101a0511215611f5e576004356101e0525b60006101c0511215611f7257602435610200525b6060366102203760006101a0511215611faa5760043560028110611f9557600080fd5b600060c052602060c020015461024052611fcc565b6101a05160038110611fbb57600080fd5b600a60c052602060c0200154610240525b60006101c0511215611ffd5760243560028110611fe857600080fd5b600060c052602060c02001546102605261201f565b6101c0516003811061200e57600080fd5b600a60c052602060c0200154610260525b604435610280526003600435141561207157602061032060246370a082316102a052306102c0526102bc610240515afa61205857600080fd5b601f3d1161206557600080fd5b60005061032051610280525b60006004610300527f23b872dd000000000000000000000000000000000000000000000000000000006103205261030060048060208461036001018260208501600060045af15050805182019150503360208261036001015260208101905030602082610360010152602081019050604435602082610360010152602081019050806103605261036090508051602001806104208284600060045af161211657600080fd5b50506020610500610420516104406000610240515af161213557600080fd5b60203d808211156121465780612148565b815b905090506104e0526104e08051602001806102a08284600060045af161216d57600080fd5b505060006102a05111156121bf576102a080602001516000825180602090131561219657600080fd5b80919012156121a457600080fd5b806020036101000a820490509050905015156121bf57600080fd5b6003600435141561222257602061038060246370a0823161030052306103205261031c610240515afa6121f157600080fd5b601f3d116121fe57600080fd5b60005061038051610280518082101561221657600080fd5b80820390509050610280525b60006101a051121561223557600161223d565b60006101c051125b1561291b5760018060c052602060c020546103005260018160c052602060c02001546103205250610140610380525b6103805151602061038051016103805261038061038051101561228e5761226c565b610160516103a052610300516103c052610320516103e0526103e0516103c0516103a0516006580161466e565b6104405261046052610360610380525b61038051526020610380510361038052610140610380511015156122ee576122cb565b6104408051610340528060200151610360525060006103805260006101a0511215612391576103406004356002811061232657600080fd5b6020020151610280516101406004356002811061234257600080fd5b6020020151808202821582848304141761235b57600080fd5b80905090509050670de0b6b3a76400008082049050905081818301101561238157600080fd5b8082019050905061038052612506565b6060366103a037610280516103a06101a051600381106123b057600080fd5b60200201526001600060c052602060c02001546104005260206104a060246370a0823161042052306104405261043c610400515afa6123ee57600080fd5b601f3d116123fb57600080fd5b6000506104a05161038052610180513b61241457600080fd5b600060006084634515cef3610420526103a051610440526103c051610460526103e0516104805260006104a05261043c6000610180515af161245557600080fd5b60206104a060246370a0823161042052306104405261043c610400515afa61247c57600080fd5b601f3d1161248957600080fd5b6000506104a05161038051808210156124a157600080fd5b8082039050905061028052610280516101605180820282158284830414176124c857600080fd5b80905090509050670de0b6b3a764000080820490509050610380526103808051610360518181830110156124fb57600080fd5b808201905090508152505b6101406103c0525b6103c0515160206103c051016103c0526103c06103c05110156125305761250e565b6101e0516103e0526102005161040052610380516104205261034051610440526103605161046052610460516104405161042051610400516103e05160065801614cb1565b6104c0526103a06103c0525b6103c0515260206103c051036103c0526101406103c0511015156125a457612581565b6104c0516103a05261034061020051600281106125c057600080fd5b60200201516103a051808210156125d657600080fd5b808203905090506001808210156125ec57600080fd5b808203905090506102205261022051600254808202821582848304141761261257600080fd5b809050905090506402540be400808204905090506103c052610220516103c0518082101561263f57600080fd5b80820390509050670de0b6b3a7640000808202821582848304141761266357600080fd5b80905090509050610140610200516002811061267e57600080fd5b6020020151808061268e57600080fd5b820490509050610220526103c05160035480820282158284830414176126b357600080fd5b809050905090506402540be400808204905090506103e0526103e051670de0b6b3a764000080820282158284830414176126ec57600080fd5b80905090509050610140610200516002811061270757600080fd5b6020020151808061271757600080fd5b8204905090506103e0526103006101e0516002811061273557600080fd5b60200201516102805181818301101561274d57600080fd5b808201905090506101e0516002811061276557600080fd5b600160c052602060c0200155610300610200516002811061278557600080fd5b6020020151610220518082101561279b57600080fd5b808203905090506103e051808210156127b357600080fd5b8082039050905061020051600281106127cb57600080fd5b600160c052602060c020015560006101c0511215156128c25760206104a060246370a0823161042052306104405261043c610260515afa61280b57600080fd5b601f3d1161281857600080fd5b6000506104a05161040052610180513b61283157600080fd5b600060006064631a4d01d26104205261022051610440526101c0516104605260006104805261043c6000610180515af161286a57600080fd5b60206104a060246370a0823161042052306104405261043c610260515afa61289157600080fd5b601f3d1161289e57600080fd5b6000506104a05161040051808210156128b657600080fd5b80820390509050610220525b6064356102205110151515612916576308c379a0610400526020610420526017610440527f546f6f2066657720636f696e7320696e20726573756c740000000000000000006104605261044050606461041cfd5b612a02565b602061038060246370a0823161030052306103205261031c610260515afa61294257600080fd5b601f3d1161294f57600080fd5b6000506103805161022052610180513b61296857600080fd5b600060006084633df02124610300526101a051610320526101c0516103405261028051610360526064356103805261031c6000610180515af16129aa57600080fd5b602061038060246370a0823161030052306103205261031c610260515afa6129d157600080fd5b601f3d116129de57600080fd5b6000506103805161022051808210156129f657600080fd5b80820390509050610220525b60006004610300527fa9059cbb000000000000000000000000000000000000000000000000000000006103205261030060048060208461036001018260208501600060045af15050805182019150503360208261036001015260208101905061022051602082610360010152602081019050806103605261036090508051602001806104008284600060045af1612a9857600080fd5b505060206104c0610400516104206000610260515af1612ab757600080fd5b60203d80821115612ac85780612aca565b815b905090506104a0526104a08051602001806102a08284600060045af1612aef57600080fd5b505060006102a0511115612b41576102a0806020015160008251806020901315612b1857600080fd5b8091901215612b2657600080fd5b806020036101000a82049050905090501515612b4157600080fd5b6004356103005260443561032052602435610340526102205161036052337fd013ca23e77a65003c2c659c5442c00c805371b7fc1ebd4c206c41d1536bd90b6080610300a261022051600052600060165560206000f35b635b36389c811415612e695760165415612bb157600080fd5b60016016556006546101405260206101e060046318160ddd6101805261019c610140515afa612bdf57600080fd5b601f3d11612bec57600080fd5b6000506101e05161016052604036610180376101c060006002818352015b6101c05160028110612c1b57600080fd5b600160c052602060c02001546101e0526101e0516004358082028215828483041417612c4657600080fd5b80905090509050610160518080612c5c57600080fd5b8204905090506102005260246101c05160028110612c7957600080fd5b60200201356102005110151515612cf4576308c379a0610220526020610240526030610260527f5769746864726177616c20726573756c74656420696e20666577657220636f69610280527f6e73207468616e206578706563746564000000000000000000000000000000006102a05261026050608461023cfd5b6101e0516102005180821015612d0957600080fd5b808203905090506101c05160028110612d2157600080fd5b600160c052602060c0200155610200516101806101c05160028110612d4557600080fd5b602002015260206102c0604463a9059cbb610220523361024052610200516102605261023c60006101c05160028110612d7d57600080fd5b600060c052602060c02001545af1612d9457600080fd5b601f3d11612da157600080fd5b6000506102c0505b8151600101808352811415612c0a575b5050602061026060446379cc67906101c052336101e052600435610200526101dc6000610140515af1612deb57600080fd5b601f3d11612df857600080fd5b60005061026050610180516101c0526101a0516101e052604036610200376101605160043580821015612e2a57600080fd5b8082039050905061024052337f7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c60a06101c0a260006016556040610180f35b63e31032738114156136145760165415612e8257600080fd5b600160165560145415612e9457600080fd5b61014051600658016143d3565b61016052610140526101605161014052610140516101605160065801614775565b610180526101605261014052610180516101605260018060c052602060c020546101805260018160c052602060c02001546101a05250610180516101c0526101a0516101e0526101405161016051610180516101a0516101c0516101e05161020051610160516102205261018051610240526101a0516102605261014051610280526102805161026051610240516102205160065801614b7c565b6102e052610200526101e0526101c0526101a0526101805261016052610140526102e0516102005261022060006002818352015b6101c06102205160028110612fa557600080fd5b60200201805160046102205160028110612fbe57600080fd5b602002013580821015612fd057600080fd5b808203905090508152505b8151600101808352811415612f91575b50506101405161016051610180516101a0516101c0516101e051610200516102205161016051610240526101c051610260526101e05161028052610140516102a0526102a05161028051610260516102405160065801614b7c565b6103005261022052610200526101e0526101c0526101a05261018052610160526101405261030051610220526002546002808202821582848304141761308b57600080fd5b809050905090506004808204905090506102405260035461026052604036610280376102c060006002818352015b610220516101806102c051600281106130d157600080fd5b602002015180820282158284830414176130ea57600080fd5b8090509050905061020051808061310057600080fd5b8204905090506102e0526000610300526101c06102c0516002811061312457600080fd5b60200201516102e051111561316d576102e0516101c06102c0516002811061314b57600080fd5b60200201518082101561315d57600080fd5b80820390509050610300526131a3565b6101c06102c0516002811061318157600080fd5b60200201516102e0518082101561319757600080fd5b80820390509050610300525b610240516103005180820282158284830414176131bf57600080fd5b809050905090506402540be400808204905090506102806102c051600281106131e757600080fd5b60200201526101c06102c0516002811061320057600080fd5b60200201516102806102c0516002811061321957600080fd5b602002015161026051808202821582848304141761323657600080fd5b809050905090506402540be400808204905090508082101561325757600080fd5b808203905090506102c0516002811061326f57600080fd5b600160c052602060c02001556101c06102c0516002811061328f57600080fd5b6020020180516102806102c051600281106132a957600080fd5b6020020151808210156132bb57600080fd5b808203905090508152505b81516001018083528114156130b9575b50506101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c051610160516102e0526101c051610300526101e0516103205261014051610340526103405161032051610300516102e05160065801614b7c565b6103a0526102c0526102a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103a0516102c0526006546102e052602061038060046318160ddd6103205261033c6102e0515afa6133ae57600080fd5b601f3d116133bb57600080fd5b6000506103805161030052610200516102c051808210156133db57600080fd5b808203905090506103005180820282158284830414176133fa57600080fd5b8090509050905061020051808061341057600080fd5b820490509050610320526000610320511861342a57600080fd5b6103208051600181818301101561344057600080fd5b80820190509050815250604435610320511115151561349e576308c379a0610340526020610360526014610380527f536c697070616765207363726577656420796f750000000000000000000000006103a05261038050606461035cfd5b60206103e060446379cc6790610340523361036052610320516103805261035c60006102e0515af16134cf57600080fd5b601f3d116134dc57600080fd5b6000506103e05061034060006002818352015b60006004610340516002811061350457600080fd5b60200201351815613582576020610400604463a9059cbb6103605233610380526004610340516002811061353757600080fd5b60200201356103a05261037c6000610340516002811061355657600080fd5b600060c052602060c02001545af161356d57600080fd5b601f3d1161357a57600080fd5b600050610400505b81516001018083528114156134ef575b5050600435610340526024356103605261028051610380526102a0516103a052610220516103c0526103005161032051808210156135cf57600080fd5b808203905090506103e052337f2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e60c0610340a261032051600052600060165560206000f35b63cc2b27d78114156136d9576024358080600081121561363057195b607f1c1561363d57600080fd5b9050506101405160065801614805565b61016052610140526101605161014052610140516004356101605260243561018052610140516101a0526101a051610180516101605160065801615485565b61020052610220526102405261014052610200808080805161026052505060208101905080808051610280525050602081019050808080516102a052505050506102605160005260206000f35b631a4d01d28114156139c457601654156136f257600080fd5b60016016556024358080600081121561370757195b607f1c1561371457600080fd5b9050506014541561372457600080fd5b6101405160065801614775565b61016052610140526101605161014052606036610160376101405161016051610180516101a0516004356101c0526024356101e0526101405161020052610200516101e0516101c05160065801615485565b61026052610280526102a0526101a05261018052610160526101405261026080808080516102c0525050602081019050808080516102e05250506020810190508080805161030052505050506102c080516101605280602001516101805280604001516101a05250604435610160511015151561383f576308c379a06101c05260206101e0526018610200527f4e6f7420656e6f75676820636f696e732072656d6f7665640000000000000000610220526102005060646101dcfd5b6024356002811061384f57600080fd5b600160c052602060c0200180546101605161018051600354808202821582848304141761387b57600080fd5b809050905090506402540be4008082049050905081818301101561389e57600080fd5b80820190509050808210156138b257600080fd5b80820390509050815550602061026060446379cc67906101c052336101e052600435610200526101dc60006006545af16138eb57600080fd5b601f3d116138f857600080fd5b600050610260506020610260604463a9059cbb6101c052336101e05261016051610200526101dc60006024356002811061393157600080fd5b600060c052602060c02001545af161394857600080fd5b601f3d1161395557600080fd5b600050610260506004356101c052610160516101e0526101a0516004358082101561397f57600080fd5b8082039050905061020052337f5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a060606101c0a261016051600052600060165560206000f35b633c157e64811415613b655760045433146139de57600080fd5b600d54620151808181830110156139f457600080fd5b80820190509050421015613a0757600080fd5b4262015180818183011015613a1b57600080fd5b808201905090506024351015613a3057600080fd5b61014051600658016143d3565b6101605261014052610160516101405260043560648082028215828483041417613a6657600080fd5b809050905090506101605260006004351115613a8957620f424060043510613a8c565b60005b613a9557600080fd5b61014051610160511015613ad8576101405161016051600a8082028215828483041417613ac157600080fd5b809050905090501015613ad357600080fd5b613b08565b61014051600a8082028215828483041417613af257600080fd5b80905090509050610160511115613b0857600080fd5b61014051600b5561016051600c5542600d55602435600e556101405161018052610160516101a052426101c0526024356101e0527fa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c2546080610180a1005b63551a6588811415613be8576004543314613b7f57600080fd5b61014051600658016143d3565b6101605261014052610160516101405261014051600b5561014051600c5542600d5542600e55610140516101605242610180527f46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc2019386040610160a1005b635b5a1467811415613ca4576004543314613c0257600080fd5b600f5415613c0f57600080fd5b64012a05f2006004351115613c2357600080fd5b6402540be4006024351115613c3757600080fd5b426203f480818183011015613c4b57600080fd5b808201905090506101405261014051600f556004356011556024356012556004356101605260243561018052610140517f351fc5da2fbf480f2225debf3664a4bc90fa9923743aad58b4603f648e931fe06040610160a2005b634f12fe97811415613d36576004543314613cbe57600080fd5b600f54421015613ccd57600080fd5b6000600f5418613cdc57600080fd5b6000600f55601154610140526012546101605261014051600255610160516003556101405161018052610160516101a0527fbe12859b636aed607d5230b2cc2711f68d70e51060e6cca1f575ef5d2fcc95d16040610180a1005b63226840fb811415613d57576004543314613d5057600080fd5b6000600f55005b636b441a40811415613de95760043560a01c15613d7357600080fd5b6004543314613d8157600080fd5b60105415613d8e57600080fd5b426203f480818183011015613da257600080fd5b808201905090506101405261014051601055600435601355600435610140517f181aa3aa17d4cbf99265dd4443eba009433d3cde79d60164fde1d1a192beb93560006000a3005b636a1c05ae811415613e60576004543314613e0357600080fd5b601054421015613e1257600080fd5b600060105418613e2157600080fd5b60006010556013546101405261014051600455610140517f71614071b88dee5e0b2ae578a9dd7b2ebbe9ae832ba419dc0242cd065a290b6c60006000a2005b6386fbf193811415613e81576004543314613e7a57600080fd5b6000601055005b63e2e7d264811415613f195760206101c060246370a0823161014052306101605261015c60043560028110613eb557600080fd5b600060c052602060c02001545afa613ecc57600080fd5b601f3d11613ed957600080fd5b6000506101c05160043560028110613ef057600080fd5b600160c052602060c020015480821015613f0957600080fd5b8082039050905060005260206000f35b6330c54085811415614150576005546101405261016060006002818352015b6101605160028110613f4957600080fd5b600060c052602060c020015461018052602061024060246370a082316101c052306101e0526101dc610180515afa613f8057600080fd5b601f3d11613f8d57600080fd5b600050610240516101605160028110613fa557600080fd5b600160c052602060c020015480821015613fbe57600080fd5b808203905090506101a05260006004610220527fa9059cbb000000000000000000000000000000000000000000000000000000006102405261022060048060208461028001018260208501600060045af1505080518201915050610140516020826102800101526020810190506101a051602082610280010152602081019050806102805261028090508051602001806103208284600060045af161406257600080fd5b505060206103e0610320516103406000610180515af161408157600080fd5b60203d808211156140925780614094565b815b905090506103c0526103c08051602001806101c08284600060045af16140b957600080fd5b505060006101c051111561410b576101c08060200151600082518060209013156140e257600080fd5b80919012156140f057600080fd5b806020036101000a8204905090509050151561410b57600080fd5b8151600101808352811415613f38575b5050610140513b61412b57600080fd5b600060006004632b5335c36101605261017c6000610140515af161414e57600080fd5b005b63e369885381141561417f57600454331461416a57600080fd5b426015541161417857600080fd5b6001601455005b633046f9728114156141a057600454331461419957600080fd5b6000601455005b63c66106578114156141d157600435600281106141bc57600080fd5b600060c052602060c020015460005260206000f35b634903b0d181141561420257600435600281106141ed57600080fd5b600160c052602060c020015460005260206000f35b63ddca3f4381141561421a5760025460005260206000f35b63fee3f7f98114156142325760035460005260206000f35b638da5cb5b81141561424a5760045460005260206000f35b63d90097f78114156142625760055460005260206000f35b6382c6306681141561427a5760065460005260206000f35b635d6362bb8114156142925760075460005260206000f35b6395ccc02f8114156142aa5760085460005260206000f35b638296f84f8114156142c25760095460005260206000f35b6387cb4f578114156142f357600435600381106142de57600080fd5b600a60c052602060c020015460005260206000f35b635409491a81141561430b57600b5460005260206000f35b63b4b577ad81141561432357600c5460005260206000f35b632081066c81141561433b57600d5460005260206000f35b631405228881141561435357600e5460005260206000f35b63405e28f881141561436b57600f5460005260206000f35b63e0a0b5868114156143835760105460005260206000f35b6358680d0b81141561439b5760115460005260206000f35b63e38244628114156143b35760125460005260206000f35b631ec0cdc18114156143cb5760135460005260206000f35b505b60006000fd5b61014052600e5461016052600c54610180526101605142101561455957600b546101a052600d546101c0526101a0516101805111156144b3576101a051610180516101a0518082101561442557600080fd5b80820390509050426101c0518082101561443e57600080fd5b80820390509050808202821582848304141761445957600080fd5b80905090509050610160516101c0518082101561447557600080fd5b80820390509050808061448757600080fd5b82049050905081818301101561449c57600080fd5b808201905090506000526000516101405156614554565b6101a0516101a05161018051808210156144cc57600080fd5b80820390509050426101c051808210156144e557600080fd5b80820390509050808202821582848304141761450057600080fd5b80905090509050610160516101c0518082101561451c57600080fd5b80820390509050808061452e57600080fd5b8204905090508082101561454157600080fd5b8082039050905060005260005161014051565b614569565b6101805160005260005161014051565b005b61016052610140526c0c9f2c9cd04674edea4000000061018052670de0b6b3a76400006101a052610140516101a0526101c060006002818352015b6101806101c051600281106145ba57600080fd5b60200201516101c051600281106145d057600080fd5b600160c052602060c020015480820282158284830414176145f057600080fd5b80905090509050670de0b6b3a7640000808204905090506101806101c0516002811061461b57600080fd5b60200201525b81516001018083528114156145a6575b505060406101c0525b60006101c05111151561464c57614668565b60206101c05103610180015160206101c051036101c05261463a565b61016051565b6101a0526101405261016052610180526c0c9f2c9cd04674edea400000006101c052670de0b6b3a76400006101e052610140516101e05261020060006002818352015b6101c061020051600281106146c557600080fd5b602002015161016061020051600281106146de57600080fd5b602002015180820282158284830414176146f757600080fd5b80905090509050670de0b6b3a7640000808204905090506101c0610200516002811061472257600080fd5b60200201525b81516001018083528114156146b1575b50506040610200525b6000610200511115156147535761476f565b602061020051036101c001516020610200510361020052614741565b6101a051565b6101405260095461025881818301101561478e57600080fd5b808201905090504211156147f45760206101e0600463bb7b8b806101805261019c6007545afa6147bd57600080fd5b601f3d116147ca57600080fd5b6000506101e051610160526101605160085542600955610160516000526000516101405156614803565b60085460005260005161014051565b005b6101405260095461025881818301101561481e57600080fd5b808201905090504211156148715760206101c0600463bb7b8b806101605261017c6007545afa61484d57600080fd5b601f3d1161485a57600080fd5b6000506101c0516000526000516101405156614880565b60085460005260005161014051565b005b6101a0526101405261016052610180526040366101c03761022060006002818352015b602061022051026101400151610200526101c08051610200518181830110156148cd57600080fd5b808201905090508152505b81516001018083528114156148a5575b50506101c05115156149025760006000526000516101a051565b6101c05161020052610180516002808202821582848304141761492457600080fd5b8090509050905061022052610240600060ff818352015b61020051610260526102a060006002818352015b60206102a051026101400151610280526102605161020051808202821582848304141761497b57600080fd5b80905090509050610280516002808202821582848304141761499c57600080fd5b8090509050905080806149ae57600080fd5b820490509050610260525b815160010180835281141561494f575b5050610200516101e052610220516101c05180820282158284830414176149ef57600080fd5b809050905090506064808204905090506102605160028082028215828483041417614a1957600080fd5b80905090509050818183011015614a2f57600080fd5b80820190509050610200518082028215828483041417614a4e57600080fd5b8090509050905061022051606480821015614a6857600080fd5b80820390509050610200518082028215828483041417614a8757600080fd5b809050905090506064808204905090506003610260518082028215828483041417614ab157600080fd5b80905090509050818183011015614ac757600080fd5b808201905090508080614ad957600080fd5b820490509050610200526101e051610200511115614b2d576001610200516101e05180821015614b0857600080fd5b80820390509050111515614b28576102005160005250506000516101a051565b614b64565b60016101e0516102005180821015614b4457600080fd5b80820390509050111515614b64576102005160005250506000516101a051565b815160010180835281141561493b575b505060006000fd5b6101c0526101405261016052610180526101a0526101405161016051610180516101a0516101c051610140516101e0526101605161020052610180516102205261022051610200516101e0516006580161466e565b610280526102a0526101c0526101a05261018052610160526101405261028080516102c05280602001516102e052506101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c0516102e0516102c051610300526102e051610320526101a0516103405261034051610320516103005160065801614882565b6103a0526102e0526102c0526102a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103a0516000526000516101c051565b6101e0526101405261016052610180526101a0526101c052610160516101405118614cdb57600080fd5b6000610160511215614cec57600080fd5b60026101605112614cfc57600080fd5b6000610140511215614d0d57600080fd5b60026101405112614d1d57600080fd5b6101405161016051610180516101a0516101c0516101e05161020051600658016143d3565b61022052610200526101e0526101c0526101a05261018052610160526101405261022051610200526101405161016051610180516101a0516101c0516101e05161020051610220516101a051610240526101c05161026052610200516102805261028051610260516102405160065801614882565b6102e05261022052610200526101e0526101c0526101a0526101805261016052610140526102e051610220526102005160028082028215828483041417614dfd57600080fd5b80905090509050610240526102205161026052606036610280376102e060006002818352015b610140516102e0511415614e3e57610180516102a052614e73565b610160516102e0511815614e6e576101a06102e05160028110614e6057600080fd5b60200201516102a052614e73565b614eef565b61028080516102a051818183011015614e8b57600080fd5b8082019050905081525061026051610220518082028215828483041417614eb157600080fd5b809050905090506102a05160028082028215828483041417614ed257600080fd5b809050905090508080614ee457600080fd5b820490509050610260525b8151600101808352811415614e23575b505061026051610220518082028215828483041417614f1d57600080fd5b8090509050905060648082028215828483041417614f3a57600080fd5b809050905090506102405160028082028215828483041417614f5b57600080fd5b809050905090508080614f6d57600080fd5b82049050905061026052610280516102205160648082028215828483041417614f9557600080fd5b80905090509050610240518080614fab57600080fd5b820490509050818183011015614fc057600080fd5b808201905090506102e0526102205161030052610320600060ff818352015b610300516102c0526103005161030051808202821582848304141761500357600080fd5b809050905090506102605181818301101561501d57600080fd5b80820190509050600261030051808202821582848304141761503e57600080fd5b809050905090506102e05181818301101561505857600080fd5b80820190509050610220518082101561507057600080fd5b80820390509050808061508257600080fd5b820490509050610300526102c0516103005111156150d6576001610300516102c051808210156150b157600080fd5b808203905090501115156150d1576103005160005250506000516101e051565b61510d565b60016102c05161030051808210156150ed57600080fd5b8082039050905011151561510d576103005160005250506000516101e051565b8151600101808352811415614fdf575b505060006000fd5b6101e0526101405261016052610180526101a0526101c052600061016051121561514e57600080fd5b6002610160511261515e57600080fd5b610140516002808202821582848304141761517857600080fd5b80905090509050610200526101c05161022052606036610240376102a060006002818352015b610160516102a05118156151ce576101806102a051600281106151c057600080fd5b6020020151610260526151d3565b61524f565b6102408051610260518181830110156151eb57600080fd5b80820190509050815250610220516101c051808202821582848304141761521157600080fd5b80905090509050610260516002808202821582848304141761523257600080fd5b80905090509050808061524457600080fd5b820490509050610220525b815160010180835281141561519e575b5050610220516101c051808202821582848304141761527d57600080fd5b809050905090506064808202821582848304141761529a57600080fd5b8090509050905061020051600280820282158284830414176152bb57600080fd5b8090509050905080806152cd57600080fd5b82049050905061022052610240516101c051606480820282158284830414176152f557600080fd5b8090509050905061020051808061530b57600080fd5b82049050905081818301101561532057600080fd5b808201905090506102a0526101c0516102c0526102e0600060ff818352015b6102c051610280526102c0516102c051808202821582848304141761536357600080fd5b809050905090506102205181818301101561537d57600080fd5b8082019050905060026102c051808202821582848304141761539e57600080fd5b809050905090506102a0518181830110156153b857600080fd5b808201905090506101c051808210156153d057600080fd5b8082039050905080806153e257600080fd5b8204905090506102c052610280516102c05111156154365760016102c051610280518082101561541157600080fd5b80820390509050111515615431576102c05160005250506000516101e051565b61546d565b6001610280516102c0518082101561544d57600080fd5b8082039050905011151561546d576102c05160005250506000516101e051565b815160010180835281141561533f575b505060006000fd5b6101a0526101405261016052610180526101405161016051610180516101a0516101c051600658016143d3565b6101e0526101c0526101a0526101805261016052610140526101e0516101c0526101405161016051610180516101a0516101c0516101e051610200516101805161022052610220516006580161456b565b610280526102a052610200526101e0526101c0526101a05261018052610160526101405261028080516101e052806020015161020052506101405161016051610180516101a0516101c0516101e05161020051610220516101e0516102405261020051610260526101c0516102805261028051610260516102405160065801614882565b6102e05261022052610200526101e0526101c0526101a0526101805261016052610140526102e0516102205260206102c060046318160ddd6102605261027c6006545afa6155d457600080fd5b601f3d116155e157600080fd5b6000506102c05161024052610220516101405161022051808202821582848304141761560c57600080fd5b8090509050905061024051808061562257600080fd5b8204905090508082101561563557600080fd5b80820390509050610260526101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516101c0516102a052610160516102c0526101e0516102e0526102005161030052610260516103205261032051610300516102e0516102c0516102a05160065801615125565b6103805261028052610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405261038051610280526002546002808202821582848304141761570257600080fd5b809050905090506004808204905090506102a0526c0c9f2c9cd04674edea400000006102c052670de0b6b3a76400006102e052610180516102e0526101e0516103005261020051610320526101e0610160516002811061576157600080fd5b6020020151610280518082101561577757600080fd5b80820390509050670de0b6b3a7640000808202821582848304141761579b57600080fd5b809050905090506102c061016051600281106157b657600080fd5b602002015180806157c657600080fd5b8204905090506103405261036060006002818352015b6000610380526101605161036051141561585e576101e0610360516002811061580457600080fd5b602002015161026051808202821582848304141761582157600080fd5b8090509050905061022051808061583757600080fd5b820490509050610280518082101561584e57600080fd5b80820390509050610380526158dd565b6101e0610360516002811061587257600080fd5b60200201516101e0610360516002811061588b57600080fd5b60200201516102605180820282158284830414176158a857600080fd5b809050905090506102205180806158be57600080fd5b820490509050808210156158d157600080fd5b80820390509050610380525b61030061036051600281106158f157600080fd5b6020020180516102a05161038051808202821582848304141761591357600080fd5b809050905090506402540be400808204905090508082101561593457600080fd5b808203905090508152505b81516001018083528114156157dc575b5050610300610160516002811061596557600080fd5b6020020151610140610380525b6103805151602061038051016103805261038061038051101561599457615972565b6101c0516103a052610160516103c052610300516103e0526103205161040052610260516104205261042051610400516103e0516103c0516103a05160065801615125565b61048052610360610380525b6103805152602061038051036103805261014061038051101515615a08576159e5565b6104805180821015615a1957600080fd5b808203905090506103605261036051600180821015615a3757600080fd5b80820390509050670de0b6b3a76400008082028215828483041417615a5b57600080fd5b809050905090506102c06101605160028110615a7657600080fd5b60200201518080615a8657600080fd5b820490509050610360526103e0610360518152610340516103605180821015615aae57600080fd5b808203905090508160200152610240518160400152506060610440525b600061044051111515615add57615af9565b602061044051036103e001516020610440510361044052615acb565b6101a051565b6103c6615ec5036103c66000396103c6615ec5036000f3000000000000000000000000abc00210a691ce0f3d7d0602d7d84aea4d91cdfd000000000000000000000000049d68029688eabf473097a2fc38ef61633a3c7a000000000000000000000000af4de8e872131ae328ce21d909c74705d3aaf45200000000000000000000000018796c878f6b38b1f1bf31bc2dfeed4e1d8e033a000000000000000000000000160caed03795365f3a589f10c379ffa7d75d4e76000000000000000000000000000000000000000000000000000000000000019000000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000012a05f20000000000000000000000000046e0193fd33ea52f1232b0da201f7a8c46d5379e

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.