POL Price: $0.719066 (-0.89%)
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Deploy_plain_poo...649662522024-12-01 20:22:103 days ago1733084530IN
0x1764ee18...192594585
0 POL0.1635850730.00083566
Deploy_plain_poo...649647572024-12-01 19:28:533 days ago1733081333IN
0x1764ee18...192594585
0 POL0.1629280529.91001125
Deploy_plain_poo...648378242024-11-28 15:21:466 days ago1732807306IN
0x1764ee18...192594585
0 POL0.4763073584.873241
Deploy_plain_poo...648307992024-11-28 11:12:337 days ago1732792353IN
0x1764ee18...192594585
0 POL0.1872923734.34979089
Deploy_plain_poo...646678892024-11-24 8:32:4911 days ago1732437169IN
0x1764ee18...192594585
0 POL0.2869909552.73114766
Deploy_plain_poo...642298482024-11-13 9:27:4922 days ago1731490069IN
0x1764ee18...192594585
0 POL0.2027874137.32875545
Deploy_plain_poo...642294142024-11-13 9:12:1722 days ago1731489137IN
0x1764ee18...192594585
0 POL0.2446351244.89070492
Deploy_plain_poo...638543492024-11-04 0:33:0331 days ago1730680383IN
0x1764ee18...192594585
0 POL0.1804475633.12724735
Deploy_plain_poo...633558272024-10-22 15:16:3243 days ago1729610192IN
0x1764ee18...192594585
0 POL0.2140252439.28580256
Deploy_plain_poo...633491072024-10-22 11:15:1844 days ago1729595718IN
0x1764ee18...192594585
0 POL0.2762015750.81803784
Deploy_plain_poo...633465512024-10-22 9:44:1444 days ago1729590254IN
0x1764ee18...192594585
0 POL0.91529272168.40374827
Deploy_plain_poo...633460832024-10-22 9:27:4044 days ago1729589260IN
0x1764ee18...192594585
0 POL1.17264444215.75362039
Deploy_plain_poo...633174252024-10-21 16:31:2044 days ago1729528280IN
0x1764ee18...192594585
0 POL0.1809027133.28410068
Deploy_plain_poo...633150312024-10-21 15:06:3044 days ago1729523190IN
0x1764ee18...192594585
0 POL0.3355520561.73787122
Deploy_plain_poo...633148652024-10-21 15:00:3844 days ago1729522838IN
0x1764ee18...192594585
0 POL0.2632053348.42687312
Deploy_plain_poo...631463932024-10-17 10:52:0849 days ago1729162328IN
0x1764ee18...192594585
0 POL0.1815023333.39442493
Deploy_plain_poo...631052702024-10-16 10:33:0650 days ago1729074786IN
0x1764ee18...192594585
0 POL0.3573378565.74621769
Deploy_plain_poo...631021302024-10-16 8:41:5450 days ago1729068114IN
0x1764ee18...192594585
0 POL0.2428696344.68532878
Deploy_plain_poo...630666972024-10-15 11:44:3451 days ago1728992674IN
0x1764ee18...192594585
0 POL0.4817053788.62846632
Deploy_plain_poo...630650002024-10-15 10:44:2851 days ago1728989068IN
0x1764ee18...192594585
0 POL0.2758692150.75688684
Deploy_plain_poo...630645942024-10-15 10:30:0651 days ago1728988206IN
0x1764ee18...192594585
0 POL0.60770149111.81035999
Deploy_plain_poo...628734922024-10-10 17:17:3455 days ago1728580654IN
0x1764ee18...192594585
0 POL0.1666888130.66890003
Deploy_plain_poo...628732132024-10-10 17:07:4055 days ago1728580060IN
0x1764ee18...192594585
0 POL0.1884388534.67066672
Deploy_plain_poo...628728432024-10-10 16:54:3455 days ago1728579274IN
0x1764ee18...192594585
0 POL0.1634156130.06666668
Deploy_plain_poo...628721152024-10-10 16:28:4855 days ago1728577728IN
0x1764ee18...192594585
0 POL0.1694065531.16893333
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
649662522024-12-01 20:22:103 days ago1733084530
0x1764ee18...192594585
 Contract Creation0 POL
649647572024-12-01 19:28:533 days ago1733081333
0x1764ee18...192594585
 Contract Creation0 POL
648378242024-11-28 15:21:466 days ago1732807306
0x1764ee18...192594585
 Contract Creation0 POL
648307992024-11-28 11:12:337 days ago1732792353
0x1764ee18...192594585
 Contract Creation0 POL
646678892024-11-24 8:32:4911 days ago1732437169
0x1764ee18...192594585
 Contract Creation0 POL
642298482024-11-13 9:27:4922 days ago1731490069
0x1764ee18...192594585
 Contract Creation0 POL
642294142024-11-13 9:12:1722 days ago1731489137
0x1764ee18...192594585
 Contract Creation0 POL
638543492024-11-04 0:33:0331 days ago1730680383
0x1764ee18...192594585
 Contract Creation0 POL
633558272024-10-22 15:16:3243 days ago1729610192
0x1764ee18...192594585
 Contract Creation0 POL
633491072024-10-22 11:15:1844 days ago1729595718
0x1764ee18...192594585
 Contract Creation0 POL
633465512024-10-22 9:44:1444 days ago1729590254
0x1764ee18...192594585
 Contract Creation0 POL
633460832024-10-22 9:27:4044 days ago1729589260
0x1764ee18...192594585
 Contract Creation0 POL
633174252024-10-21 16:31:2044 days ago1729528280
0x1764ee18...192594585
 Contract Creation0 POL
633150312024-10-21 15:06:3044 days ago1729523190
0x1764ee18...192594585
 Contract Creation0 POL
633148652024-10-21 15:00:3844 days ago1729522838
0x1764ee18...192594585
 Contract Creation0 POL
631463932024-10-17 10:52:0849 days ago1729162328
0x1764ee18...192594585
 Contract Creation0 POL
631052702024-10-16 10:33:0650 days ago1729074786
0x1764ee18...192594585
 Contract Creation0 POL
631021302024-10-16 8:41:5450 days ago1729068114
0x1764ee18...192594585
 Contract Creation0 POL
630666972024-10-15 11:44:3451 days ago1728992674
0x1764ee18...192594585
 Contract Creation0 POL
630650002024-10-15 10:44:2851 days ago1728989068
0x1764ee18...192594585
 Contract Creation0 POL
630645942024-10-15 10:30:0651 days ago1728988206
0x1764ee18...192594585
 Contract Creation0 POL
628734922024-10-10 17:17:3455 days ago1728580654
0x1764ee18...192594585
 Contract Creation0 POL
628732132024-10-10 17:07:4055 days ago1728580060
0x1764ee18...192594585
 Contract Creation0 POL
628728432024-10-10 16:54:3455 days ago1728579274
0x1764ee18...192594585
 Contract Creation0 POL
628721152024-10-10 16:28:4855 days ago1728577728
0x1764ee18...192594585
 Contract Creation0 POL
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CurveStableswapFactoryNG

Compiler Version
vyper:0.3.10

Optimization Enabled:
N/A

Other Settings:
MIT license

Contract Source Code (Vyper language format)

# pragma version 0.3.10
# pragma evm-version paris
"""
@title CurveStableswapFactoryNG
@author Curve.Fi
@license Copyright (c) Curve.Fi, 2023 - all rights reserved
@notice Permissionless pool deployer and registry
"""

struct PoolArray:
    base_pool: address
    implementation: address
    liquidity_gauge: address
    coins: DynArray[address, MAX_COINS]
    decimals: DynArray[uint256, MAX_COINS]
    n_coins: uint256
    asset_types: DynArray[uint8, MAX_COINS]

struct BasePoolArray:
    lp_token: address
    coins: DynArray[address, MAX_COINS]
    decimals: uint256
    n_coins: uint256
    asset_types: DynArray[uint8, MAX_COINS]


interface AddressProvider:
    def admin() -> address: view

interface ERC20:
    def balanceOf(_addr: address) -> uint256: view
    def decimals() -> uint256: view
    def totalSupply() -> uint256: view

interface CurvePool:
    def A() -> uint256: view
    def fee() -> uint256: view
    def admin_fee() -> uint256: view
    def balances(i: uint256) -> uint256: view
    def admin_balances(i: uint256) -> uint256: view
    def get_virtual_price() -> uint256: view
    def coins(i: uint256) -> address: view

interface CurveFactoryMetapool:
    def coins(i :uint256) -> address: view
    def decimals() -> uint256: view


event BasePoolAdded:
    base_pool: address

event PlainPoolDeployed:
    coins: DynArray[address, MAX_COINS]
    A: uint256
    fee: uint256
    deployer: address

event MetaPoolDeployed:
    coin: address
    base_pool: address
    A: uint256
    fee: uint256
    deployer: address

event LiquidityGaugeDeployed:
    pool: address
    gauge: address

MAX_COINS: constant(uint256) = 8

MAX_FEE: constant(uint256) = 5 * 10 ** 9
FEE_DENOMINATOR: constant(uint256) = 10 ** 10

admin: public(address)
future_admin: public(address)

asset_types: public(HashMap[uint8, String[20]])

pool_list: public(address[4294967296])   # master list of pools
pool_count: public(uint256)              # actual length of pool_list
pool_data: HashMap[address, PoolArray]

base_pool_list: public(address[4294967296])   # list of base pools
base_pool_count: public(uint256)              # number of base pools
base_pool_data: public(HashMap[address, BasePoolArray])

# asset -> is used in a metapool?
base_pool_assets: public(HashMap[address, bool])

# index -> implementation address
pool_implementations: public(HashMap[uint256, address])
metapool_implementations: public(HashMap[uint256, address])
math_implementation: public(address)
gauge_implementation: public(address)
views_implementation: public(address)

# fee receiver for all pools
fee_receiver: public(address)

# mapping of coins -> pools for trading
# a mapping key is generated for each pair of addresses via
# `bitwise_xor(convert(a, uint256), convert(b, uint256))`
markets: HashMap[uint256, address[4294967296]]
market_counts: HashMap[uint256, uint256]


@external
def __init__(_fee_receiver: address, _owner: address):

    self.fee_receiver = _fee_receiver
    self.admin = _owner

    self.asset_types[0] = "Standard"
    self.asset_types[1] = "Oracle"
    self.asset_types[2] = "Rebasing"
    self.asset_types[3] = "ERC4626"


# <--- Factory Getters --->


@view
@external
def find_pool_for_coins(_from: address, _to: address, i: uint256 = 0) -> address:
    """
    @notice Find an available pool for exchanging two coins
    @param _from Address of coin to be sent
    @param _to Address of coin to be received
    @param i Index value. When multiple pools are available
            this value is used to return the n'th address.
    @return Pool address
    """
    key: uint256 = (convert(_from, uint256) ^ convert(_to, uint256))
    return self.markets[key][i]


# <--- Pool Getters --->

@view
@external
def get_base_pool(_pool: address) -> address:
    """
    @notice Get the base pool for a given factory metapool
    @param _pool Metapool address
    @return Address of base pool
    """
    return self.pool_data[_pool].base_pool


@view
@external
def get_n_coins(_pool: address) -> (uint256):
    """
    @notice Get the number of coins in a pool
    @param _pool Pool address
    @return Number of coins
    """
    return self.pool_data[_pool].n_coins


@view
@external
def get_meta_n_coins(_pool: address) -> (uint256, uint256):
    """
    @notice Get the number of coins in a metapool
    @param _pool Pool address
    @return Number of wrapped coins, number of underlying coins
    """
    base_pool: address = self.pool_data[_pool].base_pool
    return 2, self.base_pool_data[base_pool].n_coins + 1


@view
@external
def get_coins(_pool: address) -> DynArray[address, MAX_COINS]:
    """
    @notice Get the coins within a pool
    @param _pool Pool address
    @return List of coin addresses
    """
    return self.pool_data[_pool].coins


@view
@external
def get_underlying_coins(_pool: address) -> DynArray[address, MAX_COINS]:
    """
    @notice Get the underlying coins within a pool
    @dev Reverts if a pool does not exist or is not a metapool
    @param _pool Pool address
    @return List of coin addresses
    """
    coins: DynArray[address, MAX_COINS] = empty(DynArray[address, MAX_COINS])
    base_pool: address = self.pool_data[_pool].base_pool
    assert base_pool != empty(address)  # dev: pool is not metapool

    coins.append(self.pool_data[_pool].coins[0])
    base_pool_n_coins: uint256 = len(self.base_pool_data[base_pool].coins)
    for i in range(1, MAX_COINS):
        if i - 1 == base_pool_n_coins:
            break

        coins.append(self.base_pool_data[base_pool].coins[i - 1])

    return coins


@view
@external
def get_decimals(_pool: address) -> DynArray[uint256, MAX_COINS]:
    """
    @notice Get decimal places for each coin within a pool
    @param _pool Pool address
    @return uint256 list of decimals
    """
    return self.pool_data[_pool].decimals


@view
@external
def get_underlying_decimals(_pool: address) -> DynArray[uint256, MAX_COINS]:
    """
    @notice Get decimal places for each underlying coin within a pool
    @param _pool Pool address
    @return uint256 list of decimals
    """
    # decimals are tightly packed as a series of uint8 within a little-endian bytes32
    # the packed value is stored as uint256 to simplify unpacking via shift and modulo
    pool_decimals: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS])
    pool_decimals = self.pool_data[_pool].decimals
    decimals: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS])
    decimals.append(pool_decimals[0])
    base_pool: address = self.pool_data[_pool].base_pool
    packed_decimals: uint256 = self.base_pool_data[base_pool].decimals

    for i in range(MAX_COINS):
        unpacked: uint256 = (packed_decimals >> 8 * i) % 256
        if unpacked == 0:
            break

        decimals.append(unpacked)

    return decimals


@view
@external
def get_metapool_rates(_pool: address) -> DynArray[uint256, MAX_COINS]:
    """
    @notice Get rates for coins within a metapool
    @param _pool Pool address
    @return Rates for each coin, precision normalized to 10**18
    """
    rates: DynArray[uint256, MAX_COINS] = [10**18, 0]
    rates[1] = CurvePool(self.pool_data[_pool].base_pool).get_virtual_price()
    return rates


@view
@external
def get_balances(_pool: address) -> DynArray[uint256, MAX_COINS]:
    """
    @notice Get balances for each coin within a pool
    @dev For pools using lending, these are the wrapped coin balances
    @param _pool Pool address
    @return uint256 list of balances
    """
    balances: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS])

    if self.pool_data[_pool].base_pool != empty(address):
        balances.append(CurvePool(_pool).balances(0))
        balances.append(CurvePool(_pool).balances(1))
        return balances

    n_coins: uint256 = self.pool_data[_pool].n_coins
    for i in range(MAX_COINS):

        if i == n_coins:
            break

        balances.append(CurvePool(_pool).balances(i))


    return balances


@view
@external
def get_underlying_balances(_pool: address) -> DynArray[uint256, MAX_COINS]:
    """
    @notice Get balances for each underlying coin within a metapool
    @param _pool Metapool address
    @return uint256 list of underlying balances
    """

    base_pool: address = self.pool_data[_pool].base_pool
    assert base_pool != empty(address)  # dev: pool is not a metapool

    underlying_balances: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS])
    underlying_balances[0] = CurvePool(_pool).balances(0)

    base_total_supply: uint256 = ERC20(self.pool_data[_pool].coins[1]).totalSupply()
    if base_total_supply > 0:
        underlying_pct: uint256 = CurvePool(_pool).balances(1) * 10**36 / base_total_supply
        n_coins: uint256 = self.base_pool_data[base_pool].n_coins
        for i in range(MAX_COINS):
            if i == n_coins:
                break
            underlying_balances[i + 1] = CurvePool(base_pool).balances(i) * underlying_pct / 10**36

    return underlying_balances


@view
@external
def get_A(_pool: address) -> uint256:
    """
    @notice Get the amplfication co-efficient for a pool
    @param _pool Pool address
    @return uint256 A
    """
    return CurvePool(_pool).A()


@view
@external
def get_fees(_pool: address) -> (uint256, uint256):
    """
    @notice Get the fees for a pool
    @dev Fees are expressed as integers
    @return Pool fee and admin fee as uint256 with 1e10 precision
    """
    return CurvePool(_pool).fee(), CurvePool(_pool).admin_fee()


@view
@external
def get_admin_balances(_pool: address) -> DynArray[uint256, MAX_COINS]:
    """
    @notice Get the current admin balances (uncollected fees) for a pool
    @param _pool Pool address
    @return List of uint256 admin balances
    """
    n_coins: uint256 = self.pool_data[_pool].n_coins
    admin_balances: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS])
    for i in range(MAX_COINS):
        if i == n_coins:
            break
        admin_balances.append(CurvePool(_pool).admin_balances(i))
    return admin_balances


@view
@external
def get_coin_indices(
    _pool: address,
    _from: address,
    _to: address
) -> (int128, int128, bool):
    """
    @notice Convert coin addresses to indices for use with pool methods
    @param _pool Pool address
    @param _from Coin address to be used as `i` within a pool
    @param _to Coin address to be used as `j` within a pool
    @return int128 `i`, int128 `j`, boolean indicating if `i` and `j` are underlying coins
    """
    coin: address = self.pool_data[_pool].coins[0]
    base_pool: address = self.pool_data[_pool].base_pool
    if coin in [_from, _to] and base_pool != empty(address):
        base_lp_token: address = self.pool_data[_pool].coins[1]
        if base_lp_token in [_from, _to]:
            # True and False convert to 1 and 0 - a bit of voodoo that
            # works because we only ever have 2 non-underlying coins if base pool is empty(address)
            return convert(_to == coin, int128), convert(_from == coin, int128), False

    found_market: bool = False
    i: uint256 = 0
    j: uint256 = 0
    for x in range(MAX_COINS):
        if base_pool == empty(address):
            if x >= MAX_COINS:
                raise "No available market"
            if x != 0:
                coin = self.pool_data[_pool].coins[x]
        else:
            if x != 0:
                coin = self.base_pool_data[base_pool].coins[x-1]
        if coin == empty(address):
            raise "No available market"
        if coin == _from:
            i = x
        elif coin == _to:
            j = x
        else:
            continue
        if found_market:
            # the second time we find a match, break out of the loop
            break
        # the first time we find a match, set `found_market` to True
        found_market = True

    return convert(i, int128), convert(j, int128), True


@view
@external
def get_gauge(_pool: address) -> address:
    """
    @notice Get the address of the liquidity gauge contract for a factory pool
    @dev Returns `empty(address)` if a gauge has not been deployed
    @param _pool Pool address
    @return Implementation contract address
    """
    return self.pool_data[_pool].liquidity_gauge


@view
@external
def get_implementation_address(_pool: address) -> address:
    """
    @notice Get the address of the implementation contract used for a factory pool
    @param _pool Pool address
    @return Implementation contract address
    """
    return self.pool_data[_pool].implementation


@view
@external
def is_meta(_pool: address) -> bool:
    """
    @notice Verify `_pool` is a metapool
    @param _pool Pool address
    @return True if `_pool` is a metapool
    """
    return self.pool_data[_pool].base_pool != empty(address)


@view
@external
def get_pool_asset_types(_pool: address) -> DynArray[uint8, MAX_COINS]:
    """
    @notice Query the asset type of `_pool`
    @param _pool Pool Address
    @return Dynarray of uint8 indicating the pool asset type
            Asset Types:
                0. Standard ERC20 token with no additional features
                1. Oracle - token with rate oracle (e.g. wrapped staked ETH)
                2. Rebasing - token with rebase (e.g. staked ETH)
                3. ERC4626 - e.g. sDAI
    """
    return self.pool_data[_pool].asset_types


# <--- Pool Deployers --->

@external
def deploy_plain_pool(
    _name: String[32],
    _symbol: String[10],
    _coins: DynArray[address, MAX_COINS],
    _A: uint256,
    _fee: uint256,
    _offpeg_fee_multiplier: uint256,
    _ma_exp_time: uint256,
    _implementation_idx: uint256,
    _asset_types: DynArray[uint8, MAX_COINS],
    _method_ids: DynArray[bytes4, MAX_COINS],
    _oracles: DynArray[address, MAX_COINS],
) -> address:
    """
    @notice Deploy a new plain pool
    @param _name Name of the new plain pool
    @param _symbol Symbol for the new plain pool - will be
                   concatenated with factory symbol
    @param _coins List of addresses of the coins being used in the pool.
    @param _A Amplification co-efficient - a lower value here means
              less tolerance for imbalance within the pool's assets.
              Suggested values include:
               * Uncollateralized algorithmic stablecoins: 5-10
               * Non-redeemable, collateralized assets: 100
               * Redeemable assets: 200-400
    @param _fee Trade fee, given as an integer with 1e10 precision. The
                maximum is 1% (100000000). 50% of the fee is distributed to veCRV holders.
    @param _ma_exp_time Averaging window of oracle. Set as time_in_seconds / ln(2)
                        Example: for 10 minute EMA, _ma_exp_time is 600 / ln(2) ~= 866
    @param _implementation_idx Index of the implementation to use
    @param _asset_types Asset types for pool, as an integer
    @param _method_ids Array of first four bytes of the Keccak-256 hash of the function signatures
                       of the oracle addresses that gives rate oracles.
                       Calculated as: keccak(text=event_signature.replace(" ", ""))[:4]
    @param _oracles Array of rate oracle addresses.
    @return Address of the deployed pool
    """
    assert len(_coins) >= 2  # dev: pool needs to have at least two coins!
    assert len(_coins) == len(_method_ids)  # dev: All coin arrays should be same length
    assert len(_coins) ==  len(_oracles)  # dev: All coin arrays should be same length
    assert len(_coins) ==  len(_asset_types)  # dev: All coin arrays should be same length
    assert _fee <= 100000000, "Invalid fee"
    assert _offpeg_fee_multiplier * _fee <= MAX_FEE * FEE_DENOMINATOR

    n_coins: uint256 = len(_coins)
    _rate_multipliers: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS])
    decimals: DynArray[uint256, MAX_COINS] = empty(DynArray[uint256, MAX_COINS])

    for i in range(MAX_COINS):
        if i == n_coins:
            break

        coin: address = _coins[i]

        decimals.append(ERC20(coin).decimals())
        assert decimals[i] < 19, "Max 18 decimals for coins"

        _rate_multipliers.append(10 ** (36 - decimals[i]))

        for j in range(i, i + MAX_COINS):
            if (j + 1) == n_coins:
                break
            assert coin != _coins[j+1], "Duplicate coins"

    implementation: address = self.pool_implementations[_implementation_idx]
    assert implementation != empty(address), "Invalid implementation index"

    pool: address = create_from_blueprint(
        implementation,
        _name,                                          # _name: String[32]
        _symbol,                                        # _symbol: String[10]
        _A,                                             # _A: uint256
        _fee,                                           # _fee: uint256
        _offpeg_fee_multiplier,                         # _offpeg_fee_multiplier: uint256
        _ma_exp_time,                                   # _ma_exp_time: uint256
        _coins,                                         # _coins: DynArray[address, MAX_COINS]
        _rate_multipliers,                              # _rate_multipliers: DynArray[uint256, MAX_COINS]
        _asset_types,                                   # _asset_types: DynArray[uint8, MAX_COINS]
        _method_ids,                                    # _method_ids: DynArray[bytes4, MAX_COINS]
        _oracles,                                       # _oracles: DynArray[address, MAX_COINS]
        code_offset=3
    )

    length: uint256 = self.pool_count
    self.pool_list[length] = pool
    self.pool_count = length + 1
    self.pool_data[pool].decimals = decimals
    self.pool_data[pool].n_coins = n_coins
    self.pool_data[pool].base_pool = empty(address)
    self.pool_data[pool].implementation = implementation
    self.pool_data[pool].asset_types = _asset_types

    for i in range(MAX_COINS):
        if i == n_coins:
            break

        coin: address = _coins[i]
        self.pool_data[pool].coins.append(coin)

        for j in range(i, i + MAX_COINS):
            if (j + 1) == n_coins:
                break
            swappable_coin: address = _coins[j + 1]
            key: uint256 = (convert(coin, uint256) ^ convert(swappable_coin, uint256))
            length = self.market_counts[key]
            self.markets[key][length] = pool
            self.market_counts[key] = length + 1

    log PlainPoolDeployed(_coins, _A, _fee, msg.sender)
    return pool


@external
def deploy_metapool(
    _base_pool: address,
    _name: String[32],
    _symbol: String[10],
    _coin: address,
    _A: uint256,
    _fee: uint256,
    _offpeg_fee_multiplier: uint256,
    _ma_exp_time: uint256,
    _implementation_idx: uint256,
    _asset_type: uint8,
    _method_id: bytes4,
    _oracle: address,
) -> address:
    """
    @notice Deploy a new metapool
    @param _base_pool Address of the base pool to use
                      within the metapool
    @param _name Name of the new metapool
    @param _symbol Symbol for the new metapool - will be
                   concatenated with the base pool symbol
    @param _coin Address of the coin being used in the metapool
    @param _A Amplification co-efficient - a higher value here means
              less tolerance for imbalance within the pool's assets.
              Suggested values include:
               * Uncollateralized algorithmic stablecoins: 5-10
               * Non-redeemable, collateralized assets: 100
               * Redeemable assets: 200-400
    @param _fee Trade fee, given as an integer with 1e10 precision. The
                the maximum is 1% (100000000).
                50% of the fee is distributed to veCRV holders.
    @param _ma_exp_time Averaging window of oracle. Set as time_in_seconds / ln(2)
                        Example: for 10 minute EMA, _ma_exp_time is 600 / ln(2) ~= 866
    @param _implementation_idx Index of the implementation to use
    @param _asset_type Asset type for token, as an integer
    @param _method_id  First four bytes of the Keccak-256 hash of the function signatures
                       of the oracle addresses that gives rate oracles.
                       Calculated as: keccak(text=event_signature.replace(" ", ""))[:4]
    @param _oracle Rate oracle address.
    @return Address of the deployed pool
    """
    assert not self.base_pool_assets[_coin], "Invalid asset: Cannot pair base pool asset with base pool's LP token"
    assert _fee <= 100000000, "Invalid fee"
    assert _offpeg_fee_multiplier * _fee <= MAX_FEE * FEE_DENOMINATOR

    base_pool_n_coins: uint256 = len(self.base_pool_data[_base_pool].coins)
    assert base_pool_n_coins != 0, "Base pool is not added"

    implementation: address = self.metapool_implementations[_implementation_idx]
    assert implementation != empty(address), "Invalid implementation index"

    # things break if a token has >18 decimals
    decimals: uint256 = ERC20(_coin).decimals()
    assert decimals < 19, "Max 18 decimals for coins"

    # combine _coins's _asset_type and basepool coins _asset_types:
    base_pool_asset_types: DynArray[uint8, MAX_COINS] = self.base_pool_data[_base_pool].asset_types
    asset_types: DynArray[uint8, MAX_COINS]  = [_asset_type, 0]

    for i in range(0, MAX_COINS):
        if i == base_pool_n_coins:
            break
        asset_types.append(base_pool_asset_types[i])

    _coins: DynArray[address, MAX_COINS] = [_coin, self.base_pool_data[_base_pool].lp_token]
    _rate_multipliers: DynArray[uint256, MAX_COINS] = [10 ** (36 - decimals), 10 ** 18]
    _method_ids: DynArray[bytes4, MAX_COINS] = [_method_id, empty(bytes4)]
    _oracles: DynArray[address, MAX_COINS] = [_oracle, empty(address)]

    pool: address = create_from_blueprint(
        implementation,
        _name,                                          # _name: String[32]
        _symbol,                                        # _symbol: String[10]
        _A,                                             # _A: uint256
        _fee,                                           # _fee: uint256
        _offpeg_fee_multiplier,                         # _offpeg_fee_multiplier: uint256
        _ma_exp_time,                                   # _ma_exp_time: uint256
        self.math_implementation,                       # _math_implementation: address
        _base_pool,                                     # _base_pool: address
        _coins,                                         # _coins: DynArray[address, MAX_COINS]
        self.base_pool_data[_base_pool].coins,          # base_coins: DynArray[address, MAX_COINS]
        _rate_multipliers,                              # _rate_multipliers: DynArray[uint256, MAX_COINS]
        asset_types,                                    # asset_types: DynArray[uint8, MAX_COINS]
        _method_ids,                                    # _method_ids: DynArray[bytes4, MAX_COINS]
        _oracles,                                       # _oracles: DynArray[address, MAX_COINS]
        code_offset=3
    )

    # add pool to pool_list
    length: uint256 = self.pool_count
    self.pool_list[length] = pool
    self.pool_count = length + 1

    base_lp_token: address = self.base_pool_data[_base_pool].lp_token

    self.pool_data[pool].decimals = [decimals, 18, 0, 0, 0, 0, 0, 0]
    self.pool_data[pool].n_coins = 2
    self.pool_data[pool].base_pool = _base_pool
    self.pool_data[pool].coins = [_coin, self.base_pool_data[_base_pool].lp_token]
    self.pool_data[pool].implementation = implementation

    is_finished: bool = False
    swappable_coin: address = empty(address)
    for i in range(MAX_COINS):
        if i < len(self.base_pool_data[_base_pool].coins):
            swappable_coin = self.base_pool_data[_base_pool].coins[i]
        else:
            is_finished = True
            swappable_coin = base_lp_token

        key: uint256 = (convert(_coin, uint256) ^ convert(swappable_coin, uint256))
        length = self.market_counts[key]
        self.markets[key][length] = pool
        self.market_counts[key] = length + 1

        if is_finished:
            break

    log MetaPoolDeployed(_coin, _base_pool, _A, _fee, msg.sender)
    return pool


@external
def deploy_gauge(_pool: address) -> address:
    """
    @notice Deploy a liquidity gauge for a factory pool
    @param _pool Factory pool address to deploy a gauge for
    @return Address of the deployed gauge
    """
    assert self.pool_data[_pool].coins[0] != empty(address), "Unknown pool"
    assert self.pool_data[_pool].liquidity_gauge == empty(address), "Gauge already deployed"
    implementation: address = self.gauge_implementation
    assert implementation != empty(address), "Gauge implementation not set"

    gauge: address = create_from_blueprint(self.gauge_implementation, _pool, code_offset=3)
    self.pool_data[_pool].liquidity_gauge = gauge

    log LiquidityGaugeDeployed(_pool, gauge)
    return gauge


# <--- Admin / Guarded Functionality --->

@external
def add_base_pool(
    _base_pool: address,
    _base_lp_token: address,
    _asset_types: DynArray[uint8, MAX_COINS],
    _n_coins: uint256,
):
    """
    @notice Add a base pool to the registry, which may be used in factory metapools
    @dev 1. Only callable by admin
         2. Rebasing tokens are not allowed in the base pool.
         3. Do not add base pool which contains native tokens (e.g. ETH).
         4. As much as possible: use standard ERC20 tokens.
         Should you choose to deviate from these recommendations, audits are advised.
    @param _base_pool Pool address to add
    @param _asset_types Asset type for pool, as an integer
    """
    assert msg.sender == self.admin  # dev: admin-only function
    assert 2 not in _asset_types  # dev: rebasing tokens cannot be in base pool
    assert len(self.base_pool_data[_base_pool].coins) == 0  # dev: pool exists
    assert _n_coins < MAX_COINS  # dev: base pool can only have (MAX_COINS - 1) coins.

    # add pool to pool_list
    length: uint256 = self.base_pool_count
    self.base_pool_list[length] = _base_pool
    self.base_pool_count = length + 1
    self.base_pool_data[_base_pool].lp_token = _base_lp_token
    self.base_pool_data[_base_pool].n_coins = _n_coins
    self.base_pool_data[_base_pool].asset_types = _asset_types

    decimals: uint256 = 0
    coins: DynArray[address, MAX_COINS] = empty(DynArray[address, MAX_COINS])
    coin: address = empty(address)
    for i in range(MAX_COINS):
        if i == _n_coins:
            break
        coin = CurvePool(_base_pool).coins(i)
        assert coin != 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE  # dev: native token is not supported
        self.base_pool_data[_base_pool].coins.append(coin)
        self.base_pool_assets[coin] = True
        decimals += (ERC20(coin).decimals() << i*8)
    self.base_pool_data[_base_pool].decimals = decimals

    log BasePoolAdded(_base_pool)


@external
def set_pool_implementations(
    _implementation_index: uint256,
    _implementation: address,
):
    """
    @notice Set implementation contracts for pools
    @dev Only callable by admin
    @param _implementation_index Implementation index where implementation is stored
    @param _implementation Implementation address to use when deploying plain pools
    """
    assert msg.sender == self.admin  # dev: admin-only function
    self.pool_implementations[_implementation_index] = _implementation


@external
def set_metapool_implementations(
    _implementation_index: uint256,
    _implementation: address,
):
    """
    @notice Set implementation contracts for metapools
    @dev Only callable by admin
    @param _implementation_index Implementation index where implementation is stored
    @param _implementation Implementation address to use when deploying meta pools
    """
    assert msg.sender == self.admin  # dev: admin-only function
    self.metapool_implementations[_implementation_index] = _implementation


@external
def set_math_implementation(_math_implementation: address):
    """
    @notice Set implementation contracts for StableSwap Math
    @dev Only callable by admin
    @param _math_implementation Address of the math implementation contract
    """
    assert msg.sender == self.admin  # dev: admin-only function
    self.math_implementation = _math_implementation


@external
def set_gauge_implementation(_gauge_implementation: address):
    """
    @notice Set implementation contracts for liquidity gauge
    @dev Only callable by admin
    @param _gauge_implementation Address of the gauge blueprint implementation contract
    """
    assert msg.sender == self.admin  # dev: admin-only function
    self.gauge_implementation = _gauge_implementation


@external
def set_views_implementation(_views_implementation: address):
    """
    @notice Set implementation contracts for Views methods
    @dev Only callable by admin
    @param _views_implementation Implementation address of views contract
    """
    assert msg.sender == self.admin  # dev: admin-only function
    self.views_implementation = _views_implementation


@external
def commit_transfer_ownership(_addr: address):
    """
    @notice Transfer ownership of this contract to `addr`
    @param _addr Address of the new owner
    """
    assert msg.sender == self.admin  # dev: admin only
    self.future_admin = _addr


@external
def accept_transfer_ownership():
    """
    @notice Accept a pending ownership transfer
    @dev Only callable by the new owner
    """
    _admin: address = self.future_admin
    assert msg.sender == _admin  # dev: future admin only

    self.admin = _admin
    self.future_admin = empty(address)


@external
def set_fee_receiver(_pool: address, _fee_receiver: address):
    """
    @notice Set fee receiver for all pools
    @param _pool Address of  pool to set fee receiver for.
    @param _fee_receiver Address that fees are sent to
    """
    assert msg.sender == self.admin  # dev: admin only
    self.fee_receiver = _fee_receiver


@external
def add_asset_type(_id: uint8, _name: String[10]):
    """
    @notice Admin only method that adds a new asset type.
    @param _id asset type id.
    @param _name Name of the asset type.
    """
    assert msg.sender == self.admin  # dev: admin only
    self.asset_types[_id] = _name

Contract Security Audit

Contract ABI

[{"name":"BasePoolAdded","inputs":[{"name":"base_pool","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"PlainPoolDeployed","inputs":[{"name":"coins","type":"address[]","indexed":false},{"name":"A","type":"uint256","indexed":false},{"name":"fee","type":"uint256","indexed":false},{"name":"deployer","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"MetaPoolDeployed","inputs":[{"name":"coin","type":"address","indexed":false},{"name":"base_pool","type":"address","indexed":false},{"name":"A","type":"uint256","indexed":false},{"name":"fee","type":"uint256","indexed":false},{"name":"deployer","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"LiquidityGaugeDeployed","inputs":[{"name":"pool","type":"address","indexed":false},{"name":"gauge","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"_fee_receiver","type":"address"},{"name":"_owner","type":"address"}],"outputs":[]},{"stateMutability":"view","type":"function","name":"find_pool_for_coins","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"find_pool_for_coins","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"i","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"get_base_pool","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"get_n_coins","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_meta_n_coins","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_coins","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"address[]"}]},{"stateMutability":"view","type":"function","name":"get_underlying_coins","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"address[]"}]},{"stateMutability":"view","type":"function","name":"get_decimals","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256[]"}]},{"stateMutability":"view","type":"function","name":"get_underlying_decimals","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256[]"}]},{"stateMutability":"view","type":"function","name":"get_metapool_rates","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256[]"}]},{"stateMutability":"view","type":"function","name":"get_balances","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256[]"}]},{"stateMutability":"view","type":"function","name":"get_underlying_balances","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256[]"}]},{"stateMutability":"view","type":"function","name":"get_A","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_fees","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"get_admin_balances","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint256[]"}]},{"stateMutability":"view","type":"function","name":"get_coin_indices","inputs":[{"name":"_pool","type":"address"},{"name":"_from","type":"address"},{"name":"_to","type":"address"}],"outputs":[{"name":"","type":"int128"},{"name":"","type":"int128"},{"name":"","type":"bool"}]},{"stateMutability":"view","type":"function","name":"get_gauge","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"get_implementation_address","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"is_meta","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"view","type":"function","name":"get_pool_asset_types","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"uint8[]"}]},{"stateMutability":"nonpayable","type":"function","name":"deploy_plain_pool","inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_coins","type":"address[]"},{"name":"_A","type":"uint256"},{"name":"_fee","type":"uint256"},{"name":"_offpeg_fee_multiplier","type":"uint256"},{"name":"_ma_exp_time","type":"uint256"},{"name":"_implementation_idx","type":"uint256"},{"name":"_asset_types","type":"uint8[]"},{"name":"_method_ids","type":"bytes4[]"},{"name":"_oracles","type":"address[]"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"nonpayable","type":"function","name":"deploy_metapool","inputs":[{"name":"_base_pool","type":"address"},{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_coin","type":"address"},{"name":"_A","type":"uint256"},{"name":"_fee","type":"uint256"},{"name":"_offpeg_fee_multiplier","type":"uint256"},{"name":"_ma_exp_time","type":"uint256"},{"name":"_implementation_idx","type":"uint256"},{"name":"_asset_type","type":"uint8"},{"name":"_method_id","type":"bytes4"},{"name":"_oracle","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"nonpayable","type":"function","name":"deploy_gauge","inputs":[{"name":"_pool","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"nonpayable","type":"function","name":"add_base_pool","inputs":[{"name":"_base_pool","type":"address"},{"name":"_base_lp_token","type":"address"},{"name":"_asset_types","type":"uint8[]"},{"name":"_n_coins","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_pool_implementations","inputs":[{"name":"_implementation_index","type":"uint256"},{"name":"_implementation","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_metapool_implementations","inputs":[{"name":"_implementation_index","type":"uint256"},{"name":"_implementation","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_math_implementation","inputs":[{"name":"_math_implementation","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_gauge_implementation","inputs":[{"name":"_gauge_implementation","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_views_implementation","inputs":[{"name":"_views_implementation","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"commit_transfer_ownership","inputs":[{"name":"_addr","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"accept_transfer_ownership","inputs":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_fee_receiver","inputs":[{"name":"_pool","type":"address"},{"name":"_fee_receiver","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"add_asset_type","inputs":[{"name":"_id","type":"uint8"},{"name":"_name","type":"string"}],"outputs":[]},{"stateMutability":"view","type":"function","name":"admin","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"future_admin","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"asset_types","inputs":[{"name":"arg0","type":"uint8"}],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"pool_list","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"pool_count","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"base_pool_list","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"base_pool_count","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"base_pool_data","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"lp_token","type":"address"},{"name":"coins","type":"address[]"},{"name":"decimals","type":"uint256"},{"name":"n_coins","type":"uint256"},{"name":"asset_types","type":"uint8[]"}]}]},{"stateMutability":"view","type":"function","name":"base_pool_assets","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"view","type":"function","name":"pool_implementations","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"metapool_implementations","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"math_implementation","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"gauge_implementation","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"views_implementation","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"fee_receiver","inputs":[],"outputs":[{"name":"","type":"address"}]}]

346101aa5760206138c86000396000518060a01c6101aa5760405260206138e86000396000518060a01c6101aa5760605260405164020000000d5560605160005560086080527f5374616e6461726400000000000000000000000000000000000000000000000060a05260808051600260006020526000526040600020556020810151600160026000602052600052604060002001555060066080527f4f7261636c65000000000000000000000000000000000000000000000000000060a05260808051600260016020526000526040600020556020810151600160026001602052600052604060002001555060086080527f5265626173696e6700000000000000000000000000000000000000000000000060a05260808051600260026020526000526040600020556020810151600160026002602052600052604060002001555060076080527f455243343632360000000000000000000000000000000000000000000000000060a0526080805160026003602052600052604060002055602081015160016002600360205260005260406000200155506137046101af61000039613704610000f35b600080fd60003560e01c6002602f820660011b6136a601601e39600051565b63f851a440811861369b57346136a15760005460405260206040f361369b565b6317f7182a811861369b57346136a15760015460405260206040f361369b565b63f1f1017281186100d1576024361034176136a1576004358060081c6136a157604052602080606052600260405160205260005260406000208160600181548152600182015460208201528051806020830101601f82600003163682375050601f19601f8251602001011690509050810190506060f35b635bcd3d83811861369b57610224361034176136a15760043560040160208135116136a157602081350180826040375050602435600401600a8135116136a15760208135018082608037505060443560040160088135116136a1578035600081600881116136a157801561016657905b8060051b6020850101358060a01c6136a1578160051b60e00152600101818118610141575b50508060c05250506101043560040160088135116136a1578035600081600881116136a15780156101b957905b8060051b6020850101358060081c6136a1578160051b6102000152600101818118610193575b5050806101e05250506101243560040160088135116136a1578035600081600881116136a157801561020d57905b8060051b6020850101358060201b6136a1578160051b61032001526001018181186101e7575b5050806103005250506101443560040160088135116136a1578035600081600881116136a157801561026157905b8060051b6020850101358060a01c6136a1578160051b610440015260010181811861023b575b505080610420525050600260c051106136a1576103005160c051186136a1576104205160c051186136a1576101e05160c051186136a1576305f5e100608435111561030c57600b610540527f496e76616c6964206665650000000000000000000000000000000000000000006105605261054050610540518061056001601f826000031636823750506308c379a061050052602061052052601f19601f61054051011660440161051cfd5b6802b5e3af16b188000060a4356084358082028115838383041417156136a15790509050116136a15760c0516105405260006105605260006106805260006008905b806107a052610540516107a05118610365576105a7565b6107a05160c0518110156136a15760051b60e001516107c05261068051600781116136a1576107c05163313ce5676107e05260206107e060046107fc845afa6103b3573d600060003e3d6000fd5b60203d106136a1576107e09050518160051b6106a0015260018101610680525060126107a051610680518110156136a15760051b6106a0015111156104585760196107e0527f4d617820313820646563696d616c7320666f7220636f696e7300000000000000610800526107e0506107e0518061080001601f826000031636823750506308c379a06107a05260206107c052601f19601f6107e05101166044016107bcfd5b61056051600781116136a1576107a051610680518110156136a15760051b6106a0015180602403602481116136a1579050604d81116136a15780600a0a90508160051b61058001526001810161056052506107a0517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff881116136a15760088101905b806107e052610540516107e051600181018181106136a1579050186104fe5761059a565b6107e051600181018181106136a157905060c0518110156136a15760051b60e001516107c0511861058f57600f610800527f4475706c696361746520636f696e7300000000000000000000000000000000006108205261080050610800518061082001601f826000031636823750506308c379a06107c05260206107e052601f19601f6108005101166044016107dcfd5b6001018181186104da575b505060010181811861034e575b505064020000000860e4356020526000526040600020546107a0526107a05161063057601c6107c0527f496e76616c696420696d706c656d656e746174696f6e20696e646578000000006107e0526107c0506107c051806107e001601f826000031636823750506308c379a06107805260206107a052601f19601f6107c051011660440161079cfd5b6107a05161016080610860528061086001604051815260605160208201528051806020830101601f82600003163682375050601f19601f8251602001011690508101905080610880528061086001608051815260a05160208201528051806020830101601f82600003163682375050601f19601f825160200101169050810190506064356107e0526107e0516108a05260843561080052610800516108c05260a43561082052610820516108e05260c43561084052610840516109005280610920528061086001600060c0518083528060051b600082600881116136a157801561073357905b8060051b60e001518160051b602088010152600101818118610716575b50508201602001915050905081019050806109405280610860016000610560518083528060051b600082600881116136a157801561078b57905b8060051b61058001518160051b60208801015260010181811861076d575b505082016020019150509050810190508061096052806108600160006101e0518083528060051b600082600881116136a15780156107e357905b8060051b61020001518160051b6020880101526001018181186107c5575b50508201602001915050905081019050806109805280610860016000610300518083528060051b600082600881116136a157801561083b57905b8060051b61032001518160051b60208801015260010181811861081d575b50508201602001915050905081019050806109a05280610860016000610420518083528060051b600082600881116136a157801561089357905b8060051b61044001518160051b602088010152600101818118610875575b505082016020019150509050810190506003823b0359600182126136a15781600382863c81810183818561086060045afa5050828201816000f080156136a15790509050905090506107c052640100000003546107e0526107c0516107e05163ffffffff81116136a157600301556107e051600181018181106136a1579050640100000003556106805160208160051b016401000000046107c0516020526000526040600020600c81019050600082601f0160051c600981116136a157801561097057905b8060051b610680015181840155600101818118610958575b5050505050610540516401000000046107c05160205260005260406000206015810190505560006401000000046107c0516020526000526040600020556107a0516401000000046107c0516020526000526040600020600181019050556101e05160208160051b016401000000046107c0516020526000526040600020601681019050600082601f0160051c600981116136a1578015610a2457905b8060051b6101e0015181840155600101818118610a0c575b505050505060006008905b8061080052610540516108005118610a4657610ba5565b6108005160c0518110156136a15760051b60e00151610820526401000000046107c05160205260005260406000206003810190508054600781116136a15761082051816001840101556001810182555050610800517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff881116136a15760088101905b80610840526105405161084051600181018181106136a157905018610aec57610b98565b61084051600181018181106136a157905060c0518110156136a15760051b60e00151610860526108605161082051186108805264020000000f610880516020526000526040600020546107e0526107c05164020000000e6108805160205260005260406000206107e05163ffffffff81116136a15781019050556107e051600181018181106136a157905064020000000f61088051602052600052604060002055600101818118610ac8575b5050600101818118610a2f575b50507fd1d60d4611e4091bb2e5f699eeb79136c21ac2305ad609f3de569afc3471eecc608080610800528061080001600060c0518083528060051b600082600881116136a1578015610c1057905b8060051b60e001518160051b602088010152600101818118610bf3575b5050820160200191505090508101905060406064610820373361086052610800a160206107c0f361369b565b633a1d5d8e811861369b576024361034176136a15760043563ffffffff81116136a1576003015460405260206040f361369b565b63956aae3a811861369b57346136a1576401000000035460405260206040f361369b565b6322fe56718118610cc8576024361034176136a15760043563ffffffff81116136a157640100000005015460405260206040f35b63a87df06c811861369b576044361034176136a15760006080526113b85661369b565b63de5e4a3b8118610d0b57346136a1576402000000055460405260206040f35b63ed8749408118610e24576024361034176136a1576004358060a01c6136a15760405260208060605264020000000660405160205260005260406000208160600160a08254825280602083015260018301818301600082548083528060051b600082600881116136a1578015610d9957905b806001880101548160051b602088010152600101818118610d7d575b505082016020019150509050905081019050600a8301546040830152600b8301546060830152806080830152600c8301818301600082548083528060051b600082600881116136a1578015610e0657905b806001880101548160051b602088010152600101818118610dea575b50508201602001915050905090508101905090509050810190506060f35b63a9a8ef44811861369b5760a4361034176136a1576004358060a01c6136a1576040526024358060a01c6136a15760605260443560040160088135116136a1578035600081600881116136a1578015610e9e57905b8060051b6020850101358060081c6136a1578160051b60a00152600101818118610e79575b505080608052505060005433186136a15760016101a0526000608051600881116136a1578015610eef57905b60028160051b60a0015118610ee45760006101a052610eef565b600101818118610eca575b50506101a051156136a1576402000000066040516020526000526040600020600181019050546136a1576007606435116136a157640200000005546101a0526040516101a05163ffffffff81116136a15764010000000501556101a051600181018181106136a1579050640200000005556060516402000000066040516020526000526040600020556064356402000000066040516020526000526040600020600b810190505560805160208160051b016402000000066040516020526000526040600020600c81019050600082601f0160051c600981116136a1578015610fea57905b8060051b6080015181840155600101818118610fd3575b50505050506040366101c03760006103005260006008905b8061032052606435610320511861101857611144565b60405163c66106576103405261032051610360526020610340602461035c845afa611048573d600060003e3d6000fd5b60203d106136a157610340518060a01c6136a157610380526103809050516103005273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61030051146136a15764020000000660405160205260005260406000206001810190508054600781116136a157610300518160018401015560018101825550506001640200000007610300516020526000526040600020556101c0516103005163313ce567610340526020610340600461035c845afa611104573d600060003e3d6000fd5b60203d106136a157610340905051610320518060031b818160031c186136a15790501b8082018281106136a157905090506101c052600101818118611002575b50506101c0516402000000066040516020526000526040600020600a81019050557fcc6afdfec79da6be08142ecee25cf14b665961e25d30d8eba45959be9547635f604051610320526020610320a10061369b565b6310a002df81186111da576024361034176136a1576004358060a01c6136a15760405264020000000760405160205260005260406000205460605260206060f35b63f6fa937f811861369b576024361034176136a1576004358060a01c6136a15760405260005433186136a15760405164020000000c550061369b565b633273ff478118611249576024361034176136a15764020000000860043560205260005260406000205460405260206040f35b6355b30b19811861369b576024361034176136a1576004358060a01c6136a157604052602060405163f446c1d0606052602060606004607c845afa611293573d600060003e3d6000fd5b60203d106136a15760609050f361369b565b63cfef1d6b81186112d8576024361034176136a15764020000000960043560205260005260406000205460405260206040f35b636b441a40811861369b576024361034176136a1576004358060a01c6136a15760405260005433186136a1576040516001550061369b565b63a13c8f81811861133057346136a15764020000000a5460405260206040f35b63cab4d3db811861369b57346136a15764020000000d5460405260206040f361369b565b638df24207811861369b57346136a15764020000000b5460405260206040f361369b565b63e31593d8811861369b57346136a15764020000000c5460405260206040f361369b565b636982eb0b811861369b576064361034176136a1576044356080525b6004358060a01c6136a1576040526024358060a01c6136a1576060526060516040511860a05264020000000e60a051602052600052604060002060805163ffffffff81116136a157810190505460c052602060c0f361369b565b636f20d6dd811861369b576024361034176136a1576004358060a01c6136a15760405264010000000460405160205260005260406000205460605260206060f361369b565b63940494f1811861149e576024361034176136a1576004358060a01c6136a15760405264010000000460405160205260005260406000206015810190505460605260206060f35b63b07426f481186114d6576024361034176136a1576004358060a01c6136a15760405260005433186136a15760405164020000000a55005b6336d2b77a811861369b576044361034176136a1576004358060a01c6136a1576040526024358060a01c6136a15760605260005433186136a15760605164020000000d550061369b565b63eb73f37d811861369b576024361034176136a1576004358060a01c6136a15760405264010000000460405160205260005260406000205460605260026080526402000000066060516020526000526040600020600b8101905054600181018181106136a157905060a05260406080f361369b565b639ac90d3d811861369b576024361034176136a1576004358060a01c6136a157604052602080606052640100000004604051602052600052604060002060038101905081606001600082548083528060051b600082600881116136a157801561161657905b806001880101548160051b6020880101526001018181186115fa575b5050820160200191505090509050810190506060f361369b565b63a77576ef811861369b576024361034176136a1576004358060a01c6136a15760405260006060526401000000046040516020526000526040600020546101805261018051156136a157606051600781116136a15764010000000460405160205260005260406000206003810190508054156136a157600060018201019050548160051b608001526001810160605250640200000006610180516020526000526040600020600181019050546101a052600160078101905b806101c0526101a0516101c051600181038181116136a15790501861170c5761176f565b606051600781116136a1576402000000066101805160205260005260406000206001810190506101c051600181038181116136a157905081548110156136a15760018201019050548160051b6080015260018101606052506001018181186116e8575b50506020806101c052806101c00160006060518083528060051b600082600881116136a15780156117b957905b8060051b608001518160051b60208801015260010181811861179c575b505082016020019150509050810190506101c0f361369b565b6352b515558118611869576024361034176136a1576004358060a01c6136a1576040526020806060526401000000046040516020526000526040600020600c8101905081606001600082548083528060051b600082600881116136a157801561185357905b806001880101548160051b602088010152600101818118611837575b5050820160200191505090509050810190506060f35b63e5ea47b8811861189557346136a15760015460405260405133186136a1576040516000556000600155005b634e988127811861369b576064361034176136a1576004358060081c6136a157604052602435600401600a8135116136a15760208135018082606037505060005433186136a157606051600260405160205260005260406000205560805160016002604051602052600052604060002001550061369b565b634cb088f18118611ac4576024361034176136a1576004358060a01c6136a15760405260006060526401000000046040516020526000526040600020600c81019050805460208160051b01600081601f0160051c600981116136a157801561198857905b808501548160051b60600152600101818118611971575b505050505060006101805261018051600781116136a157606051156136a157600060051b608001518160051b6101a001526001810161018052506401000000046040516020526000526040600020546102a0526402000000066102a0516020526000526040600020600a81019050546102c05260006008905b806102e0526102c0516102e0518060031b818160031c186136a15790501c60ff811690506103005261030051611a3657611a63565b61018051600781116136a157610300518160051b6101a00152600181016101805250600101818118611a01575b50506020806102e052806102e0016000610180518083528060051b600082600881116136a1578015611aaf57905b8060051b6101a001518160051b602088010152600101818118611a91575b505082016020019150509050810190506102e0f35b6359f4f351811861369b576024361034176136a1576004358060a01c6136a157604052640100000004604051602052600052604060002054606052606051156136a1576000608052604051634903b0d16101a05260006101c05260206101a060246101bc845afa611b3a573d600060003e3d6000fd5b60203d106136a1576101a0905051608051156136a157600060051b60a00152640100000004604051602052600052604060002060038101905060028154106136a157600160018201019050546318160ddd6101c05260206101c060046101dc845afa611bab573d600060003e3d6000fd5b60203d106136a1576101c09050516101a0526101a05115611d1957604051634903b0d16101e05260016102005260206101e060246101fc845afa611bf4573d600060003e3d6000fd5b60203d106136a1576101e09050516ec097ce7bc90715b34b9f10000000008102816ec097ce7bc90715b34b9f10000000008204186136a15790506101a05180156136a157808204905090506101c0526402000000066060516020526000526040600020600b81019050546101e05260006008905b80610200526101e0516102005118611c7f57611d16565b606051634903b0d16102205261020051610240526020610220602461023c845afa611caf573d600060003e3d6000fd5b60203d106136a1576102209050516101c0518082028115838383041417156136a157905090506ec097ce7bc90715b34b9f10000000008104905061020051600181018181106136a15790506080518110156136a15760051b60a00152600101818118611c68575b50505b6020806101c052806101c00160006080518083528060051b600082600881116136a1578015611d6157905b8060051b60a001518160051b602088010152600101818118611d44575b505082016020019150509050810190506101c0f361369b565b6306d8f160811861369b576024361034176136a1576004358060a01c6136a157604052670de0b6b3a7640000608052600060a052600260605264010000000460405160205260005260406000205463bb7b8b80610180526020610180600461019c845afa611ded573d600060003e3d6000fd5b60203d106136a1576101809050516002606051106136a157600160051b6080015260208061018052806101800160006060518083528060051b600082600881116136a1578015611e5657905b8060051b608001518160051b602088010152600101818118611e39575b50508201602001915050905081019050610180f361369b565b6392e3cc2d81186120bf576024361034176136a1576004358060a01c6136a157604052600060605264010000000460405160205260005260406000205415611fbf57606051600781116136a157604051634903b0d16101805260006101a0526020610180602461019c845afa611eea573d600060003e3d6000fd5b60203d106136a1576101809050518160051b608001526001810160605250606051600781116136a157604051634903b0d16101805260016101a0526020610180602461019c845afa611f41573d600060003e3d6000fd5b60203d106136a1576101809050518160051b60800152600181016060525060208061018052806101800160006060518083528060051b600082600881116136a1578015611fa757905b8060051b608001518160051b602088010152600101818118611f8a575b505082016020019150509050810190506101806120bd565b6401000000046040516020526000526040600020601581019050546101805260006008905b806101a052610180516101a05118611ffb5761205f565b606051600781116136a157604051634903b0d16101c0526101a0516101e05260206101c060246101dc845afa612036573d600060003e3d6000fd5b60203d106136a1576101c09050518160051b608001526001810160605250600101818118611fe4575b50506020806101a052806101a00160006060518083528060051b600082600881116136a15780156120a957905b8060051b608001518160051b60208801015260010181811861208c575b505082016020019150509050810190506101a05bf35b634dc05cfb811861369b576044361034176136a1576024358060a01c6136a15760405260005433186136a1576040516402000000086004356020526000526040600020550061369b565b637cdb72b0811861219d576024361034176136a1576004358060a01c6136a15760405260405163ddca3f43606052602060606004607c845afa612151573d600060003e3d6000fd5b60203d106136a157606090505160e05260405163fee3f7f960a052602060a0600460bc845afa612186573d600060003e3d6000fd5b60203d106136a15760a090505161010052604060e0f35b63510d98a4811861369b576024361034176136a1576004358060a01c6136a15760405264010000000460405160205260005260406000206001810190505460605260206060f361369b565b63c11e45b8811861230d576024361034176136a1576004358060a01c6136a157604052640100000004604051602052600052604060002060158101905054606052600060805260006008905b806101a0526060516101a0511861224a576122ae565b608051600781116136a15760405163e2e7d2646101c0526101a0516101e05260206101c060246101dc845afa612285573d600060003e3d6000fd5b60203d106136a1576101c09050518160051b60a001526001810160805250600101818118612234575b50506020806101a052806101a00160006080518083528060051b600082600881116136a15780156122f857905b8060051b60a001518160051b6020880101526001018181186122db575b505082016020019150509050810190506101a0f35b63eb85226d811861263e576064361034176136a1576004358060a01c6136a1576040526024358060a01c6136a1576060526044358060a01c6136a15760805264010000000460405160205260005260406000206003810190508054156136a1576000600182010190505460a05264010000000460405160205260005260406000205460c05260a05160605181186123a55760016123ac565b6080518118155b90506123b95760006123bf565b60c05115155b1561243d57640100000004604051602052600052604060002060038101905060028154106136a1576001600182010190505461010052610100516060518118612409576001612410565b6080518118155b90501561243d5760a051608051146101405260a0516060511461016052600061018052606061014061263c565b60603660e03760006008905b806101405260c05161250657600861014051106124c6576013610160527f4e6f20617661696c61626c65206d61726b6574000000000000000000000000006101805261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b610140511561254f5764010000000460405160205260005260406000206003810190506101405181548110156136a157600182010190505460a05261254f565b610140511561254f5764020000000660c051602052600052604060002060018101905061014051600181038181116136a157905081548110156136a157600182010190505460a0525b60a0516125bc576013610160527f4e6f20617661696c61626c65206d61726b6574000000000000000000000000006101805261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b60605160a051186125d45761014051610100526125f0565b60805160a051186126035761014051610120526125f056612603565b60e051156125fd5761260e565b600160e0525b600101818118612449575b50506101005180607f1c6136a157610140526101205180607f1c6136a1576101605260016101805260606101405bf35b63e4d332a9811861369b576024361034176136a1576004358060a01c6136a157604052640100000004604051602052600052604060002054151560605260206060f361369b565b63daf297b9811861369b576024361034176136a1576004358060a01c6136a15760405264010000000460405160205260005260406000206002810190505460605260206060f361369b565b63a80f24648118612767576024361034176136a1576004358060a01c6136a157604052602080606052640100000004604051602052600052604060002060168101905081606001600082548083528060051b600082600881116136a157801561275157905b806001880101548160051b602088010152600101818118612735575b5050820160200191505090509050810190506060f35b63df8c5d73811861369b576101c4361034176136a1576004358060a01c6136a15760405260243560040160208135116136a157602081350180826060375050604435600401600a8135116136a1576020813501808260a03750506064358060a01c6136a15760e052610124358060081c6136a15761010052610144358060201b6136a15761012052610164358060a01c6136a1576101405264020000000760e051602052600052604060002054156128c9576044610160527f496e76616c69642061737365743a2043616e6e6f742070616972206261736520610180527f706f6f6c2061737365742077697468206261736520706f6f6c2773204c5020746101a0527f6f6b656e000000000000000000000000000000000000000000000000000000006101c05261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b6305f5e10060a435111561293d57600b610160527f496e76616c6964206665650000000000000000000000000000000000000000006101805261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b6802b5e3af16b188000060c43560a4358082028115838383041417156136a15790509050116136a15764020000000660405160205260005260406000206001810190505461016052610160516129f3576016610180527f4261736520706f6f6c206973206e6f74206164646564000000000000000000006101a0526101805061018051806101a001601f826000031636823750506308c379a061014052602061016052601f19601f61018051011660440161015cfd5b640200000009610104356020526000526040600020546101805261018051612a7b57601c6101a0527f496e76616c696420696d706c656d656e746174696f6e20696e646578000000006101c0526101a0506101a051806101c001601f826000031636823750506308c379a061016052602061018052601f19601f6101a051011660440161017cfd5b60e05163313ce5676101c05260206101c060046101dc845afa612aa3573d600060003e3d6000fd5b60203d106136a1576101c09050516101a05260126101a0511115612b275760196101c0527f4d617820313820646563696d616c7320666f7220636f696e73000000000000006101e0526101c0506101c051806101e001601f826000031636823750506308c379a06101805260206101a052601f19601f6101c051011660440161019cfd5b6402000000066040516020526000526040600020600c81019050805460208160051b01600081601f0160051c600981116136a1578015612b7b57905b808501548160051b6101c00152600101818118612b63575b5050505050610100516103005260006103205260026102e05260006008905b8061040052610160516104005118612bb157612bf1565b6102e051600781116136a157610400516101c0518110156136a15760051b6101e001518160051b6103000152600181016102e05250600101818118612b9a575b505060e05161042052640200000006604051602052600052604060002054610440526002610400526101a05180602403602481116136a1579050604d81116136a15780600a0a905061054052670de0b6b3a7640000610560526002610520526101205161066052600061068052600261064052610140516107805260006107a052600261076052610180516101c080610a805280610a8001606051815260805160208201528051806020830101601f82600003163682375050601f19601f8251602001011690508101905080610aa05280610a800160a051815260c05160208201528051806020830101601f82600003163682375050601f19601f825160200101169050810190506084356108a0526108a051610ac05260a4356108c0526108c051610ae05260c4356108e0526108e051610b005260e4356109005261090051610b205264020000000a546109205261092051610b40526040516109405261094051610b605280610b805280610a80016000610400518083528060051b600082600881116136a1578015612d9f57905b8060051b61042001518160051b602088010152600101818118612d81575b5050820160200191505090508101905080610ba0526402000000066040516020526000526040600020600181019050805460208160051b01600081601f0160051c600981116136a1578015612e0857905b808501548160051b6109600152600101818118612df0575b505050505061096081610a8001600082518083528060051b600082600881116136a1578015612e5257905b8060051b6020880101518160051b602088010152600101818118612e33575b50508201602001915050905090508101905080610bc05280610a80016000610520518083528060051b600082600881116136a1578015612eac57905b8060051b61054001518160051b602088010152600101818118612e8e575b5050820160200191505090508101905080610be05280610a800160006102e0518083528060051b600082600881116136a1578015612f0457905b8060051b61030001518160051b602088010152600101818118612ee6575b5050820160200191505090508101905080610c005280610a80016000610640518083528060051b600082600881116136a1578015612f5c57905b8060051b61066001518160051b602088010152600101818118612f3e575b5050820160200191505090508101905080610c205280610a80016000610760518083528060051b600082600881116136a1578015612fb457905b8060051b61078001518160051b602088010152600101818118612f96575b505082016020019150509050810190506003823b0359600182126136a15781600382863c818101838185610a8060045afa5050828201816000f080156136a157905090509050905061088052640100000003546108a052610880516108a05163ffffffff81116136a157600301556108a051600181018181106136a1579050640100000003556402000000066040516020526000526040600020546108c0526101a051640100000004610880516020526000526040600020600c81019050600181019050556012640100000004610880516020526000526040600020600c81019050600160018201019050556000640100000004610880516020526000526040600020600c81019050600260018201019050556000640100000004610880516020526000526040600020600c81019050600360018201019050556000640100000004610880516020526000526040600020600c81019050600460018201019050556000640100000004610880516020526000526040600020600c81019050600560018201019050556000640100000004610880516020526000526040600020600c81019050600660018201019050556000640100000004610880516020526000526040600020600c81019050600760018201019050556008640100000004610880516020526000526040600020600c81019050556002640100000004610880516020526000526040600020601581019050556040516401000000046108805160205260005260406000205560e051640100000004610880516020526000526040600020600381019050600181019050556402000000066040516020526000526040600020546401000000046108805160205260005260406000206003810190506001600182010190505560026401000000046108805160205260005260406000206003810190505561018051640100000004610880516020526000526040600020600181019050556040366108e03760006008905b806109205264020000000660405160205260005260406000206001810190505461092051106132c55760016108e0526108c051610900526132f9565b64020000000660405160205260005260406000206001810190506109205181548110156136a1576001820101905054610900525b6109005160e051186109405264020000000f610940516020526000526040600020546108a0526108805164020000000e6109405160205260005260406000206108a05163ffffffff81116136a15781019050556108a051600181018181106136a157905064020000000f610940516020526000526040600020556108e051156133815761338c565b600101818118613289575b50507f01f31cd2abdeb4e5e10ba500f2db0f937d9e8c735ab04681925441b4ea37eda560e05161092052604051610940526040608461096037336109a05260a0610920a16020610880f361369b565b6396bebb34811861369b576024361034176136a1576004358060a01c6136a15760405264010000000460405160205260005260406000206003810190508054156136a1576000600182010190505461348a57600c6060527f556e6b6e6f776e20706f6f6c000000000000000000000000000000000000000060805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b640100000004604051602052600052604060002060028101905054156135075760166060527f476175676520616c7265616479206465706c6f7965640000000000000000000060805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b64020000000b5460605260605161357557601c6080527f476175676520696d706c656d656e746174696f6e206e6f74207365740000000060a0526080506080518060a001601f826000031636823750506308c379a06040526020606052601f19601f6080510116604401605cfd5b64020000000b5460405160a05260a05160c05260206003823b0359600182126136a15781600382863c81810160c051815250828201816000f080156136a15790509050905090506080526080516401000000046040516020526000526040600020600281019050557f656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b60405160a05260805160c052604060a0a160206080f361369b565b631cb30399811861369b576044361034176136a1576024358060a01c6136a15760405260005433186136a1576040516402000000096004356020526000526040600020550061369b565b638f03182c811861369b576024361034176136a1576004358060a01c6136a15760405260005433186136a15760405164020000000b55005b60006000fd5b600080fd17d2369b369b369b145726d0369b0c3c369b003a001a369b1e6f15201412135436192685369b369b005a21e81310139c369b190d0c9412a5119912161595369b369b1d7a1630369b0ceb369b33db2109369b369b36630c70369b369b13788419370481185e00a16576797065728300030a0015000000000000000000000000774d1dba98cfbd1f2bc3a1f59c494125e07c48f90000000000000000000000002d12d0907a388811e3aa855a550f959501d303ee

Deployed Bytecode

0x60003560e01c6002602f820660011b6136a601601e39600051565b63f851a440811861369b57346136a15760005460405260206040f361369b565b6317f7182a811861369b57346136a15760015460405260206040f361369b565b63f1f1017281186100d1576024361034176136a1576004358060081c6136a157604052602080606052600260405160205260005260406000208160600181548152600182015460208201528051806020830101601f82600003163682375050601f19601f8251602001011690509050810190506060f35b635bcd3d83811861369b57610224361034176136a15760043560040160208135116136a157602081350180826040375050602435600401600a8135116136a15760208135018082608037505060443560040160088135116136a1578035600081600881116136a157801561016657905b8060051b6020850101358060a01c6136a1578160051b60e00152600101818118610141575b50508060c05250506101043560040160088135116136a1578035600081600881116136a15780156101b957905b8060051b6020850101358060081c6136a1578160051b6102000152600101818118610193575b5050806101e05250506101243560040160088135116136a1578035600081600881116136a157801561020d57905b8060051b6020850101358060201b6136a1578160051b61032001526001018181186101e7575b5050806103005250506101443560040160088135116136a1578035600081600881116136a157801561026157905b8060051b6020850101358060a01c6136a1578160051b610440015260010181811861023b575b505080610420525050600260c051106136a1576103005160c051186136a1576104205160c051186136a1576101e05160c051186136a1576305f5e100608435111561030c57600b610540527f496e76616c6964206665650000000000000000000000000000000000000000006105605261054050610540518061056001601f826000031636823750506308c379a061050052602061052052601f19601f61054051011660440161051cfd5b6802b5e3af16b188000060a4356084358082028115838383041417156136a15790509050116136a15760c0516105405260006105605260006106805260006008905b806107a052610540516107a05118610365576105a7565b6107a05160c0518110156136a15760051b60e001516107c05261068051600781116136a1576107c05163313ce5676107e05260206107e060046107fc845afa6103b3573d600060003e3d6000fd5b60203d106136a1576107e09050518160051b6106a0015260018101610680525060126107a051610680518110156136a15760051b6106a0015111156104585760196107e0527f4d617820313820646563696d616c7320666f7220636f696e7300000000000000610800526107e0506107e0518061080001601f826000031636823750506308c379a06107a05260206107c052601f19601f6107e05101166044016107bcfd5b61056051600781116136a1576107a051610680518110156136a15760051b6106a0015180602403602481116136a1579050604d81116136a15780600a0a90508160051b61058001526001810161056052506107a0517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff881116136a15760088101905b806107e052610540516107e051600181018181106136a1579050186104fe5761059a565b6107e051600181018181106136a157905060c0518110156136a15760051b60e001516107c0511861058f57600f610800527f4475706c696361746520636f696e7300000000000000000000000000000000006108205261080050610800518061082001601f826000031636823750506308c379a06107c05260206107e052601f19601f6108005101166044016107dcfd5b6001018181186104da575b505060010181811861034e575b505064020000000860e4356020526000526040600020546107a0526107a05161063057601c6107c0527f496e76616c696420696d706c656d656e746174696f6e20696e646578000000006107e0526107c0506107c051806107e001601f826000031636823750506308c379a06107805260206107a052601f19601f6107c051011660440161079cfd5b6107a05161016080610860528061086001604051815260605160208201528051806020830101601f82600003163682375050601f19601f8251602001011690508101905080610880528061086001608051815260a05160208201528051806020830101601f82600003163682375050601f19601f825160200101169050810190506064356107e0526107e0516108a05260843561080052610800516108c05260a43561082052610820516108e05260c43561084052610840516109005280610920528061086001600060c0518083528060051b600082600881116136a157801561073357905b8060051b60e001518160051b602088010152600101818118610716575b50508201602001915050905081019050806109405280610860016000610560518083528060051b600082600881116136a157801561078b57905b8060051b61058001518160051b60208801015260010181811861076d575b505082016020019150509050810190508061096052806108600160006101e0518083528060051b600082600881116136a15780156107e357905b8060051b61020001518160051b6020880101526001018181186107c5575b50508201602001915050905081019050806109805280610860016000610300518083528060051b600082600881116136a157801561083b57905b8060051b61032001518160051b60208801015260010181811861081d575b50508201602001915050905081019050806109a05280610860016000610420518083528060051b600082600881116136a157801561089357905b8060051b61044001518160051b602088010152600101818118610875575b505082016020019150509050810190506003823b0359600182126136a15781600382863c81810183818561086060045afa5050828201816000f080156136a15790509050905090506107c052640100000003546107e0526107c0516107e05163ffffffff81116136a157600301556107e051600181018181106136a1579050640100000003556106805160208160051b016401000000046107c0516020526000526040600020600c81019050600082601f0160051c600981116136a157801561097057905b8060051b610680015181840155600101818118610958575b5050505050610540516401000000046107c05160205260005260406000206015810190505560006401000000046107c0516020526000526040600020556107a0516401000000046107c0516020526000526040600020600181019050556101e05160208160051b016401000000046107c0516020526000526040600020601681019050600082601f0160051c600981116136a1578015610a2457905b8060051b6101e0015181840155600101818118610a0c575b505050505060006008905b8061080052610540516108005118610a4657610ba5565b6108005160c0518110156136a15760051b60e00151610820526401000000046107c05160205260005260406000206003810190508054600781116136a15761082051816001840101556001810182555050610800517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff881116136a15760088101905b80610840526105405161084051600181018181106136a157905018610aec57610b98565b61084051600181018181106136a157905060c0518110156136a15760051b60e00151610860526108605161082051186108805264020000000f610880516020526000526040600020546107e0526107c05164020000000e6108805160205260005260406000206107e05163ffffffff81116136a15781019050556107e051600181018181106136a157905064020000000f61088051602052600052604060002055600101818118610ac8575b5050600101818118610a2f575b50507fd1d60d4611e4091bb2e5f699eeb79136c21ac2305ad609f3de569afc3471eecc608080610800528061080001600060c0518083528060051b600082600881116136a1578015610c1057905b8060051b60e001518160051b602088010152600101818118610bf3575b5050820160200191505090508101905060406064610820373361086052610800a160206107c0f361369b565b633a1d5d8e811861369b576024361034176136a15760043563ffffffff81116136a1576003015460405260206040f361369b565b63956aae3a811861369b57346136a1576401000000035460405260206040f361369b565b6322fe56718118610cc8576024361034176136a15760043563ffffffff81116136a157640100000005015460405260206040f35b63a87df06c811861369b576044361034176136a15760006080526113b85661369b565b63de5e4a3b8118610d0b57346136a1576402000000055460405260206040f35b63ed8749408118610e24576024361034176136a1576004358060a01c6136a15760405260208060605264020000000660405160205260005260406000208160600160a08254825280602083015260018301818301600082548083528060051b600082600881116136a1578015610d9957905b806001880101548160051b602088010152600101818118610d7d575b505082016020019150509050905081019050600a8301546040830152600b8301546060830152806080830152600c8301818301600082548083528060051b600082600881116136a1578015610e0657905b806001880101548160051b602088010152600101818118610dea575b50508201602001915050905090508101905090509050810190506060f35b63a9a8ef44811861369b5760a4361034176136a1576004358060a01c6136a1576040526024358060a01c6136a15760605260443560040160088135116136a1578035600081600881116136a1578015610e9e57905b8060051b6020850101358060081c6136a1578160051b60a00152600101818118610e79575b505080608052505060005433186136a15760016101a0526000608051600881116136a1578015610eef57905b60028160051b60a0015118610ee45760006101a052610eef565b600101818118610eca575b50506101a051156136a1576402000000066040516020526000526040600020600181019050546136a1576007606435116136a157640200000005546101a0526040516101a05163ffffffff81116136a15764010000000501556101a051600181018181106136a1579050640200000005556060516402000000066040516020526000526040600020556064356402000000066040516020526000526040600020600b810190505560805160208160051b016402000000066040516020526000526040600020600c81019050600082601f0160051c600981116136a1578015610fea57905b8060051b6080015181840155600101818118610fd3575b50505050506040366101c03760006103005260006008905b8061032052606435610320511861101857611144565b60405163c66106576103405261032051610360526020610340602461035c845afa611048573d600060003e3d6000fd5b60203d106136a157610340518060a01c6136a157610380526103809050516103005273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee61030051146136a15764020000000660405160205260005260406000206001810190508054600781116136a157610300518160018401015560018101825550506001640200000007610300516020526000526040600020556101c0516103005163313ce567610340526020610340600461035c845afa611104573d600060003e3d6000fd5b60203d106136a157610340905051610320518060031b818160031c186136a15790501b8082018281106136a157905090506101c052600101818118611002575b50506101c0516402000000066040516020526000526040600020600a81019050557fcc6afdfec79da6be08142ecee25cf14b665961e25d30d8eba45959be9547635f604051610320526020610320a10061369b565b6310a002df81186111da576024361034176136a1576004358060a01c6136a15760405264020000000760405160205260005260406000205460605260206060f35b63f6fa937f811861369b576024361034176136a1576004358060a01c6136a15760405260005433186136a15760405164020000000c550061369b565b633273ff478118611249576024361034176136a15764020000000860043560205260005260406000205460405260206040f35b6355b30b19811861369b576024361034176136a1576004358060a01c6136a157604052602060405163f446c1d0606052602060606004607c845afa611293573d600060003e3d6000fd5b60203d106136a15760609050f361369b565b63cfef1d6b81186112d8576024361034176136a15764020000000960043560205260005260406000205460405260206040f35b636b441a40811861369b576024361034176136a1576004358060a01c6136a15760405260005433186136a1576040516001550061369b565b63a13c8f81811861133057346136a15764020000000a5460405260206040f35b63cab4d3db811861369b57346136a15764020000000d5460405260206040f361369b565b638df24207811861369b57346136a15764020000000b5460405260206040f361369b565b63e31593d8811861369b57346136a15764020000000c5460405260206040f361369b565b636982eb0b811861369b576064361034176136a1576044356080525b6004358060a01c6136a1576040526024358060a01c6136a1576060526060516040511860a05264020000000e60a051602052600052604060002060805163ffffffff81116136a157810190505460c052602060c0f361369b565b636f20d6dd811861369b576024361034176136a1576004358060a01c6136a15760405264010000000460405160205260005260406000205460605260206060f361369b565b63940494f1811861149e576024361034176136a1576004358060a01c6136a15760405264010000000460405160205260005260406000206015810190505460605260206060f35b63b07426f481186114d6576024361034176136a1576004358060a01c6136a15760405260005433186136a15760405164020000000a55005b6336d2b77a811861369b576044361034176136a1576004358060a01c6136a1576040526024358060a01c6136a15760605260005433186136a15760605164020000000d550061369b565b63eb73f37d811861369b576024361034176136a1576004358060a01c6136a15760405264010000000460405160205260005260406000205460605260026080526402000000066060516020526000526040600020600b8101905054600181018181106136a157905060a05260406080f361369b565b639ac90d3d811861369b576024361034176136a1576004358060a01c6136a157604052602080606052640100000004604051602052600052604060002060038101905081606001600082548083528060051b600082600881116136a157801561161657905b806001880101548160051b6020880101526001018181186115fa575b5050820160200191505090509050810190506060f361369b565b63a77576ef811861369b576024361034176136a1576004358060a01c6136a15760405260006060526401000000046040516020526000526040600020546101805261018051156136a157606051600781116136a15764010000000460405160205260005260406000206003810190508054156136a157600060018201019050548160051b608001526001810160605250640200000006610180516020526000526040600020600181019050546101a052600160078101905b806101c0526101a0516101c051600181038181116136a15790501861170c5761176f565b606051600781116136a1576402000000066101805160205260005260406000206001810190506101c051600181038181116136a157905081548110156136a15760018201019050548160051b6080015260018101606052506001018181186116e8575b50506020806101c052806101c00160006060518083528060051b600082600881116136a15780156117b957905b8060051b608001518160051b60208801015260010181811861179c575b505082016020019150509050810190506101c0f361369b565b6352b515558118611869576024361034176136a1576004358060a01c6136a1576040526020806060526401000000046040516020526000526040600020600c8101905081606001600082548083528060051b600082600881116136a157801561185357905b806001880101548160051b602088010152600101818118611837575b5050820160200191505090509050810190506060f35b63e5ea47b8811861189557346136a15760015460405260405133186136a1576040516000556000600155005b634e988127811861369b576064361034176136a1576004358060081c6136a157604052602435600401600a8135116136a15760208135018082606037505060005433186136a157606051600260405160205260005260406000205560805160016002604051602052600052604060002001550061369b565b634cb088f18118611ac4576024361034176136a1576004358060a01c6136a15760405260006060526401000000046040516020526000526040600020600c81019050805460208160051b01600081601f0160051c600981116136a157801561198857905b808501548160051b60600152600101818118611971575b505050505060006101805261018051600781116136a157606051156136a157600060051b608001518160051b6101a001526001810161018052506401000000046040516020526000526040600020546102a0526402000000066102a0516020526000526040600020600a81019050546102c05260006008905b806102e0526102c0516102e0518060031b818160031c186136a15790501c60ff811690506103005261030051611a3657611a63565b61018051600781116136a157610300518160051b6101a00152600181016101805250600101818118611a01575b50506020806102e052806102e0016000610180518083528060051b600082600881116136a1578015611aaf57905b8060051b6101a001518160051b602088010152600101818118611a91575b505082016020019150509050810190506102e0f35b6359f4f351811861369b576024361034176136a1576004358060a01c6136a157604052640100000004604051602052600052604060002054606052606051156136a1576000608052604051634903b0d16101a05260006101c05260206101a060246101bc845afa611b3a573d600060003e3d6000fd5b60203d106136a1576101a0905051608051156136a157600060051b60a00152640100000004604051602052600052604060002060038101905060028154106136a157600160018201019050546318160ddd6101c05260206101c060046101dc845afa611bab573d600060003e3d6000fd5b60203d106136a1576101c09050516101a0526101a05115611d1957604051634903b0d16101e05260016102005260206101e060246101fc845afa611bf4573d600060003e3d6000fd5b60203d106136a1576101e09050516ec097ce7bc90715b34b9f10000000008102816ec097ce7bc90715b34b9f10000000008204186136a15790506101a05180156136a157808204905090506101c0526402000000066060516020526000526040600020600b81019050546101e05260006008905b80610200526101e0516102005118611c7f57611d16565b606051634903b0d16102205261020051610240526020610220602461023c845afa611caf573d600060003e3d6000fd5b60203d106136a1576102209050516101c0518082028115838383041417156136a157905090506ec097ce7bc90715b34b9f10000000008104905061020051600181018181106136a15790506080518110156136a15760051b60a00152600101818118611c68575b50505b6020806101c052806101c00160006080518083528060051b600082600881116136a1578015611d6157905b8060051b60a001518160051b602088010152600101818118611d44575b505082016020019150509050810190506101c0f361369b565b6306d8f160811861369b576024361034176136a1576004358060a01c6136a157604052670de0b6b3a7640000608052600060a052600260605264010000000460405160205260005260406000205463bb7b8b80610180526020610180600461019c845afa611ded573d600060003e3d6000fd5b60203d106136a1576101809050516002606051106136a157600160051b6080015260208061018052806101800160006060518083528060051b600082600881116136a1578015611e5657905b8060051b608001518160051b602088010152600101818118611e39575b50508201602001915050905081019050610180f361369b565b6392e3cc2d81186120bf576024361034176136a1576004358060a01c6136a157604052600060605264010000000460405160205260005260406000205415611fbf57606051600781116136a157604051634903b0d16101805260006101a0526020610180602461019c845afa611eea573d600060003e3d6000fd5b60203d106136a1576101809050518160051b608001526001810160605250606051600781116136a157604051634903b0d16101805260016101a0526020610180602461019c845afa611f41573d600060003e3d6000fd5b60203d106136a1576101809050518160051b60800152600181016060525060208061018052806101800160006060518083528060051b600082600881116136a1578015611fa757905b8060051b608001518160051b602088010152600101818118611f8a575b505082016020019150509050810190506101806120bd565b6401000000046040516020526000526040600020601581019050546101805260006008905b806101a052610180516101a05118611ffb5761205f565b606051600781116136a157604051634903b0d16101c0526101a0516101e05260206101c060246101dc845afa612036573d600060003e3d6000fd5b60203d106136a1576101c09050518160051b608001526001810160605250600101818118611fe4575b50506020806101a052806101a00160006060518083528060051b600082600881116136a15780156120a957905b8060051b608001518160051b60208801015260010181811861208c575b505082016020019150509050810190506101a05bf35b634dc05cfb811861369b576044361034176136a1576024358060a01c6136a15760405260005433186136a1576040516402000000086004356020526000526040600020550061369b565b637cdb72b0811861219d576024361034176136a1576004358060a01c6136a15760405260405163ddca3f43606052602060606004607c845afa612151573d600060003e3d6000fd5b60203d106136a157606090505160e05260405163fee3f7f960a052602060a0600460bc845afa612186573d600060003e3d6000fd5b60203d106136a15760a090505161010052604060e0f35b63510d98a4811861369b576024361034176136a1576004358060a01c6136a15760405264010000000460405160205260005260406000206001810190505460605260206060f361369b565b63c11e45b8811861230d576024361034176136a1576004358060a01c6136a157604052640100000004604051602052600052604060002060158101905054606052600060805260006008905b806101a0526060516101a0511861224a576122ae565b608051600781116136a15760405163e2e7d2646101c0526101a0516101e05260206101c060246101dc845afa612285573d600060003e3d6000fd5b60203d106136a1576101c09050518160051b60a001526001810160805250600101818118612234575b50506020806101a052806101a00160006080518083528060051b600082600881116136a15780156122f857905b8060051b60a001518160051b6020880101526001018181186122db575b505082016020019150509050810190506101a0f35b63eb85226d811861263e576064361034176136a1576004358060a01c6136a1576040526024358060a01c6136a1576060526044358060a01c6136a15760805264010000000460405160205260005260406000206003810190508054156136a1576000600182010190505460a05264010000000460405160205260005260406000205460c05260a05160605181186123a55760016123ac565b6080518118155b90506123b95760006123bf565b60c05115155b1561243d57640100000004604051602052600052604060002060038101905060028154106136a1576001600182010190505461010052610100516060518118612409576001612410565b6080518118155b90501561243d5760a051608051146101405260a0516060511461016052600061018052606061014061263c565b60603660e03760006008905b806101405260c05161250657600861014051106124c6576013610160527f4e6f20617661696c61626c65206d61726b6574000000000000000000000000006101805261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b610140511561254f5764010000000460405160205260005260406000206003810190506101405181548110156136a157600182010190505460a05261254f565b610140511561254f5764020000000660c051602052600052604060002060018101905061014051600181038181116136a157905081548110156136a157600182010190505460a0525b60a0516125bc576013610160527f4e6f20617661696c61626c65206d61726b6574000000000000000000000000006101805261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b60605160a051186125d45761014051610100526125f0565b60805160a051186126035761014051610120526125f056612603565b60e051156125fd5761260e565b600160e0525b600101818118612449575b50506101005180607f1c6136a157610140526101205180607f1c6136a1576101605260016101805260606101405bf35b63e4d332a9811861369b576024361034176136a1576004358060a01c6136a157604052640100000004604051602052600052604060002054151560605260206060f361369b565b63daf297b9811861369b576024361034176136a1576004358060a01c6136a15760405264010000000460405160205260005260406000206002810190505460605260206060f361369b565b63a80f24648118612767576024361034176136a1576004358060a01c6136a157604052602080606052640100000004604051602052600052604060002060168101905081606001600082548083528060051b600082600881116136a157801561275157905b806001880101548160051b602088010152600101818118612735575b5050820160200191505090509050810190506060f35b63df8c5d73811861369b576101c4361034176136a1576004358060a01c6136a15760405260243560040160208135116136a157602081350180826060375050604435600401600a8135116136a1576020813501808260a03750506064358060a01c6136a15760e052610124358060081c6136a15761010052610144358060201b6136a15761012052610164358060a01c6136a1576101405264020000000760e051602052600052604060002054156128c9576044610160527f496e76616c69642061737365743a2043616e6e6f742070616972206261736520610180527f706f6f6c2061737365742077697468206261736520706f6f6c2773204c5020746101a0527f6f6b656e000000000000000000000000000000000000000000000000000000006101c05261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b6305f5e10060a435111561293d57600b610160527f496e76616c6964206665650000000000000000000000000000000000000000006101805261016050610160518061018001601f826000031636823750506308c379a061012052602061014052601f19601f61016051011660440161013cfd5b6802b5e3af16b188000060c43560a4358082028115838383041417156136a15790509050116136a15764020000000660405160205260005260406000206001810190505461016052610160516129f3576016610180527f4261736520706f6f6c206973206e6f74206164646564000000000000000000006101a0526101805061018051806101a001601f826000031636823750506308c379a061014052602061016052601f19601f61018051011660440161015cfd5b640200000009610104356020526000526040600020546101805261018051612a7b57601c6101a0527f496e76616c696420696d706c656d656e746174696f6e20696e646578000000006101c0526101a0506101a051806101c001601f826000031636823750506308c379a061016052602061018052601f19601f6101a051011660440161017cfd5b60e05163313ce5676101c05260206101c060046101dc845afa612aa3573d600060003e3d6000fd5b60203d106136a1576101c09050516101a05260126101a0511115612b275760196101c0527f4d617820313820646563696d616c7320666f7220636f696e73000000000000006101e0526101c0506101c051806101e001601f826000031636823750506308c379a06101805260206101a052601f19601f6101c051011660440161019cfd5b6402000000066040516020526000526040600020600c81019050805460208160051b01600081601f0160051c600981116136a1578015612b7b57905b808501548160051b6101c00152600101818118612b63575b5050505050610100516103005260006103205260026102e05260006008905b8061040052610160516104005118612bb157612bf1565b6102e051600781116136a157610400516101c0518110156136a15760051b6101e001518160051b6103000152600181016102e05250600101818118612b9a575b505060e05161042052640200000006604051602052600052604060002054610440526002610400526101a05180602403602481116136a1579050604d81116136a15780600a0a905061054052670de0b6b3a7640000610560526002610520526101205161066052600061068052600261064052610140516107805260006107a052600261076052610180516101c080610a805280610a8001606051815260805160208201528051806020830101601f82600003163682375050601f19601f8251602001011690508101905080610aa05280610a800160a051815260c05160208201528051806020830101601f82600003163682375050601f19601f825160200101169050810190506084356108a0526108a051610ac05260a4356108c0526108c051610ae05260c4356108e0526108e051610b005260e4356109005261090051610b205264020000000a546109205261092051610b40526040516109405261094051610b605280610b805280610a80016000610400518083528060051b600082600881116136a1578015612d9f57905b8060051b61042001518160051b602088010152600101818118612d81575b5050820160200191505090508101905080610ba0526402000000066040516020526000526040600020600181019050805460208160051b01600081601f0160051c600981116136a1578015612e0857905b808501548160051b6109600152600101818118612df0575b505050505061096081610a8001600082518083528060051b600082600881116136a1578015612e5257905b8060051b6020880101518160051b602088010152600101818118612e33575b50508201602001915050905090508101905080610bc05280610a80016000610520518083528060051b600082600881116136a1578015612eac57905b8060051b61054001518160051b602088010152600101818118612e8e575b5050820160200191505090508101905080610be05280610a800160006102e0518083528060051b600082600881116136a1578015612f0457905b8060051b61030001518160051b602088010152600101818118612ee6575b5050820160200191505090508101905080610c005280610a80016000610640518083528060051b600082600881116136a1578015612f5c57905b8060051b61066001518160051b602088010152600101818118612f3e575b5050820160200191505090508101905080610c205280610a80016000610760518083528060051b600082600881116136a1578015612fb457905b8060051b61078001518160051b602088010152600101818118612f96575b505082016020019150509050810190506003823b0359600182126136a15781600382863c818101838185610a8060045afa5050828201816000f080156136a157905090509050905061088052640100000003546108a052610880516108a05163ffffffff81116136a157600301556108a051600181018181106136a1579050640100000003556402000000066040516020526000526040600020546108c0526101a051640100000004610880516020526000526040600020600c81019050600181019050556012640100000004610880516020526000526040600020600c81019050600160018201019050556000640100000004610880516020526000526040600020600c81019050600260018201019050556000640100000004610880516020526000526040600020600c81019050600360018201019050556000640100000004610880516020526000526040600020600c81019050600460018201019050556000640100000004610880516020526000526040600020600c81019050600560018201019050556000640100000004610880516020526000526040600020600c81019050600660018201019050556000640100000004610880516020526000526040600020600c81019050600760018201019050556008640100000004610880516020526000526040600020600c81019050556002640100000004610880516020526000526040600020601581019050556040516401000000046108805160205260005260406000205560e051640100000004610880516020526000526040600020600381019050600181019050556402000000066040516020526000526040600020546401000000046108805160205260005260406000206003810190506001600182010190505560026401000000046108805160205260005260406000206003810190505561018051640100000004610880516020526000526040600020600181019050556040366108e03760006008905b806109205264020000000660405160205260005260406000206001810190505461092051106132c55760016108e0526108c051610900526132f9565b64020000000660405160205260005260406000206001810190506109205181548110156136a1576001820101905054610900525b6109005160e051186109405264020000000f610940516020526000526040600020546108a0526108805164020000000e6109405160205260005260406000206108a05163ffffffff81116136a15781019050556108a051600181018181106136a157905064020000000f610940516020526000526040600020556108e051156133815761338c565b600101818118613289575b50507f01f31cd2abdeb4e5e10ba500f2db0f937d9e8c735ab04681925441b4ea37eda560e05161092052604051610940526040608461096037336109a05260a0610920a16020610880f361369b565b6396bebb34811861369b576024361034176136a1576004358060a01c6136a15760405264010000000460405160205260005260406000206003810190508054156136a1576000600182010190505461348a57600c6060527f556e6b6e6f776e20706f6f6c000000000000000000000000000000000000000060805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b640100000004604051602052600052604060002060028101905054156135075760166060527f476175676520616c7265616479206465706c6f7965640000000000000000000060805260605060605180608001601f826000031636823750506308c379a06020526020604052601f19601f6060510116604401603cfd5b64020000000b5460605260605161357557601c6080527f476175676520696d706c656d656e746174696f6e206e6f74207365740000000060a0526080506080518060a001601f826000031636823750506308c379a06040526020606052601f19601f6080510116604401605cfd5b64020000000b5460405160a05260a05160c05260206003823b0359600182126136a15781600382863c81810160c051815250828201816000f080156136a15790509050905090506080526080516401000000046040516020526000526040600020600281019050557f656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b60405160a05260805160c052604060a0a160206080f361369b565b631cb30399811861369b576044361034176136a1576024358060a01c6136a15760405260005433186136a1576040516402000000096004356020526000526040600020550061369b565b638f03182c811861369b576024361034176136a1576004358060a01c6136a15760405260005433186136a15760405164020000000b55005b60006000fd5b600080fd17d2369b369b369b145726d0369b0c3c369b003a001a369b1e6f15201412135436192685369b369b005a21e81310139c369b190d0c9412a5119912161595369b369b1d7a1630369b0ceb369b33db2109369b369b36630c70369b369b1378

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000774d1dba98cfbd1f2bc3a1f59c494125e07c48f90000000000000000000000002d12d0907a388811e3aa855a550f959501d303ee

-----Decoded View---------------
Arg [0] : _fee_receiver (address): 0x774D1Dba98cfBD1F2Bc3A1F59c494125e07C48F9
Arg [1] : _owner (address): 0x2d12D0907A388811e3AA855A550F959501d303EE

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000774d1dba98cfbd1f2bc3a1f59c494125e07c48f9
Arg [1] : 0000000000000000000000002d12d0907a388811e3aa855a550f959501d303ee


Block Transaction Gas Used Reward
view all blocks produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.