ETH Price: $3,643.34 (+9.65%)

Contract

0xd30DD0B919cB4012b3AdD78f6Dcb6eb7ef225Ac8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...209820982024-10-17 1:47:4741 days ago1729129667IN
0xd30DD0B9...7ef225Ac8
0 ETH0.000207578.67136079
Set Approval For...195106382024-03-25 9:34:23247 days ago1711359263IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0008318834.75151033
Set Approval For...193201572024-02-27 16:43:35274 days ago1709052215IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0013251355.35706888
Set Approval For...183300182023-10-11 21:57:59412 days ago1697061479IN
0xd30DD0B9...7ef225Ac8
0 ETH0.000174617.29445332
Set Approval For...173558092023-05-28 6:42:11549 days ago1685256131IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0005745124
Set Approval For...167131062023-02-26 14:49:35640 days ago1677422975IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0005978124.9735909
Set Approval For...163136572023-01-01 18:18:11696 days ago1672597091IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0003549514.82812844
Set Approval For...162654512022-12-26 0:49:23702 days ago1672015763IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0002401810.03373158
Set Approval For...151618062022-07-17 18:43:43864 days ago1658083423IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0004833320.19111562
Set Approval For...151612472022-07-17 16:29:34864 days ago1658075374IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0007447216.24274157
Set Approval For...151414122022-07-14 14:50:17867 days ago1657810217IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0010891623.7548861
Set Approval For...151397522022-07-14 8:50:55867 days ago1657788655IN
0xd30DD0B9...7ef225Ac8
0 ETH0.000205228.57311562
Set Approval For...151302602022-07-12 21:20:09869 days ago1657660809IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0009628521
Set Approval For...151159462022-07-10 16:25:20871 days ago1657470320IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0020729345.21132935
Set Approval For...151129002022-07-10 5:06:28871 days ago1657429588IN
0xd30DD0B9...7ef225Ac8
0 ETH0.000420889.17952803
Set Approval For...150957152022-07-07 13:27:24874 days ago1657200444IN
0xd30DD0B9...7ef225Ac8
0 ETH0.000768929.63023138
Set Approval For...150862302022-07-06 2:14:59875 days ago1657073699IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0005397922.54988186
Set Approval For...150839672022-07-05 17:49:12876 days ago1657043352IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0010363522.60309106
Set Approval For...150833522022-07-05 15:33:45876 days ago1657035225IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0014118958.98132762
Set Approval For...150833462022-07-05 15:32:33876 days ago1657035153IN
0xd30DD0B9...7ef225Ac8
0 ETH0.003348873.03819276
Set Approval For...150759952022-07-04 12:15:17877 days ago1656936917IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0014711332.08590116
Set Approval For...150747142022-07-04 7:40:41877 days ago1656920441IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0004603419.23080382
Set Approval For...150713032022-07-03 18:53:49878 days ago1656874429IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0015123432.98468116
Set Approval For...150632142022-07-02 12:53:01879 days ago1656766381IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0004592910.01727877
Set Approval For...150620032022-07-02 8:23:19879 days ago1656750199IN
0xd30DD0B9...7ef225Ac8
0 ETH0.0004590219.17572668
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Vyper_contract

Compiler Version
vyper:0.2.15

Optimization Enabled:
N/A

Other Settings:
MIT license

Contract Source Code (Vyper language format)

# @version 0.2.15
"""
@title Voting Escrow Delegation
@author Curve Finance
@license MIT
@dev Provides test functions only available in test mode (`brownie test`)
"""


interface ERC721Receiver:
    def onERC721Received(
        _operator: address, _from: address, _token_id: uint256, _data: Bytes[4096]
    ) -> bytes32:
        nonpayable

interface VotingEscrow:
    def balanceOf(_account: address) -> int256: view
    def locked__end(_addr: address) -> uint256: view


event Approval:
    _owner: indexed(address)
    _approved: indexed(address)
    _token_id: indexed(uint256)

event ApprovalForAll:
    _owner: indexed(address)
    _operator: indexed(address)
    _approved: bool

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

event BurnBoost:
    _delegator: indexed(address)
    _receiver: indexed(address)
    _token_id: indexed(uint256)

event DelegateBoost:
    _delegator: indexed(address)
    _receiver: indexed(address)
    _token_id: indexed(uint256)
    _amount: uint256
    _cancel_time: uint256
    _expire_time: uint256

event ExtendBoost:
    _delegator: indexed(address)
    _receiver: indexed(address)
    _token_id: indexed(uint256)
    _amount: uint256
    _expire_time: uint256
    _cancel_time: uint256

event TransferBoost:
    _from: indexed(address)
    _to: indexed(address)
    _token_id: indexed(uint256)
    _amount: uint256
    _expire_time: uint256

event GreyListUpdated:
    _receiver: indexed(address)
    _delegator: indexed(address)
    _status: bool


struct Boost:
    # [bias uint128][slope int128]
    delegated: uint256
    received: uint256
    # [total active delegations 128][next expiry 128]
    expiry_data: uint256

struct Token:
    # [bias uint128][slope int128]
    data: uint256
    # [delegator pos 128][cancel time 128]
    dinfo: uint256
    # [global 128][local 128]
    position: uint256
    expire_time: uint256

struct Point:
    bias: int256
    slope: int256


IDENTITY_PRECOMPILE: constant(address) = 0x0000000000000000000000000000000000000004
MAX_PCT: constant(uint256) = 10_000
WEEK: constant(uint256) = 86400 * 7
VOTING_ESCROW: constant(address) = 0x5f3b5DfEb7B28CDbD7FAba78963EE202a494e2A2


balanceOf: public(HashMap[address, uint256])
getApproved: public(HashMap[uint256, address])
isApprovedForAll: public(HashMap[address, HashMap[address, bool]])
ownerOf: public(HashMap[uint256, address])

name: public(String[32])
symbol: public(String[32])
base_uri: public(String[128])

totalSupply: public(uint256)
# use totalSupply to determine the length
tokenByIndex: public(HashMap[uint256, uint256])
# use balanceOf to determine the length
tokenOfOwnerByIndex: public(HashMap[address, uint256[MAX_UINT256]])

boost: HashMap[address, Boost]
boost_tokens: HashMap[uint256, Token]

token_of_delegator_by_index: public(HashMap[address, uint256[MAX_UINT256]])
total_minted: public(HashMap[address, uint256])
# address => timestamp => # of delegations expiring
account_expiries: public(HashMap[address, HashMap[uint256, uint256]])

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

# The grey list - per-user black and white lists
# users can make this a blacklist or a whitelist - defaults to blacklist
# gray_list[_receiver][_delegator]
# by default is blacklist, with no delegators blacklisted
# if [_receiver][ZERO_ADDRESS] is False = Blacklist, True = Whitelist
# if this is a blacklist, receivers disallow any delegations from _delegator if it is True
# if this is a whitelist, receivers only allow delegations from _delegator if it is True
# Delegation will go through if: not (grey_list[_receiver][ZERO_ADDRESS] ^ grey_list[_receiver][_delegator])
grey_list: public(HashMap[address, HashMap[address, bool]])


@external
def __init__(_name: String[32], _symbol: String[32], _base_uri: String[128]):
    self.name = _name
    self.symbol = _symbol
    self.base_uri = _base_uri

    self.admin = msg.sender


@internal
def _approve(_owner: address, _approved: address, _token_id: uint256):
    self.getApproved[_token_id] = _approved
    log Approval(_owner, _approved, _token_id)


@view
@internal
def _is_approved_or_owner(_spender: address, _token_id: uint256) -> bool:
    owner: address = self.ownerOf[_token_id]
    return (
        _spender == owner
        or _spender == self.getApproved[_token_id]
        or self.isApprovedForAll[owner][_spender]
    )


@internal
def _update_enumeration_data(_from: address, _to: address, _token_id: uint256):
    delegator: address = convert(shift(_token_id, -96), address)
    position_data: uint256 = self.boost_tokens[_token_id].position
    local_pos: uint256 = position_data % 2 ** 128
    global_pos: uint256 = shift(position_data, -128)
    # position in the delegator array of minted tokens
    delegator_pos: uint256 = shift(self.boost_tokens[_token_id].dinfo, -128)

    if _from == ZERO_ADDRESS:
        # minting - This is called before updates to balance and totalSupply
        local_pos = self.balanceOf[_to]
        global_pos = self.totalSupply
        position_data = shift(global_pos, 128) + local_pos
        # this is a new token so we get the index of a new spot
        delegator_pos = self.total_minted[delegator]

        self.tokenByIndex[global_pos] = _token_id
        self.tokenOfOwnerByIndex[_to][local_pos] = _token_id
        self.boost_tokens[_token_id].position = position_data

        # we only mint tokens in the create_boost fn, and this is called
        # before we update the cancel_time so we can just set the value
        # of dinfo to the shifted position
        self.boost_tokens[_token_id].dinfo = shift(delegator_pos, 128)
        self.token_of_delegator_by_index[delegator][delegator_pos] = _token_id
        self.total_minted[delegator] = delegator_pos + 1

    elif _to == ZERO_ADDRESS:
        # burning - This is called after updates to balance and totalSupply
        # we operate on both the global array and local array
        last_global_index: uint256 = self.totalSupply
        last_local_index: uint256 = self.balanceOf[_from]
        last_delegator_pos: uint256 = self.total_minted[delegator] - 1

        if global_pos != last_global_index:
            # swap - set the token we're burnings position to the token in the last index
            last_global_token: uint256 = self.tokenByIndex[last_global_index]
            last_global_token_pos: uint256 = self.boost_tokens[last_global_token].position
            # update the global position of the last global token
            self.boost_tokens[last_global_token].position = shift(global_pos, 128) + (last_global_token_pos % 2 ** 128)
            self.tokenByIndex[global_pos] = last_global_token
        self.tokenByIndex[last_global_index] = 0

        if local_pos != last_local_index:
            # swap - set the token we're burnings position to the token in the last index
            last_local_token: uint256 = self.tokenOfOwnerByIndex[_from][last_local_index]
            last_local_token_pos: uint256 = self.boost_tokens[last_local_token].position
            # update the local position of the last local token
            self.boost_tokens[last_local_token].position = shift(last_local_token_pos / 2 ** 128, 128) + local_pos
            self.tokenOfOwnerByIndex[_from][local_pos] = last_local_token
        self.tokenOfOwnerByIndex[_from][last_local_index] = 0
        self.boost_tokens[_token_id].position = 0

        if delegator_pos != last_delegator_pos:
            last_delegator_token: uint256 = self.token_of_delegator_by_index[delegator][last_delegator_pos]
            last_delegator_token_dinfo: uint256 = self.boost_tokens[last_delegator_token].dinfo
            # update the last tokens position data and maintain the correct cancel time
            self.boost_tokens[last_delegator_token].dinfo = shift(delegator_pos, 128) + (last_delegator_token_dinfo % 2 ** 128)
            self.token_of_delegator_by_index[delegator][delegator_pos] = last_delegator_token
        self.token_of_delegator_by_index[delegator][last_delegator_pos] = 0
        self.boost_tokens[_token_id].dinfo = 0  # we are burning the token so we can just set to 0
        self.total_minted[delegator] = last_delegator_pos

    else:
        # transfering - called between balance updates
        from_last_index: uint256 = self.balanceOf[_from]

        if local_pos != from_last_index:
            # swap - set the token we're burnings position to the token in the last index
            last_local_token: uint256 = self.tokenOfOwnerByIndex[_from][from_last_index]
            last_local_token_pos: uint256 = self.boost_tokens[last_local_token].position
            # update the local position of the last local token
            self.boost_tokens[last_local_token].position = shift(last_local_token_pos / 2 ** 128, 128) + local_pos
            self.tokenOfOwnerByIndex[_from][local_pos] = last_local_token
        self.tokenOfOwnerByIndex[_from][from_last_index] = 0

        # to is simple we just add to the end of the list
        local_pos = self.balanceOf[_to]
        self.tokenOfOwnerByIndex[_to][local_pos] = _token_id
        self.boost_tokens[_token_id].position = shift(global_pos, 128) + local_pos


@internal
def _burn(_token_id: uint256):
    owner: address = self.ownerOf[_token_id]

    self._approve(owner, ZERO_ADDRESS, _token_id)

    self.balanceOf[owner] -= 1
    self.ownerOf[_token_id] = ZERO_ADDRESS
    self.totalSupply -= 1

    self._update_enumeration_data(owner, ZERO_ADDRESS, _token_id)

    log Transfer(owner, ZERO_ADDRESS, _token_id)


@internal
def _mint(_to: address, _token_id: uint256):
    assert _to != ZERO_ADDRESS  # dev: minting to ZERO_ADDRESS disallowed
    assert self.ownerOf[_token_id] == ZERO_ADDRESS  # dev: token exists

    self._update_enumeration_data(ZERO_ADDRESS, _to, _token_id)

    self.balanceOf[_to] += 1
    self.ownerOf[_token_id] = _to
    self.totalSupply += 1

    log Transfer(ZERO_ADDRESS, _to, _token_id)


@internal
def _mint_boost(_token_id: uint256, _delegator: address, _receiver: address, _bias: int256, _slope: int256, _cancel_time: uint256, _expire_time: uint256):
    is_whitelist: uint256 = convert(self.grey_list[_receiver][ZERO_ADDRESS], uint256)
    delegator_status: uint256 = convert(self.grey_list[_receiver][_delegator], uint256)
    assert not convert(bitwise_xor(is_whitelist, delegator_status), bool)  # dev: mint boost not allowed

    data: uint256 = shift(convert(_bias, uint256), 128) + convert(abs(_slope), uint256)
    self.boost[_delegator].delegated += data
    self.boost[_receiver].received += data

    token: Token = self.boost_tokens[_token_id]
    token.data = data
    token.dinfo = token.dinfo + _cancel_time
    token.expire_time = _expire_time
    self.boost_tokens[_token_id] = token


@internal
def _burn_boost(_token_id: uint256, _delegator: address, _receiver: address, _bias: int256, _slope: int256):
    token: Token = self.boost_tokens[_token_id]
    expire_time: uint256 = token.expire_time

    if expire_time == 0:
        return

    self.boost[_delegator].delegated -= token.data
    self.boost[_receiver].received -= token.data

    token.data = 0
    # maintain the same position in the delegator array, but remove the cancel time
    token.dinfo = shift(token.dinfo / 2 ** 128, 128)
    token.expire_time = 0
    self.boost_tokens[_token_id] = token

    # update the next expiry data
    expiry_data: uint256 = self.boost[_delegator].expiry_data
    next_expiry: uint256 = expiry_data % 2 ** 128
    active_delegations: uint256 = shift(expiry_data, -128) - 1

    expiries: uint256 = self.account_expiries[_delegator][expire_time]

    if active_delegations != 0 and expire_time == next_expiry and expiries == 0:
        # Will be passed if
        # active_delegations == 0, no more active boost tokens
        # or
        # expire_time != next_expiry, the cancelled boost token isn't the next expiring boost token
        # or
        # expiries != 0, the cancelled boost token isn't the only one expiring at expire_time
        for i in range(1, 513):  # ~10 years
            # we essentially allow for a boost token be expired for up to 6 years
            # 10 yrs - 4 yrs (max vecRV lock time) = ~ 6 yrs
            if i == 512:
                raise "Failed to find next expiry"
            week_ts: uint256 = expire_time + WEEK * (i + 1)
            if self.account_expiries[_delegator][week_ts] > 0:
                next_expiry = week_ts
                break
    elif active_delegations == 0:
        next_expiry = 0

    self.boost[_delegator].expiry_data = shift(active_delegations, 128) + next_expiry
    self.account_expiries[_delegator][expire_time] = expiries - 1


@internal
def _transfer_boost(_from: address, _to: address, _bias: int256, _slope: int256):
    data: uint256 = shift(convert(_bias, uint256), 128) + convert(abs(_slope), uint256)
    self.boost[_from].received -= data
    self.boost[_to].received += data


@pure
@internal
def _deconstruct_bias_slope(_data: uint256) -> Point:
    return Point({bias: convert(shift(_data, -128), int256), slope: -convert(_data % 2 ** 128, int256)})


@pure
@internal
def _calc_bias_slope(_x: int256, _y: int256, _expire_time: int256) -> Point:
    # SLOPE: (y2 - y1) / (x2 - x1)
    # BIAS: y = mx + b -> y - mx = b
    slope: int256 = -_y / (_expire_time - _x)
    return Point({bias: _y - slope * _x, slope: slope})


@internal
def _transfer(_from: address, _to: address, _token_id: uint256):
    assert self.ownerOf[_token_id] == _from  # dev: _from is not owner
    assert _to != ZERO_ADDRESS  # dev: transfers to ZERO_ADDRESS are disallowed

    delegator: address = convert(shift(_token_id, -96), address)
    is_whitelist: uint256 = convert(self.grey_list[_to][ZERO_ADDRESS], uint256)
    delegator_status: uint256 = convert(self.grey_list[_to][delegator], uint256)
    assert not convert(bitwise_xor(is_whitelist, delegator_status), bool)  # dev: transfer boost not allowed

    # clear previous token approval
    self._approve(_from, ZERO_ADDRESS, _token_id)

    self.balanceOf[_from] -= 1
    self._update_enumeration_data(_from, _to, _token_id)
    self.balanceOf[_to] += 1
    self.ownerOf[_token_id] = _to

    tpoint: Point = self._deconstruct_bias_slope(self.boost_tokens[_token_id].data)
    tvalue: int256 = tpoint.slope * convert(block.timestamp, int256) + tpoint.bias

    # if the boost value is negative, reset the slope and bias
    if tvalue > 0:
        self._transfer_boost(_from, _to, tpoint.bias, tpoint.slope)
        # y = mx + b -> y - b = mx -> (y - b)/m = x -> -b / m = x (x-intercept)
        expiry: uint256 = convert(-tpoint.bias / tpoint.slope, uint256)
        log TransferBoost(_from, _to, _token_id, convert(tvalue, uint256), expiry)
    else:
        self._burn_boost(_token_id, delegator, _from, tpoint.bias, tpoint.slope)
        log BurnBoost(delegator, _from, _token_id)

    log Transfer(_from, _to, _token_id)


@internal
def _cancel_boost(_token_id: uint256, _caller: address):
    receiver: address = self.ownerOf[_token_id]
    assert receiver != ZERO_ADDRESS  # dev: token does not exist
    delegator: address = convert(shift(_token_id, -96), address)

    token: Token = self.boost_tokens[_token_id]
    tpoint: Point = self._deconstruct_bias_slope(token.data)
    tvalue: int256 = tpoint.slope * convert(block.timestamp, int256) + tpoint.bias

    # if not (the owner or operator or the boost value is negative)
    if not (_caller == receiver or self.isApprovedForAll[receiver][_caller] or tvalue <= 0):
        if _caller == delegator or self.isApprovedForAll[delegator][_caller]:
            # if delegator or operator, wait till after cancel time
            assert (token.dinfo % 2 ** 128) <= block.timestamp  # dev: must wait for cancel time
        else:
            # All others are disallowed
            raise "Not allowed!"
    self._burn_boost(_token_id, delegator, receiver, tpoint.bias, tpoint.slope)

    log BurnBoost(delegator, receiver, _token_id)


@internal
def _set_delegation_status(_receiver: address, _delegator: address, _status: bool):
    self.grey_list[_receiver][_delegator] = _status
    log GreyListUpdated(_receiver, _delegator, _status)


@pure
@internal
def _uint_to_string(_value: uint256) -> String[78]:
    # NOTE: Odd that this works with a raw_call inside, despite being marked
    # a pure function
    if _value == 0:
        return "0"

    buffer: Bytes[78] = b""
    digits: uint256 = 78

    for i in range(78):
        # go forward to find the # of digits, and set it
        # only if we have found the last index
        if digits == 78 and _value / 10 ** i == 0:
            digits = i

        value: uint256 = ((_value / 10 ** (77 - i)) % 10) + 48
        char: Bytes[1] = slice(convert(value, bytes32), 31, 1)
        buffer = raw_call(
            IDENTITY_PRECOMPILE,
            concat(buffer, char),
            max_outsize=78,
            is_static_call=True
        )

    return convert(slice(buffer, 78 - digits, digits), String[78])


@external
def approve(_approved: address, _token_id: uint256):
    """
    @notice Change or reaffirm the approved address for an NFT.
    @dev The zero address indicates there is no approved address.
        Throws unless `msg.sender` is the current NFT owner, or an authorized
        operator of the current owner.
    @param _approved The new approved NFT controller.
    @param _token_id The NFT to approve.
    """
    owner: address = self.ownerOf[_token_id]
    assert (
        msg.sender == owner or self.isApprovedForAll[owner][msg.sender]
    )  # dev: must be owner or operator
    self._approve(owner, _approved, _token_id)


@external
def safeTransferFrom(_from: address, _to: address, _token_id: uint256, _data: Bytes[4096] = b""):
    """
    @notice Transfers the ownership of an NFT from one address to another address
    @dev Throws unless `msg.sender` is the current owner, an authorized
        operator, or the approved address for this NFT. Throws if `_from` is
        not the current owner. Throws if `_to` is the zero address. Throws if
        `_tokenId` is not a valid NFT. When transfer is complete, this function
        checks if `_to` is a smart contract (code size > 0). If so, it calls
        `onERC721Received` on `_to` and throws if the return value is not
        `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`.
    @param _from The current owner of the NFT
    @param _to The new owner
    @param _token_id The NFT to transfer
    @param _data Additional data with no specified format, sent in call to `_to`, max length 4096
    """
    assert self._is_approved_or_owner(msg.sender, _token_id)  # dev: neither owner nor approved
    self._transfer(_from, _to, _token_id)

    if _to.is_contract:
        response: bytes32 = ERC721Receiver(_to).onERC721Received(
            msg.sender, _from, _token_id, _data
        )
        assert slice(response, 0, 4) == method_id(
            "onERC721Received(address,address,uint256,bytes)"
        )  # dev: invalid response


@external
def setApprovalForAll(_operator: address, _approved: bool):
    """
    @notice Enable or disable approval for a third party ("operator") to manage
        all of `msg.sender`'s assets.
    @dev Emits the ApprovalForAll event. Multiple operators per account are allowed.
    @param _operator Address to add to the set of authorized operators.
    @param _approved True if the operator is approved, false to revoke approval.
    """
    self.isApprovedForAll[msg.sender][_operator] = _approved
    log ApprovalForAll(msg.sender, _operator, _approved)


@external
def transferFrom(_from: address, _to: address, _token_id: uint256):
    """
    @notice Transfer ownership of an NFT -- THE CALLER IS RESPONSIBLE
        TO CONFIRM THAT `_to` IS CAPABLE OF RECEIVING NFTS OR ELSE
        THEY MAY BE PERMANENTLY LOST
    @dev Throws unless `msg.sender` is the current owner, an authorized
        operator, or the approved address for this NFT. Throws if `_from` is
        not the current owner. Throws if `_to` is the ZERO_ADDRESS.
    @param _from The current owner of the NFT
    @param _to The new owner
    @param _token_id The NFT to transfer
    """
    assert self._is_approved_or_owner(msg.sender, _token_id)  # dev: neither owner nor approved
    self._transfer(_from, _to, _token_id)


@view
@external
def tokenURI(_token_id: uint256) -> String[256]:
    return concat(self.base_uri, self._uint_to_string(_token_id))


@external
def burn(_token_id: uint256):
    """
    @notice Destroy a token
    @dev Only callable by the token owner, their operator, or an approved account.
        Burning a token with a currently active boost, burns the boost.
    @param _token_id The token to burn
    """
    assert self._is_approved_or_owner(msg.sender, _token_id)  # dev: neither owner nor approved

    tdata: uint256 = self.boost_tokens[_token_id].data
    if tdata != 0:
        tpoint: Point = self._deconstruct_bias_slope(tdata)

        delegator: address = convert(shift(_token_id, -96), address)
        owner: address = self.ownerOf[_token_id]

        self._burn_boost(_token_id, delegator, owner, tpoint.bias, tpoint.slope)

        log BurnBoost(delegator, owner, _token_id)

    self._burn(_token_id)


@external
def create_boost(
    _delegator: address,
    _receiver: address,
    _percentage: int256,
    _cancel_time: uint256,
    _expire_time: uint256,
    _id: uint256,
):
    """
    @notice Create a boost and delegate it to another account.
    @dev Delegated boost can become negative, and requires active management, else
        the adjusted veCRV balance of the delegator's account will decrease until reaching 0
    @param _delegator The account to delegate boost from
    @param _receiver The account to receive the delegated boost
    @param _percentage Since veCRV is a constantly decreasing asset, we use percentage to determine
        the amount of delegator's boost to delegate
    @param _cancel_time A point in time before _expire_time in which the delegator or their operator
        can cancel the delegated boost
    @param _expire_time The point in time, atleast a day in the future, at which the value of the boost
        will reach 0. After which the negative value is deducted from the delegator's account (and the
        receiver's received boost only) until it is cancelled. This value is rounded down to the nearest
        WEEK.
    @param _id The token id, within the range of [0, 2 ** 96). Useful for contracts given operator status
        to have specific ranges.
    """
    assert msg.sender == _delegator or self.isApprovedForAll[_delegator][msg.sender]  # dev: only delegator or operator

    expire_time: uint256 = (_expire_time / WEEK) * WEEK

    expiry_data: uint256 = self.boost[_delegator].expiry_data
    next_expiry: uint256 = expiry_data % 2 ** 128

    if next_expiry == 0:
        next_expiry = MAX_UINT256

    assert block.timestamp < next_expiry  # dev: negative boost token is in circulation
    assert _percentage > 0  # dev: percentage must be greater than 0 bps
    assert _percentage <= MAX_PCT  # dev: percentage must be less than 10_000 bps
    assert _cancel_time <= expire_time  # dev: cancel time is after expiry

    assert expire_time >= block.timestamp + WEEK  # dev: boost duration must be atleast WEEK
    assert expire_time <= VotingEscrow(VOTING_ESCROW).locked__end(_delegator)  # dev: boost expiration is past voting escrow lock expiry
    assert _id < 2 ** 96  # dev: id out of bounds

    # [delegator address 160][cancel_time uint40][id uint56]
    token_id: uint256 = shift(convert(_delegator, uint256), 96) + _id
    # check if the token exists here before we expend more gas by minting it
    self._mint(_receiver, token_id)

    # delegated slope and bias
    point: Point = self._deconstruct_bias_slope(self.boost[_delegator].delegated)

    time: int256 = convert(block.timestamp, int256)

    # delegated boost will be positive, if any of circulating boosts are negative
    # we have already reverted
    delegated_boost: int256 = point.slope * time + point.bias
    y: int256 = _percentage * (VotingEscrow(VOTING_ESCROW).balanceOf(_delegator) - delegated_boost) / MAX_PCT
    assert y > 0  # dev: no boost

    point = self._calc_bias_slope(time, y, convert(expire_time, int256))
    assert point.slope < 0  # dev: invalid slope

    self._mint_boost(token_id, _delegator, _receiver, point.bias, point.slope, _cancel_time, expire_time)

    # increase the number of expiries for the user
    if expire_time < next_expiry:
        next_expiry = expire_time

    active_delegations: uint256 = shift(expiry_data, -128)
    self.account_expiries[_delegator][expire_time] += 1
    self.boost[_delegator].expiry_data = shift(active_delegations + 1, 128) + next_expiry

    log DelegateBoost(_delegator, _receiver, token_id, convert(y, uint256), _cancel_time, _expire_time)


@external
def extend_boost(_token_id: uint256, _percentage: int256, _expire_time: uint256, _cancel_time: uint256):
    """
    @notice Extend the boost of an existing boost or expired boost
    @dev The extension can not decrease the value of the boost. If there are
        any outstanding negative value boosts which cause the delegable boost
        of an account to be negative this call will revert
    @param _token_id The token to extend the boost of
    @param _percentage The percentage of delegable boost to delegate
        AFTER burning the token's current boost
    @param _expire_time The new time at which the boost value will become
        0, and eventually negative. Must be greater than the previous expiry time,
        and atleast a WEEK from now, and less than the veCRV lock expiry of the
        delegator's account. This value is rounded down to the nearest WEEK.
    """
    delegator: address = convert(shift(_token_id, -96), address)
    receiver: address = self.ownerOf[_token_id]

    assert msg.sender == delegator or self.isApprovedForAll[delegator][msg.sender]  # dev: only delegator or operator
    assert receiver != ZERO_ADDRESS  # dev: boost token does not exist
    assert _percentage > 0  # dev: percentage must be greater than 0 bps
    assert _percentage <= MAX_PCT  # dev: percentage must be less than 10_000 bps

    # timestamp when delegating account's voting escrow ends - also our second point (lock_expiry, 0)
    token: Token = self.boost_tokens[_token_id]

    expire_time: uint256 = (_expire_time / WEEK) * WEEK

    assert _cancel_time <= expire_time  # dev: cancel time is after expiry
    assert expire_time >= block.timestamp + WEEK  # dev: boost duration must be atleast one day
    assert expire_time <= VotingEscrow(VOTING_ESCROW).locked__end(delegator) # dev: boost expiration is past voting escrow lock expiry

    point: Point = self._deconstruct_bias_slope(token.data)

    time: int256 = convert(block.timestamp, int256)
    tvalue: int256 = point.slope * time + point.bias

    # Can extend a token by increasing it's amount but not it's expiry time
    assert expire_time >= token.expire_time  # dev: new expiration must be greater than old token expiry

    # if we are extending an unexpired boost, the cancel time must the same or greater
    # else we can adjust the cancel time to our preference
    if _cancel_time < (token.dinfo % 2 ** 128):
        assert block.timestamp >= token.expire_time  # dev: cancel time reduction disallowed

    # storage variables have been updated: next_expiry + active_delegations
    self._burn_boost(_token_id, delegator, receiver, point.bias, point.slope)

    expiry_data: uint256 = self.boost[delegator].expiry_data
    next_expiry: uint256 = expiry_data % 2 ** 128

    if next_expiry == 0:
        next_expiry = MAX_UINT256

    assert block.timestamp < next_expiry  # dev: negative outstanding boosts

    # delegated slope and bias
    point = self._deconstruct_bias_slope(self.boost[delegator].delegated)

    # verify delegated boost isn't negative, else it'll inflate out vecrv balance
    delegated_boost: int256 = point.slope * time + point.bias
    y: int256 = _percentage * (VotingEscrow(VOTING_ESCROW).balanceOf(delegator) - delegated_boost) / MAX_PCT
    # a delegator can snipe the exact moment a token expires and create a boost
    # with 10_000 or some percentage of their boost, which is perfectly fine.
    # this check is here so the user can't extend a boost unless they actually
    # have any to give
    assert y > 0  # dev: no boost
    assert y >= tvalue  # dev: cannot reduce value of boost

    point = self._calc_bias_slope(time, y, convert(expire_time, int256))
    assert point.slope < 0  # dev: invalid slope

    self._mint_boost(_token_id, delegator, receiver, point.bias, point.slope, _cancel_time, expire_time)

    # increase the number of expiries for the user
    if expire_time < next_expiry:
        next_expiry = expire_time

    active_delegations: uint256 = shift(expiry_data, -128)
    self.account_expiries[delegator][expire_time] += 1
    self.boost[delegator].expiry_data = shift(active_delegations + 1, 128) + next_expiry

    log ExtendBoost(delegator, receiver, _token_id, convert(y, uint256), expire_time, _cancel_time)


@external
def cancel_boost(_token_id: uint256):
    """
    @notice Cancel an outstanding boost
    @dev This does not burn the token, only the boost it represents. The owner
        of the token or their operator can cancel a boost at any time. The
        delegator or their operator can only cancel a token after the cancel
        time. Anyone can cancel the boost if the value of it is negative.
    @param _token_id The token to cancel
    """
    self._cancel_boost(_token_id, msg.sender)


@external
def batch_cancel_boosts(_token_ids: uint256[256]):
    """
    @notice Cancel many outstanding boosts
    @dev This does not burn the token, only the boost it represents. The owner
        of the token or their operator can cancel a boost at any time. The
        delegator or their operator can only cancel a token after the cancel
        time. Anyone can cancel the boost if the value of it is negative.
    @param _token_ids A list of 256 token ids to nullify. The list must
        be padded with 0 values if less than 256 token ids are provided.
    """

    for _token_id in _token_ids:
        if _token_id == 0:
            break
        self._cancel_boost(_token_id, msg.sender)


@external
def set_delegation_status(_receiver: address, _delegator: address, _status: bool):
    """
    @notice Set or reaffirm the blacklist/whitelist status of a delegator for a receiver.
    @dev Setting delegator as the ZERO_ADDRESS enables users to deactive delegations globally
        and enable the white list. The ability of a delegator to delegate to a receiver
        is determined by ~(grey_list[_receiver][ZERO_ADDRESS] ^ grey_list[_receiver][_delegator]).
    @param _receiver The account which we will be updating it's list
    @param _delegator The account to disallow/allow delegations from
    @param _status Boolean of the status to set the _delegator account to
    """
    assert msg.sender == _receiver or self.isApprovedForAll[_receiver][msg.sender]
    self._set_delegation_status(_receiver, _delegator, _status)


@external
def batch_set_delegation_status(_receiver: address, _delegators: address[256], _status: uint256[256]):
    """
    @notice Set or reaffirm the blacklist/whitelist status of multiple delegators for a receiver.
    @dev Setting delegator as the ZERO_ADDRESS enables users to deactive delegations globally
        and enable the white list. The ability of a delegator to delegate to a receiver
        is determined by ~(grey_list[_receiver][ZERO_ADDRESS] ^ grey_list[_receiver][_delegator]).
    @param _receiver The account which we will be updating it's list
    @param _delegators List of 256 accounts to disallow/allow delegations from
    @param _status List of 256 0s and 1s (booleans) of the status to set the _delegator_i account to.
        if the value is not 0 or 1, execution will break, effectively stopping at the index.

    """
    assert msg.sender == _receiver or self.isApprovedForAll[_receiver][msg.sender]  # dev: only receiver or operator

    for i in range(256):
        if _status[i] > 1:
            break
        self._set_delegation_status(_receiver, _delegators[i], convert(_status[i], bool))


@view
@external
def adjusted_balance_of(_account: address) -> uint256:
    """
    @notice Adjusted veCRV balance after accounting for delegations and boosts
    @dev If boosts/delegations have a negative value, they're effective value is 0
    @param _account The account to query the adjusted balance of
    """
    next_expiry: uint256 = self.boost[_account].expiry_data % 2 ** 128
    if next_expiry != 0 and next_expiry < block.timestamp:
        # if the account has a negative boost in circulation
        # we over penalize by setting their adjusted balance to 0
        # this is because we don't want to iterate to find the real
        # value
        return 0

    adjusted_balance: int256 = VotingEscrow(VOTING_ESCROW).balanceOf(_account)

    boost: Boost = self.boost[_account]
    time: int256 = convert(block.timestamp, int256)

    if boost.delegated != 0:
        dpoint: Point = self._deconstruct_bias_slope(boost.delegated)

        # we take the absolute value, since delegated boost can be negative
        # if any outstanding negative boosts are in circulation
        # this can inflate the vecrv balance of a user
        # taking the absolute value has the effect that it costs
        # a user to negatively impact another's vecrv balance
        adjusted_balance -= abs(dpoint.slope * time + dpoint.bias)

    if boost.received != 0:
        rpoint: Point = self._deconstruct_bias_slope(boost.received)

        # similar to delegated boost, our received boost can be negative
        # if any outstanding negative boosts are in our possession
        # However, unlike delegated boost, we do not negatively impact
        # our adjusted balance due to negative boosts. Instead we take
        # whichever is greater between 0 and the value of our received
        # boosts.
        adjusted_balance += max(rpoint.slope * time + rpoint.bias, empty(int256))

    # since we took the absolute value of our delegated boost, it now instead of
    # becoming negative is positive, and will continue to increase ...
    # meaning if we keep a negative outstanding delegated balance for long
    # enought it will not only decrease our vecrv_balance but also our received
    # boost, however we return the maximum between our adjusted balance and 0
    # when delegating boost, received boost isn't used for determining how
    # much we can delegate.
    return convert(max(adjusted_balance, empty(int256)), uint256)


@view
@external
def delegated_boost(_account: address) -> uint256:
    """
    @notice Query the total effective delegated boost value of an account.
    @dev This value can be greater than the veCRV balance of
        an account if the account has outstanding negative
        value boosts.
    @param _account The account to query
    """
    dpoint: Point = self._deconstruct_bias_slope(self.boost[_account].delegated)
    time: int256 = convert(block.timestamp, int256)
    return convert(abs(dpoint.slope * time + dpoint.bias), uint256)


@view
@external
def received_boost(_account: address) -> uint256:
    """
    @notice Query the total effective received boost value of an account
    @dev This value can be 0, even with delegations which have a large value,
        if the account has any outstanding negative value boosts.
    @param _account The account to query
    """
    rpoint: Point = self._deconstruct_bias_slope(self.boost[_account].received)
    time: int256 = convert(block.timestamp, int256)
    return convert(max(rpoint.slope * time + rpoint.bias, empty(int256)), uint256)


@view
@external
def token_boost(_token_id: uint256) -> int256:
    """
    @notice Query the effective value of a boost
    @dev The effective value of a boost is negative after it's expiration
        date.
    @param _token_id The token id to query
    """
    tpoint: Point = self._deconstruct_bias_slope(self.boost_tokens[_token_id].data)
    time: int256 = convert(block.timestamp, int256)
    return tpoint.slope * time + tpoint.bias


@view
@external
def token_expiry(_token_id: uint256) -> uint256:
    """
    @notice Query the timestamp of a boost token's expiry
    @dev The effective value of a boost is negative after it's expiration
        date.
    @param _token_id The token id to query
    """
    return self.boost_tokens[_token_id].expire_time


@view
@external
def token_cancel_time(_token_id: uint256) -> uint256:
    """
    @notice Query the timestamp of a boost token's cancel time. This is
        the point at which the delegator can nullify the boost. A receiver
        can cancel a token at any point. Anyone can nullify a token's boost
        after it's expiration.
    @param _token_id The token id to query
    """
    return self.boost_tokens[_token_id].dinfo % 2 ** 128


@view
@external
def calc_boost_bias_slope(
    _delegator: address,
    _percentage: int256,
    _expire_time: int256,
    _extend_token_id: uint256 = 0
) -> (int256, int256):
    """
    @notice Calculate the bias and slope for a boost.
    @param _delegator The account to delegate boost from
    @param _percentage The percentage of the _delegator's delegable
        veCRV to delegate.
    @param _expire_time The time at which the boost value of the token
        will reach 0, and subsequently become negative
    @param _extend_token_id OPTIONAL token id, which if set will first nullify
        the boost of the token, before calculating the bias and slope. Useful
        for calculating the new bias and slope when extending a token, or
        determining the bias and slope of a subsequent token after cancelling
        an existing one. Will have no effect if _delegator is not the delegator
        of the token.
    """
    time: int256 = convert(block.timestamp, int256)
    assert _percentage > 0  # dev: percentage must be greater than 0
    assert _percentage <= MAX_PCT  # dev: percentage must be less than or equal to 100%
    assert _expire_time > time + WEEK  # dev: Invalid min expiry time

    lock_expiry: int256 = convert(VotingEscrow(VOTING_ESCROW).locked__end(_delegator), int256)
    assert _expire_time <= lock_expiry

    ddata: uint256 = self.boost[_delegator].delegated

    if _extend_token_id != 0 and convert(shift(_extend_token_id, -96), address) == _delegator:
        # decrease the delegated bias and slope by the token's bias and slope
        # only if it is the delegator's and it is within the bounds of existence
        ddata -= self.boost_tokens[_extend_token_id].data

    dpoint: Point = self._deconstruct_bias_slope(ddata)

    delegated_boost: int256 = dpoint.slope * time + dpoint.bias
    assert delegated_boost >= 0  # dev: outstanding negative boosts

    y: int256 = _percentage * (VotingEscrow(VOTING_ESCROW).balanceOf(_delegator) - delegated_boost) / MAX_PCT
    assert y > 0  # dev: no boost

    slope: int256 = -y / (_expire_time - time)
    assert slope < 0  # dev: invalid slope

    bias: int256 = y - slope * time

    return bias, slope


@pure
@external
def get_token_id(_delegator: address, _id: uint256) -> uint256:
    """
    @notice Simple method to get the token id's mintable by a delegator
    @param _delegator The address of the delegator
    @param _id The id value, must be less than 2 ** 96
    """
    assert _id < 2 ** 96  # dev: invalid _id
    return shift(convert(_delegator, uint256), 96) + _id


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


@external
def accept_transfer_ownership():
    """
    @notice Accept admin role, only callable by future admin
    """
    future_admin: address = self.future_admin
    assert msg.sender == future_admin
    self.admin = future_admin


@external
def set_base_uri(_base_uri: String[128]):
    assert msg.sender == self.admin
    self.base_uri = _base_uri

Contract Security Audit

Contract ABI

[{"name":"Approval","inputs":[{"name":"_owner","type":"address","indexed":true},{"name":"_approved","type":"address","indexed":true},{"name":"_token_id","type":"uint256","indexed":true}],"anonymous":false,"type":"event"},{"name":"ApprovalForAll","inputs":[{"name":"_owner","type":"address","indexed":true},{"name":"_operator","type":"address","indexed":true},{"name":"_approved","type":"bool","indexed":false}],"anonymous":false,"type":"event"},{"name":"Transfer","inputs":[{"name":"_from","type":"address","indexed":true},{"name":"_to","type":"address","indexed":true},{"name":"_token_id","type":"uint256","indexed":true}],"anonymous":false,"type":"event"},{"name":"BurnBoost","inputs":[{"name":"_delegator","type":"address","indexed":true},{"name":"_receiver","type":"address","indexed":true},{"name":"_token_id","type":"uint256","indexed":true}],"anonymous":false,"type":"event"},{"name":"DelegateBoost","inputs":[{"name":"_delegator","type":"address","indexed":true},{"name":"_receiver","type":"address","indexed":true},{"name":"_token_id","type":"uint256","indexed":true},{"name":"_amount","type":"uint256","indexed":false},{"name":"_cancel_time","type":"uint256","indexed":false},{"name":"_expire_time","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"ExtendBoost","inputs":[{"name":"_delegator","type":"address","indexed":true},{"name":"_receiver","type":"address","indexed":true},{"name":"_token_id","type":"uint256","indexed":true},{"name":"_amount","type":"uint256","indexed":false},{"name":"_expire_time","type":"uint256","indexed":false},{"name":"_cancel_time","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"TransferBoost","inputs":[{"name":"_from","type":"address","indexed":true},{"name":"_to","type":"address","indexed":true},{"name":"_token_id","type":"uint256","indexed":true},{"name":"_amount","type":"uint256","indexed":false},{"name":"_expire_time","type":"uint256","indexed":false}],"anonymous":false,"type":"event"},{"name":"GreyListUpdated","inputs":[{"name":"_receiver","type":"address","indexed":true},{"name":"_delegator","type":"address","indexed":true},{"name":"_status","type":"bool","indexed":false}],"anonymous":false,"type":"event"},{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_base_uri","type":"string"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"approve","inputs":[{"name":"_approved","type":"address"},{"name":"_token_id","type":"uint256"}],"outputs":[],"gas":42555},{"stateMutability":"nonpayable","type":"function","name":"safeTransferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_token_id","type":"uint256"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"safeTransferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_token_id","type":"uint256"},{"name":"_data","type":"bytes"}],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"setApprovalForAll","inputs":[{"name":"_operator","type":"address"},{"name":"_approved","type":"bool"}],"outputs":[],"gas":37846},{"stateMutability":"nonpayable","type":"function","name":"transferFrom","inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_token_id","type":"uint256"}],"outputs":[],"gas":4948641},{"stateMutability":"view","type":"function","name":"tokenURI","inputs":[{"name":"_token_id","type":"uint256"}],"outputs":[{"name":"","type":"string"}],"gas":1386084},{"stateMutability":"nonpayable","type":"function","name":"burn","inputs":[{"name":"_token_id","type":"uint256"}],"outputs":[],"gas":2932661},{"stateMutability":"nonpayable","type":"function","name":"create_boost","inputs":[{"name":"_delegator","type":"address"},{"name":"_receiver","type":"address"},{"name":"_percentage","type":"int256"},{"name":"_cancel_time","type":"uint256"},{"name":"_expire_time","type":"uint256"},{"name":"_id","type":"uint256"}],"outputs":[],"gas":1186703},{"stateMutability":"nonpayable","type":"function","name":"extend_boost","inputs":[{"name":"_token_id","type":"uint256"},{"name":"_percentage","type":"int256"},{"name":"_expire_time","type":"uint256"},{"name":"_cancel_time","type":"uint256"}],"outputs":[],"gas":2335546},{"stateMutability":"nonpayable","type":"function","name":"cancel_boost","inputs":[{"name":"_token_id","type":"uint256"}],"outputs":[],"gas":4014623},{"stateMutability":"nonpayable","type":"function","name":"batch_cancel_boosts","inputs":[{"name":"_token_ids","type":"uint256[256]"}],"outputs":[],"gas":1027671345},{"stateMutability":"nonpayable","type":"function","name":"set_delegation_status","inputs":[{"name":"_receiver","type":"address"},{"name":"_delegator","type":"address"},{"name":"_status","type":"bool"}],"outputs":[],"gas":41141},{"stateMutability":"nonpayable","type":"function","name":"batch_set_delegation_status","inputs":[{"name":"_receiver","type":"address"},{"name":"_delegators","type":"address[256]"},{"name":"_status","type":"uint256[256]"}],"outputs":[],"gas":9771562},{"stateMutability":"view","type":"function","name":"adjusted_balance_of","inputs":[{"name":"_account","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":16934},{"stateMutability":"view","type":"function","name":"delegated_boost","inputs":[{"name":"_account","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":4310},{"stateMutability":"view","type":"function","name":"received_boost","inputs":[{"name":"_account","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":4346},{"stateMutability":"view","type":"function","name":"token_boost","inputs":[{"name":"_token_id","type":"uint256"}],"outputs":[{"name":"","type":"int256"}],"gas":4879},{"stateMutability":"view","type":"function","name":"token_expiry","inputs":[{"name":"_token_id","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":2989},{"stateMutability":"view","type":"function","name":"token_cancel_time","inputs":[{"name":"_token_id","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":3087},{"stateMutability":"view","type":"function","name":"calc_boost_bias_slope","inputs":[{"name":"_delegator","type":"address"},{"name":"_percentage","type":"int256"},{"name":"_expire_time","type":"int256"}],"outputs":[{"name":"","type":"int256"},{"name":"","type":"int256"}]},{"stateMutability":"view","type":"function","name":"calc_boost_bias_slope","inputs":[{"name":"_delegator","type":"address"},{"name":"_percentage","type":"int256"},{"name":"_expire_time","type":"int256"},{"name":"_extend_token_id","type":"uint256"}],"outputs":[{"name":"","type":"int256"},{"name":"","type":"int256"}]},{"stateMutability":"pure","type":"function","name":"get_token_id","inputs":[{"name":"_delegator","type":"address"},{"name":"_id","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":1240},{"stateMutability":"nonpayable","type":"function","name":"commit_transfer_ownership","inputs":[{"name":"_addr","type":"address"}],"outputs":[],"gas":38145},{"stateMutability":"nonpayable","type":"function","name":"accept_transfer_ownership","inputs":[],"outputs":[],"gas":38090},{"stateMutability":"nonpayable","type":"function","name":"set_base_uri","inputs":[{"name":"_base_uri","type":"string"}],"outputs":[],"gas":179232},{"stateMutability":"view","type":"function","name":"balanceOf","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3293},{"stateMutability":"view","type":"function","name":"getApproved","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}],"gas":3223},{"stateMutability":"view","type":"function","name":"isApprovedForAll","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"bool"}],"gas":3568},{"stateMutability":"view","type":"function","name":"ownerOf","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"address"}],"gas":3283},{"stateMutability":"view","type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":11151},{"stateMutability":"view","type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":11181},{"stateMutability":"view","type":"function","name":"base_uri","inputs":[],"outputs":[{"name":"","type":"string"}],"gas":18042},{"stateMutability":"view","type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256"}],"gas":3288},{"stateMutability":"view","type":"function","name":"tokenByIndex","inputs":[{"name":"arg0","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":3433},{"stateMutability":"view","type":"function","name":"tokenOfOwnerByIndex","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":3608},{"stateMutability":"view","type":"function","name":"token_of_delegator_by_index","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":3638},{"stateMutability":"view","type":"function","name":"total_minted","inputs":[{"name":"arg0","type":"address"}],"outputs":[{"name":"","type":"uint256"}],"gas":3623},{"stateMutability":"view","type":"function","name":"account_expiries","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"uint256"}],"outputs":[{"name":"","type":"uint256"}],"gas":3768},{"stateMutability":"view","type":"function","name":"admin","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3468},{"stateMutability":"view","type":"function","name":"future_admin","inputs":[],"outputs":[{"name":"","type":"address"}],"gas":3498},{"stateMutability":"view","type":"function","name":"grey_list","inputs":[{"name":"arg0","type":"address"},{"name":"arg1","type":"address"}],"outputs":[{"name":"","type":"bool"}],"gas":3958}]

60606150fe61014039604060206150fe60c03960c0516150fe016101a039602060206150fe60c03960c05160040135116150f9576040602060206150fe0160c03960c0516150fe01610200396020602060206150fe0160c03960c05160040135116150f95760a0602060406150fe0160c03960c0516150fe01610260396080602060406150fe0160c03960c05160040135116150f9576101a0806004602082510161012060006002818352015b826101205160200211156100bf576100e1565b61012051602002850151610120518501555b81516001018083528114156100ac575b505050505050610200806007602082510161012060006002818352015b8261012051602002111561011157610133565b61012051602002850151610120518501555b81516001018083528114156100fe575b50505050505061026080600a602082510161012060006005818352015b8261012051602002111561016357610185565b61012051602002850151610120518501555b8151600101808352811415610150575b505050505050336018556150e156600436101561000d57613023565b600035601c5260005134614f485763095ea7b38114156100b55760043560a01c614f4857600360243560e05260c052604060c020546101405261014051331415610058576001610077565b60026101405160e05260c052604060c0203360e05260c052604060c020545b5b15614f4857610140516101405161016052600435610180526024356101a0526101a051610180516101605160065801613029565b61014052600050005b6342842e0e8114156100e7576000611180526111808051602001806101408284600060045af115614f48575050610129565b63b88d4fde81141561012457611020606435600401610140376110006064356004013511614f485761104060643560040161014037600050610129565b610ac0565b60043560a01c614f485760243560a01c614f48576101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c0516102e05161030051610320516103405161036051610380516103a0516103c0516103e05161040051610420516104405161046051610480516104a0516104c0516104e05161050051610520516105405161056051610580516105a0516105c0516105e05161060051610620516106405161066051610680516106a0516106c0516106e05161070051610720516107405161076051610780516107a0516107c0516107e05161080051610820516108405161086051610880516108a0516108c0516108e05161090051610920516109405161096051610980516109a0516109c0516109e051610a0051610a2051610a4051610a6051610a8051610aa051610ac051610ae051610b0051610b2051610b4051610b6051610b8051610ba051610bc051610be051610c0051610c2051610c4051610c6051610c8051610ca051610cc051610ce051610d0051610d2051610d4051610d6051610d8051610da051610dc051610de051610e0051610e2051610e4051610e6051610e8051610ea051610ec051610ee051610f0051610f2051610f4051610f6051610f8051610fa051610fc051610fe05161100051611020516110405161106051611080516110a0516110c0516110e05161110051611120516111405161116051611180516111a051336111c0526044356111e0526111e0516111c05160065801613087565b611240526111a05261118052611160526111405261112052611100526110e0526110c0526110a0526110805261106052611040526110205261100052610fe052610fc052610fa052610f8052610f6052610f4052610f2052610f0052610ee052610ec052610ea052610e8052610e6052610e4052610e2052610e0052610de052610dc052610da052610d8052610d6052610d4052610d2052610d0052610ce052610cc052610ca052610c8052610c6052610c4052610c2052610c0052610be052610bc052610ba052610b8052610b6052610b4052610b2052610b0052610ae052610ac052610aa052610a8052610a6052610a4052610a2052610a00526109e0526109c0526109a05261098052610960526109405261092052610900526108e0526108c0526108a05261088052610860526108405261082052610800526107e0526107c0526107a05261078052610760526107405261072052610700526106e0526106c0526106a05261068052610660526106405261062052610600526105e0526105c0526105a05261058052610560526105405261052052610500526104e0526104c0526104a05261048052610460526104405261042052610400526103e0526103c0526103a05261038052610360526103405261032052610300526102e0526102c0526102a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526112405115614f48576101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c0516102e05161030051610320516103405161036051610380516103a0516103c0516103e05161040051610420516104405161046051610480516104a0516104c0516104e05161050051610520516105405161056051610580516105a0516105c0516105e05161060051610620516106405161066051610680516106a0516106c0516106e05161070051610720516107405161076051610780516107a0516107c0516107e05161080051610820516108405161086051610880516108a0516108c0516108e05161090051610920516109405161096051610980516109a0516109c0516109e051610a0051610a2051610a4051610a6051610a8051610aa051610ac051610ae051610b0051610b2051610b4051610b6051610b8051610ba051610bc051610be051610c0051610c2051610c4051610c6051610c8051610ca051610cc051610ce051610d0051610d2051610d4051610d6051610d8051610da051610dc051610de051610e0051610e2051610e4051610e6051610e8051610ea051610ec051610ee051610f0051610f2051610f4051610f6051610f8051610fa051610fc051610fe05161100051611020516110405161106051611080516110a0516110c0516110e05161110051611120516111405161116051611180516111a0516004356111c0526024356111e05260443561120052611200516111e0516111c051600658016142a7565b6111a05261118052611160526111405261112052611100526110e0526110c0526110a0526110805261106052611040526110205261100052610fe052610fc052610fa052610f8052610f6052610f4052610f2052610f0052610ee052610ec052610ea052610e8052610e6052610e4052610e2052610e0052610de052610dc052610da052610d8052610d6052610d4052610d2052610d0052610ce052610cc052610ca052610c8052610c6052610c4052610c2052610c0052610be052610bc052610ba052610b8052610b6052610b4052610b2052610b0052610ae052610ac052610aa052610a8052610a6052610a4052610a2052610a00526109e0526109c0526109a05261098052610960526109405261092052610900526108e0526108c0526108a05261088052610860526108405261082052610800526107e0526107c0526107a05261078052610760526107405261072052610700526106e0526106c0526106a05261068052610660526106405261062052610600526105e0526105c0526105a05261058052610560526105405261052052610500526104e0526104c0526104a05261048052610460526104405261042052610400526103e0526103c0526103a05261038052610360526103405261032052610300526102e0526102c0526102a05261028052610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405260005060006024353b1115610abe5760206122e06110a4608063150b7a026111e0523361120052600435611220526044356112405280611260526101408080516020018084611200018284600060045af115614f48575050506111fc905060006024355af115614f4857601f3d1115614f48576000506122e0516111c0526004611340527f150b7a0200000000000000000000000000000000000000000000000000000000611360526113406020015160006004602082066112c001602082840111614f48576020806112e0826111c0600060045af1505081815280905090509050602001511415614f48575b005b63a22cb465811415610b345760043560a01c614f485760243560011c614f485760243560023360e05260c052604060c02060043560e05260c052604060c0205560243561014052600435337f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c316020610140a3005b6323b872dd811415610bad5760043560a01c614f485760243560a01c614f4857336101405260443561016052610160516101405160065801613087565b6101c0526101c05115614f4857600435610140526024356101605260443561018052610180516101605161014051600658016142a7565b600050005b63c87b56dd811415610cf4576000600a600181016020836102600101825461012060006004818352015b82610120516020021115610bea57610c0c565b61012051850154610120516020028501525b8151600101808352811415610bd7575b505050505080548201915050600435610140526101405160065801614bb9565b506101a0526000610240525b6101a05160206001820306601f82010390506102405110610c5857610c71565b610240516101c001526102405160200161024052610c38565b6101a0604e8060208461026001018260208501600060045af1505080518201915050806102605261026090508051602001806103c08284600060045af115614f485750506103c051806103e001818260206001820306601f820103905003368237505060206103a05260406103c0510160206001820306601f82010390506103a0f35b6342966c68811415610ea257336101405260043561016052610160516101405160065801613087565b6101c0526101c05115614f4857601460043560e05260c052604060c02054610140526000610140511815610e8157610160610140516101605161018051610140516101a0526101a0516006580161409b565b610200526102205261018052610160526101405261020080808080516102405250506020810190508080805161026052505050506102408051825280602001518260200152505060043560601c8060a01c614f48578090506101a052600360043560e05260c052604060c020546101c0526101405161016051610180516101a0516101c0516004356101e0526101a051610200526101c0516102205261016051610240526101805161026052610260516102405161022051610200516101e05160065801613c98565b6101c0526101a0526101805261016052610140526000506004356101c0516101a0517f64ddd743466fd725d437a06c1600041c3a8e6566a51cbfb4b73ee501db94657460006000a45b610140516004356101605261016051600658016138a8565b61014052600050005b63f18124d78114156114ba5760043560a01c614f485760243560a01c614f4857600435331415610ed3576001610ef1565b600260043560e05260c052604060c0203360e05260c052604060c020545b5b15614f485760843562093a808082049050905062093a80808202821582848304141715614f485780905090509050610140526002601360043560e05260c052604060c02001546101605261016051700100000000000000000000000000000000808206905090506101805261018051610f8b577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610180525b61018051421015614f485760006044351315614f485761271060443513614f48576101405160643511614f48574262093a808181830110614f4857808201905090506101405110614f48576020610220602463adc635896101a0526004356101c0526101bc735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa15614f4857601f3d1115614f4857600050610220516101405111614f48576c0100000000000000000000000060a4351015614f485760043560601b60a4358181830110614f4857808201905090506101a0526101405161016051610180516101a0516024356101c0526101a0516101e0526101e0516101c051600658016139d9565b6101a0526101805261016052610140526000506101c06101405161016051610180516101a0516101c0516101e051601360043560e05260c052604060c0205461020052610200516006580161409b565b61026052610280526101e0526101c0526101a05261018052610160526101405261026080808080516102a0525050602081019050808080516102c052505050506102a08051825280602001518260200152505042600160ff1b811015614f4857610200526101e05161020051808202600160ff1b8214156000198414151715614f4857821582848305141715614f4857809050905090506101c0518082018281126000831216838212156000841215161715614f4857809050905090506102205260443560206102e060246370a08231610260526004356102805261027c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa15614f4857601f3d1115614f48576000506102e051610220518082038281136000831216838213156000841215161715614f485780905090509050808202600160ff1b8214156000198414151715614f4857821582848305141715614f48578090509050905061271080820590509050610240526000610240511315614f48576101c061014051600160ff1b811015614f4857610260526101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516102005161028052610240516102a052610260516102c0526102c0516102a0516102805160065801614163565b6103205261034052610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405261032080808080516103605250506020810190508080805161038052505050506103608051825280602001518260200152505060006101e0511215614f48576101405161016051610180516101a0516101c0516101e0516102005161022051610240516101a0516102605260406004610280376101c0516102c0526101e0516102e05260643561030052610140516103205261032051610300516102e0516102c0516102a051610280516102605160065801613ada565b6102405261022052610200526101e0526101c0526101a052610180526101605261014052600050610180516101405110156113df5761014051610180525b6101605160801c61026052601760043560e05260c052604060c0206101405160e05260c052604060c020805460018181830110614f4857808201905090508155506102605160018181830110614f48578082019050905060801b610180518181830110614f4857808201905090506002601360043560e05260c052604060c02001556102405160008112614f485761028052610280516102a0526064356102c0526084356102e0526101a0516024356004357f94be29eae3a624a5241431d7a0daf467ac52ecf3071f7a028d5b2adc802b213d60606102a0a4005b63d47dd264811415611ced5760043560601c8060a01c614f485780905061014052600360043560e05260c052604060c020546101605261014051331415611502576001611521565b60026101405160e05260c052604060c0203360e05260c052604060c020545b5b15614f48576000610160511815614f485760006024351315614f485761271060243513614f4857610180601460043560e05260c052604060c02080548252600181015482602001526002810154826040015260038101548260600152505060443562093a808082049050905062093a80808202821582848304141715614f485780905090509050610200526102005160643511614f48574262093a808181830110614f4857808201905090506102005110614f485760206102a0602463adc6358961022052610140516102405261023c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa15614f4857601f3d1115614f48576000506102a0516102005111614f48576102206101405161016051610180516101a0516101c0516101e0516102005161022051610240516101805161026052610260516006580161409b565b6102c0526102e0526102405261022052610200526101e0526101c0526101a0526101805261016052610140526102c080808080516103005250506020810190508080805161032052505050506103008051825280602001518260200152505042600160ff1b811015614f4857610260526102405161026051808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610220518082018281126000831216838212156000841215161715614f485780905090509050610280526101e0516102005110614f48576101a05170010000000000000000000000000000000080820690509050606435101561176e576101e0514210614f48575b6101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516004356102a052610140516102c052610160516102e0526102205161030052610240516103205261032051610300516102e0516102c0516102a05160065801613c98565b61028052610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052600050600260136101405160e05260c052604060c02001546102a0526102a051700100000000000000000000000000000000808206905090506102c0526102c051611875577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6102c0525b6102c051421015614f48576102206101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c05160136101405160e05260c052604060c020546102e0526102e0516006580161409b565b61034052610360526102c0526102a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103408080808051610380525050602081019050808080516103a05250505050610380805182528060200151826020015250506102405161026051808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610220518082018281126000831216838212156000841215161715614f4857809050905090506102e05260243560206103a060246370a0823161032052610140516103405261033c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa15614f4857601f3d1115614f48576000506103a0516102e0518082038281136000831216838213156000841215161715614f485780905090509050808202600160ff1b8214156000198414151715614f4857821582848305141715614f48578090509050905061271080820590509050610300526000610300511315614f4857610280516103005112614f485761022061020051600160ff1b811015614f485761032052610140610340525b61034051516020610340510161034052610340610340511015611aa957611a87565b61026051610360526103005161038052610320516103a0526103a051610380516103605160065801614163565b6104005261042052610320610340525b610340515260206103405103610340526101406103405110611b0757611ae6565b6104008080808051610440525050602081019050808080516104605250505050610440805182528060200151826020015250506000610240511215614f4857610140610320525b61032051516020610320510161032052610320610320511015611b7057611b4e565b6004356103405261014051610360526101605161038052610220516103a052610240516103c0526064356103e0526102005161040052610400516103e0516103c0516103a05161038051610360516103405160065801613ada565b610300610320525b610320515260206103205103610320526101406103205110611bf457611bd3565b6000506102c051610200511015611c0e57610200516102c0525b6102a05160801c6103205260176101405160e05260c052604060c0206102005160e05260c052604060c020805460018181830110614f4857808201905090508155506103205160018181830110614f48578082019050905060801b6102c0518181830110614f485780820190509050600260136101405160e05260c052604060c02001556103005160008112614f485761034052610340516103605261020051610380526064356103a05260043561016051610140517f3a64a6e1360126485cdd1af7816469a376b21ae1de281a20c42c1d06968552866060610360a4005b63a53ae763811415611d1b576004356101405233610160526101605161014051600658016147de565b600050005b63dcd03345811415611d96576101606000610100818352015b60206101605102600401356101405261014051611d5057611d92565b61014051610160516101405161018052336101a0526101a05161018051600658016147de565b61016052610140526000505b8151600101808352811415611d34575b5050005b630c405197811415611e245760043560a01c614f485760243560a01c614f485760443560011c614f4857600435331415611dd1576001611def565b600260043560e05260c052604060c0203360e05260c052604060c020545b5b15614f485760043561014052602435610160526044356101805261018051610160516101405160065801614b47565b600050005b6390546fbe811415611f535760043560a01c614f48576000610120525b610120516024013560a01c614f48576020610120510161012052612000610120511015611e6d57611e41565b600435331415611e7e576001611e9c565b600260043560e05260c052604060c0203360e05260c052604060c020545b5b15614f48576101406000610100818352015b600161202461014051610100811015614f485760200201351115611ed257611f4f565b61202461014051610100811015614f48576020020135151561016052610140516101605160043561018052602461014051610100811015614f485760200201356101a052610160516101c0526101c0516101a0516101805160065801614b47565b61016052610140526000505b8151600101808352811415611eaf575b5050005b63bbf7408a8114156122f45760043560a01c614f48576002601360043560e05260c052604060c020015470010000000000000000000000000000000080820690509050610140526000610140511815611fb157426101405110611fb4565b60005b15611fc457600060005260206000f35b602061020060246370a08231610180526004356101a05261019c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa15614f4857601f3d1115614f48576000506102005161016052610180601360043560e05260c052604060c020805482526001810154826020015260028101548260400152505042600160ff1b811015614f48576101e0526000610180511815612190576102006101405161016051610180516101a0516101c0516101e05161020051610220516101805161024052610240516006580161409b565b6102a0526102c05261022052610200526101e0526101c0526101a0526101805261016052610140526102a080808080516102e05250506020810190508080805161030052505050506102e0805182528060200151826020015250506101608051610220516101e051808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610200518082018281126000831216838212156000841215161715614f48578090509050905060008112156121665780600003811815614f485780600003612168565b805b90508082038281136000831216838213156000841215161715614f4857809050905090508152505b60006101a05118156122c9576102006101405161016051610180516101a0516101c0516101e05161020051610220516101a05161024052610240516006580161409b565b6102a0526102c05261022052610200526101e0526101c0526101a0526101805261016052610140526102a080808080516102e05250506020810190508080805161030052505050506102e0805182528060200151826020015250506101608051610220516101e051808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610200518082018281126000831216838212156000841215161715614f48578090509050905060008082121561229d578061229f565b815b905090508082018281126000831216838212156000841215161715614f4857809050905090508152505b610160516000808212156122dd57806122df565b815b9050905060008112614f485760005260206000f35b63c06a5b558114156124165760043560a01c614f48576101406101405161016051601360043560e05260c052604060c0205461018052610180516006580161409b565b6101e0526102005261016052610140526101e080808080516102205250506020810190508080805161024052505050506102208051825280602001518260200152505042600160ff1b811015614f4857610180526101605161018051808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610140518082018281126000831216838212156000841215161715614f48578090509050905060008112156124015780600003811815614f485780600003612403565b805b905060008112614f485760005260206000f35b63a98b81e08114156125305760043560a01c614f485761014061014051610160516001601360043560e05260c052604060c020015461018052610180516006580161409b565b6101e0526102005261016052610140526101e080808080516102205250506020810190508080805161024052505050506102208051825280602001518260200152505042600160ff1b811015614f4857610180526101605161018051808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610140518082018281126000831216838212156000841215161715614f485780905090509050600080821215612519578061251b565b815b9050905060008112614f485760005260206000f35b63f01e4f0b81141561261f576101406101405161016051601460043560e05260c052604060c0205461018052610180516006580161409b565b6101e0526102005261016052610140526101e080808080516102205250506020810190508080805161024052505050506102208051825280602001518260200152505042600160ff1b811015614f4857610180526101605161018051808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610140518082018281126000831216838212156000841215161715614f48578090509050905060005260206000f35b636d1ac9b5811415612648576003601460043560e05260c052604060c020015460005260206000f35b63f2f60c9581141561268a576001601460043560e05260c052604060c02001547001000000000000000000000000000000008082069050905060005260206000f35b63058351fb8114156126a1576000610140526126c2565b63f2f6418f8114156126bd5760206064610140376000506126c2565b612a82565b60043560a01c614f485742600160ff1b811015614f48576101605260006024351315614f485761271060243513614f48576101605162093a808181830112614f4857808201905090506044351315614f48576020610220602463adc635896101a0526004356101c0526101bc735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa15614f4857601f3d1115614f485760005061022051600160ff1b811015614f4857610180526101805160443513614f4857601360043560e05260c052604060c020546101a05260006101405118156127b2576004356101405160601c8060a01c614f4857809050146127b5565b60005b156127e3576101a0805160146101405160e05260c052604060c02054808210614f4857808203905090508152505b6101c06101405161016051610180516101a0516101c0516101e0516101a05161020052610200516006580161409b565b61026052610280526101e0526101c0526101a05261018052610160526101405261026080808080516102a0525050602081019050808080516102c052505050506102a0805182528060200151826020015250506101e05161016051808202600160ff1b8214156000198414151715614f4857821582848305141715614f4857809050905090506101c0518082018281126000831216838212156000841215161715614f4857809050905090506102005260006102005112614f485760243560206102c060246370a08231610240526004356102605261025c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa15614f4857601f3d1115614f48576000506102c051610200518082038281136000831216838213156000841215161715614f485780905090509050808202600160ff1b8214156000198414151715614f4857821582848305141715614f48578090509050905061271080820590509050610220526000610220511315614f4857610220517f8000000000000000000000000000000000000000000000000000000000000000811315614f4857600003604435610160518082038281136000831216838213156000841215161715614f485780905090509050600160ff1b8214156000198214151715614f4857808015614f4857820590509050610240526000610240511215614f4857610220516102405161016051808202600160ff1b8214156000198414151715614f4857821582848305141715614f4857809050905090508082038281136000831216838213156000841215161715614f485780905090509050610260526102c06102605181526102405181602001525060406102c0f35b6302a96825811415612ad15760043560a01c614f48576c010000000000000000000000006024351015614f485760043560601b6024358181830110614f48578082019050905060005260206000f35b636b441a40811415612af95760043560a01c614f4857601854331415614f4857600435601955005b63e5ea47b8811415612b20576019546101405261014051331415614f485761014051601855005b63af1c5211811415612ba45760a06004356004016101403760806004356004013511614f4857601854331415614f485761014080600a602082510161012060006005818352015b82610120516020021115612b7a57612b9c565b61012051602002850151610120518501555b8151600101808352811415612b67575b505050505050005b6370a08231811415612bd45760043560a01c614f4857600060043560e05260c052604060c0205460005260206000f35b63081812fc811415612bfa57600160043560e05260c052604060c0205460005260206000f35b63e985e9c5811415612c425760043560a01c614f485760243560a01c614f4857600260043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b636352211e811415612c6857600360043560e05260c052604060c0205460005260206000f35b6306fdde03811415612d0557600480610180602082540161012060006002818352015b82610120516020021115612c9e57612cc0565b61012051850154610120516020028501525b8151600101808352811415612c8b575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6395d89b41811415612da257600780610180602082540161012060006002818352015b82610120516020021115612d3b57612d5d565b61012051850154610120516020028501525b8151600101808352811415612d28575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b63786f2910811415612e3f57600a80610180602082540161012060006005818352015b82610120516020021115612dd857612dfa565b61012051850154610120516020028501525b8151600101808352811415612dc5575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6318160ddd811415612e575760105460005260206000f35b634f6ccce7811415612e7d57601160043560e05260c052604060c0205460005260206000f35b632f745c59811415612edc5760043560a01c614f485760016024357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f485702601260043560e05260c052604060c020015460005260206000f35b6332accbe6811415612f3b5760043560a01c614f485760016024357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f485702601560043560e05260c052604060c020015460005260206000f35b63e47b270b811415612f6b5760043560a01c614f4857601660043560e05260c052604060c0205460005260206000f35b63734e0694811415612fa95760043560a01c614f4857601760043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b63f851a440811415612fc15760185460005260206000f35b6317f7182a811415612fd95760195460005260206000f35b63d91981888114156130215760043560a01c614f485760243560a01c614f4857601a60043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b505b60006000fd5b6101a0526101405261016052610180526101605160016101805160e05260c052604060c020556101805161016051610140517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560006000a46101a051565b61018052610140526101605260036101605160e05260c052604060c020546101a0526101a0516101405114156130be576001613104565b60016101605160e05260c052604060c020546101405114156130e1576001613103565b60026101a05160e05260c052604060c0206101405160e05260c052604060c020545b5b5b60005260005161018051565b6101a0526101405261016052610180526101805160601c8060a01c614f48578090506101c052600260146101805160e05260c052604060c02001546101e0526101e05170010000000000000000000000000000000080820690509050610200526101e05160801c61022052600160146101805160e05260c052604060c020015460801c61024052610140516132f65760006101605160e05260c052604060c0205461020052601054610220526102205160801b610200518181830110614f4857808201905090506101e05260166101c05160e05260c052604060c02054610240526101805160116102205160e05260c052604060c02055610180516001610200517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101605160e05260c052604060c02001556101e051600260146101805160e05260c052604060c02001556102405160801b600160146101805160e05260c052604060c0200155610180516001610240517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260156101c05160e05260c052604060c02001556102405160018181830110614f48578082019050905060166101c05160e05260c052604060c020556138a2565b610160516136bd576010546102605260006101405160e05260c052604060c020546102805260166101c05160e05260c052604060c020546001808210614f4857808203905090506102a052610260516102205118156133de5760116102605160e05260c052604060c020546102c052600260146102c05160e05260c052604060c02001546102e0526102205160801b6102e051700100000000000000000000000000000000808206905090508181830110614f485780820190509050600260146102c05160e05260c052604060c02001556102c05160116102205160e05260c052604060c020555b600060116102605160e05260c052604060c02055610280516102005118156134ef576001610280517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101405160e05260c052604060c02001546102c052600260146102c05160e05260c052604060c02001546102e0526102e0517001000000000000000000000000000000008082049050905060801b610200518181830110614f485780820190509050600260146102c05160e05260c052604060c02001556102c0516001610200517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101405160e05260c052604060c02001555b60006001610280517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101405160e05260c052604060c02001556000600260146101805160e05260c052604060c02001556102a0516102405118156136475760016102a0517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260156101c05160e05260c052604060c02001546102c052600160146102c05160e05260c052604060c02001546102e0526102405160801b6102e051700100000000000000000000000000000000808206905090508181830110614f485780820190509050600160146102c05160e05260c052604060c02001556102c0516001610240517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260156101c05160e05260c052604060c02001555b600060016102a0517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260156101c05160e05260c052604060c02001556000600160146101805160e05260c052604060c02001556102a05160166101c05160e05260c052604060c020556138a1565b60006101405160e05260c052604060c0205461026052610260516102005118156137d0576001610260517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101405160e05260c052604060c020015461028052600260146102805160e05260c052604060c02001546102a0526102a0517001000000000000000000000000000000008082049050905060801b610200518181830110614f485780820190509050600260146102805160e05260c052604060c0200155610280516001610200517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101405160e05260c052604060c02001555b60006001610260517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101405160e05260c052604060c020015560006101605160e05260c052604060c0205461020052610180516001610200517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101605160e05260c052604060c02001556102205160801b610200518181830110614f485780820190509050600260146101805160e05260c052604060c02001555b5b6101a051565b610160526101405260036101405160e05260c052604060c0205461018052610140516101605161018051610180516101a05260006101c052610140516101e0526101e0516101c0516101a05160065801613029565b61018052610160526101405260005060006101805160e05260c052604060c02080546001808210614f485780820390509050815550600060036101405160e05260c052604060c02055601080546001808210614f485780820390509050815550610140516101605161018051610180516101a05260006101c052610140516101e0526101e0516101c0516101a05160065801613111565b610180526101605261014052600050610140516000610180517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60006000a461016051565b6101805261014052610160526000610140511815614f485760036101605160e05260c052604060c02054614f485761014051610160516101805160006101a052610140516101c052610160516101e0526101e0516101c0516101a05160065801613111565b61018052610160526101405260005060006101405160e05260c052604060c020805460018181830110614f4857808201905090508155506101405160036101605160e05260c052604060c020556010805460018181830110614f485780820190509050815550610160516101405160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60006000a461018051565b610220526101405261016052610180526101a0526101c0526101e05261020052601a6101805160e05260c052604060c020600060e05260c052604060c0205461024052601a6101805160e05260c052604060c0206101605160e05260c052604060c0205461026052610260516102405118614f48576101a05160008112614f485760801b6101c0516000811215613b7f5780600003811815614f485780600003613b81565b805b905060008112614f48578181830110614f4857808201905090506102805260136101605160e05260c052604060c0208054610280518181830110614f485780820190509050815550600160136101805160e05260c052604060c020018054610280518181830110614f4857808201905090508155506102a060146101405160e05260c052604060c020805482526001810154826020015260028101548260400152600381015482606001525050610280516102a0526102c0516101e0518181830110614f4857808201905090506102c052610200516103005260146101405160e05260c052604060c0206102a080518255806020015160018301558060400151600283015580606001516003830155505061022051565b6101e0526101405261016052610180526101a0526101c05261020060146101405160e05260c052604060c020805482526001810154826020015260028101548260400152600381015482606001525050610260516102805261028051613cfe576101e051565b60136101605160e05260c052604060c020805461020051808210614f485780820390509050815550600160136101805160e05260c052604060c02001805461020051808210614f485780820390509050815550600061020052610220517001000000000000000000000000000000008082049050905060801b6102205260006102605260146101405160e05260c052604060c020610200805182558060200151600183015580604001516002830155806060015160038301555050600260136101605160e05260c052604060c02001546102a0526102a051700100000000000000000000000000000000808206905090506102c0526102a05160801c6001808210614f4857808203905090506102e05260176101605160e05260c052604060c0206102805160e05260c052604060c020546103005260006102e0511815613e5f576102c051610280511415613e57576103005115613e5a565b60005b613e62565b60005b5b15613f5e576103206001610200818352015b610200610320511415613ec7576308c379a061034052602061036052601a610380527f4661696c656420746f2066696e64206e657874206578706972790000000000006103a05261038050606461035cfd5b6102805162093a806103205160018181830110614f485780820190509050808202821582848304141715614f4857809050905090508181830110614f48578082019050905061034052600060176101605160e05260c052604060c0206103405160e05260c052604060c020541115613f4657610340516102c052613f57565b5b8151600101808352811415613e75575b5050613f6e565b6102e051613f6d5760006102c0525b5b6102e05160801b6102c0518181830110614f485780820190509050600260136101605160e05260c052604060c0200155610300516001808210614f48578082039050905060176101605160e05260c052604060c0206102805160e05260c052604060c020556101e051565b6101c0526101405261016052610180526101a0526101805160008112614f485760801b6101a051600081121561401d5780600003811815614f48578060000361401f565b805b905060008112614f48578181830110614f4857808201905090506101e052600160136101405160e05260c052604060c0200180546101e051808210614f485780820390509050815550600160136101605160e05260c052604060c0200180546101e0518181830110614f4857808201905090508155506101c051565b61016052610140526101808080806101405160801c600160ff1b811015614f48578152505060208101905080806101405170010000000000000000000000000000000080820690509050600160ff1b811015614f48577f8000000000000000000000000000000000000000000000000000000000000000811315614f48576000038152505060409050905060c05260c0516101c0525b60006101c051116141415761415d565b60206101c05103610180015160206101c051036101c052614131565b61016051565b6101a052610140526101605261018052610160517f8000000000000000000000000000000000000000000000000000000000000000811315614f485760000361018051610140518082038281136000831216838213156000841215161715614f485780905090509050600160ff1b8214156000198214151715614f4857808015614f48578205905090506101c0526101e0808080610160516101c05161014051808202600160ff1b8214156000198414151715614f4857821582848305141715614f4857809050905090508082038281136000831216838213156000841215161715614f4857809050905090508152505060208101905080806101c0518152505060409050905060c05260c051610220525b60006102205111614285576142a1565b602061022051036101e001516020610220510361022052614275565b6101a051565b6101a0526101405261016052610180526101405160036101805160e05260c052604060c020541415614f48576000610160511815614f48576101805160601c8060a01c614f48578090506101c052601a6101605160e05260c052604060c020600060e05260c052604060c020546101e052601a6101605160e05260c052604060c0206101c05160e05260c052604060c0205461020052610200516101e05118614f48576101405161016051610180516101a0516101c0516101e051610200516101405161022052600061024052610180516102605261026051610240516102205160065801613029565b610200526101e0526101c0526101a05261018052610160526101405260005060006101405160e05260c052604060c02080546001808210614f4857808203905090508155506101405161016051610180516101a0516101c0516101e0516102005161014051610220526101605161024052610180516102605261026051610240516102205160065801613111565b610200526101e0526101c0526101a05261018052610160526101405260005060006101605160e05260c052604060c020805460018181830110614f4857808201905090508155506101605160036101805160e05260c052604060c020556102206101405161016051610180516101a0516101c0516101e05161020051610220516102405160146101805160e05260c052604060c0205461026052610260516006580161409b565b6102c0526102e0526102405261022052610200526101e0526101c0526101a0526101805261016052610140526102c08080808051610300525050602081019050808080516103205250505050610300805182528060200151826020015250506102405142600160ff1b811015614f4857808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610220518082018281126000831216838212156000841215161715614f4857809050905090506102605260006102605113156146db576101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516101405161028052610160516102a052610220516102c052610240516102e0526102e0516102c0516102a0516102805160065801613fd9565b610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052600050610220517f8000000000000000000000000000000000000000000000000000000000000000811315614f485760000361024051600160ff1b8214156000198214151715614f4857808015614f485782059050905060008112614f4857610280526102605160008112614f48576102a0526102a0516102c052610280516102e0526101805161016051610140517fd28879082858412c80e7b7b81ccad936afca475871f7ba9d041dec51298e941660406102c0a46147a6565b6101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161018051610280526101c0516102a052610140516102c052610220516102e0526102405161030052610300516102e0516102c0516102a0516102805160065801613c98565b610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405260005061018051610140516101c0517f64ddd743466fd725d437a06c1600041c3a8e6566a51cbfb4b73ee501db94657460006000a45b6101805161016051610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60006000a46101a051565b61018052610140526101605260036101405160e05260c052604060c020546101a05260006101a0511815614f48576101405160601c8060a01c614f48578090506101c0526101e060146101405160e05260c052604060c0208054825260018101548260200152600281015482604001526003810154826060015250506102606101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516101e0516102a0526102a0516006580161409b565b610300526103205261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103008080808051610340525050602081019050808080516103605250505050610340805182528060200151826020015250506102805142600160ff1b811015614f4857808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610260518082018281126000831216838212156000841215161715614f4857809050905090506102a0526101a0516101605114156149805760016149b7565b60026101a05160e05260c052604060c0206101605160e05260c052604060c02054156149ad5760016149b6565b60006102a05113155b5b5b614a67576101c0516101605114156149d15760016149f3565b60026101c05160e05260c052604060c0206101605160e05260c052604060c020545b5b15614a215742610200517001000000000000000000000000000000008082069050905011614f4857614a66565b6308c379a06102c05260206102e052600c610300527f4e6f7420616c6c6f776564210000000000000000000000000000000000000000610320526103005060646102dcfd5b5b6101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a051610140516102c0526101c0516102e0526101a05161030052610260516103205261028051610340526103405161032051610300516102e0516102c05160065801613c98565b6102a05261028052610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052600050610140516101a0516101c0517f64ddd743466fd725d437a06c1600041c3a8e6566a51cbfb4b73ee501db94657460006000a461018051565b6101a05261014052610160526101805261018051601a6101405160e05260c052604060c0206101605160e05260c052604060c02055610180516101c05261016051610140517f80dbbd5de59fe1d8e1586e8b741b335479764458933d96f4272b3003653751a460206101c0a36101a051565b610160526101405261014051614c80576001610180527f30000000000000000000000000000000000000000000000000000000000000006101a0526101808051602001806102208284600060045af115614f48575050610220518061024001818260206001820306601f82010390500336823750506020610200526040610220510160206001820306601f82010390506101e0525b60006101e05111614c5e57614c7a565b60206101e05103610200015160206101e051036101e052614c4e565b61016051565b6000610220526102208051602001806101808284600060045af115614f48575050604e610220526102406000604e818352015b604e610220511415614ce95761014051604e610240511015614f485761024051600a0a808015614f485782049050905015614cec565b60005b15614cfa5761024051610220525b61014051604e604d61024051808210614f4857808203905090501015614f4857604d61024051808210614f485780820390509050600a0a808015614f4857820490509050600a8082069050905060308181830110614f48578082019050905061026052601f6001602082066102e001602082840111614f485760208061030082610260600060045af15050818152809050905090508051602001806102808284600060045af115614f485750506000610180604e806020846102e001018260208501600060045af15050805182019150506102806001806020846102e001018260208501600060045af1505080518201915050806102e0526102e090508051602001806103808284600060045af115614f48575050604e610440610380516103a060045afa15614f4857604e3d80821115614e355780614e37565b815b90509050610420526104208051602001806101808284600060045af115614f485750505b8151600101808352811415614cb3575b5050604e61022051808210614f4857808203905090506102205160208206610240016101805182840111614f4857604e806102608260206020880688030161018001600060045af15050818152809050905090508051602001806103408284600060045af115614f48575050610340518061036001818260206001820306601f82010390500336823750506020610320526040610340510160206001820306601f8201039050610300525b60006103005111614f2657614f42565b6020610300510361032001516020610300510361030052614f16565b61016051565b600080fd5b6101946150e1036101946000396101946150e1036000f35b600080fd000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001e566f74696e6720457363726f7720426f6f73742044656c65676174696f6e000000000000000000000000000000000000000000000000000000000000000000077665426f6f73740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x600436101561000d57613023565b600035601c5260005134614f485763095ea7b38114156100b55760043560a01c614f4857600360243560e05260c052604060c020546101405261014051331415610058576001610077565b60026101405160e05260c052604060c0203360e05260c052604060c020545b5b15614f4857610140516101405161016052600435610180526024356101a0526101a051610180516101605160065801613029565b61014052600050005b6342842e0e8114156100e7576000611180526111808051602001806101408284600060045af115614f48575050610129565b63b88d4fde81141561012457611020606435600401610140376110006064356004013511614f485761104060643560040161014037600050610129565b610ac0565b60043560a01c614f485760243560a01c614f48576101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c0516102e05161030051610320516103405161036051610380516103a0516103c0516103e05161040051610420516104405161046051610480516104a0516104c0516104e05161050051610520516105405161056051610580516105a0516105c0516105e05161060051610620516106405161066051610680516106a0516106c0516106e05161070051610720516107405161076051610780516107a0516107c0516107e05161080051610820516108405161086051610880516108a0516108c0516108e05161090051610920516109405161096051610980516109a0516109c0516109e051610a0051610a2051610a4051610a6051610a8051610aa051610ac051610ae051610b0051610b2051610b4051610b6051610b8051610ba051610bc051610be051610c0051610c2051610c4051610c6051610c8051610ca051610cc051610ce051610d0051610d2051610d4051610d6051610d8051610da051610dc051610de051610e0051610e2051610e4051610e6051610e8051610ea051610ec051610ee051610f0051610f2051610f4051610f6051610f8051610fa051610fc051610fe05161100051611020516110405161106051611080516110a0516110c0516110e05161110051611120516111405161116051611180516111a051336111c0526044356111e0526111e0516111c05160065801613087565b611240526111a05261118052611160526111405261112052611100526110e0526110c0526110a0526110805261106052611040526110205261100052610fe052610fc052610fa052610f8052610f6052610f4052610f2052610f0052610ee052610ec052610ea052610e8052610e6052610e4052610e2052610e0052610de052610dc052610da052610d8052610d6052610d4052610d2052610d0052610ce052610cc052610ca052610c8052610c6052610c4052610c2052610c0052610be052610bc052610ba052610b8052610b6052610b4052610b2052610b0052610ae052610ac052610aa052610a8052610a6052610a4052610a2052610a00526109e0526109c0526109a05261098052610960526109405261092052610900526108e0526108c0526108a05261088052610860526108405261082052610800526107e0526107c0526107a05261078052610760526107405261072052610700526106e0526106c0526106a05261068052610660526106405261062052610600526105e0526105c0526105a05261058052610560526105405261052052610500526104e0526104c0526104a05261048052610460526104405261042052610400526103e0526103c0526103a05261038052610360526103405261032052610300526102e0526102c0526102a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526112405115614f48576101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c0516102e05161030051610320516103405161036051610380516103a0516103c0516103e05161040051610420516104405161046051610480516104a0516104c0516104e05161050051610520516105405161056051610580516105a0516105c0516105e05161060051610620516106405161066051610680516106a0516106c0516106e05161070051610720516107405161076051610780516107a0516107c0516107e05161080051610820516108405161086051610880516108a0516108c0516108e05161090051610920516109405161096051610980516109a0516109c0516109e051610a0051610a2051610a4051610a6051610a8051610aa051610ac051610ae051610b0051610b2051610b4051610b6051610b8051610ba051610bc051610be051610c0051610c2051610c4051610c6051610c8051610ca051610cc051610ce051610d0051610d2051610d4051610d6051610d8051610da051610dc051610de051610e0051610e2051610e4051610e6051610e8051610ea051610ec051610ee051610f0051610f2051610f4051610f6051610f8051610fa051610fc051610fe05161100051611020516110405161106051611080516110a0516110c0516110e05161110051611120516111405161116051611180516111a0516004356111c0526024356111e05260443561120052611200516111e0516111c051600658016142a7565b6111a05261118052611160526111405261112052611100526110e0526110c0526110a0526110805261106052611040526110205261100052610fe052610fc052610fa052610f8052610f6052610f4052610f2052610f0052610ee052610ec052610ea052610e8052610e6052610e4052610e2052610e0052610de052610dc052610da052610d8052610d6052610d4052610d2052610d0052610ce052610cc052610ca052610c8052610c6052610c4052610c2052610c0052610be052610bc052610ba052610b8052610b6052610b4052610b2052610b0052610ae052610ac052610aa052610a8052610a6052610a4052610a2052610a00526109e0526109c0526109a05261098052610960526109405261092052610900526108e0526108c0526108a05261088052610860526108405261082052610800526107e0526107c0526107a05261078052610760526107405261072052610700526106e0526106c0526106a05261068052610660526106405261062052610600526105e0526105c0526105a05261058052610560526105405261052052610500526104e0526104c0526104a05261048052610460526104405261042052610400526103e0526103c0526103a05261038052610360526103405261032052610300526102e0526102c0526102a05261028052610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405260005060006024353b1115610abe5760206122e06110a4608063150b7a026111e0523361120052600435611220526044356112405280611260526101408080516020018084611200018284600060045af115614f48575050506111fc905060006024355af115614f4857601f3d1115614f48576000506122e0516111c0526004611340527f150b7a0200000000000000000000000000000000000000000000000000000000611360526113406020015160006004602082066112c001602082840111614f48576020806112e0826111c0600060045af1505081815280905090509050602001511415614f48575b005b63a22cb465811415610b345760043560a01c614f485760243560011c614f485760243560023360e05260c052604060c02060043560e05260c052604060c0205560243561014052600435337f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c316020610140a3005b6323b872dd811415610bad5760043560a01c614f485760243560a01c614f4857336101405260443561016052610160516101405160065801613087565b6101c0526101c05115614f4857600435610140526024356101605260443561018052610180516101605161014051600658016142a7565b600050005b63c87b56dd811415610cf4576000600a600181016020836102600101825461012060006004818352015b82610120516020021115610bea57610c0c565b61012051850154610120516020028501525b8151600101808352811415610bd7575b505050505080548201915050600435610140526101405160065801614bb9565b506101a0526000610240525b6101a05160206001820306601f82010390506102405110610c5857610c71565b610240516101c001526102405160200161024052610c38565b6101a0604e8060208461026001018260208501600060045af1505080518201915050806102605261026090508051602001806103c08284600060045af115614f485750506103c051806103e001818260206001820306601f820103905003368237505060206103a05260406103c0510160206001820306601f82010390506103a0f35b6342966c68811415610ea257336101405260043561016052610160516101405160065801613087565b6101c0526101c05115614f4857601460043560e05260c052604060c02054610140526000610140511815610e8157610160610140516101605161018051610140516101a0526101a0516006580161409b565b610200526102205261018052610160526101405261020080808080516102405250506020810190508080805161026052505050506102408051825280602001518260200152505060043560601c8060a01c614f48578090506101a052600360043560e05260c052604060c020546101c0526101405161016051610180516101a0516101c0516004356101e0526101a051610200526101c0516102205261016051610240526101805161026052610260516102405161022051610200516101e05160065801613c98565b6101c0526101a0526101805261016052610140526000506004356101c0516101a0517f64ddd743466fd725d437a06c1600041c3a8e6566a51cbfb4b73ee501db94657460006000a45b610140516004356101605261016051600658016138a8565b61014052600050005b63f18124d78114156114ba5760043560a01c614f485760243560a01c614f4857600435331415610ed3576001610ef1565b600260043560e05260c052604060c0203360e05260c052604060c020545b5b15614f485760843562093a808082049050905062093a80808202821582848304141715614f485780905090509050610140526002601360043560e05260c052604060c02001546101605261016051700100000000000000000000000000000000808206905090506101805261018051610f8b577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610180525b61018051421015614f485760006044351315614f485761271060443513614f48576101405160643511614f48574262093a808181830110614f4857808201905090506101405110614f48576020610220602463adc635896101a0526004356101c0526101bc735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa15614f4857601f3d1115614f4857600050610220516101405111614f48576c0100000000000000000000000060a4351015614f485760043560601b60a4358181830110614f4857808201905090506101a0526101405161016051610180516101a0516024356101c0526101a0516101e0526101e0516101c051600658016139d9565b6101a0526101805261016052610140526000506101c06101405161016051610180516101a0516101c0516101e051601360043560e05260c052604060c0205461020052610200516006580161409b565b61026052610280526101e0526101c0526101a05261018052610160526101405261026080808080516102a0525050602081019050808080516102c052505050506102a08051825280602001518260200152505042600160ff1b811015614f4857610200526101e05161020051808202600160ff1b8214156000198414151715614f4857821582848305141715614f4857809050905090506101c0518082018281126000831216838212156000841215161715614f4857809050905090506102205260443560206102e060246370a08231610260526004356102805261027c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa15614f4857601f3d1115614f48576000506102e051610220518082038281136000831216838213156000841215161715614f485780905090509050808202600160ff1b8214156000198414151715614f4857821582848305141715614f48578090509050905061271080820590509050610240526000610240511315614f48576101c061014051600160ff1b811015614f4857610260526101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516102005161028052610240516102a052610260516102c0526102c0516102a0516102805160065801614163565b6103205261034052610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405261032080808080516103605250506020810190508080805161038052505050506103608051825280602001518260200152505060006101e0511215614f48576101405161016051610180516101a0516101c0516101e0516102005161022051610240516101a0516102605260406004610280376101c0516102c0526101e0516102e05260643561030052610140516103205261032051610300516102e0516102c0516102a051610280516102605160065801613ada565b6102405261022052610200526101e0526101c0526101a052610180526101605261014052600050610180516101405110156113df5761014051610180525b6101605160801c61026052601760043560e05260c052604060c0206101405160e05260c052604060c020805460018181830110614f4857808201905090508155506102605160018181830110614f48578082019050905060801b610180518181830110614f4857808201905090506002601360043560e05260c052604060c02001556102405160008112614f485761028052610280516102a0526064356102c0526084356102e0526101a0516024356004357f94be29eae3a624a5241431d7a0daf467ac52ecf3071f7a028d5b2adc802b213d60606102a0a4005b63d47dd264811415611ced5760043560601c8060a01c614f485780905061014052600360043560e05260c052604060c020546101605261014051331415611502576001611521565b60026101405160e05260c052604060c0203360e05260c052604060c020545b5b15614f48576000610160511815614f485760006024351315614f485761271060243513614f4857610180601460043560e05260c052604060c02080548252600181015482602001526002810154826040015260038101548260600152505060443562093a808082049050905062093a80808202821582848304141715614f485780905090509050610200526102005160643511614f48574262093a808181830110614f4857808201905090506102005110614f485760206102a0602463adc6358961022052610140516102405261023c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa15614f4857601f3d1115614f48576000506102a0516102005111614f48576102206101405161016051610180516101a0516101c0516101e0516102005161022051610240516101805161026052610260516006580161409b565b6102c0526102e0526102405261022052610200526101e0526101c0526101a0526101805261016052610140526102c080808080516103005250506020810190508080805161032052505050506103008051825280602001518260200152505042600160ff1b811015614f4857610260526102405161026051808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610220518082018281126000831216838212156000841215161715614f485780905090509050610280526101e0516102005110614f48576101a05170010000000000000000000000000000000080820690509050606435101561176e576101e0514210614f48575b6101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516004356102a052610140516102c052610160516102e0526102205161030052610240516103205261032051610300516102e0516102c0516102a05160065801613c98565b61028052610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052600050600260136101405160e05260c052604060c02001546102a0526102a051700100000000000000000000000000000000808206905090506102c0526102c051611875577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6102c0525b6102c051421015614f48576102206101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c05160136101405160e05260c052604060c020546102e0526102e0516006580161409b565b61034052610360526102c0526102a05261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103408080808051610380525050602081019050808080516103a05250505050610380805182528060200151826020015250506102405161026051808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610220518082018281126000831216838212156000841215161715614f4857809050905090506102e05260243560206103a060246370a0823161032052610140516103405261033c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa15614f4857601f3d1115614f48576000506103a0516102e0518082038281136000831216838213156000841215161715614f485780905090509050808202600160ff1b8214156000198414151715614f4857821582848305141715614f48578090509050905061271080820590509050610300526000610300511315614f4857610280516103005112614f485761022061020051600160ff1b811015614f485761032052610140610340525b61034051516020610340510161034052610340610340511015611aa957611a87565b61026051610360526103005161038052610320516103a0526103a051610380516103605160065801614163565b6104005261042052610320610340525b610340515260206103405103610340526101406103405110611b0757611ae6565b6104008080808051610440525050602081019050808080516104605250505050610440805182528060200151826020015250506000610240511215614f4857610140610320525b61032051516020610320510161032052610320610320511015611b7057611b4e565b6004356103405261014051610360526101605161038052610220516103a052610240516103c0526064356103e0526102005161040052610400516103e0516103c0516103a05161038051610360516103405160065801613ada565b610300610320525b610320515260206103205103610320526101406103205110611bf457611bd3565b6000506102c051610200511015611c0e57610200516102c0525b6102a05160801c6103205260176101405160e05260c052604060c0206102005160e05260c052604060c020805460018181830110614f4857808201905090508155506103205160018181830110614f48578082019050905060801b6102c0518181830110614f485780820190509050600260136101405160e05260c052604060c02001556103005160008112614f485761034052610340516103605261020051610380526064356103a05260043561016051610140517f3a64a6e1360126485cdd1af7816469a376b21ae1de281a20c42c1d06968552866060610360a4005b63a53ae763811415611d1b576004356101405233610160526101605161014051600658016147de565b600050005b63dcd03345811415611d96576101606000610100818352015b60206101605102600401356101405261014051611d5057611d92565b61014051610160516101405161018052336101a0526101a05161018051600658016147de565b61016052610140526000505b8151600101808352811415611d34575b5050005b630c405197811415611e245760043560a01c614f485760243560a01c614f485760443560011c614f4857600435331415611dd1576001611def565b600260043560e05260c052604060c0203360e05260c052604060c020545b5b15614f485760043561014052602435610160526044356101805261018051610160516101405160065801614b47565b600050005b6390546fbe811415611f535760043560a01c614f48576000610120525b610120516024013560a01c614f48576020610120510161012052612000610120511015611e6d57611e41565b600435331415611e7e576001611e9c565b600260043560e05260c052604060c0203360e05260c052604060c020545b5b15614f48576101406000610100818352015b600161202461014051610100811015614f485760200201351115611ed257611f4f565b61202461014051610100811015614f48576020020135151561016052610140516101605160043561018052602461014051610100811015614f485760200201356101a052610160516101c0526101c0516101a0516101805160065801614b47565b61016052610140526000505b8151600101808352811415611eaf575b5050005b63bbf7408a8114156122f45760043560a01c614f48576002601360043560e05260c052604060c020015470010000000000000000000000000000000080820690509050610140526000610140511815611fb157426101405110611fb4565b60005b15611fc457600060005260206000f35b602061020060246370a08231610180526004356101a05261019c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa15614f4857601f3d1115614f48576000506102005161016052610180601360043560e05260c052604060c020805482526001810154826020015260028101548260400152505042600160ff1b811015614f48576101e0526000610180511815612190576102006101405161016051610180516101a0516101c0516101e05161020051610220516101805161024052610240516006580161409b565b6102a0526102c05261022052610200526101e0526101c0526101a0526101805261016052610140526102a080808080516102e05250506020810190508080805161030052505050506102e0805182528060200151826020015250506101608051610220516101e051808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610200518082018281126000831216838212156000841215161715614f48578090509050905060008112156121665780600003811815614f485780600003612168565b805b90508082038281136000831216838213156000841215161715614f4857809050905090508152505b60006101a05118156122c9576102006101405161016051610180516101a0516101c0516101e05161020051610220516101a05161024052610240516006580161409b565b6102a0526102c05261022052610200526101e0526101c0526101a0526101805261016052610140526102a080808080516102e05250506020810190508080805161030052505050506102e0805182528060200151826020015250506101608051610220516101e051808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610200518082018281126000831216838212156000841215161715614f48578090509050905060008082121561229d578061229f565b815b905090508082018281126000831216838212156000841215161715614f4857809050905090508152505b610160516000808212156122dd57806122df565b815b9050905060008112614f485760005260206000f35b63c06a5b558114156124165760043560a01c614f48576101406101405161016051601360043560e05260c052604060c0205461018052610180516006580161409b565b6101e0526102005261016052610140526101e080808080516102205250506020810190508080805161024052505050506102208051825280602001518260200152505042600160ff1b811015614f4857610180526101605161018051808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610140518082018281126000831216838212156000841215161715614f48578090509050905060008112156124015780600003811815614f485780600003612403565b805b905060008112614f485760005260206000f35b63a98b81e08114156125305760043560a01c614f485761014061014051610160516001601360043560e05260c052604060c020015461018052610180516006580161409b565b6101e0526102005261016052610140526101e080808080516102205250506020810190508080805161024052505050506102208051825280602001518260200152505042600160ff1b811015614f4857610180526101605161018051808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610140518082018281126000831216838212156000841215161715614f485780905090509050600080821215612519578061251b565b815b9050905060008112614f485760005260206000f35b63f01e4f0b81141561261f576101406101405161016051601460043560e05260c052604060c0205461018052610180516006580161409b565b6101e0526102005261016052610140526101e080808080516102205250506020810190508080805161024052505050506102208051825280602001518260200152505042600160ff1b811015614f4857610180526101605161018051808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610140518082018281126000831216838212156000841215161715614f48578090509050905060005260206000f35b636d1ac9b5811415612648576003601460043560e05260c052604060c020015460005260206000f35b63f2f60c9581141561268a576001601460043560e05260c052604060c02001547001000000000000000000000000000000008082069050905060005260206000f35b63058351fb8114156126a1576000610140526126c2565b63f2f6418f8114156126bd5760206064610140376000506126c2565b612a82565b60043560a01c614f485742600160ff1b811015614f48576101605260006024351315614f485761271060243513614f48576101605162093a808181830112614f4857808201905090506044351315614f48576020610220602463adc635896101a0526004356101c0526101bc735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa15614f4857601f3d1115614f485760005061022051600160ff1b811015614f4857610180526101805160443513614f4857601360043560e05260c052604060c020546101a05260006101405118156127b2576004356101405160601c8060a01c614f4857809050146127b5565b60005b156127e3576101a0805160146101405160e05260c052604060c02054808210614f4857808203905090508152505b6101c06101405161016051610180516101a0516101c0516101e0516101a05161020052610200516006580161409b565b61026052610280526101e0526101c0526101a05261018052610160526101405261026080808080516102a0525050602081019050808080516102c052505050506102a0805182528060200151826020015250506101e05161016051808202600160ff1b8214156000198414151715614f4857821582848305141715614f4857809050905090506101c0518082018281126000831216838212156000841215161715614f4857809050905090506102005260006102005112614f485760243560206102c060246370a08231610240526004356102605261025c735f3b5dfeb7b28cdbd7faba78963ee202a494e2a25afa15614f4857601f3d1115614f48576000506102c051610200518082038281136000831216838213156000841215161715614f485780905090509050808202600160ff1b8214156000198414151715614f4857821582848305141715614f48578090509050905061271080820590509050610220526000610220511315614f4857610220517f8000000000000000000000000000000000000000000000000000000000000000811315614f4857600003604435610160518082038281136000831216838213156000841215161715614f485780905090509050600160ff1b8214156000198214151715614f4857808015614f4857820590509050610240526000610240511215614f4857610220516102405161016051808202600160ff1b8214156000198414151715614f4857821582848305141715614f4857809050905090508082038281136000831216838213156000841215161715614f485780905090509050610260526102c06102605181526102405181602001525060406102c0f35b6302a96825811415612ad15760043560a01c614f48576c010000000000000000000000006024351015614f485760043560601b6024358181830110614f48578082019050905060005260206000f35b636b441a40811415612af95760043560a01c614f4857601854331415614f4857600435601955005b63e5ea47b8811415612b20576019546101405261014051331415614f485761014051601855005b63af1c5211811415612ba45760a06004356004016101403760806004356004013511614f4857601854331415614f485761014080600a602082510161012060006005818352015b82610120516020021115612b7a57612b9c565b61012051602002850151610120518501555b8151600101808352811415612b67575b505050505050005b6370a08231811415612bd45760043560a01c614f4857600060043560e05260c052604060c0205460005260206000f35b63081812fc811415612bfa57600160043560e05260c052604060c0205460005260206000f35b63e985e9c5811415612c425760043560a01c614f485760243560a01c614f4857600260043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b636352211e811415612c6857600360043560e05260c052604060c0205460005260206000f35b6306fdde03811415612d0557600480610180602082540161012060006002818352015b82610120516020021115612c9e57612cc0565b61012051850154610120516020028501525b8151600101808352811415612c8b575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6395d89b41811415612da257600780610180602082540161012060006002818352015b82610120516020021115612d3b57612d5d565b61012051850154610120516020028501525b8151600101808352811415612d28575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b63786f2910811415612e3f57600a80610180602082540161012060006005818352015b82610120516020021115612dd857612dfa565b61012051850154610120516020028501525b8151600101808352811415612dc5575b50505050505061018051806101a001818260206001820306601f82010390500336823750506020610160526040610180510160206001820306601f8201039050610160f35b6318160ddd811415612e575760105460005260206000f35b634f6ccce7811415612e7d57601160043560e05260c052604060c0205460005260206000f35b632f745c59811415612edc5760043560a01c614f485760016024357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f485702601260043560e05260c052604060c020015460005260206000f35b6332accbe6811415612f3b5760043560a01c614f485760016024357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f485702601560043560e05260c052604060c020015460005260206000f35b63e47b270b811415612f6b5760043560a01c614f4857601660043560e05260c052604060c0205460005260206000f35b63734e0694811415612fa95760043560a01c614f4857601760043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b63f851a440811415612fc15760185460005260206000f35b6317f7182a811415612fd95760195460005260206000f35b63d91981888114156130215760043560a01c614f485760243560a01c614f4857601a60043560e05260c052604060c02060243560e05260c052604060c0205460005260206000f35b505b60006000fd5b6101a0526101405261016052610180526101605160016101805160e05260c052604060c020556101805161016051610140517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560006000a46101a051565b61018052610140526101605260036101605160e05260c052604060c020546101a0526101a0516101405114156130be576001613104565b60016101605160e05260c052604060c020546101405114156130e1576001613103565b60026101a05160e05260c052604060c0206101405160e05260c052604060c020545b5b5b60005260005161018051565b6101a0526101405261016052610180526101805160601c8060a01c614f48578090506101c052600260146101805160e05260c052604060c02001546101e0526101e05170010000000000000000000000000000000080820690509050610200526101e05160801c61022052600160146101805160e05260c052604060c020015460801c61024052610140516132f65760006101605160e05260c052604060c0205461020052601054610220526102205160801b610200518181830110614f4857808201905090506101e05260166101c05160e05260c052604060c02054610240526101805160116102205160e05260c052604060c02055610180516001610200517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101605160e05260c052604060c02001556101e051600260146101805160e05260c052604060c02001556102405160801b600160146101805160e05260c052604060c0200155610180516001610240517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260156101c05160e05260c052604060c02001556102405160018181830110614f48578082019050905060166101c05160e05260c052604060c020556138a2565b610160516136bd576010546102605260006101405160e05260c052604060c020546102805260166101c05160e05260c052604060c020546001808210614f4857808203905090506102a052610260516102205118156133de5760116102605160e05260c052604060c020546102c052600260146102c05160e05260c052604060c02001546102e0526102205160801b6102e051700100000000000000000000000000000000808206905090508181830110614f485780820190509050600260146102c05160e05260c052604060c02001556102c05160116102205160e05260c052604060c020555b600060116102605160e05260c052604060c02055610280516102005118156134ef576001610280517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101405160e05260c052604060c02001546102c052600260146102c05160e05260c052604060c02001546102e0526102e0517001000000000000000000000000000000008082049050905060801b610200518181830110614f485780820190509050600260146102c05160e05260c052604060c02001556102c0516001610200517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101405160e05260c052604060c02001555b60006001610280517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101405160e05260c052604060c02001556000600260146101805160e05260c052604060c02001556102a0516102405118156136475760016102a0517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260156101c05160e05260c052604060c02001546102c052600160146102c05160e05260c052604060c02001546102e0526102405160801b6102e051700100000000000000000000000000000000808206905090508181830110614f485780820190509050600160146102c05160e05260c052604060c02001556102c0516001610240517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260156101c05160e05260c052604060c02001555b600060016102a0517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260156101c05160e05260c052604060c02001556000600160146101805160e05260c052604060c02001556102a05160166101c05160e05260c052604060c020556138a1565b60006101405160e05260c052604060c0205461026052610260516102005118156137d0576001610260517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101405160e05260c052604060c020015461028052600260146102805160e05260c052604060c02001546102a0526102a0517001000000000000000000000000000000008082049050905060801b610200518181830110614f485780820190509050600260146102805160e05260c052604060c0200155610280516001610200517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101405160e05260c052604060c02001555b60006001610260517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101405160e05260c052604060c020015560006101605160e05260c052604060c0205461020052610180516001610200517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811015614f48570260126101605160e05260c052604060c02001556102205160801b610200518181830110614f485780820190509050600260146101805160e05260c052604060c02001555b5b6101a051565b610160526101405260036101405160e05260c052604060c0205461018052610140516101605161018051610180516101a05260006101c052610140516101e0526101e0516101c0516101a05160065801613029565b61018052610160526101405260005060006101805160e05260c052604060c02080546001808210614f485780820390509050815550600060036101405160e05260c052604060c02055601080546001808210614f485780820390509050815550610140516101605161018051610180516101a05260006101c052610140516101e0526101e0516101c0516101a05160065801613111565b610180526101605261014052600050610140516000610180517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60006000a461016051565b6101805261014052610160526000610140511815614f485760036101605160e05260c052604060c02054614f485761014051610160516101805160006101a052610140516101c052610160516101e0526101e0516101c0516101a05160065801613111565b61018052610160526101405260005060006101405160e05260c052604060c020805460018181830110614f4857808201905090508155506101405160036101605160e05260c052604060c020556010805460018181830110614f485780820190509050815550610160516101405160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60006000a461018051565b610220526101405261016052610180526101a0526101c0526101e05261020052601a6101805160e05260c052604060c020600060e05260c052604060c0205461024052601a6101805160e05260c052604060c0206101605160e05260c052604060c0205461026052610260516102405118614f48576101a05160008112614f485760801b6101c0516000811215613b7f5780600003811815614f485780600003613b81565b805b905060008112614f48578181830110614f4857808201905090506102805260136101605160e05260c052604060c0208054610280518181830110614f485780820190509050815550600160136101805160e05260c052604060c020018054610280518181830110614f4857808201905090508155506102a060146101405160e05260c052604060c020805482526001810154826020015260028101548260400152600381015482606001525050610280516102a0526102c0516101e0518181830110614f4857808201905090506102c052610200516103005260146101405160e05260c052604060c0206102a080518255806020015160018301558060400151600283015580606001516003830155505061022051565b6101e0526101405261016052610180526101a0526101c05261020060146101405160e05260c052604060c020805482526001810154826020015260028101548260400152600381015482606001525050610260516102805261028051613cfe576101e051565b60136101605160e05260c052604060c020805461020051808210614f485780820390509050815550600160136101805160e05260c052604060c02001805461020051808210614f485780820390509050815550600061020052610220517001000000000000000000000000000000008082049050905060801b6102205260006102605260146101405160e05260c052604060c020610200805182558060200151600183015580604001516002830155806060015160038301555050600260136101605160e05260c052604060c02001546102a0526102a051700100000000000000000000000000000000808206905090506102c0526102a05160801c6001808210614f4857808203905090506102e05260176101605160e05260c052604060c0206102805160e05260c052604060c020546103005260006102e0511815613e5f576102c051610280511415613e57576103005115613e5a565b60005b613e62565b60005b5b15613f5e576103206001610200818352015b610200610320511415613ec7576308c379a061034052602061036052601a610380527f4661696c656420746f2066696e64206e657874206578706972790000000000006103a05261038050606461035cfd5b6102805162093a806103205160018181830110614f485780820190509050808202821582848304141715614f4857809050905090508181830110614f48578082019050905061034052600060176101605160e05260c052604060c0206103405160e05260c052604060c020541115613f4657610340516102c052613f57565b5b8151600101808352811415613e75575b5050613f6e565b6102e051613f6d5760006102c0525b5b6102e05160801b6102c0518181830110614f485780820190509050600260136101605160e05260c052604060c0200155610300516001808210614f48578082039050905060176101605160e05260c052604060c0206102805160e05260c052604060c020556101e051565b6101c0526101405261016052610180526101a0526101805160008112614f485760801b6101a051600081121561401d5780600003811815614f48578060000361401f565b805b905060008112614f48578181830110614f4857808201905090506101e052600160136101405160e05260c052604060c0200180546101e051808210614f485780820390509050815550600160136101605160e05260c052604060c0200180546101e0518181830110614f4857808201905090508155506101c051565b61016052610140526101808080806101405160801c600160ff1b811015614f48578152505060208101905080806101405170010000000000000000000000000000000080820690509050600160ff1b811015614f48577f8000000000000000000000000000000000000000000000000000000000000000811315614f48576000038152505060409050905060c05260c0516101c0525b60006101c051116141415761415d565b60206101c05103610180015160206101c051036101c052614131565b61016051565b6101a052610140526101605261018052610160517f8000000000000000000000000000000000000000000000000000000000000000811315614f485760000361018051610140518082038281136000831216838213156000841215161715614f485780905090509050600160ff1b8214156000198214151715614f4857808015614f48578205905090506101c0526101e0808080610160516101c05161014051808202600160ff1b8214156000198414151715614f4857821582848305141715614f4857809050905090508082038281136000831216838213156000841215161715614f4857809050905090508152505060208101905080806101c0518152505060409050905060c05260c051610220525b60006102205111614285576142a1565b602061022051036101e001516020610220510361022052614275565b6101a051565b6101a0526101405261016052610180526101405160036101805160e05260c052604060c020541415614f48576000610160511815614f48576101805160601c8060a01c614f48578090506101c052601a6101605160e05260c052604060c020600060e05260c052604060c020546101e052601a6101605160e05260c052604060c0206101c05160e05260c052604060c0205461020052610200516101e05118614f48576101405161016051610180516101a0516101c0516101e051610200516101405161022052600061024052610180516102605261026051610240516102205160065801613029565b610200526101e0526101c0526101a05261018052610160526101405260005060006101405160e05260c052604060c02080546001808210614f4857808203905090508155506101405161016051610180516101a0516101c0516101e0516102005161014051610220526101605161024052610180516102605261026051610240516102205160065801613111565b610200526101e0526101c0526101a05261018052610160526101405260005060006101605160e05260c052604060c020805460018181830110614f4857808201905090508155506101605160036101805160e05260c052604060c020556102206101405161016051610180516101a0516101c0516101e05161020051610220516102405160146101805160e05260c052604060c0205461026052610260516006580161409b565b6102c0526102e0526102405261022052610200526101e0526101c0526101a0526101805261016052610140526102c08080808051610300525050602081019050808080516103205250505050610300805182528060200151826020015250506102405142600160ff1b811015614f4857808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610220518082018281126000831216838212156000841215161715614f4857809050905090506102605260006102605113156146db576101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516101405161028052610160516102a052610220516102c052610240516102e0526102e0516102c0516102a0516102805160065801613fd9565b610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052600050610220517f8000000000000000000000000000000000000000000000000000000000000000811315614f485760000361024051600160ff1b8214156000198214151715614f4857808015614f485782059050905060008112614f4857610280526102605160008112614f48576102a0526102a0516102c052610280516102e0526101805161016051610140517fd28879082858412c80e7b7b81ccad936afca475871f7ba9d041dec51298e941660406102c0a46147a6565b6101405161016051610180516101a0516101c0516101e0516102005161022051610240516102605161018051610280526101c0516102a052610140516102c052610220516102e0526102405161030052610300516102e0516102c0516102a0516102805160065801613c98565b610260526102405261022052610200526101e0526101c0526101a05261018052610160526101405260005061018051610140516101c0517f64ddd743466fd725d437a06c1600041c3a8e6566a51cbfb4b73ee501db94657460006000a45b6101805161016051610140517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60006000a46101a051565b61018052610140526101605260036101405160e05260c052604060c020546101a05260006101a0511815614f48576101405160601c8060a01c614f48578090506101c0526101e060146101405160e05260c052604060c0208054825260018101548260200152600281015482604001526003810154826060015250506102606101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516101e0516102a0526102a0516006580161409b565b610300526103205261028052610260526102405261022052610200526101e0526101c0526101a0526101805261016052610140526103008080808051610340525050602081019050808080516103605250505050610340805182528060200151826020015250506102805142600160ff1b811015614f4857808202600160ff1b8214156000198414151715614f4857821582848305141715614f485780905090509050610260518082018281126000831216838212156000841215161715614f4857809050905090506102a0526101a0516101605114156149805760016149b7565b60026101a05160e05260c052604060c0206101605160e05260c052604060c02054156149ad5760016149b6565b60006102a05113155b5b5b614a67576101c0516101605114156149d15760016149f3565b60026101c05160e05260c052604060c0206101605160e05260c052604060c020545b5b15614a215742610200517001000000000000000000000000000000008082069050905011614f4857614a66565b6308c379a06102c05260206102e052600c610300527f4e6f7420616c6c6f776564210000000000000000000000000000000000000000610320526103005060646102dcfd5b5b6101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a051610140516102c0526101c0516102e0526101a05161030052610260516103205261028051610340526103405161032051610300516102e0516102c05160065801613c98565b6102a05261028052610260526102405261022052610200526101e0526101c0526101a052610180526101605261014052600050610140516101a0516101c0517f64ddd743466fd725d437a06c1600041c3a8e6566a51cbfb4b73ee501db94657460006000a461018051565b6101a05261014052610160526101805261018051601a6101405160e05260c052604060c0206101605160e05260c052604060c02055610180516101c05261016051610140517f80dbbd5de59fe1d8e1586e8b741b335479764458933d96f4272b3003653751a460206101c0a36101a051565b610160526101405261014051614c80576001610180527f30000000000000000000000000000000000000000000000000000000000000006101a0526101808051602001806102208284600060045af115614f48575050610220518061024001818260206001820306601f82010390500336823750506020610200526040610220510160206001820306601f82010390506101e0525b60006101e05111614c5e57614c7a565b60206101e05103610200015160206101e051036101e052614c4e565b61016051565b6000610220526102208051602001806101808284600060045af115614f48575050604e610220526102406000604e818352015b604e610220511415614ce95761014051604e610240511015614f485761024051600a0a808015614f485782049050905015614cec565b60005b15614cfa5761024051610220525b61014051604e604d61024051808210614f4857808203905090501015614f4857604d61024051808210614f485780820390509050600a0a808015614f4857820490509050600a8082069050905060308181830110614f48578082019050905061026052601f6001602082066102e001602082840111614f485760208061030082610260600060045af15050818152809050905090508051602001806102808284600060045af115614f485750506000610180604e806020846102e001018260208501600060045af15050805182019150506102806001806020846102e001018260208501600060045af1505080518201915050806102e0526102e090508051602001806103808284600060045af115614f48575050604e610440610380516103a060045afa15614f4857604e3d80821115614e355780614e37565b815b90509050610420526104208051602001806101808284600060045af115614f485750505b8151600101808352811415614cb3575b5050604e61022051808210614f4857808203905090506102205160208206610240016101805182840111614f4857604e806102608260206020880688030161018001600060045af15050818152809050905090508051602001806103408284600060045af115614f48575050610340518061036001818260206001820306601f82010390500336823750506020610320526040610340510160206001820306601f8201039050610300525b60006103005111614f2657614f42565b6020610300510361032001516020610300510361030052614f16565b61016051565b600080fd

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001e566f74696e6720457363726f7720426f6f73742044656c65676174696f6e000000000000000000000000000000000000000000000000000000000000000000077665426f6f73740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Voting Escrow Boost Delegation
Arg [1] : _symbol (string): veBoost
Arg [2] : _base_uri (string):

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [4] : 566f74696e6720457363726f7720426f6f73742044656c65676174696f6e0000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 7665426f6f737400000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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