ETH Price: $3,249.01 (+0.25%)

Contract

0x9582C4ADACB3BCE56Fea3e590F05c3ca2fb9C477
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim_rewards202543972024-07-07 11:40:47187 days ago1720352447IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.000182271.4980552
Withdraw201457342024-06-22 7:24:23202 days ago1719041063IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.000913421.96326109
Claim_rewards201070522024-06-16 21:31:11208 days ago1718573471IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.000260823.11409364
Withdraw197231112024-04-24 5:18:59261 days ago1713935939IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.004850069.54027548
Withdraw195377122024-03-29 5:55:11287 days ago1711691711IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.01057820.80686245
Withdraw192328592024-02-15 10:53:47330 days ago1707994427IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0067980321.42807241
Withdraw192009892024-02-10 23:32:59335 days ago1707607979IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0118749923
Withdraw186051002023-11-19 9:55:35418 days ago1700387735IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0079050617
Withdraw181455782023-09-16 1:53:11483 days ago1694829191IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.004121068.31
Claim_rewards178083422023-07-30 20:51:47530 days ago1690750307IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0013301726.70172621
Withdraw178083082023-07-30 20:44:59530 days ago1690749899IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.012007526.00625184
Claim_rewards177096862023-07-17 1:23:11544 days ago1689556991IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0010841212.78131442
Withdraw176196682023-07-04 9:28:23556 days ago1688462903IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0063670414.34682594
Withdraw169320402023-03-29 9:24:11653 days ago1680081851IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0141796229.13241738
Claim_rewards168431522023-03-16 21:44:11666 days ago1679003051IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0011540623.16665231
Withdraw168431492023-03-16 21:43:35666 days ago1679003015IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0113901223.40131782
Claim_rewards165735242023-02-07 1:07:35704 days ago1675732055IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0020332424.27547531
Withdraw165516542023-02-03 23:50:47707 days ago1675468247IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0099737420.11225373
Withdraw163262522023-01-03 12:27:11738 days ago1672748831IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0068587414.82237232
Withdraw161549992022-12-10 14:47:59762 days ago1670683679IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0117517524.54398143
Claim_rewards160858592022-11-30 22:44:35772 days ago1669848275IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0011353613.48545044
Claim_rewards160639472022-11-27 21:16:47775 days ago1669583807IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.00081069.62810641
Claim_rewards160488442022-11-25 18:39:59777 days ago1669401599IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0006651613.35244625
Claim_rewards160488362022-11-25 18:38:23777 days ago1669401503IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0006252612.55139512
Claim_rewards160488192022-11-25 18:34:59777 days ago1669401299IN
Curve.fi: alUSD Liquidity Gauge
0 ETH0.0006110312.26581822
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Vyper_contract

Compiler Version
vyper:0.2.12

Optimization Enabled:
N/A

Other Settings:
default evmVersion, MIT license
# @version 0.2.12
"""
@title Liquidity Gauge v3
@author Curve Finance
@license MIT
"""

from vyper.interfaces import ERC20

implements: ERC20


interface CRV20:
    def future_epoch_time_write() -> uint256: nonpayable
    def rate() -> uint256: view

interface Controller:
    def period() -> int128: view
    def period_write() -> int128: nonpayable
    def period_timestamp(p: int128) -> uint256: view
    def gauge_relative_weight(addr: address, time: uint256) -> uint256: view
    def voting_escrow() -> address: view
    def checkpoint(): nonpayable
    def checkpoint_gauge(addr: address): nonpayable

interface Minter:
    def token() -> address: view
    def controller() -> address: view
    def minted(user: address, gauge: address) -> uint256: view

interface VotingEscrow:
    def user_point_epoch(addr: address) -> uint256: view
    def user_point_history__ts(addr: address, epoch: uint256) -> uint256: view

interface ERC20Extended:
    def symbol() -> String[26]: view


event Deposit:
    provider: indexed(address)
    value: uint256

event Withdraw:
    provider: indexed(address)
    value: uint256

event UpdateLiquidityLimit:
    user: address
    original_balance: uint256
    original_supply: uint256
    working_balance: uint256
    working_supply: uint256

event CommitOwnership:
    admin: address

event ApplyOwnership:
    admin: address

event Transfer:
    _from: indexed(address)
    _to: indexed(address)
    _value: uint256

event Approval:
    _owner: indexed(address)
    _spender: indexed(address)
    _value: uint256


MAX_REWARDS: constant(uint256) = 8
TOKENLESS_PRODUCTION: constant(uint256) = 40
WEEK: constant(uint256) = 604800
CLAIM_FREQUENCY: constant(uint256) = 3600

minter: public(address)
crv_token: public(address)
lp_token: public(address)
controller: public(address)
voting_escrow: public(address)
future_epoch_time: public(uint256)

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

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

working_balances: public(HashMap[address, uint256])
working_supply: public(uint256)

# The goal is to be able to calculate ∫(rate * balance / totalSupply dt) from 0 till checkpoint
# All values are kept in units of being multiplied by 1e18
period: public(int128)
period_timestamp: public(uint256[100000000000000000000000000000])

# 1e18 * ∫(rate(t) / totalSupply(t) dt) from 0 till checkpoint
integrate_inv_supply: public(uint256[100000000000000000000000000000])  # bump epoch when rate() changes

# 1e18 * ∫(rate(t) / totalSupply(t) dt) from (last_action) till checkpoint
integrate_inv_supply_of: public(HashMap[address, uint256])
integrate_checkpoint_of: public(HashMap[address, uint256])

# ∫(balance * rate(t) / totalSupply(t) dt) from 0 till checkpoint
# Units: rate * t = already number of coins per address to issue
integrate_fraction: public(HashMap[address, uint256])

inflation_rate: public(uint256)

# For tracking external rewards
reward_data: uint256
reward_tokens: public(address[MAX_REWARDS])

# deposit / withdraw / claim
reward_sigs: bytes32

# claimant -> default reward receiver
rewards_receiver: public(HashMap[address, address])

# reward token -> integral
reward_integral: public(HashMap[address, uint256])

# reward token -> claiming address -> integral
reward_integral_for: public(HashMap[address, HashMap[address, uint256]])

# user -> [uint128 claimable amount][uint128 claimed amount]
claim_data: HashMap[address, HashMap[address, uint256]]

admin: public(address)
future_admin: public(address)  # Can and will be a smart contract
is_killed: public(bool)


@external
def __init__(_lp_token: address, _minter: address, _admin: address):
    """
    @notice Contract constructor
    @param _lp_token Liquidity Pool contract address
    @param _minter Minter contract address
    @param _admin Admin who can kill the gauge
    """

    symbol: String[26] = ERC20Extended(_lp_token).symbol()
    self.name = concat("Curve.fi ", symbol, " Gauge Deposit")
    self.symbol = concat(symbol, "-gauge")

    crv_token: address = Minter(_minter).token()
    controller: address = Minter(_minter).controller()

    self.lp_token = _lp_token
    self.minter = _minter
    self.admin = _admin
    self.crv_token = crv_token
    self.controller = controller
    self.voting_escrow = Controller(controller).voting_escrow()

    self.period_timestamp[0] = block.timestamp
    self.inflation_rate = CRV20(crv_token).rate()
    self.future_epoch_time = CRV20(crv_token).future_epoch_time_write()


@view
@external
def decimals() -> uint256:
    """
    @notice Get the number of decimals for this token
    @dev Implemented as a view method to reduce gas costs
    @return uint256 decimal places
    """
    return 18


@view
@external
def integrate_checkpoint() -> uint256:
    return self.period_timestamp[self.period]


@internal
def _update_liquidity_limit(addr: address, l: uint256, L: uint256):
    """
    @notice Calculate limits which depend on the amount of CRV token per-user.
            Effectively it calculates working balances to apply amplification
            of CRV production by CRV
    @param addr User address
    @param l User's amount of liquidity (LP tokens)
    @param L Total amount of liquidity (LP tokens)
    """
    # To be called after totalSupply is updated
    _voting_escrow: address = self.voting_escrow
    voting_balance: uint256 = ERC20(_voting_escrow).balanceOf(addr)
    voting_total: uint256 = ERC20(_voting_escrow).totalSupply()

    lim: uint256 = l * TOKENLESS_PRODUCTION / 100
    if voting_total > 0:
        lim += L * voting_balance / voting_total * (100 - TOKENLESS_PRODUCTION) / 100

    lim = min(l, lim)
    old_bal: uint256 = self.working_balances[addr]
    self.working_balances[addr] = lim
    _working_supply: uint256 = self.working_supply + lim - old_bal
    self.working_supply = _working_supply

    log UpdateLiquidityLimit(addr, l, L, lim, _working_supply)


@internal
def _checkpoint_rewards( _user: address, _total_supply: uint256, _claim: bool, _receiver: address):
    """
    @notice Claim pending rewards and checkpoint rewards for a user
    """
    # load reward tokens and integrals into memory
    reward_tokens: address[MAX_REWARDS] = empty(address[MAX_REWARDS])
    reward_integrals: uint256[MAX_REWARDS] = empty(uint256[MAX_REWARDS])
    for i in range(MAX_REWARDS):
        token: address = self.reward_tokens[i]
        if token == ZERO_ADDRESS:
            break
        reward_tokens[i] = token
        reward_integrals[i] = self.reward_integral[token]

    reward_data: uint256 = self.reward_data
    if _total_supply != 0 and reward_data != 0 and block.timestamp > shift(reward_data, -160) + CLAIM_FREQUENCY:
        # track balances prior to claiming
        reward_balances: uint256[MAX_REWARDS] = empty(uint256[MAX_REWARDS])
        for i in range(MAX_REWARDS):
            token: address = self.reward_tokens[i]
            if token == ZERO_ADDRESS:
                break
            reward_balances[i] = ERC20(token).balanceOf(self)

        # claim from reward contract
        reward_contract: address = convert(reward_data % 2**160, address)
        raw_call(reward_contract, slice(self.reward_sigs, 8, 4))  # dev: bad claim sig
        self.reward_data = convert(reward_contract, uint256) + shift(block.timestamp, 160)

        # get balances after claim and calculate new reward integrals
        for i in range(MAX_REWARDS):
            token: address = reward_tokens[i]
            if token == ZERO_ADDRESS:
                break
            dI: uint256 = 10**18 * (ERC20(token).balanceOf(self) - reward_balances[i]) / _total_supply
            if dI > 0:
                reward_integrals[i] += dI
                self.reward_integral[token] = reward_integrals[i]

    if _user != ZERO_ADDRESS:
        user_balance: uint256 = self.balanceOf[_user]
        receiver: address = _receiver
        if _claim and _receiver == ZERO_ADDRESS:
            # if receiver is not explicitly declared, check if a default receiver is set
            receiver = self.rewards_receiver[_user]
            if receiver == ZERO_ADDRESS:
                # if no default receiver is set, direct claims to the user
                receiver = _user

        # calculate new user reward integral and transfer any owed rewards
        for i in range(MAX_REWARDS):
            token: address = reward_tokens[i]
            if token == ZERO_ADDRESS:
                break

            integral: uint256 = reward_integrals[i]
            integral_for: uint256 = self.reward_integral_for[token][_user]
            if integral_for < integral or _total_supply == 0:
                self.reward_integral_for[token][_user] = integral
                claim_data: uint256 = self.claim_data[_user][token]

                new_claimable: uint256 = user_balance * (integral - integral_for) / 10**18

                total_claimed: uint256 = claim_data % 2**128
                total_claimable: uint256 = shift(claim_data, -128) + new_claimable

                if _claim and total_claimable > 0:
                    response: Bytes[32] = raw_call(
                        token,
                        concat(
                            method_id("transfer(address,uint256)"),
                            convert(receiver, bytes32),
                            convert(total_claimable, bytes32),
                        ),
                        max_outsize=32,
                    )
                    if len(response) != 0:
                        assert convert(response, bool)
                    self.claim_data[_user][token] = total_claimed + total_claimable
                elif new_claimable > 0:
                    self.claim_data[_user][token] = total_claimed + shift(total_claimable, 128)


@internal
def _checkpoint(addr: address):
    """
    @notice Checkpoint for a user
    @param addr User address
    """
    _period: int128 = self.period
    _period_time: uint256 = self.period_timestamp[_period]
    _integrate_inv_supply: uint256 = self.integrate_inv_supply[_period]
    rate: uint256 = self.inflation_rate
    new_rate: uint256 = rate
    prev_future_epoch: uint256 = self.future_epoch_time
    if prev_future_epoch >= _period_time:
        _token: address = self.crv_token
        self.future_epoch_time = CRV20(_token).future_epoch_time_write()
        new_rate = CRV20(_token).rate()
        self.inflation_rate = new_rate

    if self.is_killed:
        # Stop distributing inflation as soon as killed
        rate = 0

    # Update integral of 1/supply
    if block.timestamp > _period_time:
        _working_supply: uint256 = self.working_supply
        _controller: address = self.controller
        Controller(_controller).checkpoint_gauge(self)
        prev_week_time: uint256 = _period_time
        week_time: uint256 = min((_period_time + WEEK) / WEEK * WEEK, block.timestamp)

        for i in range(500):
            dt: uint256 = week_time - prev_week_time
            w: uint256 = Controller(_controller).gauge_relative_weight(self, prev_week_time / WEEK * WEEK)

            if _working_supply > 0:
                if prev_future_epoch >= prev_week_time and prev_future_epoch < week_time:
                    # If we went across one or multiple epochs, apply the rate
                    # of the first epoch until it ends, and then the rate of
                    # the last epoch.
                    # If more than one epoch is crossed - the gauge gets less,
                    # but that'd meen it wasn't called for more than 1 year
                    _integrate_inv_supply += rate * w * (prev_future_epoch - prev_week_time) / _working_supply
                    rate = new_rate
                    _integrate_inv_supply += rate * w * (week_time - prev_future_epoch) / _working_supply
                else:
                    _integrate_inv_supply += rate * w * dt / _working_supply
                # On precisions of the calculation
                # rate ~= 10e18
                # last_weight > 0.01 * 1e18 = 1e16 (if pool weight is 1%)
                # _working_supply ~= TVL * 1e18 ~= 1e26 ($100M for example)
                # The largest loss is at dt = 1
                # Loss is 1e-9 - acceptable

            if week_time == block.timestamp:
                break
            prev_week_time = week_time
            week_time = min(week_time + WEEK, block.timestamp)

    _period += 1
    self.period = _period
    self.period_timestamp[_period] = block.timestamp
    self.integrate_inv_supply[_period] = _integrate_inv_supply

    # Update user-specific integrals
    _working_balance: uint256 = self.working_balances[addr]
    self.integrate_fraction[addr] += _working_balance * (_integrate_inv_supply - self.integrate_inv_supply_of[addr]) / 10 ** 18
    self.integrate_inv_supply_of[addr] = _integrate_inv_supply
    self.integrate_checkpoint_of[addr] = block.timestamp


@external
def user_checkpoint(addr: address) -> bool:
    """
    @notice Record a checkpoint for `addr`
    @param addr User address
    @return bool success
    """
    assert (msg.sender == addr) or (msg.sender == self.minter)  # dev: unauthorized
    self._checkpoint(addr)
    self._update_liquidity_limit(addr, self.balanceOf[addr], self.totalSupply)
    return True


@external
def claimable_tokens(addr: address) -> uint256:
    """
    @notice Get the number of claimable tokens per user
    @dev This function should be manually changed to "view" in the ABI
    @return uint256 number of claimable tokens per user
    """
    self._checkpoint(addr)
    return self.integrate_fraction[addr] - Minter(self.minter).minted(addr, self)


@view
@external
def reward_contract() -> address:
    """
    @notice Address of the reward contract providing non-CRV incentives for this gauge
    @dev Returns `ZERO_ADDRESS` if there is no reward contract active
    """
    return convert(self.reward_data % 2**160, address)


@view
@external
def last_claim() -> uint256:
    """
    @notice Epoch timestamp of the last call to claim from `reward_contract`
    @dev Rewards are claimed at most once per hour in order to reduce gas costs
    """
    return shift(self.reward_data, -160)


@view
@external
def claimed_reward(_addr: address, _token: address) -> uint256:
    """
    @notice Get the number of already-claimed reward tokens for a user
    @param _addr Account to get reward amount for
    @param _token Token to get reward amount for
    @return uint256 Total amount of `_token` already claimed by `_addr`
    """
    return self.claim_data[_addr][_token] % 2**128


@view
@external
def claimable_reward(_addr: address, _token: address) -> uint256:
    """
    @notice Get the number of claimable reward tokens for a user
    @dev This call does not consider pending claimable amount in `reward_contract`.
         Off-chain callers should instead use `claimable_rewards_write` as a
         view method.
    @param _addr Account to get reward amount for
    @param _token Token to get reward amount for
    @return uint256 Claimable reward token amount
    """
    return shift(self.claim_data[_addr][_token], -128)


@external
@nonreentrant('lock')
def claimable_reward_write(_addr: address, _token: address) -> uint256:
    """
    @notice Get the number of claimable reward tokens for a user
    @dev This function should be manually changed to "view" in the ABI
         Calling it via a transaction will claim available reward tokens
    @param _addr Account to get reward amount for
    @param _token Token to get reward amount for
    @return uint256 Claimable reward token amount
    """
    if self.reward_tokens[0] != ZERO_ADDRESS:
        self._checkpoint_rewards(_addr, self.totalSupply, False, ZERO_ADDRESS)
    return shift(self.claim_data[_addr][_token], -128)


@external
def set_rewards_receiver(_receiver: address):
    """
    @notice Set the default reward receiver for the caller.
    @dev When set to ZERO_ADDRESS, rewards are sent to the caller
    @param _receiver Receiver address for any rewards claimed via `claim_rewards`
    """
    self.rewards_receiver[msg.sender] = _receiver


@external
@nonreentrant('lock')
def claim_rewards(_addr: address = msg.sender, _receiver: address = ZERO_ADDRESS):
    """
    @notice Claim available reward tokens for `_addr`
    @param _addr Address to claim for
    @param _receiver Address to transfer rewards to - if set to
                     ZERO_ADDRESS, uses the default reward receiver
                     for the caller
    """
    if _receiver != ZERO_ADDRESS:
        assert _addr == msg.sender  # dev: cannot redirect when claiming for another user
    self._checkpoint_rewards(_addr, self.totalSupply, True, _receiver)


@external
def kick(addr: address):
    """
    @notice Kick `addr` for abusing their boost
    @dev Only if either they had another voting event, or their voting escrow lock expired
    @param addr Address to kick
    """
    _voting_escrow: address = self.voting_escrow
    t_last: uint256 = self.integrate_checkpoint_of[addr]
    t_ve: uint256 = VotingEscrow(_voting_escrow).user_point_history__ts(
        addr, VotingEscrow(_voting_escrow).user_point_epoch(addr)
    )
    _balance: uint256 = self.balanceOf[addr]

    assert ERC20(self.voting_escrow).balanceOf(addr) == 0 or t_ve > t_last # dev: kick not allowed
    assert self.working_balances[addr] > _balance * TOKENLESS_PRODUCTION / 100  # dev: kick not needed

    self._checkpoint(addr)
    self._update_liquidity_limit(addr, self.balanceOf[addr], self.totalSupply)


@external
@nonreentrant('lock')
def deposit(_value: uint256, _addr: address = msg.sender, _claim_rewards: bool = False):
    """
    @notice Deposit `_value` LP tokens
    @dev Depositting also claims pending reward tokens
    @param _value Number of tokens to deposit
    @param _addr Address to deposit for
    """

    self._checkpoint(_addr)

    if _value != 0:
        is_rewards: bool = self.reward_tokens[0] != ZERO_ADDRESS
        total_supply: uint256 = self.totalSupply
        if is_rewards:
            self._checkpoint_rewards(_addr, total_supply, _claim_rewards, ZERO_ADDRESS)

        total_supply += _value
        new_balance: uint256 = self.balanceOf[_addr] + _value
        self.balanceOf[_addr] = new_balance
        self.totalSupply = total_supply

        self._update_liquidity_limit(_addr, new_balance, total_supply)

        ERC20(self.lp_token).transferFrom(msg.sender, self, _value)
        if is_rewards:
            deposit_sig: Bytes[4] = slice(self.reward_sigs, 0, 4)
            if convert(deposit_sig, uint256) != 0:
                raw_call(
                    convert(self.reward_data % 2**160, address),
                    concat(deposit_sig, convert(_value, bytes32))
                )

    log Deposit(_addr, _value)
    log Transfer(ZERO_ADDRESS, _addr, _value)


@external
@nonreentrant('lock')
def withdraw(_value: uint256, _claim_rewards: bool = False):
    """
    @notice Withdraw `_value` LP tokens
    @dev Withdrawing also claims pending reward tokens
    @param _value Number of tokens to withdraw
    """
    self._checkpoint(msg.sender)

    if _value != 0:
        is_rewards: bool = self.reward_tokens[0] != ZERO_ADDRESS
        total_supply: uint256 = self.totalSupply
        if is_rewards:
            self._checkpoint_rewards(msg.sender, total_supply, _claim_rewards, ZERO_ADDRESS)

        total_supply -= _value
        new_balance: uint256 = self.balanceOf[msg.sender] - _value
        self.balanceOf[msg.sender] = new_balance
        self.totalSupply = total_supply

        self._update_liquidity_limit(msg.sender, new_balance, total_supply)

        if is_rewards:
            withdraw_sig: Bytes[4] = slice(self.reward_sigs, 4, 4)
            if convert(withdraw_sig, uint256) != 0:
                raw_call(
                    convert(self.reward_data % 2**160, address),
                    concat(withdraw_sig, convert(_value, bytes32))
                )
        ERC20(self.lp_token).transfer(msg.sender, _value)

    log Withdraw(msg.sender, _value)
    log Transfer(msg.sender, ZERO_ADDRESS, _value)


@view
@external
def allowance(_owner : address, _spender : address) -> uint256:
    """
    @notice Check the amount of tokens that an owner allowed to a spender
    @param _owner The address which owns the funds
    @param _spender The address which will spend the funds
    @return uint256 Amount of tokens still available for the spender
    """
    return self.allowances[_owner][_spender]


@internal
def _transfer(_from: address, _to: address, _value: uint256):
    self._checkpoint(_from)
    self._checkpoint(_to)

    if _value != 0:
        total_supply: uint256 = self.totalSupply
        is_rewards: bool = self.reward_tokens[0] != ZERO_ADDRESS
        if is_rewards:
            self._checkpoint_rewards(_from, total_supply, False, ZERO_ADDRESS)
        new_balance: uint256 = self.balanceOf[_from] - _value
        self.balanceOf[_from] = new_balance
        self._update_liquidity_limit(_from, new_balance, total_supply)

        if is_rewards:
            self._checkpoint_rewards(_to, total_supply, False, ZERO_ADDRESS)
        new_balance = self.balanceOf[_to] + _value
        self.balanceOf[_to] = new_balance
        self._update_liquidity_limit(_to, new_balance, total_supply)

    log Transfer(_from, _to, _value)


@external
@nonreentrant('lock')
def transfer(_to : address, _value : uint256) -> bool:
    """
    @notice Transfer token for a specified address
    @dev Transferring claims pending reward tokens for the sender and receiver
    @param _to The address to transfer to.
    @param _value The amount to be transferred.
    """
    self._transfer(msg.sender, _to, _value)

    return True


@external
@nonreentrant('lock')
def transferFrom(_from : address, _to : address, _value : uint256) -> bool:
    """
     @notice Transfer tokens from one address to another.
     @dev Transferring claims pending reward tokens for the sender and receiver
     @param _from address The address which you want to send tokens from
     @param _to address The address which you want to transfer to
     @param _value uint256 the amount of tokens to be transferred
    """
    _allowance: uint256 = self.allowances[_from][msg.sender]
    if _allowance != MAX_UINT256:
        self.allowances[_from][msg.sender] = _allowance - _value

    self._transfer(_from, _to, _value)

    return True


@external
def approve(_spender : address, _value : uint256) -> bool:
    """
    @notice Approve the passed address to transfer the specified amount of
            tokens on behalf of msg.sender
    @dev Beware that changing an allowance via this method brings the risk
         that someone may use both the old and new allowance by unfortunate
         transaction ordering. This may be mitigated with the use of
         {incraseAllowance} and {decreaseAllowance}.
         https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    @param _spender The address which will transfer the funds
    @param _value The amount of tokens that may be transferred
    @return bool success
    """
    self.allowances[msg.sender][_spender] = _value
    log Approval(msg.sender, _spender, _value)

    return True


@external
def increaseAllowance(_spender: address, _added_value: uint256) -> bool:
    """
    @notice Increase the allowance granted to `_spender` by the caller
    @dev This is alternative to {approve} that can be used as a mitigation for
         the potential race condition
    @param _spender The address which will transfer the funds
    @param _added_value The amount of to increase the allowance
    @return bool success
    """
    allowance: uint256 = self.allowances[msg.sender][_spender] + _added_value
    self.allowances[msg.sender][_spender] = allowance

    log Approval(msg.sender, _spender, allowance)

    return True


@external
def decreaseAllowance(_spender: address, _subtracted_value: uint256) -> bool:
    """
    @notice Decrease the allowance granted to `_spender` by the caller
    @dev This is alternative to {approve} that can be used as a mitigation for
         the potential race condition
    @param _spender The address which will transfer the funds
    @param _subtracted_value The amount of to decrease the allowance
    @return bool success
    """
    allowance: uint256 = self.allowances[msg.sender][_spender] - _subtracted_value
    self.allowances[msg.sender][_spender] = allowance

    log Approval(msg.sender, _spender, allowance)

    return True


@external
@nonreentrant('lock')
def set_rewards(_reward_contract: address, _sigs: bytes32, _reward_tokens: address[MAX_REWARDS]):
    """
    @notice Set the active reward contract
    @dev A reward contract cannot be set while this contract has no deposits
    @param _reward_contract Reward contract address. Set to ZERO_ADDRESS to
                            disable staking.
    @param _sigs Four byte selectors for staking, withdrawing and claiming,
                 right padded with zero bytes. If the reward contract can
                 be claimed from but does not require staking, the staking
                 and withdraw selectors should be set to 0x00
    @param _reward_tokens List of claimable reward tokens. New reward tokens
                          may be added but they cannot be removed. When calling
                          this function to unset or modify a reward contract,
                          this array must begin with the already-set reward
                          token addresses.
    """
    assert msg.sender == self.admin

    lp_token: address = self.lp_token
    current_reward_contract: address = convert(self.reward_data % 2**160, address)
    total_supply: uint256 = self.totalSupply
    if self.reward_tokens[0] != ZERO_ADDRESS:
        self._checkpoint_rewards(ZERO_ADDRESS, total_supply, False, ZERO_ADDRESS)
    if current_reward_contract != ZERO_ADDRESS:
        withdraw_sig: Bytes[4] = slice(self.reward_sigs, 4, 4)
        if convert(withdraw_sig, uint256) != 0:
            if total_supply != 0:
                raw_call(
                    current_reward_contract,
                    concat(withdraw_sig, convert(total_supply, bytes32))
                )
            ERC20(lp_token).approve(current_reward_contract, 0)

    if _reward_contract != ZERO_ADDRESS:
        assert _reward_tokens[0] != ZERO_ADDRESS  # dev: no reward token
        assert _reward_contract.is_contract  # dev: not a contract
        deposit_sig: Bytes[4] = slice(_sigs, 0, 4)
        withdraw_sig: Bytes[4] = slice(_sigs, 4, 4)

        if convert(deposit_sig, uint256) != 0:
            # need a non-zero total supply to verify the sigs
            assert total_supply != 0  # dev: zero total supply
            ERC20(lp_token).approve(_reward_contract, MAX_UINT256)

            # it would be Very Bad if we get the signatures wrong here, so
            # we do a test deposit and withdrawal prior to setting them
            raw_call(
                _reward_contract,
                concat(deposit_sig, convert(total_supply, bytes32))
            )  # dev: failed deposit
            assert ERC20(lp_token).balanceOf(self) == 0
            raw_call(
                _reward_contract,
                concat(withdraw_sig, convert(total_supply, bytes32))
            )  # dev: failed withdraw
            assert ERC20(lp_token).balanceOf(self) == total_supply

            # deposit and withdraw are good, time to make the actual deposit
            raw_call(
                _reward_contract,
                concat(deposit_sig, convert(total_supply, bytes32))
            )
        else:
            assert convert(withdraw_sig, uint256) == 0  # dev: withdraw without deposit

    self.reward_data = convert(_reward_contract, uint256)
    self.reward_sigs = _sigs
    for i in range(MAX_REWARDS):
        current_token: address = self.reward_tokens[i]
        new_token: address = _reward_tokens[i]
        if current_token != ZERO_ADDRESS:
            assert current_token == new_token  # dev: cannot modify existing reward token
        elif new_token != ZERO_ADDRESS:
            # store new reward token
            self.reward_tokens[i] = new_token
        else:
            break

    if _reward_contract != ZERO_ADDRESS:
        # do an initial checkpoint to verify that claims are working
        self._checkpoint_rewards(ZERO_ADDRESS, total_supply, False, ZERO_ADDRESS)


@external
def set_killed(_is_killed: bool):
    """
    @notice Set the killed status for this contract
    @dev When killed, the gauge always yields a rate of 0 and so cannot mint CRV
    @param _is_killed Killed status to set
    """
    assert msg.sender == self.admin

    self.is_killed = _is_killed


@external
def commit_transfer_ownership(addr: address):
    """
    @notice Transfer ownership of GaugeController to `addr`
    @param addr Address to have ownership transferred to
    """
    assert msg.sender == self.admin  # dev: admin only

    self.future_admin = addr
    log CommitOwnership(addr)


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

    self.admin = _admin
    log ApplyOwnership(_admin)

Contract Security Audit

Contract ABI

[{"name":"Deposit","inputs":[{"name":"provider","type":"address","indexed":true},{"name":"value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"Withdraw","inputs":[{"name":"provider","type":"address","indexed":true},{"name":"value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"UpdateLiquidityLimit","inputs":[{"name":"user","type":"address","indexed":false},{"name":"original_balance","type":"uint256","indexed":false},{"name":"original_supply","type":"uint256","indexed":false},{"name":"working_balance","type":"uint256","indexed":false},{"name":"working_supply","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"CommitOwnership","inputs":[{"name":"admin","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"ApplyOwnership","inputs":[{"name":"admin","type":"address","indexed":false}],"anonymous":false,"type":"event"},{"name":"Transfer","inputs":[{"name":"_from","type":"address","indexed":true},{"name":"_to","type":"address","indexed":true},{"name":"_value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"Approval","inputs":[{"name":"_owner","type":"address","indexed":true},{"name":"_spender","type":"address","indexed":true},{"name":"_value","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"_lp_token","type":"address"},{"name":"_minter","type":"address"},{"name":"_admin","type":"address"}],"outputs":[]},{"stateMutability":"view","type":"function","name":"decimals","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":288},{"stateMutability":"view","type":"function","name":"integrate_checkpoint","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":4624},{"stateMutability":"nonpayable","type":"function","name":"user_checkpoint","inputs":[{"name":"addr","type":"address"}],"outputs":[{"name":"","type":"bool"}],"gas":3133638},{"stateMutability":"nonpayable","type":"function","name":"claimable_tokens","inputs":[{"name":"addr","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3046705},{"stateMutability":"view","type":"function","name":"reward_contract","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2718},{"stateMutability":"view","type":"function","name":"last_claim","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2544},{"stateMutability":"view","type":"function","name":"claimed_reward","inputs":[{"name":"_addr","type":"address"},{"name":"_token","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3066},{"stateMutability":"view","type":"function","name":"claimable_reward","inputs":[{"name":"_addr","type":"address"},{"name":"_token","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3034},{"stateMutability":"nonpayable","type":"function","name":"claimable_reward_write","inputs":[{"name":"_addr","type":"address"},{"name":"_token","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":1211002},{"stateMutability":"nonpayable","type":"function","name":"set_rewards_receiver","inputs":[{"name":"_receiver","type":"address"}],"outputs":[],"gas":35733},{"stateMutability":"nonpayable","type":"function","name":"claim_rewards","inputs":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"claim_rewards","inputs":[{"name":"_addr","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"claim_rewards","inputs":[{"name":"_addr","type":"address"},{"name":"_receiver","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"kick","inputs":[{"name":"addr","type":"address"}],"outputs":[],"gas":3150326},{"stateMutability":"nonpayable","type":"function","name":"deposit","inputs":[{"name":"_value","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"deposit","inputs":[{"name":"_value","type":"uint256"},{"name":"_addr","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"deposit","inputs":[{"name":"_value","type":"uint256"},{"name":"_addr","type":"address"},{"name":"_claim_rewards","type":"bool"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"withdraw","inputs":[{"name":"_value","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"withdraw","inputs":[{"name":"_value","type":"uint256"},{"name":"_claim_rewards","type":"bool"}],"outputs":[]},{"stateMutability":"view","type":"function","name":"allowance","inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3238},{"stateMutability":"nonpayable","type":"function","name":"transfer","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":17172312},{"stateMutability":"nonpayable","type":"function","name":"transferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":17210262},{"stateMutability":"nonpayable","type":"function","name":"approve","inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":38241},{"stateMutability":"nonpayable","type":"function","name":"increaseAllowance","inputs":[{"name":"_spender","type":"address"},{"name":"_added_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":40785},{"stateMutability":"nonpayable","type":"function","name":"decreaseAllowance","inputs":[{"name":"_spender","type":"address"},{"name":"_subtracted_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":40809},{"stateMutability":"nonpayable","type":"function","name":"set_rewards","inputs":[{"name":"_reward_contract","type":"address"},{"name":"_sigs","type":"bytes32"},{"name":"_reward_tokens","type":"address[8]"}],"outputs":[],"gas":2743589},{"stateMutability":"nonpayable","type":"function","name":"set_killed","inputs":[{"name":"_is_killed","type":"bool"}],"outputs":[],"gas":38175},{"stateMutability":"nonpayable","type":"function","name":"commit_transfer_ownership","inputs":[{"name":"addr","type":"address"}],"outputs":[],"gas":39555},{"stateMutability":"nonpayable","type":"function","name":"accept_transfer_ownership","inputs":[],"outputs":[],"gas":39500},{"stateMutability":"view","type":"function","name":"minter","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3108},{"stateMutability":"view","type":"function","name":"crv_token","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3138},{"stateMutability":"view","type":"function","name":"lp_token","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3168},{"stateMutability":"view","type":"function","name":"controller","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3198},{"stateMutability":"view","type":"function","name":"voting_escrow","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3228},{"stateMutability":"view","type":"function","name":"future_epoch_time","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3258},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3503},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3318},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":13650},{"stateMutability":"view","type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":11403},{"stateMutability":"view","type":"function","name":"working_balances","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3623},{"stateMutability":"view","type":"function","name":"working_supply","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3438},{"stateMutability":"view","type":"function","name":"period","inputs":[],"outputs":[{"name":"","type":"int128"}],"gas":3468},{"stateMutability":"view","type":"function","name":"period_timestamp","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":3607},{"stateMutability":"view","type":"function","name":"integrate_inv_supply","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":3637},{"stateMutability":"view","type":"function","name":"integrate_inv_supply_of","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3773},{"stateMutability":"view","type":"function","name":"integrate_checkpoint_of","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3803},{"stateMutability":"view","type":"function","name":"integrate_fraction","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3833},{"stateMutability":"view","type":"function","name":"inflation_rate","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3648},{"stateMutability":"view","type":"function","name":"reward_tokens","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}],"gas":3787},{"stateMutability":"view","type":"function","name":"rewards_receiver","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"address"}],"gas":3923},{"stateMutability":"view","type":"function","name":"reward_integral","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3953},{"stateMutability":"view","type":"function","name":"reward_integral_for","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":4198},{"stateMutability":"view","type":"function","name":"admin","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3798},{"stateMutability":"view","type":"function","name":"future_admin","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3828},{"stateMutability":"view","type":"function","name":"is_killed","inputs":[],"outputs":[{"name":"","type":"bool"}],"gas":3858}]

606061382e61014039602061382e60c03960c05160a01c1561002057600080fd5b6020602061382e0160c03960c05160a01c1561003b57600080fd5b6020604061382e0160c03960c05160a01c1561005657600080fd5b606061026060046395d89b416102005261021c610140515afa61007857600080fd5b603f3d1161008557600080fd5b601b6102606102605101511061009a57600080fd5b6000506102808051602001806101a08284600060045af16100ba57600080fd5b505060006009610200527f43757276652e6669200000000000000000000000000000000000000000000000610220526102006009806020846102c001018260208501600060045af15050805182019150506101a0601a806020846102c001018260208501600060045af1505080518201915050600e610260527f204761756765204465706f73697400000000000000000000000000000000000061028052610260600e806020846102c001018260208501600060045af1505080518201915050806102c0526102c0905080600960c052602060c020602082510161012060006003818352015b826101205160200211156101b3576101d5565b61012051602002850151610120518501555b81516001018083528114156101a0575b50505050505060006101a0601a8060208461026001018260208501600060045af15050805182019150506006610200527f2d676175676500000000000000000000000000000000000000000000000000006102205261020060068060208461026001018260208501600060045af15050805182019150508061026052610260905080600a60c052602060c020602082510161012060006002818352015b82610120516020021115610285576102a7565b61012051602002850151610120518501555b8151600101808352811415610272575b5050505050506020610280600463fc0c546a6102205261023c610160515afa6102cf57600080fd5b601f3d116102dc57600080fd5b600050610280516102005260206102a0600463f77c47916102405261025c610160515afa61030957600080fd5b601f3d1161031657600080fd5b6000506102a05161022052610140516002556101605160005561018051601b55610200516001556102205160035560206102a0600463dfe050316102405261025c610220515afa61036657600080fd5b601f3d1161037357600080fd5b6000506102a05160045542600e60c052602060c0205560206102a06004632c4e722e6102405261025c610200515afa6103ab57600080fd5b601f3d116103b857600080fd5b6000506102a05160135560206102a0600463b26b238e6102405261025c6000610200515af16103e657600080fd5b601f3d116103f357600080fd5b6000506102a05160055561381656600436101561000d576120b3565b600035601c52600051341561002157600080fd5b63313ce56781141561003857601260005260206000f35b63d31f3f6d81141561007557600d546c01431e0fae6d7217caa0000000811061006057600080fd5b600e60c052602060c020015460005260206000f35b634b82009381141561010e5760043560a01c1561009157600080fd5b6004353314156100a25760016100a8565b60005433145b6100b157600080fd5b600435610140526101405160065801612aed565b60005060043561014052600660043560e05260c052604060c020546101605260075461018052610180516101605161014051600658016120b9565b600050600160005260206000f35b63331345838114156101b05760043560a01c1561012a57600080fd5b600435610140526101405160065801612aed565b600050601260043560e05260c052604060c0205460206101e06044638b752bb06101405260043561016052306101805261015c6000545afa61017f57600080fd5b601f3d1161018c57600080fd5b6000506101e051808210156101a057600080fd5b8082039050905060005260206000f35b63bf88a6ff8114156101f65760145474010000000000000000000000000000000000000000808206905090508060a01c156101ea57600080fd5b80905060005260206000f35b633488bd198114156102115760145460a01c60005260206000f35b63e77e743781141561027e5760043560a01c1561022d57600080fd5b60243560a01c1561023d57600080fd5b601a60043560e05260c052604060c02060243560e05260c052604060c020547001000000000000000000000000000000008082069050905060005260206000f35b6333fd6f748114156102d55760043560a01c1561029a57600080fd5b60243560a01c156102aa57600080fd5b601a60043560e05260c052604060c02060243560e05260c052604060c0205460801c60005260206000f35b6359b7e40981141561038d57601e54156102ee57600080fd5b6001601e5560043560a01c1561030357600080fd5b60243560a01c1561031357600080fd5b6000601560c052602060c02054181561035d57600435610140526007546101605260006101805260006101a0526101a051610180516101605161014051600658016122e4565b6000505b601a60043560e05260c052604060c02060243560e05260c052604060c0205460801c6000526000601e5560206000f35b63bdf981168114156103bd5760043560a01c156103a957600080fd5b60043560173360e05260c052604060c02055005b63e6f1daf28114156103d9573361014052600061016052610454565b6384e9bd7e81141561040b5760006101605260043560a01c156103fb57600080fd5b6020600461014037600050610454565b639faceb1b81141561044f5760043560a01c1561042757600080fd5b602060046101403760243560a01c1561043f57600080fd5b6020602461016037600050610454565b6104d1565b601e541561046157600080fd5b6001601e5560006101605118156104815733610140511461048157600080fd5b610140516101605161014051610180526007546101a05260016101c052610160516101e0526101e0516101c0516101a05161018051600658016122e4565b61016052610140526000506000601e55005b6396c551758114156106d55760043560a01c156104ed57600080fd5b60045461014052601160043560e05260c052604060c020546101605260206102e0604463da020a1861024052600435610260526020610220602463010ae7576101a0526004356101c0526101bc610140515afa61054957600080fd5b601f3d1161055657600080fd5b600050610220516102805261025c610140515afa61057357600080fd5b601f3d1161058057600080fd5b6000506102e05161018052600660043560e05260c052604060c020546101a05260206102e060246370a08231610260526004356102805261027c6004545afa6105c857600080fd5b601f3d116105d557600080fd5b6000506102e05115156105e95760016105f3565b6101605161018051115b6105fc57600080fd5b6101a0516028808202821582848304141761061657600080fd5b80905090509050606480820490509050600b60043560e05260c052604060c020541161064157600080fd5b6101405161016051610180516101a0516004356101c0526101c05160065801612aed565b6101a0526101805261016052610140526000506101405161016051610180516101a0516004356101c052600660043560e05260c052604060c020546101e05260075461020052610200516101e0516101c051600658016120b9565b6101a052610180526101605261014052600050005b63b6b55f258114156106f157336101405260006101605261076c565b636e553f658114156107235760006101605260243560a01c1561071357600080fd5b602060246101403760005061076c565b6383df67478114156107675760243560a01c1561073f57600080fd5b602060246101403760443560011c1561075757600080fd5b602060446101603760005061076c565b610b29565b601e541561077957600080fd5b6001601e55610140516101605161014051610180526101805160065801612aed565b610160526101405260005060006004351815610abc576000601560c052602060c020541415610180526007546101a052610180511561082f576101405161016051610180516101a051610140516101c0526101a0516101e052610160516102005260006102205261022051610200516101e0516101c051600658016122e4565b6101a0526101805261016052610140526000505b6101a0805160043581818301101561084657600080fd5b8082019050905081525060066101405160e05260c052604060c0205460043581818301101561087457600080fd5b808201905090506101c0526101c05160066101405160e05260c052604060c020556101a0516007556101405161016051610180516101a0516101c051610140516101e0526101c051610200526101a0516102205261022051610200516101e051600658016120b9565b6101c0526101a05261018052610160526101405260005060206102a060646323b872dd6101e05233610200523061022052600435610240526101fc60006002545af161092857600080fd5b601f3d1161093557600080fd5b6000506102a0506101805115610abc576000600460208206610240016020828401111561096157600080fd5b60166102606020840161012060006001818352015b82610120516020021115610989576109ab565b61012051850154610120516020028501525b8151600101808352811415610976575b5050505050818152809050905090508051602001806101e08284600060045af16109d457600080fd5b505060006101e08060200151600082518060209013156109f357600080fd5b8091901215610a0157600080fd5b806020036101000a82049050905090501815610abc5760006101e060048060208461024001018260208501600060045af1505080518201915050600435602082610240010152602081019050806102405261024090508051602001806102c08284600060045af1610a7157600080fd5b5050600060006102c0516102e0600060145474010000000000000000000000000000000000000000808206905090508060a01c15610aae57600080fd5b8090505af1610abc57600080fd5b60043561018052610140517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c6020610180a2600435610180526101405160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610180a36000601e55005b632e1a7d4d811415610b4057600061014052610b71565b6338d07436811415610b6c5760243560011c15610b5c57600080fd5b6020602461014037600050610b71565b610ef9565b601e5415610b7e57600080fd5b6001601e556101405133610160526101605160065801612aed565b6101405260005060006004351815610e92576000601560c052602060c02054141561016052600754610180526101605115610c1e57610140516101605161018051336101a052610180516101c052610140516101e052600061020052610200516101e0516101c0516101a051600658016122e4565b6101805261016052610140526000505b610180805160043580821015610c3357600080fd5b8082039050905081525060063360e05260c052604060c0205460043580821015610c5c57600080fd5b808203905090506101a0526101a05160063360e05260c052604060c02055610180516007556101405161016051610180516101a051336101c0526101a0516101e0526101805161020052610200516101e0516101c051600658016120b9565b6101a0526101805261016052610140526000506101605115610e4e5760046004602082066102200160208284011115610cf357600080fd5b60166102406020840161012060006001818352015b82610120516020021115610d1b57610d3d565b61012051850154610120516020028501525b8151600101808352811415610d08575b5050505050818152809050905090508051602001806101c08284600060045af1610d6657600080fd5b505060006101c0806020015160008251806020901315610d8557600080fd5b8091901215610d9357600080fd5b806020036101000a82049050905090501815610e4e5760006101c060048060208461022001018260208501600060045af1505080518201915050600435602082610220010152602081019050806102205261022090508051602001806102a08284600060045af1610e0357600080fd5b5050600060006102a0516102c0600060145474010000000000000000000000000000000000000000808206905090508060a01c15610e4057600080fd5b8090505af1610e4e57600080fd5b6020610260604463a9059cbb6101c052336101e052600435610200526101dc60006002545af1610e7d57600080fd5b601f3d11610e8a57600080fd5b600050610260505b60043561016052337f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243646020610160a2600435610160526000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610160a36000601e55005b63dd62ed3e811415610f4d5760043560a01c15610f1557600080fd5b60243560a01c15610f2557600080fd5b600860043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b63a9059cbb811415610fb657601e5415610f6657600080fd5b6001601e5560043560a01c15610f7b57600080fd5b33610140526004356101605260243561018052610180516101605161014051600658016130ea565b60005060016000526000601e5560206000f35b6323b872dd8114156110be57601e5415610fcf57600080fd5b6001601e5560043560a01c15610fe457600080fd5b60243560a01c15610ff457600080fd5b600860043560e05260c052604060c0203360e05260c052604060c02054610140527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61014051181561107957610140516044358082101561105457600080fd5b80820390509050600860043560e05260c052604060c0203360e05260c052604060c020555b6101405160043561016052602435610180526044356101a0526101a0516101805161016051600658016130ea565b6101405260005060016000526000601e5560206000f35b63095ea7b38114156111375760043560a01c156110da57600080fd5b60243560083360e05260c052604060c02060043560e05260c052604060c0205560243561014052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610140a3600160005260206000f35b63395093518114156111ec5760043560a01c1561115357600080fd5b60083360e05260c052604060c02060043560e05260c052604060c0205460243581818301101561118257600080fd5b80820190509050610140526101405160083360e05260c052604060c02060043560e05260c052604060c020556101405161016052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610160a3600160005260206000f35b63a457c2d781141561129f5760043560a01c1561120857600080fd5b60083360e05260c052604060c02060043560e05260c052604060c020546024358082101561123557600080fd5b80820390509050610140526101405160083360e05260c052604060c02060043560e05260c052604060c020556101405161016052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610160a3600160005260206000f35b6347d2d5d3811415611aca57601e54156112b857600080fd5b6001601e5560043560a01c156112cd57600080fd5b6000610120525b610120516044013560a01c156112e957600080fd5b6020610120510161012052610100610120511015611306576112d4565b601b54331461131457600080fd5b6002546101405260145474010000000000000000000000000000000000000000808206905090508060a01c1561134957600080fd5b80905061016052600754610180526000601560c052602060c0205418156113b95761014051610160516101805160006101a052610180516101c05260006101e052600061020052610200516101e0516101c0516101a051600658016122e4565b6101805261016052610140526000505b600061016051181561156357600460046020820661020001602082840111156113e157600080fd5b60166102206020840161012060006001818352015b826101205160200211156114095761142b565b61012051850154610120516020028501525b81516001018083528114156113f6575b5050505050818152809050905090508051602001806101a08284600060045af161145457600080fd5b505060006101a080602001516000825180602090131561147357600080fd5b809190121561148157600080fd5b806020036101000a8204905090509050181561156357600061018051181561151c5760006101a060048060208461020001018260208501600060045af150508051820191505061018051602082610200010152602081019050806102005261020090508051602001806102808284600060045af16114fe57600080fd5b505060006000610280516102a06000610160515af161151c57600080fd5b60206102a0604463095ea7b361020052610160516102205260006102405261021c6000610140515af161154e57600080fd5b601f3d1161155b57600080fd5b6000506102a0505b600060043518156119a85760006044351861157d57600080fd5b60006004353b1161158d57600080fd5b600060046020820661020001602082840111156115a957600080fd5b60246102206020840161012060006001818352015b826101205160200211156115d1576115f6565b61012051602002850135610120516020028501525b81516001018083528114156115be575b5050505050818152809050905090508051602001806101a08284600060045af161161f57600080fd5b50506004600460208206610260016020828401111561163d57600080fd5b60246102806020840161012060006001818352015b826101205160200211156116655761168a565b61012051602002850135610120516020028501525b8151600101808352811415611652575b5050505050818152809050905090508051602001806102008284600060045af16116b357600080fd5b505060006101a08060200151600082518060209013156116d257600080fd5b80919012156116e057600080fd5b806020036101000a82049050905090501815611965576000610180511861170657600080fd5b6020610300604463095ea7b361026052600435610280527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6102a05261027c6000610140515af161175657600080fd5b601f3d1161176357600080fd5b6000506103005060006101a060048060208461026001018260208501600060045af150508051820191505061018051602082610260010152602081019050806102605261026090508051602001806102e08284600060045af16117c557600080fd5b5050600060006102e05161030060006004355af16117e257600080fd5b60206102e060246370a0823161026052306102805261027c610140515afa61180957600080fd5b601f3d1161181657600080fd5b6000506102e0511561182757600080fd5b600061020060048060208461026001018260208501600060045af150508051820191505061018051602082610260010152602081019050806102605261026090508051602001806102e08284600060045af161188257600080fd5b5050600060006102e05161030060006004355af161189f57600080fd5b6101805160206102e060246370a0823161026052306102805261027c610140515afa6118ca57600080fd5b601f3d116118d757600080fd5b6000506102e051146118e857600080fd5b60006101a060048060208461026001018260208501600060045af150508051820191505061018051602082610260010152602081019050806102605261026090508051602001806102e08284600060045af161194357600080fd5b5050600060006102e05161030060006004355af161196057600080fd5b6119a8565b61020080602001516000825180602090131561198057600080fd5b809190121561198e57600080fd5b806020036101000a8204905090509050156119a857600080fd5b6004356014556024356016556101a060006008818352015b6101a051600881106119d157600080fd5b601560c052602060c02001546101c05260446101a051600881106119f457600080fd5b60200201356101e05260006101c0511815611a20576101e0516101c05114611a1b57600080fd5b611a57565b60006101e0511815611a52576101e0516101a05160088110611a4157600080fd5b601560c052602060c0200155611a57565b611a67565b81516001018083528114156119c0575b505060006004351815611ac35761014051610160516101805160006101a052610180516101c05260006101e052600061020052610200516101e0516101c0516101a051600658016122e4565b6101805261016052610140526000505b6000601e55005b6390b22997811415611afc5760043560011c15611ae657600080fd5b601b543314611af457600080fd5b600435601d55005b636b441a40811415611b5c5760043560a01c15611b1857600080fd5b601b543314611b2657600080fd5b600435601c55600435610140527f2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e96020610140a1005b63e5ea47b8811415611bb657601c5461014052610140513314611b7e57600080fd5b61014051601b5561014051610160527febee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a11891056020610160a1005b6307546172811415611bce5760005460005260206000f35b6376d8b117811415611be65760015460005260206000f35b6382c63066811415611bfe5760025460005260206000f35b63f77c4791811415611c165760035460005260206000f35b63dfe05031811415611c2e5760045460005260206000f35b63be5d1be9811415611c465760055460005260206000f35b6370a08231811415611c7c5760043560a01c15611c6257600080fd5b600660043560e05260c052604060c0205460005260206000f35b6318160ddd811415611c945760075460005260206000f35b6306fdde03811415611d395760098060c052602060c020610180602082540161012060006003818352015b82610120516020021115611cd257611cf4565b61012051850154610120516020028501525b8151600101808352811415611cbf575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6395d89b41811415611dde57600a8060c052602060c020610180602082540161012060006002818352015b82610120516020021115611d7757611d99565b61012051850154610120516020028501525b8151600101808352811415611d64575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6313ecb1ca811415611e145760043560a01c15611dfa57600080fd5b600b60043560e05260c052604060c0205460005260206000f35b6317e28089811415611e2c57600c5460005260206000f35b63ef78d4fd811415611e4457600d5460005260206000f35b637598108c811415611e81576004356c01431e0fae6d7217caa00000008110611e6c57600080fd5b600e60c052602060c020015460005260206000f35b63fec8ee0c811415611ebe576004356c01431e0fae6d7217caa00000008110611ea957600080fd5b600f60c052602060c020015460005260206000f35b63de263bfa811415611ef45760043560a01c15611eda57600080fd5b601060043560e05260c052604060c0205460005260206000f35b639bd324f2811415611f2a5760043560a01c15611f1057600080fd5b601160043560e05260c052604060c0205460005260206000f35b6309400707811415611f605760043560a01c15611f4657600080fd5b601260043560e05260c052604060c0205460005260206000f35b63180692d0811415611f785760135460005260206000f35b6354c49fe9811415611fa95760043560088110611f9457600080fd5b601560c052602060c020015460005260206000f35b6301ddabf1811415611fdf5760043560a01c15611fc557600080fd5b601760043560e05260c052604060c0205460005260206000f35b6373861fb38114156120155760043560a01c15611ffb57600080fd5b601860043560e05260c052604060c0205460005260206000f35b63f05cc0588114156120695760043560a01c1561203157600080fd5b60243560a01c1561204157600080fd5b601960043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b63f851a44081141561208157601b5460005260206000f35b6317f7182a81141561209957601c5460005260206000f35b639c868ac08114156120b157601d5460005260206000f35b505b60006000fd5b6101a0526101405261016052610180526004546101c052602061028060246370a0823161020052610140516102205261021c6101c0515afa6120fa57600080fd5b601f3d1161210757600080fd5b600050610280516101e052602061028060046318160ddd6102205261023c6101c0515afa61213457600080fd5b601f3d1161214157600080fd5b6000506102805161020052610160516028808202821582848304141761216657600080fd5b80905090509050606480820490509050610220526000610200511115612203576102208051610180516101e05180820282158284830414176121a757600080fd5b809050905090506102005180806121bd57600080fd5b820490509050603c80820282158284830414176121d957600080fd5b809050905090506064808204905090508181830110156121f857600080fd5b808201905090508152505b610160516102205180821115612219578061221b565b815b9050905061022052600b6101405160e05260c052604060c020546102405261022051600b6101405160e05260c052604060c02055600c546102205181818301101561226557600080fd5b80820190509050610240518082101561227d57600080fd5b808203905090506102605261026051600c556101405161028052610160516102a052610180516102c052610220516102e05261026051610300527f7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a360a0610280a16101a051565b6101c0526101405261016052610180526101a052610200366101e0376103e060006008818352015b6103e0516008811061231d57600080fd5b601560c052602060c02001546104005261040051151561233c57612395565b610400516101e06103e0516008811061235457600080fd5b602002015260186104005160e05260c052604060c020546102e06103e0516008811061237f57600080fd5b60200201525b815160010180835281141561230c575b50506014546103e05260006101605118156123e55760006103e05118156123dd576103e05160a01c610e108181830110156123cf57600080fd5b8082019050905042116123e0565b60005b6123e8565b60005b156126fb57610100366104003761050060006008818352015b610500516008811061241257600080fd5b601560c052602060c02001546105205261052051151561243157612496565b60206105c060246370a0823161054052306105605261055c610520515afa61245857600080fd5b601f3d1161246557600080fd5b6000506105c051610400610500516008811061248057600080fd5b60200201525b8151600101808352811415612401575b50506103e05174010000000000000000000000000000000000000000808206905090508060a01c156124c757600080fd5b80905061050052600860046020820661052001602082840111156124ea57600080fd5b60166105406020840161012060006001818352015b8261012051602002111561251257612534565b61012051850154610120516020028501525b81516001018083528114156124ff575b5050505050818152809050905090508051602001806105a08284600060045af161255d57600080fd5b5050600060006105a0516105c06000610500515af161257b57600080fd5b610500514260a01b81818301101561259257600080fd5b8082019050905060145561052060006008818352015b6101e061052051600881106125bc57600080fd5b6020020151610540526105405115156125d4576126f8565b670de0b6b3a7640000602061060060246370a0823161058052306105a05261059c610540515afa61260457600080fd5b601f3d1161261157600080fd5b60005061060051610400610520516008811061262c57600080fd5b60200201518082101561263e57600080fd5b80820390509050808202821582848304141761265957600080fd5b8090509050905061016051808061266f57600080fd5b8204905090506105605260006105605111156126e8576102e0610520516008811061269957600080fd5b602002018051610560518181830110156126b257600080fd5b808201905090508152506102e061052051600881106126d057600080fd5b602002015160186105405160e05260c052604060c020555b81516001018083528114156125a8575b50505b6000610140511815612ae75760066101405160e05260c052604060c02054610400526101a051610420526101805115612738576101a0511561273b565b60005b156127695760176101405160e05260c052604060c02054610420526104205115156127695761014051610420525b61044060006008818352015b6101e0610440516008811061278957600080fd5b6020020151610460526104605115156127a157612ae4565b6102e061044051600881106127b557600080fd5b60200201516104805260196104605160e05260c052604060c0206101405160e05260c052604060c020546104a052610480516104a05110156127f85760016127fe565b61016051155b15612ad4576104805160196104605160e05260c052604060c0206101405160e05260c052604060c02055601a6101405160e05260c052604060c0206104605160e05260c052604060c020546104c05261040051610480516104a0518082101561286657600080fd5b80820390509050808202821582848304141761288157600080fd5b80905090509050670de0b6b3a7640000808204905090506104e0526104c05170010000000000000000000000000000000080820690509050610500526104c05160801c6104e0518181830110156128d757600080fd5b808201905090506105205261018051156128f757600061052051116128fa565b60005b15612a8557600060046105a0527fa9059cbb000000000000000000000000000000000000000000000000000000006105c0526105a060048060208461060001018260208501600060045af15050805182019150506104205160208261060001015260208101905061052051602082610600010152602081019050806106005261060090508051602001806106a08284600060045af161299857600080fd5b505060206107606106a0516106c06000610460515af16129b757600080fd5b60203d808211156129c857806129ca565b815b90509050610740526107408051602001806105408284600060045af16129ef57600080fd5b50506000610540511815612a4157610540806020015160008251806020901315612a1857600080fd5b8091901215612a2657600080fd5b806020036101000a82049050905090501515612a4157600080fd5b6105005161052051818183011015612a5857600080fd5b80820190509050601a6101405160e05260c052604060c0206104605160e05260c052604060c02055612ad4565b60006104e0511115612ad457610500516105205160801b818183011015612aab57600080fd5b80820190509050601a6101405160e05260c052604060c0206104605160e05260c052604060c020555b8151600101808352811415612775575b50505b6101c051565b6101605261014052600d5461018052610180516c01431e0fae6d7217caa00000008110612b1957600080fd5b600e60c052602060c02001546101a052610180516c01431e0fae6d7217caa00000008110612b4657600080fd5b600f60c052602060c02001546101c0526013546101e0526101e05161020052600554610220526101a05161022051101515612bff576001546102405260206102c0600463b26b238e6102605261027c6000610240515af1612ba657600080fd5b601f3d11612bb357600080fd5b6000506102c05160055560206102c06004632c4e722e6102605261027c610240515afa612bdf57600080fd5b601f3d11612bec57600080fd5b6000506102c05161020052610200516013555b601d5415612c0e5760006101e0525b6101a051421115612f9557600c546102405260035461026052610260513b612c3557600080fd5b60006000602463615e523761028052306102a05261029c6000610260515af1612c5d57600080fd5b6101a051610280526101a05162093a80818183011015612c7c57600080fd5b8082019050905062093a808082049050905062093a808082028215828483041417612ca657600080fd5b809050905090504280821115612cbc5780612cbe565b815b905090506102a0526102c060006101f4818352015b6102a0516102805180821015612ce857600080fd5b808203905090506102e05260206103c0604463d3078c946103205230610340526102805162093a808082049050905062093a808082028215828483041417612d2f57600080fd5b809050905090506103605261033c610260515afa612d4c57600080fd5b601f3d11612d5957600080fd5b6000506103c051610300526000610240511115612f32576102805161022051101515612d8d576102a0516102205110612d90565b60005b15612ebc576101c080516101e051610300518082028215828483041417612db657600080fd5b80905090509050610220516102805180821015612dd257600080fd5b808203905090508082028215828483041417612ded57600080fd5b80905090509050610240518080612e0357600080fd5b820490509050818183011015612e1857600080fd5b80820190509050815250610200516101e0526101c080516101e051610300518082028215828483041417612e4b57600080fd5b809050905090506102a0516102205180821015612e6757600080fd5b808203905090508082028215828483041417612e8257600080fd5b80905090509050610240518080612e9857600080fd5b820490509050818183011015612ead57600080fd5b80820190509050815250612f32565b6101c080516101e051610300518082028215828483041417612edd57600080fd5b809050905090506102e0518082028215828483041417612efc57600080fd5b80905090509050610240518080612f1257600080fd5b820490509050818183011015612f2757600080fd5b808201905090508152505b426102a0511415612f4257612f92565b6102a051610280526102a05162093a80818183011015612f6157600080fd5b808201905090504280821115612f775780612f79565b815b905090506102a0525b8151600101808352811415612cd3575b50505b6101808051600180820180806000811215612fac57195b607f1c15612fb957600080fd5b90509050905081525061018051600d5542610180516c01431e0fae6d7217caa00000008110612fe757600080fd5b600e60c052602060c02001556101c051610180516c01431e0fae6d7217caa0000000811061301457600080fd5b600f60c052602060c0200155600b6101405160e05260c052604060c020546102405260126101405160e05260c052604060c0208054610240516101c05160106101405160e05260c052604060c020548082101561307057600080fd5b80820390509050808202821582848304141761308b57600080fd5b80905090509050670de0b6b3a7640000808204905090508181830110156130b157600080fd5b808201905090508155506101c05160106101405160e05260c052604060c020554260116101405160e05260c052604060c0205561016051565b6101a0526101405261016052610180526101405161016051610180516101a051610140516101c0526101c05160065801612aed565b6101a0526101805261016052610140526000506101405161016051610180516101a051610160516101c0526101c05160065801612aed565b6101a05261018052610160526101405260005060006101805118156133d7576007546101c0526000601560c052602060c0205414156101e0526101e05115613202576101405161016051610180516101a0516101c0516101e05161014051610200526101c0516102205260006102405260006102605261026051610240516102205161020051600658016122e4565b6101e0526101c0526101a0526101805261016052610140526000505b60066101405160e05260c052604060c02054610180518082101561322557600080fd5b80820390509050610200526102005160066101405160e05260c052604060c020556101405161016051610180516101a0516101c0516101e05161020051610140516102205261020051610240526101c05161026052610260516102405161022051600658016120b9565b610200526101e0526101c0526101a0526101805261016052610140526000506101e05115613328576101405161016051610180516101a0516101c0516101e0516102005161016051610220526101c0516102405260006102605260006102805261028051610260516102405161022051600658016122e4565b610200526101e0526101c0526101a0526101805261016052610140526000505b60066101605160e05260c052604060c020546101805181818301101561334d57600080fd5b80820190509050610200526102005160066101605160e05260c052604060c020556101405161016051610180516101a0516101c0516101e05161020051610160516102205261020051610240526101c05161026052610260516102405161022051600658016120b9565b610200526101e0526101c0526101a0526101805261016052610140526000505b610180516101c05261016051610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101c0a36101a051565b61040261381603610402600039610402613816036000f300000000000000000000000043b4fdfd4ff969587185cdb6f0bd875c5fc83f8c000000000000000000000000d061d61a4d941c39e5453435b6345dc261c2fce0000000000000000000000000edf2c58e16cc606da1977e79e1e69e79c54fe242

Deployed Bytecode

0x600436101561000d576120b3565b600035601c52600051341561002157600080fd5b63313ce56781141561003857601260005260206000f35b63d31f3f6d81141561007557600d546c01431e0fae6d7217caa0000000811061006057600080fd5b600e60c052602060c020015460005260206000f35b634b82009381141561010e5760043560a01c1561009157600080fd5b6004353314156100a25760016100a8565b60005433145b6100b157600080fd5b600435610140526101405160065801612aed565b60005060043561014052600660043560e05260c052604060c020546101605260075461018052610180516101605161014051600658016120b9565b600050600160005260206000f35b63331345838114156101b05760043560a01c1561012a57600080fd5b600435610140526101405160065801612aed565b600050601260043560e05260c052604060c0205460206101e06044638b752bb06101405260043561016052306101805261015c6000545afa61017f57600080fd5b601f3d1161018c57600080fd5b6000506101e051808210156101a057600080fd5b8082039050905060005260206000f35b63bf88a6ff8114156101f65760145474010000000000000000000000000000000000000000808206905090508060a01c156101ea57600080fd5b80905060005260206000f35b633488bd198114156102115760145460a01c60005260206000f35b63e77e743781141561027e5760043560a01c1561022d57600080fd5b60243560a01c1561023d57600080fd5b601a60043560e05260c052604060c02060243560e05260c052604060c020547001000000000000000000000000000000008082069050905060005260206000f35b6333fd6f748114156102d55760043560a01c1561029a57600080fd5b60243560a01c156102aa57600080fd5b601a60043560e05260c052604060c02060243560e05260c052604060c0205460801c60005260206000f35b6359b7e40981141561038d57601e54156102ee57600080fd5b6001601e5560043560a01c1561030357600080fd5b60243560a01c1561031357600080fd5b6000601560c052602060c02054181561035d57600435610140526007546101605260006101805260006101a0526101a051610180516101605161014051600658016122e4565b6000505b601a60043560e05260c052604060c02060243560e05260c052604060c0205460801c6000526000601e5560206000f35b63bdf981168114156103bd5760043560a01c156103a957600080fd5b60043560173360e05260c052604060c02055005b63e6f1daf28114156103d9573361014052600061016052610454565b6384e9bd7e81141561040b5760006101605260043560a01c156103fb57600080fd5b6020600461014037600050610454565b639faceb1b81141561044f5760043560a01c1561042757600080fd5b602060046101403760243560a01c1561043f57600080fd5b6020602461016037600050610454565b6104d1565b601e541561046157600080fd5b6001601e5560006101605118156104815733610140511461048157600080fd5b610140516101605161014051610180526007546101a05260016101c052610160516101e0526101e0516101c0516101a05161018051600658016122e4565b61016052610140526000506000601e55005b6396c551758114156106d55760043560a01c156104ed57600080fd5b60045461014052601160043560e05260c052604060c020546101605260206102e0604463da020a1861024052600435610260526020610220602463010ae7576101a0526004356101c0526101bc610140515afa61054957600080fd5b601f3d1161055657600080fd5b600050610220516102805261025c610140515afa61057357600080fd5b601f3d1161058057600080fd5b6000506102e05161018052600660043560e05260c052604060c020546101a05260206102e060246370a08231610260526004356102805261027c6004545afa6105c857600080fd5b601f3d116105d557600080fd5b6000506102e05115156105e95760016105f3565b6101605161018051115b6105fc57600080fd5b6101a0516028808202821582848304141761061657600080fd5b80905090509050606480820490509050600b60043560e05260c052604060c020541161064157600080fd5b6101405161016051610180516101a0516004356101c0526101c05160065801612aed565b6101a0526101805261016052610140526000506101405161016051610180516101a0516004356101c052600660043560e05260c052604060c020546101e05260075461020052610200516101e0516101c051600658016120b9565b6101a052610180526101605261014052600050005b63b6b55f258114156106f157336101405260006101605261076c565b636e553f658114156107235760006101605260243560a01c1561071357600080fd5b602060246101403760005061076c565b6383df67478114156107675760243560a01c1561073f57600080fd5b602060246101403760443560011c1561075757600080fd5b602060446101603760005061076c565b610b29565b601e541561077957600080fd5b6001601e55610140516101605161014051610180526101805160065801612aed565b610160526101405260005060006004351815610abc576000601560c052602060c020541415610180526007546101a052610180511561082f576101405161016051610180516101a051610140516101c0526101a0516101e052610160516102005260006102205261022051610200516101e0516101c051600658016122e4565b6101a0526101805261016052610140526000505b6101a0805160043581818301101561084657600080fd5b8082019050905081525060066101405160e05260c052604060c0205460043581818301101561087457600080fd5b808201905090506101c0526101c05160066101405160e05260c052604060c020556101a0516007556101405161016051610180516101a0516101c051610140516101e0526101c051610200526101a0516102205261022051610200516101e051600658016120b9565b6101c0526101a05261018052610160526101405260005060206102a060646323b872dd6101e05233610200523061022052600435610240526101fc60006002545af161092857600080fd5b601f3d1161093557600080fd5b6000506102a0506101805115610abc576000600460208206610240016020828401111561096157600080fd5b60166102606020840161012060006001818352015b82610120516020021115610989576109ab565b61012051850154610120516020028501525b8151600101808352811415610976575b5050505050818152809050905090508051602001806101e08284600060045af16109d457600080fd5b505060006101e08060200151600082518060209013156109f357600080fd5b8091901215610a0157600080fd5b806020036101000a82049050905090501815610abc5760006101e060048060208461024001018260208501600060045af1505080518201915050600435602082610240010152602081019050806102405261024090508051602001806102c08284600060045af1610a7157600080fd5b5050600060006102c0516102e0600060145474010000000000000000000000000000000000000000808206905090508060a01c15610aae57600080fd5b8090505af1610abc57600080fd5b60043561018052610140517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c6020610180a2600435610180526101405160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610180a36000601e55005b632e1a7d4d811415610b4057600061014052610b71565b6338d07436811415610b6c5760243560011c15610b5c57600080fd5b6020602461014037600050610b71565b610ef9565b601e5415610b7e57600080fd5b6001601e556101405133610160526101605160065801612aed565b6101405260005060006004351815610e92576000601560c052602060c02054141561016052600754610180526101605115610c1e57610140516101605161018051336101a052610180516101c052610140516101e052600061020052610200516101e0516101c0516101a051600658016122e4565b6101805261016052610140526000505b610180805160043580821015610c3357600080fd5b8082039050905081525060063360e05260c052604060c0205460043580821015610c5c57600080fd5b808203905090506101a0526101a05160063360e05260c052604060c02055610180516007556101405161016051610180516101a051336101c0526101a0516101e0526101805161020052610200516101e0516101c051600658016120b9565b6101a0526101805261016052610140526000506101605115610e4e5760046004602082066102200160208284011115610cf357600080fd5b60166102406020840161012060006001818352015b82610120516020021115610d1b57610d3d565b61012051850154610120516020028501525b8151600101808352811415610d08575b5050505050818152809050905090508051602001806101c08284600060045af1610d6657600080fd5b505060006101c0806020015160008251806020901315610d8557600080fd5b8091901215610d9357600080fd5b806020036101000a82049050905090501815610e4e5760006101c060048060208461022001018260208501600060045af1505080518201915050600435602082610220010152602081019050806102205261022090508051602001806102a08284600060045af1610e0357600080fd5b5050600060006102a0516102c0600060145474010000000000000000000000000000000000000000808206905090508060a01c15610e4057600080fd5b8090505af1610e4e57600080fd5b6020610260604463a9059cbb6101c052336101e052600435610200526101dc60006002545af1610e7d57600080fd5b601f3d11610e8a57600080fd5b600050610260505b60043561016052337f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243646020610160a2600435610160526000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020610160a36000601e55005b63dd62ed3e811415610f4d5760043560a01c15610f1557600080fd5b60243560a01c15610f2557600080fd5b600860043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b63a9059cbb811415610fb657601e5415610f6657600080fd5b6001601e5560043560a01c15610f7b57600080fd5b33610140526004356101605260243561018052610180516101605161014051600658016130ea565b60005060016000526000601e5560206000f35b6323b872dd8114156110be57601e5415610fcf57600080fd5b6001601e5560043560a01c15610fe457600080fd5b60243560a01c15610ff457600080fd5b600860043560e05260c052604060c0203360e05260c052604060c02054610140527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61014051181561107957610140516044358082101561105457600080fd5b80820390509050600860043560e05260c052604060c0203360e05260c052604060c020555b6101405160043561016052602435610180526044356101a0526101a0516101805161016051600658016130ea565b6101405260005060016000526000601e5560206000f35b63095ea7b38114156111375760043560a01c156110da57600080fd5b60243560083360e05260c052604060c02060043560e05260c052604060c0205560243561014052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610140a3600160005260206000f35b63395093518114156111ec5760043560a01c1561115357600080fd5b60083360e05260c052604060c02060043560e05260c052604060c0205460243581818301101561118257600080fd5b80820190509050610140526101405160083360e05260c052604060c02060043560e05260c052604060c020556101405161016052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610160a3600160005260206000f35b63a457c2d781141561129f5760043560a01c1561120857600080fd5b60083360e05260c052604060c02060043560e05260c052604060c020546024358082101561123557600080fd5b80820390509050610140526101405160083360e05260c052604060c02060043560e05260c052604060c020556101405161016052600435337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256020610160a3600160005260206000f35b6347d2d5d3811415611aca57601e54156112b857600080fd5b6001601e5560043560a01c156112cd57600080fd5b6000610120525b610120516044013560a01c156112e957600080fd5b6020610120510161012052610100610120511015611306576112d4565b601b54331461131457600080fd5b6002546101405260145474010000000000000000000000000000000000000000808206905090508060a01c1561134957600080fd5b80905061016052600754610180526000601560c052602060c0205418156113b95761014051610160516101805160006101a052610180516101c05260006101e052600061020052610200516101e0516101c0516101a051600658016122e4565b6101805261016052610140526000505b600061016051181561156357600460046020820661020001602082840111156113e157600080fd5b60166102206020840161012060006001818352015b826101205160200211156114095761142b565b61012051850154610120516020028501525b81516001018083528114156113f6575b5050505050818152809050905090508051602001806101a08284600060045af161145457600080fd5b505060006101a080602001516000825180602090131561147357600080fd5b809190121561148157600080fd5b806020036101000a8204905090509050181561156357600061018051181561151c5760006101a060048060208461020001018260208501600060045af150508051820191505061018051602082610200010152602081019050806102005261020090508051602001806102808284600060045af16114fe57600080fd5b505060006000610280516102a06000610160515af161151c57600080fd5b60206102a0604463095ea7b361020052610160516102205260006102405261021c6000610140515af161154e57600080fd5b601f3d1161155b57600080fd5b6000506102a0505b600060043518156119a85760006044351861157d57600080fd5b60006004353b1161158d57600080fd5b600060046020820661020001602082840111156115a957600080fd5b60246102206020840161012060006001818352015b826101205160200211156115d1576115f6565b61012051602002850135610120516020028501525b81516001018083528114156115be575b5050505050818152809050905090508051602001806101a08284600060045af161161f57600080fd5b50506004600460208206610260016020828401111561163d57600080fd5b60246102806020840161012060006001818352015b826101205160200211156116655761168a565b61012051602002850135610120516020028501525b8151600101808352811415611652575b5050505050818152809050905090508051602001806102008284600060045af16116b357600080fd5b505060006101a08060200151600082518060209013156116d257600080fd5b80919012156116e057600080fd5b806020036101000a82049050905090501815611965576000610180511861170657600080fd5b6020610300604463095ea7b361026052600435610280527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6102a05261027c6000610140515af161175657600080fd5b601f3d1161176357600080fd5b6000506103005060006101a060048060208461026001018260208501600060045af150508051820191505061018051602082610260010152602081019050806102605261026090508051602001806102e08284600060045af16117c557600080fd5b5050600060006102e05161030060006004355af16117e257600080fd5b60206102e060246370a0823161026052306102805261027c610140515afa61180957600080fd5b601f3d1161181657600080fd5b6000506102e0511561182757600080fd5b600061020060048060208461026001018260208501600060045af150508051820191505061018051602082610260010152602081019050806102605261026090508051602001806102e08284600060045af161188257600080fd5b5050600060006102e05161030060006004355af161189f57600080fd5b6101805160206102e060246370a0823161026052306102805261027c610140515afa6118ca57600080fd5b601f3d116118d757600080fd5b6000506102e051146118e857600080fd5b60006101a060048060208461026001018260208501600060045af150508051820191505061018051602082610260010152602081019050806102605261026090508051602001806102e08284600060045af161194357600080fd5b5050600060006102e05161030060006004355af161196057600080fd5b6119a8565b61020080602001516000825180602090131561198057600080fd5b809190121561198e57600080fd5b806020036101000a8204905090509050156119a857600080fd5b6004356014556024356016556101a060006008818352015b6101a051600881106119d157600080fd5b601560c052602060c02001546101c05260446101a051600881106119f457600080fd5b60200201356101e05260006101c0511815611a20576101e0516101c05114611a1b57600080fd5b611a57565b60006101e0511815611a52576101e0516101a05160088110611a4157600080fd5b601560c052602060c0200155611a57565b611a67565b81516001018083528114156119c0575b505060006004351815611ac35761014051610160516101805160006101a052610180516101c05260006101e052600061020052610200516101e0516101c0516101a051600658016122e4565b6101805261016052610140526000505b6000601e55005b6390b22997811415611afc5760043560011c15611ae657600080fd5b601b543314611af457600080fd5b600435601d55005b636b441a40811415611b5c5760043560a01c15611b1857600080fd5b601b543314611b2657600080fd5b600435601c55600435610140527f2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e96020610140a1005b63e5ea47b8811415611bb657601c5461014052610140513314611b7e57600080fd5b61014051601b5561014051610160527febee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a11891056020610160a1005b6307546172811415611bce5760005460005260206000f35b6376d8b117811415611be65760015460005260206000f35b6382c63066811415611bfe5760025460005260206000f35b63f77c4791811415611c165760035460005260206000f35b63dfe05031811415611c2e5760045460005260206000f35b63be5d1be9811415611c465760055460005260206000f35b6370a08231811415611c7c5760043560a01c15611c6257600080fd5b600660043560e05260c052604060c0205460005260206000f35b6318160ddd811415611c945760075460005260206000f35b6306fdde03811415611d395760098060c052602060c020610180602082540161012060006003818352015b82610120516020021115611cd257611cf4565b61012051850154610120516020028501525b8151600101808352811415611cbf575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6395d89b41811415611dde57600a8060c052602060c020610180602082540161012060006002818352015b82610120516020021115611d7757611d99565b61012051850154610120516020028501525b8151600101808352811415611d64575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6313ecb1ca811415611e145760043560a01c15611dfa57600080fd5b600b60043560e05260c052604060c0205460005260206000f35b6317e28089811415611e2c57600c5460005260206000f35b63ef78d4fd811415611e4457600d5460005260206000f35b637598108c811415611e81576004356c01431e0fae6d7217caa00000008110611e6c57600080fd5b600e60c052602060c020015460005260206000f35b63fec8ee0c811415611ebe576004356c01431e0fae6d7217caa00000008110611ea957600080fd5b600f60c052602060c020015460005260206000f35b63de263bfa811415611ef45760043560a01c15611eda57600080fd5b601060043560e05260c052604060c0205460005260206000f35b639bd324f2811415611f2a5760043560a01c15611f1057600080fd5b601160043560e05260c052604060c0205460005260206000f35b6309400707811415611f605760043560a01c15611f4657600080fd5b601260043560e05260c052604060c0205460005260206000f35b63180692d0811415611f785760135460005260206000f35b6354c49fe9811415611fa95760043560088110611f9457600080fd5b601560c052602060c020015460005260206000f35b6301ddabf1811415611fdf5760043560a01c15611fc557600080fd5b601760043560e05260c052604060c0205460005260206000f35b6373861fb38114156120155760043560a01c15611ffb57600080fd5b601860043560e05260c052604060c0205460005260206000f35b63f05cc0588114156120695760043560a01c1561203157600080fd5b60243560a01c1561204157600080fd5b601960043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b63f851a44081141561208157601b5460005260206000f35b6317f7182a81141561209957601c5460005260206000f35b639c868ac08114156120b157601d5460005260206000f35b505b60006000fd5b6101a0526101405261016052610180526004546101c052602061028060246370a0823161020052610140516102205261021c6101c0515afa6120fa57600080fd5b601f3d1161210757600080fd5b600050610280516101e052602061028060046318160ddd6102205261023c6101c0515afa61213457600080fd5b601f3d1161214157600080fd5b6000506102805161020052610160516028808202821582848304141761216657600080fd5b80905090509050606480820490509050610220526000610200511115612203576102208051610180516101e05180820282158284830414176121a757600080fd5b809050905090506102005180806121bd57600080fd5b820490509050603c80820282158284830414176121d957600080fd5b809050905090506064808204905090508181830110156121f857600080fd5b808201905090508152505b610160516102205180821115612219578061221b565b815b9050905061022052600b6101405160e05260c052604060c020546102405261022051600b6101405160e05260c052604060c02055600c546102205181818301101561226557600080fd5b80820190509050610240518082101561227d57600080fd5b808203905090506102605261026051600c556101405161028052610160516102a052610180516102c052610220516102e05261026051610300527f7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a360a0610280a16101a051565b6101c0526101405261016052610180526101a052610200366101e0376103e060006008818352015b6103e0516008811061231d57600080fd5b601560c052602060c02001546104005261040051151561233c57612395565b610400516101e06103e0516008811061235457600080fd5b602002015260186104005160e05260c052604060c020546102e06103e0516008811061237f57600080fd5b60200201525b815160010180835281141561230c575b50506014546103e05260006101605118156123e55760006103e05118156123dd576103e05160a01c610e108181830110156123cf57600080fd5b8082019050905042116123e0565b60005b6123e8565b60005b156126fb57610100366104003761050060006008818352015b610500516008811061241257600080fd5b601560c052602060c02001546105205261052051151561243157612496565b60206105c060246370a0823161054052306105605261055c610520515afa61245857600080fd5b601f3d1161246557600080fd5b6000506105c051610400610500516008811061248057600080fd5b60200201525b8151600101808352811415612401575b50506103e05174010000000000000000000000000000000000000000808206905090508060a01c156124c757600080fd5b80905061050052600860046020820661052001602082840111156124ea57600080fd5b60166105406020840161012060006001818352015b8261012051602002111561251257612534565b61012051850154610120516020028501525b81516001018083528114156124ff575b5050505050818152809050905090508051602001806105a08284600060045af161255d57600080fd5b5050600060006105a0516105c06000610500515af161257b57600080fd5b610500514260a01b81818301101561259257600080fd5b8082019050905060145561052060006008818352015b6101e061052051600881106125bc57600080fd5b6020020151610540526105405115156125d4576126f8565b670de0b6b3a7640000602061060060246370a0823161058052306105a05261059c610540515afa61260457600080fd5b601f3d1161261157600080fd5b60005061060051610400610520516008811061262c57600080fd5b60200201518082101561263e57600080fd5b80820390509050808202821582848304141761265957600080fd5b8090509050905061016051808061266f57600080fd5b8204905090506105605260006105605111156126e8576102e0610520516008811061269957600080fd5b602002018051610560518181830110156126b257600080fd5b808201905090508152506102e061052051600881106126d057600080fd5b602002015160186105405160e05260c052604060c020555b81516001018083528114156125a8575b50505b6000610140511815612ae75760066101405160e05260c052604060c02054610400526101a051610420526101805115612738576101a0511561273b565b60005b156127695760176101405160e05260c052604060c02054610420526104205115156127695761014051610420525b61044060006008818352015b6101e0610440516008811061278957600080fd5b6020020151610460526104605115156127a157612ae4565b6102e061044051600881106127b557600080fd5b60200201516104805260196104605160e05260c052604060c0206101405160e05260c052604060c020546104a052610480516104a05110156127f85760016127fe565b61016051155b15612ad4576104805160196104605160e05260c052604060c0206101405160e05260c052604060c02055601a6101405160e05260c052604060c0206104605160e05260c052604060c020546104c05261040051610480516104a0518082101561286657600080fd5b80820390509050808202821582848304141761288157600080fd5b80905090509050670de0b6b3a7640000808204905090506104e0526104c05170010000000000000000000000000000000080820690509050610500526104c05160801c6104e0518181830110156128d757600080fd5b808201905090506105205261018051156128f757600061052051116128fa565b60005b15612a8557600060046105a0527fa9059cbb000000000000000000000000000000000000000000000000000000006105c0526105a060048060208461060001018260208501600060045af15050805182019150506104205160208261060001015260208101905061052051602082610600010152602081019050806106005261060090508051602001806106a08284600060045af161299857600080fd5b505060206107606106a0516106c06000610460515af16129b757600080fd5b60203d808211156129c857806129ca565b815b90509050610740526107408051602001806105408284600060045af16129ef57600080fd5b50506000610540511815612a4157610540806020015160008251806020901315612a1857600080fd5b8091901215612a2657600080fd5b806020036101000a82049050905090501515612a4157600080fd5b6105005161052051818183011015612a5857600080fd5b80820190509050601a6101405160e05260c052604060c0206104605160e05260c052604060c02055612ad4565b60006104e0511115612ad457610500516105205160801b818183011015612aab57600080fd5b80820190509050601a6101405160e05260c052604060c0206104605160e05260c052604060c020555b8151600101808352811415612775575b50505b6101c051565b6101605261014052600d5461018052610180516c01431e0fae6d7217caa00000008110612b1957600080fd5b600e60c052602060c02001546101a052610180516c01431e0fae6d7217caa00000008110612b4657600080fd5b600f60c052602060c02001546101c0526013546101e0526101e05161020052600554610220526101a05161022051101515612bff576001546102405260206102c0600463b26b238e6102605261027c6000610240515af1612ba657600080fd5b601f3d11612bb357600080fd5b6000506102c05160055560206102c06004632c4e722e6102605261027c610240515afa612bdf57600080fd5b601f3d11612bec57600080fd5b6000506102c05161020052610200516013555b601d5415612c0e5760006101e0525b6101a051421115612f9557600c546102405260035461026052610260513b612c3557600080fd5b60006000602463615e523761028052306102a05261029c6000610260515af1612c5d57600080fd5b6101a051610280526101a05162093a80818183011015612c7c57600080fd5b8082019050905062093a808082049050905062093a808082028215828483041417612ca657600080fd5b809050905090504280821115612cbc5780612cbe565b815b905090506102a0526102c060006101f4818352015b6102a0516102805180821015612ce857600080fd5b808203905090506102e05260206103c0604463d3078c946103205230610340526102805162093a808082049050905062093a808082028215828483041417612d2f57600080fd5b809050905090506103605261033c610260515afa612d4c57600080fd5b601f3d11612d5957600080fd5b6000506103c051610300526000610240511115612f32576102805161022051101515612d8d576102a0516102205110612d90565b60005b15612ebc576101c080516101e051610300518082028215828483041417612db657600080fd5b80905090509050610220516102805180821015612dd257600080fd5b808203905090508082028215828483041417612ded57600080fd5b80905090509050610240518080612e0357600080fd5b820490509050818183011015612e1857600080fd5b80820190509050815250610200516101e0526101c080516101e051610300518082028215828483041417612e4b57600080fd5b809050905090506102a0516102205180821015612e6757600080fd5b808203905090508082028215828483041417612e8257600080fd5b80905090509050610240518080612e9857600080fd5b820490509050818183011015612ead57600080fd5b80820190509050815250612f32565b6101c080516101e051610300518082028215828483041417612edd57600080fd5b809050905090506102e0518082028215828483041417612efc57600080fd5b80905090509050610240518080612f1257600080fd5b820490509050818183011015612f2757600080fd5b808201905090508152505b426102a0511415612f4257612f92565b6102a051610280526102a05162093a80818183011015612f6157600080fd5b808201905090504280821115612f775780612f79565b815b905090506102a0525b8151600101808352811415612cd3575b50505b6101808051600180820180806000811215612fac57195b607f1c15612fb957600080fd5b90509050905081525061018051600d5542610180516c01431e0fae6d7217caa00000008110612fe757600080fd5b600e60c052602060c02001556101c051610180516c01431e0fae6d7217caa0000000811061301457600080fd5b600f60c052602060c0200155600b6101405160e05260c052604060c020546102405260126101405160e05260c052604060c0208054610240516101c05160106101405160e05260c052604060c020548082101561307057600080fd5b80820390509050808202821582848304141761308b57600080fd5b80905090509050670de0b6b3a7640000808204905090508181830110156130b157600080fd5b808201905090508155506101c05160106101405160e05260c052604060c020554260116101405160e05260c052604060c0205561016051565b6101a0526101405261016052610180526101405161016051610180516101a051610140516101c0526101c05160065801612aed565b6101a0526101805261016052610140526000506101405161016051610180516101a051610160516101c0526101c05160065801612aed565b6101a05261018052610160526101405260005060006101805118156133d7576007546101c0526000601560c052602060c0205414156101e0526101e05115613202576101405161016051610180516101a0516101c0516101e05161014051610200526101c0516102205260006102405260006102605261026051610240516102205161020051600658016122e4565b6101e0526101c0526101a0526101805261016052610140526000505b60066101405160e05260c052604060c02054610180518082101561322557600080fd5b80820390509050610200526102005160066101405160e05260c052604060c020556101405161016051610180516101a0516101c0516101e05161020051610140516102205261020051610240526101c05161026052610260516102405161022051600658016120b9565b610200526101e0526101c0526101a0526101805261016052610140526000506101e05115613328576101405161016051610180516101a0516101c0516101e0516102005161016051610220526101c0516102405260006102605260006102805261028051610260516102405161022051600658016122e4565b610200526101e0526101c0526101a0526101805261016052610140526000505b60066101605160e05260c052604060c020546101805181818301101561334d57600080fd5b80820190509050610200526102005160066101605160e05260c052604060c020556101405161016051610180516101a0516101c0516101e05161020051610160516102205261020051610240526101c05161026052610260516102405161022051600658016120b9565b610200526101e0526101c0526101a0526101805261016052610140526000505b610180516101c05261016051610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60206101c0a36101a05156

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

00000000000000000000000043b4fdfd4ff969587185cdb6f0bd875c5fc83f8c000000000000000000000000d061d61a4d941c39e5453435b6345dc261c2fce0000000000000000000000000edf2c58e16cc606da1977e79e1e69e79c54fe242

-----Decoded View---------------
Arg [0] : _lp_token (address): 0x43b4FdFD4Ff969587185cDB6f0BD875c5Fc83f8c
Arg [1] : _minter (address): 0xd061D61a4d941c39E5453435B6345Dc261C2fcE0
Arg [2] : _admin (address): 0xEdf2C58E16Cc606Da1977e79E1e69e79C54fe242

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000043b4fdfd4ff969587185cdb6f0bd875c5fc83f8c
Arg [1] : 000000000000000000000000d061d61a4d941c39e5453435b6345dc261c2fce0
Arg [2] : 000000000000000000000000edf2c58e16cc606da1977e79e1e69e79c54fe242


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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