ETH Price: $3,315.21 (-3.46%)
Gas: 19 Gwei

Token

Curve.fi abcCVX Gauge Deposit (abcCVX-gauge)
 

Overview

Max Total Supply

315,651.081394978508402732 abcCVX-gauge

Holders

198

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
2,092.206688024679800682 abcCVX-gauge

Value
$0.00
0x6e868846b2182235c16fd122fcd44739e55a58e4
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xb926f156...DC896fdcB
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Vyper_contract

Compiler Version
vyper:0.3.1

Optimization Enabled:
N/A

Other Settings:
MIT license
# @version 0.3.1
"""
@title Liquidity Gauge v3
@author Curve Finance
@license MIT
"""

# Original idea and credit:
# Curve Finance's Liquidity Gauge V3
# https://resources.curve.fi/base-features/understanding-gauges
# https://github.com/curvefi/curve-dao-contracts/blob/master/contracts/gauges/LiquidityGaugeV3.vy
# This contract is an almost-identical fork of Curve's contract
# veCLEV is used instead of veCRV.

from vyper.interfaces import ERC20

implements: ERC20


interface CLEV20:
    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)
allowance: public(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 = CLEV20(crv_token).rate()
    self.future_epoch_time = CLEV20(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 CLEV token per-user.
            Effectively it calculates working balances to apply amplification
            of CLEV production by CLEV
    @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:

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

        # calculate new user reward integral and transfer any owed rewards
        user_balance: uint256 = self.balanceOf[_user]
        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]
            new_claimable: uint256 = 0
            if integral_for < integral:
                self.reward_integral_for[token][_user] = integral
                new_claimable = user_balance * (integral - integral_for) / 10**18

            claim_data: uint256 = self.claim_data[_user][token]
            total_claimable: uint256 = shift(claim_data, -128) + new_claimable
            if total_claimable > 0:
                total_claimed: uint256 = claim_data % 2 ** 128
                if _claim:
                    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)
                    # update amount claimed (lower order bytes)
                    self.claim_data[_user][token] = total_claimed + total_claimable
                elif new_claimable > 0:
                    # update total_claimable (higher order bytes)
                    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 = CLEV20(_token).future_epoch_time_write()
        new_rate = CLEV20(_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-CLEV 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(_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:
            reward_data: uint256 = self.reward_data
            if reward_data > 0:
                deposit_sig: Bytes[4] = slice(self.reward_sigs, 0, 4)
                if convert(deposit_sig, uint256) != 0:
                    raw_call(
                        convert(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:
            reward_data: uint256 = self.reward_data
            if reward_data > 0:
                withdraw_sig: Bytes[4] = slice(self.reward_sigs, 4, 4)
                if convert(withdraw_sig, uint256) != 0:
                    raw_call(
                        convert(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)


@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.allowance[_from][msg.sender]
    if _allowance != MAX_UINT256:
        self.allowance[_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.allowance[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.allowance[msg.sender][_spender] + _added_value
    self.allowance[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.allowance[msg.sender][_spender] - _subtracted_value
    self.allowance[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 CLEV
    @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":360},{"stateMutability":"view","type":"function","name":"integrate_checkpoint","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":4632},{"stateMutability":"nonpayable","type":"function","name":"user_checkpoint","inputs":[{"name":"addr","type":"address"}],"outputs":[{"name":"","type":"bool"}],"gas":2813315},{"stateMutability":"nonpayable","type":"function","name":"claimable_tokens","inputs":[{"name":"addr","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":2727924},{"stateMutability":"view","type":"function","name":"reward_contract","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":2746},{"stateMutability":"view","type":"function","name":"last_claim","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":2616},{"stateMutability":"view","type":"function","name":"claimed_reward","inputs":[{"name":"_addr","type":"address"},{"name":"_token","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3202},{"stateMutability":"view","type":"function","name":"claimable_reward","inputs":[{"name":"_addr","type":"address"},{"name":"_token","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3208},{"stateMutability":"nonpayable","type":"function","name":"claimable_reward_write","inputs":[{"name":"_addr","type":"address"},{"name":"_token","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":1164346},{"stateMutability":"nonpayable","type":"function","name":"set_rewards_receiver","inputs":[{"name":"_receiver","type":"address"}],"outputs":[],"gas":35790},{"stateMutability":"nonpayable","type":"function","name":"claim_rewards","inputs":[],"outputs":[],"gas":1160262},{"stateMutability":"nonpayable","type":"function","name":"claim_rewards","inputs":[{"name":"_addr","type":"address"}],"outputs":[],"gas":1160262},{"stateMutability":"nonpayable","type":"function","name":"claim_rewards","inputs":[{"name":"_addr","type":"address"},{"name":"_receiver","type":"address"}],"outputs":[],"gas":1160262},{"stateMutability":"nonpayable","type":"function","name":"kick","inputs":[{"name":"addr","type":"address"}],"outputs":[],"gas":2827677},{"stateMutability":"nonpayable","type":"function","name":"deposit","inputs":[{"name":"_value","type":"uint256"}],"outputs":[],"gas":4063549},{"stateMutability":"nonpayable","type":"function","name":"deposit","inputs":[{"name":"_value","type":"uint256"},{"name":"_addr","type":"address"}],"outputs":[],"gas":4063549},{"stateMutability":"nonpayable","type":"function","name":"deposit","inputs":[{"name":"_value","type":"uint256"},{"name":"_addr","type":"address"},{"name":"_claim_rewards","type":"bool"}],"outputs":[],"gas":4063549},{"stateMutability":"nonpayable","type":"function","name":"withdraw","inputs":[{"name":"_value","type":"uint256"}],"outputs":[],"gas":4063157},{"stateMutability":"nonpayable","type":"function","name":"withdraw","inputs":[{"name":"_value","type":"uint256"},{"name":"_claim_rewards","type":"bool"}],"outputs":[],"gas":4063157},{"stateMutability":"nonpayable","type":"function","name":"transfer","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":7953068},{"stateMutability":"nonpayable","type":"function","name":"transferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":7991049},{"stateMutability":"nonpayable","type":"function","name":"approve","inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":39571},{"stateMutability":"nonpayable","type":"function","name":"increaseAllowance","inputs":[{"name":"_spender","type":"address"},{"name":"_added_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":42101},{"stateMutability":"nonpayable","type":"function","name":"decreaseAllowance","inputs":[{"name":"_spender","type":"address"},{"name":"_subtracted_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}],"gas":42127},{"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":2680499},{"stateMutability":"nonpayable","type":"function","name":"set_killed","inputs":[{"name":"_is_killed","type":"bool"}],"outputs":[],"gas":38205},{"stateMutability":"nonpayable","type":"function","name":"commit_transfer_ownership","inputs":[{"name":"addr","type":"address"}],"outputs":[],"gas":40075},{"stateMutability":"nonpayable","type":"function","name":"accept_transfer_ownership","inputs":[],"outputs":[],"gas":39969},{"stateMutability":"view","type":"function","name":"minter","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3150},{"stateMutability":"view","type":"function","name":"crv_token","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3180},{"stateMutability":"view","type":"function","name":"lp_token","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3210},{"stateMutability":"view","type":"function","name":"controller","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3240},{"stateMutability":"view","type":"function","name":"voting_escrow","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3270},{"stateMutability":"view","type":"function","name":"future_epoch_time","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3300},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3596},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3360},{"stateMutability":"view","type":"function","name":"allowance","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3922},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":13709},{"stateMutability":"view","type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":11468},{"stateMutability":"view","type":"function","name":"working_balances","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3746},{"stateMutability":"view","type":"function","name":"working_supply","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3510},{"stateMutability":"view","type":"function","name":"period","inputs":[],"outputs":[{"name":"","type":"int128"}],"gas":3540},{"stateMutability":"view","type":"function","name":"period_timestamp","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":3615},{"stateMutability":"view","type":"function","name":"integrate_inv_supply","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":3645},{"stateMutability":"view","type":"function","name":"integrate_inv_supply_of","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3896},{"stateMutability":"view","type":"function","name":"integrate_checkpoint_of","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3926},{"stateMutability":"view","type":"function","name":"integrate_fraction","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3956},{"stateMutability":"view","type":"function","name":"inflation_rate","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3720},{"stateMutability":"view","type":"function","name":"reward_tokens","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}],"gas":3795},{"stateMutability":"view","type":"function","name":"rewards_receiver","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"address"}],"gas":4046},{"stateMutability":"view","type":"function","name":"reward_integral","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":4076},{"stateMutability":"view","type":"function","name":"reward_integral_for","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":4372},{"stateMutability":"view","type":"function","name":"admin","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3870},{"stateMutability":"view","type":"function","name":"future_admin","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3900},{"stateMutability":"view","type":"function","name":"is_killed","inputs":[],"outputs":[{"name":"","type":"bool"}],"gas":3930}]

60206131d76080396080518060a01c6131d25760e052602060206131d7016080396080518060a01c6131d25761010052602060406131d7016080396080518060a01c6131d257610120526395d89b41610180526060610180600461019c60e0515afa610070573d600060003e3d6000fd5b603f3d11156131d2576101805161018001601a8151116131d25780805160200180610140828460045afa90509050505060006009610180527f43757276652e66692000000000000000000000000000000000000000000000006101a0526101806009806020846102000101826020850160045afa505080518201915050610140601a806020846102000101826020850160045afa505080518201915050600e6101c0527f204761756765204465706f7369740000000000000000000000000000000000006101e0526101c0600e806020846102000101826020850160045afa5050805182019150508061020052610200905080600a602082510160c060006003818352015b8260c0516020021115610187576101a6565b60c05160200285015160c0518501558151600101808352811415610175575b5050505050506000610140601a806020846101c00101826020850160045afa5050805182019150506006610180527f2d676175676500000000000000000000000000000000000000000000000000006101a0526101806006806020846101c00101826020850160045afa505080518201915050806101c0526101c0905080600d602082510160c060006002818352015b8260c051602002111561024857610267565b60c05160200285015160c0518501558151600101808352811415610236575b50505050505063fc0c546a6101a05260206101a060046101bc610100515afa610295573d600060003e3d6000fd5b601f3d11156131d2576101a0518060a01c6131d2576101805263f77c47916101c05260206101c060046101dc610100515afa6102d6573d600060003e3d6000fd5b601f3d11156131d2576101c0518060a01c6131d2576101a05260e05160035561010051600155610120516c02863c1f5cdae420000000002455610180516002556101a05160045563dfe050316101c05260206101c060046101dc6101a0515afa610345573d600060003e3d6000fd5b601f3d11156131d2576101c0518060a01c6131d25760055542601255632c4e722e6101c05260206101c060046101dc610180515afa610389573d600060003e3d6000fd5b601f3d11156131d2576101c0516c02863c1f5cdae42000000000155563b26b238e6101c05260206101c060046101dc6000610180515af16103cf573d600060003e3d6000fd5b601f3d11156131d2576101c0516006556131ba56600436101561000d57611d50565b60046000601c3760005134612dd15763313ce567811861003257601260e052602060e0f35b63d31f3f6d81186100655760016011546c01431e0fae6d7217caa0000000811015612dd157026012015460e052602060e0f35b634b82009381186100e3576004358060a01c612dd15761030052610300513318610090576001610096565b60015433145b15612dd1576103005160e0526100aa6126a8565b6103005160e05260076103005160a05260805260406080205461010052600854610120526100d6611d56565b6001610320526020610320f35b63331345838118610184576004358060a01c612dd157610300526103005160e05261010c6126a8565b6c02863c1f5cdae42000000000146103005160a052608052604060802054638b752bb061032052610300516103405230610360526020610320604461033c6001545afa61015e573d600060003e3d6000fd5b601f3d1115612dd15761032051808210612dd15780820390509050610380526020610380f35b63bf88a6ff81186101cc576c02863c1f5cdae42000000000165474010000000000000000000000000000000000000000808206905090508060a01c612dd15760e052602060e0f35b633488bd1981186101f2576c02863c1f5cdae42000000000165460a01c60e052602060e0f35b63e77e7437811861026a576004358060a01c612dd15760e0526024358060a01c612dd157610100526c02863c1f5cdae420000000002360e05160a05260805260406080206101005160a05260805260406080205470010000000000000000000000000000000080820690509050610120526020610120f35b6333fd6f7481186102cc576004358060a01c612dd15760e0526024358060a01c612dd157610100526c02863c1f5cdae420000000002360e05160a05260805260406080206101005160a05260805260406080205460801c610120526020610120f35b6359b7e4098118610379576004358060a01c612dd157610600526024358060a01c612dd15761062052600054612dd157600160005560006c02863c1f5cdae42000000000175414610339576106005160e05260085461010052600061012052600061014052610339611f3b565b6c02863c1f5cdae42000000000236106005160a05260805260406080206106205160a05260805260406080205460801c6106405260206106406000600055f35b63bdf9811681186103b2576004358060a01c612dd15760e05260e0516c02863c1f5cdae42000000000203360a052608052604060802055005b63e6f1daf281186103cd57336106005260006106205261041c565b6384e9bd7e81186103f2576004358060a01c612dd1576106005260006106205261041c565b639faceb1b8118610469576004358060a01c612dd157610600526024358060a01c612dd157610620525b600054612dd15760016000556000610620511461043e57336106005118612dd1575b6106005160e052600854610100526001610120526106205161014052610462611f3b565b6000600055005b6396c551758118610614576004358060a01c612dd15761030052600554610320526c02863c1f5cdae42000000000136103005160a0526080526040608020546103405263da020a186103c052610300516103e05263010ae75761038052610300516103a0526020610380602461039c610320515afa6104ed573d600060003e3d6000fd5b601f3d1115612dd157610380516104005260206103c060446103dc610320515afa61051d573d600060003e3d6000fd5b601f3d1115612dd1576103c0516103605260076103005160a052608052604060802054610380526370a082316103e052610300516104005260206103e060246103fc610320515afa610574573d600060003e3d6000fd5b601f3d1115612dd1576103e0511561059457610340516103605111610597565b60015b15612dd157610380516028808202821582848304141715612dd15790509050606480820490509050600f6103005160a0526080526040608020541115612dd1576103005160e0526105e66126a8565b6103005160e05260076103005160a0526080526040608020546101005260085461012052610612611d56565b005b63b6b55f25811861062f57336106005260006106205261067e565b636e553f658118610654576024358060a01c612dd1576106005260006106205261067e565b6383df67478118610972576024358060a01c612dd157610600526044358060011c612dd157610620525b600054612dd15760016000556106005160e0526106996126a8565b6000600435146109055760006c02863c1f5cdae4200000000017541415610640526008546106605261064051156106ef576106005160e052610660516101005261062051610120526000610140526106ef611f3b565b61066080516004358181830110612dd1578082019050905081525060076106005160a0526080526040608020546004358181830110612dd15780820190509050610680526106805160076106005160a052608052604060802055610660516008556106005160e0526106805161010052610660516101205261076f611d56565b6323b872dd6106a052336106c052306106e0526004356107005260206106a060646106bc60006003545af16107a9573d600060003e3d6000fd5b601f3d1115612dd1576106a0506106405115610905576c02863c1f5cdae4200000000016546106a05260006106a051111561090557600060046020820661070001602082840111612dd1576c02863c1f5cdae420000000001f6107206020840160c060006001818352015b8260c051602002111561082657610845565b60c05185015460c0516020028501528151600101808352811415610814575b5050505050818152905090508051602001806106c0828460045afa9050505060006106e0516106c05181816020036008021c90509050146109055760006106c06004806020846107000101826020850160045afa50508051820191505060043560208261070001015260208101905080610700526107005050600060006107005161072060006106a05174010000000000000000000000000000000000000000808206905090508060a01c612dd1575af1610905573d600060003e3d6000fd5b610600517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c600435610640526020610640a26106005160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600435610640526020610640a36000600055005b632e1a7d4d8118610988576000610600526109a3565b6338d074368118610c7a576024358060011c612dd157610600525b600054612dd15760016000553360e0526109bb6126a8565b600060043514610c135760006c02863c1f5cdae420000000001754141561062052600854610640526106205115610a0e573360e05261064051610100526106005161012052600061014052610a0e611f3b565b6106408051600435808210612dd1578082039050905081525060073360a052608052604060802054600435808210612dd15780820390509050610660526106605160073360a052608052604060802055610640516008553360e05261066051610100526106405161012052610a81611d56565b6106205115610bd0576c02863c1f5cdae420000000001654610680526000610680511115610bd05760046004602082066106e001602082840111612dd1576c02863c1f5cdae420000000001f6107006020840160c060006001818352015b8260c0516020021115610af157610b10565b60c05185015460c0516020028501528151600101808352811415610adf575b5050505050818152905090508051602001806106a0828460045afa9050505060006106c0516106a05181816020036008021c9050905014610bd05760006106a06004806020846106e00101826020850160045afa5050805182019150506004356020826106e0010152602081019050806106e0526106e05050600060006106e05161070060006106805174010000000000000000000000000000000000000000808206905090508060a01c612dd1575af1610bd0573d600060003e3d6000fd5b63a9059cbb61068052336106a0526004356106c0526020610680604461069c60006003545af1610c05573d600060003e3d6000fd5b601f3d1115612dd157610680505b337f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364600435610620526020610620a26000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600435610620526020610620a36000600055005b63a9059cbb8118610cce576004358060a01c612dd1576106c052600054612dd157600160005533610600526106c0516106205260243561064052610cbc612c3d565b60016106e05260206106e06000600055f35b6323b872dd8118610db4576004358060a01c612dd1576106c0526024358060a01c612dd1576106e052600054612dd157600160005560096106c05160a05260805260406080203360a052608052604060802054610700527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6107005114610d835761070051604435808210612dd1578082039050905060096106c05160a05260805260406080203360a0526080526040608020555b6106c051610600526106e0516106205260443561064052610da2612c3d565b60016107205260206107206000600055f35b63095ea7b38118610e2c576004358060a01c612dd15760e05260243560093360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925602435610100526020610100a36001610100526020610100f35b63395093518118610eda576004358060a01c612dd15760e05260093360a052608052604060802060e05160a0526080526040608020546024358181830110612dd15780820190509050610100526101005160093360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92561010051610120526020610120a36001610120526020610120f35b63a457c2d78118610f86576004358060a01c612dd15760e05260093360a052608052604060802060e05160a052608052604060802054602435808210612dd15780820390509050610100526101005160093360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92561010051610120526020610120a36001610120526020610120f35b6347d2d5d3811861168d576004358060a01c612dd157610600526044358060a01c612dd157610620526064358060a01c612dd157610640526084358060a01c612dd1576106605260a4358060a01c612dd1576106805260c4358060a01c612dd1576106a05260e4358060a01c612dd1576106c052610104358060a01c612dd1576106e052610124358060a01c612dd15761070052600054612dd15760016000556c02863c1f5cdae4200000000024543318612dd157600354610720526c02863c1f5cdae42000000000165474010000000000000000000000000000000000000000808206905090508060a01c612dd157610740526008546107605260006c02863c1f5cdae420000000001754146110b857600060e05261076051610100526000610120526000610140526110b8611f3b565b600061074051146112175760046004602082066107c001602082840111612dd1576c02863c1f5cdae420000000001f6107e06020840160c060006001818352015b8260c051602002111561110b5761112a565b60c05185015460c05160200285015281516001018083528114156110f9575b505050505081815290509050805160200180610780828460045afa9050505060006107a0516107805181816020036008021c905090501461121757600061076051146111d15760006107806004806020846107c00101826020850160045afa505080518201915050610760516020826107c0010152602081019050806107c0526107c05050600060006107c0516107e06000610740515af16111d1573d600060003e3d6000fd5b63095ea7b36107c052610740516107e05260006108005260206107c060446107dc6000610720515af1611209573d600060003e3d6000fd5b601f3d1115612dd1576107c0505b600061060051146115825760006106205114612dd1576000610600513b1115612dd15760006004602082066107c001602082840111612dd15760246107e06020840160c060006001818352015b8260c051602002111561127657611298565b60c05160200285013560c0516020028501528151600101808352811415611264575b505050505081815290509050805160200180610780828460045afa90505050600460046020820661080001602082840111612dd15760246108206020840160c060006001818352015b8260c05160200211156112f357611315565b60c05160200285013560c05160200285015281516001018083528114156112e1575b5050505050818152905090508051602001806107c0828460045afa9050505060006107a0516107805181816020036008021c90509050141561136f576107e0516107c05181816020036008021c90509050612dd157611582565b60006107605114612dd15763095ea7b36108005261060051610820527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610840526020610800604461081c6000610720515af16113d1573d600060003e3d6000fd5b601f3d1115612dd1576108005060006107806004806020846108000101826020850160045afa505080518201915050610760516020826108000101526020810190508061080052610800505060006000610800516108206000610600515af161143f573d600060003e3d6000fd5b6370a082316108005230610820526020610800602461081c610720515afa61146c573d600060003e3d6000fd5b601f3d1115612dd15761080051612dd15760006107c06004806020846108000101826020850160045afa505080518201915050610760516020826108000101526020810190508061080052610800505060006000610800516108206000610600515af16114de573d600060003e3d6000fd5b610760516370a082316108005230610820526020610800602461081c610720515afa61150f573d600060003e3d6000fd5b601f3d1115612dd1576108005118612dd15760006107806004806020846108000101826020850160045afa505080518201915050610760516020826108000101526020810190508061080052610800505060006000610800516108206000610600515af1611582573d600060003e3d6000fd5b610600516c02863c1f5cdae4200000000016556024356c02863c1f5cdae420000000001f5561078060006008818352015b6001610780516008811015612dd157026c02863c1f5cdae420000000001701546107a052610620610780516008811015612dd15760200201516107c05260006107a051141561163a5760006107c05114156116115761165856611648565b6107c0516001610780516008811015612dd157026c02863c1f5cdae42000000000170155611648565b6107c0516107a05118612dd1575b81516001018083528114156115b3575b50506000610600511461168657600060e0526107605161010052600061012052600061014052611686611f3b565b6000600055005b6390b2299781186116cf576004358060011c612dd15760e0526c02863c1f5cdae4200000000024543318612dd15760e0516c02863c1f5cdae420000000002655005b636b441a40811861173f576004358060a01c612dd15760e0526c02863c1f5cdae4200000000024543318612dd15760e0516c02863c1f5cdae4200000000025557f2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e960e051610100526020610100a1005b63e5ea47b881186117a7576c02863c1f5cdae42000000000255460e05260e0513318612dd15760e0516c02863c1f5cdae4200000000024557febee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a118910560e051610100526020610100a1005b630754617281186117be5760015460e052602060e0f35b6376d8b11781186117d55760025460e052602060e0f35b6382c6306681186117ec5760035460e052602060e0f35b63f77c479181186118035760045460e052602060e0f35b63dfe05031811861181a5760055460e052602060e0f35b63be5d1be981186118315760065460e052602060e0f35b6370a082318118611866576004358060a01c612dd15760e052600760e05160a052608052604060802054610100526020610100f35b6318160ddd811861187d5760085460e052602060e0f35b63dd62ed3e81186118d0576004358060a01c612dd15760e0526024358060a01c612dd15761010052600960e05160a05260805260406080206101005160a052608052604060802054610120526020610120f35b6306fdde0381186119735760e080602080825280830180600a8082602082540160c060006003818352015b8260c051602002111561190d5761192c565b60c05185015460c05160200285015281516001018083528114156118fb575b5050505050508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f820103905090509050810190509050905060e0f35b6395d89b418118611a165760e080602080825280830180600d8082602082540160c060006002818352015b8260c05160200211156119b0576119cf565b60c05185015460c051602002850152815160010180835281141561199e575b5050505050508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f820103905090509050810190509050905060e0f35b6313ecb1ca8118611a4b576004358060a01c612dd15760e052600f60e05160a052608052604060802054610100526020610100f35b6317e280898118611a625760105460e052602060e0f35b63ef78d4fd8118611a795760115460e052602060e0f35b637598108c8118611aac5760016004356c01431e0fae6d7217caa0000000811015612dd157026012015460e052602060e0f35b63fec8ee0c8118611aeb5760016004356c01431e0fae6d7217caa0000000811015612dd157026c01431e0fae6d72100000000012015460e052602060e0f35b63de263bfa8118611b2c576004358060a01c612dd15760e0526c02863c1f5cdae420000000001260e05160a052608052604060802054610100526020610100f35b639bd324f28118611b6d576004358060a01c612dd15760e0526c02863c1f5cdae420000000001360e05160a052608052604060802054610100526020610100f35b63094007078118611bae576004358060a01c612dd15760e0526c02863c1f5cdae420000000001460e05160a052608052604060802054610100526020610100f35b63180692d08118611bd1576c02863c1f5cdae42000000000155460e052602060e0f35b6354c49fe98118611c045760016004356008811015612dd157026c02863c1f5cdae4200000000017015460e052602060e0f35b6301ddabf18118611c45576004358060a01c612dd15760e0526c02863c1f5cdae420000000002060e05160a052608052604060802054610100526020610100f35b6373861fb38118611c86576004358060a01c612dd15760e0526c02863c1f5cdae420000000002160e05160a052608052604060802054610100526020610100f35b63f05cc0588118611ce5576004358060a01c612dd15760e0526024358060a01c612dd157610100526c02863c1f5cdae420000000002260e05160a05260805260406080206101005160a052608052604060802054610120526020610120f35b63f851a4408118611d08576c02863c1f5cdae42000000000245460e052602060e0f35b6317f7182a8118611d2b576c02863c1f5cdae42000000000255460e052602060e0f35b639c868ac08118611d4e576c02863c1f5cdae42000000000265460e052602060e0f35b505b60006000fd5b600554610140526370a082316101805260e0516101a0526020610180602461019c610140515afa611d8c573d600060003e3d6000fd5b601f3d1115612dd15761018051610160526318160ddd6101a05260206101a060046101bc610140515afa611dc5573d600060003e3d6000fd5b601f3d1115612dd1576101a05161018052610100516028808202821582848304141715612dd157905090506064808204905090506101a0526000610180511115611e6e576101a080516101205161016051808202821582848304141715612dd1579050905061018051808015612dd157820490509050603c808202821582848304141715612dd157905090506064808204905090508181830110612dd157808201905090508152505b610100516101a051808211611e835781611e85565b805b905090506101a052600f60e05160a0526080526040608020546101c0526101a051600f60e05160a0526080526040608020556010546101a0518181830110612dd157808201905090506101c051808210612dd157808203905090506101e0526101e0516010557f7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a360e05161020052610100516102205261012051610240526101a051610260526101e0516102805260a0610200a1565b610200366101603761036060006008818352015b6001610360516008811015612dd157026c02863c1f5cdae420000000001701546103805261038051611f8057611fdc565b61038051610160610360516008811015612dd15760200201526c02863c1f5cdae42000000000216103805160a052608052604060802054610260610360516008811015612dd15760200201528151600101808352811415611f4f575b50506c02863c1f5cdae420000000001654610360526000610100511415612004576000612034565b6000610360511415612017576000612034565b6103605160a01c610e108181830110612dd1578082019050905042115b1561230a57610100366103803761048060006008818352015b6001610480516008811015612dd157026c02863c1f5cdae420000000001701546104a0526104a05161207e576120dd565b6370a082316104c052306104e05260206104c060246104dc6104a0515afa6120ab573d600060003e3d6000fd5b601f3d1115612dd1576104c051610380610480516008811015612dd1576020020152815160010180835281141561204d575b50506103605174010000000000000000000000000000000000000000808206905090508060a01c612dd1576104805260086004602082066104a001602082840111612dd1576c02863c1f5cdae420000000001f6104c06020840160c060006001818352015b8260c051602002111561215457612173565b60c05185015460c0516020028501528151600101808352811415612142575b505050505081815290509050600060008251602084016000610480515af190506121a2573d600060003e3d6000fd5b610480514260a01b8181830110612dd157808201905090506c02863c1f5cdae4200000000016556104a060006008818352015b6101606104a0516008811015612dd15760200201516104c0526104c0516121fb57612307565b670de0b6b3a76400006370a082316105005230610520526020610500602461051c6104c0515afa612231573d600060003e3d6000fd5b601f3d1115612dd157610500516103806104a0516008811015612dd1576020020151808210612dd15780820390509050808202821582848304141715612dd1579050905061010051808015612dd1578204905090506104e05260006104e05111156122f7576102606104a0516008811015612dd1576020020180516104e0518181830110612dd157808201905090508152506102606104a0516008811015612dd15760200201516c02863c1f5cdae42000000000216104c05160a0526080526040608020555b81516001018083528114156121d5575b50505b600060e051146126a65761014051610380526101205161232b576000612331565b61038051155b15612367576c02863c1f5cdae420000000002060e05160a05260805260406080205461038052610380516123675760e051610380525b600760e05160a0526080526040608020546103a0526103c060006008818352015b6101606103c0516008811015612dd15760200201516103e0526103e0516123ae576126a3565b6102606103c0516008811015612dd1576020020151610400526c02863c1f5cdae42000000000226103e05160a052608052604060802060e05160a052608052604060802054610420526000610440526104005161042051101561247e57610400516c02863c1f5cdae42000000000226103e05160a052608052604060802060e05160a0526080526040608020556103a0516104005161042051808210612dd15780820390509050808202821582848304141715612dd15790509050670de0b6b3a764000080820490509050610440525b6c02863c1f5cdae420000000002360e05160a05260805260406080206103e05160a052608052604060802054610460526104605160801c610440518181830110612dd157808201905090506104805260006104805111156126935761046051700100000000000000000000000000000000808206905090506104a0526101205161255a576000610440511115612693576104a0516104805160801b8181830110612dd157808201905090506c02863c1f5cdae420000000002360e05160a05260805260406080206103e05160a052608052604060802055612693565b60006004610500527fa9059cbb00000000000000000000000000000000000000000000000000000000610520526105006004806020846105400101826020850160045afa50508051820191505061038051602082610540010152602081019050610480516020826105400101526020810190508061054052610540505060206105e06105405161056060006103e0515af16125fa573d600060003e3d6000fd5b6105c060203d80821161260d578161260f565b805b9050905081528051602001806104c0828460045afa9050505060006104c0511461264e576104e0516104c05181816020036008021c9050905015612dd1575b6104a051610480518181830110612dd157808201905090506c02863c1f5cdae420000000002360e05160a05260805260406080206103e05160a0526080526040608020555b8151600101808352811415612388575b50505b565b601154610100526001610100516c01431e0fae6d7217caa0000000811015612dd1570260120154610120526001610100516c01431e0fae6d7217caa0000000811015612dd157026c01431e0fae6d721000000000120154610140526c02863c1f5cdae4200000000015546101605261016051610180526006546101a052610120516101a051106127c0576002546101c05263b26b238e6101e05260206101e060046101fc60006101c0515af1612763573d600060003e3d6000fd5b601f3d1115612dd1576101e051600655632c4e722e6101e05260206101e060046101fc6101c0515afa61279b573d600060003e3d6000fd5b601f3d1115612dd1576101e05161018052610180516c02863c1f5cdae4200000000015555b6c02863c1f5cdae420000000002654156127db576000610160525b61012051421115612ae9576010546101c0526004546101e05263615e52376102005230610220526101e0513b15612dd15760006000602461021c60006101e0515af161282c573d600060003e3d6000fd5b61012051610200526101205162093a808181830110612dd1578082019050905062093a808082049050905062093a80808202821582848304141715612dd157905090504280821161287d578161287f565b805b905090506102205261024060006101f4818352015b6102205161020051808210612dd157808203905090506102605263d3078c946102a052306102c0526102005162093a808082049050905062093a80808202821582848304141715612dd157905090506102e05260206102a060446102bc6101e0515afa612906573d600060003e3d6000fd5b601f3d1115612dd1576102a0516102805260006101c0511115612a8f57610200516101a0511015612938576000612942565b610220516101a051105b6129a85761014080516101605161028051808202821582848304141715612dd1579050905061026051808202821582848304141715612dd157905090506101c051808015612dd1578204905090508181830110612dd15780820190509050815250612a8f565b61014080516101605161028051808202821582848304141715612dd157905090506101a05161020051808210612dd15780820390509050808202821582848304141715612dd157905090506101c051808015612dd1578204905090508181830110612dd15780820190509050815250610180516101605261014080516101605161028051808202821582848304141715612dd15790509050610220516101a051808210612dd15780820390509050808202821582848304141715612dd157905090506101c051808015612dd1578204905090508181830110612dd157808201905090508152505b426102205118612a9e57612ae6565b61022051610200526102205162093a808181830110612dd1578082019050905042808211612acc5781612ace565b805b90509050610220528151600101808352811415612894575b50505b610100805160018082018060801d81607f1d18612dd1579050905081525061010051601155426001610100516c01431e0fae6d7217caa0000000811015612dd1570260120155610140516001610100516c01431e0fae6d7217caa0000000811015612dd157026c01431e0fae6d721000000000120155600f60e05160a0526080526040608020546101c0526c02863c1f5cdae420000000001460e05160a052608052604060802080546101c051610140516c02863c1f5cdae420000000001260e05160a052608052604060802054808210612dd15780820390509050808202821582848304141715612dd15790509050670de0b6b3a7640000808204905090508181830110612dd15780820190509050815550610140516c02863c1f5cdae420000000001260e05160a052608052604060802055426c02863c1f5cdae420000000001360e05160a052608052604060802055565b6106005160e052612c4c6126a8565b6106205160e052612c5b6126a8565b60006106405114612d98576008546106605260006c02863c1f5cdae4200000000017541415610680526106805115612cb0576106005160e0526106605161010052600061012052600061014052612cb0611f3b565b60076106005160a05260805260406080205461064051808210612dd157808203905090506106a0526106a05160076106005160a0526080526040608020556106005160e0526106a051610100526106605161012052612d0d611d56565b6106805115612d39576106205160e0526106605161010052600061012052600061014052612d39611f3b565b60076106205160a052608052604060802054610640518181830110612dd157808201905090506106a0526106a05160076106205160a0526080526040608020556106205160e0526106a051610100526106605161012052612d98611d56565b61062051610600517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61064051610660526020610660a3565b600080fd5b6103e46131ba036103e46000396103e46131ba036000f35b600080fd000000000000000000000000483f2fed953f0f5e7ae14a1178fd5a0e2cfd7ddc0000000000000000000000004aa2afd5616beec2321a9efd7349400d4f18566a00000000000000000000000007da2d30e26802ed65a52859a50872cfa615bd0a

Deployed Bytecode

0x600436101561000d57611d50565b60046000601c3760005134612dd15763313ce567811861003257601260e052602060e0f35b63d31f3f6d81186100655760016011546c01431e0fae6d7217caa0000000811015612dd157026012015460e052602060e0f35b634b82009381186100e3576004358060a01c612dd15761030052610300513318610090576001610096565b60015433145b15612dd1576103005160e0526100aa6126a8565b6103005160e05260076103005160a05260805260406080205461010052600854610120526100d6611d56565b6001610320526020610320f35b63331345838118610184576004358060a01c612dd157610300526103005160e05261010c6126a8565b6c02863c1f5cdae42000000000146103005160a052608052604060802054638b752bb061032052610300516103405230610360526020610320604461033c6001545afa61015e573d600060003e3d6000fd5b601f3d1115612dd15761032051808210612dd15780820390509050610380526020610380f35b63bf88a6ff81186101cc576c02863c1f5cdae42000000000165474010000000000000000000000000000000000000000808206905090508060a01c612dd15760e052602060e0f35b633488bd1981186101f2576c02863c1f5cdae42000000000165460a01c60e052602060e0f35b63e77e7437811861026a576004358060a01c612dd15760e0526024358060a01c612dd157610100526c02863c1f5cdae420000000002360e05160a05260805260406080206101005160a05260805260406080205470010000000000000000000000000000000080820690509050610120526020610120f35b6333fd6f7481186102cc576004358060a01c612dd15760e0526024358060a01c612dd157610100526c02863c1f5cdae420000000002360e05160a05260805260406080206101005160a05260805260406080205460801c610120526020610120f35b6359b7e4098118610379576004358060a01c612dd157610600526024358060a01c612dd15761062052600054612dd157600160005560006c02863c1f5cdae42000000000175414610339576106005160e05260085461010052600061012052600061014052610339611f3b565b6c02863c1f5cdae42000000000236106005160a05260805260406080206106205160a05260805260406080205460801c6106405260206106406000600055f35b63bdf9811681186103b2576004358060a01c612dd15760e05260e0516c02863c1f5cdae42000000000203360a052608052604060802055005b63e6f1daf281186103cd57336106005260006106205261041c565b6384e9bd7e81186103f2576004358060a01c612dd1576106005260006106205261041c565b639faceb1b8118610469576004358060a01c612dd157610600526024358060a01c612dd157610620525b600054612dd15760016000556000610620511461043e57336106005118612dd1575b6106005160e052600854610100526001610120526106205161014052610462611f3b565b6000600055005b6396c551758118610614576004358060a01c612dd15761030052600554610320526c02863c1f5cdae42000000000136103005160a0526080526040608020546103405263da020a186103c052610300516103e05263010ae75761038052610300516103a0526020610380602461039c610320515afa6104ed573d600060003e3d6000fd5b601f3d1115612dd157610380516104005260206103c060446103dc610320515afa61051d573d600060003e3d6000fd5b601f3d1115612dd1576103c0516103605260076103005160a052608052604060802054610380526370a082316103e052610300516104005260206103e060246103fc610320515afa610574573d600060003e3d6000fd5b601f3d1115612dd1576103e0511561059457610340516103605111610597565b60015b15612dd157610380516028808202821582848304141715612dd15790509050606480820490509050600f6103005160a0526080526040608020541115612dd1576103005160e0526105e66126a8565b6103005160e05260076103005160a0526080526040608020546101005260085461012052610612611d56565b005b63b6b55f25811861062f57336106005260006106205261067e565b636e553f658118610654576024358060a01c612dd1576106005260006106205261067e565b6383df67478118610972576024358060a01c612dd157610600526044358060011c612dd157610620525b600054612dd15760016000556106005160e0526106996126a8565b6000600435146109055760006c02863c1f5cdae4200000000017541415610640526008546106605261064051156106ef576106005160e052610660516101005261062051610120526000610140526106ef611f3b565b61066080516004358181830110612dd1578082019050905081525060076106005160a0526080526040608020546004358181830110612dd15780820190509050610680526106805160076106005160a052608052604060802055610660516008556106005160e0526106805161010052610660516101205261076f611d56565b6323b872dd6106a052336106c052306106e0526004356107005260206106a060646106bc60006003545af16107a9573d600060003e3d6000fd5b601f3d1115612dd1576106a0506106405115610905576c02863c1f5cdae4200000000016546106a05260006106a051111561090557600060046020820661070001602082840111612dd1576c02863c1f5cdae420000000001f6107206020840160c060006001818352015b8260c051602002111561082657610845565b60c05185015460c0516020028501528151600101808352811415610814575b5050505050818152905090508051602001806106c0828460045afa9050505060006106e0516106c05181816020036008021c90509050146109055760006106c06004806020846107000101826020850160045afa50508051820191505060043560208261070001015260208101905080610700526107005050600060006107005161072060006106a05174010000000000000000000000000000000000000000808206905090508060a01c612dd1575af1610905573d600060003e3d6000fd5b610600517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c600435610640526020610640a26106005160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600435610640526020610640a36000600055005b632e1a7d4d8118610988576000610600526109a3565b6338d074368118610c7a576024358060011c612dd157610600525b600054612dd15760016000553360e0526109bb6126a8565b600060043514610c135760006c02863c1f5cdae420000000001754141561062052600854610640526106205115610a0e573360e05261064051610100526106005161012052600061014052610a0e611f3b565b6106408051600435808210612dd1578082039050905081525060073360a052608052604060802054600435808210612dd15780820390509050610660526106605160073360a052608052604060802055610640516008553360e05261066051610100526106405161012052610a81611d56565b6106205115610bd0576c02863c1f5cdae420000000001654610680526000610680511115610bd05760046004602082066106e001602082840111612dd1576c02863c1f5cdae420000000001f6107006020840160c060006001818352015b8260c0516020021115610af157610b10565b60c05185015460c0516020028501528151600101808352811415610adf575b5050505050818152905090508051602001806106a0828460045afa9050505060006106c0516106a05181816020036008021c9050905014610bd05760006106a06004806020846106e00101826020850160045afa5050805182019150506004356020826106e0010152602081019050806106e0526106e05050600060006106e05161070060006106805174010000000000000000000000000000000000000000808206905090508060a01c612dd1575af1610bd0573d600060003e3d6000fd5b63a9059cbb61068052336106a0526004356106c0526020610680604461069c60006003545af1610c05573d600060003e3d6000fd5b601f3d1115612dd157610680505b337f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364600435610620526020610620a26000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600435610620526020610620a36000600055005b63a9059cbb8118610cce576004358060a01c612dd1576106c052600054612dd157600160005533610600526106c0516106205260243561064052610cbc612c3d565b60016106e05260206106e06000600055f35b6323b872dd8118610db4576004358060a01c612dd1576106c0526024358060a01c612dd1576106e052600054612dd157600160005560096106c05160a05260805260406080203360a052608052604060802054610700527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6107005114610d835761070051604435808210612dd1578082039050905060096106c05160a05260805260406080203360a0526080526040608020555b6106c051610600526106e0516106205260443561064052610da2612c3d565b60016107205260206107206000600055f35b63095ea7b38118610e2c576004358060a01c612dd15760e05260243560093360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925602435610100526020610100a36001610100526020610100f35b63395093518118610eda576004358060a01c612dd15760e05260093360a052608052604060802060e05160a0526080526040608020546024358181830110612dd15780820190509050610100526101005160093360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92561010051610120526020610120a36001610120526020610120f35b63a457c2d78118610f86576004358060a01c612dd15760e05260093360a052608052604060802060e05160a052608052604060802054602435808210612dd15780820390509050610100526101005160093360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92561010051610120526020610120a36001610120526020610120f35b6347d2d5d3811861168d576004358060a01c612dd157610600526044358060a01c612dd157610620526064358060a01c612dd157610640526084358060a01c612dd1576106605260a4358060a01c612dd1576106805260c4358060a01c612dd1576106a05260e4358060a01c612dd1576106c052610104358060a01c612dd1576106e052610124358060a01c612dd15761070052600054612dd15760016000556c02863c1f5cdae4200000000024543318612dd157600354610720526c02863c1f5cdae42000000000165474010000000000000000000000000000000000000000808206905090508060a01c612dd157610740526008546107605260006c02863c1f5cdae420000000001754146110b857600060e05261076051610100526000610120526000610140526110b8611f3b565b600061074051146112175760046004602082066107c001602082840111612dd1576c02863c1f5cdae420000000001f6107e06020840160c060006001818352015b8260c051602002111561110b5761112a565b60c05185015460c05160200285015281516001018083528114156110f9575b505050505081815290509050805160200180610780828460045afa9050505060006107a0516107805181816020036008021c905090501461121757600061076051146111d15760006107806004806020846107c00101826020850160045afa505080518201915050610760516020826107c0010152602081019050806107c0526107c05050600060006107c0516107e06000610740515af16111d1573d600060003e3d6000fd5b63095ea7b36107c052610740516107e05260006108005260206107c060446107dc6000610720515af1611209573d600060003e3d6000fd5b601f3d1115612dd1576107c0505b600061060051146115825760006106205114612dd1576000610600513b1115612dd15760006004602082066107c001602082840111612dd15760246107e06020840160c060006001818352015b8260c051602002111561127657611298565b60c05160200285013560c0516020028501528151600101808352811415611264575b505050505081815290509050805160200180610780828460045afa90505050600460046020820661080001602082840111612dd15760246108206020840160c060006001818352015b8260c05160200211156112f357611315565b60c05160200285013560c05160200285015281516001018083528114156112e1575b5050505050818152905090508051602001806107c0828460045afa9050505060006107a0516107805181816020036008021c90509050141561136f576107e0516107c05181816020036008021c90509050612dd157611582565b60006107605114612dd15763095ea7b36108005261060051610820527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610840526020610800604461081c6000610720515af16113d1573d600060003e3d6000fd5b601f3d1115612dd1576108005060006107806004806020846108000101826020850160045afa505080518201915050610760516020826108000101526020810190508061080052610800505060006000610800516108206000610600515af161143f573d600060003e3d6000fd5b6370a082316108005230610820526020610800602461081c610720515afa61146c573d600060003e3d6000fd5b601f3d1115612dd15761080051612dd15760006107c06004806020846108000101826020850160045afa505080518201915050610760516020826108000101526020810190508061080052610800505060006000610800516108206000610600515af16114de573d600060003e3d6000fd5b610760516370a082316108005230610820526020610800602461081c610720515afa61150f573d600060003e3d6000fd5b601f3d1115612dd1576108005118612dd15760006107806004806020846108000101826020850160045afa505080518201915050610760516020826108000101526020810190508061080052610800505060006000610800516108206000610600515af1611582573d600060003e3d6000fd5b610600516c02863c1f5cdae4200000000016556024356c02863c1f5cdae420000000001f5561078060006008818352015b6001610780516008811015612dd157026c02863c1f5cdae420000000001701546107a052610620610780516008811015612dd15760200201516107c05260006107a051141561163a5760006107c05114156116115761165856611648565b6107c0516001610780516008811015612dd157026c02863c1f5cdae42000000000170155611648565b6107c0516107a05118612dd1575b81516001018083528114156115b3575b50506000610600511461168657600060e0526107605161010052600061012052600061014052611686611f3b565b6000600055005b6390b2299781186116cf576004358060011c612dd15760e0526c02863c1f5cdae4200000000024543318612dd15760e0516c02863c1f5cdae420000000002655005b636b441a40811861173f576004358060a01c612dd15760e0526c02863c1f5cdae4200000000024543318612dd15760e0516c02863c1f5cdae4200000000025557f2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e960e051610100526020610100a1005b63e5ea47b881186117a7576c02863c1f5cdae42000000000255460e05260e0513318612dd15760e0516c02863c1f5cdae4200000000024557febee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a118910560e051610100526020610100a1005b630754617281186117be5760015460e052602060e0f35b6376d8b11781186117d55760025460e052602060e0f35b6382c6306681186117ec5760035460e052602060e0f35b63f77c479181186118035760045460e052602060e0f35b63dfe05031811861181a5760055460e052602060e0f35b63be5d1be981186118315760065460e052602060e0f35b6370a082318118611866576004358060a01c612dd15760e052600760e05160a052608052604060802054610100526020610100f35b6318160ddd811861187d5760085460e052602060e0f35b63dd62ed3e81186118d0576004358060a01c612dd15760e0526024358060a01c612dd15761010052600960e05160a05260805260406080206101005160a052608052604060802054610120526020610120f35b6306fdde0381186119735760e080602080825280830180600a8082602082540160c060006003818352015b8260c051602002111561190d5761192c565b60c05185015460c05160200285015281516001018083528114156118fb575b5050505050508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f820103905090509050810190509050905060e0f35b6395d89b418118611a165760e080602080825280830180600d8082602082540160c060006002818352015b8260c05160200211156119b0576119cf565b60c05185015460c051602002850152815160010180835281141561199e575b5050505050508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f820103905090509050810190509050905060e0f35b6313ecb1ca8118611a4b576004358060a01c612dd15760e052600f60e05160a052608052604060802054610100526020610100f35b6317e280898118611a625760105460e052602060e0f35b63ef78d4fd8118611a795760115460e052602060e0f35b637598108c8118611aac5760016004356c01431e0fae6d7217caa0000000811015612dd157026012015460e052602060e0f35b63fec8ee0c8118611aeb5760016004356c01431e0fae6d7217caa0000000811015612dd157026c01431e0fae6d72100000000012015460e052602060e0f35b63de263bfa8118611b2c576004358060a01c612dd15760e0526c02863c1f5cdae420000000001260e05160a052608052604060802054610100526020610100f35b639bd324f28118611b6d576004358060a01c612dd15760e0526c02863c1f5cdae420000000001360e05160a052608052604060802054610100526020610100f35b63094007078118611bae576004358060a01c612dd15760e0526c02863c1f5cdae420000000001460e05160a052608052604060802054610100526020610100f35b63180692d08118611bd1576c02863c1f5cdae42000000000155460e052602060e0f35b6354c49fe98118611c045760016004356008811015612dd157026c02863c1f5cdae4200000000017015460e052602060e0f35b6301ddabf18118611c45576004358060a01c612dd15760e0526c02863c1f5cdae420000000002060e05160a052608052604060802054610100526020610100f35b6373861fb38118611c86576004358060a01c612dd15760e0526c02863c1f5cdae420000000002160e05160a052608052604060802054610100526020610100f35b63f05cc0588118611ce5576004358060a01c612dd15760e0526024358060a01c612dd157610100526c02863c1f5cdae420000000002260e05160a05260805260406080206101005160a052608052604060802054610120526020610120f35b63f851a4408118611d08576c02863c1f5cdae42000000000245460e052602060e0f35b6317f7182a8118611d2b576c02863c1f5cdae42000000000255460e052602060e0f35b639c868ac08118611d4e576c02863c1f5cdae42000000000265460e052602060e0f35b505b60006000fd5b600554610140526370a082316101805260e0516101a0526020610180602461019c610140515afa611d8c573d600060003e3d6000fd5b601f3d1115612dd15761018051610160526318160ddd6101a05260206101a060046101bc610140515afa611dc5573d600060003e3d6000fd5b601f3d1115612dd1576101a05161018052610100516028808202821582848304141715612dd157905090506064808204905090506101a0526000610180511115611e6e576101a080516101205161016051808202821582848304141715612dd1579050905061018051808015612dd157820490509050603c808202821582848304141715612dd157905090506064808204905090508181830110612dd157808201905090508152505b610100516101a051808211611e835781611e85565b805b905090506101a052600f60e05160a0526080526040608020546101c0526101a051600f60e05160a0526080526040608020556010546101a0518181830110612dd157808201905090506101c051808210612dd157808203905090506101e0526101e0516010557f7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a360e05161020052610100516102205261012051610240526101a051610260526101e0516102805260a0610200a1565b610200366101603761036060006008818352015b6001610360516008811015612dd157026c02863c1f5cdae420000000001701546103805261038051611f8057611fdc565b61038051610160610360516008811015612dd15760200201526c02863c1f5cdae42000000000216103805160a052608052604060802054610260610360516008811015612dd15760200201528151600101808352811415611f4f575b50506c02863c1f5cdae420000000001654610360526000610100511415612004576000612034565b6000610360511415612017576000612034565b6103605160a01c610e108181830110612dd1578082019050905042115b1561230a57610100366103803761048060006008818352015b6001610480516008811015612dd157026c02863c1f5cdae420000000001701546104a0526104a05161207e576120dd565b6370a082316104c052306104e05260206104c060246104dc6104a0515afa6120ab573d600060003e3d6000fd5b601f3d1115612dd1576104c051610380610480516008811015612dd1576020020152815160010180835281141561204d575b50506103605174010000000000000000000000000000000000000000808206905090508060a01c612dd1576104805260086004602082066104a001602082840111612dd1576c02863c1f5cdae420000000001f6104c06020840160c060006001818352015b8260c051602002111561215457612173565b60c05185015460c0516020028501528151600101808352811415612142575b505050505081815290509050600060008251602084016000610480515af190506121a2573d600060003e3d6000fd5b610480514260a01b8181830110612dd157808201905090506c02863c1f5cdae4200000000016556104a060006008818352015b6101606104a0516008811015612dd15760200201516104c0526104c0516121fb57612307565b670de0b6b3a76400006370a082316105005230610520526020610500602461051c6104c0515afa612231573d600060003e3d6000fd5b601f3d1115612dd157610500516103806104a0516008811015612dd1576020020151808210612dd15780820390509050808202821582848304141715612dd1579050905061010051808015612dd1578204905090506104e05260006104e05111156122f7576102606104a0516008811015612dd1576020020180516104e0518181830110612dd157808201905090508152506102606104a0516008811015612dd15760200201516c02863c1f5cdae42000000000216104c05160a0526080526040608020555b81516001018083528114156121d5575b50505b600060e051146126a65761014051610380526101205161232b576000612331565b61038051155b15612367576c02863c1f5cdae420000000002060e05160a05260805260406080205461038052610380516123675760e051610380525b600760e05160a0526080526040608020546103a0526103c060006008818352015b6101606103c0516008811015612dd15760200201516103e0526103e0516123ae576126a3565b6102606103c0516008811015612dd1576020020151610400526c02863c1f5cdae42000000000226103e05160a052608052604060802060e05160a052608052604060802054610420526000610440526104005161042051101561247e57610400516c02863c1f5cdae42000000000226103e05160a052608052604060802060e05160a0526080526040608020556103a0516104005161042051808210612dd15780820390509050808202821582848304141715612dd15790509050670de0b6b3a764000080820490509050610440525b6c02863c1f5cdae420000000002360e05160a05260805260406080206103e05160a052608052604060802054610460526104605160801c610440518181830110612dd157808201905090506104805260006104805111156126935761046051700100000000000000000000000000000000808206905090506104a0526101205161255a576000610440511115612693576104a0516104805160801b8181830110612dd157808201905090506c02863c1f5cdae420000000002360e05160a05260805260406080206103e05160a052608052604060802055612693565b60006004610500527fa9059cbb00000000000000000000000000000000000000000000000000000000610520526105006004806020846105400101826020850160045afa50508051820191505061038051602082610540010152602081019050610480516020826105400101526020810190508061054052610540505060206105e06105405161056060006103e0515af16125fa573d600060003e3d6000fd5b6105c060203d80821161260d578161260f565b805b9050905081528051602001806104c0828460045afa9050505060006104c0511461264e576104e0516104c05181816020036008021c9050905015612dd1575b6104a051610480518181830110612dd157808201905090506c02863c1f5cdae420000000002360e05160a05260805260406080206103e05160a0526080526040608020555b8151600101808352811415612388575b50505b565b601154610100526001610100516c01431e0fae6d7217caa0000000811015612dd1570260120154610120526001610100516c01431e0fae6d7217caa0000000811015612dd157026c01431e0fae6d721000000000120154610140526c02863c1f5cdae4200000000015546101605261016051610180526006546101a052610120516101a051106127c0576002546101c05263b26b238e6101e05260206101e060046101fc60006101c0515af1612763573d600060003e3d6000fd5b601f3d1115612dd1576101e051600655632c4e722e6101e05260206101e060046101fc6101c0515afa61279b573d600060003e3d6000fd5b601f3d1115612dd1576101e05161018052610180516c02863c1f5cdae4200000000015555b6c02863c1f5cdae420000000002654156127db576000610160525b61012051421115612ae9576010546101c0526004546101e05263615e52376102005230610220526101e0513b15612dd15760006000602461021c60006101e0515af161282c573d600060003e3d6000fd5b61012051610200526101205162093a808181830110612dd1578082019050905062093a808082049050905062093a80808202821582848304141715612dd157905090504280821161287d578161287f565b805b905090506102205261024060006101f4818352015b6102205161020051808210612dd157808203905090506102605263d3078c946102a052306102c0526102005162093a808082049050905062093a80808202821582848304141715612dd157905090506102e05260206102a060446102bc6101e0515afa612906573d600060003e3d6000fd5b601f3d1115612dd1576102a0516102805260006101c0511115612a8f57610200516101a0511015612938576000612942565b610220516101a051105b6129a85761014080516101605161028051808202821582848304141715612dd1579050905061026051808202821582848304141715612dd157905090506101c051808015612dd1578204905090508181830110612dd15780820190509050815250612a8f565b61014080516101605161028051808202821582848304141715612dd157905090506101a05161020051808210612dd15780820390509050808202821582848304141715612dd157905090506101c051808015612dd1578204905090508181830110612dd15780820190509050815250610180516101605261014080516101605161028051808202821582848304141715612dd15790509050610220516101a051808210612dd15780820390509050808202821582848304141715612dd157905090506101c051808015612dd1578204905090508181830110612dd157808201905090508152505b426102205118612a9e57612ae6565b61022051610200526102205162093a808181830110612dd1578082019050905042808211612acc5781612ace565b805b90509050610220528151600101808352811415612894575b50505b610100805160018082018060801d81607f1d18612dd1579050905081525061010051601155426001610100516c01431e0fae6d7217caa0000000811015612dd1570260120155610140516001610100516c01431e0fae6d7217caa0000000811015612dd157026c01431e0fae6d721000000000120155600f60e05160a0526080526040608020546101c0526c02863c1f5cdae420000000001460e05160a052608052604060802080546101c051610140516c02863c1f5cdae420000000001260e05160a052608052604060802054808210612dd15780820390509050808202821582848304141715612dd15790509050670de0b6b3a7640000808204905090508181830110612dd15780820190509050815550610140516c02863c1f5cdae420000000001260e05160a052608052604060802055426c02863c1f5cdae420000000001360e05160a052608052604060802055565b6106005160e052612c4c6126a8565b6106205160e052612c5b6126a8565b60006106405114612d98576008546106605260006c02863c1f5cdae4200000000017541415610680526106805115612cb0576106005160e0526106605161010052600061012052600061014052612cb0611f3b565b60076106005160a05260805260406080205461064051808210612dd157808203905090506106a0526106a05160076106005160a0526080526040608020556106005160e0526106a051610100526106605161012052612d0d611d56565b6106805115612d39576106205160e0526106605161010052600061012052600061014052612d39611f3b565b60076106205160a052608052604060802054610640518181830110612dd157808201905090506106a0526106a05160076106205160a0526080526040608020556106205160e0526106a051610100526106605161012052612d98611d56565b61062051610600517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61064051610660526020610660a3565b600080fd

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.