ETH Price: $3,167.74 (+2.26%)

Token

Curve.fi crvFRAX Gauge Deposit (crvFRAX-gauge)
 

Overview

Max Total Supply

1,767,491.889037501715768741 crvFRAX-gauge

Holders

27 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
cdbtc.eth
Balance
6.659827605603760917 crvFRAX-gauge

Value
$0.00
0x951214038a220fbdf9803db3dffeb97b12d12314
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.

Contract Source Code Verified (Exact Match)

Contract Name:
Vyper_contract

Compiler Version
vyper:0.3.1

Optimization Enabled:
N/A

Other Settings:
None license
# @version 0.3.1
"""
@title Liquidity Gauge v5
@author Curve Finance
@license MIT
"""
from vyper.interfaces import ERC20

implements: ERC20


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

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

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

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

interface VotingEscrowBoost:
    def adjusted_balance_of(_account: address) -> uint256: view

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

interface ERC1271:
    def isValidSignature(_hash: bytes32, _signature: Bytes[65]) -> bytes32: 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


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


# keccak256("isValidSignature(bytes32,bytes)")[:4] << 224
ERC1271_MAGIC_VAL: constant(bytes32) = 0x1626ba7e00000000000000000000000000000000000000000000000000000000
EIP712_TYPEHASH: constant(bytes32) = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)")
PERMIT_TYPEHASH: constant(bytes32) = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)")
VERSION: constant(String[8]) = "v5.0.0"

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

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


NAME: immutable(String[64])
SYMBOL: immutable(String[32])
DOMAIN_SEPARATOR: immutable(bytes32)

LP_TOKEN: immutable(address)


nonces: public(HashMap[address, uint256])

future_epoch_time: public(uint256)

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

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

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

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

admin: public(address)
future_admin: public(address)
is_killed: public(bool)

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

# 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


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

    self.admin = _admin

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

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

    NAME = name
    SYMBOL = concat(lp_symbol, "-gauge")
    DOMAIN_SEPARATOR = keccak256(
        _abi_encode(EIP712_TYPEHASH, keccak256(name), keccak256(VERSION), chain.id, self)
    )

    LP_TOKEN = _lp_token


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


@internal
def _update_liquidity_limit(addr: address, l: uint256, L: uint256):
    """
    @notice Calculate limits which depend on the amount of CRV token per-user.
            Effectively it calculates working balances to apply amplification
            of CRV production by CRV
    @param addr User address
    @param l User's amount of liquidity (LP tokens)
    @param L Total amount of liquidity (LP tokens)
    """
    # To be called after totalSupply is updated
    voting_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 _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 != ZERO_ADDRESS:
        user_balance = self.balanceOf[_user]
        if _claim and _receiver == ZERO_ADDRESS:
            # if receiver is not explicitly declared, check if a default receiver is set
            receiver = self.rewards_receiver[_user]
            if receiver == ZERO_ADDRESS:
                # if no default receiver is set, direct claims to the user
                receiver = _user

    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 != ZERO_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 = 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)
                    self.claim_data[_user][token] = total_claimed + total_claimable
                elif new_claimable > 0:
                    self.claim_data[_user][token] = total_claimed + shift(total_claimable, 128)


@internal
def _checkpoint(addr: address):
    """
    @notice Checkpoint for a user
    @param addr User address
    """
    _period: int128 = self.period
    _period_time: uint256 = self.period_timestamp[_period]
    _integrate_inv_supply: uint256 = self.integrate_inv_supply[_period]
    rate: uint256 = self.inflation_rate
    new_rate: uint256 = rate
    prev_future_epoch: uint256 = self.future_epoch_time
    if prev_future_epoch >= _period_time:
        self.future_epoch_time = CRV20(CRV).future_epoch_time_write()
        new_rate = CRV20(CRV).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(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


@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 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 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 shift(self.claim_data[_user][_reward_token], -128) + new_claimable


@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
    """
    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_count != 0
        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(LP_TOKEN).transferFrom(msg.sender, self, _value)

    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_count != 0
        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)

        ERC20(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_count != 0
        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 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 != ZERO_ADDRESS
    assert block.timestamp <= _deadline

    nonce: uint256 = self.nonces[_owner]
    digest: bytes32 = keccak256(
        concat(
            b"\x19\x01",
            DOMAIN_SEPARATOR,
            keccak256(_abi_encode(PERMIT_TYPEHASH, _owner, _spender, _value, nonce, _deadline))
        )
    )

    if _owner.is_contract:
        sig: Bytes[65] = concat(_abi_encode(_r, _s), slice(convert(_v, bytes32), 31, 1))
        assert ERC1271(_owner).isValidSignature(digest, sig) == ERC1271_MAGIC_VAL
    else:
        assert ecrecover(digest, convert(_v, uint256), convert(_r, uint256), convert(_s, uint256)) == _owner

    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 add_reward(_reward_token: address, _distributor: address):
    """
    @notice Set the active reward contract
    """
    assert msg.sender == self.admin  # dev: only owner

    reward_count: uint256 = self.reward_count
    assert reward_count < MAX_REWARDS
    assert self.reward_data[_reward_token].distributor == ZERO_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):
    current_distributor: address = self.reward_data[_reward_token].distributor

    assert msg.sender == current_distributor or msg.sender == self.admin
    assert current_distributor != ZERO_ADDRESS
    assert _distributor != ZERO_ADDRESS

    self.reward_data[_reward_token].distributor = _distributor


@external
@nonreentrant("lock")
def deposit_reward_token(_reward_token: address, _amount: uint256):
    assert msg.sender == self.reward_data[_reward_token].distributor

    self._checkpoint_rewards(ZERO_ADDRESS, self.totalSupply, False, ZERO_ADDRESS)

    response: Bytes[32] = raw_call(
        _reward_token,
        concat(
            method_id("transferFrom(address,address,uint256)"),
            convert(msg.sender, bytes32),
            convert(self, bytes32),
            convert(_amount, bytes32),
        ),
        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 set_killed(_is_killed: bool):
    """
    @notice Set the killed status for this contract
    @dev When killed, the gauge always yields a rate of 0 and so cannot mint CRV
    @param _is_killed Killed status to set
    """
    assert msg.sender == self.admin

    self.is_killed = _is_killed


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

    self.future_admin = addr
    log CommitOwnership(addr)


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

    self.admin = _admin
    log ApplyOwnership(_admin)


@view
@external
def name() -> String[64]:
    """
    @notice Get the name for this gauge token
    """
    return NAME


@view
@external
def symbol() -> String[32]:
    """
    @notice Get the symbol for this gauge token
    """
    return SYMBOL


@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 lp_token() -> address:
    """
    @notice Query the lp token used for this gauge
    """
    return LP_TOKEN


@view
@external
def version() -> String[8]:
    """
    @notice Get the version of this gauge
    """
    return VERSION


@view
@external
def DOMAIN_SEPARATOR() -> bytes32:
    """
    @notice Domain separator for this contract
    """
    return 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":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":"_admin","type":"address"}],"outputs":[]},{"stateMutability":"view","type":"function","name":"integrate_checkpoint","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"nonpayable","type":"function","name":"user_checkpoint","inputs":[{"name":"addr","type":"address"}],"outputs":[{"name":"","type":"bool"}]},{"stateMutability":"nonpayable","type":"function","name":"claimable_tokens","inputs":[{"name":"addr","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"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":"set_rewards_receiver","inputs":[{"name":"_receiver","type":"address"}],"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":"kick","inputs":[{"name":"addr","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":"transfer","inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"outputs":[{"name":"","type":"bool"}]},{"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":"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":"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":"deposit_reward_token","inputs":[{"name":"_reward_token","type":"address"},{"name":"_amount","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"set_killed","inputs":[{"name":"_is_killed","type":"bool"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"commit_transfer_ownership","inputs":[{"name":"addr","type":"address"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"accept_transfer_ownership","inputs":[],"outputs":[]},{"stateMutability":"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":"decimals","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"lp_token","inputs":[],"outputs":[{"name":"","type":"address"}]},{"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":"nonces","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"future_epoch_time","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"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":"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":"reward_count","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"reward_tokens","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}]},{"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":"admin","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"future_admin","inputs":[],"outputs":[{"name":"","type":"address"}]},{"stateMutability":"view","type":"function","name":"is_killed","inputs":[],"outputs":[{"name":"","type":"bool"}]},{"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":"inflation_rate","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"period","inputs":[],"outputs":[{"name":"","type":"int128"}]},{"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"}]}]

6020612c4e6080396080518060a01c612c495760e05260206020612c4e016080396080518060a01c612c4957610100526101005160155542601d55632c4e722e610120526020610120600461013c73d533a949740bb3306d119cc777fa900ba034cd525afa610073573d600060003e3d6000fd5b601f3d1115612c495761012051601b5563b26b238e610120526020610120600461013c600073d533a949740bb3306d119cc777fa900ba034cd525af16100be573d600060003e3d6000fd5b601f3d1115612c4957610120516002556395d89b41610160526060610160600461017c60e0515afa6100f5573d600060003e3d6000fd5b603f3d1115612c49576101605161016001601a815111612c495780805160200180610120828460045afa905090505050600060096101c0527f43757276652e66692000000000000000000000000000000000000000000000006101e0526101c06009806020846102400101826020850160045afa505080518201915050610120601a806020846102400101826020850160045afa505080518201915050600e610200527f204761756765204465706f73697400000000000000000000000000000000000061022052610200600e806020846102400101826020850160045afa50508051820191505080610240526102409050805160200180610160828460045afa905050506101608051602001806101c0828460045afa905050506000610120601a806020846102600101826020850160045afa5050805182019150506006610220527f2d67617567650000000000000000000000000000000000000000000000000000610240526102206006806020846102600101826020850160045afa505080518201915050806102605261026090508051602001806102a0828460045afa905050507f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6103c0526101608051602082012090506103e0527f572f01d824885a118d5d21c74542f263b131d2897955c62a721594f1d7c3b2e2610400524661042052306104405260a06103a0526103a08051602082012090506102205260e05161024052612be756600436101561000d57611b28565b60046000601c37600051346128c25763d31f3f6d811861004f576001601c546c01431e0fae6d7217caa00000008110156128c25702601d015460e052602060e0f35b634b820093811861011c576004358060a01c6128c2576102e0526102e0516103205273d061d61a4d941c39e5453435b6345dc261c2fce06103405260006103005261030060c060006002818352015b60c051602002610320015133186100b857600183526100c8565b815160010180835281141561009e575b50505061030051156128c2576102e05160e0526100e36121b2565b6102e05160e05260036102e05160a052608052604060802054610100526004546101205261010f611b2e565b6001610300526020610300f35b633313458381186101c3576004358060a01c6128c2576102e0526102e05160e0526101456121b2565b601a6102e05160a052608052604060802054638b752bb0610300526102e0516103205230610340526020610300604461031c73d061d61a4d941c39e5453435b6345dc261c2fce05afa61019d573d600060003e3d6000fd5b601f3d11156128c257610300518082106128c25780820390509050610360526020610360f35b63e77e7437811861022f576004358060a01c6128c25760e0526024358060a01c6128c25761010052601460e05160a05260805260406080206101005160a05260805260406080205470010000000000000000000000000000000080820690509050610120526020610120f35b6333fd6f748118610403576004358060a01c6128c25760e0526024358060a01c6128c25761010052600560116101005160a0526080526040608020015461012052600454610140526000610140511461034e5742600260116101005160a052608052604060802001548082116102a557816102a7565b805b905090506101605261016051600460116101005160a052608052604060802001548082106128c2578082039050905061018052610120805161018051600360116101005160a052608052604060802001548082028215828483041417156128c25790509050670de0b6b3a76400008082028215828483041417156128c25790509050610140518080156128c25782049050905081818301106128c257808201905090508152505b60136101005160a052608052604060802060e05160a05260805260406080205461016052600360e05160a05260805260406080205461012051610160518082106128c257808203905090508082028215828483041417156128c25790509050670de0b6b3a76400008082049050905061018052601460e05160a05260805260406080206101005160a05260805260406080205460801c6101805181818301106128c257808201905090506101a05260206101a0f35b63bdf981168118610430576004358060a01c6128c25760e05260e05160123360a052608052604060802055005b63e6f1daf2811861044b57336104405260006104605261049a565b6384e9bd7e8118610470576004358060a01c6128c2576104405260006104605261049a565b639faceb1b81186104e7576004358060a01c6128c257610440526024358060a01c6128c257610460525b6000546128c2576001600055600061046051146104bc573361044051186128c2575b6104405160e0526004546101005260016101205261046051610140526104e0611d2e565b6000600055005b6396c5517581186106b2576004358060a01c6128c2576102e05260196102e05160a0526080526040608020546103005263da020a18610380526102e0516103a05263010ae757610340526102e051610360526020610340602461035c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa610569573d600060003e3d6000fd5b601f3d11156128c257610340516103c0526020610380604461039c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa6105aa573d600060003e3d6000fd5b601f3d11156128c257610380516103205260036102e05160a052608052604060802054610340526370a082316103a0526102e0516103c05260206103a060246103bc735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa610612573d600060003e3d6000fd5b601f3d11156128c2576103a0511561063257610300516103205111610635565b60015b156128c2576103405160288082028215828483041417156128c2579050905060648082049050905060066102e05160a05260805260406080205411156128c2576102e05160e0526106846121b2565b6102e05160e05260036102e05160a05260805260406080205461010052600454610120526106b0611b2e565b005b63b6b55f2581186106cd57336104405260006104605261071c565b636e553f6581186106f2576024358060a01c6128c2576104405260006104605261071c565b6383df674781186108bf576024358060a01c6128c257610440526044358060011c6128c257610460525b6000546128c25760016000556104405160e0526107376121b2565b6000600435146108525760006008541415610480526004546104a0526104805115610781576104405160e0526104a051610100526104605161012052600061014052610781611d2e565b6104a0805160043581818301106128c2578082019050905081525060036104405160a05260805260406080205460043581818301106128c257808201905090506104c0526104c05160036104405160a0526080526040608020556104a0516004556104405160e0526104c051610100526104a05161012052610801611b2e565b6323b872dd6104e052336105005230610520526004356105405260206104e060646104fc60006020602038036080396080515af1610844573d600060003e3d6000fd5b601f3d11156128c2576104e0505b610440517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c600435610480526020610480a26104405160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600435610480526020610480a36000600055005b632e1a7d4d81186108d5576000610440526108f0565b6338d074368118610a75576024358060011c6128c257610440525b6000546128c25760016000553360e0526109086121b2565b600060043514610a0e57600060085414156104605260045461048052610460511561094f573360e0526104805161010052610440516101205260006101405261094f611d2e565b61048080516004358082106128c2578082039050905081525060033360a0526080526040608020546004358082106128c257808203905090506104a0526104a05160033360a052608052604060802055610480516004553360e0526104a0516101005261048051610120526109c2611b2e565b63a9059cbb6104c052336104e0526004356105005260206104c060446104dc60006020602038036080396080515af1610a00573d600060003e3d6000fd5b601f3d11156128c2576104c0505b337f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364600435610460526020610460a26000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600435610460526020610460a36000600055005b63a9059cbb8118610ac9576004358060a01c6128c257610500526000546128c25760016000553361044052610500516104605260243561048052610ab761273a565b60016105205260206105206000600055f35b6323b872dd8118610baf576004358060a01c6128c257610500526024358060a01c6128c257610520526000546128c257600160005560056105005160a05260805260406080203360a052608052604060802054610540527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6105405114610b7e57610540516044358082106128c2578082039050905060056105005160a05260805260406080203360a0526080526040608020555b6105005161044052610520516104605260443561048052610b9d61273a565b60016105605260206105606000600055f35b63095ea7b38118610c27576004358060a01c6128c25760e05260243560053360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925602435610100526020610100a36001610100526020610100f35b63d505accf8118610f9d576004358060a01c6128c25760e0526024358060a01c6128c257610100526084358060081c6128c25761012052600060e051146128c25760643542116128c257600160e05160a0526080526040608020546101405260006002610400527f1901000000000000000000000000000000000000000000000000000000000000610420526104006002806020846106000101826020850160045afa5050805182019150506020604038036080396080516020826106000101526020810190507f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c96105405260e0516105605261010051610580526044356105a052610140516105c0526064356105e05260c0610520526105208051602082012090506020826106000101526020810190508061060052610600905080516020820120905061016052600060e0513b11610db15760e0516101605161018052610120516101a052604060a46101c03760206080608061018060015afa50608051186128c257610f11565b600060a4356102205260c435610240526040610200526102006040806020846102c00101826020850160045afa505080518201915050601f600160208206610260016020828401116128c2576020806102808261012060045afa5050818152905090506001806020846102c00101826020850160045afa505080518201915050806102c0526102c09050805160200180610180828460045afa905050507f1626ba7e00000000000000000000000000000000000000000000000000000000631626ba7e610200526102208060406101605182526020820191508082528083018061018080516020018083828460045afa905050508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f820103905090509050810150505050602061020060c461021c60e0515afa610efe573d600060003e3d6000fd5b601f3d11156128c25761020051186128c2575b604435600560e05160a05260805260406080206101005160a05260805260406080205561014051600181818301106128c25780820190509050600160e05160a0526080526040608020556101005160e0517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925604435610180526020610180a36001610180526020610180f35b6339509351811861104b576004358060a01c6128c25760e05260053360a052608052604060802060e05160a05260805260406080205460243581818301106128c25780820190509050610100526101005160053360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92561010051610120526020610120a36001610120526020610120f35b63a457c2d781186110f7576004358060a01c6128c25760e05260053360a052608052604060802060e05160a0526080526040608020546024358082106128c25780820390509050610100526101005160053360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92561010051610120526020610120a36001610120526020610120f35b63e8de0d4d811861119d576004358060a01c6128c25760e0526024358060a01c6128c2576101005260155433186128c2576008546101205260086101205110156128c2576001601160e05160a052608052604060802001546128c257610100516001601160e05160a0526080526040608020015560e05160016101205160088110156128c257026009015561012051600181818301106128c25780820190509050600855005b63058a3a248118611229576004358060a01c6128c25760e0526024358060a01c6128c257610100526001601160e05160a05260805260406080200154610120526101205133186111ee5760016111f4565b60155433145b156128c257600061012051146128c257600061010051146128c257610100516001601160e05160a05260805260406080200155005b6393f7aa67811861149d576004358060a01c6128c257610440526000546128c2576001600055600160116104405160a0526080526040608020015433186128c257600060e0526004546101005260006101205260006101405261128a611d2e565b600060046104a0527f23b872dd000000000000000000000000000000000000000000000000000000006104c0526104a06004806020846104e00101826020850160045afa505080518201915050336020826104e0010152602081019050306020826104e00101526020810190506024356020826104e0010152602081019050806104e0526104e0505060206105a06104e0516105006000610440515af1611336573d600060003e3d6000fd5b61058060203d808211611349578161134b565b805b905090508152805160200180610460828460045afa905050506000610460511461138a57610480516104605181816020036008021c90509050156128c2575b600260116104405160a052608052604060802001546104a0526104a051421015611432576104a051428082106128c257808203905090506104c0526104c051600360116104405160a052608052604060802001548082028215828483041417156128c257905090506104e0526024356104e05181818301106128c2578082019050905062093a8080820490509050600360116104405160a05260805260406080200155611456565b60243562093a8080820490509050600360116104405160a052608052604060802001555b42600460116104405160a052608052604060802001554262093a8081818301106128c25780820190509050600260116104405160a052608052604060802001556000600055005b6390b2299781186114c7576004358060011c6128c25760e05260155433186128c25760e051601755005b636b441a40811861151f576004358060a01c6128c25760e05260155433186128c25760e0516016557f2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e960e051610100526020610100a1005b63e5ea47b8811861156f5760165460e05260e05133186128c25760e0516015557febee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a118910560e051610100526020610100a1005b6306fdde0381186115e05760e080602080825260e0380381840180826020816080396080516020018082843950508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f8201039050905090509050810190509050905060e0f35b6395d89b4181186116515760e08060208082526080380381840180826020816080396080516020018082843950508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f8201039050905090509050810190509050905060e0f35b63313ce567811861166757601260e052602060e0f35b6382c6306681186116875760206020380360803960805160e052602060e0f35b6354fd4d50811861172157610120806020808252600660e0527f76352e302e3000000000000000000000000000000000000000000000000000006101005260e0818401808280516020018083828460045afa905050508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f82010390509050905090508101905090509050610120f35b633644e51581186117415760206040380360803960805160e052602060e0f35b637ecebe008118611776576004358060a01c6128c25760e052600160e05160a052608052604060802054610100526020610100f35b63be5d1be9811861178d5760025460e052602060e0f35b6370a0823181186117c2576004358060a01c6128c25760e052600360e05160a052608052604060802054610100526020610100f35b6318160ddd81186117d95760045460e052602060e0f35b63dd62ed3e811861182c576004358060a01c6128c25760e0526024358060a01c6128c25761010052600560e05160a05260805260406080206101005160a052608052604060802054610120526020610120f35b6313ecb1ca8118611861576004358060a01c6128c25760e052600660e05160a052608052604060802054610100526020610100f35b6317e2808981186118785760075460e052602060e0f35b63963c94b9811861188f5760085460e052602060e0f35b6354c49fe981186118b657600160043560088110156128c257026009015460e052602060e0f35b6348e9c65e811861191a576004358060a01c6128c25760e052601160e05160a052608052604060802080546101005260018101546101205260028101546101405260038101546101605260048101546101805260058101546101a0525060c0610100f35b6301ddabf1811861194f576004358060a01c6128c25760e052601260e05160a052608052604060802054610100526020610100f35b63f05cc05881186119a2576004358060a01c6128c25760e0526024358060a01c6128c25761010052601360e05160a05260805260406080206101005160a052608052604060802054610120526020610120f35b63f851a44081186119b95760155460e052602060e0f35b6317f7182a81186119d05760165460e052602060e0f35b639c868ac081186119e75760175460e052602060e0f35b63de263bfa8118611a1c576004358060a01c6128c25760e052601860e05160a052608052604060802054610100526020610100f35b639bd324f28118611a51576004358060a01c6128c25760e052601960e05160a052608052604060802054610100526020610100f35b63094007078118611a86576004358060a01c6128c25760e052601a60e05160a052608052604060802054610100526020610100f35b63180692d08118611a9d57601b5460e052602060e0f35b63ef78d4fd8118611ab457601c5460e052602060e0f35b637598108c8118611ae75760016004356c01431e0fae6d7217caa00000008110156128c25702601d015460e052602060e0f35b63fec8ee0c8118611b265760016004356c01431e0fae6d7217caa00000008110156128c257026c01431e0fae6d7210000000001d015460e052602060e0f35b505b60006000fd5b63bbf7408a6101605260e051610180526020610160602461017c738e0c00ed546602fd9927df742bbabf726d5b0d165afa611b6e573d600060003e3d6000fd5b601f3d11156128c25761016051610140526318160ddd610180526020610180600461019c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa611bb8573d600060003e3d6000fd5b601f3d11156128c25761018051610160526101005160288082028215828483041417156128c25790509050606480820490509050610180526000610160511115611c6157610180805161012051610140518082028215828483041417156128c25790509050610160518080156128c257820490509050603c8082028215828483041417156128c2579050905060648082049050905081818301106128c257808201905090508152505b6101005161018051808211611c765781611c78565b805b9050905061018052600660e05160a0526080526040608020546101a05261018051600660e05160a0526080526040608020556007546101805181818301106128c257808201905090506101a0518082106128c257808203905090506101c0526101c0516007557f7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a360e0516101e0526101005161020052610120516102205261018051610240526101c0516102605260a06101e0a1565b6000610160526101405161018052600060e05114611d9a57600360e05160a0526080526040608020546101605261012051611d6a576000611d70565b61014051155b15611d9a57601260e05160a0526080526040608020546101805261018051611d9a5760e051610180525b6008546101a0526101c060006008818352015b6101a0516101c05118611dbf576121ae565b60016101c05160088110156128c25702600901546101e052600560116101e05160a052608052604060802001546102005242600260116101e05160a05260805260406080200154808211611e135781611e15565b805b905090506102205261022051600460116101e05160a052608052604060802001548082106128c257808203905090506102405260006102405114611f045761022051600460116101e05160a0526080526040608020015560006101005114611f0457610200805161024051600360116101e05160a052608052604060802001548082028215828483041417156128c25790509050670de0b6b3a76400008082028215828483041417156128c25790509050610100518080156128c25782049050905081818301106128c2578082019050905081525061020051600560116101e05160a052608052604060802001555b600060e0511461219e5760136101e05160a052608052604060802060e05160a0526080526040608020546102605260006102805261020051610260511015611fad576102005160136101e05160a052608052604060802060e05160a0526080526040608020556101605161020051610260518082106128c257808203905090508082028215828483041417156128c25790509050670de0b6b3a764000080820490509050610280525b601460e05160a05260805260406080206101e05160a0526080526040608020546102a0526102a05160801c6102805181818301106128c257808201905090506102c05260006102c051111561219e576102a051700100000000000000000000000000000000808206905090506102e0526101205161207157600061028051111561219e576102e0516102c05160801b81818301106128c25780820190509050601460e05160a05260805260406080206101e05160a05260805260406080205561219e565b60006004610340527fa9059cbb00000000000000000000000000000000000000000000000000000000610360526103406004806020846103800101826020850160045afa505080518201915050610180516020826103800101526020810190506102c051602082610380010152602081019050806103805261038050506020610420610380516103a060006101e0515af1612111573d600060003e3d6000fd5b61040060203d8082116121245781612126565b805b905090508152805160200180610300828460045afa905050506000610300511461216557610320516103005181816020036008021c90509050156128c2575b6102e0516102c05181818301106128c25780820190509050601460e05160a05260805260406080206101e05160a0526080526040608020555b8151600101808352811415611dad575b5050565b601c54610100526001610100516c01431e0fae6d7217caa00000008110156128c25702601d0154610120526001610100516c01431e0fae6d7217caa00000008110156128c257026c01431e0fae6d7210000000001d015461014052601b546101605261016051610180526002546101a052610120516101a051106122cd5763b26b238e6101c05260206101c060046101dc600073d533a949740bb3306d119cc777fa900ba034cd525af161226b573d600060003e3d6000fd5b601f3d11156128c2576101c051600255632c4e722e6101c05260206101c060046101dc73d533a949740bb3306d119cc777fa900ba034cd525afa6122b4573d600060003e3d6000fd5b601f3d11156128c2576101c0516101805261018051601b555b601754156122dc576000610160525b61012051421115612616576007546101c05263615e52376101e0523061020052732f50d538606fa9edd2b11e2446beb18c9d5846bb3b156128c2576000600060246101fc6000732f50d538606fa9edd2b11e2446beb18c9d5846bb5af1612348573d600060003e3d6000fd5b610120516101e0526101205162093a8081818301106128c2578082019050905062093a808082049050905062093a808082028215828483041417156128c2579050905042808211612399578161239b565b805b905090506102005261022060006101f4818352015b610200516101e0518082106128c257808203905090506102405263d3078c9461028052306102a0526101e05162093a808082049050905062093a808082028215828483041417156128c257905090506102c0526020610280604461029c732f50d538606fa9edd2b11e2446beb18c9d5846bb5afa612433573d600060003e3d6000fd5b601f3d11156128c257610280516102605260006101c05111156125bc576101e0516101a051101561246557600061246f565b610200516101a051105b6124d557610140805161016051610260518082028215828483041417156128c25790509050610240518082028215828483041417156128c257905090506101c0518080156128c25782049050905081818301106128c257808201905090508152506125bc565b610140805161016051610260518082028215828483041417156128c257905090506101a0516101e0518082106128c257808203905090508082028215828483041417156128c257905090506101c0518080156128c25782049050905081818301106128c257808201905090508152506101805161016052610140805161016051610260518082028215828483041417156128c25790509050610200516101a0518082106128c257808203905090508082028215828483041417156128c257905090506101c0518080156128c25782049050905081818301106128c257808201905090508152505b4261020051186125cb57612613565b610200516101e0526102005162093a8081818301106128c25780820190509050428082116125f957816125fb565b805b905090506102005281516001018083528114156123b0575b50505b610100805160018082018060801d81607f1d186128c2579050905081525061010051601c55426001610100516c01431e0fae6d7217caa00000008110156128c25702601d0155610140516001610100516c01431e0fae6d7217caa00000008110156128c257026c01431e0fae6d7210000000001d0155600660e05160a0526080526040608020546101c052601a60e05160a052608052604060802080546101c05161014051601860e05160a0526080526040608020548082106128c257808203905090508082028215828483041417156128c25790509050670de0b6b3a76400008082049050905081818301106128c2578082019050905081555061014051601860e05160a05260805260406080205542601960e05160a052608052604060802055565b6104405160e0526127496121b2565b6104605160e0526127586121b2565b60006104805114612889576004546104a052600060085414156104c0526104c051156127a1576104405160e0526104a051610100526000610120526000610140526127a1611d2e565b60036104405160a052608052604060802054610480518082106128c257808203905090506104e0526104e05160036104405160a0526080526040608020556104405160e0526104e051610100526104a051610120526127fe611b2e565b6104c0511561282a576104605160e0526104a0516101005260006101205260006101405261282a611d2e565b60036104605160a0526080526040608020546104805181818301106128c257808201905090506104e0526104e05160036104605160a0526080526040608020556104605160e0526104e051610100526104a05161012052612889611b2e565b61046051610440517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610480516104a05260206104a0a3565b600080fd5b610320612be7036103206102e039610320612be7036101c0805160200180836102e001828460045afa905050506102205181610380015261024051816103a001526102a08051602001808361034001828460045afa905050508060e0016102e0f35b600080fd0000000000000000000000003175df0976dfa876431c2e9ee6bc45b65d3473cc0000000000000000000000002ef1bc1961d3209e5743c91cd3fbfa0d08656bc3

Deployed Bytecode

0x600436101561000d57611b28565b60046000601c37600051346128c25763d31f3f6d811861004f576001601c546c01431e0fae6d7217caa00000008110156128c25702601d015460e052602060e0f35b634b820093811861011c576004358060a01c6128c2576102e0526102e0516103205273d061d61a4d941c39e5453435b6345dc261c2fce06103405260006103005261030060c060006002818352015b60c051602002610320015133186100b857600183526100c8565b815160010180835281141561009e575b50505061030051156128c2576102e05160e0526100e36121b2565b6102e05160e05260036102e05160a052608052604060802054610100526004546101205261010f611b2e565b6001610300526020610300f35b633313458381186101c3576004358060a01c6128c2576102e0526102e05160e0526101456121b2565b601a6102e05160a052608052604060802054638b752bb0610300526102e0516103205230610340526020610300604461031c73d061d61a4d941c39e5453435b6345dc261c2fce05afa61019d573d600060003e3d6000fd5b601f3d11156128c257610300518082106128c25780820390509050610360526020610360f35b63e77e7437811861022f576004358060a01c6128c25760e0526024358060a01c6128c25761010052601460e05160a05260805260406080206101005160a05260805260406080205470010000000000000000000000000000000080820690509050610120526020610120f35b6333fd6f748118610403576004358060a01c6128c25760e0526024358060a01c6128c25761010052600560116101005160a0526080526040608020015461012052600454610140526000610140511461034e5742600260116101005160a052608052604060802001548082116102a557816102a7565b805b905090506101605261016051600460116101005160a052608052604060802001548082106128c2578082039050905061018052610120805161018051600360116101005160a052608052604060802001548082028215828483041417156128c25790509050670de0b6b3a76400008082028215828483041417156128c25790509050610140518080156128c25782049050905081818301106128c257808201905090508152505b60136101005160a052608052604060802060e05160a05260805260406080205461016052600360e05160a05260805260406080205461012051610160518082106128c257808203905090508082028215828483041417156128c25790509050670de0b6b3a76400008082049050905061018052601460e05160a05260805260406080206101005160a05260805260406080205460801c6101805181818301106128c257808201905090506101a05260206101a0f35b63bdf981168118610430576004358060a01c6128c25760e05260e05160123360a052608052604060802055005b63e6f1daf2811861044b57336104405260006104605261049a565b6384e9bd7e8118610470576004358060a01c6128c2576104405260006104605261049a565b639faceb1b81186104e7576004358060a01c6128c257610440526024358060a01c6128c257610460525b6000546128c2576001600055600061046051146104bc573361044051186128c2575b6104405160e0526004546101005260016101205261046051610140526104e0611d2e565b6000600055005b6396c5517581186106b2576004358060a01c6128c2576102e05260196102e05160a0526080526040608020546103005263da020a18610380526102e0516103a05263010ae757610340526102e051610360526020610340602461035c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa610569573d600060003e3d6000fd5b601f3d11156128c257610340516103c0526020610380604461039c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa6105aa573d600060003e3d6000fd5b601f3d11156128c257610380516103205260036102e05160a052608052604060802054610340526370a082316103a0526102e0516103c05260206103a060246103bc735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa610612573d600060003e3d6000fd5b601f3d11156128c2576103a0511561063257610300516103205111610635565b60015b156128c2576103405160288082028215828483041417156128c2579050905060648082049050905060066102e05160a05260805260406080205411156128c2576102e05160e0526106846121b2565b6102e05160e05260036102e05160a05260805260406080205461010052600454610120526106b0611b2e565b005b63b6b55f2581186106cd57336104405260006104605261071c565b636e553f6581186106f2576024358060a01c6128c2576104405260006104605261071c565b6383df674781186108bf576024358060a01c6128c257610440526044358060011c6128c257610460525b6000546128c25760016000556104405160e0526107376121b2565b6000600435146108525760006008541415610480526004546104a0526104805115610781576104405160e0526104a051610100526104605161012052600061014052610781611d2e565b6104a0805160043581818301106128c2578082019050905081525060036104405160a05260805260406080205460043581818301106128c257808201905090506104c0526104c05160036104405160a0526080526040608020556104a0516004556104405160e0526104c051610100526104a05161012052610801611b2e565b6323b872dd6104e052336105005230610520526004356105405260206104e060646104fc60006020602038036080396080515af1610844573d600060003e3d6000fd5b601f3d11156128c2576104e0505b610440517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c600435610480526020610480a26104405160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600435610480526020610480a36000600055005b632e1a7d4d81186108d5576000610440526108f0565b6338d074368118610a75576024358060011c6128c257610440525b6000546128c25760016000553360e0526109086121b2565b600060043514610a0e57600060085414156104605260045461048052610460511561094f573360e0526104805161010052610440516101205260006101405261094f611d2e565b61048080516004358082106128c2578082039050905081525060033360a0526080526040608020546004358082106128c257808203905090506104a0526104a05160033360a052608052604060802055610480516004553360e0526104a0516101005261048051610120526109c2611b2e565b63a9059cbb6104c052336104e0526004356105005260206104c060446104dc60006020602038036080396080515af1610a00573d600060003e3d6000fd5b601f3d11156128c2576104c0505b337f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364600435610460526020610460a26000337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600435610460526020610460a36000600055005b63a9059cbb8118610ac9576004358060a01c6128c257610500526000546128c25760016000553361044052610500516104605260243561048052610ab761273a565b60016105205260206105206000600055f35b6323b872dd8118610baf576004358060a01c6128c257610500526024358060a01c6128c257610520526000546128c257600160005560056105005160a05260805260406080203360a052608052604060802054610540527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6105405114610b7e57610540516044358082106128c2578082039050905060056105005160a05260805260406080203360a0526080526040608020555b6105005161044052610520516104605260443561048052610b9d61273a565b60016105605260206105606000600055f35b63095ea7b38118610c27576004358060a01c6128c25760e05260243560053360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925602435610100526020610100a36001610100526020610100f35b63d505accf8118610f9d576004358060a01c6128c25760e0526024358060a01c6128c257610100526084358060081c6128c25761012052600060e051146128c25760643542116128c257600160e05160a0526080526040608020546101405260006002610400527f1901000000000000000000000000000000000000000000000000000000000000610420526104006002806020846106000101826020850160045afa5050805182019150506020604038036080396080516020826106000101526020810190507f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c96105405260e0516105605261010051610580526044356105a052610140516105c0526064356105e05260c0610520526105208051602082012090506020826106000101526020810190508061060052610600905080516020820120905061016052600060e0513b11610db15760e0516101605161018052610120516101a052604060a46101c03760206080608061018060015afa50608051186128c257610f11565b600060a4356102205260c435610240526040610200526102006040806020846102c00101826020850160045afa505080518201915050601f600160208206610260016020828401116128c2576020806102808261012060045afa5050818152905090506001806020846102c00101826020850160045afa505080518201915050806102c0526102c09050805160200180610180828460045afa905050507f1626ba7e00000000000000000000000000000000000000000000000000000000631626ba7e610200526102208060406101605182526020820191508082528083018061018080516020018083828460045afa905050508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f820103905090509050810150505050602061020060c461021c60e0515afa610efe573d600060003e3d6000fd5b601f3d11156128c25761020051186128c2575b604435600560e05160a05260805260406080206101005160a05260805260406080205561014051600181818301106128c25780820190509050600160e05160a0526080526040608020556101005160e0517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925604435610180526020610180a36001610180526020610180f35b6339509351811861104b576004358060a01c6128c25760e05260053360a052608052604060802060e05160a05260805260406080205460243581818301106128c25780820190509050610100526101005160053360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92561010051610120526020610120a36001610120526020610120f35b63a457c2d781186110f7576004358060a01c6128c25760e05260053360a052608052604060802060e05160a0526080526040608020546024358082106128c25780820390509050610100526101005160053360a052608052604060802060e05160a05260805260406080205560e051337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92561010051610120526020610120a36001610120526020610120f35b63e8de0d4d811861119d576004358060a01c6128c25760e0526024358060a01c6128c2576101005260155433186128c2576008546101205260086101205110156128c2576001601160e05160a052608052604060802001546128c257610100516001601160e05160a0526080526040608020015560e05160016101205160088110156128c257026009015561012051600181818301106128c25780820190509050600855005b63058a3a248118611229576004358060a01c6128c25760e0526024358060a01c6128c257610100526001601160e05160a05260805260406080200154610120526101205133186111ee5760016111f4565b60155433145b156128c257600061012051146128c257600061010051146128c257610100516001601160e05160a05260805260406080200155005b6393f7aa67811861149d576004358060a01c6128c257610440526000546128c2576001600055600160116104405160a0526080526040608020015433186128c257600060e0526004546101005260006101205260006101405261128a611d2e565b600060046104a0527f23b872dd000000000000000000000000000000000000000000000000000000006104c0526104a06004806020846104e00101826020850160045afa505080518201915050336020826104e0010152602081019050306020826104e00101526020810190506024356020826104e0010152602081019050806104e0526104e0505060206105a06104e0516105006000610440515af1611336573d600060003e3d6000fd5b61058060203d808211611349578161134b565b805b905090508152805160200180610460828460045afa905050506000610460511461138a57610480516104605181816020036008021c90509050156128c2575b600260116104405160a052608052604060802001546104a0526104a051421015611432576104a051428082106128c257808203905090506104c0526104c051600360116104405160a052608052604060802001548082028215828483041417156128c257905090506104e0526024356104e05181818301106128c2578082019050905062093a8080820490509050600360116104405160a05260805260406080200155611456565b60243562093a8080820490509050600360116104405160a052608052604060802001555b42600460116104405160a052608052604060802001554262093a8081818301106128c25780820190509050600260116104405160a052608052604060802001556000600055005b6390b2299781186114c7576004358060011c6128c25760e05260155433186128c25760e051601755005b636b441a40811861151f576004358060a01c6128c25760e05260155433186128c25760e0516016557f2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e960e051610100526020610100a1005b63e5ea47b8811861156f5760165460e05260e05133186128c25760e0516015557febee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a118910560e051610100526020610100a1005b6306fdde0381186115e05760e080602080825260e0380381840180826020816080396080516020018082843950508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f8201039050905090509050810190509050905060e0f35b6395d89b4181186116515760e08060208082526080380381840180826020816080396080516020018082843950508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f8201039050905090509050810190509050905060e0f35b63313ce567811861166757601260e052602060e0f35b6382c6306681186116875760206020380360803960805160e052602060e0f35b6354fd4d50811861172157610120806020808252600660e0527f76352e302e3000000000000000000000000000000000000000000000000000006101005260e0818401808280516020018083828460045afa905050508051806020830101818260206001820306601f8201039050033682375050805160200160206001820306601f82010390509050905090508101905090509050610120f35b633644e51581186117415760206040380360803960805160e052602060e0f35b637ecebe008118611776576004358060a01c6128c25760e052600160e05160a052608052604060802054610100526020610100f35b63be5d1be9811861178d5760025460e052602060e0f35b6370a0823181186117c2576004358060a01c6128c25760e052600360e05160a052608052604060802054610100526020610100f35b6318160ddd81186117d95760045460e052602060e0f35b63dd62ed3e811861182c576004358060a01c6128c25760e0526024358060a01c6128c25761010052600560e05160a05260805260406080206101005160a052608052604060802054610120526020610120f35b6313ecb1ca8118611861576004358060a01c6128c25760e052600660e05160a052608052604060802054610100526020610100f35b6317e2808981186118785760075460e052602060e0f35b63963c94b9811861188f5760085460e052602060e0f35b6354c49fe981186118b657600160043560088110156128c257026009015460e052602060e0f35b6348e9c65e811861191a576004358060a01c6128c25760e052601160e05160a052608052604060802080546101005260018101546101205260028101546101405260038101546101605260048101546101805260058101546101a0525060c0610100f35b6301ddabf1811861194f576004358060a01c6128c25760e052601260e05160a052608052604060802054610100526020610100f35b63f05cc05881186119a2576004358060a01c6128c25760e0526024358060a01c6128c25761010052601360e05160a05260805260406080206101005160a052608052604060802054610120526020610120f35b63f851a44081186119b95760155460e052602060e0f35b6317f7182a81186119d05760165460e052602060e0f35b639c868ac081186119e75760175460e052602060e0f35b63de263bfa8118611a1c576004358060a01c6128c25760e052601860e05160a052608052604060802054610100526020610100f35b639bd324f28118611a51576004358060a01c6128c25760e052601960e05160a052608052604060802054610100526020610100f35b63094007078118611a86576004358060a01c6128c25760e052601a60e05160a052608052604060802054610100526020610100f35b63180692d08118611a9d57601b5460e052602060e0f35b63ef78d4fd8118611ab457601c5460e052602060e0f35b637598108c8118611ae75760016004356c01431e0fae6d7217caa00000008110156128c25702601d015460e052602060e0f35b63fec8ee0c8118611b265760016004356c01431e0fae6d7217caa00000008110156128c257026c01431e0fae6d7210000000001d015460e052602060e0f35b505b60006000fd5b63bbf7408a6101605260e051610180526020610160602461017c738e0c00ed546602fd9927df742bbabf726d5b0d165afa611b6e573d600060003e3d6000fd5b601f3d11156128c25761016051610140526318160ddd610180526020610180600461019c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa611bb8573d600060003e3d6000fd5b601f3d11156128c25761018051610160526101005160288082028215828483041417156128c25790509050606480820490509050610180526000610160511115611c6157610180805161012051610140518082028215828483041417156128c25790509050610160518080156128c257820490509050603c8082028215828483041417156128c2579050905060648082049050905081818301106128c257808201905090508152505b6101005161018051808211611c765781611c78565b805b9050905061018052600660e05160a0526080526040608020546101a05261018051600660e05160a0526080526040608020556007546101805181818301106128c257808201905090506101a0518082106128c257808203905090506101c0526101c0516007557f7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a360e0516101e0526101005161020052610120516102205261018051610240526101c0516102605260a06101e0a1565b6000610160526101405161018052600060e05114611d9a57600360e05160a0526080526040608020546101605261012051611d6a576000611d70565b61014051155b15611d9a57601260e05160a0526080526040608020546101805261018051611d9a5760e051610180525b6008546101a0526101c060006008818352015b6101a0516101c05118611dbf576121ae565b60016101c05160088110156128c25702600901546101e052600560116101e05160a052608052604060802001546102005242600260116101e05160a05260805260406080200154808211611e135781611e15565b805b905090506102205261022051600460116101e05160a052608052604060802001548082106128c257808203905090506102405260006102405114611f045761022051600460116101e05160a0526080526040608020015560006101005114611f0457610200805161024051600360116101e05160a052608052604060802001548082028215828483041417156128c25790509050670de0b6b3a76400008082028215828483041417156128c25790509050610100518080156128c25782049050905081818301106128c2578082019050905081525061020051600560116101e05160a052608052604060802001555b600060e0511461219e5760136101e05160a052608052604060802060e05160a0526080526040608020546102605260006102805261020051610260511015611fad576102005160136101e05160a052608052604060802060e05160a0526080526040608020556101605161020051610260518082106128c257808203905090508082028215828483041417156128c25790509050670de0b6b3a764000080820490509050610280525b601460e05160a05260805260406080206101e05160a0526080526040608020546102a0526102a05160801c6102805181818301106128c257808201905090506102c05260006102c051111561219e576102a051700100000000000000000000000000000000808206905090506102e0526101205161207157600061028051111561219e576102e0516102c05160801b81818301106128c25780820190509050601460e05160a05260805260406080206101e05160a05260805260406080205561219e565b60006004610340527fa9059cbb00000000000000000000000000000000000000000000000000000000610360526103406004806020846103800101826020850160045afa505080518201915050610180516020826103800101526020810190506102c051602082610380010152602081019050806103805261038050506020610420610380516103a060006101e0515af1612111573d600060003e3d6000fd5b61040060203d8082116121245781612126565b805b905090508152805160200180610300828460045afa905050506000610300511461216557610320516103005181816020036008021c90509050156128c2575b6102e0516102c05181818301106128c25780820190509050601460e05160a05260805260406080206101e05160a0526080526040608020555b8151600101808352811415611dad575b5050565b601c54610100526001610100516c01431e0fae6d7217caa00000008110156128c25702601d0154610120526001610100516c01431e0fae6d7217caa00000008110156128c257026c01431e0fae6d7210000000001d015461014052601b546101605261016051610180526002546101a052610120516101a051106122cd5763b26b238e6101c05260206101c060046101dc600073d533a949740bb3306d119cc777fa900ba034cd525af161226b573d600060003e3d6000fd5b601f3d11156128c2576101c051600255632c4e722e6101c05260206101c060046101dc73d533a949740bb3306d119cc777fa900ba034cd525afa6122b4573d600060003e3d6000fd5b601f3d11156128c2576101c0516101805261018051601b555b601754156122dc576000610160525b61012051421115612616576007546101c05263615e52376101e0523061020052732f50d538606fa9edd2b11e2446beb18c9d5846bb3b156128c2576000600060246101fc6000732f50d538606fa9edd2b11e2446beb18c9d5846bb5af1612348573d600060003e3d6000fd5b610120516101e0526101205162093a8081818301106128c2578082019050905062093a808082049050905062093a808082028215828483041417156128c2579050905042808211612399578161239b565b805b905090506102005261022060006101f4818352015b610200516101e0518082106128c257808203905090506102405263d3078c9461028052306102a0526101e05162093a808082049050905062093a808082028215828483041417156128c257905090506102c0526020610280604461029c732f50d538606fa9edd2b11e2446beb18c9d5846bb5afa612433573d600060003e3d6000fd5b601f3d11156128c257610280516102605260006101c05111156125bc576101e0516101a051101561246557600061246f565b610200516101a051105b6124d557610140805161016051610260518082028215828483041417156128c25790509050610240518082028215828483041417156128c257905090506101c0518080156128c25782049050905081818301106128c257808201905090508152506125bc565b610140805161016051610260518082028215828483041417156128c257905090506101a0516101e0518082106128c257808203905090508082028215828483041417156128c257905090506101c0518080156128c25782049050905081818301106128c257808201905090508152506101805161016052610140805161016051610260518082028215828483041417156128c25790509050610200516101a0518082106128c257808203905090508082028215828483041417156128c257905090506101c0518080156128c25782049050905081818301106128c257808201905090508152505b4261020051186125cb57612613565b610200516101e0526102005162093a8081818301106128c25780820190509050428082116125f957816125fb565b805b905090506102005281516001018083528114156123b0575b50505b610100805160018082018060801d81607f1d186128c2579050905081525061010051601c55426001610100516c01431e0fae6d7217caa00000008110156128c25702601d0155610140516001610100516c01431e0fae6d7217caa00000008110156128c257026c01431e0fae6d7210000000001d0155600660e05160a0526080526040608020546101c052601a60e05160a052608052604060802080546101c05161014051601860e05160a0526080526040608020548082106128c257808203905090508082028215828483041417156128c25790509050670de0b6b3a76400008082049050905081818301106128c2578082019050905081555061014051601860e05160a05260805260406080205542601960e05160a052608052604060802055565b6104405160e0526127496121b2565b6104605160e0526127586121b2565b60006104805114612889576004546104a052600060085414156104c0526104c051156127a1576104405160e0526104a051610100526000610120526000610140526127a1611d2e565b60036104405160a052608052604060802054610480518082106128c257808203905090506104e0526104e05160036104405160a0526080526040608020556104405160e0526104e051610100526104a051610120526127fe611b2e565b6104c0511561282a576104605160e0526104a0516101005260006101205260006101405261282a611d2e565b60036104605160a0526080526040608020546104805181818301106128c257808201905090506104e0526104e05160036104605160a0526080526040608020556104605160e0526104e051610100526104a05161012052612889611b2e565b61046051610440517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610480516104a05260206104a0a3565b600080fd000000000000000000000000000000000000000000000000000000000000001e43757276652e66692063727646524158204761756765204465706f73697400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d637276465241582d676175676500000000000000000000000000000000000000b419c7aee45302bb48fa343dcf810e69108c163abfe5883f55978d2aa02bfee20000000000000000000000003175df0976dfa876431c2e9ee6bc45b65d3473cc

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

0000000000000000000000003175df0976dfa876431c2e9ee6bc45b65d3473cc0000000000000000000000002ef1bc1961d3209e5743c91cd3fbfa0d08656bc3

-----Decoded View---------------
Arg [0] : _lp_token (address): 0x3175Df0976dFA876431C2E9eE6Bc45b65d3473CC
Arg [1] : _admin (address): 0x2EF1Bc1961d3209E5743C91cd3fBfa0d08656bC3

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000003175df0976dfa876431c2e9ee6bc45b65d3473cc
Arg [1] : 0000000000000000000000002ef1bc1961d3209e5743c91cd3fbfa0d08656bc3


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.