ETH Price: $1,977.72 (+0.19%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw224119502025-05-04 17:42:11293 days ago1746380531IN
0xe5e7DdAD...54FBD7f02
0 ETH0.00137742.30661427
Withdraw222224282025-04-08 6:36:23320 days ago1744094183IN
0xe5e7DdAD...54FBD7f02
0 ETH0.000556820.41893273
Withdraw222224112025-04-08 6:32:59320 days ago1744093979IN
0xe5e7DdAD...54FBD7f02
0 ETH0.000476660.47666685
Withdraw222224062025-04-08 6:31:59320 days ago1744093919IN
0xe5e7DdAD...54FBD7f02
0 ETH0.000189070.47269952
Withdraw222223982025-04-08 6:30:23320 days ago1744093823IN
0xe5e7DdAD...54FBD7f02
0 ETH0.000209490.52372928
Withdraw216295342025-01-15 11:18:11402 days ago1736939891IN
0xe5e7DdAD...54FBD7f02
0 ETH0.001826523.05870702
Withdraw216295252025-01-15 11:16:23402 days ago1736939783IN
0xe5e7DdAD...54FBD7f02
0 ETH0.001667554.16889008
Withdraw216295172025-01-15 11:14:47402 days ago1736939687IN
0xe5e7DdAD...54FBD7f02
0 ETH0.001811914.52978814
Withdraw214253002024-12-17 22:39:59431 days ago1734475199IN
0xe5e7DdAD...54FBD7f02
0 ETH0.0105258617.68589473
Withdraw212132182024-11-18 7:50:11461 days ago1731916211IN
0xe5e7DdAD...54FBD7f02
0 ETH0.0092080410.55480141
Withdraw208578982024-09-29 17:49:47510 days ago1727632187IN
0xe5e7DdAD...54FBD7f02
0 ETH0.047172446.81108148
Withdraw208578862024-09-29 17:47:23510 days ago1727632043IN
0xe5e7DdAD...54FBD7f02
0 ETH0.002813587.03396715
Withdraw208435492024-09-27 17:47:35512 days ago1727459255IN
0xe5e7DdAD...54FBD7f02
0 ETH0.00440411.01
Withdraw198922442024-05-17 21:03:23645 days ago1715979803IN
0xe5e7DdAD...54FBD7f02
0 ETH0.002972517.43129615
Withdraw198922322024-05-17 21:00:59645 days ago1715979659IN
0xe5e7DdAD...54FBD7f02
0 ETH0.002367515.91879575
Withdraw176363762023-07-06 17:46:23961 days ago1688665583IN
0xe5e7DdAD...54FBD7f02
0 ETH0.0095425123.85628109
Increase_unlock_...172167562023-05-08 15:46:591020 days ago1683560819IN
0xe5e7DdAD...54FBD7f02
0 ETH0.03258656122.61145624
Increase_unlock_...172167482023-05-08 15:45:231020 days ago1683560723IN
0xe5e7DdAD...54FBD7f02
0 ETH0.11129022122.56605902
Increase_unlock_...172167442023-05-08 15:44:351020 days ago1683560675IN
0xe5e7DdAD...54FBD7f02
0 ETH0.07353963122.56605902
Create_lock168478292023-03-17 13:28:591072 days ago1679059739IN
0xe5e7DdAD...54FBD7f02
0 ETH0.0014311429.42855728
Create_lock168478252023-03-17 13:28:111072 days ago1679059691IN
0xe5e7DdAD...54FBD7f02
0 ETH0.008325525.66811915
Create_lock168378922023-03-16 3:58:351074 days ago1678939115IN
0xe5e7DdAD...54FBD7f02
0 ETH0.0074772717.26052919
Increase_amount168351322023-03-15 18:39:591074 days ago1678905599IN
0xe5e7DdAD...54FBD7f02
0 ETH0.0080110829.96412493
Increase_unlock_...168334122023-03-15 12:52:351074 days ago1678884755IN
0xe5e7DdAD...54FBD7f02
0 ETH0.0102303540.3610362
Increase_unlock_...168332432023-03-15 12:17:591074 days ago1678882679IN
0xe5e7DdAD...54FBD7f02
0 ETH0.0012351825.41056193
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Vyper_contract

Compiler Version
vyper:0.2.4

Optimization Enabled:
N/A

Other Settings:
petersburg EvmVersion, MIT license

Contract Source Code (Vyper language format)

# @version 0.2.4
"""
@title Voting Escrow
@author Curve Finance
@license MIT
@notice Votes have a weight depending on time, so that users are
        committed to the future of (whatever they are voting for)
@dev Vote weight decays linearly over time. Lock time cannot be
     more than `MAXTIME` (4 years).
"""

# Voting escrow to have time-weighted votes
# Votes have a weight depending on time, so that users are committed
# to the future of (whatever they are voting for).
# The weight in this implementation is linear, and lock cannot be more than maxtime:
# w ^
# 1 +        /
#   |      /
#   |    /
#   |  /
#   |/
# 0 +--------+------> time
#       maxtime (4 years?)

struct Point:
    bias: int128
    slope: int128  # - dweight / dt
    ts: uint256
    blk: uint256  # block
# We cannot really do block numbers per se b/c slope is per time, not per block
# and per block could be fairly bad b/c Ethereum changes blocktimes.
# What we can do is to extrapolate ***At functions

struct LockedBalance:
    amount: int128
    end: uint256


interface ERC20:
    def decimals() -> uint256: view
    def name() -> String[64]: view
    def symbol() -> String[32]: view
    def transfer(to: address, amount: uint256) -> bool: nonpayable
    def transferFrom(spender: address, to: address, amount: uint256) -> bool: nonpayable


# Interface for checking whether address belongs to a whitelisted
# type of a smart wallet.
# When new types are added - the whole contract is changed
# The check() method is modifying to be able to use caching
# for individual wallet addresses
interface SmartWalletChecker:
    def check(addr: address) -> bool: nonpayable

DEPOSIT_FOR_TYPE: constant(int128) = 0
CREATE_LOCK_TYPE: constant(int128) = 1
INCREASE_LOCK_AMOUNT: constant(int128) = 2
INCREASE_UNLOCK_TIME: constant(int128) = 3


event CommitOwnership:
    admin: address

event ApplyOwnership:
    admin: address

event Deposit:
    provider: indexed(address)
    value: uint256
    locktime: indexed(uint256)
    type: int128
    ts: uint256

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

event Supply:
    prevSupply: uint256
    supply: uint256


WEEK: constant(uint256) = 7 * 86400  # all future times are rounded by week
MAXTIME: constant(uint256) = 4 * 365 * 86400  # 4 years
MULTIPLIER: constant(uint256) = 10 ** 18

token: public(address)
supply: public(uint256)

locked: public(HashMap[address, LockedBalance])

epoch: public(uint256)
point_history: public(Point[100000000000000000000000000000])  # epoch -> unsigned point
user_point_history: public(HashMap[address, Point[1000000000]])  # user -> Point[user_epoch]
user_point_epoch: public(HashMap[address, uint256])
slope_changes: public(HashMap[uint256, int128])  # time -> signed slope change

# Aragon's view methods for compatibility
controller: public(address)
transfersEnabled: public(bool)

name: public(String[64])
symbol: public(String[32])
version: public(String[32])
decimals: public(uint256)

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


@external
def __init__(token_addr: address, _name: String[64], _symbol: String[32], _version: String[32]):
    """
    @notice Contract constructor
    @param token_addr `ERC20CRV` token address
    @param _name Token name
    @param _symbol Token symbol
    @param _version Contract version - required for Aragon compatibility
    """
    self.admin = msg.sender
    self.token = token_addr
    self.point_history[0].blk = block.number
    self.point_history[0].ts = block.timestamp
    self.controller = msg.sender
    self.transfersEnabled = True

    _decimals: uint256 = ERC20(token_addr).decimals()
    assert _decimals <= 255
    self.decimals = _decimals

    self.name = _name
    self.symbol = _symbol
    self.version = _version


@external
def commit_transfer_ownership(addr: address):
    """
    @notice Transfer ownership of VotingEscrow contract 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 apply_transfer_ownership():
    """
    @notice Apply ownership transfer
    """
    assert msg.sender == self.admin  # dev: admin only
    _admin: address = self.future_admin
    assert _admin != ZERO_ADDRESS  # dev: admin not set
    self.admin = _admin
    log ApplyOwnership(_admin)


@external
@view
def get_last_user_slope(addr: address) -> int128:
    """
    @notice Get the most recently recorded rate of voting power decrease for `addr`
    @param addr Address of the user wallet
    @return Value of the slope
    """
    uepoch: uint256 = self.user_point_epoch[addr]
    return self.user_point_history[addr][uepoch].slope


@external
@view
def user_point_history__ts(_addr: address, _idx: uint256) -> uint256:
    """
    @notice Get the timestamp for checkpoint `_idx` for `_addr`
    @param _addr User wallet address
    @param _idx User epoch number
    @return Epoch time of the checkpoint
    """
    return self.user_point_history[_addr][_idx].ts


@external
@view
def locked__end(_addr: address) -> uint256:
    """
    @notice Get timestamp when `_addr`'s lock finishes
    @param _addr User wallet
    @return Epoch time of the lock end
    """
    return self.locked[_addr].end


@internal
def _checkpoint(addr: address, old_locked: LockedBalance, new_locked: LockedBalance):
    """
    @notice Record global and per-user data to checkpoint
    @param addr User's wallet address. No user checkpoint if 0x0
    @param old_locked Pevious locked amount / end lock time for the user
    @param new_locked New locked amount / end lock time for the user
    """
    u_old: Point = empty(Point)
    u_new: Point = empty(Point)
    old_dslope: int128 = 0
    new_dslope: int128 = 0
    _epoch: uint256 = self.epoch

    if addr != ZERO_ADDRESS:
        # Calculate slopes and biases
        # Kept at zero when they have to
        if old_locked.end > block.timestamp and old_locked.amount > 0:
            u_old.slope = old_locked.amount / MAXTIME
            u_old.bias = u_old.slope * convert(old_locked.end - block.timestamp, int128)
        if new_locked.end > block.timestamp and new_locked.amount > 0:
            u_new.slope = new_locked.amount / MAXTIME
            u_new.bias = u_new.slope * convert(new_locked.end - block.timestamp, int128)

        # Read values of scheduled changes in the slope
        # old_locked.end can be in the past and in the future
        # new_locked.end can ONLY by in the FUTURE unless everything expired: than zeros
        old_dslope = self.slope_changes[old_locked.end]
        if new_locked.end != 0:
            if new_locked.end == old_locked.end:
                new_dslope = old_dslope
            else:
                new_dslope = self.slope_changes[new_locked.end]

    last_point: Point = Point({bias: 0, slope: 0, ts: block.timestamp, blk: block.number})
    if _epoch > 0:
        last_point = self.point_history[_epoch]
    last_checkpoint: uint256 = last_point.ts
    # initial_last_point is used for extrapolation to calculate block number
    # (approximately, for *At methods) and save them
    # as we cannot figure that out exactly from inside the contract
    initial_last_point: Point = last_point
    block_slope: uint256 = 0  # dblock/dt
    if block.timestamp > last_point.ts:
        block_slope = MULTIPLIER * (block.number - last_point.blk) / (block.timestamp - last_point.ts)
    # If last point is already recorded in this block, slope=0
    # But that's ok b/c we know the block in such case

    # Go over weeks to fill history and calculate what the current point is
    t_i: uint256 = (last_checkpoint / WEEK) * WEEK
    for i in range(255):
        # Hopefully it won't happen that this won't get used in 5 years!
        # If it does, users will be able to withdraw but vote weight will be broken
        t_i += WEEK
        d_slope: int128 = 0
        if t_i > block.timestamp:
            t_i = block.timestamp
        else:
            d_slope = self.slope_changes[t_i]
        last_point.bias -= last_point.slope * convert(t_i - last_checkpoint, int128)
        last_point.slope += d_slope
        if last_point.bias < 0:  # This can happen
            last_point.bias = 0
        if last_point.slope < 0:  # This cannot happen - just in case
            last_point.slope = 0
        last_checkpoint = t_i
        last_point.ts = t_i
        last_point.blk = initial_last_point.blk + block_slope * (t_i - initial_last_point.ts) / MULTIPLIER
        _epoch += 1
        if t_i == block.timestamp:
            last_point.blk = block.number
            break
        else:
            self.point_history[_epoch] = last_point

    self.epoch = _epoch
    # Now point_history is filled until t=now

    if addr != ZERO_ADDRESS:
        # If last point was in this block, the slope change has been applied already
        # But in such case we have 0 slope(s)
        last_point.slope += (u_new.slope - u_old.slope)
        last_point.bias += (u_new.bias - u_old.bias)
        if last_point.slope < 0:
            last_point.slope = 0
        if last_point.bias < 0:
            last_point.bias = 0

    # Record the changed point into history
    self.point_history[_epoch] = last_point

    if addr != ZERO_ADDRESS:
        # Schedule the slope changes (slope is going down)
        # We subtract new_user_slope from [new_locked.end]
        # and add old_user_slope to [old_locked.end]
        if old_locked.end > block.timestamp:
            # old_dslope was <something> - u_old.slope, so we cancel that
            old_dslope += u_old.slope
            if new_locked.end == old_locked.end:
                old_dslope -= u_new.slope  # It was a new deposit, not extension
            self.slope_changes[old_locked.end] = old_dslope

        if new_locked.end > block.timestamp:
            if new_locked.end > old_locked.end:
                new_dslope -= u_new.slope  # old slope disappeared at this point
                self.slope_changes[new_locked.end] = new_dslope
            # else: we recorded it already in old_dslope

        # Now handle user history
        user_epoch: uint256 = self.user_point_epoch[addr] + 1

        self.user_point_epoch[addr] = user_epoch
        u_new.ts = block.timestamp
        u_new.blk = block.number
        self.user_point_history[addr][user_epoch] = u_new


@internal
def _deposit_for(_addr: address, _value: uint256, unlock_time: uint256, locked_balance: LockedBalance, type: int128):
    """
    @notice Deposit and lock tokens for a user
    @param _addr User's wallet address
    @param _value Amount to deposit
    @param unlock_time New time when to unlock the tokens, or 0 if unchanged
    @param locked_balance Previous locked amount / timestamp
    """
    _locked: LockedBalance = locked_balance
    supply_before: uint256 = self.supply

    self.supply = supply_before + _value
    old_locked: LockedBalance = _locked
    # Adding to existing lock, or if a lock is expired - creating a new one
    _locked.amount += convert(_value, int128)
    if unlock_time != 0:
        _locked.end = unlock_time
    self.locked[_addr] = _locked

    # Possibilities:
    # Both old_locked.end could be current or expired (>/< block.timestamp)
    # value == 0 (extend lock) or value > 0 (add to lock or extend lock)
    # _locked.end > block.timestamp (always)
    self._checkpoint(_addr, old_locked, _locked)

    if _value != 0:
        assert ERC20(self.token).transferFrom(_addr, self, _value)

    log Deposit(_addr, _value, _locked.end, type, block.timestamp)
    log Supply(supply_before, supply_before + _value)


@external
def checkpoint():
    """
    @notice Record global data to checkpoint
    """
    self._checkpoint(ZERO_ADDRESS, empty(LockedBalance), empty(LockedBalance))


@external
@nonreentrant('lock')
def deposit_for(_addr: address, _value: uint256):
    """
    @notice Deposit `_value` tokens for `_addr` and add to the lock
    @dev Anyone (even a smart contract) can deposit for someone else, but
         cannot extend their locktime and deposit for a brand new user
    @param _addr User's wallet address
    @param _value Amount to add to user's lock
    """
    _locked: LockedBalance = self.locked[_addr]

    assert _value > 0  # dev: need non-zero value
    assert _locked.amount > 0, "No existing lock found"
    assert _locked.end > block.timestamp, "Cannot add to expired lock. Withdraw"

    self._deposit_for(_addr, _value, 0, self.locked[_addr], DEPOSIT_FOR_TYPE)


@external
@nonreentrant('lock')
def create_lock(_value: uint256, _unlock_time: uint256):
    """
    @notice Deposit `_value` tokens for `msg.sender` and lock until `_unlock_time`
    @param _value Amount to deposit
    @param _unlock_time Epoch time when tokens unlock, rounded down to whole weeks
    """
    unlock_time: uint256 = (_unlock_time / WEEK) * WEEK  # Locktime is rounded down to weeks
    _locked: LockedBalance = self.locked[msg.sender]

    assert _value > 0  # dev: need non-zero value
    assert _locked.amount == 0, "Withdraw old tokens first"
    assert unlock_time > block.timestamp, "Can only lock until time in the future"
    assert unlock_time <= block.timestamp + MAXTIME, "Voting lock can be 4 years max"

    self._deposit_for(msg.sender, _value, unlock_time, _locked, CREATE_LOCK_TYPE)


@external
@nonreentrant('lock')
def increase_amount(_value: uint256):
    """
    @notice Deposit `_value` additional tokens for `msg.sender`
            without modifying the unlock time
    @param _value Amount of tokens to deposit and add to the lock
    """
    _locked: LockedBalance = self.locked[msg.sender]

    assert _value > 0  # dev: need non-zero value
    assert _locked.amount > 0, "No existing lock found"
    assert _locked.end > block.timestamp, "Cannot add to expired lock. Withdraw"

    self._deposit_for(msg.sender, _value, 0, _locked, INCREASE_LOCK_AMOUNT)


@external
@nonreentrant('lock')
def increase_unlock_time(_unlock_time: uint256):
    """
    @notice Extend the unlock time for `msg.sender` to `_unlock_time`
    @param _unlock_time New epoch time for unlocking
    """
    _locked: LockedBalance = self.locked[msg.sender]
    unlock_time: uint256 = (_unlock_time / WEEK) * WEEK  # Locktime is rounded down to weeks

    assert _locked.end > block.timestamp, "Lock expired"
    assert _locked.amount > 0, "Nothing is locked"
    assert unlock_time > _locked.end, "Can only increase lock duration"
    assert unlock_time <= block.timestamp + MAXTIME, "Voting lock can be 4 years max"

    self._deposit_for(msg.sender, 0, unlock_time, _locked, INCREASE_UNLOCK_TIME)


@external
@nonreentrant('lock')
def withdraw():
    """
    @notice Withdraw all tokens for `msg.sender`
    @dev Only possible if the lock has expired
    """
    _locked: LockedBalance = self.locked[msg.sender]
    assert block.timestamp >= _locked.end, "The lock didn't expire"
    value: uint256 = convert(_locked.amount, uint256)

    old_locked: LockedBalance = _locked
    _locked.end = 0
    _locked.amount = 0
    self.locked[msg.sender] = _locked
    supply_before: uint256 = self.supply
    self.supply = supply_before - value

    # old_locked can have either expired <= timestamp or zero end
    # _locked has only 0 end
    # Both can have >= 0 amount
    self._checkpoint(msg.sender, old_locked, _locked)

    assert ERC20(self.token).transfer(msg.sender, value)

    log Withdraw(msg.sender, value, block.timestamp)
    log Supply(supply_before, supply_before - value)


# The following ERC20/minime-compatible methods are not real balanceOf and supply!
# They measure the weights for the purpose of voting, so they don't represent
# real coins.

@internal
@view
def find_block_epoch(_block: uint256, max_epoch: uint256) -> uint256:
    """
    @notice Binary search to estimate timestamp for block number
    @param _block Block to find
    @param max_epoch Don't go beyond this epoch
    @return Approximate timestamp for block
    """
    # Binary search
    _min: uint256 = 0
    _max: uint256 = max_epoch
    for i in range(128):  # Will be always enough for 128-bit numbers
        if _min >= _max:
            break
        _mid: uint256 = (_min + _max + 1) / 2
        if self.point_history[_mid].blk <= _block:
            _min = _mid
        else:
            _max = _mid - 1
    return _min


@external
@view
def balanceOf(addr: address, _t: uint256 = block.timestamp) -> uint256:
    """
    @notice Get the current voting power for `msg.sender`
    @dev Adheres to the ERC20 `balanceOf` interface for Aragon compatibility
    @param addr User wallet address
    @param _t Epoch time to return voting power at
    @return User voting power
    """
    _epoch: uint256 = self.user_point_epoch[addr]
    if _epoch == 0:
        return 0
    else:
        last_point: Point = self.user_point_history[addr][_epoch]
        last_point.bias -= last_point.slope * convert(_t - last_point.ts, int128)
        if last_point.bias < 0:
            last_point.bias = 0
        return convert(last_point.bias, uint256)


@external
@view
def balanceOfAt(addr: address, _block: uint256) -> uint256:
    """
    @notice Measure voting power of `addr` at block height `_block`
    @dev Adheres to MiniMe `balanceOfAt` interface: https://github.com/Giveth/minime
    @param addr User's wallet address
    @param _block Block to calculate the voting power at
    @return Voting power
    """
    # Copying and pasting totalSupply code because Vyper cannot pass by
    # reference yet
    assert _block <= block.number

    # Binary search
    _min: uint256 = 0
    _max: uint256 = self.user_point_epoch[addr]
    for i in range(128):  # Will be always enough for 128-bit numbers
        if _min >= _max:
            break
        _mid: uint256 = (_min + _max + 1) / 2
        if self.user_point_history[addr][_mid].blk <= _block:
            _min = _mid
        else:
            _max = _mid - 1

    upoint: Point = self.user_point_history[addr][_min]

    max_epoch: uint256 = self.epoch
    _epoch: uint256 = self.find_block_epoch(_block, max_epoch)
    point_0: Point = self.point_history[_epoch]
    d_block: uint256 = 0
    d_t: uint256 = 0
    if _epoch < max_epoch:
        point_1: Point = self.point_history[_epoch + 1]
        d_block = point_1.blk - point_0.blk
        d_t = point_1.ts - point_0.ts
    else:
        d_block = block.number - point_0.blk
        d_t = block.timestamp - point_0.ts
    block_time: uint256 = point_0.ts
    if d_block != 0:
        block_time += d_t * (_block - point_0.blk) / d_block

    upoint.bias -= upoint.slope * convert(block_time - upoint.ts, int128)
    if upoint.bias >= 0:
        return convert(upoint.bias, uint256)
    else:
        return 0


@internal
@view
def supply_at(point: Point, t: uint256) -> uint256:
    """
    @notice Calculate total voting power at some point in the past
    @param point The point (bias/slope) to start search from
    @param t Time to calculate the total voting power at
    @return Total voting power at that time
    """
    last_point: Point = point
    t_i: uint256 = (last_point.ts / WEEK) * WEEK
    for i in range(255):
        t_i += WEEK
        d_slope: int128 = 0
        if t_i > t:
            t_i = t
        else:
            d_slope = self.slope_changes[t_i]
        last_point.bias -= last_point.slope * convert(t_i - last_point.ts, int128)
        if t_i == t:
            break
        last_point.slope += d_slope
        last_point.ts = t_i

    if last_point.bias < 0:
        last_point.bias = 0
    return convert(last_point.bias, uint256)


@external
@view
def totalSupply(t: uint256 = block.timestamp) -> uint256:
    """
    @notice Calculate total voting power
    @dev Adheres to the ERC20 `totalSupply` interface for Aragon compatibility
    @return Total voting power
    """
    _epoch: uint256 = self.epoch
    last_point: Point = self.point_history[_epoch]
    return self.supply_at(last_point, t)


@external
@view
def totalSupplyAt(_block: uint256) -> uint256:
    """
    @notice Calculate total voting power at some point in the past
    @param _block Block to calculate the total voting power at
    @return Total voting power at `_block`
    """
    assert _block <= block.number
    _epoch: uint256 = self.epoch
    target_epoch: uint256 = self.find_block_epoch(_block, _epoch)

    point: Point = self.point_history[target_epoch]
    dt: uint256 = 0
    if target_epoch < _epoch:
        point_next: Point = self.point_history[target_epoch + 1]
        if point.blk != point_next.blk:
            dt = (_block - point.blk) * (point_next.ts - point.ts) / (point_next.blk - point.blk)
    else:
        if point.blk != block.number:
            dt = (_block - point.blk) * (block.timestamp - point.ts) / (block.number - point.blk)
    # Now dt contains info on how far are we beyond point

    return self.supply_at(point, point.ts + dt)


# Dummy methods for compatibility with Aragon

@external
def changeController(_newController: address):
    """
    @dev Dummy method required for Aragon compatibility
    """
    assert msg.sender == self.controller
    self.controller = _newController

Contract Security Audit

Contract ABI

API
[{"name":"CommitOwnership","inputs":[{"type":"address","name":"admin","indexed":false}],"anonymous":false,"type":"event"},{"name":"ApplyOwnership","inputs":[{"type":"address","name":"admin","indexed":false}],"anonymous":false,"type":"event"},{"name":"Deposit","inputs":[{"type":"address","name":"provider","indexed":true},{"type":"uint256","name":"value","indexed":false},{"type":"uint256","name":"locktime","indexed":true},{"type":"int128","name":"type","indexed":false},{"type":"uint256","name":"ts","indexed":false}],"anonymous":false,"type":"event"},{"name":"Withdraw","inputs":[{"type":"address","name":"provider","indexed":true},{"type":"uint256","name":"value","indexed":false},{"type":"uint256","name":"ts","indexed":false}],"anonymous":false,"type":"event"},{"name":"Supply","inputs":[{"type":"uint256","name":"prevSupply","indexed":false},{"type":"uint256","name":"supply","indexed":false}],"anonymous":false,"type":"event"},{"outputs":[],"inputs":[{"type":"address","name":"token_addr"},{"type":"string","name":"_name"},{"type":"string","name":"_symbol"},{"type":"string","name":"_version"}],"stateMutability":"nonpayable","type":"constructor"},{"name":"commit_transfer_ownership","outputs":[],"inputs":[{"type":"address","name":"addr"}],"stateMutability":"nonpayable","type":"function","gas":37597},{"name":"apply_transfer_ownership","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":38497},{"name":"get_last_user_slope","outputs":[{"type":"int128","name":""}],"inputs":[{"type":"address","name":"addr"}],"stateMutability":"view","type":"function","gas":2479},{"name":"user_point_history__ts","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"_addr"},{"type":"uint256","name":"_idx"}],"stateMutability":"view","type":"function","gas":1582},{"name":"locked__end","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"_addr"}],"stateMutability":"view","type":"function","gas":1503},{"name":"checkpoint","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":37052162},{"name":"deposit_for","outputs":[],"inputs":[{"type":"address","name":"_addr"},{"type":"uint256","name":"_value"}],"stateMutability":"nonpayable","type":"function","gas":74279531},{"name":"create_lock","outputs":[],"inputs":[{"type":"uint256","name":"_value"},{"type":"uint256","name":"_unlock_time"}],"stateMutability":"nonpayable","type":"function","gas":74278325},{"name":"increase_amount","outputs":[],"inputs":[{"type":"uint256","name":"_value"}],"stateMutability":"nonpayable","type":"function","gas":74277691},{"name":"increase_unlock_time","outputs":[],"inputs":[{"type":"uint256","name":"_unlock_time"}],"stateMutability":"nonpayable","type":"function","gas":74278439},{"name":"withdraw","outputs":[],"inputs":[],"stateMutability":"nonpayable","type":"function","gas":37223386},{"name":"balanceOf","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"addr"}],"stateMutability":"view","type":"function"},{"name":"balanceOf","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"addr"},{"type":"uint256","name":"_t"}],"stateMutability":"view","type":"function"},{"name":"balanceOfAt","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"addr"},{"type":"uint256","name":"_block"}],"stateMutability":"view","type":"function","gas":514153},{"name":"totalSupply","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function"},{"name":"totalSupply","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"uint256","name":"t"}],"stateMutability":"view","type":"function"},{"name":"totalSupplyAt","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"uint256","name":"_block"}],"stateMutability":"view","type":"function","gas":812290},{"name":"changeController","outputs":[],"inputs":[{"type":"address","name":"_newController"}],"stateMutability":"nonpayable","type":"function","gas":36817},{"name":"token","outputs":[{"type":"address","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":1751},{"name":"supply","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":1781},{"name":"locked","outputs":[{"type":"int128","name":"amount"},{"type":"uint256","name":"end"}],"inputs":[{"type":"address","name":"arg0"}],"stateMutability":"view","type":"function","gas":3269},{"name":"epoch","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":1841},{"name":"point_history","outputs":[{"type":"int128","name":"bias"},{"type":"int128","name":"slope"},{"type":"uint256","name":"ts"},{"type":"uint256","name":"blk"}],"inputs":[{"type":"uint256","name":"arg0"}],"stateMutability":"view","type":"function","gas":5460},{"name":"user_point_history","outputs":[{"type":"int128","name":"bias"},{"type":"int128","name":"slope"},{"type":"uint256","name":"ts"},{"type":"uint256","name":"blk"}],"inputs":[{"type":"address","name":"arg0"},{"type":"uint256","name":"arg1"}],"stateMutability":"view","type":"function","gas":5989},{"name":"user_point_epoch","outputs":[{"type":"uint256","name":""}],"inputs":[{"type":"address","name":"arg0"}],"stateMutability":"view","type":"function","gas":2085},{"name":"slope_changes","outputs":[{"type":"int128","name":""}],"inputs":[{"type":"uint256","name":"arg0"}],"stateMutability":"view","type":"function","gas":2076},{"name":"controller","outputs":[{"type":"address","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":1991},{"name":"transfersEnabled","outputs":[{"type":"bool","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2021},{"name":"name","outputs":[{"type":"string","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":8453},{"name":"symbol","outputs":[{"type":"string","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":7506},{"name":"version","outputs":[{"type":"string","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":7536},{"name":"decimals","outputs":[{"type":"uint256","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2141},{"name":"admin","outputs":[{"type":"address","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2171},{"name":"future_admin","outputs":[{"type":"address","name":""}],"inputs":[],"stateMutability":"view","type":"function","gas":2201}]

740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a05260806133736101403934156100a157600080fd5b602061337360c03960c05160205181106100ba57600080fd5b506060602060206133730160c03960c051613373016101c0396040602060206133730160c03960c0516004013511156100f257600080fd5b6040602060406133730160c03960c05161337301610240396020602060406133730160c03960c05160040135111561012957600080fd5b6040602060606133730160c03960c051613373016102a0396020602060606133730160c03960c05160040135111561016057600080fd5b33600e5561014051600055436003600460c052602060c02060c052602060c0200155426002600460c052602060c02060c052602060c02001553360085560016009556020610380600463313ce5676103205261033c610140515afa6101c457600080fd5b601f3d116101d157600080fd5b600050610380516103005260ff6103005111156101ed57600080fd5b61030051600d556101c080600a60c052602060c020602082510161012060006003818352015b8261012051602002111561022657610248565b61012051602002850151610120518501555b8151600101808352811415610213575b50505050505061024080600b60c052602060c020602082510161012060006002818352015b82610120516020021115610280576102a2565b61012051602002850151610120518501555b815160010180835281141561026d575b5050505050506102a080600c60c052602060c020602082510161012060006002818352015b826101205160200211156102da576102fc565b61012051602002850151610120518501555b81516001018083528114156102c7575b50505050505061335b56600436101561000d5761304e565b600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a052636b441a4060005114156101105734156100ba57600080fd5b60043560205181106100cb57600080fd5b50600e5433146100da57600080fd5b600435600f55600435610140527f2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e96020610140a1005b636a1c05ae600051141561018657341561012957600080fd5b600e54331461013757600080fd5b600f54610140526000610140511861014e57600080fd5b61014051600e5561014051610160527febee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a11891056020610160a1005b637c74a174600051141561020a57341561019f57600080fd5b60043560205181106101b057600080fd5b50600660043560e05260c052604060c0205461014052600161014051633b9aca0081106101dc57600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c020015460005260206000f350005b63da020a18600051141561027857341561022357600080fd5b600435602051811061023457600080fd5b506002602435633b9aca00811061024a57600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c020015460005260206000f350005b63adc6358960005114156102ca57341561029157600080fd5b60043560205181106102a257600080fd5b506001600260043560e05260c052604060c02060c052602060c020015460005260206000f350005b600015610bd2575b6101e0526101405261016052610180526101a0526101c05260803661020037608036610280376000610300526000610320526003546103405260006101405118156104db574261018051111561032e5760006101605113610331565b60005b156103ce5761016051630784ce00606051818061034d57600080fd5b83058060405190131561035f57600080fd5b809190121561036d57600080fd5b90509050610220526102205161018051428082101561038b57600080fd5b808203905090506040518111156103a157600080fd5b606051818302806040519013156103b757600080fd5b80919012156103c557600080fd5b90509050610200525b426101c05111156103e55760006101a051136103e8565b60005b15610485576101a051630784ce00606051818061040457600080fd5b83058060405190131561041657600080fd5b809190121561042457600080fd5b905090506102a0526102a0516101c051428082101561044257600080fd5b8082039050905060405181111561045857600080fd5b6060518183028060405190131561046e57600080fd5b809190121561047c57600080fd5b90509050610280525b60076101805160e05260c052604060c020546103005260006101c05118156104da57610180516101c05114156104c25761030051610320526104d9565b60076101c05160e05260c052604060c02054610320525b5b5b610360600081526000816020015242816040015243816060015250600061034051111561057257610360610340516c01431e0fae6d7217caa0000000811061052257600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c0200154826060015250505b6103a0516103e0526104006103608051825280602001518260200152806040015182604001528060600151826060015250506000610480526103a05142111561062157670de0b6b3a7640000436103c051808210156105d057600080fd5b8082039050905080820282158284830414176105eb57600080fd5b80905090509050426103a0518082101561060457600080fd5b80820390509050808061061657600080fd5b820490509050610480525b6103e05162093a80808061063457600080fd5b82049050905062093a80808202821582848304141761065257600080fd5b809050905090506104a0526104c0600060ff818352015b6104a0805162093a8081818301101561068157600080fd5b8082019050905081525060006104e052426104a05111156106a657426104a0526106bd565b60076104a05160e05260c052604060c020546104e0525b6103608051610380516104a0516103e051808210156106db57600080fd5b808203905090506040518111156106f157600080fd5b6060518183028060405190131561070757600080fd5b809190121561071557600080fd5b905090506060518183038060405190131561072f57600080fd5b809190121561073d57600080fd5b9050905081525061038080516104e0516060518183018060405190131561076357600080fd5b809190121561077157600080fd5b90509050815250600061036051121561078b576000610360525b600061038051121561079e576000610380525b6104a0516103e0526104a0516103a05261046051610480516104a05161044051808210156107cb57600080fd5b8082039050905080820282158284830414176107e657600080fd5b80905090509050670de0b6b3a7640000808061080157600080fd5b82049050905081818301101561081657600080fd5b808201905090506103c0526103408051600181818301101561083757600080fd5b80820190509050815250426104a051141561085a57436103c0526108c3566108b2565b610340516c01431e0fae6d7217caa0000000811061087757600080fd5b600460c052602060c0200160c052602060c0206103608051825580602001516001830155806040015160028301558060600151600383015550505b5b8151600101808352811415610669575b50506103405160035560006101405118156109bf5761038080516102a05161022051606051818303806040519013156108fb57600080fd5b809190121561090957600080fd5b905090506060518183018060405190131561092357600080fd5b809190121561093157600080fd5b90509050815250610360805161028051610200516060518183038060405190131561095b57600080fd5b809190121561096957600080fd5b905090506060518183018060405190131561098357600080fd5b809190121561099157600080fd5b9050905081525060006103805112156109ab576000610380525b60006103605112156109be576000610360525b5b610340516c01431e0fae6d7217caa000000081106109dc57600080fd5b600460c052602060c0200160c052602060c0206103608051825580602001516001830155806040015160028301558060600151600383015550506000610140511815610bcc5742610180511115610abb5761030080516102205160605181830180604051901315610a4c57600080fd5b8091901215610a5a57600080fd5b90509050815250610180516101c0511415610aa45761030080516102a05160605181830380604051901315610a8e57600080fd5b8091901215610a9c57600080fd5b905090508152505b6103005160076101805160e05260c052604060c020555b426101c0511115610b2057610180516101c0511115610b1f5761032080516102a05160605181830380604051901315610af357600080fd5b8091901215610b0157600080fd5b905090508152506103205160076101c05160e05260c052604060c020555b5b60066101405160e05260c052604060c020546001818183011015610b4357600080fd5b80820190509050610500526105005160066101405160e05260c052604060c02055426102c052436102e05261050051633b9aca008110610b8257600080fd5b60056101405160e05260c052604060c02060c052602060c0200160c052602060c0206102808051825580602001516001830155806040015160028301558060600151600383015550505b6101e051565b600015610e74575b610200526101405261016052610180526101a0526101c0526101e0526102206101a080518252806020015182602001525050600154610260526102605161016051818183011015610c2a57600080fd5b8082019050905060015561028061022080518252806020015182602001525050610220805161016051604051811115610c6257600080fd5b60605181830180604051901315610c7857600080fd5b8091901215610c8657600080fd5b905090508152506000610180511815610ca25761018051610240525b60026101405160e05260c052604060c02060c052602060c020610220805182558060200151600183015550506101406102c0525b6102c0515160206102c051016102c0526102c06102c0511015610cf857610cd6565b610140516102e0526103006102808051825280602001518260200152505061034061022080518252806020015182602001525050610360516103405161032051610300516102e051600658016102d2565b6102a06102c0525b6102c0515260206102c051036102c0526101406102c051101515610d7457610d51565b6000506000610160511815610dd957602061048060646323b872dd6103c052610140516103e052306104005261016051610420526103dc60006000545af1610dbb57600080fd5b601f3d11610dc857600080fd5b60005061048051610dd857600080fd5b5b610160516104a0526101e0516104c052426104e05261024051610140517f4566dfc29f6f11d13a418c26a02bef7c28bae749d4de47e4e6a7cddea6730d5960606104a0a361026051610500526102605161016051818183011015610e3c57600080fd5b80820190509050610520527f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c6040610500a161020051565b63c2c4c5c16000511415610ec3573415610e8d57600080fd5b600061014052604036610160376040366101a0376101c0516101a051610180516101605161014051600658016102d2565b600050005b633a46273e60005114156110d95762ffffff5415610ee057600080fd5b600162ffffff553415610ef257600080fd5b6004356020518110610f0357600080fd5b50610140600260043560e05260c052604060c0208060c052602060c02054825260018160c052602060c020015482602001525050600060243511610f4657600080fd5b6308c379a06101805260206101a05260166101c0527f4e6f206578697374696e67206c6f636b20666f756e64000000000000000000006101e0526101c05060006101405113610f9657606461019cfd5b6308c379a0610220526020610240526024610260527f43616e6e6f742061646420746f2065787069726564206c6f636b2e2057697468610280527f64726177000000000000000000000000000000000000000000000000000000006102a0526102605042610160511161100a57608461023cfd5b6101406102e0525b6102e0515160206102e051016102e0526102e06102e051101561103457611012565b6004356103005260243561032052600061034052610360600260043560e05260c052604060c0208060c052602060c02054825260018160c052602060c02001548260200152505060006103a0526103a051610380516103605161034051610320516103005160065801610bda565b6102c06102e0525b6102e0515260206102e051036102e0526101406102e0511015156110cd576110aa565b600050600062ffffff55005b6365fc387360005114156113625762ffffff54156110f657600080fd5b600162ffffff55341561110857600080fd5b60243562093a80808061111a57600080fd5b82049050905062093a80808202821582848304141761113857600080fd5b809050905090506101405261016060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c02001548260200152505060006004351161118357600080fd5b6308c379a06101a05260206101c05260196101e0527f5769746864726177206f6c6420746f6b656e7320666972737400000000000000610200526101e05061016051156111d15760646101bcfd5b6308c379a0610240526020610260526026610280527f43616e206f6e6c79206c6f636b20756e74696c2074696d6520696e20746865206102a0527f66757475726500000000000000000000000000000000000000000000000000006102c0526102805042610140511161124557608461025cfd5b6308c379a061030052602061032052601e610340527f566f74696e67206c6f636b2063616e2062652034207965617273206d61780000610360526103405042630784ce0081818301101561129857600080fd5b808201905090506101405111156112b057606461031cfd5b6101406103a0525b6103a0515160206103a051016103a0526103a06103a05110156112da576112b8565b336103c0526004356103e052610140516104005261042061016080518252806020015182602001525050600161046052610460516104405161042051610400516103e0516103c05160065801610bda565b6103806103a0525b6103a0515260206103a051036103a0526101406103a05110151561135657611333565b600050600062ffffff55005b634957677c60005114156115455762ffffff541561137f57600080fd5b600162ffffff55341561139157600080fd5b61014060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c0200154826020015250506000600435116113d157600080fd5b6308c379a06101805260206101a05260166101c0527f4e6f206578697374696e67206c6f636b20666f756e64000000000000000000006101e0526101c0506000610140511361142157606461019cfd5b6308c379a0610220526020610240526024610260527f43616e6e6f742061646420746f2065787069726564206c6f636b2e2057697468610280527f64726177000000000000000000000000000000000000000000000000000000006102a0526102605042610160511161149557608461023cfd5b6101406102e0525b6102e0515160206102e051016102e0526102e06102e05110156114bf5761149d565b3361030052600435610320526000610340526103606101408051825280602001518260200152505060026103a0526103a051610380516103605161034051610320516103005160065801610bda565b6102c06102e0525b6102e0515260206102e051036102e0526101406102e05110151561153957611516565b600050600062ffffff55005b63eff7a61260005114156117ed5762ffffff541561156257600080fd5b600162ffffff55341561157457600080fd5b61014060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c02001548260200152505060043562093a8080806115b757600080fd5b82049050905062093a8080820282158284830414176115d557600080fd5b80905090509050610180526308c379a06101a05260206101c052600c6101e0527f4c6f636b20657870697265640000000000000000000000000000000000000000610200526101e05042610160511161162f5760646101bcfd5b6308c379a0610240526020610260526011610280527f4e6f7468696e67206973206c6f636b65640000000000000000000000000000006102a052610280506000610140511361167f57606461025cfd5b6308c379a06102e052602061030052601f610320527f43616e206f6e6c7920696e637265617365206c6f636b206475726174696f6e0061034052610320506101605161018051116116d15760646102fcfd5b6308c379a06103805260206103a052601e6103c0527f566f74696e67206c6f636b2063616e2062652034207965617273206d617800006103e0526103c05042630784ce0081818301101561172457600080fd5b8082019050905061018051111561173c57606461039cfd5b610140610420525b6104205151602061042051016104205261042061042051101561176657611744565b336104405260006104605261018051610480526104a06101408051825280602001518260200152505060036104e0526104e0516104c0516104a05161048051610460516104405160065801610bda565b610400610420525b61042051526020610420510361042052610140610420511015156117e1576117be565b600050600062ffffff55005b633ccfd60b6000511415611aa45762ffffff541561180a57600080fd5b600162ffffff55341561181c57600080fd5b61014060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c0200154826020015250506308c379a06101805260206101a05260166101c0527f546865206c6f636b206469646e277420657870697265000000000000000000006101e0526101c0506101605142101561189d57606461019cfd5b6101405160008112156118af57600080fd5b610220526102406101408051825280602001518260200152505060006101605260006101405260023360e05260c052604060c02060c052602060c020610140805182558060200151600183015550506001546102805261028051610220518082101561191a57600080fd5b808203905090506001556101406102a0525b6102a0515160206102a051016102a0526102a06102a051101561194e5761192c565b336102c0526102e061024080518252806020015182602001525050610320610140805182528060200151826020015250506103405161032051610300516102e0516102c051600658016102d2565b6102806102a0525b6102a0515260206102a051036102a0526101406102a0511015156119c7576119a4565b6000506020610440604463a9059cbb6103a052336103c052610220516103e0526103bc60006000545af16119fa57600080fd5b601f3d11611a0757600080fd5b60005061044051611a1757600080fd5b61022051610460524261048052337ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5686040610460a2610280516104a052610280516102205180821015611a6957600080fd5b808203905090506104c0527f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c60406104a0a1600062ffffff55005b600015611bc3575b61018052610140526101605260006101a052610160516101c0526101e060006080818352015b6101c0516101a051101515611ae657611baf565b6101a0516101c051818183011015611afd57600080fd5b808201905090506001818183011015611b1557600080fd5b8082019050905060028080611b2957600080fd5b82049050905061020052610140516003610200516c01431e0fae6d7217caa00000008110611b5657600080fd5b600460c052602060c0200160c052602060c0200154111515611b7f57610200516101a052611b9e565b61020051600180821015611b9257600080fd5b808203905090506101c0525b5b8151600101808352811415611ad2575b50506101a051600052600051610180515650005b6370a082316000511415611bdb574261014052611c00565b62fdd58e6000511415611bf8576020602461014037600050611c00565b600015611d78575b3415611c0b57600080fd5b6004356020518110611c1c57600080fd5b50600660043560e05260c052604060c0205461016052610160511515611c4c57600060005260206000f350611d76565b61018061016051633b9aca008110611c6357600080fd5b600560043560e05260c052604060c02060c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c02001548260600152505061018080516101a051610140516101c05180821015611cde57600080fd5b80820390509050604051811115611cf457600080fd5b60605181830280604051901315611d0a57600080fd5b8091901215611d1857600080fd5b9050905060605181830380604051901315611d3257600080fd5b8091901215611d4057600080fd5b905090508152506000610180511215611d5a576000610180525b610180516000811215611d6c57600080fd5b60005260206000f3505b005b634ee2cd7e6000511415612287573415611d9157600080fd5b6004356020518110611da257600080fd5b50436024351115611db257600080fd5b600061014052600660043560e05260c052604060c020546101605261018060006080818352015b6101605161014051101515611ded57611eba565b6101405161016051818183011015611e0457600080fd5b808201905090506001818183011015611e1c57600080fd5b8082019050905060028080611e3057600080fd5b8204905090506101a05260243560036101a051633b9aca008110611e5357600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c0200154111515611e8a576101a05161014052611ea9565b6101a051600180821015611e9d57600080fd5b80820390509050610160525b5b8151600101808352811415611dd9575b50506101c061014051633b9aca008110611ed357600080fd5b600560043560e05260c052604060c02060c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c020015482606001525050600354610240526101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516024356102a052610240516102c0526102c0516102a05160065801611aac565b61032052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103205161026052610340610260516c01431e0fae6d7217caa00000008110611fd357600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c02001548260600152505060006103c05260006103e052610240516102605110156121085761040061026051600181818301101561205457600080fd5b808201905090506c01431e0fae6d7217caa0000000811061207457600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c020015482606001525050610460516103a051808210156120d857600080fd5b808203905090506103c0526104405161038051808210156120f857600080fd5b808203905090506103e052612143565b436103a0518082101561211a57600080fd5b808203905090506103c05242610380518082101561213757600080fd5b808203905090506103e0525b610380516104805260006103c05118156121c55761048080516103e0516024356103a0518082101561217457600080fd5b80820390509050808202821582848304141761218f57600080fd5b809050905090506103c05180806121a557600080fd5b8204905090508181830110156121ba57600080fd5b808201905090508152505b6101c080516101e0516104805161020051808210156121e357600080fd5b808203905090506040518111156121f957600080fd5b6060518183028060405190131561220f57600080fd5b809190121561221d57600080fd5b905090506060518183038060405190131561223757600080fd5b809190121561224557600080fd5b9050905081525060006101c051121515612279576101c051600081121561226b57600080fd5b60005260206000f350612285565b600060005260206000f3505b005b60001561248f575b6101e0526101405261016052610180526101a0526101c0526102006101408051825280602001518260200152806040015182604001528060600151826060015250506102405162093a8080806122e457600080fd5b82049050905062093a80808202821582848304141761230257600080fd5b80905090509050610280526102a0600060ff818352015b610280805162093a8081818301101561233157600080fd5b8082019050905081525060006102c0526101c05161028051111561235c576101c05161028052612373565b60076102805160e05260c052604060c020546102c0525b61020080516102205161028051610240518082101561239157600080fd5b808203905090506040518111156123a757600080fd5b606051818302806040519013156123bd57600080fd5b80919012156123cb57600080fd5b90509050606051818303806040519013156123e557600080fd5b80919012156123f357600080fd5b905090508152506101c05161028051141561240d5761245a565b61022080516102c0516060518183018060405190131561242c57600080fd5b809190121561243a57600080fd5b9050905081525061028051610240525b8151600101808352811415612319575b5050600061020051121561246f576000610200525b61020051600081121561248157600080fd5b6000526000516101e0515650005b6318160ddd60005114156124a75742610140526124cd565b63bd85b03960005114156124c55760206004610140376000506124cd565b6000156125e0575b34156124d857600080fd5b60035461016052610180610160516c01431e0fae6d7217caa000000081106124ff57600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c0200154826060015250506101405161016051610180516101a0516101c0516101e051610220610180805182528060200151826020015280604001518260400152806060015182606001525050610140516102a0526102a051610280516102605161024051610220516006580161228f565b610300526101e0526101c0526101a0526101805261016052610140526103005160005260206000f350005b63981b24d060005114156129475734156125f957600080fd5b43600435111561260857600080fd5b6003546101405261014051610160516004356101a052610140516101c0526101c0516101a05160065801611aac565b6102205261016052610140526102205161016052610240610160516c01431e0fae6d7217caa0000000811061266b57600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c02001548260600152505060006102c052610140516101605110156127ec576102e06101605160018181830110156126e657600080fd5b808201905090506c01431e0fae6d7217caa0000000811061270657600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c020015482606001525050610340516102a05118156127e7576004356102a0518082101561277757600080fd5b8082039050905061032051610280518082101561279357600080fd5b8082039050905080820282158284830414176127ae57600080fd5b80905090509050610340516102a051808210156127ca57600080fd5b8082039050905080806127dc57600080fd5b8204905090506102c0525b612876565b436102a0511815612875576004356102a0518082101561280b57600080fd5b8082039050905042610280518082101561282457600080fd5b80820390509050808202821582848304141761283f57600080fd5b80905090509050436102a0518082101561285857600080fd5b80820390509050808061286a57600080fd5b8204905090506102c0525b5b610140610360525b610360515160206103605101610360526102e06103605110156128a05761287e565b610380610240805182528060200151826020015280604001518260400152806060015182606001525050610280516102c0518181830110156128e157600080fd5b8082019050905061040052610400516103e0516103c0516103a051610380516006580161228f565b610460526102c0610360525b610360515260206103605103610360526101406103605110151561293857612915565b6104605160005260206000f350005b633cebb823600051141561298857341561296057600080fd5b600435602051811061297157600080fd5b50600854331461298057600080fd5b600435600855005b63fc0c546a60005114156129af5734156129a157600080fd5b60005460005260206000f350005b63047fc9aa60005114156129d65734156129c857600080fd5b60015460005260206000f350005b63cbf9fe5f6000511415612a5f5734156129ef57600080fd5b6004356020518110612a0057600080fd5b50610140808080600260043560e05260c052604060c02060c052602060c020548152505060208101905080806001600260043560e05260c052604060c02060c052602060c02001548152505060409050905060c05260c051610140f350005b63900cf0cf6000511415612a86573415612a7857600080fd5b60035460005260206000f350005b63d1febfb96000511415612ba9573415612a9f57600080fd5b6101408080806004356c01431e0fae6d7217caa00000008110612ac157600080fd5b600460c052602060c0200160c052602060c0205481525050602081019050808060016004356c01431e0fae6d7217caa00000008110612aff57600080fd5b600460c052602060c0200160c052602060c020015481525050602081019050808060026004356c01431e0fae6d7217caa00000008110612b3e57600080fd5b600460c052602060c0200160c052602060c020015481525050602081019050808060036004356c01431e0fae6d7217caa00000008110612b7d57600080fd5b600460c052602060c0200160c052602060c02001548152505060809050905060c05260c051610140f350005b6328d09d476000511415612cf2573415612bc257600080fd5b6004356020518110612bd357600080fd5b50610140808080602435633b9aca008110612bed57600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c020548152505060208101905080806001602435633b9aca008110612c3057600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c02001548152505060208101905080806002602435633b9aca008110612c7457600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c02001548152505060208101905080806003602435633b9aca008110612cb857600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c02001548152505060809050905060c05260c051610140f350005b63010ae7576000511415612d39573415612d0b57600080fd5b6004356020518110612d1c57600080fd5b50600660043560e05260c052604060c0205460005260206000f350005b63711974846000511415612d6e573415612d5257600080fd5b600760043560e05260c052604060c0205460005260206000f350005b63f77c47916000511415612d95573415612d8757600080fd5b60085460005260206000f350005b63bef97c876000511415612dbc573415612dae57600080fd5b60095460005260206000f350005b6306fdde036000511415612e70573415612dd557600080fd5b600a8060c052602060c020610180602082540161012060006003818352015b82610120516020021115612e0757612e29565b61012051850154610120516020028501525b8151600101808352811415612df4575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b6395d89b416000511415612f24573415612e8957600080fd5b600b8060c052602060c020610180602082540161012060006002818352015b82610120516020021115612ebb57612edd565b61012051850154610120516020028501525b8151600101808352811415612ea8575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b6354fd4d506000511415612fd8573415612f3d57600080fd5b600c8060c052602060c020610180602082540161012060006002818352015b82610120516020021115612f6f57612f91565b61012051850154610120516020028501525b8151600101808352811415612f5c575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b63313ce5676000511415612fff573415612ff157600080fd5b600d5460005260206000f350005b63f851a440600051141561302657341561301857600080fd5b600e5460005260206000f350005b6317f7182a600051141561304d57341561303f57600080fd5b600f5460005260206000f350005b5b60006000fd5b61030761335b0361030760003961030761335b036000f3000000000000000000000000b8baa0e4287890a5f79863ab62b7f175cecbd433000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000012566f74652d657363726f7765642053575256000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000067665535752560000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c7665535752565f312e302e300000000000000000000000000000000000000000

Deployed Bytecode

0x600436101561000d5761304e565b600035601c52740100000000000000000000000000000000000000006020526f7fffffffffffffffffffffffffffffff6040527fffffffffffffffffffffffffffffffff8000000000000000000000000000000060605274012a05f1fffffffffffffffffffffffffdabf41c006080527ffffffffffffffffffffffffed5fa0e000000000000000000000000000000000060a052636b441a4060005114156101105734156100ba57600080fd5b60043560205181106100cb57600080fd5b50600e5433146100da57600080fd5b600435600f55600435610140527f2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e96020610140a1005b636a1c05ae600051141561018657341561012957600080fd5b600e54331461013757600080fd5b600f54610140526000610140511861014e57600080fd5b61014051600e5561014051610160527febee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a11891056020610160a1005b637c74a174600051141561020a57341561019f57600080fd5b60043560205181106101b057600080fd5b50600660043560e05260c052604060c0205461014052600161014051633b9aca0081106101dc57600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c020015460005260206000f350005b63da020a18600051141561027857341561022357600080fd5b600435602051811061023457600080fd5b506002602435633b9aca00811061024a57600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c020015460005260206000f350005b63adc6358960005114156102ca57341561029157600080fd5b60043560205181106102a257600080fd5b506001600260043560e05260c052604060c02060c052602060c020015460005260206000f350005b600015610bd2575b6101e0526101405261016052610180526101a0526101c05260803661020037608036610280376000610300526000610320526003546103405260006101405118156104db574261018051111561032e5760006101605113610331565b60005b156103ce5761016051630784ce00606051818061034d57600080fd5b83058060405190131561035f57600080fd5b809190121561036d57600080fd5b90509050610220526102205161018051428082101561038b57600080fd5b808203905090506040518111156103a157600080fd5b606051818302806040519013156103b757600080fd5b80919012156103c557600080fd5b90509050610200525b426101c05111156103e55760006101a051136103e8565b60005b15610485576101a051630784ce00606051818061040457600080fd5b83058060405190131561041657600080fd5b809190121561042457600080fd5b905090506102a0526102a0516101c051428082101561044257600080fd5b8082039050905060405181111561045857600080fd5b6060518183028060405190131561046e57600080fd5b809190121561047c57600080fd5b90509050610280525b60076101805160e05260c052604060c020546103005260006101c05118156104da57610180516101c05114156104c25761030051610320526104d9565b60076101c05160e05260c052604060c02054610320525b5b5b610360600081526000816020015242816040015243816060015250600061034051111561057257610360610340516c01431e0fae6d7217caa0000000811061052257600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c0200154826060015250505b6103a0516103e0526104006103608051825280602001518260200152806040015182604001528060600151826060015250506000610480526103a05142111561062157670de0b6b3a7640000436103c051808210156105d057600080fd5b8082039050905080820282158284830414176105eb57600080fd5b80905090509050426103a0518082101561060457600080fd5b80820390509050808061061657600080fd5b820490509050610480525b6103e05162093a80808061063457600080fd5b82049050905062093a80808202821582848304141761065257600080fd5b809050905090506104a0526104c0600060ff818352015b6104a0805162093a8081818301101561068157600080fd5b8082019050905081525060006104e052426104a05111156106a657426104a0526106bd565b60076104a05160e05260c052604060c020546104e0525b6103608051610380516104a0516103e051808210156106db57600080fd5b808203905090506040518111156106f157600080fd5b6060518183028060405190131561070757600080fd5b809190121561071557600080fd5b905090506060518183038060405190131561072f57600080fd5b809190121561073d57600080fd5b9050905081525061038080516104e0516060518183018060405190131561076357600080fd5b809190121561077157600080fd5b90509050815250600061036051121561078b576000610360525b600061038051121561079e576000610380525b6104a0516103e0526104a0516103a05261046051610480516104a05161044051808210156107cb57600080fd5b8082039050905080820282158284830414176107e657600080fd5b80905090509050670de0b6b3a7640000808061080157600080fd5b82049050905081818301101561081657600080fd5b808201905090506103c0526103408051600181818301101561083757600080fd5b80820190509050815250426104a051141561085a57436103c0526108c3566108b2565b610340516c01431e0fae6d7217caa0000000811061087757600080fd5b600460c052602060c0200160c052602060c0206103608051825580602001516001830155806040015160028301558060600151600383015550505b5b8151600101808352811415610669575b50506103405160035560006101405118156109bf5761038080516102a05161022051606051818303806040519013156108fb57600080fd5b809190121561090957600080fd5b905090506060518183018060405190131561092357600080fd5b809190121561093157600080fd5b90509050815250610360805161028051610200516060518183038060405190131561095b57600080fd5b809190121561096957600080fd5b905090506060518183018060405190131561098357600080fd5b809190121561099157600080fd5b9050905081525060006103805112156109ab576000610380525b60006103605112156109be576000610360525b5b610340516c01431e0fae6d7217caa000000081106109dc57600080fd5b600460c052602060c0200160c052602060c0206103608051825580602001516001830155806040015160028301558060600151600383015550506000610140511815610bcc5742610180511115610abb5761030080516102205160605181830180604051901315610a4c57600080fd5b8091901215610a5a57600080fd5b90509050815250610180516101c0511415610aa45761030080516102a05160605181830380604051901315610a8e57600080fd5b8091901215610a9c57600080fd5b905090508152505b6103005160076101805160e05260c052604060c020555b426101c0511115610b2057610180516101c0511115610b1f5761032080516102a05160605181830380604051901315610af357600080fd5b8091901215610b0157600080fd5b905090508152506103205160076101c05160e05260c052604060c020555b5b60066101405160e05260c052604060c020546001818183011015610b4357600080fd5b80820190509050610500526105005160066101405160e05260c052604060c02055426102c052436102e05261050051633b9aca008110610b8257600080fd5b60056101405160e05260c052604060c02060c052602060c0200160c052602060c0206102808051825580602001516001830155806040015160028301558060600151600383015550505b6101e051565b600015610e74575b610200526101405261016052610180526101a0526101c0526101e0526102206101a080518252806020015182602001525050600154610260526102605161016051818183011015610c2a57600080fd5b8082019050905060015561028061022080518252806020015182602001525050610220805161016051604051811115610c6257600080fd5b60605181830180604051901315610c7857600080fd5b8091901215610c8657600080fd5b905090508152506000610180511815610ca25761018051610240525b60026101405160e05260c052604060c02060c052602060c020610220805182558060200151600183015550506101406102c0525b6102c0515160206102c051016102c0526102c06102c0511015610cf857610cd6565b610140516102e0526103006102808051825280602001518260200152505061034061022080518252806020015182602001525050610360516103405161032051610300516102e051600658016102d2565b6102a06102c0525b6102c0515260206102c051036102c0526101406102c051101515610d7457610d51565b6000506000610160511815610dd957602061048060646323b872dd6103c052610140516103e052306104005261016051610420526103dc60006000545af1610dbb57600080fd5b601f3d11610dc857600080fd5b60005061048051610dd857600080fd5b5b610160516104a0526101e0516104c052426104e05261024051610140517f4566dfc29f6f11d13a418c26a02bef7c28bae749d4de47e4e6a7cddea6730d5960606104a0a361026051610500526102605161016051818183011015610e3c57600080fd5b80820190509050610520527f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c6040610500a161020051565b63c2c4c5c16000511415610ec3573415610e8d57600080fd5b600061014052604036610160376040366101a0376101c0516101a051610180516101605161014051600658016102d2565b600050005b633a46273e60005114156110d95762ffffff5415610ee057600080fd5b600162ffffff553415610ef257600080fd5b6004356020518110610f0357600080fd5b50610140600260043560e05260c052604060c0208060c052602060c02054825260018160c052602060c020015482602001525050600060243511610f4657600080fd5b6308c379a06101805260206101a05260166101c0527f4e6f206578697374696e67206c6f636b20666f756e64000000000000000000006101e0526101c05060006101405113610f9657606461019cfd5b6308c379a0610220526020610240526024610260527f43616e6e6f742061646420746f2065787069726564206c6f636b2e2057697468610280527f64726177000000000000000000000000000000000000000000000000000000006102a0526102605042610160511161100a57608461023cfd5b6101406102e0525b6102e0515160206102e051016102e0526102e06102e051101561103457611012565b6004356103005260243561032052600061034052610360600260043560e05260c052604060c0208060c052602060c02054825260018160c052602060c02001548260200152505060006103a0526103a051610380516103605161034051610320516103005160065801610bda565b6102c06102e0525b6102e0515260206102e051036102e0526101406102e0511015156110cd576110aa565b600050600062ffffff55005b6365fc387360005114156113625762ffffff54156110f657600080fd5b600162ffffff55341561110857600080fd5b60243562093a80808061111a57600080fd5b82049050905062093a80808202821582848304141761113857600080fd5b809050905090506101405261016060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c02001548260200152505060006004351161118357600080fd5b6308c379a06101a05260206101c05260196101e0527f5769746864726177206f6c6420746f6b656e7320666972737400000000000000610200526101e05061016051156111d15760646101bcfd5b6308c379a0610240526020610260526026610280527f43616e206f6e6c79206c6f636b20756e74696c2074696d6520696e20746865206102a0527f66757475726500000000000000000000000000000000000000000000000000006102c0526102805042610140511161124557608461025cfd5b6308c379a061030052602061032052601e610340527f566f74696e67206c6f636b2063616e2062652034207965617273206d61780000610360526103405042630784ce0081818301101561129857600080fd5b808201905090506101405111156112b057606461031cfd5b6101406103a0525b6103a0515160206103a051016103a0526103a06103a05110156112da576112b8565b336103c0526004356103e052610140516104005261042061016080518252806020015182602001525050600161046052610460516104405161042051610400516103e0516103c05160065801610bda565b6103806103a0525b6103a0515260206103a051036103a0526101406103a05110151561135657611333565b600050600062ffffff55005b634957677c60005114156115455762ffffff541561137f57600080fd5b600162ffffff55341561139157600080fd5b61014060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c0200154826020015250506000600435116113d157600080fd5b6308c379a06101805260206101a05260166101c0527f4e6f206578697374696e67206c6f636b20666f756e64000000000000000000006101e0526101c0506000610140511361142157606461019cfd5b6308c379a0610220526020610240526024610260527f43616e6e6f742061646420746f2065787069726564206c6f636b2e2057697468610280527f64726177000000000000000000000000000000000000000000000000000000006102a0526102605042610160511161149557608461023cfd5b6101406102e0525b6102e0515160206102e051016102e0526102e06102e05110156114bf5761149d565b3361030052600435610320526000610340526103606101408051825280602001518260200152505060026103a0526103a051610380516103605161034051610320516103005160065801610bda565b6102c06102e0525b6102e0515260206102e051036102e0526101406102e05110151561153957611516565b600050600062ffffff55005b63eff7a61260005114156117ed5762ffffff541561156257600080fd5b600162ffffff55341561157457600080fd5b61014060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c02001548260200152505060043562093a8080806115b757600080fd5b82049050905062093a8080820282158284830414176115d557600080fd5b80905090509050610180526308c379a06101a05260206101c052600c6101e0527f4c6f636b20657870697265640000000000000000000000000000000000000000610200526101e05042610160511161162f5760646101bcfd5b6308c379a0610240526020610260526011610280527f4e6f7468696e67206973206c6f636b65640000000000000000000000000000006102a052610280506000610140511361167f57606461025cfd5b6308c379a06102e052602061030052601f610320527f43616e206f6e6c7920696e637265617365206c6f636b206475726174696f6e0061034052610320506101605161018051116116d15760646102fcfd5b6308c379a06103805260206103a052601e6103c0527f566f74696e67206c6f636b2063616e2062652034207965617273206d617800006103e0526103c05042630784ce0081818301101561172457600080fd5b8082019050905061018051111561173c57606461039cfd5b610140610420525b6104205151602061042051016104205261042061042051101561176657611744565b336104405260006104605261018051610480526104a06101408051825280602001518260200152505060036104e0526104e0516104c0516104a05161048051610460516104405160065801610bda565b610400610420525b61042051526020610420510361042052610140610420511015156117e1576117be565b600050600062ffffff55005b633ccfd60b6000511415611aa45762ffffff541561180a57600080fd5b600162ffffff55341561181c57600080fd5b61014060023360e05260c052604060c0208060c052602060c02054825260018160c052602060c0200154826020015250506308c379a06101805260206101a05260166101c0527f546865206c6f636b206469646e277420657870697265000000000000000000006101e0526101c0506101605142101561189d57606461019cfd5b6101405160008112156118af57600080fd5b610220526102406101408051825280602001518260200152505060006101605260006101405260023360e05260c052604060c02060c052602060c020610140805182558060200151600183015550506001546102805261028051610220518082101561191a57600080fd5b808203905090506001556101406102a0525b6102a0515160206102a051016102a0526102a06102a051101561194e5761192c565b336102c0526102e061024080518252806020015182602001525050610320610140805182528060200151826020015250506103405161032051610300516102e0516102c051600658016102d2565b6102806102a0525b6102a0515260206102a051036102a0526101406102a0511015156119c7576119a4565b6000506020610440604463a9059cbb6103a052336103c052610220516103e0526103bc60006000545af16119fa57600080fd5b601f3d11611a0757600080fd5b60005061044051611a1757600080fd5b61022051610460524261048052337ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5686040610460a2610280516104a052610280516102205180821015611a6957600080fd5b808203905090506104c0527f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c60406104a0a1600062ffffff55005b600015611bc3575b61018052610140526101605260006101a052610160516101c0526101e060006080818352015b6101c0516101a051101515611ae657611baf565b6101a0516101c051818183011015611afd57600080fd5b808201905090506001818183011015611b1557600080fd5b8082019050905060028080611b2957600080fd5b82049050905061020052610140516003610200516c01431e0fae6d7217caa00000008110611b5657600080fd5b600460c052602060c0200160c052602060c0200154111515611b7f57610200516101a052611b9e565b61020051600180821015611b9257600080fd5b808203905090506101c0525b5b8151600101808352811415611ad2575b50506101a051600052600051610180515650005b6370a082316000511415611bdb574261014052611c00565b62fdd58e6000511415611bf8576020602461014037600050611c00565b600015611d78575b3415611c0b57600080fd5b6004356020518110611c1c57600080fd5b50600660043560e05260c052604060c0205461016052610160511515611c4c57600060005260206000f350611d76565b61018061016051633b9aca008110611c6357600080fd5b600560043560e05260c052604060c02060c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c02001548260600152505061018080516101a051610140516101c05180821015611cde57600080fd5b80820390509050604051811115611cf457600080fd5b60605181830280604051901315611d0a57600080fd5b8091901215611d1857600080fd5b9050905060605181830380604051901315611d3257600080fd5b8091901215611d4057600080fd5b905090508152506000610180511215611d5a576000610180525b610180516000811215611d6c57600080fd5b60005260206000f3505b005b634ee2cd7e6000511415612287573415611d9157600080fd5b6004356020518110611da257600080fd5b50436024351115611db257600080fd5b600061014052600660043560e05260c052604060c020546101605261018060006080818352015b6101605161014051101515611ded57611eba565b6101405161016051818183011015611e0457600080fd5b808201905090506001818183011015611e1c57600080fd5b8082019050905060028080611e3057600080fd5b8204905090506101a05260243560036101a051633b9aca008110611e5357600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c0200154111515611e8a576101a05161014052611ea9565b6101a051600180821015611e9d57600080fd5b80820390509050610160525b5b8151600101808352811415611dd9575b50506101c061014051633b9aca008110611ed357600080fd5b600560043560e05260c052604060c02060c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c020015482606001525050600354610240526101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516024356102a052610240516102c0526102c0516102a05160065801611aac565b61032052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103205161026052610340610260516c01431e0fae6d7217caa00000008110611fd357600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c02001548260600152505060006103c05260006103e052610240516102605110156121085761040061026051600181818301101561205457600080fd5b808201905090506c01431e0fae6d7217caa0000000811061207457600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c020015482606001525050610460516103a051808210156120d857600080fd5b808203905090506103c0526104405161038051808210156120f857600080fd5b808203905090506103e052612143565b436103a0518082101561211a57600080fd5b808203905090506103c05242610380518082101561213757600080fd5b808203905090506103e0525b610380516104805260006103c05118156121c55761048080516103e0516024356103a0518082101561217457600080fd5b80820390509050808202821582848304141761218f57600080fd5b809050905090506103c05180806121a557600080fd5b8204905090508181830110156121ba57600080fd5b808201905090508152505b6101c080516101e0516104805161020051808210156121e357600080fd5b808203905090506040518111156121f957600080fd5b6060518183028060405190131561220f57600080fd5b809190121561221d57600080fd5b905090506060518183038060405190131561223757600080fd5b809190121561224557600080fd5b9050905081525060006101c051121515612279576101c051600081121561226b57600080fd5b60005260206000f350612285565b600060005260206000f3505b005b60001561248f575b6101e0526101405261016052610180526101a0526101c0526102006101408051825280602001518260200152806040015182604001528060600151826060015250506102405162093a8080806122e457600080fd5b82049050905062093a80808202821582848304141761230257600080fd5b80905090509050610280526102a0600060ff818352015b610280805162093a8081818301101561233157600080fd5b8082019050905081525060006102c0526101c05161028051111561235c576101c05161028052612373565b60076102805160e05260c052604060c020546102c0525b61020080516102205161028051610240518082101561239157600080fd5b808203905090506040518111156123a757600080fd5b606051818302806040519013156123bd57600080fd5b80919012156123cb57600080fd5b90509050606051818303806040519013156123e557600080fd5b80919012156123f357600080fd5b905090508152506101c05161028051141561240d5761245a565b61022080516102c0516060518183018060405190131561242c57600080fd5b809190121561243a57600080fd5b9050905081525061028051610240525b8151600101808352811415612319575b5050600061020051121561246f576000610200525b61020051600081121561248157600080fd5b6000526000516101e0515650005b6318160ddd60005114156124a75742610140526124cd565b63bd85b03960005114156124c55760206004610140376000506124cd565b6000156125e0575b34156124d857600080fd5b60035461016052610180610160516c01431e0fae6d7217caa000000081106124ff57600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c0200154826060015250506101405161016051610180516101a0516101c0516101e051610220610180805182528060200151826020015280604001518260400152806060015182606001525050610140516102a0526102a051610280516102605161024051610220516006580161228f565b610300526101e0526101c0526101a0526101805261016052610140526103005160005260206000f350005b63981b24d060005114156129475734156125f957600080fd5b43600435111561260857600080fd5b6003546101405261014051610160516004356101a052610140516101c0526101c0516101a05160065801611aac565b6102205261016052610140526102205161016052610240610160516c01431e0fae6d7217caa0000000811061266b57600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c02001548260600152505060006102c052610140516101605110156127ec576102e06101605160018181830110156126e657600080fd5b808201905090506c01431e0fae6d7217caa0000000811061270657600080fd5b600460c052602060c020018060c052602060c02054825260018160c052602060c0200154826020015260028160c052602060c0200154826040015260038160c052602060c020015482606001525050610340516102a05118156127e7576004356102a0518082101561277757600080fd5b8082039050905061032051610280518082101561279357600080fd5b8082039050905080820282158284830414176127ae57600080fd5b80905090509050610340516102a051808210156127ca57600080fd5b8082039050905080806127dc57600080fd5b8204905090506102c0525b612876565b436102a0511815612875576004356102a0518082101561280b57600080fd5b8082039050905042610280518082101561282457600080fd5b80820390509050808202821582848304141761283f57600080fd5b80905090509050436102a0518082101561285857600080fd5b80820390509050808061286a57600080fd5b8204905090506102c0525b5b610140610360525b610360515160206103605101610360526102e06103605110156128a05761287e565b610380610240805182528060200151826020015280604001518260400152806060015182606001525050610280516102c0518181830110156128e157600080fd5b8082019050905061040052610400516103e0516103c0516103a051610380516006580161228f565b610460526102c0610360525b610360515260206103605103610360526101406103605110151561293857612915565b6104605160005260206000f350005b633cebb823600051141561298857341561296057600080fd5b600435602051811061297157600080fd5b50600854331461298057600080fd5b600435600855005b63fc0c546a60005114156129af5734156129a157600080fd5b60005460005260206000f350005b63047fc9aa60005114156129d65734156129c857600080fd5b60015460005260206000f350005b63cbf9fe5f6000511415612a5f5734156129ef57600080fd5b6004356020518110612a0057600080fd5b50610140808080600260043560e05260c052604060c02060c052602060c020548152505060208101905080806001600260043560e05260c052604060c02060c052602060c02001548152505060409050905060c05260c051610140f350005b63900cf0cf6000511415612a86573415612a7857600080fd5b60035460005260206000f350005b63d1febfb96000511415612ba9573415612a9f57600080fd5b6101408080806004356c01431e0fae6d7217caa00000008110612ac157600080fd5b600460c052602060c0200160c052602060c0205481525050602081019050808060016004356c01431e0fae6d7217caa00000008110612aff57600080fd5b600460c052602060c0200160c052602060c020015481525050602081019050808060026004356c01431e0fae6d7217caa00000008110612b3e57600080fd5b600460c052602060c0200160c052602060c020015481525050602081019050808060036004356c01431e0fae6d7217caa00000008110612b7d57600080fd5b600460c052602060c0200160c052602060c02001548152505060809050905060c05260c051610140f350005b6328d09d476000511415612cf2573415612bc257600080fd5b6004356020518110612bd357600080fd5b50610140808080602435633b9aca008110612bed57600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c020548152505060208101905080806001602435633b9aca008110612c3057600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c02001548152505060208101905080806002602435633b9aca008110612c7457600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c02001548152505060208101905080806003602435633b9aca008110612cb857600080fd5b600560043560e05260c052604060c02060c052602060c0200160c052602060c02001548152505060809050905060c05260c051610140f350005b63010ae7576000511415612d39573415612d0b57600080fd5b6004356020518110612d1c57600080fd5b50600660043560e05260c052604060c0205460005260206000f350005b63711974846000511415612d6e573415612d5257600080fd5b600760043560e05260c052604060c0205460005260206000f350005b63f77c47916000511415612d95573415612d8757600080fd5b60085460005260206000f350005b63bef97c876000511415612dbc573415612dae57600080fd5b60095460005260206000f350005b6306fdde036000511415612e70573415612dd557600080fd5b600a8060c052602060c020610180602082540161012060006003818352015b82610120516020021115612e0757612e29565b61012051850154610120516020028501525b8151600101808352811415612df4575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b6395d89b416000511415612f24573415612e8957600080fd5b600b8060c052602060c020610180602082540161012060006002818352015b82610120516020021115612ebb57612edd565b61012051850154610120516020028501525b8151600101808352811415612ea8575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b6354fd4d506000511415612fd8573415612f3d57600080fd5b600c8060c052602060c020610180602082540161012060006002818352015b82610120516020021115612f6f57612f91565b61012051850154610120516020028501525b8151600101808352811415612f5c575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f350005b63313ce5676000511415612fff573415612ff157600080fd5b600d5460005260206000f350005b63f851a440600051141561302657341561301857600080fd5b600e5460005260206000f350005b6317f7182a600051141561304d57341561303f57600080fd5b600f5460005260206000f350005b5b60006000fd

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

000000000000000000000000b8baa0e4287890a5f79863ab62b7f175cecbd433000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000012566f74652d657363726f7765642053575256000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000067665535752560000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c7665535752565f312e302e300000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : token_addr (address): 0xB8BAa0e4287890a5F79863aB62b7F175ceCbD433
Arg [1] : _name (string): Vote-escrowed SWRV
Arg [2] : _symbol (string): veSWRV
Arg [3] : _version (string): veSWRV_1.0.0

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 000000000000000000000000b8baa0e4287890a5f79863ab62b7f175cecbd433
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [5] : 566f74652d657363726f77656420535752560000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 7665535752560000000000000000000000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [9] : 7665535752565f312e302e300000000000000000000000000000000000000000


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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