ETH Price: $3,110.84 (+0.12%)

Token

lien (LIEN)
 

Overview

Max Total Supply

1,000,000 LIEN

Holders

1,486 (0.00%)

Market

Price

$0.21 @ 0.000068 ETH (-3.83%)

Onchain Market Cap

$210,607.00

Circulating Supply Market Cap

$74,577.00

Other Info

Token Contract (WITH 8 Decimals)

Balance
83.71 LIEN

Value
$17.63 ( ~0.0056672713314241 Eth) [0.0084%]
0x3C6d417DCCBaDfE582603C14970D74b2F5149983
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Lien is a simple and elegant protocol that allows anyone to create a unique derivative contract.

Market

Volume (24H):$166.06
Market Capitalization:$74,577.00
Circulating Supply:354,874.00 LIEN
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
LienToken

Compiler Version
v0.6.5+commit.f956cc89

Optimization Enabled:
Yes with 20000 runs

Other Settings:
constantinople EvmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-08-11
*/

// File: @openzeppelin/contracts/math/Math.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow, so we distribute
        return (a / 2) + (b / 2) + (((a % 2) + (b % 2)) / 2);
    }
}

// File: @openzeppelin/contracts/math/SafeMath.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount)
        external
        returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
}

// File: @openzeppelin/contracts/utils/Address.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;

            bytes32 accountHash
         = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(
            address(this).balance >= amount,
            "Address: insufficient balance"
        );

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{value: amount}("");
        require(
            success,
            "Address: unable to send value, recipient may have reverted"
        );
    }
}

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.transfer.selector, to, value)
        );
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(
                token.transferFrom.selector,
                from,
                to,
                value
            )
        );
    }

    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.approve.selector, spender, value)
        );
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(
            value
        );
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(
                token.approve.selector,
                spender,
                newAllowance
            )
        );
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(
            value,
            "SafeERC20: decreased allowance below zero"
        );
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(
                token.approve.selector,
                spender,
                newAllowance
            )
        );
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(
            address(token).isContract(),
            "SafeERC20: call to non-contract"
        );

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(
                abi.decode(returndata, (bool)),
                "SafeERC20: ERC20 operation did not succeed"
            );
        }
    }
}

// File: @openzeppelin/contracts/GSN/Context.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

    function _msgSender() internal virtual view returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal virtual view returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20MinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public override view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account)
        public
        override
        view
        returns (uint256)
    {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender)
        public
        virtual
        override
        view
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].add(addedValue)
        );
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        virtual
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "ERC20: decreased allowance below zero"
            )
        );
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(
            recipient != address(0),
            "ERC20: transfer to the zero address"
        );

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(
            amount,
            "ERC20: transfer amount exceeds balance"
        );
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(
            amount,
            "ERC20: burn amount exceeds balance"
        );
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// File: contracts/ERC20Vestable.sol

pragma solidity 0.6.5;

/**
 * @notice Vestable ERC20 Token.
 * One beneficiary can have multiple grants.
 * Grants for one beneficiary are identified by unique ids from 1.
 * When some tokens are deposited to a grant, the tokens are transferred from the depositor to the beneficiary.
 * Tokens deposited to a grant become gradually spendable along with the elapsed time.
 * One grant has its unique start time and end time.
 * The vesting of the grant is directly proportionally to the elapsed time since the start time.
 * At the end time, all the tokens of the grant is finally vested.
 * When the beneficiary claims the vested tokens, the tokens become spendable.
 * You can additionally deposit tokens to the already started grants to increase the amount vested.
 * In such a case, some part of the tokens immediately become vested proportionally to the elapsed time since the start time.
 */
abstract contract ERC20Vestable is ERC20 {
    using SafeMath for uint256;

    struct Grant {
        uint256 amount; // total of deposited tokens to the grant
        uint256 claimed; // total of claimed vesting of the grant
        uint128 startTime; // the time when the grant starts
        uint128 endTime; // the time when the grant ends
    }

    // account => Grant[]
    mapping(address => Grant[]) private grants;

    // account => amount
    mapping(address => uint256) private remainingGrants;

    /**
     * @notice Sum of not yet claimed grants.
     * It includes already vested but not claimed grants.
     */
    uint256 public totalRemainingGrants;

    event CreateGrant(
        address indexed beneficiary,
        uint256 indexed id,
        address indexed creator,
        uint256 endTime
    );
    event DepositToGrant(
        address indexed beneficiary,
        uint256 indexed id,
        address indexed depositor,
        uint256 amount
    );
    event ClaimVestedTokens(address beneficiary, uint256 id, uint256 amount);

    modifier spendable(address account, uint256 amount) {
        require(
            balanceOf(account).sub(remainingGrants[account]) >= amount,
            "transfer amount exceeds spendable balance"
        );
        _;
    }

    /**
     * @notice Creates new grant and starts it.
     * @param beneficiary recipient of vested tokens of the grant.
     * @param endTime Time at which all the tokens of the grant will be vested.
     * @return id of the grant.
     */
    function createGrant(address beneficiary, uint256 endTime)
        public
        returns (uint256)
    {
        require(endTime > now, "endTime is before now");
        Grant memory g = Grant(0, 0, uint128(now), uint128(endTime));
        address creator = msg.sender;
        grants[beneficiary].push(g);
        uint256 id = grants[beneficiary].length;
        emit CreateGrant(beneficiary, id, creator, endTime);
        return id;
    }

    /**
     * @notice Deposits tokens to grant.
     * @param beneficiary recipient of vested tokens of the grant.
     * @param id id of the grant.
     * @param amount amount of tokens.
     */
    function depositToGrant(
        address beneficiary,
        uint256 id,
        uint256 amount
    ) public {
        Grant storage g = _getGrant(beneficiary, id);
        address depositor = msg.sender;
        _transfer(depositor, beneficiary, amount);
        g.amount = g.amount.add(amount);
        remainingGrants[beneficiary] = remainingGrants[beneficiary].add(
            amount
        );
        totalRemainingGrants = totalRemainingGrants.add(amount);
        emit DepositToGrant(beneficiary, id, depositor, amount);
    }

    /**
     * @notice Claims spendable vested tokens of the grant which are vested after the last claiming.
     * @param beneficiary recipient of vested tokens of the grant.
     * @param id id of the grant.
     */
    function claimVestedTokens(address beneficiary, uint256 id) public {
        Grant storage g = _getGrant(beneficiary, id);
        uint256 amount = _vestedAmount(g);
        require(amount != 0, "vested amount is zero");
        uint256 newClaimed = g.claimed.add(amount);
        g.claimed = newClaimed;
        remainingGrants[beneficiary] = remainingGrants[beneficiary].sub(
            amount
        );
        totalRemainingGrants = totalRemainingGrants.sub(amount);
        if (newClaimed == g.amount) {
            _deleteGrant(beneficiary, id);
        }
        emit ClaimVestedTokens(beneficiary, id, amount);
    }

    /**
     * @notice Returns the last id of grant of `beneficiary`.
     * If `beneficiary` does not have any grant, returns `0`.
     */
    function getLastGrantID(address beneficiary)
        public
        view
        returns (uint256)
    {
        return grants[beneficiary].length;
    }

    /**
     * @notice Returns information of grant
     * @param beneficiary recipient of vested tokens of the grant.
     * @param id id of the grant.
     * @return amount is the total of deposited tokens
     * @return claimed is the total of already claimed spendable tokens.
     * @return  vested is the amount of vested and not claimed tokens.
     * @return startTime is the start time of grant.
     * @return  endTime is the end time time of grant.
     */
    function getGrant(address beneficiary, uint256 id)
        public
        view
        returns (
            uint256 amount,
            uint256 claimed,
            uint256 vested,
            uint256 startTime,
            uint256 endTime
        )
    {
        Grant memory g = _getGrant(beneficiary, id);
        amount = g.amount;
        claimed = g.claimed;
        vested = _vestedAmount(g);
        startTime = g.startTime;
        endTime = g.endTime;
    }

    /**
     * @notice Returns sum of not yet claimed tokens of `account`
     * It includes already vested but not claimed grants.
     */
    function remainingGrantOf(address account) public view returns (uint256) {
        return remainingGrants[account];
    }

    /**
     * @dev When `amount` exceeds spendable balance, it reverts.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override spendable(from, amount) {
        super._transfer(from, to, amount);
    }

    function _deleteGrant(address beneficiary, uint256 id) private {
        delete grants[beneficiary][id - 1];
    }

    function _getGrant(address beneficiary, uint256 id)
        private
        view
        returns (Grant storage)
    {
        require(id != 0, "0 is invalid as id");
        id = id - 1;
        require(id < grants[beneficiary].length, "grant does not exist");
        Grant storage g = grants[beneficiary][id];
        // check if the grant is deleted
        require(
            g.endTime != 0,
            "cannot get grant which is already claimed entirely"
        );
        return g;
    }

    /**
     * @dev Returns tokens that were vested after the last claiming.
     */
    function _vestedAmount(Grant memory g) private view returns (uint256) {
        uint256 n = now;
        if (g.endTime > n) {
            uint256 elapsed = n - g.startTime;
            uint256 duration = g.endTime - g.startTime;
            return g.amount.mul(elapsed).div(duration).sub(g.claimed);
        }
        return g.amount.sub(g.claimed);
    }
}

// File: @openzeppelin/contracts/utils/Arrays.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
    /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * `array` is expected to be sorted in ascending order, and to contain no
     * repeated elements.
     */
    function findUpperBound(uint256[] storage array, uint256 element)
        internal
        view
        returns (uint256)
    {
        if (array.length == 0) {
            return 0;
        }

        uint256 low = 0;
        uint256 high = array.length;

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds down (it does integer division with truncation).
            if (array[mid] > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && array[low - 1] == element) {
            return low - 1;
        } else {
            return low;
        }
    }
}

// File: @openzeppelin/contracts/utils/Counters.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
 * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
 * directly accessed.
 */
library Counters {
    using SafeMath for uint256;

    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        // The {SafeMath} overflow check can be skipped here, see the comment at the top
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}

// File: @openzeppelin/contracts/token/ERC20/ERC20Snapshot.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev This contract extends an ERC20 token with a snapshot mechanism. When a snapshot is created, the balances and
 * total supply at the time are recorded for later access.
 *
 * This can be used to safely create mechanisms based on token balances such as trustless dividends or weighted voting.
 * In naive implementations it's possible to perform a "double spend" attack by reusing the same balance from different
 * accounts. By using snapshots to calculate dividends or voting power, those attacks no longer apply. It can also be
 * used to create an efficient ERC20 forking mechanism.
 *
 * Snapshots are created by the internal {_snapshot} function, which will emit the {Snapshot} event and return a
 * snapshot id. To get the total supply at the time of a snapshot, call the function {totalSupplyAt} with the snapshot
 * id. To get the balance of an account at the time of a snapshot, call the {balanceOfAt} function with the snapshot id
 * and the account address.
 *
 * ==== Gas Costs
 *
 * Snapshots are efficient. Snapshot creation is _O(1)_. Retrieval of balances or total supply from a snapshot is _O(log
 * n)_ in the number of snapshots that have been created, although _n_ for a specific account will generally be much
 * smaller since identical balances in subsequent snapshots are stored as a single entry.
 *
 * There is a constant overhead for normal ERC20 transfers due to the additional snapshot bookkeeping. This overhead is
 * only significant for the first transfer that immediately follows a snapshot for a particular account. Subsequent
 * transfers will have normal cost until the next snapshot, and so on.
 */
abstract contract ERC20Snapshot is ERC20 {
    // Inspired by Jordi Baylina's MiniMeToken to record historical balances:
    // https://github.com/Giveth/minimd/blob/ea04d950eea153a04c51fa510b068b9dded390cb/contracts/MiniMeToken.sol

    using SafeMath for uint256;
    using Arrays for uint256[];
    using Counters for Counters.Counter;

    // Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a
    // Snapshot struct, but that would impede usage of functions that work on an array.
    struct Snapshots {
        uint256[] ids;
        uint256[] values;
    }

    mapping(address => Snapshots) private _accountBalanceSnapshots;
    Snapshots private _totalSupplySnapshots;

    // Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid.
    Counters.Counter private _currentSnapshotId;

    /**
     * @dev Emitted by {_snapshot} when a snapshot identified by `id` is created.
     */
    event Snapshot(uint256 id);

    /**
     * @dev Creates a new snapshot and returns its snapshot id.
     *
     * Emits a {Snapshot} event that contains the same id.
     *
     * {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a
     * set of accounts, for example using {AccessControl}, or it may be open to the public.
     *
     * [WARNING]
     * ====
     * While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking,
     * you must consider that it can potentially be used by attackers in two ways.
     *
     * First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow
     * logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target
     * specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs
     * section above.
     *
     * We haven't measured the actual numbers; if this is something you're interested in please reach out to us.
     * ====
     */
    function _snapshot() internal virtual returns (uint256) {
        _currentSnapshotId.increment();

        uint256 currentId = _currentSnapshotId.current();
        emit Snapshot(currentId);
        return currentId;
    }

    /**
     * @dev Retrieves the balance of `account` at the time `snapshotId` was created.
     */
    function balanceOfAt(address account, uint256 snapshotId)
        public
        view
        returns (uint256)
    {
        (bool snapshotted, uint256 value) = _valueAt(
            snapshotId,
            _accountBalanceSnapshots[account]
        );

        return snapshotted ? value : balanceOf(account);
    }

    /**
     * @dev Retrieves the total supply at the time `snapshotId` was created.
     */
    function totalSupplyAt(uint256 snapshotId) public view returns (uint256) {
        (bool snapshotted, uint256 value) = _valueAt(
            snapshotId,
            _totalSupplySnapshots
        );

        return snapshotted ? value : totalSupply();
    }

    // _transfer, _mint and _burn are the only functions where the balances are modified, so it is there that the
    // snapshots are updated. Note that the update happens _before_ the balance change, with the pre-modified value.
    // The same is true for the total supply and _mint and _burn.
    function _transfer(
        address from,
        address to,
        uint256 value
    ) internal virtual override {
        _updateAccountSnapshot(from);
        _updateAccountSnapshot(to);

        super._transfer(from, to, value);
    }

    function _mint(address account, uint256 value) internal virtual override {
        _updateAccountSnapshot(account);
        _updateTotalSupplySnapshot();

        super._mint(account, value);
    }

    function _burn(address account, uint256 value) internal virtual override {
        _updateAccountSnapshot(account);
        _updateTotalSupplySnapshot();

        super._burn(account, value);
    }

    function _valueAt(uint256 snapshotId, Snapshots storage snapshots)
        private
        view
        returns (bool, uint256)
    {
        require(snapshotId > 0, "ERC20Snapshot: id is 0");
        // solhint-disable-next-line max-line-length
        require(
            snapshotId <= _currentSnapshotId.current(),
            "ERC20Snapshot: nonexistent id"
        );

        // When a valid snapshot is queried, there are three possibilities:
        //  a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never
        //  created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds
        //  to this id is the current one.
        //  b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the
        //  requested id, and its value is the one to return.
        //  c) More snapshots were created after the requested one, and the queried value was later modified. There will be
        //  no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is
        //  larger than the requested one.
        //
        // In summary, we need to find an element in an array, returning the index of the smallest value that is larger if
        // it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does
        // exactly this.

        uint256 index = snapshots.ids.findUpperBound(snapshotId);

        if (index == snapshots.ids.length) {
            return (false, 0);
        } else {
            return (true, snapshots.values[index]);
        }
    }

    function _updateAccountSnapshot(address account) private {
        _updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account));
    }

    function _updateTotalSupplySnapshot() private {
        _updateSnapshot(_totalSupplySnapshots, totalSupply());
    }

    function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue)
        private
    {
        uint256 currentId = _currentSnapshotId.current();
        if (_lastSnapshotId(snapshots.ids) < currentId) {
            snapshots.ids.push(currentId);
            snapshots.values.push(currentValue);
        }
    }

    function _lastSnapshotId(uint256[] storage ids)
        private
        view
        returns (uint256)
    {
        if (ids.length == 0) {
            return 0;
        } else {
            return ids[ids.length - 1];
        }
    }
}

// File: contracts/ERC20RegularlyRecord.sol

pragma solidity 0.6.5;

/**
 * @dev This contract extends an ERC20Snapshot token, which extends ERC20 and has a snapshot mechanism.
 * When a snapshot is created, the balances and the total supply (state) at the time are recorded for later accesses.
 *
 * This contract records states at regular intervals.
 * When the first transferring, minting, or burning on the term occurring, snapshot is taken to record the state at the end of the previous term.
 * If no action occurs on the next term of one term, state at the end of the term is not snapshotted, but the state is same as the one at the end of next term of it.
 * So, in that case, accessing to the state at the end of the term is internally solved by referencing to the snapshot taken after it has ended.
 * If no action occurs after one term, state at the end of the term is same as the current state and Accessing to the state is solved by referencing the current state.
 */
abstract contract ERC20RegularlyRecord is ERC20Snapshot {
    using SafeMath for uint256;

    /**
     * @dev Interval of records in seconds.
     */
    uint256 public immutable interval;

    /**
     * @dev Starting Time of the first term.
     */
    uint256 public immutable initialTime;

    // term => snapshotId
    mapping(uint256 => uint256) private snapshotsOfTermEnd;

    modifier termValidation(uint256 _term) {
        require(_term != 0, "0 is invalid value as term");
        _;
    }

    /**
     * @param _interval Interval of records in seconds.
     * The first term starts when this contract is constructed.
     */
    constructor(uint256 _interval) public {
        interval = _interval;
        initialTime = now;
    }

    /**
     * @notice Returns term of `time`.
     * The first term is 1, After one interval, the term becomes 2.
     * Term of time T is calculated by the following formula
     * (T - initialTime)/interval + 1
     */
    function termOfTime(uint256 time) public view returns (uint256) {
        return time.sub(initialTime, "time is invalid").div(interval).add(1);
    }

    /**
     * @notice Returns the current term.
     */
    function currentTerm() public view returns (uint256) {
        return termOfTime(now);
    }

    /**
     * @notice Returns when `term` starts.
     * @param term > 0
     */
    function startOfTerm(uint256 term)
        public
        view
        termValidation(term)
        returns (uint256)
    {
        return initialTime.add(term.sub(1).mul(interval));
    }

    /**
     * @notice Returns when `term` ends.
     * @param term > 0
     */
    function endOfTerm(uint256 term)
        public
        view
        termValidation(term)
        returns (uint256)
    {
        return initialTime.add(term.mul(interval)).sub(1);
    }

    /**
     * @notice Retrieves the balance of `account` at the end of the `term`
     */
    function balanceOfAtTermEnd(address account, uint256 term)
        public
        view
        termValidation(term)
        returns (uint256)
    {
        uint256 _currentTerm = currentTerm();
        for (uint256 i = term; i < _currentTerm; i++) {
            if (_isSnapshottedOnTermEnd(i)) {
                return balanceOfAt(account, snapshotsOfTermEnd[i]);
            }
        }
        return balanceOf(account);
    }

    /**
     * @notice Retrieves the total supply at the end of the `term`
     */
    function totalSupplyAtTermEnd(uint256 term)
        public
        view
        termValidation(term)
        returns (uint256)
    {
        uint256 _currentTerm = currentTerm();
        for (uint256 i = term; i < _currentTerm; i++) {
            if (_isSnapshottedOnTermEnd(i)) {
                return totalSupplyAt(snapshotsOfTermEnd[i]);
            }
        }
        return totalSupply();
    }

    function _transfer(
        address from,
        address to,
        uint256 value
    ) internal virtual override {
        _snapshotOnTermEnd();
        super._transfer(from, to, value);
    }

    function _mint(address account, uint256 value) internal virtual override {
        _snapshotOnTermEnd();
        super._mint(account, value);
    }

    function _burn(address account, uint256 value) internal virtual override {
        _snapshotOnTermEnd();
        super._burn(account, value);
    }

    /**
     * @dev Takes a snapshot before the first transferring, minting or burning on the term.
     * If snapshot is not taken after the last term ended, take a snapshot to record states at the end of the last term.
     */
    function _snapshotOnTermEnd() private {
        uint256 _currentTerm = currentTerm();
        if (_currentTerm > 1 && !_isSnapshottedOnTermEnd(_currentTerm - 1)) {
            snapshotsOfTermEnd[_currentTerm - 1] = _snapshot();
        }
    }

    /**
     * @dev Returns `true` if snapshot was already taken to record states at the end of the `term`.
     * If it's not, snapshotOfTermEnd[`term`] is 0 as the default value.
     */
    function _isSnapshottedOnTermEnd(uint256 term)
        private
        view
        returns (bool)
    {
        return snapshotsOfTermEnd[term] != 0;
    }
}

// File: contracts/LienToken.sol

pragma solidity 0.6.5;

/**
 * @notice ERC20 Token with dividend mechanism.
 * It accepts ether and ERC20 tokens as assets for profit, and distributes them to the token holders pro rata to their shares.
 * Total profit and dividends of each holders are settled regularly at the pre specified interval.
 * Even after moving tokens, the holders keep the right to receive already settled dividends because this contract records states(the balances of accounts and the total supply of token) at the moment of settlement.
 * There is a pre specified length of period for right to receive dividends.
 * When the period expires, unreceived dividends are carried over to a new term and distributed to the holders on the new term.
 * It also have token vesting mechanism.
 * The beneficiary of the grant cannot transfer the granted token before vested, but can earn dividends for the granted tokens.
 */
contract LienToken is ERC20RegularlyRecord, ERC20Vestable {
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    address public constant ETH_ADDRESS = address(0);

    // Profit and paid balances of a certain asset.
    struct Balances {
        uint256 profit;
        uint256 paid;
    }

    // Expiration term number for the right to receive dividends.
    uint256 public immutable expiration;

    // account address => token => term
    mapping(address => mapping(address => uint256)) public lastTokenReceived;

    // term => token => balances
    mapping(uint256 => mapping(address => Balances)) private balancesMap;

    event SettleProfit(
        address indexed token,
        uint256 indexed term,
        uint256 amount
    );
    event ReceiveDividend(
        address indexed token,
        address indexed recipient,
        uint256 amount
    );

    /**
     * @param _interval Length of a term in second
     * @param _expiration Number of term for expiration
     * @param totalSupply Total supply of this token
     **/
    constructor(
        uint256 _interval,
        uint256 _expiration,
        uint256 totalSupply
    ) public ERC20RegularlyRecord(_interval) ERC20("lien", "LIEN") {
        _setupDecimals(8);
        ERC20._mint(msg.sender, totalSupply);
        expiration = _expiration;
    }

    // solhint-disable-next-line no-empty-blocks
    receive() external payable {}

    /**
     * @notice Recognizes the unsettled profit in the form of token occurred in the current term.
     * Carried over dividends are also counted.
     */
    function settleProfit(address token) external {
        uint256 amount = unsettledProfit(token);
        uint256 currentTerm = currentTerm();
        Balances storage b = balancesMap[currentTerm][token];
        uint256 newProfit = b.profit.add(amount);
        b.profit = newProfit;
        emit SettleProfit(token, currentTerm, newProfit);
    }

    /**
     * @notice Receives all the valid dividends in the form of token.
     * @param recipient recipient of dividends.
     */
    function receiveDividend(address token, address recipient) external {
        uint256 i;
        uint256 total;
        uint256 divAt;
        uint256 currentTerm = currentTerm();
        for (
            i = Math.max(
                _oldestValidTerm(),
                lastTokenReceived[recipient][token]
            );
            i < currentTerm;
            i++
        ) {
            divAt = dividendAt(token, recipient, i);
            balancesMap[i][token].paid = balancesMap[i][token].paid.add(divAt);
            total = total.add(divAt);
        }
        lastTokenReceived[recipient][token] = i;
        emit ReceiveDividend(token, recipient, total);
        if (token == ETH_ADDRESS) {
            (bool success, ) = recipient.call{value: total}("");
            require(success, "transfer failed");
        } else {
            IERC20(token).safeTransfer(recipient, total);
        }
    }

    /**
     * @notice Returns settled profit in the form of `token` on `term`.
     */
    function profitAt(address token, uint256 term)
        public
        view
        returns (uint256)
    {
        return balancesMap[term][token].profit;
    }

    /**
     * @notice Returns the balance of already-paid dividends in `token` on `term`.
     */
    function paidAt(address token, uint256 term)
        public
        view
        returns (uint256)
    {
        return balancesMap[term][token].paid;
    }

    /**
     * @notice Returns the balance of dividends in `token` on `term` to `account`.
     */
    function dividendAt(
        address token,
        address account,
        uint256 term
    ) public view returns (uint256) {
        return
            _dividend(
                profitAt(token, term),
                balanceOfAtTermEnd(account, term),
                totalSupply()
            );
    }

    /**
     * @notice Returns the balance of unrecognized profit in `token`.
     * It includes carried over dividends.
     */
    function unsettledProfit(address token) public view returns (uint256) {
        uint256 remain;
        uint256 tokenBalance;
        uint256 currentTerm = currentTerm();
        for (uint256 i = _oldestValidTerm(); i <= currentTerm; i++) {
            Balances memory b = balancesMap[i][token];
            uint256 remainAt = b.profit.sub(b.paid);
            remain = remain.add(remainAt);
        }
        if (token == ETH_ADDRESS) {
            tokenBalance = address(this).balance;
        } else {
            tokenBalance = IERC20(token).balanceOf(address(this));
        }
        return tokenBalance.sub(remain);
    }

    /**
     * @notice Returns the balance of valid dividends in `token`.
     * @param recipient recipient of dividend.
     */
    function unreceivedDividend(address token, address recipient)
        external
        view
        returns (uint256)
    {
        uint256 i;
        uint256 total;
        uint256 divAt;
        uint256 currentTerm = currentTerm();
        for (
            i = Math.max(
                _oldestValidTerm(),
                lastTokenReceived[recipient][token]
            );
            i < currentTerm;
            i++
        ) {
            divAt = dividendAt(token, recipient, i);
            total = total.add(divAt);
        }
        return total;
    }

    /**
     * @dev It Overrides ERCVestable and ERC20RegularlyRecord.
     * To record states regularly, it calls `transfer` of ERC20RegularlyRecord.
     * To restrict value to be less than max spendable balance, it uses `spendable` modifier of ERC20Vestable.
     */
    function _transfer(
        address from,
        address to,
        uint256 value
    )
        internal
        virtual
        override(ERC20Vestable, ERC20RegularlyRecord)
        spendable(from, value)
    {
        ERC20RegularlyRecord._transfer(from, to, value);
    }

    /**
     * @dev It overrides ERC20Vestable and ERC20RegularlyRecord.
     * Both of these base class define `_burn`, so this contract must override `_burn` expressly.
     */
    function _burn(address account, uint256 value)
        internal
        virtual
        override(ERC20, ERC20RegularlyRecord)
    {
        ERC20RegularlyRecord._burn(account, value);
    }

    /**
     * @dev It overrides ERC20Vestable and ERC20RegularlyRecord.
     * Both of these base class define `_mint`, so this contract must override `_mint` expressly.
     */
    function _mint(address account, uint256 value)
        internal
        virtual
        override(ERC20, ERC20RegularlyRecord)
    {
        ERC20RegularlyRecord._mint(account, value);
    }

    function _oldestValidTerm() private view returns (uint256) {
        uint256 currentTerm = currentTerm();
        if (currentTerm <= expiration) {
            return 1;
        }
        return currentTerm.sub(expiration);
    }

    /**
     * @dev Returns the value of dividend pro rata share of token.
     * dividend = profit * balance / totalSupply
     */
    function _dividend(
        uint256 profit,
        uint256 balance,
        uint256 totalSupply
    ) private pure returns (uint256) {
        return profit.mul(balance).div(totalSupply);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_interval","type":"uint256"},{"internalType":"uint256","name":"_expiration","type":"uint256"},{"internalType":"uint256","name":"totalSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimVestedTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"creator","type":"address"},{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"CreateGrant","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"depositor","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DepositToGrant","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ReceiveDividend","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"uint256","name":"term","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SettleProfit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ETH_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"term","type":"uint256"}],"name":"balanceOfAtTermEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"claimVestedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"createGrant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentTerm","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":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositToGrant","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"term","type":"uint256"}],"name":"dividendAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"term","type":"uint256"}],"name":"endOfTerm","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"expiration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getGrant","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"claimed","type":"uint256"},{"internalType":"uint256","name":"vested","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"getLastGrantID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"interval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"lastTokenReceived","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"term","type":"uint256"}],"name":"paidAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"term","type":"uint256"}],"name":"profitAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"}],"name":"receiveDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"remainingGrantOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"settleProfit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"term","type":"uint256"}],"name":"startOfTerm","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"termOfTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRemainingGrants","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"term","type":"uint256"}],"name":"totalSupplyAtTermEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"}],"name":"unreceivedDividend","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"unsettledProfit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e06040523480156200001157600080fd5b506040516200353d3803806200353d833981810160405260608110156200003757600080fd5b5080516020808301516040938401518451808601865260048082527f6c69656e0000000000000000000000000000000000000000000000000000000082860190815287518089019098529087527f4c49454e0000000000000000000000000000000000000000000000000000000094870194909452805194959294919386939192620000c691600391620002f3565b508051620000dc906004906020840190620002f3565b50506005805460ff19166012179055506080524260a0526200010860086001600160e01b036200012a16565b6200011f33826200014060201b62002e551760201c565b5060c0525062000398565b6005805460ff191660ff92909216919091179055565b6001600160a01b038216620001b657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620001cd600083836001600160e01b036200027216565b620001e9816002546200027760201b62001fcf1790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200021c91839062001fcf62000277821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b600082820183811015620002ec57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200033657805160ff191683800117855562000366565b8280016001018555821562000366579182015b828111156200036657825182559160200191906001019062000349565b506200037492915062000378565b5090565b6200039591905b808211156200037457600081556001016200037f565b90565b60805160a05160c051613155620003e8600039806117435280612157528061218c525080611a775280611b9d5280611d92525080611a4b5280611ad45280611cd85280611d6e52506131556000f3fe6080604052600436106102895760003560e01c806373205f2f11610153578063a457c2d7116100cb578063c48c73421161007f578063dd62ed3e11610064578063dd62ed3e14610ad4578063ef613f1614610b1c578063f5dedb0314610b4657610290565b8063c48c734214610aaa578063d9f300ac14610abf57610290565b8063a9059cbb116100b0578063a9059cbb146109fa578063b26ff92314610a40578063b4b55ac814610a8057610290565b8063a457c2d714610976578063a734f06e146109bc57610290565b80638fe3ad5e1161012257806395d89b411161010757806395d89b4114610922578063981b24d0146109375780639ced0e9b1461096157610290565b80638fe3ad5e146108c5578063947a36fb1461090d57610290565b806373205f2f146107c55780637aa112fd1461080557806387882ac01461084b578063883d38ac1461089b57610290565b806327b7bb4a1161020157806340b334f7116101b55780634ee2cd7e1161019a5780634ee2cd7e146106ff5780635333b2ea1461074557806370a082311461078557610290565b806340b334f7146106795780634665096d146106ea57610290565b8063313ce567116101e6578063313ce567146105c257806339509351146105ed5780633dce2b461461063357610290565b806327b7bb4a146105365780632e0876a01461057c57610290565b806318160ddd1161025857806323b872dd1161023d57806323b872dd1461045257806324b7bf82146104a257806327951119146104ea57610290565b806318160ddd146104135780631c67247c1461042857610290565b8063068228591461029557806306fdde03146102ed578063095ea7b31461037757806313f4948d146103d157610290565b3661029057005b600080fd5b3480156102a157600080fd5b506102db600480360360408110156102b857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610b8e565b60408051918252519081900360200190f35b3480156102f957600080fd5b50610302610c47565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561033c578181015183820152602001610324565b50505050905090810190601f1680156103695780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561038357600080fd5b506103bd6004803603604081101561039a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610cfc565b604080519115158252519081900360200190f35b3480156103dd57600080fd5b50610411600480360360208110156103f457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610d1a565b005b34801561041f57600080fd5b506102db610dd1565b34801561043457600080fd5b506102db6004803603602081101561044b57600080fd5b5035610dd7565b34801561045e57600080fd5b506103bd6004803603606081101561047557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610e8c565b3480156104ae57600080fd5b50610411600480360360408110156104c557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610f33565b3480156104f657600080fd5b506104116004803603606081101561050d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602081013590604001356111a2565b34801561054257600080fd5b506102db6004803603604081101561055957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561129b565b34801561058857600080fd5b506104116004803603604081101561059f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356112cf565b3480156105ce57600080fd5b506105d7611496565b6040805160ff9092168252519081900360200190f35b3480156105f957600080fd5b506103bd6004803603604081101561061057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561149f565b34801561063f57600080fd5b506102db6004803603604081101561065657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611500565b34801561068557600080fd5b506106bf6004803603604081101561069c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561167f565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b3480156106f657600080fd5b506102db611741565b34801561070b57600080fd5b506102db6004803603604081101561072257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611765565b34801561075157600080fd5b506102db6004803603602081101561076857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166117b8565b34801561079157600080fd5b506102db600480360360208110156107a857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166117e4565b3480156107d157600080fd5b506102db600480360360208110156107e857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661180c565b34801561081157600080fd5b506102db6004803603604081101561082857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561198b565b34801561085757600080fd5b506102db6004803603606081101561086e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356119c2565b3480156108a757600080fd5b506102db600480360360208110156108be57600080fd5b50356119e8565b3480156108d157600080fd5b506102db600480360360408110156108e857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611ab5565b34801561091957600080fd5b506102db611ad2565b34801561092e57600080fd5b50610302611af6565b34801561094357600080fd5b506102db6004803603602081101561095a57600080fd5b5035611b75565b34801561096d57600080fd5b506102db611b9b565b34801561098257600080fd5b506103bd6004803603604081101561099957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611bbf565b3480156109c857600080fd5b506109d1611c3a565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b348015610a0657600080fd5b506103bd60048036036040811015610a1d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611c3f565b348015610a4c57600080fd5b506102db60048036036020811015610a6357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611c53565b348015610a8c57600080fd5b506102db60048036036020811015610aa357600080fd5b5035611c7b565b348015610ab657600080fd5b506102db611d14565b348015610acb57600080fd5b506102db611d24565b348015610ae057600080fd5b506102db60048036036040811015610af757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611d2a565b348015610b2857600080fd5b506102db60048036036020811015610b3f57600080fd5b5035611d62565b348015610b5257600080fd5b506102db60048036036040811015610b6957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611e0f565b60008180610be3576040805162461bcd60e51b815260206004820152601a60248201527f3020697320696e76616c69642076616c7565206173207465726d000000000000604482015290519081900360640190fd5b6000610bed611d14565b9050835b81811015610c3257610c0281611ea4565b15610c2a576000818152600a6020526040902054610c21908790611765565b93505050610c40565b600101610bf1565b50610c3c856117e4565b9250505b5092915050565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610cf15780601f10610cc657610100808354040283529160200191610cf1565b820191906000526020600020905b815481529060010190602001808311610cd457829003601f168201915b505050505090505b90565b6000610d10610d09611eb8565b8484611ebc565b5060015b92915050565b6000610d258261180c565b90506000610d31611d14565b6000818152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff881684529091528120805492935091610d76908563ffffffff611fcf16565b808355604080518281529051919250849173ffffffffffffffffffffffffffffffffffffffff8816917f394b370ea0a08c686d2e92e80f9f02a2356568ac54d39b51737ba20f6a9b1abb919081900360200190a35050505050565b60025490565b60008180610e2c576040805162461bcd60e51b815260206004820152601a60248201527f3020697320696e76616c69642076616c7565206173207465726d000000000000604482015290519081900360640190fd5b6000610e36611d14565b9050835b81811015610e7957610e4b81611ea4565b15610e71576000818152600a6020526040902054610e6890611b75565b93505050610e86565b600101610e3a565b50610e82610dd1565b9250505b50919050565b6000610e99848484612029565b610f2984610ea5611eb8565b610f24856040518060600160405280602881526020016130606028913973ffffffffffffffffffffffffffffffffffffffff8a16600090815260016020526040812090610ef0611eb8565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919063ffffffff6120b116565b611ebc565b5060019392505050565b600080600080610f41611d14565b9050610f86610f4e612148565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600e60209081526040808320938c16835292905220546121bc565b93505b8084101561103257610f9c8686866119c2565b6000858152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8b168452909152902060010154909250610fe2908363ffffffff611fcf16565b6000858152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8b168452909152902060010155611025838363ffffffff611fcf16565b6001909401939250610f89565b73ffffffffffffffffffffffffffffffffffffffff8086166000818152600e60209081526040808320948b1680845294825291829020889055815187815291519293927f2430938b8d30b820033fae6f9e34a1309e01e0e1bf106ec0ed06ab26a590af489281900390910190a373ffffffffffffffffffffffffffffffffffffffff86166111735760405160009073ffffffffffffffffffffffffffffffffffffffff87169085908381818185875af1925050503d8060008114611112576040519150601f19603f3d011682016040523d82523d6000602084013e611117565b606091505b505090508061116d576040805162461bcd60e51b815260206004820152600f60248201527f7472616e73666572206661696c65640000000000000000000000000000000000604482015290519081900360640190fd5b5061119a565b61119a73ffffffffffffffffffffffffffffffffffffffff8716868563ffffffff6121d316565b505050505050565b60006111ae8484612265565b9050336111bc818685612029565b81546111ce908463ffffffff611fcf16565b825573ffffffffffffffffffffffffffffffffffffffff85166000908152600c6020526040902054611206908463ffffffff611fcf16565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600c6020526040902055600d5461123f908463ffffffff611fcf16565b600d5560408051848152905173ffffffffffffffffffffffffffffffffffffffff808416928792918916917ffae34c500956466552fb92f220d08f0781819f358b519cd80b67c58b8b66ac3c9181900360200190a45050505050565b6000908152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff949094168352929052205490565b60006112db8383612265565b60408051608081018252825481526001830154602082015260028301546fffffffffffffffffffffffffffffffff808216938301939093527001000000000000000000000000000000009004909116606082015290915060009061133e90612401565b905080611392576040805162461bcd60e51b815260206004820152601560248201527f76657374656420616d6f756e74206973207a65726f0000000000000000000000604482015290519081900360640190fd5b60018201546000906113aa908363ffffffff611fcf16565b6001840181905573ffffffffffffffffffffffffffffffffffffffff86166000908152600c60205260409020549091506113ea908363ffffffff61248f16565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600c6020526040902055600d54611423908363ffffffff61248f16565b600d5582548114156114395761143985856124d1565b6040805173ffffffffffffffffffffffffffffffffffffffff871681526020810186905280820184905290517fffc3eace03cdc34b7c376b488d01a425cdbb40202e6cc36227247aa560948bb99181900360600190a15050505050565b60055460ff1690565b6000610d106114ac611eb8565b84610f2485600160006114bd611eb8565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611fcf16565b6000428211611556576040805162461bcd60e51b815260206004820152601560248201527f656e6454696d65206973206265666f7265206e6f770000000000000000000000604482015290519081900360640190fd5b61155e612def565b5060408051608081018252600080825260208083018281526fffffffffffffffffffffffffffffffff4281168587019081528882166060870190815273ffffffffffffffffffffffffffffffffffffffff8b16808752600b8652888720805460018181018355828a52888a208b5160039093020191825596519681019690965592516002909501805492518516700100000000000000000000000000000000029585167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090931692909217909316939093179092559283905254845187815294519394339491938593859391927f73822e28a3afc9fc2814acd342053527b35eae29ce20639db00195637d0eccdc929081900390910190a495945050505050565b600080600080600061168f612def565b6116998888612265565b6040805160808101825282548082526001840154602083018190526002909401546fffffffffffffffffffffffffffffffff8082169484019490945270010000000000000000000000000000000090049092166060820152909750909550905061170281612401565b935080604001516fffffffffffffffffffffffffffffffff16925080606001516fffffffffffffffffffffffffffffffff169150509295509295909350565b7f000000000000000000000000000000000000000000000000000000000000000081565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260066020526040812081908190611799908590612545565b91509150816117b0576117ab856117e4565b610c3c565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600b60205260409020545b919050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b60008060008061181a611d14565b90506000611826612148565b90505b8181116118b257611838612e3b565b506000818152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8a168452825280832081518083019092528054808352600190910154928201839052909291611894919063ffffffff61248f16565b90506118a6868263ffffffff611fcf16565b95505050600101611829565b5073ffffffffffffffffffffffffffffffffffffffff85166118d75730319150611972565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8716916370a08231916024808301926020929190829003018186803b15801561194357600080fd5b505afa158015611957573d6000803e3d6000fd5b505050506040513d602081101561196d57600080fd5b505191505b611982828463ffffffff61248f16565b95945050505050565b6000908152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff949094168352929052206001015490565b60006117b06119d1858461129b565b6119db8585610b8e565b6119e3610dd1565b61264f565b60008180611a3d576040805162461bcd60e51b815260206004820152601a60248201527f3020697320696e76616c69642076616c7565206173207465726d000000000000604482015290519081900360640190fd5b611aae6001611aa2611a75867f000000000000000000000000000000000000000000000000000000000000000063ffffffff61266516565b7f00000000000000000000000000000000000000000000000000000000000000009063ffffffff611fcf16565b9063ffffffff61248f16565b9392505050565b600e60209081526000928352604080842090915290825290205481565b7f000000000000000000000000000000000000000000000000000000000000000081565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610cf15780601f10610cc657610100808354040283529160200191610cf1565b6000806000611b85846007612545565b9150915081611aae57611b96610dd1565b610e82565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610d10611bcc611eb8565b84610f24856040518060600160405280602581526020016130fb6025913960016000611bf6611eb8565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6120b116565b600081565b6000610d10611c4c611eb8565b8484612029565b73ffffffffffffffffffffffffffffffffffffffff166000908152600c602052604090205490565b60008180611cd0576040805162461bcd60e51b815260206004820152601a60248201527f3020697320696e76616c69642076616c7565206173207465726d000000000000604482015290519081900360640190fd5b611aae611a757f0000000000000000000000000000000000000000000000000000000000000000611d0886600163ffffffff61248f16565b9063ffffffff61266516565b6000611d1f42611d62565b905090565b600d5481565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6000610d146001611e037f0000000000000000000000000000000000000000000000000000000000000000611df77f00000000000000000000000000000000000000000000000000000000000000006040518060400160405280600f81526020017f74696d6520697320696e76616c69640000000000000000000000000000000000815250886120b19092919063ffffffff16565b9063ffffffff6126be16565b9063ffffffff611fcf16565b6000806000806000611e1f611d14565b9050611e64611e2c612148565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600e60209081526040808320938d16835292905220546121bc565b93505b80841015611e9957611e7a8787866119c2565b9150611e8c838363ffffffff611fcf16565b6001909401939250611e67565b509095945050505050565b6000908152600a6020526040902054151590565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316611f0e5760405162461bcd60e51b81526004018080602001828103825260248152602001806130ad6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611f605760405162461bcd60e51b8152600401808060200182810382526022815260200180612fce6022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082820183811015611aae576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152600c602052604090205483908290819061206290611aa2856117e4565b101561209f5760405162461bcd60e51b8152600401808060200182810382526029815260200180612ff06029913960400191505060405180910390fd5b6120aa858585612700565b5050505050565b600081848411156121405760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156121055781810151838201526020016120ed565b50505050905090810190601f1680156121325780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600080612153611d14565b90507f00000000000000000000000000000000000000000000000000000000000000008111612186576001915050610cf9565b6121b6817f000000000000000000000000000000000000000000000000000000000000000063ffffffff61248f16565b91505090565b6000818310156121cc5781611aae565b5090919050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052612260908490612713565b505050565b6000816122b9576040805162461bcd60e51b815260206004820152601260248201527f3020697320696e76616c69642061732069640000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152600b60205260409020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff909201918210612357576040805162461bcd60e51b815260206004820152601460248201527f6772616e7420646f6573206e6f74206578697374000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152600b6020526040812080548490811061238857fe5b60009182526020909120600390910201600281015490915070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16611aae5760405162461bcd60e51b8152600401808060200182810382526032815260200180612f9c6032913960400191505060405180910390fd5b6000804290508083606001516fffffffffffffffffffffffffffffffff1611156124795760408301516060840151602085015185516fffffffffffffffffffffffffffffffff8085168603949093039092169161246f9190611aa2908490611df7908763ffffffff61266516565b93505050506117df565b60208301518351611aae9163ffffffff61248f16565b6000611aae83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506120b1565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600b6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff830190811061252457fe5b60009182526020822060039091020181815560018101829055600201555050565b6000806000841161259d576040805162461bcd60e51b815260206004820152601660248201527f4552433230536e617073686f743a206964206973203000000000000000000000604482015290519081900360640190fd5b6125a76009612909565b8411156125fb576040805162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000604482015290519081900360640190fd5b600061260d848663ffffffff61290d16565b8454909150811415612626575060009150819050612648565b600184600101828154811061263757fe5b906000526020600020015492509250505b9250929050565b60006117b082611df7868663ffffffff61266516565b60008261267457506000610d14565b8282028284828161268157fe5b0414611aae5760405162461bcd60e51b815260040180806020018281038252602181526020018061303f6021913960400191505060405180910390fd5b6000611aae83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506129cc565b612708612a31565b612260838383612a99565b6127328273ffffffffffffffffffffffffffffffffffffffff16612ab6565b612783576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106127ec57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016127af565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461284e576040519150601f19603f3d011682016040523d82523d6000602084013e612853565b606091505b5091509150816128aa576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115612903578080602001905160208110156128c657600080fd5b50516129035760405162461bcd60e51b815260040180806020018281038252602a8152602001806130d1602a913960400191505060405180910390fd5b50505050565b5490565b815460009061291e57506000610d14565b82546000905b8082101561296d5760006129388383612aef565b90508486828154811061294757fe5b9060005260206000200154111561296057809150612967565b8060010192505b50612924565b60008211801561299557508385600184038154811061298857fe5b9060005260206000200154145b156129c457507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019050610d14565b509050610d14565b60008183612a1b5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156121055781810151838201526020016120ed565b506000838581612a2757fe5b0495945050505050565b6000612a3b611d14565b9050600181118015612a565750612a5460018203611ea4565b155b15612a9657612a63612b14565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82016000908152600a60205260409020555b50565b612aa283612b68565b612aab82612b68565b612260838383612b9f565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610e82575050151592915050565b60006002808306600285060181612b0257fe5b04600283046002850401019392505050565b6000612b206009612d47565b6000612b2c6009612909565b6040805182815290519192507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67919081900360200190a1905090565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600660205260409020612a9690612b9a836117e4565b612d50565b73ffffffffffffffffffffffffffffffffffffffff8316612bf15760405162461bcd60e51b81526004018080602001828103825260258152602001806130886025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216612c435760405162461bcd60e51b8152600401808060200182810382526023815260200180612f796023913960400191505060405180910390fd5b612c4e838383612260565b612c9e816040518060600160405280602681526020016130196026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919063ffffffff6120b116565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054612ce0908263ffffffff611fcf16565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b80546001019055565b6000612d5c6009612909565b905080612d6884612d9c565b1015612260578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b8054600090612dad575060006117df565b815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101908110612ddd57fe5b906000526020600020015490506117df565b6040518060800160405280600081526020016000815260200160006fffffffffffffffffffffffffffffffff16815260200160006fffffffffffffffffffffffffffffffff1681525090565b604051806040016040528060008152602001600081525090565b73ffffffffffffffffffffffffffffffffffffffff8216612ebd576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b612ec960008383612260565b600254612edc908263ffffffff611fcf16565b60025573ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054612f15908263ffffffff611fcf16565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737363616e6e6f7420676574206772616e7420776869636820697320616c726561647920636c61696d656420656e746972656c7945524332303a20617070726f766520746f20746865207a65726f20616464726573737472616e7366657220616d6f756e742065786365656473207370656e6461626c652062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d9533f791f00d6acfb4d56640b28bb76565cee2fd9e7c89d504d85dd52cb8aa564736f6c63430006050033000000000000000000000000000000000000000000000000000000000024ea00000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000005af3107a4000

Deployed Bytecode

0x6080604052600436106102895760003560e01c806373205f2f11610153578063a457c2d7116100cb578063c48c73421161007f578063dd62ed3e11610064578063dd62ed3e14610ad4578063ef613f1614610b1c578063f5dedb0314610b4657610290565b8063c48c734214610aaa578063d9f300ac14610abf57610290565b8063a9059cbb116100b0578063a9059cbb146109fa578063b26ff92314610a40578063b4b55ac814610a8057610290565b8063a457c2d714610976578063a734f06e146109bc57610290565b80638fe3ad5e1161012257806395d89b411161010757806395d89b4114610922578063981b24d0146109375780639ced0e9b1461096157610290565b80638fe3ad5e146108c5578063947a36fb1461090d57610290565b806373205f2f146107c55780637aa112fd1461080557806387882ac01461084b578063883d38ac1461089b57610290565b806327b7bb4a1161020157806340b334f7116101b55780634ee2cd7e1161019a5780634ee2cd7e146106ff5780635333b2ea1461074557806370a082311461078557610290565b806340b334f7146106795780634665096d146106ea57610290565b8063313ce567116101e6578063313ce567146105c257806339509351146105ed5780633dce2b461461063357610290565b806327b7bb4a146105365780632e0876a01461057c57610290565b806318160ddd1161025857806323b872dd1161023d57806323b872dd1461045257806324b7bf82146104a257806327951119146104ea57610290565b806318160ddd146104135780631c67247c1461042857610290565b8063068228591461029557806306fdde03146102ed578063095ea7b31461037757806313f4948d146103d157610290565b3661029057005b600080fd5b3480156102a157600080fd5b506102db600480360360408110156102b857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610b8e565b60408051918252519081900360200190f35b3480156102f957600080fd5b50610302610c47565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561033c578181015183820152602001610324565b50505050905090810190601f1680156103695780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561038357600080fd5b506103bd6004803603604081101561039a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610cfc565b604080519115158252519081900360200190f35b3480156103dd57600080fd5b50610411600480360360208110156103f457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610d1a565b005b34801561041f57600080fd5b506102db610dd1565b34801561043457600080fd5b506102db6004803603602081101561044b57600080fd5b5035610dd7565b34801561045e57600080fd5b506103bd6004803603606081101561047557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610e8c565b3480156104ae57600080fd5b50610411600480360360408110156104c557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610f33565b3480156104f657600080fd5b506104116004803603606081101561050d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602081013590604001356111a2565b34801561054257600080fd5b506102db6004803603604081101561055957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561129b565b34801561058857600080fd5b506104116004803603604081101561059f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356112cf565b3480156105ce57600080fd5b506105d7611496565b6040805160ff9092168252519081900360200190f35b3480156105f957600080fd5b506103bd6004803603604081101561061057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561149f565b34801561063f57600080fd5b506102db6004803603604081101561065657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611500565b34801561068557600080fd5b506106bf6004803603604081101561069c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561167f565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b3480156106f657600080fd5b506102db611741565b34801561070b57600080fd5b506102db6004803603604081101561072257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611765565b34801561075157600080fd5b506102db6004803603602081101561076857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166117b8565b34801561079157600080fd5b506102db600480360360208110156107a857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166117e4565b3480156107d157600080fd5b506102db600480360360208110156107e857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661180c565b34801561081157600080fd5b506102db6004803603604081101561082857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561198b565b34801561085757600080fd5b506102db6004803603606081101561086e57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013590911690604001356119c2565b3480156108a757600080fd5b506102db600480360360208110156108be57600080fd5b50356119e8565b3480156108d157600080fd5b506102db600480360360408110156108e857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611ab5565b34801561091957600080fd5b506102db611ad2565b34801561092e57600080fd5b50610302611af6565b34801561094357600080fd5b506102db6004803603602081101561095a57600080fd5b5035611b75565b34801561096d57600080fd5b506102db611b9b565b34801561098257600080fd5b506103bd6004803603604081101561099957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611bbf565b3480156109c857600080fd5b506109d1611c3a565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b348015610a0657600080fd5b506103bd60048036036040811015610a1d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611c3f565b348015610a4c57600080fd5b506102db60048036036020811015610a6357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611c53565b348015610a8c57600080fd5b506102db60048036036020811015610aa357600080fd5b5035611c7b565b348015610ab657600080fd5b506102db611d14565b348015610acb57600080fd5b506102db611d24565b348015610ae057600080fd5b506102db60048036036040811015610af757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611d2a565b348015610b2857600080fd5b506102db60048036036020811015610b3f57600080fd5b5035611d62565b348015610b5257600080fd5b506102db60048036036040811015610b6957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611e0f565b60008180610be3576040805162461bcd60e51b815260206004820152601a60248201527f3020697320696e76616c69642076616c7565206173207465726d000000000000604482015290519081900360640190fd5b6000610bed611d14565b9050835b81811015610c3257610c0281611ea4565b15610c2a576000818152600a6020526040902054610c21908790611765565b93505050610c40565b600101610bf1565b50610c3c856117e4565b9250505b5092915050565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610cf15780601f10610cc657610100808354040283529160200191610cf1565b820191906000526020600020905b815481529060010190602001808311610cd457829003601f168201915b505050505090505b90565b6000610d10610d09611eb8565b8484611ebc565b5060015b92915050565b6000610d258261180c565b90506000610d31611d14565b6000818152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff881684529091528120805492935091610d76908563ffffffff611fcf16565b808355604080518281529051919250849173ffffffffffffffffffffffffffffffffffffffff8816917f394b370ea0a08c686d2e92e80f9f02a2356568ac54d39b51737ba20f6a9b1abb919081900360200190a35050505050565b60025490565b60008180610e2c576040805162461bcd60e51b815260206004820152601a60248201527f3020697320696e76616c69642076616c7565206173207465726d000000000000604482015290519081900360640190fd5b6000610e36611d14565b9050835b81811015610e7957610e4b81611ea4565b15610e71576000818152600a6020526040902054610e6890611b75565b93505050610e86565b600101610e3a565b50610e82610dd1565b9250505b50919050565b6000610e99848484612029565b610f2984610ea5611eb8565b610f24856040518060600160405280602881526020016130606028913973ffffffffffffffffffffffffffffffffffffffff8a16600090815260016020526040812090610ef0611eb8565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919063ffffffff6120b116565b611ebc565b5060019392505050565b600080600080610f41611d14565b9050610f86610f4e612148565b73ffffffffffffffffffffffffffffffffffffffff8088166000908152600e60209081526040808320938c16835292905220546121bc565b93505b8084101561103257610f9c8686866119c2565b6000858152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8b168452909152902060010154909250610fe2908363ffffffff611fcf16565b6000858152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8b168452909152902060010155611025838363ffffffff611fcf16565b6001909401939250610f89565b73ffffffffffffffffffffffffffffffffffffffff8086166000818152600e60209081526040808320948b1680845294825291829020889055815187815291519293927f2430938b8d30b820033fae6f9e34a1309e01e0e1bf106ec0ed06ab26a590af489281900390910190a373ffffffffffffffffffffffffffffffffffffffff86166111735760405160009073ffffffffffffffffffffffffffffffffffffffff87169085908381818185875af1925050503d8060008114611112576040519150601f19603f3d011682016040523d82523d6000602084013e611117565b606091505b505090508061116d576040805162461bcd60e51b815260206004820152600f60248201527f7472616e73666572206661696c65640000000000000000000000000000000000604482015290519081900360640190fd5b5061119a565b61119a73ffffffffffffffffffffffffffffffffffffffff8716868563ffffffff6121d316565b505050505050565b60006111ae8484612265565b9050336111bc818685612029565b81546111ce908463ffffffff611fcf16565b825573ffffffffffffffffffffffffffffffffffffffff85166000908152600c6020526040902054611206908463ffffffff611fcf16565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600c6020526040902055600d5461123f908463ffffffff611fcf16565b600d5560408051848152905173ffffffffffffffffffffffffffffffffffffffff808416928792918916917ffae34c500956466552fb92f220d08f0781819f358b519cd80b67c58b8b66ac3c9181900360200190a45050505050565b6000908152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff949094168352929052205490565b60006112db8383612265565b60408051608081018252825481526001830154602082015260028301546fffffffffffffffffffffffffffffffff808216938301939093527001000000000000000000000000000000009004909116606082015290915060009061133e90612401565b905080611392576040805162461bcd60e51b815260206004820152601560248201527f76657374656420616d6f756e74206973207a65726f0000000000000000000000604482015290519081900360640190fd5b60018201546000906113aa908363ffffffff611fcf16565b6001840181905573ffffffffffffffffffffffffffffffffffffffff86166000908152600c60205260409020549091506113ea908363ffffffff61248f16565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600c6020526040902055600d54611423908363ffffffff61248f16565b600d5582548114156114395761143985856124d1565b6040805173ffffffffffffffffffffffffffffffffffffffff871681526020810186905280820184905290517fffc3eace03cdc34b7c376b488d01a425cdbb40202e6cc36227247aa560948bb99181900360600190a15050505050565b60055460ff1690565b6000610d106114ac611eb8565b84610f2485600160006114bd611eb8565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611fcf16565b6000428211611556576040805162461bcd60e51b815260206004820152601560248201527f656e6454696d65206973206265666f7265206e6f770000000000000000000000604482015290519081900360640190fd5b61155e612def565b5060408051608081018252600080825260208083018281526fffffffffffffffffffffffffffffffff4281168587019081528882166060870190815273ffffffffffffffffffffffffffffffffffffffff8b16808752600b8652888720805460018181018355828a52888a208b5160039093020191825596519681019690965592516002909501805492518516700100000000000000000000000000000000029585167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090931692909217909316939093179092559283905254845187815294519394339491938593859391927f73822e28a3afc9fc2814acd342053527b35eae29ce20639db00195637d0eccdc929081900390910190a495945050505050565b600080600080600061168f612def565b6116998888612265565b6040805160808101825282548082526001840154602083018190526002909401546fffffffffffffffffffffffffffffffff8082169484019490945270010000000000000000000000000000000090049092166060820152909750909550905061170281612401565b935080604001516fffffffffffffffffffffffffffffffff16925080606001516fffffffffffffffffffffffffffffffff169150509295509295909350565b7f000000000000000000000000000000000000000000000000000000000000000c81565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260066020526040812081908190611799908590612545565b91509150816117b0576117ab856117e4565b610c3c565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600b60205260409020545b919050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b60008060008061181a611d14565b90506000611826612148565b90505b8181116118b257611838612e3b565b506000818152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff8a168452825280832081518083019092528054808352600190910154928201839052909291611894919063ffffffff61248f16565b90506118a6868263ffffffff611fcf16565b95505050600101611829565b5073ffffffffffffffffffffffffffffffffffffffff85166118d75730319150611972565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff8716916370a08231916024808301926020929190829003018186803b15801561194357600080fd5b505afa158015611957573d6000803e3d6000fd5b505050506040513d602081101561196d57600080fd5b505191505b611982828463ffffffff61248f16565b95945050505050565b6000908152600f6020908152604080832073ffffffffffffffffffffffffffffffffffffffff949094168352929052206001015490565b60006117b06119d1858461129b565b6119db8585610b8e565b6119e3610dd1565b61264f565b60008180611a3d576040805162461bcd60e51b815260206004820152601a60248201527f3020697320696e76616c69642076616c7565206173207465726d000000000000604482015290519081900360640190fd5b611aae6001611aa2611a75867f000000000000000000000000000000000000000000000000000000000024ea0063ffffffff61266516565b7f000000000000000000000000000000000000000000000000000000005f2eab9e9063ffffffff611fcf16565b9063ffffffff61248f16565b9392505050565b600e60209081526000928352604080842090915290825290205481565b7f000000000000000000000000000000000000000000000000000000000024ea0081565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610cf15780601f10610cc657610100808354040283529160200191610cf1565b6000806000611b85846007612545565b9150915081611aae57611b96610dd1565b610e82565b7f000000000000000000000000000000000000000000000000000000005f2eab9e81565b6000610d10611bcc611eb8565b84610f24856040518060600160405280602581526020016130fb6025913960016000611bf6611eb8565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6120b116565b600081565b6000610d10611c4c611eb8565b8484612029565b73ffffffffffffffffffffffffffffffffffffffff166000908152600c602052604090205490565b60008180611cd0576040805162461bcd60e51b815260206004820152601a60248201527f3020697320696e76616c69642076616c7565206173207465726d000000000000604482015290519081900360640190fd5b611aae611a757f000000000000000000000000000000000000000000000000000000000024ea00611d0886600163ffffffff61248f16565b9063ffffffff61266516565b6000611d1f42611d62565b905090565b600d5481565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6000610d146001611e037f000000000000000000000000000000000000000000000000000000000024ea00611df77f000000000000000000000000000000000000000000000000000000005f2eab9e6040518060400160405280600f81526020017f74696d6520697320696e76616c69640000000000000000000000000000000000815250886120b19092919063ffffffff16565b9063ffffffff6126be16565b9063ffffffff611fcf16565b6000806000806000611e1f611d14565b9050611e64611e2c612148565b73ffffffffffffffffffffffffffffffffffffffff8089166000908152600e60209081526040808320938d16835292905220546121bc565b93505b80841015611e9957611e7a8787866119c2565b9150611e8c838363ffffffff611fcf16565b6001909401939250611e67565b509095945050505050565b6000908152600a6020526040902054151590565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316611f0e5760405162461bcd60e51b81526004018080602001828103825260248152602001806130ad6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611f605760405162461bcd60e51b8152600401808060200182810382526022815260200180612fce6022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082820183811015611aae576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152600c602052604090205483908290819061206290611aa2856117e4565b101561209f5760405162461bcd60e51b8152600401808060200182810382526029815260200180612ff06029913960400191505060405180910390fd5b6120aa858585612700565b5050505050565b600081848411156121405760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156121055781810151838201526020016120ed565b50505050905090810190601f1680156121325780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600080612153611d14565b90507f000000000000000000000000000000000000000000000000000000000000000c8111612186576001915050610cf9565b6121b6817f000000000000000000000000000000000000000000000000000000000000000c63ffffffff61248f16565b91505090565b6000818310156121cc5781611aae565b5090919050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052612260908490612713565b505050565b6000816122b9576040805162461bcd60e51b815260206004820152601260248201527f3020697320696e76616c69642061732069640000000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152600b60205260409020547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff909201918210612357576040805162461bcd60e51b815260206004820152601460248201527f6772616e7420646f6573206e6f74206578697374000000000000000000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff83166000908152600b6020526040812080548490811061238857fe5b60009182526020909120600390910201600281015490915070010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff16611aae5760405162461bcd60e51b8152600401808060200182810382526032815260200180612f9c6032913960400191505060405180910390fd5b6000804290508083606001516fffffffffffffffffffffffffffffffff1611156124795760408301516060840151602085015185516fffffffffffffffffffffffffffffffff8085168603949093039092169161246f9190611aa2908490611df7908763ffffffff61266516565b93505050506117df565b60208301518351611aae9163ffffffff61248f16565b6000611aae83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506120b1565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600b6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff830190811061252457fe5b60009182526020822060039091020181815560018101829055600201555050565b6000806000841161259d576040805162461bcd60e51b815260206004820152601660248201527f4552433230536e617073686f743a206964206973203000000000000000000000604482015290519081900360640190fd5b6125a76009612909565b8411156125fb576040805162461bcd60e51b815260206004820152601d60248201527f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000604482015290519081900360640190fd5b600061260d848663ffffffff61290d16565b8454909150811415612626575060009150819050612648565b600184600101828154811061263757fe5b906000526020600020015492509250505b9250929050565b60006117b082611df7868663ffffffff61266516565b60008261267457506000610d14565b8282028284828161268157fe5b0414611aae5760405162461bcd60e51b815260040180806020018281038252602181526020018061303f6021913960400191505060405180910390fd5b6000611aae83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506129cc565b612708612a31565b612260838383612a99565b6127328273ffffffffffffffffffffffffffffffffffffffff16612ab6565b612783576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106127ec57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016127af565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461284e576040519150601f19603f3d011682016040523d82523d6000602084013e612853565b606091505b5091509150816128aa576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115612903578080602001905160208110156128c657600080fd5b50516129035760405162461bcd60e51b815260040180806020018281038252602a8152602001806130d1602a913960400191505060405180910390fd5b50505050565b5490565b815460009061291e57506000610d14565b82546000905b8082101561296d5760006129388383612aef565b90508486828154811061294757fe5b9060005260206000200154111561296057809150612967565b8060010192505b50612924565b60008211801561299557508385600184038154811061298857fe5b9060005260206000200154145b156129c457507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019050610d14565b509050610d14565b60008183612a1b5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156121055781810151838201526020016120ed565b506000838581612a2757fe5b0495945050505050565b6000612a3b611d14565b9050600181118015612a565750612a5460018203611ea4565b155b15612a9657612a63612b14565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82016000908152600a60205260409020555b50565b612aa283612b68565b612aab82612b68565b612260838383612b9f565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610e82575050151592915050565b60006002808306600285060181612b0257fe5b04600283046002850401019392505050565b6000612b206009612d47565b6000612b2c6009612909565b6040805182815290519192507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb67919081900360200190a1905090565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600660205260409020612a9690612b9a836117e4565b612d50565b73ffffffffffffffffffffffffffffffffffffffff8316612bf15760405162461bcd60e51b81526004018080602001828103825260258152602001806130886025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216612c435760405162461bcd60e51b8152600401808060200182810382526023815260200180612f796023913960400191505060405180910390fd5b612c4e838383612260565b612c9e816040518060600160405280602681526020016130196026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919063ffffffff6120b116565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054612ce0908263ffffffff611fcf16565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b80546001019055565b6000612d5c6009612909565b905080612d6884612d9c565b1015612260578254600180820185556000858152602080822090930193909355938401805494850181558252902090910155565b8054600090612dad575060006117df565b815482907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101908110612ddd57fe5b906000526020600020015490506117df565b6040518060800160405280600081526020016000815260200160006fffffffffffffffffffffffffffffffff16815260200160006fffffffffffffffffffffffffffffffff1681525090565b604051806040016040528060008152602001600081525090565b73ffffffffffffffffffffffffffffffffffffffff8216612ebd576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b612ec960008383612260565b600254612edc908263ffffffff611fcf16565b60025573ffffffffffffffffffffffffffffffffffffffff8216600090815260208190526040902054612f15908263ffffffff611fcf16565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737363616e6e6f7420676574206772616e7420776869636820697320616c726561647920636c61696d656420656e746972656c7945524332303a20617070726f766520746f20746865207a65726f20616464726573737472616e7366657220616d6f756e742065786365656473207370656e6461626c652062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d9533f791f00d6acfb4d56640b28bb76565cee2fd9e7c89d504d85dd52cb8aa564736f6c63430006050033

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

000000000000000000000000000000000000000000000000000000000024ea00000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000005af3107a4000

-----Decoded View---------------
Arg [0] : _interval (uint256): 2419200
Arg [1] : _expiration (uint256): 12
Arg [2] : totalSupply (uint256): 100000000000000

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000024ea00
Arg [1] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [2] : 00000000000000000000000000000000000000000000000000005af3107a4000


Deployed Bytecode Sourcemap

55379:7479:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;52102:441:0;;5:9:-1;2:2;;;27:1;24;17:12;2:2;52102:441:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;52102:441:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;20216:83;;5:9:-1;2:2;;;27:1;24;17:12;2:2;20216:83:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;20216:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22454:210;;5:9:-1;2:2;;;27:1;24;17:12;2:2;22454:210:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;22454:210:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;57025:354;;5:9:-1;2:2;;;27:1;24;17:12;2:2;57025:354:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;57025:354:0;;;;:::i;:::-;;21291:100;;5:9:-1;2:2;;;27:1;24;17:12;2:2;21291:100:0;;;:::i;52637:414::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;52637:414:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;52637:414:0;;:::i;23138:454::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;23138:454:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;23138:454:0;;;;;;;;;;;;;;;;;;:::i;57525:930::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;57525:930:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;57525:930:0;;;;;;;;;;;:::i;32969:550::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;32969:550:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;32969:550:0;;;;;;;;;;;;;;:::i;58554:166::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;58554:166:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;58554:166:0;;;;;;;;;:::i;33750:640::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;33750:640:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;33750:640:0;;;;;;;;;:::i;21143:83::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;21143:83:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24001:300;;5:9:-1;2:2;;;27:1;24;17:12;2:2;24001:300:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;24001:300:0;;;;;;;;;:::i;32305:453::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;32305:453:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;32305:453:0;;;;;;;;;:::i;35187:485::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;35187:485:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;35187:485:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55769:35;;5:9:-1;2:2;;;27:1;24;17:12;2:2;55769:35:0;;;:::i;44806:327::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;44806:327:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;44806:327:0;;;;;;;;;:::i;34542:159::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;34542:159:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;34542:159:0;;;;:::i;21454:160::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;21454:160:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;21454:160:0;;;;:::i;59560:643::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;59560:643:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;59560:643:0;;;;:::i;58830:162::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;58830:162:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;58830:162:0;;;;;;;;;:::i;59102:317::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;59102:317:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;59102:317:0;;;;;;;;;;;;;;;;;;:::i;51807:193::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;51807:193:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;51807:193:0;;:::i;55854:72::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;55854:72:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;55854:72:0;;;;;;;;;;;:::i;50264:33::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;50264:33:0;;;:::i;20418:87::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;20418:87:0;;;:::i;45237:263::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;45237:263:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;45237:263:0;;:::i;50370:36::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;50370:36:0;;;:::i;24804:400::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;24804:400:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;24804:400:0;;;;;;;;;:::i;55512:48::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;55512:48:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21827:216;;5:9:-1;2:2;;;27:1;24;17:12;2:2;21827:216:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;21827:216:0;;;;;;;;;:::i;35824:123::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;35824:123:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;35824:123:0;;;;:::i;51520:195::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;51520:195:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;51520:195:0;;:::i;51332:94::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;51332:94:0;;;:::i;31371:35::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;31371:35:0;;;:::i;22106:201::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;22106:201:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;22106:201:0;;;;;;;;;;;:::i;51113:151::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;51113:151:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;51113:151:0;;:::i;60344:583::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;60344:583:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;60344:583:0;;;;;;;;;;;:::i;52102:441::-;52239:7;52215:4;50563:10;50555:49;;;;;-1:-1:-1;;;50555:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;52264:20:::1;52287:13;:11;:13::i;:::-;52264:36:::0;-1:-1:-1;52328:4:0;52311:189:::1;52338:12;52334:1;:16;52311:189;;;52376:26;52400:1;52376:23;:26::i;:::-;52372:117;;;52451:21;::::0;;;:18:::1;:21;::::0;;;;;52430:43:::1;::::0;52442:7;;52430:11:::1;:43::i;:::-;52423:50;;;;;;52372:117;52352:3;;52311:189;;;;52517:18;52527:7;52517:9;:18::i;:::-;52510:25;;;50615:1;52102:441:::0;;;;;:::o;20216:83::-;20286:5;20279:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20253:13;;20279:12;;20286:5;;20279:12;;20286:5;20279:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20216:83;;:::o;22454:210::-;22573:4;22595:39;22604:12;:10;:12::i;:::-;22618:7;22627:6;22595:8;:39::i;:::-;-1:-1:-1;22652:4:0;22454:210;;;;;:::o;57025:354::-;57082:14;57099:22;57115:5;57099:15;:22::i;:::-;57082:39;;57132:19;57154:13;:11;:13::i;:::-;57178:18;57199:24;;;:11;:24;;;;;;;;:31;;;;;;;;;;57261:8;;57132:35;;-1:-1:-1;57199:31:0;57261:20;;57274:6;57261:20;:12;:20;:::i;:::-;57292;;;57328:43;;;;;;;;57241:40;;-1:-1:-1;57348:11:0;;57328:43;;;;;;;;;;;;;;57025:354;;;;;:::o;21291:100::-;21371:12;;21291:100;:::o;52637:414::-;52759:7;52735:4;50563:10;50555:49;;;;;-1:-1:-1;;;50555:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;52784:20:::1;52807:13;:11;:13::i;:::-;52784:36:::0;-1:-1:-1;52848:4:0;52831:182:::1;52858:12;52854:1;:16;52831:182;;;52896:26;52920:1;52896:23;:26::i;:::-;52892:110;;;52964:21;::::0;;;:18:::1;:21;::::0;;;;;52950:36:::1;::::0;:13:::1;:36::i;:::-;52943:43;;;;;;52892:110;52872:3;;52831:182;;;;53030:13;:11;:13::i;:::-;53023:20;;;50615:1;52637:414:::0;;;;:::o;23138:454::-;23278:4;23295:36;23305:6;23313:9;23324:6;23295:9;:36::i;:::-;23342:220;23365:6;23386:12;:10;:12::i;:::-;23413:138;23469:6;23413:138;;;;;;;;;;;;;;;;;:19;;;;;;;:11;:19;;;;;;23433:12;:10;:12::i;:::-;23413:33;;;;;;;;;;;;;-1:-1:-1;23413:33:0;;;:138;;:37;:138;:::i;:::-;23342:8;:220::i;:::-;-1:-1:-1;23580:4:0;23138:454;;;;;:::o;57525:930::-;57604:9;57624:13;57648;57672:19;57694:13;:11;:13::i;:::-;57672:35;;57741:114;57768:18;:16;:18::i;:::-;57805:28;;;;;;;;:17;:28;;;;;;;;:35;;;;;;;;;;57741:8;:114::i;:::-;57737:118;;57718:383;57874:11;57870:1;:15;57718:383;;;57938:31;57949:5;57956:9;57967:1;57938:10;:31::i;:::-;58013:14;;;;:11;:14;;;;;;;;:21;;;;;;;;;;:26;;;57930:39;;-1:-1:-1;58013:37:0;;57930:39;58013:37;:30;:37;:::i;:::-;57984:14;;;;:11;:14;;;;;;;;:21;;;;;;;;;;:26;;:66;58073:16;:5;58083;58073:16;:9;:16;:::i;:::-;57900:3;;;;;58065:24;-1:-1:-1;57718:383:0;;;58111:28;;;;;;;;:17;:28;;;;;;;;:35;;;;;;;;;;;;;:39;;;58166:40;;;;;;;58111:28;;:35;58166:40;;;;;;;;;;58221:20;;;58217:231;;58277:32;;58259:12;;58277:14;;;;58299:5;;58259:12;58277:32;58259:12;58277:32;58299:5;58277:14;:32;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;58258:51:0;;;58332:7;58324:35;;;;;-1:-1:-1;;;58324:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;58217:231;;;;58392:44;:26;;;58419:9;58430:5;58392:44;:26;:44;:::i;:::-;57525:930;;;;;;:::o;32969:550::-;33094:15;33112:26;33122:11;33135:2;33112:9;:26::i;:::-;33094:44;-1:-1:-1;33169:10:0;33190:41;33169:10;33211:11;33224:6;33190:9;:41::i;:::-;33253:8;;:20;;33266:6;33253:20;:12;:20;:::i;:::-;33242:31;;33315:28;;;33242:8;33315:28;;;:15;:28;;;;;;:64;;33362:6;33315:64;:32;:64;:::i;:::-;33284:28;;;;;;;:15;:28;;;;;:95;33413:20;;:32;;33438:6;33413:32;:24;:32;:::i;:::-;33390:20;:55;33461:50;;;;;;;;;;;;;33489:2;;33461:50;;;;;;;;;;;;;32969:550;;;;;:::o;58554:166::-;58649:7;58681:17;;;:11;:17;;;;;;;;:24;;;;;;;;;;;:31;;58554:166::o;33750:640::-;33828:15;33846:26;33856:11;33869:2;33846:9;:26::i;:::-;33900:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33828:44;;-1:-1:-1;33883:14:0;;33900:16;;:13;:16::i;:::-;33883:33;-1:-1:-1;33935:11:0;33927:45;;;;;-1:-1:-1;;;33927:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34004:9;;;;33983:18;;34004:21;;34018:6;34004:21;:13;:21;:::i;:::-;34036:9;;;:22;;;34100:28;;;;;;;:15;:28;;;;;;33983:42;;-1:-1:-1;34100:64:0;;34147:6;34100:64;:32;:64;:::i;:::-;34069:28;;;;;;;:15;:28;;;;;:95;34198:20;;:32;;34223:6;34198:32;:24;:32;:::i;:::-;34175:20;:55;34259:8;;34245:22;;34241:84;;;34284:29;34297:11;34310:2;34284:12;:29::i;:::-;34340:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33750:640;;;;;:::o;21143:83::-;21209:9;;;;21143:83;:::o;24001:300::-;24116:4;24138:133;24161:12;:10;:12::i;:::-;24188:7;24210:50;24249:10;24210:11;:25;24222:12;:10;:12::i;:::-;24210:25;;;;;;;;;;;;;;;;;;-1:-1:-1;24210:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;32305:453::-;32398:7;32441:3;32431:7;:13;32423:47;;;;;-1:-1:-1;;;32423:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;32481:14;;:::i;:::-;-1:-1:-1;32498:43:0;;;;;;;;-1:-1:-1;32498:43:0;;;;;;;;;;;32518:3;32498:43;;;;;;;;;;;;;;;;;32591:19;;;;;;:6;:19;;;;;27:10:-1;;39:1;23:18;;;45:23;;32591:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32642:19;;;;:26;32684:46;;;;;;;32498:43;;32570:10;;32642:26;;32570:10;;32642:26;;32591:19;;32684:46;;;;;;;;;;;32748:2;32305:453;-1:-1:-1;;;;;32305:453:0:o;35187:485::-;35300:14;35329:15;35359:14;35388:17;35420:15;35463:14;;:::i;:::-;35480:26;35490:11;35503:2;35480:9;:26::i;:::-;35463:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35463:43:0;;-1:-1:-1;35463:43:0;-1:-1:-1;35584:16:0;35463:43;35584:13;:16::i;:::-;35575:25;;35623:1;:11;;;35611:23;;;;35655:1;:9;;;35645:19;;;;35187:485;;;;;;;;;:::o;55769:35::-;;;:::o;44806:327::-;45021:33;;;44912:7;45021:33;;;:24;:33;;;;;44912:7;;;;44973:92;;44996:10;;44973:8;:92::i;:::-;44937:128;;;;45085:11;:40;;45107:18;45117:7;45107:9;:18::i;:::-;45085:40;;;45099:5;44806:327;-1:-1:-1;;;;44806:327:0:o;34542:159::-;34667:19;;;34635:7;34667:19;;;:6;:19;;;;;:26;34542:159;;;;:::o;21454:160::-;21588:18;;21556:7;21588:18;;;;;;;;;;;;21454:160::o;59560:643::-;59621:7;59641:14;59666:20;59697:19;59719:13;:11;:13::i;:::-;59697:35;;59748:9;59760:18;:16;:18::i;:::-;59748:30;;59743:226;59785:11;59780:1;:16;59743:226;;59818:17;;:::i;:::-;-1:-1:-1;59838:14:0;;;;:11;:14;;;;;;;;:21;;;;;;;;;;59818:41;;;;;;;;;;;;;;;;;;;;;;;;;;59838:14;59893:20;;59818:41;59893:20;:12;:20;:::i;:::-;59874:39;-1:-1:-1;59937:20:0;:6;59874:39;59937:20;:10;:20;:::i;:::-;59928:29;-1:-1:-1;;;59798:3:0;;59743:226;;;-1:-1:-1;59983:20:0;;;59979:175;;60043:4;60035:21;;-1:-1:-1;59979:175:0;;;60104:38;;;;;;60136:4;60104:38;;;;;;:23;;;;;;:38;;;;;;;;;;;;;;:23;:38;;;2:2:-1;;;;27:1;24;17:12;2:2;60104:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;60104:38:0;;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;60104:38:0;;-1:-1:-1;59979:175:0;60171:24;:12;60188:6;60171:24;:16;:24;:::i;:::-;60164:31;59560:643;-1:-1:-1;;;;;59560:643:0:o;58830:162::-;58923:7;58955:17;;;:11;:17;;;;;;;;:24;;;;;;;;;;;:29;;;;58830:162::o;59102:317::-;59223:7;59263:148;59291:21;59300:5;59307:4;59291:8;:21::i;:::-;59331:33;59350:7;59359:4;59331:18;:33::i;:::-;59383:13;:11;:13::i;:::-;59263:9;:148::i;51807:193::-;51918:7;51894:4;50563:10;50555:49;;;;;-1:-1:-1;;;50555:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;51950:42:::1;51990:1;51950:35;51966:18;:4:::0;51975:8:::1;51966:18;:8;:18;:::i;:::-;51950:11;::::0;:35:::1;:15;:35;:::i;:::-;:39:::0;:42:::1;:39;:42;:::i;:::-;51943:49:::0;51807:193;-1:-1:-1;;;51807:193:0:o;55854:72::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;50264:33::-;;;:::o;20418:87::-;20490:7;20483:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20457:13;;20483:14;;20490:7;;20483:14;;20490:7;20483:14;;;;;;;;;;;;;;;;;;;;;;;;45237:263;45301:7;45322:16;45340:13;45357:80;45380:10;45405:21;45357:8;:80::i;:::-;45321:116;;;;45457:11;:35;;45479:13;:11;:13::i;:::-;45457:35;;50370:36;;;:::o;24804:400::-;24924:4;24946:228;24969:12;:10;:12::i;:::-;24996:7;25018:145;25075:15;25018:145;;;;;;;;;;;;;;;;;:11;:25;25030:12;:10;:12::i;:::-;25018:25;;;;;;;;;;;;;;;;;;-1:-1:-1;25018:25:0;;;:34;;;;;;;;;;;:145;;:38;:145;:::i;55512:48::-;55558:1;55512:48;:::o;21827:216::-;21949:4;21971:42;21981:12;:10;:12::i;:::-;21995:9;22006:6;21971:9;:42::i;35824:123::-;35915:24;;35888:7;35915:24;;;:15;:24;;;;;;;35824:123::o;51520:195::-;51633:7;51609:4;50563:10;50555:49;;;;;-1:-1:-1;;;50555:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;51665:42:::1;51681:25;51697:8;51681:11;:4:::0;51690:1:::1;51681:11;:8;:11;:::i;:::-;:15:::0;:25:::1;:15;:25;:::i;51332:94::-:0;51376:7;51403:15;51414:3;51403:10;:15::i;:::-;51396:22;;51332:94;:::o;31371:35::-;;;;:::o;22106:201::-;22272:18;;;;22240:7;22272:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;22106:201::o;51113:151::-;51168:7;51195:61;51254:1;51195:54;51240:8;51195:40;51204:11;51195:40;;;;;;;;;;;;;;;;;:4;:8;;:40;;;;;:::i;:::-;:44;:54;:44;:54;:::i;:::-;:58;:61;:58;:61;:::i;60344:583::-;60456:7;60481:9;60501:13;60525;60549:19;60571:13;:11;:13::i;:::-;60549:35;;60618:114;60645:18;:16;:18::i;:::-;60682:28;;;;;;;;:17;:28;;;;;;;;:35;;;;;;;;;;60618:8;:114::i;:::-;60614:118;;60595:302;60751:11;60747:1;:15;60595:302;;;60815:31;60826:5;60833:9;60844:1;60815:10;:31::i;:::-;60807:39;-1:-1:-1;60869:16:0;:5;60807:39;60869:16;:9;:16;:::i;:::-;60777:3;;;;;60861:24;-1:-1:-1;60595:302:0;;;-1:-1:-1;60914:5:0;;60344:583;-1:-1:-1;;;;;60344:583:0:o;54267:162::-;54363:4;54392:24;;;:18;:24;;;;;;:29;;;54267:162::o;17659:106::-;17747:10;17659:106;:::o;28227:380::-;28363:19;;;28355:68;;;;-1:-1:-1;;;28355:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28442:21;;;28434:68;;;;-1:-1:-1;;;28434:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28515:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;28567:32;;;;;;;;;;;;;;;;;28227:380;;;:::o;1836:181::-;1894:7;1926:5;;;1950:6;;;;1942:46;;;;;-1:-1:-1;;;1942:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;61210:287;31924:24;;;;;;;:15;:24;;;;;;61413:4;;61419:5;;;;31901:48;;:18;61413:4;31901:9;:18::i;:48::-;:58;;31879:149;;;;-1:-1:-1;;;31879:149:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61442:47:::1;61473:4;61479:2;61483:5;61442:30;:47::i;:::-;61210:287:::0;;;;;:::o;2723:226::-;2843:7;2879:12;2871:6;;;;2863:29;;;;-1:-1:-1;;;2863:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2863:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2915:5:0;;;2723:226::o;62277:234::-;62327:7;62347:19;62369:13;:11;:13::i;:::-;62347:35;;62412:10;62397:11;:25;62393:66;;62446:1;62439:8;;;;;62393:66;62476:27;:11;62492:10;62476:27;:15;:27;:::i;:::-;62469:34;;;62277:234;:::o;276:107::-;334:7;366:1;361;:6;;:14;;374:1;361:14;;;-1:-1:-1;370:1:0;;354:21;-1:-1:-1;276:107:0:o;12903:248::-;13074:58;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;13074:58:0;;;;;;;;25:18:-1;;61:17;;13074:58:0;182:15:-1;13097:23:0;179:29:-1;160:49;;13020:123:0;;13054:5;;13020:19;:123::i;:::-;12903:248;;;:::o;36368:513::-;36469:13;36508:7;36500:38;;;;;-1:-1:-1;;;36500:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36584:19;;;;;;;:6;:19;;;;;:26;36554:6;;;;;36579:31;;36571:64;;;;;-1:-1:-1;;;36571:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36664:19;;;36646:15;36664:19;;;:6;:19;;;;;:23;;36684:2;;36664:23;;;;;;;;;;;;;;;;;;;36762:9;;;;36664:23;;-1:-1:-1;36762:9:0;;;;;36740:114;;;;-1:-1:-1;;;36740:114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36977:363;37038:7;37058:9;37070:3;37058:15;;37100:1;37088;:9;;;:13;;;37084:208;;;37140:11;;;;37185:9;;;;37270;;;;37230:8;;37136:15;;;;;;;37185:23;;;37166:42;;;;37230:50;;37270:9;37230:35;;37166:42;;37230:21;;37136:15;37230:21;:12;:21;:::i;:50::-;37223:57;;;;;;;37084:208;37322:9;;;;37309:8;;:23;;;:12;:23;:::i;2292:136::-;2350:7;2377:43;2381:1;2384;2377:43;;;;;;;;;;;;;;;;;:3;:43::i;36244:116::-;36325:19;;;;;;;:6;:19;;;;;:27;;36345:6;;;;36325:27;;;;;;;;;;;;;;;;;;36318:34;;;;;;;;;;;;-1:-1:-1;;36244:116:0:o;46485:1747::-;46601:4;46607:7;46653:1;46640:10;:14;46632:49;;;;;-1:-1:-1;;;46632:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;46782:28;:18;:26;:28::i;:::-;46768:10;:42;;46746:121;;;;;-1:-1:-1;;;46746:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;48006:13;48022:40;:9;48051:10;48022:40;:28;:40;:::i;:::-;48088:20;;48006:56;;-1:-1:-1;48079:29:0;;48075:150;;;-1:-1:-1;48133:5:0;;-1:-1:-1;48133:5:0;;-1:-1:-1;48125:17:0;;48075:150;48183:4;48189:9;:16;;48206:5;48189:23;;;;;;;;;;;;;;;;48175:38;;;;;46485:1747;;;;;;:::o;62655:200::-;62784:7;62811:36;62835:11;62811:19;:6;62822:7;62811:19;:10;:19;:::i;3200:471::-;3258:7;3503:6;3499:47;;-1:-1:-1;3533:1:0;3526:8;;3499:47;3570:5;;;3574:1;3570;:5;:1;3594:5;;;;;:10;3586:56;;;;-1:-1:-1;;;3586:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4139:132;4197:7;4224:39;4228:1;4231;4224:39;;;;;;;;;;;;;;;;;:3;:39::i;53059:202::-;53190:20;:18;:20::i;:::-;53221:32;53237:4;53243:2;53247:5;53221:15;:32::i;15601:1214::-;16220:27;16228:5;16220:25;;;:27::i;:::-;16198:108;;;;;-1:-1:-1;;;16198:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;16380:12;16394:23;16429:5;16421:19;;16441:4;16421:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;16421:25:0;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;16379:67:0;;;;16465:7;16457:52;;;;;-1:-1:-1;;;16457:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16526:17;;:21;16522:286;;16699:10;16688:30;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;16688:30:0;16662:134;;;;-1:-1:-1;;;16662:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15601:1214;;;;:::o;40075:114::-;40167:14;;40075:114::o;37972:950::-;38117:12;;38088:7;;38113:58;;-1:-1:-1;38158:1:0;38151:8;;38113:58;38224:12;;38183:11;;38249:424;38262:4;38256:3;:10;38249:424;;;38283:11;38297:23;38310:3;38315:4;38297:12;:23::i;:::-;38283:37;;38554:7;38541:5;38547:3;38541:10;;;;;;;;;;;;;;;;:20;38537:125;;;38589:3;38582:10;;38537:125;;;38639:3;38645:1;38639:7;38633:13;;38537:125;38249:424;;;;38799:1;38793:3;:7;:36;;;;;38822:7;38804:5;38816:1;38810:3;:7;38804:14;;;;;;;;;;;;;;;;:25;38793:36;38789:126;;;-1:-1:-1;38853:7:0;;;-1:-1:-1;38846:14:0;;38789:126;-1:-1:-1;38900:3:0;-1:-1:-1;38893:10:0;;4759:379;4879:7;4981:12;4974:5;4966:28;;;;-1:-1:-1;;;4966:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;4966:28:0;;5005:9;5021:1;5017;:5;;;;;;;4759:379;-1:-1:-1;;;;;4759:379:0:o;53818:248::-;53867:20;53890:13;:11;:13::i;:::-;53867:36;;53933:1;53918:12;:16;:62;;;;;53939:41;53978:1;53963:12;:16;53939:23;:41::i;:::-;53938:42;53918:62;53914:145;;;54036:11;:9;:11::i;:::-;54016:16;;;53997:36;;;;:18;:36;;;;;:50;53914:145;53818:248;:::o;45808:249::-;45939:28;45962:4;45939:22;:28::i;:::-;45978:26;46001:2;45978:22;:26::i;:::-;46017:32;46033:4;46039:2;46043:5;46017:15;:32::i;10153:657::-;10213:4;10710:20;;10540:66;10759:23;;;;;;:42;;-1:-1:-1;;10786:15:0;;;10153:657;-1:-1:-1;;10153:657:0:o;684:197::-;746:7;871:1;;861;:5;855:1;851;:5;850:17;849:23;;;;;;843:1;839;:5;833:1;829;:5;828:17;:45;;684:197;-1:-1:-1;;;684:197:0:o;44466:228::-;44513:7;44533:30;:18;:28;:30::i;:::-;44576:17;44596:28;:18;:26;:28::i;:::-;44640:19;;;;;;;;44576:48;;-1:-1:-1;44640:19:0;;;;;;;;;;44677:9;-1:-1:-1;44466:228:0;:::o;48240:146::-;48324:33;;;;;;;:24;:33;;;;;48308:70;;48359:18;48349:7;48359:9;:18::i;:::-;48308:15;:70::i;25694:647::-;25834:20;;;25826:70;;;;-1:-1:-1;;;25826:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25929:23;;;25907:108;;;;-1:-1:-1;;;25907:108:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26028:47;26049:6;26057:9;26068:6;26028:20;:47::i;:::-;26108:108;26144:6;26108:108;;;;;;;;;;;;;;;;;:17;;;:9;:17;;;;;;;;;;;;:108;;:21;:108;:::i;:::-;26088:17;;;;:9;:17;;;;;;;;;;;:128;;;;26250:20;;;;;;;:32;;26275:6;26250:32;:24;:32;:::i;:::-;26227:20;;;;:9;:20;;;;;;;;;;;;:55;;;;26298:35;;;;;;;26227:20;;26298:35;;;;;;;;;;;;;25694:647;;;:::o;40197:181::-;40351:19;;40369:1;40351:19;;;40197:181::o;48520:329::-;48629:17;48649:28;:18;:26;:28::i;:::-;48629:48;-1:-1:-1;48629:48:0;48692:30;48708:9;48692:15;:30::i;:::-;:42;48688:154;;;27:10:-1;;39:1;23:18;;;45:23;;-1:-1;48751:29:0;;;;;;;;;;;;;;48795:16;;;27:10:-1;;23:18;;;45:23;;48795:35:0;;;;;;;;48520:329::o;48857:244::-;48983:10;;48954:7;;48979:115;;-1:-1:-1;49022:1:0;49015:8;;48979:115;49067:10;;49063:3;;49067:14;;;;49063:19;;;;;;;;;;;;;;49056:26;;;;55379:7479;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;26622:378::-;26706:21;;;26698:65;;;;;-1:-1:-1;;;26698:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;26776:49;26805:1;26809:7;26818:6;26776:20;:49::i;:::-;26853:12;;:24;;26870:6;26853:24;:16;:24;:::i;:::-;26838:12;:39;26909:18;;;:9;:18;;;;;;;;;;;:30;;26932:6;26909:30;:22;:30;:::i;:::-;26888:18;;;:9;:18;;;;;;;;;;;:51;;;;26955:37;;;;;;;26888:18;;:9;;26955:37;;;;;;;;;;26622:378;;:::o

Swarm Source

ipfs://d9533f791f00d6acfb4d56640b28bb76565cee2fd9e7c89d504d85dd52cb8aa5
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.