FTM Price: $0.66 (-9.79%)
Gas: 37 GWei

Contract

0xAE459eE7377Fb9F67518047BBA5482C2F0963236
 

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Increase_unlock_...794605122024-04-16 10:02:2340 mins ago1713261743IN
0xAE459eE7...2F0963236
0 FTM0.0049126822
Increase_unlock_...794590092024-04-16 8:54:501 hr ago1713257690IN
0xAE459eE7...2F0963236
0 FTM0.004757622.39472822
Merge794553192024-04-16 6:58:223 hrs ago1713250702IN
0xAE459eE7...2F0963236
0 FTM0.0123330729.20716898
Merge794517282024-04-16 5:16:315 hrs ago1713244591IN
0xAE459eE7...2F0963236
0 FTM0.0125660328
Increase_unlock_...794380512024-04-15 22:23:0612 hrs ago1713219786IN
0xAE459eE7...2F0963236
0 FTM0.0116111352
Increase_unlock_...794268682024-04-15 18:54:2015 hrs ago1713207260IN
0xAE459eE7...2F0963236
0 FTM0.0118351153
Increase_unlock_...793649042024-04-14 20:44:5537 hrs ago1713127495IN
0xAE459eE7...2F0963236
0 FTM0.0094986344.71146736
Increase_unlock_...793648762024-04-14 20:44:1237 hrs ago1713127452IN
0xAE459eE7...2F0963236
0 FTM0.0094986344.71146736
Merge793555932024-04-14 17:24:0141 hrs ago1713115441IN
0xAE459eE7...2F0963236
0 FTM0.0164492737
Merge793250902024-04-14 6:54:512 days ago1713077691IN
0xAE459eE7...2F0963236
0 FTM0.0355649680
Merge793225642024-04-14 6:04:372 days ago1713074677IN
0xAE459eE7...2F0963236
0 FTM0.0400192296.63211646
Increase_unlock_...793119702024-04-14 2:09:282 days ago1713060568IN
0xAE459eE7...2F0963236
0 FTM0.0471511221.95960905
Increase_unlock_...793017432024-04-13 22:50:192 days ago1713048619IN
0xAE459eE7...2F0963236
0 FTM0.09049031425.9510254
Increase_unlock_...792589012024-04-13 4:57:173 days ago1712984237IN
0xAE459eE7...2F0963236
0 FTM0.0051359923
Merge791922812024-04-12 7:50:074 days ago1712908207IN
0xAE459eE7...2F0963236
0 FTM0.003850469.11866129
Increase_unlock_...791767322024-04-11 21:27:414 days ago1712870861IN
0xAE459eE7...2F0963236
0 FTM0.0026796412
Increase_unlock_...791767242024-04-11 21:27:244 days ago1712870844IN
0xAE459eE7...2F0963236
0 FTM0.0024558211
Increase_unlock_...791767152024-04-11 21:27:124 days ago1712870832IN
0xAE459eE7...2F0963236
0 FTM0.0024563411
Increase_unlock_...791767052024-04-11 21:26:514 days ago1712870811IN
0xAE459eE7...2F0963236
0 FTM0.002456211
Increase_unlock_...791766772024-04-11 21:26:184 days ago1712870778IN
0xAE459eE7...2F0963236
0 FTM0.002456211
Increase_unlock_...791460882024-04-11 7:47:035 days ago1712821623IN
0xAE459eE7...2F0963236
0 FTM0.0048143522.66184854
Increase_unlock_...791413932024-04-11 4:45:045 days ago1712810704IN
0xAE459eE7...2F0963236
0 FTM0.0054773524.52869004
Increase_unlock_...791388322024-04-11 3:14:515 days ago1712805291IN
0xAE459eE7...2F0963236
0 FTM0.0057569127.09864362
Merge791382972024-04-11 2:54:075 days ago1712804047IN
0xAE459eE7...2F0963236
0 FTM0.0408853589
Merge791382832024-04-11 2:53:325 days ago1712804012IN
0xAE459eE7...2F0963236
0 FTM0.050241699
View all transactions

Latest 1 internal transaction

Parent Txn Hash Block From To Value
649651792023-07-01 8:51:14290 days ago1688201474  Contract Creation0 FTM
Loading...
Loading

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

Contract Name:
VotingEscrow

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at ftmscan.com on 2023-06-30
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)




// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)




// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)



/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}


// OpenZeppelin Contracts (last updated v4.9.0) (governance/utils/IVotes.sol)


/**
 * @dev Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts.
 *
 * _Available since v4.5._
 */
interface IVotes {
    /**
     * @dev Emitted when an account changes their delegate.
     */
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /**
     * @dev Emitted when a token transfer or delegate change results in changes to a delegate's number of votes.
     */
    event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance);

    /**
     * @dev Returns the current amount of votes that `account` has.
     */
    function getVotes(address account) external view returns (uint256);

    /**
     * @dev Returns the amount of votes that `account` had at a specific moment in the past. If the `clock()` is
     * configured to use block numbers, this will return the value at the end of the corresponding block.
     */
    function getPastVotes(address account, uint256 timepoint) external view returns (uint256);

    /**
     * @dev Returns the total supply of votes available at a specific moment in the past. If the `clock()` is
     * configured to use block numbers, this will return the value at the end of the corresponding block.
     *
     * NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes.
     * Votes that have not been delegated are still part of total supply, even though they would not participate in a
     * vote.
     */
    function getPastTotalSupply(uint256 timepoint) external view returns (uint256);

    /**
     * @dev Returns the delegate that `account` has chosen.
     */
    function delegates(address account) external view returns (address);

    /**
     * @dev Delegates votes from the sender to `delegatee`.
     */
    function delegate(address delegatee) external;

    /**
     * @dev Delegates votes from signer to `delegatee`.
     */
    function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) external;
}


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)



/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}


interface IERC20 {
    function totalSupply() external view returns (uint256);
    function transfer(address recipient, uint amount) external returns (bool);
    function decimals() external view returns (uint8);
    function symbol() external view returns (string memory);
    function balanceOf(address) external view returns (uint);
    function transferFrom(address sender, address recipient, uint amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint);
    function approve(address spender, uint value) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint value);
    event Approval(address indexed owner, address indexed spender, uint value);
}


interface IVeArtProxy {
    function _tokenURI(uint _tokenId, uint _balanceOf, uint _locked_end, uint _value) external pure returns (string memory output);
}



interface IVotingEscrow {

    struct Point {
        int128 bias;
        int128 slope; // # -dweight / dt
        uint256 ts;
        uint256 blk; // block
    }

    function token() external view returns (address);
    function team() external returns (address);
    function epoch() external view returns (uint);
    function point_history(uint loc) external view returns (Point memory);
    function user_point_history(uint tokenId, uint loc) external view returns (Point memory);
    function user_point_epoch(uint tokenId) external view returns (uint);

    function ownerOf(uint) external view returns (address);
    function isApprovedOrOwner(address, uint) external view returns (bool);
    function transferFrom(address, address, uint) external;

    function voting(uint tokenId) external;
    function abstain(uint tokenId) external;
    function attach(uint tokenId) external;
    function detach(uint tokenId) external;

    function checkpoint() external;
    function deposit_for(uint tokenId, uint value) external;
    function create_lock_for(uint, uint, address) external returns (uint);

    function balanceOfNFT(uint) external view returns (uint);
    function totalSupply() external view returns (uint);
}


/// @title Voting Escrow
/// @notice veNFT implementation that escrows ERC-20 tokens in the form of an ERC-721 NFT
/// @notice Votes have a weight depending on time, so that users are committed to the future of (whatever they are voting for)
/// @author Modified from Solidly (https://github.com/solidlyexchange/solidly/blob/master/contracts/ve.sol)
/// @author Modified from Curve (https://github.com/curvefi/curve-dao-contracts/blob/master/contracts/VotingEscrow.vy)
/// @author Modified from Nouns DAO (https://github.com/withtally/my-nft-dao-project/blob/main/contracts/ERC721Checkpointable.sol)
/// @dev Vote weight decays linearly over time. Lock time cannot be more than `MAXTIME` (52 weeks).
contract VotingEscrow is IERC721, IERC721Metadata, IVotes {
    enum DepositType {
        DEPOSIT_FOR_TYPE,
        CREATE_LOCK_TYPE,
        INCREASE_LOCK_AMOUNT,
        INCREASE_UNLOCK_TIME,
        MERGE_TYPE,
        SPLIT_TYPE
    }

    struct LockedBalance {
        int128 amount;
        uint end;
    }

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

    /// @notice A checkpoint for marking delegated tokenIds from a given timestamp
    struct Checkpoint {
        uint timestamp;
        uint[] tokenIds;
    }

    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Deposit(
        address indexed provider,
        uint tokenId,
        uint value,
        uint indexed locktime,
        DepositType deposit_type,
        uint ts
    );
    event Withdraw(address indexed provider, uint tokenId, uint value, uint ts);
    event Supply(uint prevSupply, uint supply);

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/
    address public immutable owner;
    address public immutable token;
    address public voter;
    address public team;
    address public artProxy;

    mapping(uint => Point) public point_history; // epoch -> unsigned point

    /// @dev Mapping of interface id to bool about whether or not it's supported
    mapping(bytes4 => bool) internal supportedInterfaces;

    /// @dev ERC165 interface ID of ERC165
    bytes4 internal constant ERC165_INTERFACE_ID = 0x01ffc9a7;

    /// @dev ERC165 interface ID of ERC721
    bytes4 internal constant ERC721_INTERFACE_ID = 0x80ac58cd;

    /// @dev ERC165 interface ID of ERC721Metadata
    bytes4 internal constant ERC721_METADATA_INTERFACE_ID = 0x5b5e139f;

    /// @dev Current count of token
    uint internal tokenId;

    /// @notice Contract constructor
    /// @param token_addr `FLOW` token address
    constructor(address token_addr, address art_proxy, address _owner) {
        token = token_addr;
        voter = msg.sender;
        team = msg.sender;
        artProxy = art_proxy;
        owner = _owner;

        point_history[0].blk = block.number;
        point_history[0].ts = block.timestamp;

        supportedInterfaces[ERC165_INTERFACE_ID] = true;
        supportedInterfaces[ERC721_INTERFACE_ID] = true;
        supportedInterfaces[ERC721_METADATA_INTERFACE_ID] = true;

        // mint-ish
        emit Transfer(address(0), address(this), tokenId);
        // burn-ish
        emit Transfer(address(this), address(0), tokenId);
    }

    /*//////////////////////////////////////////////////////////////
                                MODIFIERS
    //////////////////////////////////////////////////////////////*/

    /// @dev reentrancy guard
    uint8 internal constant _not_entered = 1;
    uint8 internal constant _entered = 2;
    uint8 internal _entered_state = 1;
    modifier nonreentrant() {
        require(_entered_state == _not_entered);
        _entered_state = _entered;
        _;
        _entered_state = _not_entered;
    }

    /*///////////////////////////////////////////////////////////////
                             METADATA STORAGE
    //////////////////////////////////////////////////////////////*/

    string constant public name = "veFVM";
    string constant public symbol = "veFVM";
    string constant public version = "1.0.0";
    uint8 constant public decimals = 18;

    function setTeam(address _team) external {
        require(msg.sender == team);
        team = _team;
    }

    function setArtProxy(address _proxy) external {
        require(msg.sender == team);
        artProxy = _proxy;
    }

    /// @dev Returns current token URI metadata
    /// @param _tokenId Token ID to fetch URI for.
    function tokenURI(uint _tokenId) external view returns (string memory) {
        require(idToOwner[_tokenId] != address(0), "Query for nonexistent token");
        LockedBalance memory _locked = locked[_tokenId];
        return IVeArtProxy(artProxy)._tokenURI(
            _tokenId,
            _balanceOfNFT(_tokenId, block.timestamp),
            _locked.end,
            uint(int256(_locked.amount))
        );
    }

    function currentTokenId() external view returns (uint) {
        return tokenId;
    }

    /*//////////////////////////////////////////////////////////////
                      ERC721 BALANCE/OWNER STORAGE
    //////////////////////////////////////////////////////////////*/

    /// @dev Mapping from NFT ID to the address that owns it.
    mapping(uint => address) internal idToOwner;

    /// @dev Mapping from owner address to count of his tokens.
    mapping(address => uint) internal ownerToNFTokenCount;

    /// @dev Returns the address of the owner of the NFT.
    /// @param _tokenId The identifier for an NFT.
    function ownerOf(uint _tokenId) public view returns (address) {
        return idToOwner[_tokenId];
    }

    /// @dev Returns the number of NFTs owned by `_owner`.
    ///      Throws if `_owner` is the zero address. NFTs assigned to the zero address are considered invalid.
    /// @param _owner Address for whom to query the balance.
    function _balance(address _owner) internal view returns (uint) {
        return ownerToNFTokenCount[_owner];
    }

    /// @dev Returns the number of NFTs owned by `_owner`.
    ///      Throws if `_owner` is the zero address. NFTs assigned to the zero address are considered invalid.
    /// @param _owner Address for whom to query the balance.
    function balanceOf(address _owner) external view returns (uint) {
        return _balance(_owner);
    }

    /*//////////////////////////////////////////////////////////////
                         ERC721 APPROVAL STORAGE
    //////////////////////////////////////////////////////////////*/

    /// @dev Mapping from NFT ID to approved address.
    mapping(uint => address) internal idToApprovals;

    /// @dev Mapping from owner address to mapping of operator addresses.
    mapping(address => mapping(address => bool)) internal ownerToOperators;

    mapping(uint => uint) public ownership_change;

    /// @dev Get the approved address for a single NFT.
    /// @param _tokenId ID of the NFT to query the approval of.
    function getApproved(uint _tokenId) external view returns (address) {
        return idToApprovals[_tokenId];
    }

    /// @dev Checks if `_operator` is an approved operator for `_owner`.
    /// @param _owner The address that owns the NFTs.
    /// @param _operator The address that acts on behalf of the owner.
    function isApprovedForAll(address _owner, address _operator) external view returns (bool) {
        return (ownerToOperators[_owner])[_operator];
    }

    /*//////////////////////////////////////////////////////////////
                              ERC721 LOGIC
    //////////////////////////////////////////////////////////////*/

    /// @dev Set or reaffirm the approved address for an NFT. 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.
    ///      Throws if `_tokenId` is not a valid NFT. (NOTE: This is not written the EIP)
    ///      Throws if `_approved` is the current owner. (NOTE: This is not written the EIP)
    /// @param _approved Address to be approved for the given NFT ID.
    /// @param _tokenId ID of the token to be approved.
    function approve(address _approved, uint _tokenId) public {
        address tokenOwner = idToOwner[_tokenId];
        // Throws if `_tokenId` is not a valid NFT
        require(tokenOwner != address(0));
        // Throws if `_approved` is the current owner
        require(_approved != tokenOwner);
        // Check requirements
        bool senderIsOwner = (idToOwner[_tokenId] == msg.sender);
        bool senderIsApprovedForAll = (ownerToOperators[tokenOwner])[msg.sender];
        require(senderIsOwner || senderIsApprovedForAll);
        // Set the approval
        idToApprovals[_tokenId] = _approved;
        emit Approval(tokenOwner, _approved, _tokenId);
    }

    /// @dev Enables or disables approval for a third party ("operator") to manage all of
    ///      `msg.sender`'s assets. It also emits the ApprovalForAll event.
    ///      Throws if `_operator` is the `msg.sender`. (NOTE: This is not written the EIP)
    /// @notice This works even if sender doesn't own any tokens at the time.
    /// @param _operator Address to add to the set of authorized operators.
    /// @param _approved True if the operators is approved, false to revoke approval.
    function setApprovalForAll(address _operator, bool _approved) external {
        // Throws if `_operator` is the `msg.sender`
        assert(_operator != msg.sender);
        ownerToOperators[msg.sender][_operator] = _approved;
        emit ApprovalForAll(msg.sender, _operator, _approved);
    }

    /* TRANSFER FUNCTIONS */
    /// @dev Clear an approval of a given address
    ///      Throws if `_owner` is not the current owner.
    function _clearApproval(address _owner, uint _tokenId) internal {
        // Throws if `_owner` is not the current owner
        assert(idToOwner[_tokenId] == _owner);
        if (idToApprovals[_tokenId] != address(0)) {
            // Reset approvals
            idToApprovals[_tokenId] = address(0);
        }
    }

    /// @dev Returns whether the given spender can transfer a given token ID
    /// @param _spender address of the spender to query
    /// @param _tokenId uint ID of the token to be transferred
    /// @return bool whether the msg.sender is approved for the given token ID, is an operator of the owner, or is the owner of the token
    function _isApprovedOrOwner(address _spender, uint _tokenId) internal view returns (bool) {
        address tokenOwner = idToOwner[_tokenId];
        bool spenderIsOwner = tokenOwner == _spender;
        bool spenderIsApproved = _spender == idToApprovals[_tokenId];
        bool spenderIsApprovedForAll = (ownerToOperators[tokenOwner])[_spender];
        return spenderIsOwner || spenderIsApproved || spenderIsApprovedForAll;
    }

    function isApprovedOrOwner(address _spender, uint _tokenId) external view returns (bool) {
        return _isApprovedOrOwner(_spender, _tokenId);
    }

    /// @dev Exeute transfer of a NFT.
    ///      Throws unless `msg.sender` is the current owner, an authorized operator, or the approved
    ///      address for this NFT. (NOTE: `msg.sender` not allowed in internal function so pass `_sender`.)
    ///      Throws if `_to` is the zero address.
    ///      Throws if `_from` is not the current owner.
    ///      Throws if `_tokenId` is not a valid NFT.
    function _transferFrom(
        address _from,
        address _to,
        uint _tokenId,
        address _sender
    ) internal {
        require(attachments[_tokenId] == 0 && !voted[_tokenId], "attached");
        // Check requirements
        require(_isApprovedOrOwner(_sender, _tokenId));
        // Clear approval. Throws if `_from` is not the current owner
        _clearApproval(_from, _tokenId);
        // Remove NFT. Throws if `_tokenId` is not a valid NFT
        _removeTokenFrom(_from, _tokenId);
        // auto re-delegate
        _moveTokenDelegates(delegates(_from), delegates(_to), _tokenId);
        // Add NFT
        _addTokenTo(_to, _tokenId);
        // Set the block of ownership transfer (for Flash NFT protection)
        ownership_change[_tokenId] = block.number;
        // Log the transfer
        emit Transfer(_from, _to, _tokenId);
    }

    /// @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.
    /// @notice The caller is responsible to confirm that `_to` is capable of receiving NFTs or else
    ///        they maybe be permanently lost.
    /// @param _from The current owner of the NFT.
    /// @param _to The new owner.
    /// @param _tokenId The NFT to transfer.
    function transferFrom(
        address _from,
        address _to,
        uint _tokenId
    ) external {
        _transferFrom(_from, _to, _tokenId, msg.sender);
    }

    /// @dev Transfers the ownership of an NFT from one address to another address.
    ///      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.
    ///      If `_to` is a smart contract, it calls `onERC721Received` on `_to` and throws if
    ///      the return value is not `bytes4(keccak256("onERC721Received(address,address,uint,bytes)"))`.
    /// @param _from The current owner of the NFT.
    /// @param _to The new owner.
    /// @param _tokenId The NFT to transfer.
    function safeTransferFrom(
        address _from,
        address _to,
        uint _tokenId
    ) external {
        safeTransferFrom(_from, _to, _tokenId, "");
    }

    function _isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.
        uint size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /// @dev Transfers the ownership of an NFT from one address to another address.
    ///      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.
    ///      If `_to` is a smart contract, it calls `onERC721Received` on `_to` and throws if
    ///      the return value is not `bytes4(keccak256("onERC721Received(address,address,uint,bytes)"))`.
    /// @param _from The current owner of the NFT.
    /// @param _to The new owner.
    /// @param _tokenId The NFT to transfer.
    /// @param _data Additional data with no specified format, sent in call to `_to`.
    function safeTransferFrom(
        address _from,
        address _to,
        uint _tokenId,
        bytes memory _data
    ) public {
        _transferFrom(_from, _to, _tokenId, msg.sender);

        if (_isContract(_to)) {
            // Throws if transfer destination is a contract which does not implement 'onERC721Received'
            try IERC721Receiver(_to).onERC721Received(msg.sender, _from, _tokenId, _data) returns (bytes4 response) {
                if (response != IERC721Receiver(_to).onERC721Received.selector) {
                    revert("ERC721: ERC721Receiver rejected tokens");
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert('ERC721: transfer to non ERC721Receiver implementer');
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }

    /*//////////////////////////////////////////////////////////////
                              ERC165 LOGIC
    //////////////////////////////////////////////////////////////*/

    /// @dev Interface identification is specified in ERC-165.
    /// @param _interfaceID Id of the interface
    function supportsInterface(bytes4 _interfaceID) external view returns (bool) {
        return supportedInterfaces[_interfaceID];
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    /// @dev Mapping from owner address to mapping of index to tokenIds
    mapping(address => mapping(uint => uint)) internal ownerToNFTokenIdList;

    /// @dev Mapping from NFT ID to index of owner
    mapping(uint => uint) internal tokenToOwnerIndex;

    /// @dev  Get token by index
    function tokenOfOwnerByIndex(address _owner, uint _tokenIndex) external view returns (uint) {
        return ownerToNFTokenIdList[_owner][_tokenIndex];
    }

    /// @dev Add a NFT to an index mapping to a given address
    /// @param _to address of the receiver
    /// @param _tokenId uint ID Of the token to be added
    function _addTokenToOwnerList(address _to, uint _tokenId) internal {
        uint current_count = _balance(_to);

        ownerToNFTokenIdList[_to][current_count] = _tokenId;
        tokenToOwnerIndex[_tokenId] = current_count;
    }

    /// @dev Add a NFT to a given address
    ///      Throws if `_tokenId` is owned by someone.
    function _addTokenTo(address _to, uint _tokenId) internal {
        // Throws if `_tokenId` is owned by someone
        assert(idToOwner[_tokenId] == address(0));
        // Change the owner
        idToOwner[_tokenId] = _to;
        // Update owner token index tracking
        _addTokenToOwnerList(_to, _tokenId);
        // Change count tracking
        ownerToNFTokenCount[_to] += 1;
    }

    /// @dev Function to mint tokens
    ///      Throws if `_to` is zero address.
    ///      Throws if `_tokenId` is owned by someone.
    /// @param _to The address that will receive the minted tokens.
    /// @param _tokenId The token id to mint.
    /// @return A boolean that indicates if the operation was successful.
    function _mint(address _to, uint _tokenId) internal returns (bool) {
        // Throws if `_to` is zero address
        assert(_to != address(0));
        // checkpoint for gov
        _moveTokenDelegates(address(0), delegates(_to), _tokenId);
        // Add NFT. Throws if `_tokenId` is owned by someone
        _addTokenTo(_to, _tokenId);
        emit Transfer(address(0), _to, _tokenId);
        return true;
    }

    /// @dev Remove a NFT from an index mapping to a given address
    /// @param _from address of the sender
    /// @param _tokenId uint ID Of the token to be removed
    function _removeTokenFromOwnerList(address _from, uint _tokenId) internal {
        // Delete
        uint current_count = _balance(_from) - 1;
        uint current_index = tokenToOwnerIndex[_tokenId];

        if (current_count == current_index) {
            // update ownerToNFTokenIdList
            ownerToNFTokenIdList[_from][current_count] = 0;
            // update tokenToOwnerIndex
            tokenToOwnerIndex[_tokenId] = 0;
        } else {
            uint lastTokenId = ownerToNFTokenIdList[_from][current_count];

            // Add
            // update ownerToNFTokenIdList
            ownerToNFTokenIdList[_from][current_index] = lastTokenId;
            // update tokenToOwnerIndex
            tokenToOwnerIndex[lastTokenId] = current_index;

            // Delete
            // update ownerToNFTokenIdList
            ownerToNFTokenIdList[_from][current_count] = 0;
            // update tokenToOwnerIndex
            tokenToOwnerIndex[_tokenId] = 0;
        }
    }

    /// @dev Remove a NFT from a given address
    ///      Throws if `_from` is not the current owner.
    function _removeTokenFrom(address _from, uint _tokenId) internal {
        // Throws if `_from` is not the current owner
        assert(idToOwner[_tokenId] == _from);
        // Change the owner
        idToOwner[_tokenId] = address(0);
        // Update owner token index tracking
        _removeTokenFromOwnerList(_from, _tokenId);
        // Change count tracking
        ownerToNFTokenCount[_from] -= 1;
    }

    function _burn(uint _tokenId) internal {
        require(_isApprovedOrOwner(msg.sender, _tokenId), "caller is not owner nor approved");

        address tokenOwner = ownerOf(_tokenId);

        // Clear approval
        approve(address(0), _tokenId);
        // checkpoint for gov
        _moveTokenDelegates(delegates(tokenOwner), address(0), _tokenId);
        // Remove token
        _removeTokenFrom(msg.sender, _tokenId);
        emit Transfer(tokenOwner, address(0), _tokenId);
    }

    /*//////////////////////////////////////////////////////////////
                             ESCROW STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(uint => uint) public user_point_epoch;
    mapping(uint => Point[1000000000]) public user_point_history; // user -> Point[user_epoch]
    mapping(uint => LockedBalance) public locked;
    uint public epoch;
    mapping(uint => int128) public slope_changes; // time -> signed slope change
    uint public supply;

    uint internal constant WEEK = 1 weeks;
    uint internal constant MAXTIME = 52 * 7 * 86400;
    int128 internal constant iMAXTIME = 52 * 7 * 86400;
    uint internal constant MULTIPLIER = 1 ether;

    /*//////////////////////////////////////////////////////////////
                              ESCROW LOGIC
    //////////////////////////////////////////////////////////////*/

    /// @notice Get the most recently recorded rate of voting power decrease for `_tokenId`
    /// @param _tokenId token of the NFT
    /// @return Value of the slope
    function get_last_user_slope(uint _tokenId) external view returns (int128) {
        uint uepoch = user_point_epoch[_tokenId];
        return user_point_history[_tokenId][uepoch].slope;
    }

    /// @notice Get the timestamp for checkpoint `_idx` for `_tokenId`
    /// @param _tokenId token of the NFT
    /// @param _idx User epoch number
    /// @return Epoch time of the checkpoint
    function user_point_history__ts(uint _tokenId, uint _idx) external view returns (uint) {
        return user_point_history[_tokenId][_idx].ts;
    }

    /// @notice Get timestamp when `_tokenId`'s lock finishes
    /// @param _tokenId User NFT
    /// @return Epoch time of the lock end
    function locked__end(uint _tokenId) external view returns (uint) {
        return locked[_tokenId].end;
    }

    /// @notice Record global and per-user data to checkpoint
    /// @param _tokenId NFT token ID. No user checkpoint if 0
    /// @param old_locked Pevious locked amount / end lock time for the user
    /// @param new_locked New locked amount / end lock time for the user
    function _checkpoint(
        uint _tokenId,
        LockedBalance memory old_locked,
        LockedBalance memory new_locked
    ) internal {
        Point memory u_old;
        Point memory u_new;
        int128 old_dslope = 0;
        int128 new_dslope = 0;
        uint _epoch = epoch;

        if (_tokenId != 0) {
            // Calculate slopes and biases
            // Kept at zero when they have to
            if (old_locked.end > block.timestamp && old_locked.amount > 0) {
                u_old.slope = old_locked.amount / iMAXTIME;
                u_old.bias = u_old.slope * int128(int256(old_locked.end - block.timestamp));
            }
            if (new_locked.end > block.timestamp && new_locked.amount > 0) {
                u_new.slope = new_locked.amount / iMAXTIME;
                u_new.bias = u_new.slope * int128(int256(new_locked.end - block.timestamp));
            }

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

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

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

        epoch = _epoch;
        // Now point_history is filled until t=now

        if (_tokenId != 0) {
            // If last point was in this block, the slope change has been applied already
            // But in such case we have 0 slope(s)
            last_point.slope += (u_new.slope - u_old.slope);
            last_point.bias += (u_new.bias - u_old.bias);
            if (last_point.slope < 0) {
                last_point.slope = 0;
            }
            if (last_point.bias < 0) {
                last_point.bias = 0;
            }
        }

        // Record the changed point into history
        point_history[_epoch] = last_point;

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

            if (new_locked.end > block.timestamp) {
                if (new_locked.end > old_locked.end) {
                    new_dslope -= u_new.slope; // old slope disappeared at this point
                    slope_changes[new_locked.end] = new_dslope;
                }
                // else: we recorded it already in old_dslope
            }
            // Now handle user history
            uint user_epoch = user_point_epoch[_tokenId] + 1;

            user_point_epoch[_tokenId] = user_epoch;
            u_new.ts = block.timestamp;
            u_new.blk = block.number;
            user_point_history[_tokenId][user_epoch] = u_new;
        }
    }

    /// @notice Deposit and lock tokens for a user
    /// @param _tokenId NFT that holds lock
    /// @param _value Amount to deposit
    /// @param unlock_time New time when to unlock the tokens, or 0 if unchanged
    /// @param locked_balance Previous locked amount / timestamp
    /// @param deposit_type The type of deposit
    function _deposit_for(
        uint _tokenId,
        uint _value,
        uint unlock_time,
        LockedBalance memory locked_balance,
        DepositType deposit_type
    ) internal {
        LockedBalance memory _locked = locked_balance;
        uint supply_before = supply;

        supply = supply_before + _value;
        LockedBalance memory old_locked;
        (old_locked.amount, old_locked.end) = (_locked.amount, _locked.end);
        // Adding to existing lock, or if a lock is expired - creating a new one
        _locked.amount += int128(int256(_value));
        if (unlock_time != 0) {
            _locked.end = unlock_time;
        }
        locked[_tokenId] = _locked;

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

        address from = msg.sender;
        if (_value != 0 && deposit_type != DepositType.MERGE_TYPE && deposit_type != DepositType.SPLIT_TYPE) {
            assert(IERC20(token).transferFrom(from, address(this), _value));
        }

        emit Deposit(from, _tokenId, _value, _locked.end, deposit_type, block.timestamp);
        emit Supply(supply_before, supply_before + _value);
    }

    function block_number() external view returns (uint) {
        return block.number;
    }

    /// @notice Record global data to checkpoint
    function checkpoint() external {
        _checkpoint(0, LockedBalance(0, 0), LockedBalance(0, 0));
    }

    /// @notice Deposit `_value` tokens for `_tokenId` and add to the lock
    /// @dev Anyone (even a smart contract) can deposit for someone else, but
    ///      cannot extend their locktime and deposit for a brand new user
    /// @param _tokenId lock NFT
    /// @param _value Amount to add to user's lock
    function deposit_for(uint _tokenId, uint _value) external nonreentrant {
        LockedBalance memory _locked = locked[_tokenId];

        require(_value > 0); // dev: need non-zero value
        require(_locked.amount > 0, 'No existing lock found');
        require(_locked.end > block.timestamp, 'Cannot add to expired lock. Withdraw');
        _deposit_for(_tokenId, _value, 0, _locked, DepositType.DEPOSIT_FOR_TYPE);
    }

    /// @notice Deposit `_value` tokens for `_to` and lock for `_lock_duration`
    /// @param _value Amount to deposit
    /// @param _lock_duration Number of seconds to lock tokens for (rounded down to nearest week)
    /// @param _to Address to deposit
    function _create_lock(uint _value, uint _lock_duration, address _to) internal returns (uint) {
        uint unlock_time = (block.timestamp + _lock_duration) / WEEK * WEEK; // Locktime is rounded down to weeks

        require(_value > 0); // dev: need non-zero value
        require(unlock_time > block.timestamp, 'Can only lock until time in the future');
        require(unlock_time <= block.timestamp + MAXTIME, 'Voting lock can be 52 weeks max');

        ++tokenId;
        uint _tokenId = tokenId;
        _mint(_to, _tokenId);

        _deposit_for(_tokenId, _value, unlock_time, locked[_tokenId], DepositType.CREATE_LOCK_TYPE);
        return _tokenId;
    }

    /// @notice Deposit `_value` tokens for `msg.sender` and lock for `_lock_duration`
    /// @param _value Amount to deposit
    /// @param _lock_duration Number of seconds to lock tokens for (rounded down to nearest week)
    function create_lock(uint _value, uint _lock_duration) external nonreentrant returns (uint) {
        return _create_lock(_value, _lock_duration, msg.sender);
    }

    /// @notice Deposit `_value` tokens for `_to` and lock for `_lock_duration`
    /// @param _value Amount to deposit
    /// @param _lock_duration Number of seconds to lock tokens for (rounded down to nearest week)
    /// @param _to Address to deposit
    function create_lock_for(uint _value, uint _lock_duration, address _to) external nonreentrant returns (uint) {
        return _create_lock(_value, _lock_duration, _to);
    }

    /// @notice Deposit `_value` additional tokens for `_tokenId` without modifying the unlock time
    /// @param _value Amount of tokens to deposit and add to the lock
    function increase_amount(uint _tokenId, uint _value) external nonreentrant {
        assert(_isApprovedOrOwner(msg.sender, _tokenId));

        LockedBalance memory _locked = locked[_tokenId];

        assert(_value > 0); // dev: need non-zero value
        require(_locked.amount > 0, 'No existing lock found');
        require(_locked.end > block.timestamp, 'Cannot add to expired lock. Withdraw');

        _deposit_for(_tokenId, _value, 0, _locked, DepositType.INCREASE_LOCK_AMOUNT);
    }

    /// @notice Extend the unlock time for `_tokenId`
    /// @param _lock_duration New number of seconds until tokens unlock
    function increase_unlock_time(uint _tokenId, uint _lock_duration) external nonreentrant {
        assert(_isApprovedOrOwner(msg.sender, _tokenId));

        LockedBalance memory _locked = locked[_tokenId];
        uint unlock_time = (block.timestamp + _lock_duration) / WEEK * WEEK; // Locktime is rounded down to weeks

        require(_locked.end > block.timestamp, 'Lock expired');
        require(_locked.amount > 0, 'Nothing is locked');
        require(unlock_time > _locked.end, 'Can only increase lock duration');
        require(unlock_time <= block.timestamp + MAXTIME, 'Voting lock can be 52 weeks max');

        _deposit_for(_tokenId, 0, unlock_time, _locked, DepositType.INCREASE_UNLOCK_TIME);
    }

    /// @notice Withdraw all tokens for `_tokenId`
    /// @dev Only possible if the lock has expired
    function withdraw(uint _tokenId) external nonreentrant {
        assert(_isApprovedOrOwner(msg.sender, _tokenId));
        require(attachments[_tokenId] == 0 && !voted[_tokenId], "attached");

        LockedBalance memory _locked = locked[_tokenId];
        require(block.timestamp >= _locked.end, "The lock didn't expire");
        uint value = uint(int256(_locked.amount));

        locked[_tokenId] = LockedBalance(0,0);
        uint supply_before = supply;
        supply = supply_before - value;

        // old_locked can have either expired <= timestamp or zero end
        // _locked has only 0 end
        // Both can have >= 0 amount
        _checkpoint(_tokenId, _locked, LockedBalance(0,0));

        assert(IERC20(token).transfer(msg.sender, value));

        // Burn the NFT
        _burn(_tokenId);

        emit Withdraw(msg.sender, _tokenId, value, block.timestamp);
        emit Supply(supply_before, supply_before - value);
    }

    /*///////////////////////////////////////////////////////////////
                           GAUGE VOTING STORAGE
    //////////////////////////////////////////////////////////////*/

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

    /// @notice Binary search to estimate timestamp for block number
    /// @param _block Block to find
    /// @param max_epoch Don't go beyond this epoch
    /// @return Approximate timestamp for block
    function _find_block_epoch(uint _block, uint max_epoch) internal view returns (uint) {
        // Binary search
        uint _min = 0;
        uint _max = max_epoch;
        for (uint i = 0; i < 128; ++i) {
            // Will be always enough for 128-bit numbers
            if (_min >= _max) {
                break;
            }
            uint _mid = (_min + _max + 1) / 2;
            if (point_history[_mid].blk <= _block) {
                _min = _mid;
            } else {
                _max = _mid - 1;
            }
        }
        return _min;
    }

    /// @notice Get the current voting power for `_tokenId`
    /// @dev Adheres to the ERC20 `balanceOf` interface for Aragon compatibility
    /// @param _tokenId NFT for lock
    /// @param _t Epoch time to return voting power at
    /// @return User voting power
    function _balanceOfNFT(uint _tokenId, uint _t) internal view returns (uint) {
        uint _epoch = user_point_epoch[_tokenId];
        if (_epoch == 0) {
            return 0;
        } else {
            Point memory last_point = user_point_history[_tokenId][_epoch];
            last_point.bias -= last_point.slope * int128(int256(_t) - int256(last_point.ts));
            if (last_point.bias < 0) {
                last_point.bias = 0;
            }
            return uint(int256(last_point.bias));
        }
    }

    function balanceOfNFT(uint _tokenId) external view returns (uint) {
        if (ownership_change[_tokenId] == block.number) return 0;
        return _balanceOfNFT(_tokenId, block.timestamp);
    }

    function balanceOfNFTAt(uint _tokenId, uint _t) external view returns (uint) {
        return _balanceOfNFT(_tokenId, _t);
    }

    /// @notice Measure voting power of `_tokenId` at block height `_block`
    /// @dev Adheres to MiniMe `balanceOfAt` interface: https://github.com/Giveth/minime
    /// @param _tokenId User's wallet NFT
    /// @param _block Block to calculate the voting power at
    /// @return Voting power
    function _balanceOfAtNFT(uint _tokenId, uint _block) internal view returns (uint) {
        // Copying and pasting totalSupply code because Vyper cannot pass by
        // reference yet
        assert(_block <= block.number);

        // Binary search
        uint _min = 0;
        uint _max = user_point_epoch[_tokenId];
        for (uint i = 0; i < 128; ++i) {
            // Will be always enough for 128-bit numbers
            if (_min >= _max) {
                break;
            }
            uint _mid = (_min + _max + 1) / 2;
            if (user_point_history[_tokenId][_mid].blk <= _block) {
                _min = _mid;
            } else {
                _max = _mid - 1;
            }
        }

        Point memory upoint = user_point_history[_tokenId][_min];

        uint max_epoch = epoch;
        uint _epoch = _find_block_epoch(_block, max_epoch);
        Point memory point_0 = point_history[_epoch];
        uint d_block = 0;
        uint d_t = 0;
        if (_epoch < max_epoch) {
            Point memory point_1 = point_history[_epoch + 1];
            d_block = point_1.blk - point_0.blk;
            d_t = point_1.ts - point_0.ts;
        } else {
            d_block = block.number - point_0.blk;
            d_t = block.timestamp - point_0.ts;
        }
        uint block_time = point_0.ts;
        if (d_block != 0) {
            block_time += (d_t * (_block - point_0.blk)) / d_block;
        }

        upoint.bias -= upoint.slope * int128(int256(block_time - upoint.ts));
        if (upoint.bias >= 0) {
            return uint(uint128(upoint.bias));
        } else {
            return 0;
        }
    }

    function balanceOfAtNFT(uint _tokenId, uint _block) external view returns (uint) {
        return _balanceOfAtNFT(_tokenId, _block);
    }

    /// @notice Calculate total voting power at some point in the past
    /// @param _block Block to calculate the total voting power at
    /// @return Total voting power at `_block`
    function totalSupplyAt(uint _block) external view returns (uint) {
        assert(_block <= block.number);
        uint _epoch = epoch;
        uint target_epoch = _find_block_epoch(_block, _epoch);

        Point memory point = point_history[target_epoch];
        uint dt = 0;
        if (target_epoch < _epoch) {
            Point memory point_next = point_history[target_epoch + 1];
            if (point.blk != point_next.blk) {
                dt = ((_block - point.blk) * (point_next.ts - point.ts)) / (point_next.blk - point.blk);
            }
        } else {
            if (point.blk != block.number) {
                dt = ((_block - point.blk) * (block.timestamp - point.ts)) / (block.number - point.blk);
            }
        }
        // Now dt contains info on how far are we beyond point
        return _supply_at(point, point.ts + dt);
    }
    /// @notice Calculate total voting power at some point in the past
    /// @param point The point (bias/slope) to start search from
    /// @param t Time to calculate the total voting power at
    /// @return Total voting power at that time
    function _supply_at(Point memory point, uint t) internal view returns (uint) {
        Point memory last_point = point;
        uint t_i = (last_point.ts / WEEK) * WEEK;
        for (uint i = 0; i < 255; ++i) {
            t_i += WEEK;
            int128 d_slope = 0;
            if (t_i > t) {
                t_i = t;
            } else {
                d_slope = slope_changes[t_i];
            }
            last_point.bias -= last_point.slope * int128(int256(t_i - last_point.ts));
            if (t_i == t) {
                break;
            }
            last_point.slope += d_slope;
            last_point.ts = t_i;
        }

        if (last_point.bias < 0) {
            last_point.bias = 0;
        }
        return uint(uint128(last_point.bias));
    }

    function totalSupply() external view returns (uint) {
        return totalSupplyAtT(block.timestamp);
    }

    /// @notice Calculate total voting power
    /// @dev Adheres to the ERC20 `totalSupply` interface for Aragon compatibility
    /// @return Total voting power
    function totalSupplyAtT(uint t) public view returns (uint) {
        uint _epoch = epoch;
        Point memory last_point = point_history[_epoch];
        return _supply_at(last_point, t);
    }

    /*///////////////////////////////////////////////////////////////
                            GAUGE VOTING LOGIC
    //////////////////////////////////////////////////////////////*/

    mapping(uint => uint) public attachments;
    mapping(uint => bool) public voted;

    function setVoter(address _voter) external {
        require(msg.sender == voter);
        voter = _voter;
    }

    function voting(uint _tokenId) external {
        require(msg.sender == voter);
        voted[_tokenId] = true;
    }

    function abstain(uint _tokenId) external {
        require(msg.sender == voter);
        voted[_tokenId] = false;
    }

    function attach(uint _tokenId) external {
        require(msg.sender == voter);
        attachments[_tokenId] = attachments[_tokenId] + 1;
    }

    function detach(uint _tokenId) external {
        require(msg.sender == voter);
        attachments[_tokenId] = attachments[_tokenId] - 1;
    }

    function merge(uint _from, uint _to) external {
        require(attachments[_from] == 0 && !voted[_from], "attached");
        require(_from != _to);
        require(_isApprovedOrOwner(msg.sender, _from));
        require(_isApprovedOrOwner(msg.sender, _to));

        LockedBalance memory _locked0 = locked[_from];
        LockedBalance memory _locked1 = locked[_to];
        uint value0 = uint(int256(_locked0.amount));
        uint end = _locked0.end >= _locked1.end ? _locked0.end : _locked1.end;

        locked[_from] = LockedBalance(0, 0);
        _checkpoint(_from, _locked0, LockedBalance(0, 0));
        _burn(_from);
        _deposit_for(_to, value0, end, _locked1, DepositType.MERGE_TYPE);
    }

    /**
     * @notice split NFT into multiple
     * @param amounts   % of split
     * @param _tokenId  NFTs ID
     */
    function split(uint[] memory amounts, uint _tokenId) external {
        
        // check permission and vote
        require(attachments[_tokenId] == 0 && !voted[_tokenId], "attached");
        require(_isApprovedOrOwner(msg.sender, _tokenId));

        // save old data and totalWeight
        address _to = idToOwner[_tokenId];
        LockedBalance memory _locked = locked[_tokenId];
        uint end = _locked.end;
        uint value = uint(int256(_locked.amount));
        require(value > 0); // dev: need non-zero value
        
        // reset supply, _deposit_for increase it
        supply = supply - value;

        uint i;
        uint totalWeight = 0;
        for(i = 0; i < amounts.length; i++){
            totalWeight += amounts[i];
        }

        // remove old data
        locked[_tokenId] = LockedBalance(0, 0);
        _checkpoint(_tokenId, _locked, LockedBalance(0, 0));
        _burn(_tokenId);

        // save end
        uint unlock_time = end;
        require(unlock_time > block.timestamp, 'Can only lock until time in the future');
        require(unlock_time <= block.timestamp + MAXTIME, 'Voting lock can be 52 weeks max');
        
        // mint 
        uint _value = 0;
        for(i = 0; i < amounts.length; i++){   
            ++tokenId;
            _tokenId = tokenId;
            _mint(_to, _tokenId);
            _value = value * amounts[i] / totalWeight;
            _deposit_for(_tokenId, _value, unlock_time, locked[_tokenId], DepositType.SPLIT_TYPE);
        }
    }

    /*///////////////////////////////////////////////////////////////
                            DAO VOTING STORAGE
    //////////////////////////////////////////////////////////////*/

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of each accounts delegate
    mapping(address => address) private _delegates;
    uint public constant MAX_DELEGATES = 1024; // avoid too much gas

    /// @notice A record of delegated token checkpoints for each account, by index
    mapping(address => mapping(uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping(address => uint32) public numCheckpoints;

    /// @notice A record of states for signing / validating signatures
    mapping(address => uint) public nonces;

    /**
     * @notice Overrides the standard `Comp.sol` delegates mapping to return
     * the delegator's own address if they haven't delegated.
     * This avoids having to delegate to oneself.
     */
    function delegates(address delegator) public view returns (address) {
        address current = _delegates[delegator];
        return current == address(0) ? delegator : current;
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getVotes(address account) external view returns (uint) {
        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }
        uint[] storage _tokenIds = checkpoints[account][nCheckpoints - 1].tokenIds;
        uint votes = 0;
        for (uint i = 0; i < _tokenIds.length; i++) {
            uint tId = _tokenIds[i];
            votes = votes + _balanceOfNFT(tId, block.timestamp);
        }
        return votes;
    }

    function getPastVotesIndex(address account, uint timestamp) public view returns (uint32) {
        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }
        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].timestamp <= timestamp) {
            return (nCheckpoints - 1);
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].timestamp > timestamp) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint storage cp = checkpoints[account][center];
            if (cp.timestamp == timestamp) {
                return center;
            } else if (cp.timestamp < timestamp) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return lower;
    }

    function getPastVotes(address account, uint timestamp)
        public
        view
        returns (uint)
    {
        uint32 _checkIndex = getPastVotesIndex(account, timestamp);
        // Sum votes
        uint[] storage _tokenIds = checkpoints[account][_checkIndex].tokenIds;
        uint votes = 0;
        for (uint i = 0; i < _tokenIds.length; i++) {
            uint tId = _tokenIds[i];
            // Use the provided input timestamp here to get the right decay
            votes = votes + _balanceOfNFT(tId, timestamp);
        }
        return votes;
    }

    function getPastTotalSupply(uint256 timestamp) external view returns (uint) {
        return totalSupplyAtT(timestamp);
    }

    /*///////////////////////////////////////////////////////////////
                             DAO VOTING LOGIC
    //////////////////////////////////////////////////////////////*/

    function _moveTokenDelegates(
        address srcRep,
        address dstRep,
        uint _tokenId
    ) internal {
        if (srcRep != dstRep && _tokenId > 0) {
            if (srcRep != address(0)) {
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint[] storage srcRepOld = srcRepNum > 0
                    ? checkpoints[srcRep][srcRepNum - 1].tokenIds
                    : checkpoints[srcRep][0].tokenIds;
                uint32 nextSrcRepNum = _findWhatCheckpointToWrite(srcRep);
                uint[] storage srcRepNew = checkpoints[srcRep][
                    nextSrcRepNum
                ].tokenIds;
                // All the same except _tokenId
                for (uint i = 0; i < srcRepOld.length; i++) {
                    uint tId = srcRepOld[i];
                    if (tId != _tokenId) {
                        srcRepNew.push(tId);
                    }
                }

                numCheckpoints[srcRep] = srcRepNum + 1;
            }

            if (dstRep != address(0)) {
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint[] storage dstRepOld = dstRepNum > 0
                    ? checkpoints[dstRep][dstRepNum - 1].tokenIds
                    : checkpoints[dstRep][0].tokenIds;
                uint32 nextDstRepNum = _findWhatCheckpointToWrite(dstRep);
                uint[] storage dstRepNew = checkpoints[dstRep][
                    nextDstRepNum
                ].tokenIds;
                // All the same plus _tokenId
                require(
                    dstRepOld.length + 1 <= MAX_DELEGATES,
                    "dstRep would have too many tokenIds"
                );
                for (uint i = 0; i < dstRepOld.length; i++) {
                    uint tId = dstRepOld[i];
                    dstRepNew.push(tId);
                }
                dstRepNew.push(_tokenId);

                numCheckpoints[dstRep] = dstRepNum + 1;
            }
        }
    }

    function _findWhatCheckpointToWrite(address account)
        internal
        view
        returns (uint32)
    {
        uint _timestamp = block.timestamp;
        uint32 _nCheckPoints = numCheckpoints[account];

        if (
            _nCheckPoints > 0 &&
            checkpoints[account][_nCheckPoints - 1].timestamp == _timestamp
        ) {
            return _nCheckPoints - 1;
        } else {
            return _nCheckPoints;
        }
    }

    function _moveAllDelegates(
        address tokenOwner,
        address srcRep,
        address dstRep
    ) internal {
        // You can only redelegate what you own
        if (srcRep != dstRep) {
            if (srcRep != address(0)) {
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint[] storage srcRepOld = srcRepNum > 0
                    ? checkpoints[srcRep][srcRepNum - 1].tokenIds
                    : checkpoints[srcRep][0].tokenIds;
                uint32 nextSrcRepNum = _findWhatCheckpointToWrite(srcRep);
                uint[] storage srcRepNew = checkpoints[srcRep][
                    nextSrcRepNum
                ].tokenIds;
                // All the same except what tokenOwner owns
                for (uint i = 0; i < srcRepOld.length; i++) {
                    uint tId = srcRepOld[i];
                    if (idToOwner[tId] != tokenOwner) {
                        srcRepNew.push(tId);
                    }
                }

                numCheckpoints[srcRep] = srcRepNum + 1;
            }

            if (dstRep != address(0)) {
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint[] storage dstRepOld = dstRepNum > 0
                    ? checkpoints[dstRep][dstRepNum - 1].tokenIds
                    : checkpoints[dstRep][0].tokenIds;
                uint32 nextDstRepNum = _findWhatCheckpointToWrite(dstRep);
                uint[] storage dstRepNew = checkpoints[dstRep][
                    nextDstRepNum
                ].tokenIds;
                uint ownerTokenCount = ownerToNFTokenCount[tokenOwner];
                require(
                    dstRepOld.length + ownerTokenCount <= MAX_DELEGATES,
                    "dstRep would have too many tokenIds"
                );
                // All the same
                for (uint i = 0; i < dstRepOld.length; i++) {
                    uint tId = dstRepOld[i];
                    dstRepNew.push(tId);
                }
                // Plus all that's owned
                for (uint i = 0; i < ownerTokenCount; i++) {
                    uint tId = ownerToNFTokenIdList[tokenOwner][i];
                    dstRepNew.push(tId);
                }

                numCheckpoints[dstRep] = dstRepNum + 1;
            }
        }
    }

    function _delegate(address delegator, address delegatee) internal {
        /// @notice differs from `_delegate()` in `Comp.sol` to use `delegates` override method to simulate auto-delegation
        address currentDelegate = delegates(delegator);

        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);
        _moveAllDelegates(delegator, currentDelegate, delegatee);
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) public {
        if (delegatee == address(0)) delegatee = msg.sender;
        return _delegate(msg.sender, delegatee);
    }

    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(version)),
                block.chainid,
                address(this)
            )
        );
        bytes32 structHash = keccak256(
            abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry)
        );
        bytes32 digest = keccak256(
            abi.encodePacked("\x19\x01", domainSeparator, structHash)
        );
        address signatory = ecrecover(digest, v, r, s);
        require(
            signatory != address(0),
            "VotingEscrow::delegateBySig: invalid signature"
        );
        require(
            nonce == nonces[signatory]++,
            "VotingEscrow::delegateBySig: invalid nonce"
        );
        require(
            block.timestamp <= expiry,
            "VotingEscrow::delegateBySig: signature expired"
        );
        return _delegate(signatory, delegatee);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"token_addr","type":"address"},{"internalType":"address","name":"art_proxy","type":"address"},{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"provider","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"locktime","type":"uint256"},{"indexed":false,"internalType":"enum VotingEscrow.DepositType","name":"deposit_type","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"ts","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"prevSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"supply","type":"uint256"}],"name":"Supply","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"provider","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ts","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_DELEGATES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"abstain","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_approved","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"artProxy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"attach","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"attachments","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_block","type":"uint256"}],"name":"balanceOfAtNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"balanceOfNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_t","type":"uint256"}],"name":"balanceOfNFTAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"block_number","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkpoint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_lock_duration","type":"uint256"}],"name":"create_lock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_lock_duration","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"create_lock_for","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"deposit_for","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"detach","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"epoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"getPastVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"getPastVotesIndex","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"get_last_user_slope","outputs":[{"internalType":"int128","name":"","type":"int128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"increase_amount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_lock_duration","type":"uint256"}],"name":"increase_unlock_time","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"isApprovedOrOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"locked","outputs":[{"internalType":"int128","name":"amount","type":"int128"},{"internalType":"uint256","name":"end","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"locked__end","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"merge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownership_change","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"point_history","outputs":[{"internalType":"int128","name":"bias","type":"int128"},{"internalType":"int128","name":"slope","type":"int128"},{"internalType":"uint256","name":"ts","type":"uint256"},{"internalType":"uint256","name":"blk","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"},{"internalType":"bool","name":"_approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxy","type":"address"}],"name":"setArtProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_team","type":"address"}],"name":"setTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_voter","type":"address"}],"name":"setVoter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"slope_changes","outputs":[{"internalType":"int128","name":"","type":"int128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"split","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceID","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"team","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_tokenIndex","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_block","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"t","type":"uint256"}],"name":"totalSupplyAtT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"user_point_epoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"user_point_history","outputs":[{"internalType":"int128","name":"bias","type":"int128"},{"internalType":"int128","name":"slope","type":"int128"},{"internalType":"uint256","name":"ts","type":"uint256"},{"internalType":"uint256","name":"blk","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_idx","type":"uint256"}],"name":"user_point_history__ts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"voted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"voter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"voting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106104275760003560e01c80637116c60c1161022b578063c1f0fb9f11610130578063e7a324dc116100b8578063f1127ed811610087578063f1127ed814610b1a578063f8a0576314610b45578063fbd3a29d14610b68578063fc0c546a14610b7b578063fd4a77f114610ba257600080fd5b8063e7a324dc14610a91578063e7e242d414610ab8578063e985e9c514610acb578063ee99fe2814610b0757600080fd5b8063d1c2babb116100ff578063d1c2babb146109fa578063d1febfb914610a0d578063d4e54c3b14610a4b578063e0514aba14610a5e578063e441135c14610a7157600080fd5b8063c1f0fb9f146109b9578063c2c4c5c1146109cc578063c3cda520146109d4578063c87b56dd146109e757600080fd5b806395d89b41116101b3578063a183af5211610182578063a183af5214610925578063a22cb46514610938578063a4d855df1461094b578063b45a3c0e1461095e578063b88d4fde146109a657600080fd5b806395d89b4114610489578063981b24d0146108ec578063986b7d8a146108ff5780639ab24eb01461091257600080fd5b80638c2c9baf116101fa5780638c2c9baf146108735780638da5cb5b146108865780638e539e8c146108ad5780638fbb38ff146108c0578063900cf0cf146108e357600080fd5b80637116c60c1461080a578063711974841461081d5780637ecebe001461084057806385f2aef21461086057600080fd5b8063313ce5671161033157806356afe744116102b95780636352211e116102885780636352211e1461077557806365fc38731461079e5780636f548837146107b15780636fcfff45146107d157806370a08231146107f757600080fd5b806356afe74414610733578063587cde1e146107465780635c19a95c146107595780635f5b0c321461076c57600080fd5b8063461f711c11610300578063461f711c146106b057806346c96aac146106d65780634bc2a657146106e957806354fd4d50146106fc5780635594a0451461072057600080fd5b8063313ce5671461065d5780633a46b1a81461067757806342842e0e1461068a578063430c20811461069d57600080fd5b80631376f3da116103b457806323b872dd1161038357806323b872dd146105e857806325a58b56146105fb5780632e1a7d4d146106015780632e720f7d146106145780632f745c591461062757600080fd5b80631376f3da1461056b57806318160ddd146105a65780631c984bc3146105ae57806320606b70146105c157600080fd5b80630758c7d8116103fb5780630758c7d8146104ba578063081812fc146104e2578063095cf5c614610523578063095ea7b3146105385780630d6a20331461054b57600080fd5b80629a9b7b1461042c57806301ffc9a714610443578063047fc9aa1461048057806306fdde0314610489575b600080fd5b6005545b6040519081526020015b60405180910390f35b610470610451366004614171565b6001600160e01b03191660009081526004602052604090205460ff1690565b604051901515815260200161043a565b61043060135481565b6104ad60405180604001604052806005815260200164766546564d60d81b81525081565b60405161043a91906141e6565b6104cd6104c8366004614215565b610bb5565b60405163ffffffff909116815260200161043a565b61050b6104f036600461423f565b6000908152600960205260409020546001600160a01b031690565b6040516001600160a01b03909116815260200161043a565b610536610531366004614258565b610d28565b005b610536610546366004614215565b610d61565b61043061055936600461423f565b60146020526000908152604090205481565b61057e610579366004614273565b610e49565b60408051600f95860b81529390940b602084015292820152606081019190915260800161043a565b610430610e90565b6104306105bc366004614273565b610ea0565b6104307f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6105366105f6366004614295565b610ed2565b43610430565b61053661060f36600461423f565b610ee3565b610536610622366004614258565b611199565b610430610635366004614215565b6001600160a01b03919091166000908152600c60209081526040808320938352929052205490565b610665601281565b60405160ff909116815260200161043a565b610430610685366004614215565b6111d2565b610536610698366004614295565b611271565b6104706106ab366004614215565b61128c565b6106c36106be36600461423f565b61129f565b604051600f9190910b815260200161043a565b60005461050b906001600160a01b031681565b6105366106f7366004614258565b6112e2565b6104ad604051806040016040528060058152602001640312e302e360dc1b81525081565b60025461050b906001600160a01b031681565b610536610741366004614318565b61131b565b61050b610754366004614258565b611590565b610536610767366004614258565b6115c0565b61043061040081565b61050b61078336600461423f565b6000908152600760205260409020546001600160a01b031690565b6104306107ac366004614273565b6115de565b6104306107bf36600461423f565b600b6020526000908152604090205481565b6104cd6107df366004614258565b60186020526000908152604090205463ffffffff1681565b610430610805366004614258565b611620565b61043061081836600461423f565b61163e565b6106c361082b36600461423f565b601260205260009081526040902054600f0b81565b61043061084e366004614258565b60196020526000908152604090205481565b60015461050b906001600160a01b031681565b610430610881366004614273565b61169e565b61050b7f00000000000000000000000088dec6df03c2c111efd4ad89cef2c0347034afc081565b6104306108bb36600461423f565b6116aa565b6104706108ce36600461423f565b60156020526000908152604090205460ff1681565b61043060115481565b6104306108fa36600461423f565b6116b5565b61053661090d36600461423f565b611857565b610430610920366004614258565b61189b565b610536610933366004614273565b61196e565b6105366109463660046143d2565b611a6d565b610536610959366004614273565b611af1565b61098c61096c36600461423f565b60106020526000908152604090208054600190910154600f9190910b9082565b60408051600f9390930b835260208301919091520161043a565b6105366109b4366004614431565b611ca6565b6105366109c736600461423f565b611e45565b610536611e74565b6105366109e23660046144dc565b611eb4565b6104ad6109f536600461423f565b6121ef565b610536610a08366004614273565b61231b565b61057e610a1b36600461423f565b600360205260009081526040902080546001820154600290920154600f82810b93600160801b909304900b919084565b610430610a5936600461453c565b612480565b610430610a6c366004614273565b6124c3565b610430610a7f36600461423f565b600e6020526000908152604090205481565b6104307fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b610430610ac636600461423f565b6124cf565b610470610ad9366004614571565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205460ff1690565b610536610b15366004614273565b6124f7565b610430610b283660046145a4565b601760209081526000928352604080842090915290825290205481565b610430610b5336600461423f565b60009081526010602052604090206001015490565b610536610b7636600461423f565b6125cb565b61050b7f00000000000000000000000007bb65faac502d4996532f834a1b7ba5dc32ff9681565b610536610bb036600461423f565b6125fc565b6001600160a01b03821660009081526018602052604081205463ffffffff16808203610be5576000915050610d22565b6001600160a01b03841660009081526017602052604081208491610c0a6001856145ef565b63ffffffff16815260208101919091526040016000205411610c3957610c316001826145ef565b915050610d22565b6001600160a01b0384166000908152601760209081526040808320838052909152902054831015610c6e576000915050610d22565b600080610c7c6001846145ef565b90505b8163ffffffff168163ffffffff161115610d1d5760006002610ca184846145ef565b610cab919061462a565b610cb590836145ef565b6001600160a01b038816600090815260176020908152604080832063ffffffff851684529091529020805491925090879003610cf757509350610d2292505050565b8054871115610d0857819350610d16565b610d136001836145ef565b92505b5050610c7f565b509150505b92915050565b6001546001600160a01b03163314610d3f57600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600760205260409020546001600160a01b031680610d8357600080fd5b806001600160a01b0316836001600160a01b031603610da157600080fd5b6000828152600760209081526040808320546001600160a01b038581168552600a845282852033808752945291909320549216149060ff168180610de25750805b610deb57600080fd5b60008481526009602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918716917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a45050505050565b600f60205281600052604060002081633b9aca008110610e6857600080fd5b6003020180546001820154600290920154600f82810b9550600160801b90920490910b925084565b6000610e9b4261163e565b905090565b6000828152600f6020526040812082633b9aca008110610ec257610ec261464d565b6003020160010154905092915050565b610ede8383833361262e565b505050565b60065460ff16600114610ef557600080fd5b6006805460ff19166002179055610f0c338261270f565b610f1857610f18614663565b600081815260146020526040902054158015610f43575060008181526015602052604090205460ff16155b610f685760405162461bcd60e51b8152600401610f5f90614679565b60405180910390fd5b60008181526010602090815260409182902082518084019093528054600f0b835260010154908201819052421015610fdb5760405162461bcd60e51b8152602060048201526016602482015275546865206c6f636b206469646e27742065787069726560501b6044820152606401610f5f565b8051604080518082018252600080825260208083018281528783526010909152929020905181546001600160801b0319166001600160801b039091161781559051600190910155601354600f9190910b90611036828261469b565b601355604080518082019091526000808252602082015261105a9085908590612775565b60405163a9059cbb60e01b8152336004820152602481018390527f00000000000000000000000007bb65faac502d4996532f834a1b7ba5dc32ff966001600160a01b03169063a9059cbb906044016020604051808303816000875af11580156110c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110eb91906146b2565b6110f7576110f7614663565b61110084612d91565b60408051858152602081018490524281830152905133917f02f25270a4d87bea75db541cdfe559334a275b4a233520ed6c0a2429667cca94919081900360600190a27f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c8161116e848261469b565b6040805192835260208301919091520160405180910390a150506006805460ff191660011790555050565b6001546001600160a01b031633146111b057600080fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000806111df8484610bb5565b6001600160a01b038516600090815260176020908152604080832063ffffffff851684529091528120919250600190910190805b82548110156112675760008382815481106112305761123061464d565b906000526020600020015490506112478188612e64565b61125190846146cf565b925050808061125f906146e7565b915050611213565b5095945050505050565b610ede83838360405180602001604052806000815250611ca6565b6000611298838361270f565b9392505050565b6000818152600e6020908152604080832054600f909252822081633b9aca0081106112cc576112cc61464d565b6003020154600160801b9004600f0b9392505050565b6000546001600160a01b031633146112f957600080fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b600081815260146020526040902054158015611346575060008181526015602052604090205460ff16155b6113625760405162461bcd60e51b8152600401610f5f90614679565b61136c338261270f565b61137557600080fd5b600081815260076020908152604080832054601083529281902081518083019092528054600f0b8083526001909101549282018390526001600160a01b0390931692909190806113c457600080fd5b806013546113d2919061469b565b6013556000805b875182101561141b578782815181106113f4576113f461464d565b60200260200101518161140791906146cf565b905081611413816146e7565b9250506113d9565b604080518082018252600080825260208083018281528b835260108252848320935184546001600160801b0319166001600160801b039091161784555160019093019290925582518084019093528083529082015261147d9088908790612775565b61148687612d91565b834281116114a65760405162461bcd60e51b8152600401610f5f90614700565b6114b46301dfe200426146cf565b8111156114d35760405162461bcd60e51b8152600401610f5f90614746565b60008093505b8951841015611584576005600081546114f1906146e7565b909155506005549850611504888a612f38565b50828a85815181106115185761151861464d565b60200260200101518661152b919061477d565b611535919061479c565b60008a81526010602090815260409182902082518084019093528054600f0b83526001015490820152909150611572908a90839085906005612fa9565b8361157c816146e7565b9450506114d9565b50505050505050505050565b6001600160a01b0380821660009081526016602052604081205490911680156115b95780611298565b5090919050565b6001600160a01b0381166115d15750335b6115db33826131cc565b50565b60065460009060ff166001146115f357600080fd5b6006805460ff1916600217905561160b83833361323f565b90506006805460ff1916600117905592915050565b6001600160a01b038116600090815260086020526040812054610d22565b601154600081815260036020908152604080832081516080810183528154600f81810b8352600160801b909104900b938101939093526001810154918301919091526002015460608201529091906116968185613327565b949350505050565b60006112988383613428565b6000610d228261163e565b6000438211156116c7576116c7614663565b60115460006116d68483613701565b600081815260036020908152604080832081516080810183528154600f81810b8352600160801b909104900b93810193909352600181015491830191909152600201546060820152919250838310156117e55760006003816117398660016146cf565b8152602080820192909252604090810160002081516080810183528154600f81810b8352600160801b909104900b93810193909352600181015491830191909152600201546060808301829052850151919250146117df57826060015181606001516117a5919061469b565b836040015182604001516117b9919061469b565b60608501516117c8908a61469b565b6117d2919061477d565b6117dc919061479c565b91505b50611834565b438260600151146118345760608201516117ff904361469b565b604083015161180e904261469b565b606084015161181d908961469b565b611827919061477d565b611831919061479c565b90505b61184d8282846040015161184891906146cf565b613327565b9695505050505050565b6000546001600160a01b0316331461186e57600080fd5b6000818152601460205260409020546118899060019061469b565b60009182526014602052604090912055565b6001600160a01b03811660009081526018602052604081205463ffffffff168082036118ca5750600092915050565b6001600160a01b0383166000908152601760205260408120816118ee6001856145ef565b63ffffffff1663ffffffff16815260200190815260200160002060010190506000805b825481101561196557600083828154811061192e5761192e61464d565b906000526020600020015490506119458142612e64565b61194f90846146cf565b925050808061195d906146e7565b915050611911565b50949350505050565b60065460ff1660011461198057600080fd5b6006805460ff19166002179055611997338361270f565b6119a3576119a3614663565b60008281526010602090815260409182902082518084019093528054600f0b83526001015490820152816119d9576119d9614663565b60008160000151600f0b13611a295760405162461bcd60e51b8152602060048201526016602482015275139bc8195e1a5cdd1a5b99c81b1bd8dac8199bdd5b9960521b6044820152606401610f5f565b42816020015111611a4c5760405162461bcd60e51b8152600401610f5f906147b0565b611a5b83836000846002612fa9565b50506006805460ff1916600117905550565b336001600160a01b03831603611a8557611a85614663565b336000818152600a602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60065460ff16600114611b0357600080fd5b6006805460ff19166002179055611b1a338361270f565b611b2657611b26614663565b600082815260106020908152604080832081518083019092528054600f0b825260010154918101919091529062093a8080611b6185426146cf565b611b6b919061479c565b611b75919061477d565b905042826020015111611bb95760405162461bcd60e51b815260206004820152600c60248201526b131bd8dac8195e1c1a5c995960a21b6044820152606401610f5f565b60008260000151600f0b13611c045760405162461bcd60e51b8152602060048201526011602482015270139bdd1a1a5b99c81a5cc81b1bd8dad959607a1b6044820152606401610f5f565b81602001518111611c575760405162461bcd60e51b815260206004820152601f60248201527f43616e206f6e6c7920696e637265617365206c6f636b206475726174696f6e006044820152606401610f5f565b611c656301dfe200426146cf565b811115611c845760405162461bcd60e51b8152600401610f5f90614746565b611c9384600083856003612fa9565b50506006805460ff191660011790555050565b611cb28484843361262e565b823b15611e3f57604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290611ceb9033908890879087906004016147f4565b6020604051808303816000875af1925050508015611d26575060408051601f3d908101601f19168201909252611d2391810190614827565b60015b611dce573d808015611d54576040519150601f19603f3d011682016040523d82523d6000602084013e611d59565b606091505b508051600003611dc65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610f5f565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14611e3d5760405162461bcd60e51b815260206004820152602660248201527f4552433732313a2045524337323152656365697665722072656a656374656420604482015265746f6b656e7360d01b6064820152608401610f5f565b505b50505050565b6000546001600160a01b03163314611e5c57600080fd5b6000908152601560205260409020805460ff19169055565b611eb2600060405180604001604052806000600f0b8152602001600081525060405180604001604052806000600f0b81526020016000815250612775565b565b604080518082018252600580825264766546564d60d81b60209283015282518084018452908152640312e302e360dc1b9082015281517f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866818301527f2a793cff47eb2f51e4f8b29d086389829e71cccfb1e52f65d3d4c0f58f72990d818401527f06c015bd22b4c69690933c1058878ebdfef31f9aaae40bbe86d8a09fe1b2972c60608201524660808201523060a0808301919091528351808303909101815260c0820184528051908301207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60e08301526001600160a01b038a1661010083015261012082018990526101408083018990528451808403909101815261016083019094528351939092019290922061190160f01b61018084015261018283018290526101a2830181905290916000906101c20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015612073573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166120ed5760405162461bcd60e51b815260206004820152602e60248201527f566f74696e67457363726f773a3a64656c656761746542795369673a20696e7660448201526d616c6964207369676e617475726560901b6064820152608401610f5f565b6001600160a01b0381166000908152601960205260408120805491612111836146e7565b9190505589146121765760405162461bcd60e51b815260206004820152602a60248201527f566f74696e67457363726f773a3a64656c656761746542795369673a20696e76604482015269616c6964206e6f6e636560b01b6064820152608401610f5f565b874211156121dd5760405162461bcd60e51b815260206004820152602e60248201527f566f74696e67457363726f773a3a64656c656761746542795369673a2073696760448201526d1b985d1d5c9948195e1c1a5c995960921b6064820152608401610f5f565b611584818b6131cc565b505050505050565b6000818152600760205260409020546060906001600160a01b03166122565760405162461bcd60e51b815260206004820152601b60248201527f517565727920666f72206e6f6e6578697374656e7420746f6b656e00000000006044820152606401610f5f565b60008281526010602090815260409182902082518084019093528054600f0b835260010154908201526002546001600160a01b031663dd9ec1498461229b8142612e64565b6020850151855160405160e086901b6001600160e01b0319168152600481019490945260248401929092526044830152600f0b6064820152608401600060405180830381865afa1580156122f3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112989190810190614844565b600082815260146020526040902054158015612346575060008281526015602052604090205460ff16155b6123625760405162461bcd60e51b8152600401610f5f90614679565b80820361236e57600080fd5b612378338361270f565b61238157600080fd5b61238b338261270f565b61239457600080fd5b6000828152601060208181526040808420815180830183528154600f90810b825260019283015482860190815288885295855283872084518086019095528054820b855290920154938301849052805194519095929490910b9211156123fe578260200151612404565b83602001515b604080518082018252600080825260208083018281528b835260108252848320935184546001600160801b0319166001600160801b03909116178455516001909301929092558251808401909352808352908201529091506124699087908690612775565b61247286612d91565b6121e7858383866004612fa9565b60065460009060ff1660011461249557600080fd5b6006805460ff191660021790556124ad84848461323f565b90506006805460ff191660011790559392505050565b60006112988383612e64565b6000818152600b60205260408120544390036124ed57506000919050565b610d228242612e64565b60065460ff1660011461250957600080fd5b6006805460ff1916600217905560008281526010602090815260409182902082518084019093528054600f0b835260010154908201528161254957600080fd5b60008160000151600f0b136125995760405162461bcd60e51b8152602060048201526016602482015275139bc8195e1a5cdd1a5b99c81b1bd8dac8199bdd5b9960521b6044820152606401610f5f565b428160200151116125bc5760405162461bcd60e51b8152600401610f5f906147b0565b611a5b83836000846000612fa9565b6000546001600160a01b031633146125e257600080fd5b6000818152601460205260409020546118899060016146cf565b6000546001600160a01b0316331461261357600080fd5b6000908152601560205260409020805460ff19166001179055565b600082815260146020526040902054158015612659575060008281526015602052604090205460ff16155b6126755760405162461bcd60e51b8152600401610f5f90614679565b61267f818361270f565b61268857600080fd5b6126928483613787565b61269c84836137ee565b6126b76126a885611590565b6126b185611590565b8461386f565b6126c18383613bd1565b6000828152600b60205260408082204390555183916001600160a01b0380871692908816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a450505050565b60008181526007602090815260408083205460098352818420546001600160a01b03918216808652600a855283862088841680885295529285205492938085149392909116149060ff1682806127625750815b8061276a5750805b979650505050505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152601154600090819087156128e0574287602001511180156127e5575060008760000151600f0b135b1561282a5786516127fb906301dfe200906148b2565b600f0b60208087019190915287015161281590429061469b565b856020015161282491906148f0565b600f0b85525b428660200151118015612844575060008660000151600f0b135b1561288957855161285a906301dfe200906148b2565b600f0b60208086019190915286015161287490429061469b565b846020015161288391906148f0565b600f0b84525b602080880151600090815260128252604090205490870151600f9190910b9350156128e05786602001518660200151036128c5578291506128e0565b602080870151600090815260129091526040902054600f0b91505b604080516080810182526000808252602082015242918101919091524360608201528115612955575060008181526003602090815260409182902082516080810184528154600f81810b8352600160801b909104900b9281019290925260018101549282019290925260029091015460608201525b6040810151816000428310156129a2576040840151612974904261469b565b6060850151612983904361469b565b61299590670de0b6b3a764000061477d565b61299f919061479c565b90505b600062093a806129b2818661479c565b6129bc919061477d565b905060005b60ff811015612b36576129d762093a80836146cf565b91506000428311156129eb574292506129ff565b50600082815260126020526040902054600f0b5b612a09868461469b565b8760200151612a1891906148f0565b87518890612a27908390614985565b600f0b905250602087018051829190612a419083906149d5565b600f90810b90915288516000910b12159050612a5c57600087525b60008760200151600f0b1215612a7457600060208801525b60408088018490528501519295508592670de0b6b3a764000090612a98908561469b565b612aa2908661477d565b612aac919061479c565b8560600151612abb91906146cf565b6060880152612acb6001896146cf565b9750428303612ae05750436060870152612b36565b6000888152600360209081526040918290208951918a01516001600160801b03908116600160801b029216919091178155908801516001820155606088015160029091015550612b2f816146e7565b90506129c1565b505060118590558b15612bc15788602001518860200151612b579190614985565b84602001818151612b6891906149d5565b600f0b90525088518851612b7c9190614985565b84518590612b8b9083906149d5565b600f90810b90915260208601516000910b12159050612bac57600060208501525b60008460000151600f0b1215612bc157600084525b6000858152600360209081526040918290208651918701516001600160801b03908116600160801b02921691909117815590850151600182015560608501516002909101558b15612d8357428b602001511115612c78576020890151612c2790886149d5565b96508a602001518a6020015103612c4a576020880151612c479088614985565b96505b60208b810151600090815260129091526040902080546001600160801b0319166001600160801b0389161790555b428a602001511115612cd3578a602001518a602001511115612cd3576020880151612ca39087614985565b60208b810151600090815260129091526040902080546001600160801b0319166001600160801b03831617905595505b60008c8152600e6020526040812054612ced9060016146cf565b905080600e60008f815260200190815260200160002081905550428960400181815250504389606001818152505088600f60008f815260200190815260200160002082633b9aca008110612d4357612d4361464d565b825160208401516001600160801b03908116600160801b029116176003919091029190910190815560408201516001820155606090910151600290910155505b505050505050505050505050565b612d9b338261270f565b612de75760405162461bcd60e51b815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665646044820152606401610f5f565b6000818152600760205260408120546001600160a01b031690612e0a9083610d61565b612e1e612e1682611590565b60008461386f565b612e2833836137ee565b60405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000828152600e6020526040812054808203612e84576000915050610d22565b6000848152600f6020526040812082633b9aca008110612ea657612ea661464d565b60408051608081018252600392909202929092018054600f81810b8452600160801b909104900b602083015260018101549282018390526002015460608201529150612ef29085614a24565b8160200151612f0191906148f0565b81518290612f10908390614985565b600f90810b90915282516000910b12159050612f2b57600081525b51600f0b9150610d229050565b60006001600160a01b038316612f5057612f50614663565b612f5e60006126b185611590565b612f688383613bd1565b60405182906001600160a01b038516906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a450600192915050565b6013548290612fb886826146cf565b6013556040805180820190915260008082526020820152825160208085015190830152600f0b8152825187908490612ff19083906149d5565b600f0b905250851561300557602083018690525b6000888152601060209081526040909120845181546001600160801b0319166001600160801b0390911617815590840151600190910155613047888285612775565b3387158015906130695750600485600581111561306657613066614a63565b14155b80156130875750600585600581111561308457613084614a63565b14155b15613131576040516323b872dd60e01b81526001600160a01b038281166004830152306024830152604482018a90527f00000000000000000000000007bb65faac502d4996532f834a1b7ba5dc32ff9616906323b872dd906064016020604051808303816000875af1158015613101573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061312591906146b2565b61313157613131614663565b8360200151816001600160a01b03167fff04ccafc360e16b67d682d17bd9503c4c6b9a131f6be6325762dc9ffc7de6248b8b89426040516131759493929190614a79565b60405180910390a37f5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c836131a98a826146cf565b6040805192835260208301919091520160405180910390a1505050505050505050565b60006131d783611590565b6001600160a01b0384811660008181526016602052604080822080546001600160a01b031916888616908117909155905194955093928516927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610ede838284613c67565b60008062093a808061325186426146cf565b61325b919061479c565b613265919061477d565b90506000851161327457600080fd5b4281116132935760405162461bcd60e51b8152600401610f5f90614700565b6132a16301dfe200426146cf565b8111156132c05760405162461bcd60e51b8152600401610f5f90614746565b6005600081546132cf906146e7565b909155506005546132e08482612f38565b5060008181526010602090815260409182902082518084019093528054600f0b83526001908101549183019190915261331e91839189918691612fa9565b95945050505050565b600080839050600062093a80808360400151613343919061479c565b61334d919061477d565b905060005b60ff8110156134005761336862093a80836146cf565b915060008583111561337c57859250613390565b50600082815260126020526040902054600f0b5b604084015161339f908461469b565b84602001516133ae91906148f0565b845185906133bd908390614985565b600f0b9052508583036133d05750613400565b80846020018181516133e291906149d5565b600f0b90525050604083018290526133f9816146e7565b9050613352565b5060008260000151600f0b121561341657600082525b50516001600160801b03169392505050565b60004382111561343a5761343a614663565b6000838152600e6020526040812054815b60808110156134da57818310156134da576000600261346a84866146cf565b6134759060016146cf565b61347f919061479c565b6000888152600f60205260409020909150869082633b9aca0081106134a6576134a661464d565b6003020160020154116134bb578093506134c9565b6134c660018261469b565b92505b506134d3816146e7565b905061344b565b506000858152600f6020526040812083633b9aca0081106134fd576134fd61464d565b60408051608081018252600392909202929092018054600f81810b8452600160801b909104900b6020830152600181015492820192909252600290910154606082015260115490915060006135528783613701565b600081815260036020908152604080832081516080810183528154600f81810b8352600160801b909104900b9381019390935260018101549183019190915260020154606082015291925080848410156136315760006003816135b68760016146cf565b8152602080820192909252604090810160002081516080810183528154600f81810b8352600160801b909104900b93810193909352600181015491830191909152600201546060808301829052860151919250613613919061469b565b925083604001518160400151613629919061469b565b915050613655565b6060830151613640904361469b565b9150826040015142613652919061469b565b90505b60408301518215613692578284606001518c613671919061469b565b61367b908461477d565b613685919061479c565b61368f90826146cf565b90505b60408701516136a1908261469b565b87602001516136b091906148f0565b875188906136bf908390614985565b600f90810b90915288516000910b1290506136ef57505093516001600160801b03169650610d2295505050505050565b60009950505050505050505050610d22565b60008082815b608081101561377d578183101561377d576000600261372684866146cf565b6137319060016146cf565b61373b919061479c565b600081815260036020526040902060020154909150871061375e5780935061376c565b61376960018261469b565b92505b50613776816146e7565b9050613707565b5090949350505050565b6000818152600760205260409020546001600160a01b038381169116146137b0576137b0614663565b6000818152600960205260409020546001600160a01b0316156137ea57600081815260096020526040902080546001600160a01b03191690555b5050565b6000818152600760205260409020546001600160a01b0383811691161461381757613817614663565b600081815260076020526040902080546001600160a01b031916905561383d8282614023565b6001600160a01b038216600090815260086020526040812080546001929061386690849061469b565b90915550505050565b816001600160a01b0316836001600160a01b0316141580156138915750600081115b15610ede576001600160a01b03831615613a12576001600160a01b03831660009081526018602052604081205463ffffffff1690816138f5576001600160a01b03851660009081526017602090815260408083208380529091529020600101613937565b6001600160a01b0385166000908152601760205260408120906139196001856145ef565b63ffffffff1663ffffffff1681526020019081526020016000206001015b90506000613944866140e2565b6001600160a01b038716600090815260176020908152604080832063ffffffff8516845290915281209192506001909101905b83548110156139d15760008482815481106139945761399461464d565b906000526020600020015490508681146139be578254600181018455600084815260209020018190555b50806139c9816146e7565b915050613977565b506139dd846001614ab7565b6001600160a01b0388166000908152601860205260409020805463ffffffff191663ffffffff92909216919091179055505050505b6001600160a01b03821615610ede576001600160a01b03821660009081526018602052604081205463ffffffff169081613a71576001600160a01b03841660009081526017602090815260408083208380529091529020600101613ab3565b6001600160a01b038416600090815260176020526040812090613a956001856145ef565b63ffffffff1663ffffffff1681526020019081526020016000206001015b90506000613ac0856140e2565b6001600160a01b038616600090815260176020908152604080832063ffffffff851684529091529020835491925060019081019161040091613b0291906146cf565b1115613b205760405162461bcd60e51b8152600401610f5f90614adf565b60005b8354811015613b72576000848281548110613b4057613b4061464d565b600091825260208083209091015485546001810187558684529190922001555080613b6a816146e7565b915050613b23565b50805460018181018355600083815260209020909101869055613b96908590614ab7565b6001600160a01b0387166000908152601860205260409020805463ffffffff9290921663ffffffff1990921691909117905550505050505050565b6000818152600760205260409020546001600160a01b031615613bf657613bf6614663565b600081815260076020908152604080832080546001600160a01b0319166001600160a01b03871690811790915580845260088084528285208054600c86528487208188528652848720889055878752600d8652938620939093559084529091528054600192906138669084906146cf565b806001600160a01b0316826001600160a01b031614610ede576001600160a01b03821615613e1a576001600160a01b03821660009081526018602052604081205463ffffffff169081613cdf576001600160a01b03841660009081526017602090815260408083208380529091529020600101613d21565b6001600160a01b038416600090815260176020526040812090613d036001856145ef565b63ffffffff1663ffffffff1681526020019081526020016000206001015b90506000613d2e856140e2565b6001600160a01b038616600090815260176020908152604080832063ffffffff8516845290915281209192506001909101905b8354811015613dd9576000848281548110613d7e57613d7e61464d565b600091825260208083209091015480835260079091526040909120549091506001600160a01b03908116908a1614613dc6578254600181018455600084815260209020018190555b5080613dd1816146e7565b915050613d61565b50613de5846001614ab7565b6001600160a01b0387166000908152601860205260409020805463ffffffff191663ffffffff92909216919091179055505050505b6001600160a01b03811615610ede576001600160a01b03811660009081526018602052604081205463ffffffff169081613e79576001600160a01b03831660009081526017602090815260408083208380529091529020600101613ebb565b6001600160a01b038316600090815260176020526040812090613e9d6001856145ef565b63ffffffff1663ffffffff1681526020019081526020016000206001015b90506000613ec8846140e2565b6001600160a01b03808616600090815260176020908152604080832063ffffffff861684528252808320938b1683526008909152902054845492935060019091019161040090613f199083906146cf565b1115613f375760405162461bcd60e51b8152600401610f5f90614adf565b60005b8454811015613f89576000858281548110613f5757613f5761464d565b600091825260208083209091015486546001810188558784529190922001555080613f81816146e7565b915050613f3a565b5060005b81811015613fdb576001600160a01b0389166000908152600c602090815260408083208484528252822054855460018101875586845291909220015580613fd3816146e7565b915050613f8d565b50613fe7856001614ab7565b6001600160a01b0387166000908152601860205260409020805463ffffffff9290921663ffffffff199092169190911790555050505050505050565b6001600160a01b0382166000908152600860205260408120546140489060019061469b565b6000838152600d6020526040902054909150808203614097576001600160a01b0384166000908152600c602090815260408083208584528252808320839055858352600d909152812055611e3f565b6001600160a01b03939093166000908152600c6020908152604080832093835292815282822080548684528484208190558352600d9091528282209490945592839055908252812055565b6001600160a01b038116600090815260186020526040812054429063ffffffff16801580159061414b57506001600160a01b038416600090815260176020526040812083916141326001856145ef565b63ffffffff168152602081019190915260400160002054145b15611298576116966001826145ef565b6001600160e01b0319811681146115db57600080fd5b60006020828403121561418357600080fd5b81356112988161415b565b60005b838110156141a9578181015183820152602001614191565b83811115611e3f5750506000910152565b600081518084526141d281602086016020860161418e565b601f01601f19169290920160200192915050565b60208152600061129860208301846141ba565b80356001600160a01b038116811461421057600080fd5b919050565b6000806040838503121561422857600080fd5b614231836141f9565b946020939093013593505050565b60006020828403121561425157600080fd5b5035919050565b60006020828403121561426a57600080fd5b611298826141f9565b6000806040838503121561428657600080fd5b50508035926020909101359150565b6000806000606084860312156142aa57600080fd5b6142b3846141f9565b92506142c1602085016141f9565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715614310576143106142d1565b604052919050565b6000806040838503121561432b57600080fd5b823567ffffffffffffffff8082111561434357600080fd5b818501915085601f83011261435757600080fd5b813560208282111561436b5761436b6142d1565b8160051b925061437c8184016142e7565b828152928401810192818101908985111561439657600080fd5b948201945b848610156143b45785358252948201949082019061439b565b9997909101359750505050505050565b80151581146115db57600080fd5b600080604083850312156143e557600080fd5b6143ee836141f9565b915060208301356143fe816143c4565b809150509250929050565b600067ffffffffffffffff821115614423576144236142d1565b50601f01601f191660200190565b6000806000806080858703121561444757600080fd5b614450856141f9565b935061445e602086016141f9565b925060408501359150606085013567ffffffffffffffff81111561448157600080fd5b8501601f8101871361449257600080fd5b80356144a56144a082614409565b6142e7565b8181528860208385010111156144ba57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060008060008060c087890312156144f557600080fd5b6144fe876141f9565b95506020870135945060408701359350606087013560ff8116811461452257600080fd5b9598949750929560808101359460a0909101359350915050565b60008060006060848603121561455157600080fd5b8335925060208401359150614568604085016141f9565b90509250925092565b6000806040838503121561458457600080fd5b61458d836141f9565b915061459b602084016141f9565b90509250929050565b600080604083850312156145b757600080fd5b6145c0836141f9565b9150602083013563ffffffff811681146143fe57600080fd5b634e487b7160e01b600052601160045260246000fd5b600063ffffffff8381169083168181101561460c5761460c6145d9565b039392505050565b634e487b7160e01b600052601260045260246000fd5b600063ffffffff8084168061464157614641614614565b92169190910492915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052600160045260246000fd5b602080825260089082015267185d1d1858da195960c21b604082015260600190565b6000828210156146ad576146ad6145d9565b500390565b6000602082840312156146c457600080fd5b8151611298816143c4565b600082198211156146e2576146e26145d9565b500190565b6000600182016146f9576146f96145d9565b5060010190565b60208082526026908201527f43616e206f6e6c79206c6f636b20756e74696c2074696d6520696e207468652060408201526566757475726560d01b606082015260800190565b6020808252601f908201527f566f74696e67206c6f636b2063616e206265203532207765656b73206d617800604082015260600190565b6000816000190483118215151615614797576147976145d9565b500290565b6000826147ab576147ab614614565b500490565b60208082526024908201527f43616e6e6f742061646420746f2065787069726564206c6f636b2e20576974686040820152636472617760e01b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061184d908301846141ba565b60006020828403121561483957600080fd5b81516112988161415b565b60006020828403121561485657600080fd5b815167ffffffffffffffff81111561486d57600080fd5b8201601f8101841361487e57600080fd5b805161488c6144a082614409565b8181528560208385010111156148a157600080fd5b61331e82602083016020860161418e565b600081600f0b83600f0b806148c9576148c9614614565b60016001607f1b03198214600019821416156148e7576148e76145d9565b90059392505050565b600081600f0b83600f0b60016001607f1b03600082136000841383830485118282161615614920576149206145d9565b60016001607f1b03196000851282811687830587121615614943576149436145d9565b6000871292508582058712848416161561495f5761495f6145d9565b85850587128184161615614975576149756145d9565b5050509290910295945050505050565b600081600f0b83600f0b600081128160016001607f1b0319018312811516156149b0576149b06145d9565b8160016001607f1b030183138116156149cb576149cb6145d9565b5090039392505050565b600081600f0b83600f0b600082128260016001607f1b03038213811516156149ff576149ff6145d9565b8260016001607f1b0319038212811615614a1b57614a1b6145d9565b50019392505050565b60008083128015600160ff1b850184121615614a4257614a426145d9565b6001600160ff1b0384018313811615614a5d57614a5d6145d9565b50500390565b634e487b7160e01b600052602160045260246000fd5b848152602081018490526080810160068410614aa557634e487b7160e01b600052602160045260246000fd5b60408201939093526060015292915050565b600063ffffffff808316818516808303821115614ad657614ad66145d9565b01949350505050565b60208082526023908201527f64737452657020776f756c64206861766520746f6f206d616e7920746f6b656e60408201526249647360e81b60608201526080019056fea264697066735822122006fdbc727293177ecceedbf4bfc182d923f97f066406673d2b96079fcbf4fa6f64736f6c634300080d0033

Deployed Bytecode Sourcemap

12620:58068:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17404:88;17477:7;;17404:88;;;160:25:1;;;148:2;133:18;17404:88:0;;;;;;;;29122:136;;;;;;:::i;:::-;-1:-1:-1;;;;;;29217:33:0;29193:4;29217:33;;;:19;:33;;;;;;;;;29122:136;;;;747:14:1;;740:22;722:41;;710:2;695:18;29122:136:0;582:187:1;34337:18:0;;;;;;16440:37;;;;;;;;;;;;;;;-1:-1:-1;;;16440:37:0;;;;;;;;;;;;:::i;61871:1064::-;;;;;;:::i;:::-;;:::i;:::-;;;2136:10:1;2124:23;;;2106:42;;2094:2;2079:18;61871:1064:0;1962:192:1;19501:117:0;;;;;;:::i;:::-;19560:7;19587:23;;;:13;:23;;;;;;-1:-1:-1;;;;;19587:23:0;;19501:117;;;;-1:-1:-1;;;;;2508:32:1;;;2490:51;;2478:2;2463:18;19501:117:0;2344:203:1;16621:110:0;;;;;;:::i;:::-;;:::i;:::-;;20722:683;;;;;;:::i;:::-;;:::i;56392:40::-;;;;;;:::i;:::-;;;;;;;;;;;;;;34084:60;;;;;;:::i;:::-;;:::i;:::-;;;;3252:2:1;3241:22;;;3223:41;;3300:22;;;;3295:2;3280:18;;3273:50;3339:18;;;3332:34;3397:2;3382:18;;3375:34;;;;3210:3;3195:19;34084:60:0;2996:419:1;55712:109:0;;;:::i;35329:150::-;;;;;;:::i;:::-;;:::i;59850:122::-;;59892:80;59850:122;;25530:174;;;;;;:::i;:::-;;:::i;43657:91::-;43728:12;43657:91;;48119:972;;;;;;:::i;:::-;;:::i;16739:120::-;;;;;;:::i;:::-;;:::i;29754:159::-;;;;;;:::i;:::-;-1:-1:-1;;;;;29864:28:0;;;;29840:4;29864:28;;;:20;:28;;;;;;;;:41;;;;;;;;;29754:159;16577:35;;16610:2;16577:35;;;;;4107:4:1;4095:17;;;4077:36;;4065:2;4050:18;16577:35:0;3935:184:1;62943:582:0;;;;;;:::i;:::-;;:::i;26435:173::-;;;;;;:::i;:::-;;:::i;23481:153::-;;;;;;:::i;:::-;;:::i;34928:194::-;;;;;;:::i;:::-;;:::i;:::-;;;4297:2:1;4286:22;;;;4268:41;;4256:2;4241:18;34928:194:0;4124:191:1;14249:20:0;;;;;-1:-1:-1;;;;;14249:20:0;;;56482:115;;;;;;:::i;:::-;;:::i;16530:40::-;;;;;;;;;;;;;;;-1:-1:-1;;;16530:40:0;;;;;14302:23;;;;;-1:-1:-1;;;;;14302:23:0;;;58030:1557;;;;;;:::i;:::-;;:::i;60976:187::-;;;;;;:::i;:::-;;:::i;69316:164::-;;;;;;:::i;:::-;;:::i;60297:41::-;;60334:4;60297:41;;18047:107;;;;;;:::i;:::-;18100:7;18127:19;;;:9;:19;;;;;;-1:-1:-1;;;;;18127:19:0;;18047:107;45853:166;;;;;;:::i;:::-;;:::i;19325:45::-;;;;;;:::i;:::-;;;;;;;;;;;;;;60590:48;;;;;;:::i;:::-;;;;;;;;;;;;;;;;18754:106;;;;;;:::i;:::-;;:::i;55995:198::-;;;;;;:::i;:::-;;:::i;34255:44::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;60719:38;;;;;;:::i;:::-;;;;;;;;;;;;;;14276:19;;;;;-1:-1:-1;;;;;14276:19:0;;;53442:140;;;;;;:::i;:::-;;:::i;14175:30::-;;;;;63533:127;;;;;;:::i;:::-;;:::i;56439:34::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;34231:17;;;;;;53778:880;;;;;;:::i;:::-;;:::i;57018:147::-;;;;;;:::i;:::-;;:::i;61364:499::-;;;;;;:::i;:::-;;:::i;46643:503::-;;;;;;:::i;:::-;;:::i;21917:301::-;;;;;;:::i;:::-;;:::i;47282:725::-;;;;;;:::i;:::-;;:::i;34180:44::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6397:2:1;6386:22;;;;6368:41;;6440:2;6425:18;;6418:34;;;;6341:18;34180:44:0;6196:262:1;27817:998:0;;;;;;:::i;:::-;;:::i;56733:122::-;;;;;;:::i;:::-;;:::i;43806:106::-;;;:::i;69488:1197::-;;;;;;:::i;:::-;;:::i;16968:428::-;;;;;;:::i;:::-;;:::i;57173:722::-;;;;;;:::i;:::-;;:::i;14334:43::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14334:43:0;;;;;;;;;46287:176;;;;;;:::i;:::-;;:::i;51304:130::-;;;;;;:::i;:::-;;:::i;34032:45::-;;;;;;:::i;:::-;;;;;;;;;;;;;;60066:117;;60112:71;60066:117;;51097:199;;;;;;:::i;:::-;;:::i;19827:153::-;;;;;;:::i;:::-;-1:-1:-1;;;;;19936:24:0;;;19911:4;19936:24;;;:16;:24;;;;;;;;19935:37;;;;;;;;;;;;;;;19827:153;44237:433;;;;;;:::i;:::-;;:::i;60453:68::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;35628:111;;;;;;:::i;:::-;35687:4;35711:16;;;:6;:16;;;;;:20;;;;35628:111;56863:147;;;;;;:::i;:::-;;:::i;14212:30::-;;;;;56605:120;;;;;;:::i;:::-;;:::i;61871:1064::-;-1:-1:-1;;;;;61993:23:0;;61952:6;61993:23;;;:14;:23;;;;;;;;62031:17;;;62027:58;;62072:1;62065:8;;;;;62027:58;-1:-1:-1;;;;;62143:20:0;;;;;;:11;:20;;;;;62195:9;;62164:16;62179:1;62164:12;:16;:::i;:::-;62143:38;;;;;;;;;;;;;-1:-1:-1;62143:38:0;:48;:61;62139:119;;62229:16;62244:1;62229:12;:16;:::i;:::-;62221:25;;;;;62139:119;-1:-1:-1;;;;;62319:20:0;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:45;-1:-1:-1;62315:86:0;;;62388:1;62381:8;;;;;62315:86;62413:12;;62455:16;62470:1;62455:12;:16;:::i;:::-;62440:31;;62482:423;62497:5;62489:13;;:5;:13;;;62482:423;;;62519:13;62561:1;62544:13;62552:5;62544;:13;:::i;:::-;62543:19;;;;:::i;:::-;62535:27;;:5;:27;:::i;:::-;-1:-1:-1;;;;;62628:20:0;;62604:21;62628:20;;;:11;:20;;;;;;;;:28;;;;;;;;;;62675:12;;62519:43;;-1:-1:-1;62628:28:0;62675:25;;;62671:223;;-1:-1:-1;62728:6:0;-1:-1:-1;62721:13:0;;-1:-1:-1;;;62721:13:0;62671:223;62760:12;;:24;-1:-1:-1;62756:138:0;;;62813:6;62805:14;;62756:138;;;62868:10;62877:1;62868:6;:10;:::i;:::-;62860:18;;62756:138;62504:401;;62482:423;;;-1:-1:-1;62922:5:0;-1:-1:-1;;61871:1064:0;;;;;:::o;16621:110::-;16695:4;;-1:-1:-1;;;;;16695:4:0;16681:10;:18;16673:27;;;;;;16711:4;:12;;-1:-1:-1;;;;;;16711:12:0;-1:-1:-1;;;;;16711:12:0;;;;;;;;;;16621:110::o;20722:683::-;20791:18;20812:19;;;:9;:19;;;;;;-1:-1:-1;;;;;20812:19:0;;20894:33;;;;;;21014:10;-1:-1:-1;;;;;21001:23:0;:9;-1:-1:-1;;;;;21001:23:0;;20993:32;;;;;;21067:18;21089:19;;;:9;:19;;;;;;;;;-1:-1:-1;;;;;21165:28:0;;;;;:16;:28;;;;;21112:10;21164:42;;;;;;;;;;21089:19;;:33;;21164:42;;21089:33;;21225:39;;;21242:22;21225:39;21217:48;;;;;;21305:23;;;;:13;:23;;;;;;:35;;-1:-1:-1;;;;;;21305:35:0;-1:-1:-1;;;;;21305:35:0;;;;;;;;;21356:41;;21305:23;;21356:41;;;;;;;20780:625;;;20722:683;;:::o;34084:60::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;34084:60:0;;;;;;;-1:-1:-1;34084:60:0;:::o;55712:109::-;55758:4;55782:31;55797:15;55782:14;:31::i;:::-;55775:38;;55712:109;:::o;35329:150::-;35410:4;35434:28;;;:18;:28;;;;;35463:4;35434:34;;;;;;;:::i;:::-;;;;:37;;;35427:44;;35329:150;;;;:::o;25530:174::-;25649:47;25663:5;25670:3;25675:8;25685:10;25649:13;:47::i;:::-;25530:174;;;:::o;48119:972::-;16115:14;;:30;:14;15981:1;16115:30;16107:39;;;;;;16157:14;:25;;-1:-1:-1;;16157:25:0;16024:1;16157:25;;;48192:40:::1;48211:10;48223:8:::0;48192:18:::1;:40::i;:::-;48185:48;;;;:::i;:::-;48252:21;::::0;;;:11:::1;:21;::::0;;;;;:26;:46;::::1;;;-1:-1:-1::0;48283:15:0::1;::::0;;;:5:::1;:15;::::0;;;;;::::1;;48282:16;48252:46;48244:67;;;;-1:-1:-1::0;;;48244:67:0::1;;;;;;;:::i;:::-;;;;;;;;;48324:28;48355:16:::0;;;:6:::1;:16;::::0;;;;;;;;48324:47;;;;::::1;::::0;;;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;;48390:15:::1;:30;;48382:65;;;::::0;-1:-1:-1;;;48382:65:0;;10605:2:1;48382:65:0::1;::::0;::::1;10587:21:1::0;10644:2;10624:18;;;10617:30;-1:-1:-1;;;10663:18:1;;;10656:52;10725:18;;48382:65:0::1;10403:346:1::0;48382:65:0::1;48483:14:::0;;48531:18:::1;::::0;;;;::::1;::::0;;-1:-1:-1;48531:18:0;;;::::1;::::0;;::::1;::::0;;;48512:16;;;:6:::1;:16:::0;;;;;;:37;;;;-1:-1:-1;;;;;;48512:37:0::1;-1:-1:-1::0;;;;;48512:37:0;;;::::1;::::0;;;;-1:-1:-1;48512:37:0;;::::1;::::0;48581:6:::1;::::0;48476:22:::1;::::0;;;::::1;::::0;48607:21:::1;48476:22:::0;48581:6;48607:21:::1;:::i;:::-;48598:6;:30:::0;48817:18:::1;::::0;;;;::::1;::::0;;;-1:-1:-1;48817:18:0;;;::::1;::::0;::::1;::::0;48786:50:::1;::::0;48798:8;;48808:7;;48786:11:::1;:50::i;:::-;48856:41;::::0;-1:-1:-1;;;48856:41:0;;48879:10:::1;48856:41;::::0;::::1;11058:51:1::0;11125:18;;;11118:34;;;48863:5:0::1;-1:-1:-1::0;;;;;48856:22:0::1;::::0;::::1;::::0;11031:18:1;;48856:41:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48849:49;;;;:::i;:::-;48936:15;48942:8;48936:5;:15::i;:::-;48969:54;::::0;;11615:25:1;;;11671:2;11656:18;;11649:34;;;49007:15:0::1;11699:18:1::0;;;11692:34;48969:54:0;;48978:10:::1;::::0;48969:54:::1;::::0;;;;;11603:2:1;48969:54:0;;::::1;49039:44;49046:13:::0;49061:21:::1;49077:5:::0;49046:13;49061:21:::1;:::i;:::-;49039:44;::::0;;11911:25:1;;;11967:2;11952:18;;11945:34;;;;11884:18;49039:44:0::1;;;;;;;-1:-1:-1::0;;16205:14:0;:29;;-1:-1:-1;;16205:29:0;15981:1;16205:29;;;-1:-1:-1;;48119:972:0:o;16739:120::-;16818:4;;-1:-1:-1;;;;;16818:4:0;16804:10;:18;16796:27;;;;;;16834:8;:17;;-1:-1:-1;;;;;;16834:17:0;-1:-1:-1;;;;;16834:17:0;;;;;;;;;;16739:120::o;62943:582::-;63046:4;63068:18;63089:37;63107:7;63116:9;63089:17;:37::i;:::-;-1:-1:-1;;;;;63186:20:0;;63159:24;63186:20;;;:11;:20;;;;;;;;:33;;;;;;;;;;63068:58;;-1:-1:-1;63186:42:0;;;;;63159:24;63264:231;63285:16;;63281:20;;63264:231;;;63323:8;63334:9;63344:1;63334:12;;;;;;;;:::i;:::-;;;;;;;;;63323:23;;63454:29;63468:3;63473:9;63454:13;:29::i;:::-;63446:37;;:5;:37;:::i;:::-;63438:45;;63308:187;63303:3;;;;;:::i;:::-;;;;63264:231;;;-1:-1:-1;63512:5:0;62943:582;-1:-1:-1;;;;;62943:582:0:o;26435:173::-;26558:42;26575:5;26582:3;26587:8;26558:42;;;;;;;;;;;;:16;:42::i;23481:153::-;23564:4;23588:38;23607:8;23617;23588:18;:38::i;:::-;23581:45;23481:153;-1:-1:-1;;;23481:153:0:o;34928:194::-;34995:6;35028:26;;;:16;:26;;;;;;;;;35072:18;:28;;;;;35028:26;35072:36;;;;;;;:::i;:::-;;;;:42;-1:-1:-1;;;35072:42:0;;;;;34928:194;-1:-1:-1;;;34928:194:0:o;56482:115::-;56558:5;;-1:-1:-1;;;;;56558:5:0;56544:10;:19;56536:28;;;;;;56575:5;:14;;-1:-1:-1;;;;;;56575:14:0;-1:-1:-1;;;;;56575:14:0;;;;;;;;;;56482:115::o;58030:1557::-;58159:21;;;;:11;:21;;;;;;:26;:46;;;;-1:-1:-1;58190:15:0;;;;:5;:15;;;;;;;;58189:16;58159:46;58151:67;;;;-1:-1:-1;;;58151:67:0;;;;;;;:::i;:::-;58237:40;58256:10;58268:8;58237:18;:40::i;:::-;58229:49;;;;;;58333:11;58347:19;;;:9;:19;;;;;;;;;58408:6;:16;;;;;;58377:47;;;;;;;;;;;;;;;58347:19;58377:47;;;;;;;;;;-1:-1:-1;;;;;58347:19:0;;;;58377:47;;;;58520:18;;;;;;58656:5;58647:6;;:14;;;;:::i;:::-;58638:6;:23;58674:6;;58722:87;58737:7;:14;58733:1;:18;58722:87;;;58787:7;58795:1;58787:10;;;;;;;;:::i;:::-;;;;;;;58772:25;;;;;:::i;:::-;;-1:-1:-1;58753:3:0;;;;:::i;:::-;;;;58722:87;;;58868:19;;;;;;;;-1:-1:-1;58868:19:0;;;;;;;;;;58849:16;;;:6;:16;;;;;:38;;;;-1:-1:-1;;;;;;58849:38:0;-1:-1:-1;;;;;58849:38:0;;;;;;;-1:-1:-1;58849:38:0;;;;;;;58929:19;;;;;;;;;;;;;;;58898:51;;58849:16;;58920:7;;58898:11;:51::i;:::-;58960:15;58966:8;58960:5;:15::i;:::-;59028:3;59064:15;59050:29;;59042:80;;;;-1:-1:-1;;;59042:80:0;;;;;;;:::i;:::-;59156:25;34441:14;59156:15;:25;:::i;:::-;59141:11;:40;;59133:84;;;;-1:-1:-1;;;59133:84:0;;;;;;;:::i;:::-;59256:11;59290:1;59286:5;;59282:298;59297:7;:14;59293:1;:18;59282:298;;;59337:7;;59335:9;;;;;:::i;:::-;;;;-1:-1:-1;59370:7:0;;;-1:-1:-1;59392:20:0;59398:3;59370:7;59392:5;:20::i;:::-;;59457:11;59444:7;59452:1;59444:10;;;;;;;;:::i;:::-;;;;;;;59436:5;:18;;;;:::i;:::-;:32;;;;:::i;:::-;59527:16;;;;:6;:16;;;;;;;;;59483:85;;;;;;;;;;;;;;;;;;;;;59427:41;;-1:-1:-1;59483:85:0;;59496:8;;59427:41;;59514:11;;59545:22;59483:12;:85::i;:::-;59313:3;;;;:::i;:::-;;;;59282:298;;;58092:1495;;;;;;;;58030:1557;;:::o;60976:187::-;-1:-1:-1;;;;;61073:21:0;;;61035:7;61073:21;;;:10;:21;;;;;;61035:7;;61073:21;61112;;:43;;61148:7;61112:43;;;-1:-1:-1;61136:9:0;;61105:50;-1:-1:-1;60976:187:0:o;69316:164::-;-1:-1:-1;;;;;69375:23:0;;69371:51;;-1:-1:-1;69412:10:0;69371:51;69440:32;69450:10;69462:9;69440;:32::i;:::-;69316:164;:::o;45853:166::-;16115:14;;45939:4;;16115:30;:14;15981:1;16115:30;16107:39;;;;;;16157:14;:25;;-1:-1:-1;;16157:25:0;16024:1;16157:25;;;45963:48:::1;45976:6:::0;45984:14;46000:10:::1;45963:12;:48::i;:::-;45956:55;;16205:14:::0;:29;;-1:-1:-1;;16205:29:0;15981:1;16205:29;;;45853:166;;-1:-1:-1;;45853:166:0:o;18754:106::-;-1:-1:-1;;;;;18477:27:0;;18812:4;18477:27;;;:19;:27;;;;;;18836:16;18396:116;55995:198;56079:5;;56048:4;56121:21;;;:13;:21;;;;;;;;56095:47;;;;;;;;;;;;;;;-1:-1:-1;;;56095:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56048:4;;56079:5;56160:25;56095:47;56183:1;56160:10;:25::i;:::-;56153:32;55995:198;-1:-1:-1;;;;55995:198:0:o;53442:140::-;53517:4;53541:33;53557:8;53567:6;53541:15;:33::i;63533:127::-;63603:4;63627:25;63642:9;63627:14;:25::i;53778:880::-;53837:4;53871:12;53861:6;:22;;53854:30;;;;:::i;:::-;53909:5;;53895:11;53945:33;53963:6;53909:5;53945:17;:33::i;:::-;53991:18;54012:27;;;:13;:27;;;;;;;;53991:48;;;;;;;;;;;;;;;-1:-1:-1;;;53991:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53925:53;;-1:-1:-1;54076:21:0;;;54072:465;;;54114:23;54140:13;54114:23;54154:16;:12;54169:1;54154:16;:::i;:::-;54140:31;;;;;;;;;;;;;;-1:-1:-1;54140:31:0;54114:57;;;;;;;;;;;;;;;-1:-1:-1;;;54114:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54190:9;;;54114:57;;-1:-1:-1;54190:27:0;54186:155;;54315:5;:9;;;54298:10;:14;;;:26;;;;:::i;:::-;54284:5;:8;;;54268:10;:13;;;:24;;;;:::i;:::-;54254:9;;;;54245:18;;:6;:18;:::i;:::-;54244:49;;;;:::i;:::-;54243:82;;;;:::i;:::-;54238:87;;54186:155;54099:253;54072:465;;;54390:12;54377:5;:9;;;:25;54373:153;;54500:9;;;;54485:24;;:12;:24;:::i;:::-;54471:8;;;;54453:26;;:15;:26;:::i;:::-;54439:9;;;;54430:18;;:6;:18;:::i;:::-;54429:51;;;;:::i;:::-;54428:82;;;;:::i;:::-;54423:87;;54373:153;54618:32;54629:5;54647:2;54636:5;:8;;;:13;;;;:::i;:::-;54618:10;:32::i;:::-;54611:39;53778:880;-1:-1:-1;;;;;;53778:880:0:o;57018:147::-;57091:5;;-1:-1:-1;;;;;57091:5:0;57077:10;:19;57069:28;;;;;;57132:21;;;;:11;:21;;;;;;:25;;57156:1;;57132:25;:::i;:::-;57108:21;;;;:11;:21;;;;;;:49;57018:147::o;61364:499::-;-1:-1:-1;;;;;61461:23:0;;61422:4;61461:23;;;:14;:23;;;;;;;;61499:17;;;61495:58;;-1:-1:-1;61540:1:0;;61364:499;-1:-1:-1;;61364:499:0:o;61495:58::-;-1:-1:-1;;;;;61590:20:0;;61563:24;61590:20;;;:11;:20;;;;;61563:24;61611:16;61626:1;61611:12;:16;:::i;:::-;61590:38;;;;;;;;;;;;;;;:47;;61563:74;;61648:10;61678:6;61673:160;61694:16;;61690:20;;61673:160;;;61732:8;61743:9;61753:1;61743:12;;;;;;;;:::i;:::-;;;;;;;;;61732:23;;61786:35;61800:3;61805:15;61786:13;:35::i;:::-;61778:43;;:5;:43;:::i;:::-;61770:51;;61717:116;61712:3;;;;;:::i;:::-;;;;61673:160;;;-1:-1:-1;61850:5:0;61364:499;-1:-1:-1;;;;61364:499:0:o;46643:503::-;16115:14;;:30;:14;15981:1;16115:30;16107:39;;;;;;16157:14;:25;;-1:-1:-1;;16157:25:0;16024:1;16157:25;;;46736:40:::1;46755:10;46767:8:::0;46736:18:::1;:40::i;:::-;46729:48;;;;:::i;:::-;46790:28;46821:16:::0;;;:6:::1;:16;::::0;;;;;;;;46790:47;;;;::::1;::::0;;;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;46857:10;46850:18:::1;;;;:::i;:::-;46932:1;46915:7;:14;;;:18;;;46907:53;;;::::0;-1:-1:-1;;;46907:53:0;;13530:2:1;46907:53:0::1;::::0;::::1;13512:21:1::0;13569:2;13549:18;;;13542:30;-1:-1:-1;;;13588:18:1;;;13581:52;13650:18;;46907:53:0::1;13328:346:1::0;46907:53:0::1;46993:15;46979:7;:11;;;:29;46971:78;;;;-1:-1:-1::0;;;46971:78:0::1;;;;;;;:::i;:::-;47062:76;47075:8;47085:6;47093:1;47096:7;47105:32;47062:12;:76::i;:::-;-1:-1:-1::0;;16205:14:0;:29;;-1:-1:-1;;16205:29:0;15981:1;16205:29;;;-1:-1:-1;46643:503:0:o;21917:301::-;22073:10;-1:-1:-1;;;;;22060:23:0;;;22053:31;;;;:::i;:::-;22112:10;22095:28;;;;:16;:28;;;;;;;;-1:-1:-1;;;;;22095:39:0;;;;;;;;;;;;:51;;-1:-1:-1;;22095:51:0;;;;;;;;;;22162:48;;722:41:1;;;22095:39:0;;22112:10;22162:48;;695:18:1;22162:48:0;;;;;;;21917:301;;:::o;47282:725::-;16115:14;;:30;:14;15981:1;16115:30;16107:39;;;;;;16157:14;:25;;-1:-1:-1;;16157:25:0;16024:1;16157:25;;;47388:40:::1;47407:10;47419:8:::0;47388:18:::1;:40::i;:::-;47381:48;;;;:::i;:::-;47442:28;47473:16:::0;;;:6:::1;:16;::::0;;;;;;;47442:47;;;;::::1;::::0;;;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;;;;34394:7:::1;::::0;47520:32:::1;47538:14:::0;47520:15:::1;:32;:::i;:::-;47519:41;;;;:::i;:::-;:48;;;;:::i;:::-;47500:67;;47639:15;47625:7;:11;;;:29;47617:54;;;::::0;-1:-1:-1;;;47617:54:0;;14286:2:1;47617:54:0::1;::::0;::::1;14268:21:1::0;14325:2;14305:18;;;14298:30;-1:-1:-1;;;14344:18:1;;;14337:42;14396:18;;47617:54:0::1;14084:336:1::0;47617:54:0::1;47707:1;47690:7;:14;;;:18;;;47682:48;;;::::0;-1:-1:-1;;;47682:48:0;;14627:2:1;47682:48:0::1;::::0;::::1;14609:21:1::0;14666:2;14646:18;;;14639:30;-1:-1:-1;;;14685:18:1;;;14678:47;14742:18;;47682:48:0::1;14425:341:1::0;47682:48:0::1;47763:7;:11;;;47749;:25;47741:69;;;::::0;-1:-1:-1;;;47741:69:0;;14973:2:1;47741:69:0::1;::::0;::::1;14955:21:1::0;15012:2;14992:18;;;14985:30;15051:33;15031:18;;;15024:61;15102:18;;47741:69:0::1;14771:355:1::0;47741:69:0::1;47844:25;34441:14;47844:15;:25;:::i;:::-;47829:11;:40;;47821:84;;;;-1:-1:-1::0;;;47821:84:0::1;;;;;;;:::i;:::-;47918:81;47931:8;47941:1;47944:11;47957:7;47966:32;47918:12;:81::i;:::-;-1:-1:-1::0;;16205:14:0;:29;;-1:-1:-1;;16205:29:0;15981:1;16205:29;;;-1:-1:-1;;47282:725:0:o;27817:998::-;27967:47;27981:5;27988:3;27993:8;28003:10;27967:13;:47::i;:::-;26935:20;;26983:8;28027:781;;28173:73;;-1:-1:-1;;;28173:73:0;;-1:-1:-1;;;;;28173:37:0;;;;;:73;;28211:10;;28223:5;;28230:8;;28240:5;;28173:73;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28173:73:0;;;;;;;;-1:-1:-1;;28173:73:0;;;;;;;;;;;;:::i;:::-;;;28169:628;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28514:6;:13;28531:1;28514:18;28510:272;;28557:60;;-1:-1:-1;;;28557:60:0;;16081:2:1;28557:60:0;;;16063:21:1;16120:2;16100:18;;;16093:30;16159:34;16139:18;;;16132:62;-1:-1:-1;;;16210:18:1;;;16203:48;16268:19;;28557:60:0;15879:414:1;28510:272:0;28732:6;28726:13;28717:6;28713:2;28709:15;28702:38;28169:628;-1:-1:-1;;;;;;28296:58:0;;-1:-1:-1;;;28296:58:0;28292:155;;28379:48;;-1:-1:-1;;;28379:48:0;;16500:2:1;28379:48:0;;;16482:21:1;16539:2;16519:18;;;16512:30;16578:34;16558:18;;;16551:62;-1:-1:-1;;;16629:18:1;;;16622:36;16675:19;;28379:48:0;16298:402:1;28292:155:0;28247:215;28169:628;27817:998;;;;:::o;56733:122::-;56807:5;;-1:-1:-1;;;;;56807:5:0;56793:10;:19;56785:28;;;;;;56842:5;56824:15;;;:5;:15;;;;;:23;;-1:-1:-1;;56824:23:0;;;56733:122::o;43806:106::-;43848:56;43860:1;43863:19;;;;;;;;43877:1;43863:19;;;;;;43880:1;43863:19;;;43884;;;;;;;;43898:1;43884:19;;;;;;43901:1;43884:19;;;43848:11;:56::i;:::-;43806:106::o;69488:1197::-;69794:4;;;;;;;;;;;;-1:-1:-1;;;69794:4:0;;;;;69835:7;;;;;;;;;;-1:-1:-1;;;69835:7:0;;;;69715:208;;59892:80;69715:208;;;16964:25:1;69778:22:0;17005:18:1;;;16998:34;69819:25:0;17048:18:1;;;17041:34;69863:13:0;17091:18:1;;;17084:34;69903:4:0;17134:19:1;;;;17127:61;;;;69715:208:0;;;;;;;;;;16936:19:1;;;69715:208:0;;69691:243;;;;;;60112:71;69990:57;;;17430:25:1;-1:-1:-1;;;;;17491:32:1;;17471:18;;;17464:60;17540:18;;;17533:34;;;17583:18;;;;17576:34;;;69990:57:0;;;;;;;;;;17402:19:1;;;69990:57:0;;;69966:92;;;;;;;;;;-1:-1:-1;;;70110:57:0;;;17879:27:1;17922:11;;;17915:27;;;17958:12;;;17951:28;;;69691:243:0;;-1:-1:-1;;17995:12:1;;70110:57:0;;;-1:-1:-1;;70110:57:0;;;;;;;;;70086:92;;70110:57;70086:92;;;;70189:17;70209:26;;;;;;;;;18245:25:1;;;18318:4;18306:17;;18286:18;;;18279:45;;;;18340:18;;;18333:34;;;18383:18;;;18376:34;;;70086:92:0;;-1:-1:-1;70189:17:0;70209:26;;18217:19:1;;70209:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;70209:26:0;;-1:-1:-1;;70209:26:0;;;-1:-1:-1;;;;;;;70268:23:0;;70246:119;;;;-1:-1:-1;;;70246:119:0;;18623:2:1;70246:119:0;;;18605:21:1;18662:2;18642:18;;;18635:30;18701:34;18681:18;;;18674:62;-1:-1:-1;;;18752:18:1;;;18745:44;18806:19;;70246:119:0;18421:410:1;70246:119:0;-1:-1:-1;;;;;70407:17:0;;;;;;:6;:17;;;;;:19;;;;;;:::i;:::-;;;;;70398:5;:28;70376:120;;;;-1:-1:-1;;;70376:120:0;;19038:2:1;70376:120:0;;;19020:21:1;19077:2;19057:18;;;19050:30;19116:34;19096:18;;;19089:62;-1:-1:-1;;;19167:18:1;;;19160:40;19217:19;;70376:120:0;18836:406:1;70376:120:0;70548:6;70529:15;:25;;70507:121;;;;-1:-1:-1;;;70507:121:0;;19449:2:1;70507:121:0;;;19431:21:1;19488:2;19468:18;;;19461:30;19527:34;19507:18;;;19500:62;-1:-1:-1;;;19578:18:1;;;19571:44;19632:19;;70507:121:0;19247:410:1;70507:121:0;70646:31;70656:9;70667;70646;:31::i;69488:1197::-;;;;;;;:::o;16968:428::-;17089:1;17058:19;;;:9;:19;;;;;;17024:13;;-1:-1:-1;;;;;17058:19:0;17050:73;;;;-1:-1:-1;;;17050:73:0;;19864:2:1;17050:73:0;;;19846:21:1;19903:2;19883:18;;;19876:30;19942:29;19922:18;;;19915:57;19989:18;;17050:73:0;19662:351:1;17050:73:0;17134:28;17165:16;;;:6;:16;;;;;;;;;17134:47;;;;;;;;;;;;;;;;;;;;;17211:8;;-1:-1:-1;;;;;17211:8:0;17199:31;17172:8;17268:40;17172:8;17292:15;17268:13;:40::i;:::-;17323:11;;;;17361:14;;17199:189;;;;;;-1:-1:-1;;;;;;17199:189:0;;;;;;20249:25:1;;;;20290:18;;;20283:34;;;;20333:18;;;20326:34;17354:22:0;;20376:18:1;;;20369:34;20221:19;;17199:189:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17199:189:0;;;;;;;;;;;;:::i;57173:722::-;57238:18;;;;:11;:18;;;;;;:23;:40;;;;-1:-1:-1;57266:12:0;;;;:5;:12;;;;;;;;57265:13;57238:40;57230:61;;;;-1:-1:-1;;;57230:61:0;;;;;;;:::i;:::-;57319:3;57310:5;:12;57302:21;;;;;;57342:37;57361:10;57373:5;57342:18;:37::i;:::-;57334:46;;;;;;57399:35;57418:10;57430:3;57399:18;:35::i;:::-;57391:44;;;;;;57448:29;57480:13;;;:6;:13;;;;;;;;57448:45;;;;;;;;;;;;;;;;;;;;;;;;;;57536:11;;;;;;;;;57504:43;;;;;;;;;;;;;;;;;;;;;;;;57584:15;;57623:12;;57448:45;;57504:43;;57577:23;;;;-1:-1:-1;57623:28:0;:58;;57669:8;:12;;;57623:58;;;57654:8;:12;;;57623:58;57710:19;;;;;;;;-1:-1:-1;57710:19:0;;;;;;;;;;57694:13;;;:6;:13;;;;;:35;;;;-1:-1:-1;;;;;;57694:35:0;-1:-1:-1;;;;;57694:35:0;;;;;;;-1:-1:-1;57694:35:0;;;;;;;57769:19;;;;;;;;;;;;;;;57612:69;;-1:-1:-1;57740:49:0;;57694:13;;57759:8;;57740:11;:49::i;:::-;57800:12;57806:5;57800;:12::i;:::-;57823:64;57836:3;57841:6;57849:3;57854:8;57864:22;57823:12;:64::i;46287:176::-;16115:14;;46390:4;;16115:30;:14;15981:1;16115:30;16107:39;;;;;;16157:14;:25;;-1:-1:-1;;16157:25:0;16024:1;16157:25;;;46414:41:::1;46427:6:::0;46435:14;46451:3;46414:12:::1;:41::i;:::-;46407:48;;16205:14:::0;:29;;-1:-1:-1;;16205:29:0;15981:1;16205:29;;;46287:176;;-1:-1:-1;;;46287:176:0:o;51304:130::-;51375:4;51399:27;51413:8;51423:2;51399:13;:27::i;51097:199::-;51157:4;51178:26;;;:16;:26;;;;;;51208:12;51178:42;;51174:56;;-1:-1:-1;51229:1:0;;51097:199;-1:-1:-1;51097:199:0:o;51174:56::-;51248:40;51262:8;51272:15;51248:13;:40::i;44237:433::-;16115:14;;:30;:14;15981:1;16115:30;16107:39;;;;;;16157:14;:25;;-1:-1:-1;;16157:25:0;16024:1;16157:25;;;:14;44350:16;;;:6:::1;:16;::::0;;;;;;;;44319:47;;;;::::1;::::0;;;;;::::1;;::::0;;16157:25;44319:47:::1;::::0;;;::::1;::::0;44387:10;44379:19:::1;;;::::0;::::1;;44462:1;44445:7;:14;;;:18;;;44437:53;;;::::0;-1:-1:-1;;;44437:53:0;;13530:2:1;44437:53:0::1;::::0;::::1;13512:21:1::0;13569:2;13549:18;;;13542:30;-1:-1:-1;;;13588:18:1;;;13581:52;13650:18;;44437:53:0::1;13328:346:1::0;44437:53:0::1;44523:15;44509:7;:11;;;:29;44501:78;;;;-1:-1:-1::0;;;44501:78:0::1;;;;;;;:::i;:::-;44590:72;44603:8;44613:6;44621:1;44624:7;44633:28;44590:12;:72::i;56863:147::-:0;56936:5;;-1:-1:-1;;;;;56936:5:0;56922:10;:19;56914:28;;;;;;56977:21;;;;:11;:21;;;;;;:25;;57001:1;56977:25;:::i;56605:120::-;56678:5;;-1:-1:-1;;;;;56678:5:0;56664:10;:19;56656:28;;;;;;56695:15;;;;:5;:15;;;;;:22;;-1:-1:-1;;56695:22:0;56713:4;56695:22;;;56605:120::o;24058:892::-;24212:21;;;;:11;:21;;;;;;:26;:46;;;;-1:-1:-1;24243:15:0;;;;:5;:15;;;;;;;;24242:16;24212:46;24204:67;;;;-1:-1:-1;;;24204:67:0;;;;;;;:::i;:::-;24321:37;24340:7;24349:8;24321:18;:37::i;:::-;24313:46;;;;;;24441:31;24456:5;24463:8;24441:14;:31::i;:::-;24547:33;24564:5;24571:8;24547:16;:33::i;:::-;24620:63;24640:16;24650:5;24640:9;:16::i;:::-;24658:14;24668:3;24658:9;:14::i;:::-;24674:8;24620:19;:63::i;:::-;24714:26;24726:3;24731:8;24714:11;:26::i;:::-;24826;;;;:16;:26;;;;;;24855:12;24826:41;;24912:30;24843:8;;-1:-1:-1;;;;;24912:30:0;;;;;;;;;;;24058:892;;;;:::o;23036:437::-;23120:4;23158:19;;;:9;:19;;;;;;;;;23280:13;:23;;;;;;-1:-1:-1;;;;;23158:19:0;;;23346:28;;;:16;:28;;;;;23210:22;;;23345:40;;;;;;;;;23158:19;;23210:22;;;;23280:23;;;;23268:35;;23345:40;;23210:22;;23403:35;;;23421:17;23403:35;:62;;;;23442:23;23403:62;23396:69;23036:437;-1:-1:-1;;;;;;;23036:437:0:o;36025:5882::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36317:5:0;;36239:17;;;;36339:13;;36335:1170;;36481:15;36464:10;:14;;;:32;:57;;;;;36520:1;36500:10;:17;;;:21;;;36464:57;36460:234;;;36556:17;;:28;;34498:14;;36556:28;:::i;:::-;36542:42;;:11;;;;:42;;;;36644:14;;;:32;;36661:15;;36644:32;:::i;:::-;36616:5;:11;;;:62;;;;:::i;:::-;36603:75;;;;36460:234;36729:15;36712:10;:14;;;:32;:57;;;;;36768:1;36748:10;:17;;;:21;;;36712:57;36708:234;;;36804:17;;:28;;34498:14;;36804:28;:::i;:::-;36790:42;;:11;;;;:42;;;;36892:14;;;:32;;36909:15;;36892:32;:::i;:::-;36864:5;:11;;;:62;;;;:::i;:::-;36851:75;;;;36708:234;37210:14;;;;;37196:29;;;;:13;:29;;;;;;37244:14;;;;37196:29;;;;;;-1:-1:-1;37244:19:0;37240:254;;37306:10;:14;;;37288:10;:14;;;:32;37284:195;;37358:10;37345:23;;37284:195;;;37444:14;;;;;37430:29;;;;:13;:29;;;;;;;;;;-1:-1:-1;37284:195:0;37543:66;;;;;;;;37517:23;37543:66;;;;;;;37573:15;37543:66;;;;;;;37595:12;37543:66;;;;37624:10;;37620:77;;-1:-1:-1;37664:21:0;;;;:13;:21;;;;;;;;;37651:34;;;;;;;;;;;;;;;-1:-1:-1;;;37651:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37620:77;37730:13;;;;:10;37707:20;38073:15;:31;-1:-1:-1;38069:160:0;;;38203:13;;;;38185:31;;:15;:31;:::i;:::-;38165:14;;;;38150:29;;:12;:29;:::i;:::-;38136:44;;34555:7;38136:44;:::i;:::-;38135:82;;;;:::i;:::-;38121:96;;38069:160;38468:8;34394:7;38480:22;34394:7;38480:15;:22;:::i;:::-;38479:31;;;;:::i;:::-;38468:42;;38530:6;38525:1383;38546:3;38542:1;:7;38525:1383;;;38752:11;34394:7;38752:11;;:::i;:::-;;;38782:14;38829:15;38823:3;:21;38819:168;;;38875:15;38869:21;;38819:168;;;-1:-1:-1;38949:18:0;;;;:13;:18;;;;;;;;38819:168;39057:21;39063:15;39057:3;:21;:::i;:::-;39024:10;:16;;;:56;;;;:::i;:::-;39005:75;;:10;;:75;;;;;:::i;:::-;;;;;-1:-1:-1;39099:16:0;;;:27;;39119:7;;39099:16;:27;;39119:7;;39099:27;:::i;:::-;;;;;;;;39149:15;;39167:1;39149:19;;;39145:127;;-1:-1:-1;39145:127:0;;39251:1;39233:19;;39145:127;39313:1;39294:10;:16;;;:20;;;39290:147;;;39416:1;39397:16;;;:20;39290:147;39495:13;;;;:19;;;39597:21;;;39473:3;;-1:-1:-1;39473:3:0;;34555:7;;39591:27;;39473:3;39591:27;:::i;:::-;39576:43;;:11;:43;:::i;:::-;39575:58;;;;:::i;:::-;39550:18;:22;;;:83;;;;:::i;:::-;39533:14;;;:100;39652:11;39662:1;39652:11;;:::i;:::-;;;39693:15;39686:3;:22;39682:211;;-1:-1:-1;39750:12:0;39733:14;;;:29;39785:5;;39682:211;39839:21;;;;:13;:21;;;;;;;;;:34;;;;;;-1:-1:-1;;;;;39839:34:0;;;-1:-1:-1;;;39839:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38551:3:0;;;:::i;:::-;;;38525:1383;;;-1:-1:-1;;39931:5:0;:14;;;40014:13;;40010:483;;40222:5;:11;;;40208:5;:11;;;:25;;;;:::i;:::-;40187:10;:16;;:47;;;;;;;:::i;:::-;;;;;-1:-1:-1;40282:10:0;;40269;;:23;;40282:10;40269:23;:::i;:::-;40249:44;;:10;;:44;;;;;:::i;:::-;;;;;;;;40312:16;;;;40331:1;40312:20;;;40308:81;;-1:-1:-1;40308:81:0;;40372:1;40353:16;;;:20;40308:81;40425:1;40407:10;:15;;;:19;;;40403:79;;;40465:1;40447:19;;40403:79;40555:21;;;;:13;:21;;;;;;;;;:34;;;;;;-1:-1:-1;;;;;40555:34:0;;;-1:-1:-1;;;40555:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;40606:13;;40602:1298;;40846:15;40829:10;:14;;;:32;40825:402;;;40976:11;;;;40962:25;;;;:::i;:::-;;;41028:10;:14;;;41010:10;:14;;;:32;41006:145;;41081:11;;;;41067:25;;;;:::i;:::-;;;41006:145;41183:14;;;;;41169:29;;;;:13;:29;;;;;;:42;;-1:-1:-1;;;;;;41169:42:0;-1:-1:-1;;;;;41169:42:0;;;;;40825:402;41264:15;41247:10;:14;;;:32;41243:344;;;41321:10;:14;;;41304:10;:14;;;:31;41300:209;;;41374:11;;;;41360:25;;;;:::i;:::-;41461:14;;;;;41447:29;;;;:13;:29;;;;;;:42;;-1:-1:-1;;;;;;41447:42:0;-1:-1:-1;;;;;41447:42:0;;;;;;-1:-1:-1;41300:209:0;41641:15;41659:26;;;:16;:26;;;;;;:30;;41688:1;41659:30;:::i;:::-;41641:48;;41735:10;41706:16;:26;41723:8;41706:26;;;;;;;;;;;:39;;;;41771:15;41760:5;:8;;:26;;;;;41813:12;41801:5;:9;;:24;;;;;41883:5;41840:18;:28;41859:8;41840:28;;;;;;;;;;;41869:10;41840:40;;;;;;;:::i;:::-;:48;;;;;;-1:-1:-1;;;;;41840:48:0;;;-1:-1:-1;;;41840:48:0;;;;:40;;;;;;;;;:48;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40602:1298:0;36170:5737;;;;;;;;;36025:5882;;;:::o;33336:501::-;33394:40;33413:10;33425:8;33394:18;:40::i;:::-;33386:85;;;;-1:-1:-1;;;33386:85:0;;23073:2:1;33386:85:0;;;23055:21:1;;;23092:18;;;23085:30;23151:34;23131:18;;;23124:62;23203:18;;33386:85:0;22871:356:1;33386:85:0;33484:18;18127:19;;;:9;:19;;;;;;-1:-1:-1;;;;;18127:19:0;;33562:29;;18127:19;33562:7;:29::i;:::-;33633:64;33653:21;33663:10;33653:9;:21::i;:::-;33684:1;33688:8;33633:19;:64::i;:::-;33733:38;33750:10;33762:8;33733:16;:38::i;:::-;33787:42;;33820:8;;33816:1;;-1:-1:-1;;;;;33787:42:0;;;;;33816:1;;33787:42;33375:462;33336:501;:::o;50558:531::-;50628:4;50659:26;;;:16;:26;;;;;;50700:11;;;50696:386;;50735:1;50728:8;;;;;50696:386;50769:23;50795:28;;;:18;:28;;;;;50824:6;50795:36;;;;;;;:::i;:::-;50769:62;;;;;;;;50795:36;;;;;;;;;50769:62;;;;;;;;-1:-1:-1;;;50769:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50891:34:0;;50898:2;50891:34;:::i;:::-;50865:10;:16;;;:61;;;;:::i;:::-;50846:80;;:10;;:80;;;;;:::i;:::-;;;;;;;;50945:15;;50963:1;50945:19;;;50941:79;;-1:-1:-1;50941:79:0;;51003:1;50985:19;;50941:79;51053:15;51046:23;;;-1:-1:-1;51034:36:0;;-1:-1:-1;51034:36:0;31173:426;31234:4;-1:-1:-1;;;;;31302:17:0;;31295:25;;;;:::i;:::-;31362:57;31390:1;31394:14;31404:3;31394:9;:14::i;31362:57::-;31492:26;31504:3;31509:8;31492:11;:26::i;:::-;31534:35;;31560:8;;-1:-1:-1;;;;;31534:35:0;;;31551:1;;31534:35;;31551:1;;31534:35;-1:-1:-1;31587:4:0;31173:426;;;;:::o;42250:1399::-;42530:6;;42484:14;;42558:22;42574:6;42530;42558:22;:::i;:::-;42549:6;:31;-1:-1:-1;;;;;;;;;;;;;;;;;42672:14:0;;42688:11;;;;;42653:14;;;42633:67;;;;;42793:40;;42825:6;;42672:7;;42793:40;;42825:6;;42793:40;:::i;:::-;;;;;-1:-1:-1;42848:16:0;;42844:74;;42881:11;;;:25;;;42844:74;42928:16;;;;:6;:16;;;;;;;;:26;;;;-1:-1:-1;;;;;;42928:26:0;-1:-1:-1;;;;;42928:26:0;;;;;;;;;;-1:-1:-1;42928:26:0;;;;43206:42;42928:16;43228:10;42928:26;43206:11;:42::i;:::-;43276:10;43301:11;;;;;:53;;-1:-1:-1;43332:22:0;43316:12;:38;;;;;;;;:::i;:::-;;;43301:53;:95;;;;-1:-1:-1;43374:22:0;43358:12;:38;;;;;;;;:::i;:::-;;;43301:95;43297:191;;;43420:55;;-1:-1:-1;;;43420:55:0;;-1:-1:-1;;;;;23894:15:1;;;43420:55:0;;;23876:34:1;43461:4:0;23926:18:1;;;23919:43;23978:18;;;23971:34;;;43427:5:0;43420:26;;;;23811:18:1;;43420:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;43413:63;;;;:::i;:::-;43537:7;:11;;;43513:4;-1:-1:-1;;;;;43505:75:0;;43519:8;43529:6;43550:12;43564:15;43505:75;;;;;;;;;:::i;:::-;;;;;;;;43596:45;43603:13;43618:22;43634:6;43603:13;43618:22;:::i;:::-;43596:45;;;11911:25:1;;;11967:2;11952:18;;11945:34;;;;11884:18;43596:45:0;;;;;;;42442:1207;;;;42250:1399;;;;;:::o;68727:441::-;68929:23;68955:20;68965:9;68955;:20::i;:::-;-1:-1:-1;;;;;68988:21:0;;;;;;;:10;:21;;;;;;:33;;-1:-1:-1;;;;;;68988:33:0;;;;;;;;;;69039:54;;68929:46;;-1:-1:-1;68988:33:0;69039:54;;;;;;68988:21;69039:54;69104:56;69122:9;69133:15;69150:9;69104:17;:56::i;44938:679::-;45025:4;;34394:7;;45062:32;45080:14;45062:15;:32;:::i;:::-;45061:41;;;;:::i;:::-;:48;;;;:::i;:::-;45042:67;;45176:1;45167:6;:10;45159:19;;;;;;45239:15;45225:11;:29;45217:80;;;;-1:-1:-1;;;45217:80:0;;;;;;;:::i;:::-;45331:25;34441:14;45331:15;:25;:::i;:::-;45316:11;:40;;45308:84;;;;-1:-1:-1;;;45308:84:0;;;;;;;:::i;:::-;45407:7;;45405:9;;;;;:::i;:::-;;;;-1:-1:-1;45441:7:0;;45459:20;45465:3;45441:7;45459:5;:20::i;:::-;-1:-1:-1;45536:16:0;;;;:6;:16;;;;;;;;;45492:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;45505:8;;45515:6;;45523:11;;45492:12;:91::i;:::-;45601:8;44938:679;-1:-1:-1;;;;;44938:679:0:o;54913:791::-;54984:4;55001:23;55027:5;55001:31;;55043:8;34394:7;;55055:10;:13;;;:20;;;;:::i;:::-;55054:29;;;;:::i;:::-;55043:40;;55099:6;55094:472;55115:3;55111:1;:7;55094:472;;;55140:11;34394:7;55140:11;;:::i;:::-;;;55166:14;55209:1;55203:3;:7;55199:124;;;55237:1;55231:7;;55199:124;;;-1:-1:-1;55289:18:0;;;;:13;:18;;;;;;;;55199:124;55395:13;;;;55389:19;;:3;:19;:::i;:::-;55356:10;:16;;;:54;;;;:::i;:::-;55337:73;;:10;;:73;;;;;:::i;:::-;;;;;-1:-1:-1;55429:8:0;;;55425:54;;55458:5;;;55425:54;55513:7;55493:10;:16;;:27;;;;;;;:::i;:::-;;;;;-1:-1:-1;;55535:13:0;;;:19;;;55120:3;;;:::i;:::-;;;55094:472;;;;55600:1;55582:10;:15;;;:19;;;55578:71;;;55636:1;55618:19;;55578:71;-1:-1:-1;55679:15:0;-1:-1:-1;;;;;55666:30:0;;54913:791;-1:-1:-1;;;54913:791:0:o;51744:1690::-;51820:4;51958:12;51948:6;:22;;51941:30;;;;:::i;:::-;52010:9;52046:26;;;:16;:26;;;;;;52010:9;52083:391;52104:3;52100:1;:7;52083:391;;;52199:4;52191;:12;52187:58;52224:5;52187:58;52259:9;52291:1;52272:11;52279:4;52272;:11;:::i;:::-;:15;;52286:1;52272:15;:::i;:::-;52271:21;;;;:::i;:::-;52311:28;;;;:18;:28;;;;;52259:33;;-1:-1:-1;52353:6:0;;52259:33;52311:34;;;;;;;:::i;:::-;;;;:38;;;:48;52307:156;;52387:4;52380:11;;52307:156;;;52439:8;52446:1;52439:4;:8;:::i;:::-;52432:15;;52307:156;-1:-1:-1;52109:3:0;;;:::i;:::-;;;52083:391;;;-1:-1:-1;52486:19:0;52508:28;;;:18;:28;;;;;52537:4;52508:34;;;;;;;:::i;:::-;52486:56;;;;;;;;52508:34;;;;;;;;;52486:56;;;;;;;;-1:-1:-1;;;52486:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52572:5;;52486:56;;-1:-1:-1;;52602:36:0;52620:6;52572:5;52602:17;:36::i;:::-;52649:20;52672:21;;;:13;:21;;;;;;;;52649:44;;;;;;;;;;;;;;;-1:-1:-1;;;52649:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52588:50;;-1:-1:-1;52649:20:0;52758:18;;;52754:311;;;52793:20;52816:13;52793:20;52830:10;:6;52839:1;52830:10;:::i;:::-;52816:25;;;;;;;;;;;;;;-1:-1:-1;52816:25:0;52793:48;;;;;;;;;;;;;;;-1:-1:-1;;;52793:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52880:11;;;52793:48;;-1:-1:-1;52866:25:0;;52880:11;52866:25;:::i;:::-;52856:35;;52925:7;:10;;;52912:7;:10;;;:23;;;;:::i;:::-;52906:29;;52778:169;52754:311;;;52993:11;;;;52978:26;;:12;:26;:::i;:::-;52968:36;;53043:7;:10;;;53025:15;:28;;;;:::i;:::-;53019:34;;52754:311;53093:10;;;;53118:12;;53114:99;;53194:7;53178;:11;;;53169:6;:20;;;;:::i;:::-;53162:28;;:3;:28;:::i;:::-;53161:40;;;;:::i;:::-;53147:54;;;;:::i;:::-;;;53114:99;53282:9;;;;53269:22;;:10;:22;:::i;:::-;53240:6;:12;;;:53;;;;:::i;:::-;53225:68;;:6;;:68;;;;;:::i;:::-;;;;;;;;53308:11;;53323:1;53308:16;;;;-1:-1:-1;53304:123:0;;-1:-1:-1;;53361:11:0;;-1:-1:-1;;;;;53348:26:0;;-1:-1:-1;53341:33:0;;-1:-1:-1;;;;;;53341:33:0;53304:123;53414:1;53407:8;;;;;;;;;;;;;49695:583;49774:4;;49853:9;49774:4;49873:376;49894:3;49890:1;:7;49873:376;;;49989:4;49981;:12;49977:58;50014:5;49977:58;50049:9;50081:1;50062:11;50069:4;50062;:11;:::i;:::-;:15;;50076:1;50062:15;:::i;:::-;50061:21;;;;:::i;:::-;50101:19;;;;:13;:19;;;;;:23;;;50049:33;;-1:-1:-1;50101:33:0;-1:-1:-1;50097:141:0;;50162:4;50155:11;;50097:141;;;50214:8;50221:1;50214:4;:8;:::i;:::-;50207:15;;50097:141;-1:-1:-1;49899:3:0;;;:::i;:::-;;;49873:376;;;-1:-1:-1;50266:4:0;;49695:583;-1:-1:-1;;;;49695:583:0:o;22366:324::-;22504:19;;;;:9;:19;;;;;;-1:-1:-1;;;;;22504:29:0;;;:19;;:29;22497:37;;;;:::i;:::-;22584:1;22549:23;;;:13;:23;;;;;;-1:-1:-1;;;;;22549:23:0;:37;22545:138;;22669:1;22635:23;;;:13;:23;;;;;:36;;-1:-1:-1;;;;;;22635:36:0;;;22545:138;22366:324;;:::o;32906:422::-;33044:19;;;;:9;:19;;;;;;-1:-1:-1;;;;;33044:28:0;;;:19;;:28;33037:36;;;;:::i;:::-;33143:1;33113:19;;;:9;:19;;;;;:32;;-1:-1:-1;;;;;;33113:32:0;;;33202:42;33228:5;33123:8;33202:25;:42::i;:::-;-1:-1:-1;;;;;33289:26:0;;;;;;:19;:26;;;;;:31;;33319:1;;33289:26;:31;;33319:1;;33289:31;:::i;:::-;;;;-1:-1:-1;;;;32906:422:0:o;63858:2026::-;64002:6;-1:-1:-1;;;;;63992:16:0;:6;-1:-1:-1;;;;;63992:16:0;;;:32;;;;;64023:1;64012:8;:12;63992:32;63988:1889;;;-1:-1:-1;;;;;64045:20:0;;;64041:837;;-1:-1:-1;;;;;64105:22:0;;64086:16;64105:22;;;:14;:22;;;;;;;;;64173:13;:135;;-1:-1:-1;;;;;64277:19:0;;;;;;:11;:19;;;;;;;;:22;;;;;;;;:31;;64173:135;;;-1:-1:-1;;;;;64210:19:0;;;;;;:11;:19;;;;;;64230:13;64242:1;64230:9;:13;:::i;:::-;64210:34;;;;;;;;;;;;;;;:43;;64173:135;64146:162;;64327:20;64350:34;64377:6;64350:26;:34::i;:::-;-1:-1:-1;;;;;64430:19:0;;64403:24;64430:19;;;:11;:19;;;;;;;;:74;;;;;;;;;;64327:57;;-1:-1:-1;64430:83:0;;;;;64581:223;64602:16;;64598:20;;64581:223;;;64648:8;64659:9;64669:1;64659:12;;;;;;;;:::i;:::-;;;;;;;;;64648:23;;64705:8;64698:3;:15;64694:91;;64742:19;;;;;;;-1:-1:-1;64742:19:0;;;;;;;;;;64694:91;-1:-1:-1;64620:3:0;;;;:::i;:::-;;;;64581:223;;;-1:-1:-1;64849:13:0;:9;64861:1;64849:13;:::i;:::-;-1:-1:-1;;;;;64824:22:0;;;;;;:14;:22;;;;;:38;;-1:-1:-1;;64824:38:0;;;;;;;;;;;;-1:-1:-1;;;;64041:837:0;-1:-1:-1;;;;;64898:20:0;;;64894:972;;-1:-1:-1;;;;;64958:22:0;;64939:16;64958:22;;;:14;:22;;;;;;;;;65026:13;:135;;-1:-1:-1;;;;;65130:19:0;;;;;;:11;:19;;;;;;;;:22;;;;;;;;:31;;65026:135;;;-1:-1:-1;;;;;65063:19:0;;;;;;:11;:19;;;;;;65083:13;65095:1;65083:9;:13;:::i;:::-;65063:34;;;;;;;;;;;;;;;:43;;65026:135;64999:162;;65180:20;65203:34;65230:6;65203:26;:34::i;:::-;-1:-1:-1;;;;;65283:19:0;;65256:24;65283:19;;;:11;:19;;;;;;;;:74;;;;;;;;;;65462:16;;65180:57;;-1:-1:-1;65283:83:0;;;;;60334:4;;65462:20;;:16;:20;:::i;:::-;:37;;65432:146;;;;-1:-1:-1;;;65432:146:0;;;;;;;:::i;:::-;65602:6;65597:152;65618:16;;65614:20;;65597:152;;;65664:8;65675:9;65685:1;65675:12;;;;;;;;:::i;:::-;;;;;;;;;;;;;65710:19;;;;;;;;;;;;;;;;-1:-1:-1;65636:3:0;;;;:::i;:::-;;;;65597:152;;;-1:-1:-1;65767:24:0;;;;;;;;-1:-1:-1;65767:24:0;;;;;;;;;;;;65837:13;;:9;;:13;:::i;:::-;-1:-1:-1;;;;;65812:22:0;;;;;;:14;:22;;;;;:38;;;;;;;-1:-1:-1;;65812:38:0;;;;;;;;;-1:-1:-1;;;;63858:2026:0;;;:::o;30431:402::-;30591:1;30560:19;;;:9;:19;;;;;;-1:-1:-1;;;;;30560:19:0;:33;30553:41;;;;:::i;:::-;30634:19;;;;:9;:19;;;;;;;;:25;;-1:-1:-1;;;;;;30634:25:0;-1:-1:-1;;;;;30634:25:0;;;;;;;;18477:27;;;:19;:27;;;;;;;;30211:20;:25;;;;;:40;;;;;;;;:51;;;30273:27;;;:17;:27;;;;;:43;;;;30796:24;;;;;;:29;;-1:-1:-1;;30634:19:0;30796:29;;-1:-1:-1;;30796:29:0;:::i;66368:2351::-;66564:6;-1:-1:-1;;;;;66554:16:0;:6;-1:-1:-1;;;;;66554:16:0;;66550:2162;;-1:-1:-1;;;;;66591:20:0;;;66587:862;;-1:-1:-1;;;;;66651:22:0;;66632:16;66651:22;;;:14;:22;;;;;;;;;66719:13;:135;;-1:-1:-1;;;;;66823:19:0;;;;;;:11;:19;;;;;;;;:22;;;;;;;;:31;;66719:135;;;-1:-1:-1;;;;;66756:19:0;;;;;;:11;:19;;;;;;66776:13;66788:1;66776:9;:13;:::i;:::-;66756:34;;;;;;;;;;;;;;;:43;;66719:135;66692:162;;66873:20;66896:34;66923:6;66896:26;:34::i;:::-;-1:-1:-1;;;;;66976:19:0;;66949:24;66976:19;;;:11;:19;;;;;;;;:74;;;;;;;;;;66873:57;;-1:-1:-1;66976:83:0;;;;;67139:236;67160:16;;67156:20;;67139:236;;;67206:8;67217:9;67227:1;67217:12;;;;;;;;:::i;:::-;;;;;;;;;;;;;67256:14;;;:9;:14;;;;;;;;67217:12;;-1:-1:-1;;;;;;67256:14:0;;;:28;;;;67252:104;;67313:19;;;;;;;-1:-1:-1;67313:19:0;;;;;;;;;;67252:104;-1:-1:-1;67178:3:0;;;;:::i;:::-;;;;67139:236;;;-1:-1:-1;67420:13:0;:9;67432:1;67420:13;:::i;:::-;-1:-1:-1;;;;;67395:22:0;;;;;;:14;:22;;;;;:38;;-1:-1:-1;;67395:38:0;;;;;;;;;;;;-1:-1:-1;;;;66587:862:0;-1:-1:-1;;;;;67469:20:0;;;67465:1236;;-1:-1:-1;;;;;67529:22:0;;67510:16;67529:22;;;:14;:22;;;;;;;;;67597:13;:135;;-1:-1:-1;;;;;67701:19:0;;;;;;:11;:19;;;;;;;;:22;;;;;;;;:31;;67597:135;;;-1:-1:-1;;;;;67634:19:0;;;;;;:11;:19;;;;;;67654:13;67666:1;67654:9;:13;:::i;:::-;67634:34;;;;;;;;;;;;;;;:43;;67597:135;67570:162;;67751:20;67774:34;67801:6;67774:26;:34::i;:::-;-1:-1:-1;;;;;67854:19:0;;;67827:24;67854:19;;;:11;:19;;;;;;;;:74;;;;;;;;;;67979:31;;;;;:19;:31;;;;;;68059:16;;67751:57;;-1:-1:-1;67854:83:0;;;;;60334:4;;68059:34;;67979:31;;68059:34;:::i;:::-;:51;;68029:160;;;;-1:-1:-1;;;68029:160:0;;;;;;;:::i;:::-;68246:6;68241:152;68262:16;;68258:20;;68241:152;;;68308:8;68319:9;68329:1;68319:12;;;;;;;;:::i;:::-;;;;;;;;;;;;;68354:19;;;;;;;;;;;;;;;;-1:-1:-1;68280:3:0;;;;:::i;:::-;;;;68241:152;;;;68458:6;68453:174;68474:15;68470:1;:19;68453:174;;;-1:-1:-1;;;;;68530:32:0;;68519:8;68530:32;;;:20;:32;;;;;;;;:35;;;;;;;;68588:19;;;;;;;;;;;;;;;;68563:1;68491:3;68563:1;68491:3;:::i;:::-;;;;68453:174;;;-1:-1:-1;68672:13:0;:9;68684:1;68672:13;:::i;:::-;-1:-1:-1;;;;;68647:22:0;;;;;;:14;:22;;;;;:38;;;;;;;-1:-1:-1;;68647:38:0;;;;;;;;;-1:-1:-1;;;;;66368:2351:0;;;:::o;31779:1013::-;-1:-1:-1;;;;;18477:27:0;;31883:18;18477:27;;;:19;:27;;;;;;31904:19;;31922:1;;31904:19;:::i;:::-;31934:18;31955:27;;;:17;:27;;;;;;31883:40;;-1:-1:-1;31999:30:0;;;31995:790;;-1:-1:-1;;;;;32090:27:0;;32135:1;32090:27;;;:20;:27;;;;;;;;:42;;;;;;;;:46;;;32192:27;;;:17;:27;;;;;:31;31995:790;;;-1:-1:-1;;;;;32275:27:0;;;;32256:16;32275:27;;;:20;:27;;;;;;;;:42;;;;;;;;;;;32398;;;;;;:56;;;32510:30;;:17;:30;;;;;;:46;;;;32640;;;;32742:27;;;;;:31;31779:1013::o;65892:468::-;-1:-1:-1;;;;;66086:23:0;;65995:6;66086:23;;;:14;:23;;;;;;66037:15;;66086:23;;66140:17;;;;;:97;;-1:-1:-1;;;;;;66174:20:0;;;;;;:11;:20;;;;;66227:10;;66195:17;66211:1;66195:13;:17;:::i;:::-;66174:39;;;;;;;;;;;;;-1:-1:-1;66174:39:0;:49;:63;66140:97;66122:231;;;66271:17;66287:1;66271:13;:17;:::i;196:131:1:-;-1:-1:-1;;;;;;270:32:1;;260:43;;250:71;;317:1;314;307:12;332:245;390:6;443:2;431:9;422:7;418:23;414:32;411:52;;;459:1;456;449:12;411:52;498:9;485:23;517:30;541:5;517:30;:::i;774:258::-;846:1;856:113;870:6;867:1;864:13;856:113;;;946:11;;;940:18;927:11;;;920:39;892:2;885:10;856:113;;;987:6;984:1;981:13;978:48;;;-1:-1:-1;;1022:1:1;1004:16;;997:27;774:258::o;1037:::-;1079:3;1117:5;1111:12;1144:6;1139:3;1132:19;1160:63;1216:6;1209:4;1204:3;1200:14;1193:4;1186:5;1182:16;1160:63;:::i;:::-;1277:2;1256:15;-1:-1:-1;;1252:29:1;1243:39;;;;1284:4;1239:50;;1037:258;-1:-1:-1;;1037:258:1:o;1300:220::-;1449:2;1438:9;1431:21;1412:4;1469:45;1510:2;1499:9;1495:18;1487:6;1469:45;:::i;1525:173::-;1593:20;;-1:-1:-1;;;;;1642:31:1;;1632:42;;1622:70;;1688:1;1685;1678:12;1622:70;1525:173;;;:::o;1703:254::-;1771:6;1779;1832:2;1820:9;1811:7;1807:23;1803:32;1800:52;;;1848:1;1845;1838:12;1800:52;1871:29;1890:9;1871:29;:::i;:::-;1861:39;1947:2;1932:18;;;;1919:32;;-1:-1:-1;;;1703:254:1:o;2159:180::-;2218:6;2271:2;2259:9;2250:7;2246:23;2242:32;2239:52;;;2287:1;2284;2277:12;2239:52;-1:-1:-1;2310:23:1;;2159:180;-1:-1:-1;2159:180:1:o;2552:186::-;2611:6;2664:2;2652:9;2643:7;2639:23;2635:32;2632:52;;;2680:1;2677;2670:12;2632:52;2703:29;2722:9;2703:29;:::i;2743:248::-;2811:6;2819;2872:2;2860:9;2851:7;2847:23;2843:32;2840:52;;;2888:1;2885;2878:12;2840:52;-1:-1:-1;;2911:23:1;;;2981:2;2966:18;;;2953:32;;-1:-1:-1;2743:248:1:o;3602:328::-;3679:6;3687;3695;3748:2;3736:9;3727:7;3723:23;3719:32;3716:52;;;3764:1;3761;3754:12;3716:52;3787:29;3806:9;3787:29;:::i;:::-;3777:39;;3835:38;3869:2;3858:9;3854:18;3835:38;:::i;:::-;3825:48;;3920:2;3909:9;3905:18;3892:32;3882:42;;3602:328;;;;;:::o;4320:127::-;4381:10;4376:3;4372:20;4369:1;4362:31;4412:4;4409:1;4402:15;4436:4;4433:1;4426:15;4452:275;4523:2;4517:9;4588:2;4569:13;;-1:-1:-1;;4565:27:1;4553:40;;4623:18;4608:34;;4644:22;;;4605:62;4602:88;;;4670:18;;:::i;:::-;4706:2;4699:22;4452:275;;-1:-1:-1;4452:275:1:o;4732:1016::-;4825:6;4833;4886:2;4874:9;4865:7;4861:23;4857:32;4854:52;;;4902:1;4899;4892:12;4854:52;4942:9;4929:23;4971:18;5012:2;5004:6;5001:14;4998:34;;;5028:1;5025;5018:12;4998:34;5066:6;5055:9;5051:22;5041:32;;5111:7;5104:4;5100:2;5096:13;5092:27;5082:55;;5133:1;5130;5123:12;5082:55;5169:2;5156:16;5191:4;5214:2;5210;5207:10;5204:36;;;5220:18;;:::i;:::-;5266:2;5263:1;5259:10;5249:20;;5289:28;5313:2;5309;5305:11;5289:28;:::i;:::-;5351:15;;;5421:11;;;5417:20;;;5382:12;;;;5449:19;;;5446:39;;;5481:1;5478;5471:12;5446:39;5505:11;;;;5525:142;5541:6;5536:3;5533:15;5525:142;;;5607:17;;5595:30;;5558:12;;;;5645;;;;5525:142;;;5686:5;5723:18;;;;5710:32;;-1:-1:-1;;;;;;;4732:1016:1:o;5753:118::-;5839:5;5832:13;5825:21;5818:5;5815:32;5805:60;;5861:1;5858;5851:12;5876:315;5941:6;5949;6002:2;5990:9;5981:7;5977:23;5973:32;5970:52;;;6018:1;6015;6008:12;5970:52;6041:29;6060:9;6041:29;:::i;:::-;6031:39;;6120:2;6109:9;6105:18;6092:32;6133:28;6155:5;6133:28;:::i;:::-;6180:5;6170:15;;;5876:315;;;;;:::o;6463:186::-;6511:4;6544:18;6536:6;6533:30;6530:56;;;6566:18;;:::i;:::-;-1:-1:-1;6632:2:1;6611:15;-1:-1:-1;;6607:29:1;6638:4;6603:40;;6463:186::o;6654:888::-;6749:6;6757;6765;6773;6826:3;6814:9;6805:7;6801:23;6797:33;6794:53;;;6843:1;6840;6833:12;6794:53;6866:29;6885:9;6866:29;:::i;:::-;6856:39;;6914:38;6948:2;6937:9;6933:18;6914:38;:::i;:::-;6904:48;;6999:2;6988:9;6984:18;6971:32;6961:42;;7054:2;7043:9;7039:18;7026:32;7081:18;7073:6;7070:30;7067:50;;;7113:1;7110;7103:12;7067:50;7136:22;;7189:4;7181:13;;7177:27;-1:-1:-1;7167:55:1;;7218:1;7215;7208:12;7167:55;7254:2;7241:16;7279:48;7295:31;7323:2;7295:31;:::i;:::-;7279:48;:::i;:::-;7350:2;7343:5;7336:17;7390:7;7385:2;7380;7376;7372:11;7368:20;7365:33;7362:53;;;7411:1;7408;7401:12;7362:53;7466:2;7461;7457;7453:11;7448:2;7441:5;7437:14;7424:45;7510:1;7505:2;7500;7493:5;7489:14;7485:23;7478:34;7531:5;7521:15;;;;;6654:888;;;;;;;:::o;7547:618::-;7649:6;7657;7665;7673;7681;7689;7742:3;7730:9;7721:7;7717:23;7713:33;7710:53;;;7759:1;7756;7749:12;7710:53;7782:29;7801:9;7782:29;:::i;:::-;7772:39;;7858:2;7847:9;7843:18;7830:32;7820:42;;7909:2;7898:9;7894:18;7881:32;7871:42;;7963:2;7952:9;7948:18;7935:32;8007:4;8000:5;7996:16;7989:5;7986:27;7976:55;;8027:1;8024;8017:12;7976:55;7547:618;;;;-1:-1:-1;7547:618:1;;8102:3;8087:19;;8074:33;;8154:3;8139:19;;;8126:33;;-1:-1:-1;7547:618:1;-1:-1:-1;;7547:618:1:o;8170:322::-;8247:6;8255;8263;8316:2;8304:9;8295:7;8291:23;8287:32;8284:52;;;8332:1;8329;8322:12;8284:52;8368:9;8355:23;8345:33;;8425:2;8414:9;8410:18;8397:32;8387:42;;8448:38;8482:2;8471:9;8467:18;8448:38;:::i;:::-;8438:48;;8170:322;;;;;:::o;8497:260::-;8565:6;8573;8626:2;8614:9;8605:7;8601:23;8597:32;8594:52;;;8642:1;8639;8632:12;8594:52;8665:29;8684:9;8665:29;:::i;:::-;8655:39;;8713:38;8747:2;8736:9;8732:18;8713:38;:::i;:::-;8703:48;;8497:260;;;;;:::o;8762:350::-;8829:6;8837;8890:2;8878:9;8869:7;8865:23;8861:32;8858:52;;;8906:1;8903;8896:12;8858:52;8929:29;8948:9;8929:29;:::i;:::-;8919:39;;9008:2;8997:9;8993:18;8980:32;9052:10;9045:5;9041:22;9034:5;9031:33;9021:61;;9078:1;9075;9068:12;9117:127;9178:10;9173:3;9169:20;9166:1;9159:31;9209:4;9206:1;9199:15;9233:4;9230:1;9223:15;9249:221;9288:4;9317:10;9377;;;;9347;;9399:12;;;9396:38;;;9414:18;;:::i;:::-;9451:13;;9249:221;-1:-1:-1;;;9249:221:1:o;9475:127::-;9536:10;9531:3;9527:20;9524:1;9517:31;9567:4;9564:1;9557:15;9591:4;9588:1;9581:15;9607:191;9646:1;9672:10;9709:2;9706:1;9702:10;9731:3;9721:37;;9738:18;;:::i;:::-;9776:10;;9772:20;;;;;9607:191;-1:-1:-1;;9607:191:1:o;9803:127::-;9864:10;9859:3;9855:20;9852:1;9845:31;9895:4;9892:1;9885:15;9919:4;9916:1;9909:15;9935:127;9996:10;9991:3;9987:20;9984:1;9977:31;10027:4;10024:1;10017:15;10051:4;10048:1;10041:15;10067:331;10269:2;10251:21;;;10308:1;10288:18;;;10281:29;-1:-1:-1;;;10341:2:1;10326:18;;10319:38;10389:2;10374:18;;10067:331::o;10754:125::-;10794:4;10822:1;10819;10816:8;10813:34;;;10827:18;;:::i;:::-;-1:-1:-1;10864:9:1;;10754:125::o;11163:245::-;11230:6;11283:2;11271:9;11262:7;11258:23;11254:32;11251:52;;;11299:1;11296;11289:12;11251:52;11331:9;11325:16;11350:28;11372:5;11350:28;:::i;11990:128::-;12030:3;12061:1;12057:6;12054:1;12051:13;12048:39;;;12067:18;;:::i;:::-;-1:-1:-1;12103:9:1;;11990:128::o;12123:135::-;12162:3;12183:17;;;12180:43;;12203:18;;:::i;:::-;-1:-1:-1;12250:1:1;12239:13;;12123:135::o;12263:402::-;12465:2;12447:21;;;12504:2;12484:18;;;12477:30;12543:34;12538:2;12523:18;;12516:62;-1:-1:-1;;;12609:2:1;12594:18;;12587:36;12655:3;12640:19;;12263:402::o;12670:355::-;12872:2;12854:21;;;12911:2;12891:18;;;12884:30;12950:33;12945:2;12930:18;;12923:61;13016:2;13001:18;;12670:355::o;13030:168::-;13070:7;13136:1;13132;13128:6;13124:14;13121:1;13118:21;13113:1;13106:9;13099:17;13095:45;13092:71;;;13143:18;;:::i;:::-;-1:-1:-1;13183:9:1;;13030:168::o;13203:120::-;13243:1;13269;13259:35;;13274:18;;:::i;:::-;-1:-1:-1;13308:9:1;;13203:120::o;13679:400::-;13881:2;13863:21;;;13920:2;13900:18;;;13893:30;13959:34;13954:2;13939:18;;13932:62;-1:-1:-1;;;14025:2:1;14010:18;;14003:34;14069:3;14054:19;;13679:400::o;15131:489::-;-1:-1:-1;;;;;15400:15:1;;;15382:34;;15452:15;;15447:2;15432:18;;15425:43;15499:2;15484:18;;15477:34;;;15547:3;15542:2;15527:18;;15520:31;;;15325:4;;15568:46;;15594:19;;15586:6;15568:46;:::i;15625:249::-;15694:6;15747:2;15735:9;15726:7;15722:23;15718:32;15715:52;;;15763:1;15760;15753:12;15715:52;15795:9;15789:16;15814:30;15838:5;15814:30;:::i;20414:635::-;20494:6;20547:2;20535:9;20526:7;20522:23;20518:32;20515:52;;;20563:1;20560;20553:12;20515:52;20596:9;20590:16;20629:18;20621:6;20618:30;20615:50;;;20661:1;20658;20651:12;20615:50;20684:22;;20737:4;20729:13;;20725:27;-1:-1:-1;20715:55:1;;20766:1;20763;20756:12;20715:55;20795:2;20789:9;20820:48;20836:31;20864:2;20836:31;:::i;20820:48::-;20891:2;20884:5;20877:17;20931:7;20926:2;20921;20917;20913:11;20909:20;20906:33;20903:53;;;20952:1;20949;20942:12;20903:53;20965:54;21016:2;21011;21004:5;21000:14;20995:2;20991;20987:11;20965:54;:::i;21054:305::-;21093:1;21135;21131:2;21120:17;21172:1;21168:2;21157:17;21193:3;21183:37;;21200:18;;:::i;:::-;-1:-1:-1;;;;;;21236:48:1;;-1:-1:-1;;21286:15:1;;21232:70;21229:96;;;21305:18;;:::i;:::-;21339:14;;;21054:305;-1:-1:-1;;;21054:305:1:o;21364:698::-;21403:7;21451:1;21447:2;21436:17;21488:1;21484:2;21473:17;-1:-1:-1;;;;;21571:1:1;21566:3;21562:11;21601:1;21596:3;21592:11;21648:3;21644:2;21640:12;21635:3;21632:21;21627:2;21623;21619:11;21615:39;21612:65;;;21657:18;;:::i;:::-;-1:-1:-1;;;;;;21763:1:1;21754:11;;21781;;;21803:13;;;21794:23;;21777:41;21774:67;;;21821:18;;:::i;:::-;21869:1;21864:3;21860:11;21850:21;;21918:3;21914:2;21909:13;21904:3;21900:23;21895:2;21891;21887:11;21883:41;21880:67;;;21927:18;;:::i;:::-;21994:3;21990:2;21985:13;21980:3;21976:23;21971:2;21967;21963:11;21959:41;21956:67;;;22003:18;;:::i;:::-;-1:-1:-1;;;22043:13:1;;;;;21364:698;-1:-1:-1;;;;;21364:698:1:o;22067:398::-;22106:4;22151:1;22147:2;22136:17;22188:1;22184:2;22173:17;22218:1;22213:3;22209:11;22302:3;-1:-1:-1;;;;;22261:39:1;22257:49;22252:3;22248:59;22243:2;22236:10;22232:76;22229:102;;;22311:18;;:::i;:::-;22400:3;-1:-1:-1;;;;;22360:44:1;22355:3;22351:54;22347:2;22343:63;22340:89;;;22409:18;;:::i;:::-;-1:-1:-1;22446:13:1;;;22067:398;-1:-1:-1;;;22067:398:1:o;22470:396::-;22509:3;22553:1;22549:2;22538:17;22590:1;22586:2;22575:17;22620:1;22615:3;22611:11;22699:3;-1:-1:-1;;;;;22659:44:1;22654:3;22650:54;22645:2;22638:10;22634:71;22631:97;;;22708:18;;:::i;:::-;22802:3;-1:-1:-1;;;;;22761:39:1;22757:49;22752:3;22748:59;22744:2;22740:68;22737:94;;;22811:18;;:::i;:::-;-1:-1:-1;22847:13:1;;22470:396;-1:-1:-1;;;22470:396:1:o;23232:267::-;23271:4;23300:9;;;23325:10;;-1:-1:-1;;;23344:19:1;;23337:27;;23321:44;23318:70;;;23368:18;;:::i;:::-;-1:-1:-1;;;;;23415:27:1;;23408:35;;23400:44;;23397:70;;;23447:18;;:::i;:::-;-1:-1:-1;;23484:9:1;;23232:267::o;23504:127::-;23565:10;23560:3;23556:20;23553:1;23546:31;23596:4;23593:1;23586:15;23620:4;23617:1;23610:15;24016:557;24260:25;;;24316:2;24301:18;;24294:34;;;24247:3;24232:19;;24358:1;24347:13;;24337:144;;24403:10;24398:3;24394:20;24391:1;24384:31;24438:4;24435:1;24428:15;24466:4;24463:1;24456:15;24337:144;24512:2;24497:18;;24490:34;;;;24555:2;24540:18;24533:34;24016:557;;-1:-1:-1;;24016:557:1:o;24578:228::-;24617:3;24645:10;24682:2;24679:1;24675:10;24712:2;24709:1;24705:10;24743:3;24739:2;24735:12;24730:3;24727:21;24724:47;;;24751:18;;:::i;:::-;24787:13;;24578:228;-1:-1:-1;;;;24578:228:1:o;24811:399::-;25013:2;24995:21;;;25052:2;25032:18;;;25025:30;25091:34;25086:2;25071:18;;25064:62;-1:-1:-1;;;25157:2:1;25142:18;;25135:33;25200:3;25185:19;;24811:399::o

Swarm Source

ipfs://06fdbc727293177ecceedbf4bfc182d923f97f066406673d2b96079fcbf4fa6f

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ 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.