ETH Price: $2,521.12 (-1.17%)

Token

Curve.fi TryLSD Gauge Deposit (TryLSD-gauge)
 

Overview

Max Total Supply

554.946592876933298573 TryLSD-gauge

Holders

7

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Convex Finance: Voter Proxy
Balance
545.267498158882755057 TryLSD-gauge

Value
$0.00
0x989aeb4d175e16225e39e87d0d97a3360524ad80
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 0xF29FfF07...03ac91EA2
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
LiquidityGaugeV6

Compiler Version
vyper:0.3.9

Optimization Enabled:
N/A

Other Settings:
None license
# @version 0.3.9

"""
@title LiquidityGaugeV6
@author Curve.Fi
@license Copyright (c) Curve.Fi, 2020-2023 - all rights reserved
@notice Implementation contract for use with Curve Factory
@dev Differs from v5.0.0 in that it uses create_from_blueprint to deploy Gauges
"""
from vyper.interfaces import ERC20

implements: ERC20


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

interface Controller:
    def checkpoint_gauge(addr: address): nonpayable
    def gauge_relative_weight(addr: address, time: uint256) -> uint256: view

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

interface ERC1271:
    def isValidSignature(_hash: bytes32, _signature: Bytes[65]) -> bytes32: view

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

interface Minter:
    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 VotingEscrowBoost:
    def adjusted_balance_of(_account: address) -> uint256: view


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

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

event UpdateLiquidityLimit:
    user: indexed(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


struct Reward:
    token: address
    distributor: address
    period_finish: uint256
    rate: uint256
    last_update: uint256
    integral: uint256


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

# keccak256("isValidSignature(bytes32,bytes)")[:4] << 224
VERSION: constant(String[8]) = "v6.0.0"  # <- updated from v5.0.0 (adds `create_from_blueprint` pattern)

EIP712_TYPEHASH: constant(bytes32) = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)")
EIP2612_TYPEHASH: constant(bytes32) = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)")

VERSION_HASH: constant(bytes32) = keccak256(VERSION)
NAME_HASH: immutable(bytes32)
CACHED_CHAIN_ID: immutable(uint256)
salt: public(immutable(bytes32))
CACHED_DOMAIN_SEPARATOR: immutable(bytes32)

CRV: constant(address) = 0xD533a949740bb3306d119CC777fa900bA034cd52
GAUGE_CONTROLLER: constant(address) = 0x2F50D538606Fa9EDD2B11E2446BEb18C9D5846bB
MINTER: constant(address) = 0xd061D61a4d941c39E5453435B6345Dc261C2fcE0
VEBOOST_PROXY: constant(address) = 0x8E0c00ed546602fD9927DF742bbAbF726D5B0d16
VOTING_ESCROW: constant(address) = 0x5f3b5DfEb7B28CDbD7FAba78963EE202a494e2A2


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

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

# ERC2612
nonces: public(HashMap[address, uint256])

# Gauge
factory: public(address)
lp_token: public(address)

is_killed: public(bool)

# [future_epoch_time uint40][inflation_rate uint216]
inflation_params: uint256

# For tracking external rewards
reward_count: public(uint256)
reward_data: public(HashMap[address, Reward])

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

# 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]]

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

# 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])

# 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)

# array of reward tokens
reward_tokens: public(address[MAX_REWARDS])

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


@external
def __init__(_lp_token: address):
    """
    @notice Contract constructor
    @param _lp_token Liquidity Pool contract address
    """
    assert self.lp_token == empty(address)

    self.lp_token = _lp_token
    self.factory = msg.sender

    symbol: String[32] = ERC20Extended(_lp_token).symbol()
    name: String[64] = concat("Curve.fi ", symbol, " Gauge Deposit")

    self.name = name
    self.symbol = concat(symbol, "-gauge")

    self.period_timestamp[0] = block.timestamp
    self.inflation_params = (
        (CRV20(CRV).future_epoch_time_write() << 216)
        + CRV20(CRV).rate()
    )

    NAME_HASH = keccak256(name)
    salt = block.prevhash
    CACHED_CHAIN_ID = chain.id
    CACHED_DOMAIN_SEPARATOR = keccak256(
        _abi_encode(
            EIP712_TYPEHASH,
            NAME_HASH,
            VERSION_HASH,
            chain.id,
            self,
            salt,
        )
    )


# Internal Functions

@view
@internal
def _domain_separator() -> bytes32:
    if chain.id != CACHED_CHAIN_ID:
        return keccak256(
            _abi_encode(
                EIP712_TYPEHASH,
                NAME_HASH,
                VERSION_HASH,
                chain.id,
                self,
                salt,
            )
        )
    return CACHED_DOMAIN_SEPARATOR


@internal
def _checkpoint(addr: address):
    """
    @notice Checkpoint for a user
    @dev Updates the CRV emissions a user is entitled to receive
    @param addr User address
    """
    _period: int128 = self.period
    _period_time: uint256 = self.period_timestamp[_period]
    _integrate_inv_supply: uint256 = self.integrate_inv_supply[_period]

    inflation_params: uint256 = self.inflation_params
    rate: uint256 = inflation_params % 2 ** 216
    prev_future_epoch: uint256 = inflation_params >> 216
    new_rate: uint256 = rate

    if prev_future_epoch >= _period_time:
        new_rate = CRV20(CRV).rate()
        self.inflation_params = (CRV20(CRV).future_epoch_time_write() << 216) + new_rate

    if self.is_killed:
        # Stop distributing inflation as soon as killed
        rate = 0
        new_rate = 0  # prevent distribution when crossing epochs

    # Update integral of 1/supply
    if block.timestamp > _period_time:
        _working_supply: uint256 = self.working_supply
        Controller(GAUGE_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(GAUGE_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


@internal
def _checkpoint_rewards(_user: address, _total_supply: uint256, _claim: bool, _receiver: address):
    """
    @notice Claim pending rewards and checkpoint rewards for a user
    """
    user_balance: uint256 = 0
    receiver: address = _receiver
    if _user != empty(address):
        user_balance = self.balanceOf[_user]
        if _claim and _receiver == empty(address):
            # if receiver is not explicitly declared, check if a default receiver is set
            receiver = self.rewards_receiver[_user]
            if receiver == empty(address):
                # if no default receiver is set, direct claims to the user
                receiver = _user

    reward_count: uint256 = self.reward_count
    for i in range(MAX_REWARDS):
        if i == reward_count:
            break
        token: address = self.reward_tokens[i]

        integral: uint256 = self.reward_data[token].integral
        last_update: uint256 = min(block.timestamp, self.reward_data[token].period_finish)
        duration: uint256 = last_update - self.reward_data[token].last_update
        if duration != 0:
            self.reward_data[token].last_update = last_update
            if _total_supply != 0:
                integral += duration * self.reward_data[token].rate * 10**18 / _total_supply
                self.reward_data[token].integral = integral

        if _user != empty(address):
            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 = (claim_data >> 128) + new_claimable
            if total_claimable > 0:
                total_claimed: uint256 = claim_data % 2**128
                if _claim:
                    response: Bytes[32] = raw_call(
                        token,
                        _abi_encode(
                            receiver,
                            total_claimable,
                            method_id=method_id("transfer(address,uint256)")
                        ),
                        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 + (total_claimable << 128)


@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_balance: uint256 = VotingEscrowBoost(VEBOOST_PROXY).adjusted_balance_of(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 _transfer(_from: address, _to: address, _value: uint256):
    """
    @notice Transfer tokens as well as checkpoint users
    """
    self._checkpoint(_from)
    self._checkpoint(_to)

    if _value != 0:
        total_supply: uint256 = self.totalSupply
        is_rewards: bool = self.reward_count != 0
        if is_rewards:
            self._checkpoint_rewards(_from, total_supply, False, empty(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, empty(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 User Facing Functions


@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_count != 0
        total_supply: uint256 = self.totalSupply
        if is_rewards:
            self._checkpoint_rewards(_addr, total_supply, _claim_rewards, empty(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)

    log Deposit(_addr, _value)
    log Transfer(empty(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_count != 0
        total_supply: uint256 = self.totalSupply
        if is_rewards:
            self._checkpoint_rewards(msg.sender, total_supply, _claim_rewards, empty(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)

        ERC20(self.lp_token).transfer(msg.sender, _value)

    log Withdraw(msg.sender, _value)
    log Transfer(msg.sender, empty(address), _value)


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


@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_value(uint256):
        self.allowance[_from][msg.sender] = _allowance - _value

    self._transfer(_from, _to, _value)

    return True


@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
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 permit(
    _owner: address,
    _spender: address,
    _value: uint256,
    _deadline: uint256,
    _v: uint8,
    _r: bytes32,
    _s: bytes32
) -> bool:
    """
    @notice Approves spender by owner's signature to expend owner's tokens.
        See https://eips.ethereum.org/EIPS/eip-2612.
    @dev Inspired by https://github.com/yearn/yearn-vaults/blob/main/contracts/Vault.vy#L753-L793
    @dev Supports smart contract wallets which implement ERC1271
        https://eips.ethereum.org/EIPS/eip-1271
    @param _owner The address which is a source of funds and has signed the Permit.
    @param _spender The address which is allowed to spend the funds.
    @param _value The amount of tokens to be spent.
    @param _deadline The timestamp after which the Permit is no longer valid.
    @param _v The bytes[64] of the valid secp256k1 signature of permit by owner
    @param _r The bytes[0:32] of the valid secp256k1 signature of permit by owner
    @param _s The bytes[32:64] of the valid secp256k1 signature of permit by owner
    @return True, if transaction completes successfully
    """
    assert _owner != empty(address)  # dev: invalid owner
    assert block.timestamp <= _deadline  # dev: permit expired

    nonce: uint256 = self.nonces[_owner]
    digest: bytes32 = keccak256(
        concat(
            b"\x19\x01",
            self._domain_separator(),
            keccak256(
                _abi_encode(
                    EIP2612_TYPEHASH, _owner, _spender, _value, nonce, _deadline
                )
            ),
        )
    )
    assert ecrecover(digest, _v, _r, _s) == _owner  # dev: invalid signature

    self.allowance[_owner][_spender] = _value
    self.nonces[_owner] = nonce + 1

    log Approval(_owner, _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
def user_checkpoint(addr: address) -> bool:
    """
    @notice Record a checkpoint for `addr`
    @param addr User address
    @return bool success
    """
    assert msg.sender in [addr, MINTER]  # dev: unauthorized
    self._checkpoint(addr)
    self._update_liquidity_limit(addr, self.balanceOf[addr], self.totalSupply)
    return True


@external
def set_rewards_receiver(_receiver: address):
    """
    @notice Set the default reward receiver for the caller.
    @dev When set to empty(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
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
    """
    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)


# Administrative Functions


@external
@nonreentrant("lock")
def deposit_reward_token(_reward_token: address, _amount: uint256):
    """
    @notice Deposit a reward token for distribution
    @param _reward_token The reward token being deposited
    @param _amount The amount of `_reward_token` being deposited
    """
    assert msg.sender == self.reward_data[_reward_token].distributor

    self._checkpoint_rewards(empty(address), self.totalSupply, False, empty(address))

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

    period_finish: uint256 = self.reward_data[_reward_token].period_finish
    if block.timestamp >= period_finish:
        self.reward_data[_reward_token].rate = _amount / WEEK
    else:
        remaining: uint256 = period_finish - block.timestamp
        leftover: uint256 = remaining * self.reward_data[_reward_token].rate
        self.reward_data[_reward_token].rate = (_amount + leftover) / WEEK

    self.reward_data[_reward_token].last_update = block.timestamp
    self.reward_data[_reward_token].period_finish = block.timestamp + WEEK


@external
def add_reward(_reward_token: address, _distributor: address):
    """
    @notice Add additional rewards to be distributed to stakers
    @param _reward_token The token to add as an additional reward
    @param _distributor Address permitted to fund this contract with the reward token
    """
    assert msg.sender == Factory(self.factory).admin()  # dev: only owner

    reward_count: uint256 = self.reward_count
    assert reward_count < MAX_REWARDS
    assert self.reward_data[_reward_token].distributor == empty(address)

    self.reward_data[_reward_token].distributor = _distributor
    self.reward_tokens[reward_count] = _reward_token
    self.reward_count = reward_count + 1


@external
def set_reward_distributor(_reward_token: address, _distributor: address):
    """
    @notice Reassign the reward distributor for a reward token
    @param _reward_token The reward token to reassign distribution rights to
    @param _distributor The address of the new distributor
    """
    current_distributor: address = self.reward_data[_reward_token].distributor

    assert msg.sender == current_distributor or msg.sender == Factory(self.factory).admin()
    assert current_distributor != empty(address)
    assert _distributor != empty(address)

    self.reward_data[_reward_token].distributor = _distributor


@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 == Factory(self.factory).admin()  # dev: only owner

    self.is_killed = _is_killed


# View Methods


@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(_user: address, _reward_token: address) -> uint256:
    """
    @notice Get the number of claimable reward tokens for a user
    @param _user Account to get reward amount for
    @param _reward_token Token to get reward amount for
    @return uint256 Claimable reward token amount
    """
    integral: uint256 = self.reward_data[_reward_token].integral
    total_supply: uint256 = self.totalSupply
    if total_supply != 0:
        last_update: uint256 = min(block.timestamp, self.reward_data[_reward_token].period_finish)
        duration: uint256 = last_update - self.reward_data[_reward_token].last_update
        integral += (duration * self.reward_data[_reward_token].rate * 10**18 / total_supply)

    integral_for: uint256 = self.reward_integral_for[_reward_token][_user]
    new_claimable: uint256 = self.balanceOf[_user] * (integral - integral_for) / 10**18

    return (self.claim_data[_user][_reward_token] >> 128) + new_claimable


@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(MINTER).minted(addr, self)


@view
@external
def integrate_checkpoint() -> uint256:
    """
    @notice Get the timestamp of the last checkpoint
    """
    return self.period_timestamp[self.period]


@view
@external
def future_epoch_time() -> uint256:
    """
    @notice Get the locally stored CRV future epoch start time
    """
    return self.inflation_params >> 216


@view
@external
def inflation_rate() -> uint256:
    """
    @notice Get the locally stored CRV inflation rate
    """
    return self.inflation_params % 2 ** 216


@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 version() -> String[8]:
    """
    @notice Get the version of this gauge contract
    """
    return VERSION


@view
@external
def DOMAIN_SEPARATOR() -> bytes32:
    """
    @notice EIP712 domain separator.
    """
    return self._domain_separator()

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":true},{"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"}],"outputs":[]},{"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":"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":"transferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"transfer","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"approve","inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"permit","inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_deadline","type":"uint256"},{"name":"_v","type":"uint8"},{"name":"_r","type":"bytes32"},{"name":"_s","type":"bytes32"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"increaseAllowance","inputs":[{"name":"_spender","type":"address"},{"name":"_added_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"decreaseAllowance","inputs":[{"name":"_spender","type":"address"},{"name":"_subtracted_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"user_checkpoint","inputs":[{"name":"addr","type":"address"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"set_rewards_receiver","inputs":[{"name":"_receiver","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"kick","inputs":[{"name":"addr","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"deposit_reward_token","inputs":[{"name":"_reward_token","type":"address"},{"name":"_amount","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"add_reward","inputs":[{"name":"_reward_token","type":"address"},{"name":"_distributor","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_reward_distributor","inputs":[{"name":"_reward_token","type":"address"},{"name":"_distributor","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_killed","inputs":[{"name":"_is_killed","type":"bool"}],"outputs":[]},{"stateMutability":"view","type":"function","name":"claimed_reward","inputs":[{"name":"_addr","type":"address"},{"name":"_token","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"claimable_reward","inputs":[{"name":"_user","type":"address"},{"name":"_reward_token","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"claimable_tokens","inputs":[{"name":"addr","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"integrate_checkpoint","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"future_epoch_time","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"inflation_rate","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"decimals","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"version","inputs":[],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"DOMAIN_SEPARATOR","inputs":[],"outputs":[{"name":"","type":"bytes32"}]},{"stateMutability":"view","type":"function","name":"salt","inputs":[],"outputs":[{"name":"","type":"bytes32"}]},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"allowance","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string"}]},{"stateMutability":"view","type":"function","name":"nonces","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"factory","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"lp_token","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"is_killed","inputs":[],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"view","type":"function","name":"reward_count","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"reward_data","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"token","type":"address"},{"name":"distributor","type":"address"},{"name":"period_finish","type":"uint256"},{"name":"rate","type":"uint256"},{"name":"last_update","type":"uint256"},{"name":"integral","type":"uint256"}]}]},{"stateMutability":"view","type":"function","name":"rewards_receiver","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"reward_integral_for","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"working_balances","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"working_supply","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"integrate_inv_supply_of","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"integrate_checkpoint_of","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"integrate_fraction","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"period","inputs":[],"outputs":[{"name":"","type":"int128"}]},{"stateMutability":"view","type":"function","name":"reward_tokens","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"period_timestamp","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"integrate_inv_supply","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}]}]

61267b515060206129925f395f518060a01c61298e576040523461298e57600c5461298e57604051600c5533600b556040516395d89b4160a052606060a0600460bc845afa610050573d5f5f3e3d5ffd5b60403d1061298e5760a05160a001602081511161298e57805160208201805161014052508061012052505061012090508051602082018051608052508060605250505f6009610100527f43757276652e666920000000000000000000000000000000000000000000000061012052610100805160208201836101a00181518152505080830192505050606051816101a001608051815250808201915050600e610140527f204761756765204465706f73697400000000000000000000000000000000000061016052610140805160208201836101a00181518152505080830192505050806101805261018090508051602082018160c0838360045afa50508060a052505060a0515f81601f0160051c6002811161298e57801561018757905b8060051b60c00151816005015560010181811861016f575b505080600455505f60605181610160016080518152508082019150506006610100527f2d6761756765000000000000000000000000000000000000000000000000000061012052610100805160208201836101600181518152505080830192505050806101405261014090508051602082015f82601f0160051c6002811161298e57801561022857905b8060051b8301518160080155600101818118610211575b5050508060075550504260225563b26b238e610100526020610100600461011c5f73d533a949740bb3306d119cc777fa900ba034cd525af161026c573d5f5f3e3d5ffd5b60203d1061298e576101005160d81b632c4e722e610140526020610140600461015c73d533a949740bb3306d119cc777fa900ba034cd525afa6102b1573d5f5f3e3d5ffd5b60203d1061298e576101405180820182811061298e5790509050600e5560a05160c02061261b52600143034061265b524661263b527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6101205261261b51610140527ffff8816755fb13c9804fb44b52dbb9380dd81eba3e16258e5bd3c7595226aa1d610160524661018052306101a05261265b516101c05260c06101005261010080516020820120905061267b5261261b6103726100003961269b610000f36003361161000c57611937565b5f3560e01c3461260a5763bfa0b133811861003357602061265b5f395f5160405260206040f35b6370a08231811861006c576024361061260a576004358060a01c61260a5760405260016040516020525f5260405f205460605260206060f35b6318160ddd81186100835760025460405260206040f35b63dd62ed3e81186100d9576044361061260a576004358060a01c61260a576040526024358060a01c61260a5760605260036040516020525f5260405f20806060516020525f5260405f2090505460805260206080f35b6306fdde0381186101545760208060405280604001600454602082015f82601f0160051c6002811161260a57801561012457905b80600501548160051b84015260010181811861010d575b505050808252508051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b6395d89b4181186101cf5760208060405280604001600754602082015f82601f0160051c6002811161260a57801561019f57905b80600801548160051b840152600101818118610188575b505050808252508051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b637ecebe008118610208576024361061260a576004358060a01c61260a57604052600a6040516020525f5260405f205460605260206060f35b63c45a0155811861021f57600b5460405260206040f35b6382c63066811861023657600c5460405260206040f35b639c868ac0811861024d57600d5460405260206040f35b63963c94b9811861026457600f5460405260206040f35b6348e9c65e81186102c8576024361061260a576004358060a01c61260a5760405260106040516020525f5260405f2080546060526001810154608052600281015460a052600381015460c052600481015460e0526005810154610100525060c06060f35b6301ddabf18118610301576024361061260a576004358060a01c61260a5760405260116040516020525f5260405f205460605260206060f35b63f05cc0588118610357576044361061260a576004358060a01c61260a576040526024358060a01c61260a5760605260126040516020525f5260405f20806060516020525f5260405f2090505460805260206080f35b6313ecb1ca8118610390576024361061260a576004358060a01c61260a5760405260146040516020525f5260405f205460605260206060f35b6317e2808981186103a75760155460405260206040f35b63de263bfa81186103e0576024361061260a576004358060a01c61260a5760405260166040516020525f5260405f205460605260206060f35b639bd324f28118610419576024361061260a576004358060a01c61260a5760405260176040516020525f5260405f205460605260206060f35b63094007078118610452576024361061260a576004358060a01c61260a5760405260186040516020525f5260405f205460605260206060f35b63ef78d4fd81186104695760195460405260206040f35b6354c49fe98118610494576024361061260a576004356007811161260a57601a015460405260206040f35b637598108c81186104cb576024361061260a576004356c01431e0fae6d7217ca9fffffff811161260a576022015460405260206040f35b63fec8ee0c811861050e576024361061260a576004356c01431e0fae6d7217ca9fffffff811161260a576c01431e0fae6d7217caa0000022015460405260206040f35b63b6b55f258118610530576024361061260a5733610360525f6103805261058e565b636e553f65811861055c576044361061260a576024358060a01c61260a57610360525f6103805261058e565b6383df67478118610722576064361061260a576024358060a01c61260a57610360526044358060011c61260a57610380525b5f5460021461260a5760025f55610360516040526105aa6119da565b600435156106b757600f5415156103a0526002546103c0526103a051156105ec57610360516040526103c051606052610380516080525f60a0526105ec611f14565b6103c05160043580820182811061260a57905090506103c0526001610360516020525f5260405f205460043580820182811061260a57905090506103e0526103e0516001610360516020525f5260405f20556103c051600255610360516040526103e0516060526103c0516080526106626122ec565b600c546323b872dd6104005233610420523061044052600435610460526020610400606461041c5f855af1610699573d5f5f3e3d5ffd5b60203d1061260a57610400518060011c61260a576104805261048050505b610360517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c6004356103a05260206103a0a2610360515f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6004356103a05260206103a0a360035f55005b632e1a7d4d811861073f576024361061260a575f61036052610762565b6338d0743681186108dc576044361061260a576024358060011c61260a57610360525b5f5460021461260a5760025f553360405261077b6119da565b6004351561087757600f541515610380526002546103a05261038051156107ba57336040526103a051606052610360516080525f60a0526107ba611f14565b6103a05160043580820382811161260a57905090506103a0526001336020525f5260405f205460043580820382811161260a57905090506103c0526103c0516001336020525f5260405f20556103a051600255336040526103c0516060526103a0516080526108276122ec565b600c5463a9059cbb6103e05233610400526004356104205260206103e060446103fc5f855af1610859573d5f5f3e3d5ffd5b60203d1061260a576103e0518060011c61260a576104405261044050505b337f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364600435610380526020610380a25f337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600435610380526020610380a360035f55005b63e6f1daf281186108f65733610360525f61038052610954565b6384e9bd7e8118610922576024361061260a576004358060a01c61260a57610360525f61038052610954565b639faceb1b811861099c576044361061260a576004358060a01c61260a57610360526024358060a01c61260a57610380525b5f5460021461260a5760025f5561038051156109755733610360511861260a575b6103605160405260025460605260016080526103805160a052610996611f14565b60035f55005b6323b872dd8118610a88576064361061260a576004358060a01c61260a57610420526024358060a01c61260a57610440525f5460021461260a5760025f556003610420516020525f5260405f2080336020525f5260405f20905054610460527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6104605114610a58576104605160443580820382811161260a57905090506003610420516020525f5260405f2080336020525f5260405f209050555b610420516103605261044051610380526044356103a052610a776124a2565b600161048052602061048060035f55f35b63a9059cbb8118610ae4576044361061260a576004358060a01c61260a57610420525f5460021461260a5760025f55336103605261042051610380526024356103a052610ad36124a2565b600161044052602061044060035f55f35b63095ea7b38118610b5f576044361061260a576004358060a01c61260a576040526024356003336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560243560605260206060a3600160605260206060f35b63d505accf8118610d5e5760e4361061260a576004358060a01c61260a57610120526024358060a01c61260a57610140526084358060081c61260a5761016052610120511561260a57606435421161260a57600a610120516020525f5260405f2054610180525f60026101c0527f19010000000000000000000000000000000000000000000000000000000000006101e0526101c0805160208201836103200181518152505080830192505050610c1761020061193b565b610200518161032001526020810190507f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c961024052610120516102605261014051610280526044356102a052610180516102c0526064356102e05260c061022052610220805160208201209050816103200152602081019050806103005261030090508051602082012090506101a052610120516101a0516101c052610160516101e052604060a46102003760205f60806101c060015afa505f511861260a576044356003610120516020525f5260405f2080610140516020525f5260405f20905055610180516001810181811061260a579050600a610120516020525f5260405f205561014051610120517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256044356101c05260206101c0a360016101c05260206101c0f35b63395093518118610e09576044361061260a576004358060a01c61260a576040526003336020525f5260405f20806040516020525f5260405f2090505460243580820182811061260a57905090506060526060516003336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560605160805260206080a3600160805260206080f35b63a457c2d78118610eb4576044361061260a576004358060a01c61260a576040526003336020525f5260405f20806040516020525f5260405f2090505460243580820382811161260a57905090506060526060516003336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560605160805260206080a3600160805260206080f35b634b8200938118610f4c576024361061260a576004358060a01c61260a576102605233610260518118610ee8576001610f01565b73d061d61a4d941c39e5453435b6345dc261c2fce08118155b90501561260a5761026051604052610f176119da565b610260516040526001610260516020525f5260405f2054606052600254608052610f3f6122ec565b6001610280526020610280f35b63bdf981168118610f7f576024361061260a576004358060a01c61260a576040526040516011336020525f5260405f2055005b6396c551758118611132576024361061260a576004358060a01c61260a57610260526017610260516020525f5260405f20546102805263da020a1861030052610260516103205263010ae7576102c052610260516102e05260206102c060246102dc735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa611004573d5f5f3e3d5ffd5b60203d1061260a576102c051610340526020610300604461031c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa611041573d5f5f3e3d5ffd5b60203d1061260a57610300516102a0526001610260516020525f5260405f20546102c0526370a082316102e052610260516103005260206102e060246102fc735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa6110a3573d5f5f3e3d5ffd5b60203d1061260a576102e0516110ba5760016110c4565b610280516102a051115b1561260a576102c0516028810281602882041861260a5790506064810490506014610260516020525f5260405f2054111561260a57610260516040526111086119da565b610260516040526001610260516020525f5260405f20546060526002546080526111306122ec565b005b6393f7aa67811861132a576044361061260a576004358060a01c61260a57610360525f5460021461260a5760025f556010610360516020525f5260405f2060018101905054331861260a575f604052600254606052604036608037611195611f14565b6323b872dd6103c4526004336103e4523061040452602435610424526060016103c0526103c05060206104806103c0516103e05f610360515af16111db573d5f5f3e3d5ffd5b3d602081183d60201002186104605261046080516020820180516103a0525080610380525050610380511561121f576103a0516103805160200360031b1c1561260a575b6010610360516020525f5260405f20600281019050546103c0526103c0514210156112c5576103c0514280820382811161260a57905090506103e0526103e0516010610360516020525f5260405f206003810190505480820281158383830414171561260a5790509050610400526024356104005180820182811061260a579050905062093a80810490506010610360516020525f5260405f20600381019050556112e7565b60243562093a80810490506010610360516020525f5260405f20600381019050555b426010610360516020525f5260405f20600481019050554262093a80810181811061260a5790506010610360516020525f5260405f206002810190505560035f55005b63e8de0d4d8118611404576044361061260a576004358060a01c61260a576040526024358060a01c61260a57606052600b5463f851a440608052602060806004609c845afa61137b573d5f5f3e3d5ffd5b60203d1061260a576080518060a01c61260a5760c05260c0905051331861260a57600f5460805260076080511161260a5760106040516020525f5260405f206001810190505461260a5760605160106040516020525f5260405f20600181019050556040516080516007811161260a57601a01556080516001810181811061260a579050600f55005b63058a3a2481186114cb576044361061260a576004358060a01c61260a576040526024358060a01c61260a5760605260106040516020525f5260405f2060018101905054608052608051331861145b57600161149c565b600b5463f851a44060a052602060a0600460bc845afa61147d573d5f5f3e3d5ffd5b60203d1061260a5760a0518060a01c61260a5760e05260e09050513318155b1561260a576080511561260a576060511561260a5760605160106040516020525f5260405f2060018101905055005b6390b229978118611537576024361061260a576004358060011c61260a57604052600b5463f851a440606052602060606004607c845afa61150e573d5f5f3e3d5ffd5b60203d1061260a576060518060a01c61260a5760a05260a0905051331861260a57604051600d55005b63e77e743781186115a2576044361061260a576004358060a01c61260a576040526024358060a01c61260a5760605260136040516020525f5260405f20806060516020525f5260405f209050546fffffffffffffffffffffffffffffffff8116905060805260206080f35b6333fd6f74811861175a576044361061260a576004358060a01c61260a576040526024358060a01c61260a5760605260106060516020525f5260405f206005810190505460805260025460a05260a051156116b5574260106060516020525f5260405f20600281019050548082811882841002189050905060c05260c05160106060516020525f5260405f206004810190505480820382811161260a579050905060e05260805160e05160106060516020525f5260405f206003810190505480820281158383830414171561260a5790509050670de0b6b3a7640000810281670de0b6b3a764000082041861260a57905060a051801561260a578082049050905080820182811061260a57905090506080525b60126060516020525f5260405f20806040516020525f5260405f2090505460c05260016040516020525f5260405f205460805160c05180820382811161260a579050905080820281158383830414171561260a5790509050670de0b6b3a76400008104905060e05260136040516020525f5260405f20806060516020525f5260405f2090505460801c60e05180820182811061260a5790509050610100526020610100f35b63331345838118611803576024361061260a576004358060a01c61260a57610260526102605160405261178b6119da565b6018610260516020525f5260405f2054638b752bb061028052610260516102a052306102c0526020610280604461029c73d061d61a4d941c39e5453435b6345dc261c2fce05afa6117de573d5f5f3e3d5ffd5b60203d1061260a576102805180820382811161260a57905090506102e05260206102e0f35b63d31f3f6d8118611832576019546c01431e0fae6d7217ca9fffffff811161260a576022015460405260206040f35b63be5d1be9811861184c57600e5460d81c60405260206040f35b63180692d0811861188357600e547affffffffffffffffffffffffffffffffffffffffffffffffffffff8116905060405260206040f35b63313ce567811861189957601260405260206040f35b6354fd4d5081186119185760208060805260066040527f76362e302e30000000000000000000000000000000000000000000000000000060605260408160800181516020830160208301815181525050808252508051806020830101601f825f03163682375050601f19601f8251602001011690509050810190506080f35b633644e515811861193557602061193061012061193b565b610120f35b505b5f5ffd5b602061263b5f395f5146146119cb577f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f606052602061261b5f395f516080527ffff8816755fb13c9804fb44b52dbb9380dd81eba3e16258e5bd3c7595226aa1d60a0524660c0523060e052602061265b5f395f516101005260c060405260408051602082012090508152506119d8565b602061267b5f395f518152505b565b6019546060526060516c01431e0fae6d7217ca9fffffff811161260a57602201546080526060516c01431e0fae6d7217ca9fffffff811161260a576c01431e0fae6d7217caa0000022015460a052600e5460c05260c0517affffffffffffffffffffffffffffffffffffffffffffffffffffff8116905060e05260c05160d81c6101005260e051610120526080516101005110611b1357632c4e722e610140526020610140600461015c73d533a949740bb3306d119cc777fa900ba034cd525afa611aa7573d5f5f3e3d5ffd5b60203d1061260a57610140516101205263b26b238e610140526020610140600461015c5f73d533a949740bb3306d119cc777fa900ba034cd525af1611aee573d5f5f3e3d5ffd5b60203d1061260a576101405160d81b6101205180820182811061260a5790509050600e555b600d5415611b25575f60e0525f610120525b608051421115611e15576015546101405263615e5237610160523061018052732f50d538606fa9edd2b11e2446beb18c9d5846bb3b1561260a575f610160602461017c5f732f50d538606fa9edd2b11e2446beb18c9d5846bb5af1611b8c573d5f5f3e3d5ffd5b6080516101605260805162093a80810181811061260a57905062093a808104905062093a8081028162093a8082041861260a5790504280828118828410021890509050610180525f6101f4905b806101a052610180516101605180820382811161260a57905090506101c05263d3078c946102005230610220526101605162093a808104905062093a8081028162093a8082041861260a579050610240526020610200604461021c732f50d538606fa9edd2b11e2446beb18c9d5846bb5afa611c57573d5f5f3e3d5ffd5b60203d1061260a57610200516101e0526101405115611dcb5761016051610100511015611c84575f611c8e565b6101805161010051105b611cef5760a05160e0516101e05180820281158383830414171561260a57905090506101c05180820281158383830414171561260a579050905061014051801561260a578082049050905080820182811061260a579050905060a052611dcb565b60a05160e0516101e05180820281158383830414171561260a5790509050610100516101605180820382811161260a579050905080820281158383830414171561260a579050905061014051801561260a578082049050905080820182811061260a579050905060a0526101205160e05260a05160e0516101e05180820281158383830414171561260a5790509050610180516101005180820382811161260a579050905080820281158383830414171561260a579050905061014051801561260a578082049050905080820182811061260a579050905060a0525b426101805118611dda57611e12565b61018051610160526101805162093a80810181811061260a579050428082811882841002189050905061018052600101818118611bd9575b50505b6060516001810180600f0b811861260a579050606052606051601955426060516c01431e0fae6d7217ca9fffffff811161260a576022015560a0516060516c01431e0fae6d7217ca9fffffff811161260a576c01431e0fae6d7217caa0000022015560146040516020525f5260405f20546101405260186040516020525f5260405f2080546101405160a05160166040516020525f5260405f205480820382811161260a579050905080820281158383830414171561260a5790509050670de0b6b3a76400008104905080820182811061260a579050905081555060a05160166040516020525f5260405f20554260176040516020525f5260405f2055565b5f60c05260a05160e05260405115611f6f5760016040516020525f5260405f205460c052608051611f45575f611f4a565b60a051155b15611f6f5760116040516020525f5260405f205460e05260e051611f6f5760405160e0525b600f54610100525f6008905b8061012052610100516101205118611f92576122e8565b610120516007811161260a57601a0154610140526010610140516020525f5260405f206005810190505461016052426010610140516020525f5260405f20600281019050548082811882841002189050905061018052610180516010610140516020525f5260405f206004810190505480820382811161260a57905090506101a0526101a051156120cc57610180516010610140516020525f5260405f2060048101905055606051156120cc57610160516101a0516010610140516020525f5260405f206003810190505480820281158383830414171561260a5790509050670de0b6b3a7640000810281670de0b6b3a764000082041861260a579050606051801561260a578082049050905080820182811061260a579050905061016052610160516010610140516020525f5260405f20600581019050555b604051156122dd576012610140516020525f5260405f20806040516020525f5260405f209050546101c0525f6101e052610160516101c051101561216c57610160516012610140516020525f5260405f20806040516020525f5260405f2090505560c051610160516101c05180820382811161260a579050905080820281158383830414171561260a5790509050670de0b6b3a7640000810490506101e0525b60136040516020525f5260405f2080610140516020525f5260405f20905054610200526102005160801c6101e05180820182811061260a57905090506102205261022051156122dd57610200516fffffffffffffffffffffffffffffffff811690506102405260805161221f576101e051156122dd57610240516102205160801b80820182811061260a579050905060136040516020525f5260405f2080610140516020525f5260405f209050556122dd565b63a9059cbb6102a452600460e0516102c452610220516102e4526040016102a0526102a05060206103406102a0516102c05f610140515af1612263573d5f5f3e3d5ffd5b3d602081183d602010021861032052610320805160208201805161028052508061026052505061026051156122a757610280516102605160200360031b1c1561260a575b610240516102205180820182811061260a579050905060136040516020525f5260405f2080610140516020525f5260405f209050555b600101818118611f7b575b5050565b63bbf7408a60c05260405160e052602060c0602460dc738e0c00ed546602fd9927df742bbabf726d5b0d165afa612325573d5f5f3e3d5ffd5b60203d1061260a5760c05160a0526318160ddd60e052602060e0600460fc735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa612366573d5f5f3e3d5ffd5b60203d1061260a5760e05160c0526060516028810281602882041861260a57905060648104905060e05260c051156123ed5760e05160805160a05180820281158383830414171561260a579050905060c051801561260a5780820490509050603c810281603c82041861260a57905060648104905080820182811061260a579050905060e0525b60605160e0518082811882841002189050905060e05260146040516020525f5260405f20546101005260e05160146040516020525f5260405f205560155460e05180820182811061260a57905090506101005180820382811161260a579050905061012052610120516015556040517f7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a3606051610140526080516101605260e05161018052610120516101a0526080610140a2565b610360516040526124b16119da565b610380516040526124c06119da565b6103a051156125d1576002546103c052600f5415156103e0526103e051156124fe57610360516040526103c0516060526040366080376124fe611f14565b6001610360516020525f5260405f20546103a05180820382811161260a579050905061040052610400516001610360516020525f5260405f205561036051604052610400516060526103c0516080526125556122ec565b6103e0511561257a57610380516040526103c05160605260403660803761257a611f14565b6001610380516020525f5260405f20546103a05180820182811061260a579050905061040052610400516001610380516020525f5260405f205561038051604052610400516060526103c0516080526125d16122ec565b61038051610360517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6103a0516103c05260206103c0a3565b5f80fda165767970657283000309000b005b5f80fd000000000000000000000000f5f5b97624542d72a9e06f04804bf81baa15e2b4

Deployed Bytecode

0x6003361161000c57611937565b5f3560e01c3461260a5763bfa0b133811861003357602061265b5f395f5160405260206040f35b6370a08231811861006c576024361061260a576004358060a01c61260a5760405260016040516020525f5260405f205460605260206060f35b6318160ddd81186100835760025460405260206040f35b63dd62ed3e81186100d9576044361061260a576004358060a01c61260a576040526024358060a01c61260a5760605260036040516020525f5260405f20806060516020525f5260405f2090505460805260206080f35b6306fdde0381186101545760208060405280604001600454602082015f82601f0160051c6002811161260a57801561012457905b80600501548160051b84015260010181811861010d575b505050808252508051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b6395d89b4181186101cf5760208060405280604001600754602082015f82601f0160051c6002811161260a57801561019f57905b80600801548160051b840152600101818118610188575b505050808252508051806020830101601f825f03163682375050601f19601f825160200101169050810190506040f35b637ecebe008118610208576024361061260a576004358060a01c61260a57604052600a6040516020525f5260405f205460605260206060f35b63c45a0155811861021f57600b5460405260206040f35b6382c63066811861023657600c5460405260206040f35b639c868ac0811861024d57600d5460405260206040f35b63963c94b9811861026457600f5460405260206040f35b6348e9c65e81186102c8576024361061260a576004358060a01c61260a5760405260106040516020525f5260405f2080546060526001810154608052600281015460a052600381015460c052600481015460e0526005810154610100525060c06060f35b6301ddabf18118610301576024361061260a576004358060a01c61260a5760405260116040516020525f5260405f205460605260206060f35b63f05cc0588118610357576044361061260a576004358060a01c61260a576040526024358060a01c61260a5760605260126040516020525f5260405f20806060516020525f5260405f2090505460805260206080f35b6313ecb1ca8118610390576024361061260a576004358060a01c61260a5760405260146040516020525f5260405f205460605260206060f35b6317e2808981186103a75760155460405260206040f35b63de263bfa81186103e0576024361061260a576004358060a01c61260a5760405260166040516020525f5260405f205460605260206060f35b639bd324f28118610419576024361061260a576004358060a01c61260a5760405260176040516020525f5260405f205460605260206060f35b63094007078118610452576024361061260a576004358060a01c61260a5760405260186040516020525f5260405f205460605260206060f35b63ef78d4fd81186104695760195460405260206040f35b6354c49fe98118610494576024361061260a576004356007811161260a57601a015460405260206040f35b637598108c81186104cb576024361061260a576004356c01431e0fae6d7217ca9fffffff811161260a576022015460405260206040f35b63fec8ee0c811861050e576024361061260a576004356c01431e0fae6d7217ca9fffffff811161260a576c01431e0fae6d7217caa0000022015460405260206040f35b63b6b55f258118610530576024361061260a5733610360525f6103805261058e565b636e553f65811861055c576044361061260a576024358060a01c61260a57610360525f6103805261058e565b6383df67478118610722576064361061260a576024358060a01c61260a57610360526044358060011c61260a57610380525b5f5460021461260a5760025f55610360516040526105aa6119da565b600435156106b757600f5415156103a0526002546103c0526103a051156105ec57610360516040526103c051606052610380516080525f60a0526105ec611f14565b6103c05160043580820182811061260a57905090506103c0526001610360516020525f5260405f205460043580820182811061260a57905090506103e0526103e0516001610360516020525f5260405f20556103c051600255610360516040526103e0516060526103c0516080526106626122ec565b600c546323b872dd6104005233610420523061044052600435610460526020610400606461041c5f855af1610699573d5f5f3e3d5ffd5b60203d1061260a57610400518060011c61260a576104805261048050505b610360517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c6004356103a05260206103a0a2610360515f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6004356103a05260206103a0a360035f55005b632e1a7d4d811861073f576024361061260a575f61036052610762565b6338d0743681186108dc576044361061260a576024358060011c61260a57610360525b5f5460021461260a5760025f553360405261077b6119da565b6004351561087757600f541515610380526002546103a05261038051156107ba57336040526103a051606052610360516080525f60a0526107ba611f14565b6103a05160043580820382811161260a57905090506103a0526001336020525f5260405f205460043580820382811161260a57905090506103c0526103c0516001336020525f5260405f20556103a051600255336040526103c0516060526103a0516080526108276122ec565b600c5463a9059cbb6103e05233610400526004356104205260206103e060446103fc5f855af1610859573d5f5f3e3d5ffd5b60203d1061260a576103e0518060011c61260a576104405261044050505b337f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364600435610380526020610380a25f337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600435610380526020610380a360035f55005b63e6f1daf281186108f65733610360525f61038052610954565b6384e9bd7e8118610922576024361061260a576004358060a01c61260a57610360525f61038052610954565b639faceb1b811861099c576044361061260a576004358060a01c61260a57610360526024358060a01c61260a57610380525b5f5460021461260a5760025f5561038051156109755733610360511861260a575b6103605160405260025460605260016080526103805160a052610996611f14565b60035f55005b6323b872dd8118610a88576064361061260a576004358060a01c61260a57610420526024358060a01c61260a57610440525f5460021461260a5760025f556003610420516020525f5260405f2080336020525f5260405f20905054610460527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6104605114610a58576104605160443580820382811161260a57905090506003610420516020525f5260405f2080336020525f5260405f209050555b610420516103605261044051610380526044356103a052610a776124a2565b600161048052602061048060035f55f35b63a9059cbb8118610ae4576044361061260a576004358060a01c61260a57610420525f5460021461260a5760025f55336103605261042051610380526024356103a052610ad36124a2565b600161044052602061044060035f55f35b63095ea7b38118610b5f576044361061260a576004358060a01c61260a576040526024356003336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560243560605260206060a3600160605260206060f35b63d505accf8118610d5e5760e4361061260a576004358060a01c61260a57610120526024358060a01c61260a57610140526084358060081c61260a5761016052610120511561260a57606435421161260a57600a610120516020525f5260405f2054610180525f60026101c0527f19010000000000000000000000000000000000000000000000000000000000006101e0526101c0805160208201836103200181518152505080830192505050610c1761020061193b565b610200518161032001526020810190507f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c961024052610120516102605261014051610280526044356102a052610180516102c0526064356102e05260c061022052610220805160208201209050816103200152602081019050806103005261030090508051602082012090506101a052610120516101a0516101c052610160516101e052604060a46102003760205f60806101c060015afa505f511861260a576044356003610120516020525f5260405f2080610140516020525f5260405f20905055610180516001810181811061260a579050600a610120516020525f5260405f205561014051610120517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256044356101c05260206101c0a360016101c05260206101c0f35b63395093518118610e09576044361061260a576004358060a01c61260a576040526003336020525f5260405f20806040516020525f5260405f2090505460243580820182811061260a57905090506060526060516003336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560605160805260206080a3600160805260206080f35b63a457c2d78118610eb4576044361061260a576004358060a01c61260a576040526003336020525f5260405f20806040516020525f5260405f2090505460243580820382811161260a57905090506060526060516003336020525f5260405f20806040516020525f5260405f20905055604051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560605160805260206080a3600160805260206080f35b634b8200938118610f4c576024361061260a576004358060a01c61260a576102605233610260518118610ee8576001610f01565b73d061d61a4d941c39e5453435b6345dc261c2fce08118155b90501561260a5761026051604052610f176119da565b610260516040526001610260516020525f5260405f2054606052600254608052610f3f6122ec565b6001610280526020610280f35b63bdf981168118610f7f576024361061260a576004358060a01c61260a576040526040516011336020525f5260405f2055005b6396c551758118611132576024361061260a576004358060a01c61260a57610260526017610260516020525f5260405f20546102805263da020a1861030052610260516103205263010ae7576102c052610260516102e05260206102c060246102dc735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa611004573d5f5f3e3d5ffd5b60203d1061260a576102c051610340526020610300604461031c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa611041573d5f5f3e3d5ffd5b60203d1061260a57610300516102a0526001610260516020525f5260405f20546102c0526370a082316102e052610260516103005260206102e060246102fc735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa6110a3573d5f5f3e3d5ffd5b60203d1061260a576102e0516110ba5760016110c4565b610280516102a051115b1561260a576102c0516028810281602882041861260a5790506064810490506014610260516020525f5260405f2054111561260a57610260516040526111086119da565b610260516040526001610260516020525f5260405f20546060526002546080526111306122ec565b005b6393f7aa67811861132a576044361061260a576004358060a01c61260a57610360525f5460021461260a5760025f556010610360516020525f5260405f2060018101905054331861260a575f604052600254606052604036608037611195611f14565b6323b872dd6103c4526004336103e4523061040452602435610424526060016103c0526103c05060206104806103c0516103e05f610360515af16111db573d5f5f3e3d5ffd5b3d602081183d60201002186104605261046080516020820180516103a0525080610380525050610380511561121f576103a0516103805160200360031b1c1561260a575b6010610360516020525f5260405f20600281019050546103c0526103c0514210156112c5576103c0514280820382811161260a57905090506103e0526103e0516010610360516020525f5260405f206003810190505480820281158383830414171561260a5790509050610400526024356104005180820182811061260a579050905062093a80810490506010610360516020525f5260405f20600381019050556112e7565b60243562093a80810490506010610360516020525f5260405f20600381019050555b426010610360516020525f5260405f20600481019050554262093a80810181811061260a5790506010610360516020525f5260405f206002810190505560035f55005b63e8de0d4d8118611404576044361061260a576004358060a01c61260a576040526024358060a01c61260a57606052600b5463f851a440608052602060806004609c845afa61137b573d5f5f3e3d5ffd5b60203d1061260a576080518060a01c61260a5760c05260c0905051331861260a57600f5460805260076080511161260a5760106040516020525f5260405f206001810190505461260a5760605160106040516020525f5260405f20600181019050556040516080516007811161260a57601a01556080516001810181811061260a579050600f55005b63058a3a2481186114cb576044361061260a576004358060a01c61260a576040526024358060a01c61260a5760605260106040516020525f5260405f2060018101905054608052608051331861145b57600161149c565b600b5463f851a44060a052602060a0600460bc845afa61147d573d5f5f3e3d5ffd5b60203d1061260a5760a0518060a01c61260a5760e05260e09050513318155b1561260a576080511561260a576060511561260a5760605160106040516020525f5260405f2060018101905055005b6390b229978118611537576024361061260a576004358060011c61260a57604052600b5463f851a440606052602060606004607c845afa61150e573d5f5f3e3d5ffd5b60203d1061260a576060518060a01c61260a5760a05260a0905051331861260a57604051600d55005b63e77e743781186115a2576044361061260a576004358060a01c61260a576040526024358060a01c61260a5760605260136040516020525f5260405f20806060516020525f5260405f209050546fffffffffffffffffffffffffffffffff8116905060805260206080f35b6333fd6f74811861175a576044361061260a576004358060a01c61260a576040526024358060a01c61260a5760605260106060516020525f5260405f206005810190505460805260025460a05260a051156116b5574260106060516020525f5260405f20600281019050548082811882841002189050905060c05260c05160106060516020525f5260405f206004810190505480820382811161260a579050905060e05260805160e05160106060516020525f5260405f206003810190505480820281158383830414171561260a5790509050670de0b6b3a7640000810281670de0b6b3a764000082041861260a57905060a051801561260a578082049050905080820182811061260a57905090506080525b60126060516020525f5260405f20806040516020525f5260405f2090505460c05260016040516020525f5260405f205460805160c05180820382811161260a579050905080820281158383830414171561260a5790509050670de0b6b3a76400008104905060e05260136040516020525f5260405f20806060516020525f5260405f2090505460801c60e05180820182811061260a5790509050610100526020610100f35b63331345838118611803576024361061260a576004358060a01c61260a57610260526102605160405261178b6119da565b6018610260516020525f5260405f2054638b752bb061028052610260516102a052306102c0526020610280604461029c73d061d61a4d941c39e5453435b6345dc261c2fce05afa6117de573d5f5f3e3d5ffd5b60203d1061260a576102805180820382811161260a57905090506102e05260206102e0f35b63d31f3f6d8118611832576019546c01431e0fae6d7217ca9fffffff811161260a576022015460405260206040f35b63be5d1be9811861184c57600e5460d81c60405260206040f35b63180692d0811861188357600e547affffffffffffffffffffffffffffffffffffffffffffffffffffff8116905060405260206040f35b63313ce567811861189957601260405260206040f35b6354fd4d5081186119185760208060805260066040527f76362e302e30000000000000000000000000000000000000000000000000000060605260408160800181516020830160208301815181525050808252508051806020830101601f825f03163682375050601f19601f8251602001011690509050810190506080f35b633644e515811861193557602061193061012061193b565b610120f35b505b5f5ffd5b602061263b5f395f5146146119cb577f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f606052602061261b5f395f516080527ffff8816755fb13c9804fb44b52dbb9380dd81eba3e16258e5bd3c7595226aa1d60a0524660c0523060e052602061265b5f395f516101005260c060405260408051602082012090508152506119d8565b602061267b5f395f518152505b565b6019546060526060516c01431e0fae6d7217ca9fffffff811161260a57602201546080526060516c01431e0fae6d7217ca9fffffff811161260a576c01431e0fae6d7217caa0000022015460a052600e5460c05260c0517affffffffffffffffffffffffffffffffffffffffffffffffffffff8116905060e05260c05160d81c6101005260e051610120526080516101005110611b1357632c4e722e610140526020610140600461015c73d533a949740bb3306d119cc777fa900ba034cd525afa611aa7573d5f5f3e3d5ffd5b60203d1061260a57610140516101205263b26b238e610140526020610140600461015c5f73d533a949740bb3306d119cc777fa900ba034cd525af1611aee573d5f5f3e3d5ffd5b60203d1061260a576101405160d81b6101205180820182811061260a5790509050600e555b600d5415611b25575f60e0525f610120525b608051421115611e15576015546101405263615e5237610160523061018052732f50d538606fa9edd2b11e2446beb18c9d5846bb3b1561260a575f610160602461017c5f732f50d538606fa9edd2b11e2446beb18c9d5846bb5af1611b8c573d5f5f3e3d5ffd5b6080516101605260805162093a80810181811061260a57905062093a808104905062093a8081028162093a8082041861260a5790504280828118828410021890509050610180525f6101f4905b806101a052610180516101605180820382811161260a57905090506101c05263d3078c946102005230610220526101605162093a808104905062093a8081028162093a8082041861260a579050610240526020610200604461021c732f50d538606fa9edd2b11e2446beb18c9d5846bb5afa611c57573d5f5f3e3d5ffd5b60203d1061260a57610200516101e0526101405115611dcb5761016051610100511015611c84575f611c8e565b6101805161010051105b611cef5760a05160e0516101e05180820281158383830414171561260a57905090506101c05180820281158383830414171561260a579050905061014051801561260a578082049050905080820182811061260a579050905060a052611dcb565b60a05160e0516101e05180820281158383830414171561260a5790509050610100516101605180820382811161260a579050905080820281158383830414171561260a579050905061014051801561260a578082049050905080820182811061260a579050905060a0526101205160e05260a05160e0516101e05180820281158383830414171561260a5790509050610180516101005180820382811161260a579050905080820281158383830414171561260a579050905061014051801561260a578082049050905080820182811061260a579050905060a0525b426101805118611dda57611e12565b61018051610160526101805162093a80810181811061260a579050428082811882841002189050905061018052600101818118611bd9575b50505b6060516001810180600f0b811861260a579050606052606051601955426060516c01431e0fae6d7217ca9fffffff811161260a576022015560a0516060516c01431e0fae6d7217ca9fffffff811161260a576c01431e0fae6d7217caa0000022015560146040516020525f5260405f20546101405260186040516020525f5260405f2080546101405160a05160166040516020525f5260405f205480820382811161260a579050905080820281158383830414171561260a5790509050670de0b6b3a76400008104905080820182811061260a579050905081555060a05160166040516020525f5260405f20554260176040516020525f5260405f2055565b5f60c05260a05160e05260405115611f6f5760016040516020525f5260405f205460c052608051611f45575f611f4a565b60a051155b15611f6f5760116040516020525f5260405f205460e05260e051611f6f5760405160e0525b600f54610100525f6008905b8061012052610100516101205118611f92576122e8565b610120516007811161260a57601a0154610140526010610140516020525f5260405f206005810190505461016052426010610140516020525f5260405f20600281019050548082811882841002189050905061018052610180516010610140516020525f5260405f206004810190505480820382811161260a57905090506101a0526101a051156120cc57610180516010610140516020525f5260405f2060048101905055606051156120cc57610160516101a0516010610140516020525f5260405f206003810190505480820281158383830414171561260a5790509050670de0b6b3a7640000810281670de0b6b3a764000082041861260a579050606051801561260a578082049050905080820182811061260a579050905061016052610160516010610140516020525f5260405f20600581019050555b604051156122dd576012610140516020525f5260405f20806040516020525f5260405f209050546101c0525f6101e052610160516101c051101561216c57610160516012610140516020525f5260405f20806040516020525f5260405f2090505560c051610160516101c05180820382811161260a579050905080820281158383830414171561260a5790509050670de0b6b3a7640000810490506101e0525b60136040516020525f5260405f2080610140516020525f5260405f20905054610200526102005160801c6101e05180820182811061260a57905090506102205261022051156122dd57610200516fffffffffffffffffffffffffffffffff811690506102405260805161221f576101e051156122dd57610240516102205160801b80820182811061260a579050905060136040516020525f5260405f2080610140516020525f5260405f209050556122dd565b63a9059cbb6102a452600460e0516102c452610220516102e4526040016102a0526102a05060206103406102a0516102c05f610140515af1612263573d5f5f3e3d5ffd5b3d602081183d602010021861032052610320805160208201805161028052508061026052505061026051156122a757610280516102605160200360031b1c1561260a575b610240516102205180820182811061260a579050905060136040516020525f5260405f2080610140516020525f5260405f209050555b600101818118611f7b575b5050565b63bbf7408a60c05260405160e052602060c0602460dc738e0c00ed546602fd9927df742bbabf726d5b0d165afa612325573d5f5f3e3d5ffd5b60203d1061260a5760c05160a0526318160ddd60e052602060e0600460fc735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa612366573d5f5f3e3d5ffd5b60203d1061260a5760e05160c0526060516028810281602882041861260a57905060648104905060e05260c051156123ed5760e05160805160a05180820281158383830414171561260a579050905060c051801561260a5780820490509050603c810281603c82041861260a57905060648104905080820182811061260a579050905060e0525b60605160e0518082811882841002189050905060e05260146040516020525f5260405f20546101005260e05160146040516020525f5260405f205560155460e05180820182811061260a57905090506101005180820382811161260a579050905061012052610120516015556040517f7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a3606051610140526080516101605260e05161018052610120516101a0526080610140a2565b610360516040526124b16119da565b610380516040526124c06119da565b6103a051156125d1576002546103c052600f5415156103e0526103e051156124fe57610360516040526103c0516060526040366080376124fe611f14565b6001610360516020525f5260405f20546103a05180820382811161260a579050905061040052610400516001610360516020525f5260405f205561036051604052610400516060526103c0516080526125556122ec565b6103e0511561257a57610380516040526103c05160605260403660803761257a611f14565b6001610380516020525f5260405f20546103a05180820182811061260a579050905061040052610400516001610380516020525f5260405f205561038051604052610400516060526103c0516080526125d16122ec565b61038051610360517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6103a0516103c05260206103c0a3565b5f80fda165767970657283000309000bb1360244713252c8308dc6eaae1675d1cb2c78ac177ac66b25da324f0bb73cd10000000000000000000000000000000000000000000000000000000000000001037e737d1b85dec1743fb16f7ae2311c1133b6940f82eb309c20a5930dd5df9b7ba9dc3d421cf02e4f096c50e53aa1087768ac12e39a9ed21a0ccb69c542c9f7

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.