ERC-20
Staking
Overview
Max Total Supply
150,931,808,596,172.507239721 HDRN
Holders
35,611 ( 0.006%)
Market
Price
$0.00 @ 0.000000 ETH (+8.79%)
Onchain Market Cap
$14,527,222.43
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 9 Decimals)
Balance
1,535,081.208017676 HDRNValue
$0.15 ( ~4.79390748469208E-05 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Hedron
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-02-20 */ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.9; /* Hedron is a collection of Ethereum / PulseChain smart contracts that * * build upon the HEX smart contract to provide additional functionality */ /** * @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); } /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } /** * @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 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. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @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 {ERC20PresetMinterPauser}. * * 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 Contracts guidelines: functions revert * instead 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, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 this function is * overridden; * * 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 virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override 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 view virtual override 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); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } 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] + 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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This 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); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(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: * * - `account` 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 += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(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); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This 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 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 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } /** * @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) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @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"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` 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 tokenId ) internal virtual {} } /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. 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;` */ library Counters { 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 { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } /** * @dev https://eips.ethereum.org/EIPS/eip-1167[EIP 1167] is a standard for * deploying minimal proxy contracts, also known as "clones". * * > To simply and cheaply clone contract functionality in an immutable way, this standard specifies * > a minimal bytecode implementation that delegates all calls to a known, fixed address. * * The library includes functions to deploy a proxy using either `create` (traditional deployment) or `create2` * (salted deterministic deployment). It also includes functions to predict the addresses of clones deployed using the * deterministic method. * * _Available since v3.4._ */ library Clones { /** * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`. * * This function uses the create opcode, which should never revert. */ function clone(address implementation) internal returns (address instance) { assembly { let ptr := mload(0x40) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(ptr, 0x14), shl(0x60, implementation)) mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) instance := create(0, ptr, 0x37) } require(instance != address(0), "ERC1167: create failed"); } /** * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`. * * This function uses the create2 opcode and a `salt` to deterministically deploy * the clone. Using the same `implementation` and `salt` multiple time will revert, since * the clones cannot be deployed twice at the same address. */ function cloneDeterministic(address implementation, bytes32 salt) internal returns (address instance) { assembly { let ptr := mload(0x40) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(ptr, 0x14), shl(0x60, implementation)) mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) instance := create2(0, ptr, 0x37, salt) } require(instance != address(0), "ERC1167: create2 failed"); } /** * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}. */ function predictDeterministicAddress( address implementation, bytes32 salt, address deployer ) internal pure returns (address predicted) { assembly { let ptr := mload(0x40) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(ptr, 0x14), shl(0x60, implementation)) mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf3ff00000000000000000000000000000000) mstore(add(ptr, 0x38), shl(0x60, deployer)) mstore(add(ptr, 0x4c), salt) mstore(add(ptr, 0x6c), keccak256(ptr, 0x37)) predicted := keccak256(add(ptr, 0x37), 0x55) } } /** * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}. */ function predictDeterministicAddress(address implementation, bytes32 salt) internal view returns (address predicted) { return predictDeterministicAddress(implementation, salt, address(this)); } } interface IHEX { event Approval( address indexed owner, address indexed spender, uint256 value ); event Claim( uint256 data0, uint256 data1, bytes20 indexed btcAddr, address indexed claimToAddr, address indexed referrerAddr ); event ClaimAssist( uint256 data0, uint256 data1, uint256 data2, address indexed senderAddr ); event DailyDataUpdate(uint256 data0, address indexed updaterAddr); event ShareRateChange(uint256 data0, uint40 indexed stakeId); event StakeEnd( uint256 data0, uint256 data1, address indexed stakerAddr, uint40 indexed stakeId ); event StakeGoodAccounting( uint256 data0, uint256 data1, address indexed stakerAddr, uint40 indexed stakeId, address indexed senderAddr ); event StakeStart( uint256 data0, address indexed stakerAddr, uint40 indexed stakeId ); event Transfer(address indexed from, address indexed to, uint256 value); event XfLobbyEnter( uint256 data0, address indexed memberAddr, uint256 indexed entryId, address indexed referrerAddr ); event XfLobbyExit( uint256 data0, address indexed memberAddr, uint256 indexed entryId, address indexed referrerAddr ); fallback() external payable; function allocatedSupply() external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function balanceOf(address account) external view returns (uint256); function btcAddressClaim( uint256 rawSatoshis, bytes32[] memory proof, address claimToAddr, bytes32 pubKeyX, bytes32 pubKeyY, uint8 claimFlags, uint8 v, bytes32 r, bytes32 s, uint256 autoStakeDays, address referrerAddr ) external returns (uint256); function btcAddressClaims(bytes20) external view returns (bool); function btcAddressIsClaimable( bytes20 btcAddr, uint256 rawSatoshis, bytes32[] memory proof ) external view returns (bool); function btcAddressIsValid( bytes20 btcAddr, uint256 rawSatoshis, bytes32[] memory proof ) external pure returns (bool); function claimMessageMatchesSignature( address claimToAddr, bytes32 claimParamHash, bytes32 pubKeyX, bytes32 pubKeyY, uint8 claimFlags, uint8 v, bytes32 r, bytes32 s ) external pure returns (bool); function currentDay() external view returns (uint256); function dailyData(uint256) external view returns ( uint72 dayPayoutTotal, uint72 dayStakeSharesTotal, uint56 dayUnclaimedSatoshisTotal ); function dailyDataRange(uint256 beginDay, uint256 endDay) external view returns (uint256[] memory list); function dailyDataUpdate(uint256 beforeDay) external; function decimals() external view returns (uint8); function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool); function globalInfo() external view returns (uint256[13] memory); function globals() external view returns ( uint72 lockedHeartsTotal, uint72 nextStakeSharesTotal, uint40 shareRate, uint72 stakePenaltyTotal, uint16 dailyDataCount, uint72 stakeSharesTotal, uint40 latestStakeId, uint128 claimStats ); function increaseAllowance(address spender, uint256 addedValue) external returns (bool); function merkleProofIsValid(bytes32 merkleLeaf, bytes32[] memory proof) external pure returns (bool); function name() external view returns (string memory); function pubKeyToBtcAddress( bytes32 pubKeyX, bytes32 pubKeyY, uint8 claimFlags ) external pure returns (bytes20); function pubKeyToEthAddress(bytes32 pubKeyX, bytes32 pubKeyY) external pure returns (address); function stakeCount(address stakerAddr) external view returns (uint256); function stakeEnd(uint256 stakeIndex, uint40 stakeIdParam) external; function stakeGoodAccounting( address stakerAddr, uint256 stakeIndex, uint40 stakeIdParam ) external; function stakeLists(address, uint256) external view returns ( uint40 stakeId, uint72 stakedHearts, uint72 stakeShares, uint16 lockedDay, uint16 stakedDays, uint16 unlockedDay, bool isAutoStake ); function stakeStart(uint256 newStakedHearts, uint256 newStakedDays) external; function symbol() external view returns (string memory); function totalSupply() external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); function xfLobby(uint256) external view returns (uint256); function xfLobbyEnter(address referrerAddr) external payable; function xfLobbyEntry(address memberAddr, uint256 entryId) external view returns (uint256 rawAmount, address referrerAddr); function xfLobbyExit(uint256 enterDay, uint256 count) external; function xfLobbyFlush() external; function xfLobbyMembers(uint256, address) external view returns (uint40 headIndex, uint40 tailIndex); function xfLobbyPendingDays(address memberAddr) external view returns (uint256[2] memory words); function xfLobbyRange(uint256 beginDay, uint256 endDay) external view returns (uint256[] memory list); } struct HEXDailyData { uint72 dayPayoutTotal; uint72 dayStakeSharesTotal; uint56 dayUnclaimedSatoshisTotal; } struct HEXGlobals { uint72 lockedHeartsTotal; uint72 nextStakeSharesTotal; uint40 shareRate; uint72 stakePenaltyTotal; uint16 dailyDataCount; uint72 stakeSharesTotal; uint40 latestStakeId; uint128 claimStats; } struct HEXStake { uint40 stakeId; uint72 stakedHearts; uint72 stakeShares; uint16 lockedDay; uint16 stakedDays; uint16 unlockedDay; bool isAutoStake; } struct HEXStakeMinimal { uint40 stakeId; uint72 stakeShares; uint16 lockedDay; uint16 stakedDays; } struct ShareStore { HEXStakeMinimal stake; uint16 mintedDays; uint8 launchBonus; uint16 loanStart; uint16 loanedDays; uint32 interestRate; uint8 paymentsMade; bool isLoaned; } struct ShareCache { HEXStakeMinimal _stake; uint256 _mintedDays; uint256 _launchBonus; uint256 _loanStart; uint256 _loanedDays; uint256 _interestRate; uint256 _paymentsMade; bool _isLoaned; } address constant _hdrnSourceAddress = address(0x9d73Ced2e36C89E5d167151809eeE218a189f801); address constant _hdrnFlowAddress = address(0xF447BE386164dADfB5d1e7622613f289F17024D8); uint256 constant _hdrnLaunch = 1645833600; contract HEXStakeInstance { IHEX private _hx; address private _creator; ShareStore public share; /** * @dev Updates the HSI's internal HEX stake data. */ function _stakeDataUpdate( ) internal { uint40 stakeId; uint72 stakedHearts; uint72 stakeShares; uint16 lockedDay; uint16 stakedDays; uint16 unlockedDay; bool isAutoStake; (stakeId, stakedHearts, stakeShares, lockedDay, stakedDays, unlockedDay, isAutoStake ) = _hx.stakeLists(address(this), 0); share.stake.stakeId = stakeId; share.stake.stakeShares = stakeShares; share.stake.lockedDay = lockedDay; share.stake.stakedDays = stakedDays; } function initialize( address hexAddress ) external { require(_creator == address(0), "HSI: Initialization already performed"); /* _creator is not an admin key. It is set at contsruction to be a link to the parent contract. In this case HSIM */ _creator = msg.sender; // set HEX contract address _hx = IHEX(payable(hexAddress)); } /** * @dev Creates a new HEX stake using all HEX ERC20 tokens assigned * to the HSI's contract address. This is a privileged operation only * HEXStakeInstanceManager.sol can call. * @param stakeLength Number of days the HEX ERC20 tokens will be staked. */ function create( uint256 stakeLength ) external { uint256 hexBalance = _hx.balanceOf(address(this)); require(msg.sender == _creator, "HSI: Caller must be contract creator"); require(share.stake.stakedDays == 0, "HSI: Creation already performed"); require(hexBalance > 0, "HSI: Creation requires a non-zero HEX balance"); _hx.stakeStart( hexBalance, stakeLength ); _stakeDataUpdate(); } /** * @dev Calls the HEX function "stakeGoodAccounting" against the * HEX stake held within the HSI. */ function goodAccounting( ) external { require(share.stake.stakedDays > 0, "HSI: Creation not yet performed"); _hx.stakeGoodAccounting(address(this), 0, share.stake.stakeId); _stakeDataUpdate(); } /** * @dev Ends the HEX stake, approves the "_creator" address to transfer * all HEX ERC20 tokens, and self-destructs the HSI. This is a * privileged operation only HEXStakeInstanceManager.sol can call. */ function destroy( ) external { require(msg.sender == _creator, "HSI: Caller must be contract creator"); require(share.stake.stakedDays > 0, "HSI: Creation not yet performed"); _hx.stakeEnd(0, share.stake.stakeId); uint256 hexBalance = _hx.balanceOf(address(this)); if (_hx.approve(_creator, hexBalance)) { selfdestruct(payable(_creator)); } else { revert(); } } /** * @dev Updates the HSI's internal share data. This is a privileged * operation only HEXStakeInstanceManager.sol can call. * @param _share "ShareCache" object containing updated share data. */ function update( ShareCache memory _share ) external { require(msg.sender == _creator, "HSI: Caller must be contract creator"); share.mintedDays = uint16(_share._mintedDays); share.launchBonus = uint8 (_share._launchBonus); share.loanStart = uint16(_share._loanStart); share.loanedDays = uint16(_share._loanedDays); share.interestRate = uint32(_share._interestRate); share.paymentsMade = uint8 (_share._paymentsMade); share.isLoaned = _share._isLoaned; } /** * @dev Fetches stake data from the HEX contract. * @return A "HEXStake" object containg the HEX stake data. */ function stakeDataFetch( ) external view returns(HEXStake memory) { uint40 stakeId; uint72 stakedHearts; uint72 stakeShares; uint16 lockedDay; uint16 stakedDays; uint16 unlockedDay; bool isAutoStake; (stakeId, stakedHearts, stakeShares, lockedDay, stakedDays, unlockedDay, isAutoStake ) = _hx.stakeLists(address(this), 0); return HEXStake( stakeId, stakedHearts, stakeShares, lockedDay, stakedDays, unlockedDay, isAutoStake ); } } interface IHedron { event Approval( address indexed owner, address indexed spender, uint256 value ); event Claim(uint256 data, address indexed claimant, uint40 indexed stakeId); event LoanEnd( uint256 data, address indexed borrower, uint40 indexed stakeId ); event LoanLiquidateBid( uint256 data, address indexed bidder, uint40 indexed stakeId, uint40 indexed liquidationId ); event LoanLiquidateExit( uint256 data, address indexed liquidator, uint40 indexed stakeId, uint40 indexed liquidationId ); event LoanLiquidateStart( uint256 data, address indexed borrower, uint40 indexed stakeId, uint40 indexed liquidationId ); event LoanPayment( uint256 data, address indexed borrower, uint40 indexed stakeId ); event LoanStart( uint256 data, address indexed borrower, uint40 indexed stakeId ); event Mint(uint256 data, address indexed minter, uint40 indexed stakeId); event Transfer(address indexed from, address indexed to, uint256 value); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function balanceOf(address account) external view returns (uint256); function calcLoanPayment( address borrower, uint256 hsiIndex, address hsiAddress ) external view returns (uint256, uint256); function calcLoanPayoff( address borrower, uint256 hsiIndex, address hsiAddress ) external view returns (uint256, uint256); function claimInstanced( uint256 hsiIndex, address hsiAddress, address hsiStarterAddress ) external; function claimNative(uint256 stakeIndex, uint40 stakeId) external returns (uint256); function currentDay() external view returns (uint256); function dailyDataList(uint256) external view returns ( uint72 dayMintedTotal, uint72 dayLoanedTotal, uint72 dayBurntTotal, uint32 dayInterestRate, uint8 dayMintMultiplier ); function decimals() external view returns (uint8); function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool); function hsim() external view returns (address); function increaseAllowance(address spender, uint256 addedValue) external returns (bool); function liquidationList(uint256) external view returns ( uint256 liquidationStart, address hsiAddress, uint96 bidAmount, address liquidator, uint88 endOffset, bool isActive ); function loanInstanced(uint256 hsiIndex, address hsiAddress) external returns (uint256); function loanLiquidate( address owner, uint256 hsiIndex, address hsiAddress ) external returns (uint256); function loanLiquidateBid(uint256 liquidationId, uint256 liquidationBid) external returns (uint256); function loanLiquidateExit(uint256 hsiIndex, uint256 liquidationId) external returns (address); function loanPayment(uint256 hsiIndex, address hsiAddress) external returns (uint256); function loanPayoff(uint256 hsiIndex, address hsiAddress) external returns (uint256); function loanedSupply() external view returns (uint256); function mintInstanced(uint256 hsiIndex, address hsiAddress) external returns (uint256); function mintNative(uint256 stakeIndex, uint40 stakeId) external returns (uint256); function name() external view returns (string memory); function proofOfBenevolence(uint256 amount) external; function shareList(uint256) external view returns ( HEXStakeMinimal memory stake, uint16 mintedDays, uint8 launchBonus, uint16 loanStart, uint16 loanedDays, uint32 interestRate, uint8 paymentsMade, bool isLoaned ); function symbol() external view returns (string memory); function totalSupply() external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); } library LibPart { bytes32 public constant TYPE_HASH = keccak256("Part(address account,uint96 value)"); struct Part { address payable account; uint96 value; } function hash(Part memory part) internal pure returns (bytes32) { return keccak256(abi.encode(TYPE_HASH, part.account, part.value)); } } abstract contract AbstractRoyalties { mapping (uint256 => LibPart.Part[]) internal royalties; function _saveRoyalties(uint256 id, LibPart.Part[] memory _royalties) internal { uint256 totalValue; for (uint i = 0; i < _royalties.length; i++) { require(_royalties[i].account != address(0x0), "Recipient should be present"); require(_royalties[i].value != 0, "Royalty value should be positive"); totalValue += _royalties[i].value; royalties[id].push(_royalties[i]); } require(totalValue < 10000, "Royalty total value should be < 10000"); _onRoyaltiesSet(id, _royalties); } function _updateAccount(uint256 _id, address _from, address _to) internal { uint length = royalties[_id].length; for(uint i = 0; i < length; i++) { if (royalties[_id][i].account == _from) { royalties[_id][i].account = payable(address(uint160(_to))); } } } function _onRoyaltiesSet(uint256 id, LibPart.Part[] memory _royalties) virtual internal; } interface RoyaltiesV2 { event RoyaltiesSet(uint256 tokenId, LibPart.Part[] royalties); function getRaribleV2Royalties(uint256 id) external view returns (LibPart.Part[] memory); } contract RoyaltiesV2Impl is AbstractRoyalties, RoyaltiesV2 { function getRaribleV2Royalties(uint256 id) override external view returns (LibPart.Part[] memory) { return royalties[id]; } function _onRoyaltiesSet(uint256 id, LibPart.Part[] memory _royalties) override internal { emit RoyaltiesSet(id, _royalties); } } library LibRoyaltiesV2 { /* * bytes4(keccak256('getRaribleV2Royalties(uint256)')) == 0xcad96cca */ bytes4 constant _INTERFACE_ID_ROYALTIES = 0xcad96cca; } contract HEXStakeInstanceManager is ERC721, ERC721Enumerable, RoyaltiesV2Impl { using Counters for Counters.Counter; bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; uint96 private constant _hsimRoyaltyBasis = 15; // Rarible V2 royalty basis string private constant _hostname = "https://api.hedron.pro/"; string private constant _endpoint = "/hsi/"; Counters.Counter private _tokenIds; address private _creator; IHEX private _hx; address private _hxAddress; address private _hsiImplementation; mapping(address => address[]) public hsiLists; mapping(uint256 => address) public hsiToken; constructor( address hexAddress ) ERC721("HEX Stake Instance", "HSI") { /* _creator is not an admin key. It is set at contsruction to be a link to the parent contract. In this case Hedron */ _creator = msg.sender; // set HEX contract address _hx = IHEX(payable(hexAddress)); _hxAddress = hexAddress; // create HSI implementation _hsiImplementation = address(new HEXStakeInstance()); // initialize the HSI just in case HEXStakeInstance hsi = HEXStakeInstance(_hsiImplementation); hsi.initialize(hexAddress); } function _baseURI( ) internal view virtual override returns (string memory) { string memory chainid = Strings.toString(block.chainid); return string(abi.encodePacked(_hostname, chainid, _endpoint)); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } event HSIStart( uint256 timestamp, address indexed hsiAddress, address indexed staker ); event HSIEnd( uint256 timestamp, address indexed hsiAddress, address indexed staker ); event HSITransfer( uint256 timestamp, address indexed hsiAddress, address indexed oldStaker, address indexed newStaker ); event HSITokenize( uint256 timestamp, uint256 indexed hsiTokenId, address indexed hsiAddress, address indexed staker ); event HSIDetokenize( uint256 timestamp, uint256 indexed hsiTokenId, address indexed hsiAddress, address indexed staker ); /** * @dev Removes a HEX stake instance (HSI) contract address from an address mapping. * @param hsiList A mapped list of HSI contract addresses. * @param hsiIndex The index of the HSI contract address which will be removed. */ function _pruneHSI( address[] storage hsiList, uint256 hsiIndex ) internal { uint256 lastIndex = hsiList.length - 1; if (hsiIndex != lastIndex) { hsiList[hsiIndex] = hsiList[lastIndex]; } hsiList.pop(); } /** * @dev Loads share data from a HEX stake instance (HSI) into a "ShareCache" object. * @param hsi A HSI contract object from which share data will be loaded. * @return "ShareCache" object containing the loaded share data. */ function _hsiLoad( HEXStakeInstance hsi ) internal view returns (ShareCache memory) { HEXStakeMinimal memory stake; uint16 mintedDays; uint8 launchBonus; uint16 loanStart; uint16 loanedDays; uint32 interestRate; uint8 paymentsMade; bool isLoaned; (stake, mintedDays, launchBonus, loanStart, loanedDays, interestRate, paymentsMade, isLoaned) = hsi.share(); return ShareCache( stake, mintedDays, launchBonus, loanStart, loanedDays, interestRate, paymentsMade, isLoaned ); } // Internal NFT Marketplace Glue /** @dev Sets the Rarible V2 royalties on a specific token * @param tokenId Unique ID of the HSI NFT token. */ function _setRoyalties( uint256 tokenId ) internal { LibPart.Part[] memory _royalties = new LibPart.Part[](1); _royalties[0].value = _hsimRoyaltyBasis; _royalties[0].account = payable(_hdrnFlowAddress); _saveRoyalties(tokenId, _royalties); } /** * @dev Retreives the number of HSI elements in an addresses HSI list. * @param user Address to retrieve the HSI list for. * @return Number of HSI elements found within the HSI list. */ function hsiCount( address user ) public view returns (uint256) { return hsiLists[user].length; } /** * @dev Wrapper function for hsiCount to allow HEX based applications to pull stake data. * @param user Address to retrieve the HSI list for. * @return Number of HSI elements found within the HSI list. */ function stakeCount( address user ) external view returns (uint256) { return hsiCount(user); } /** * @dev Wrapper function for hsiLists to allow HEX based applications to pull stake data. * @param user Address to retrieve the HSI list for. * @param hsiIndex The index of the HSI contract address which will returned. * @return "HEXStake" object containing HEX stake data. */ function stakeLists( address user, uint256 hsiIndex ) external view returns (HEXStake memory) { address[] storage hsiList = hsiLists[user]; HEXStakeInstance hsi = HEXStakeInstance(hsiList[hsiIndex]); return hsi.stakeDataFetch(); } /** * @dev Creates a new HEX stake instance (HSI), transfers HEX ERC20 tokens to the * HSI's contract address, and calls the "initialize" function. * @param amount Number of HEX ERC20 tokens to be staked. * @param length Number of days the HEX ERC20 tokens will be staked. * @return Address of the newly created HSI contract. */ function hexStakeStart ( uint256 amount, uint256 length ) external returns (address) { require(amount <= _hx.balanceOf(msg.sender), "HSIM: Insufficient HEX to facilitate stake"); address[] storage hsiList = hsiLists[msg.sender]; address hsiAddress = Clones.clone(_hsiImplementation); HEXStakeInstance hsi = HEXStakeInstance(hsiAddress); hsi.initialize(_hxAddress); hsiList.push(hsiAddress); uint256 hsiIndex = hsiList.length - 1; require(_hx.transferFrom(msg.sender, hsiAddress, amount), "HSIM: HEX transfer from message sender to HSIM failed"); hsi.create(length); IHedron hedron = IHedron(_creator); hedron.claimInstanced(hsiIndex, hsiAddress, msg.sender); emit HSIStart(block.timestamp, hsiAddress, msg.sender); return hsiAddress; } /** * @dev Calls the HEX stake instance (HSI) function "destroy", transfers HEX ERC20 tokens * from the HSI's contract address to the senders address. * @param hsiIndex Index of the HSI contract's address in the caller's HSI list. * @param hsiAddress Address of the HSI contract in which to call the "destroy" function. * @return Amount of HEX ERC20 tokens awarded via ending the HEX stake. */ function hexStakeEnd ( uint256 hsiIndex, address hsiAddress ) external returns (uint256) { address[] storage hsiList = hsiLists[msg.sender]; require(hsiAddress == hsiList[hsiIndex], "HSIM: HSI index address mismatch"); HEXStakeInstance hsi = HEXStakeInstance(hsiAddress); ShareCache memory share = _hsiLoad(hsi); require (share._isLoaned == false, "HSIM: Cannot call stakeEnd against a loaned stake"); hsi.destroy(); emit HSIEnd(block.timestamp, hsiAddress, msg.sender); uint256 hsiBalance = _hx.balanceOf(hsiAddress); if (hsiBalance > 0) { require(_hx.transferFrom(hsiAddress, msg.sender, hsiBalance), "HSIM: HEX transfer from HSI failed"); } _pruneHSI(hsiList, hsiIndex); return hsiBalance; } /** * @dev Converts a HEX stake instance (HSI) contract address mapping into a * HSI ERC721 token. * @param hsiIndex Index of the HSI contract's address in the caller's HSI list. * @param hsiAddress Address of the HSI contract to be converted. * @return Token ID of the newly minted HSI ERC721 token. */ function hexStakeTokenize ( uint256 hsiIndex, address hsiAddress ) external returns (uint256) { address[] storage hsiList = hsiLists[msg.sender]; require(hsiAddress == hsiList[hsiIndex], "HSIM: HSI index address mismatch"); HEXStakeInstance hsi = HEXStakeInstance(hsiAddress); ShareCache memory share = _hsiLoad(hsi); require (share._isLoaned == false, "HSIM: Cannot tokenize a loaned stake"); _tokenIds.increment(); uint256 newTokenId = _tokenIds.current(); _mint(msg.sender, newTokenId); hsiToken[newTokenId] = hsiAddress; _setRoyalties(newTokenId); _pruneHSI(hsiList, hsiIndex); emit HSITokenize( block.timestamp, newTokenId, hsiAddress, msg.sender ); return newTokenId; } /** * @dev Converts a HEX stake instance (HSI) ERC721 token into an address mapping. * @param tokenId ID of the HSI ERC721 token to be converted. * @return Address of the detokenized HSI contract. */ function hexStakeDetokenize ( uint256 tokenId ) external returns (address) { require(ownerOf(tokenId) == msg.sender, "HSIM: Detokenization requires token ownership"); address hsiAddress = hsiToken[tokenId]; address[] storage hsiList = hsiLists[msg.sender]; hsiList.push(hsiAddress); hsiToken[tokenId] = address(0); _burn(tokenId); emit HSIDetokenize( block.timestamp, tokenId, hsiAddress, msg.sender ); return hsiAddress; } /** * @dev Updates the share data of a HEX stake instance (HSI) contract. * This is a pivileged operation only Hedron.sol can call. * @param holder Address of the HSI contract owner. * @param hsiIndex Index of the HSI contract's address in the holder's HSI list. * @param hsiAddress Address of the HSI contract to be updated. * @param share "ShareCache" object containing updated share data. */ function hsiUpdate ( address holder, uint256 hsiIndex, address hsiAddress, ShareCache memory share ) external { require(msg.sender == _creator, "HSIM: Caller must be contract creator"); address[] storage hsiList = hsiLists[holder]; require(hsiAddress == hsiList[hsiIndex], "HSIM: HSI index address mismatch"); HEXStakeInstance hsi = HEXStakeInstance(hsiAddress); hsi.update(share); } /** * @dev Transfers ownership of a HEX stake instance (HSI) contract to a new address. * This is a pivileged operation only Hedron.sol can call. End users can use * the NFT tokenize / detokenize to handle HSI transfers. * @param currentHolder Address to transfer the HSI contract from. * @param hsiIndex Index of the HSI contract's address in the currentHolder's HSI list. * @param hsiAddress Address of the HSI contract to be transfered. * @param newHolder Address to transfer to HSI contract to. */ function hsiTransfer ( address currentHolder, uint256 hsiIndex, address hsiAddress, address newHolder ) external { require(msg.sender == _creator, "HSIM: Caller must be contract creator"); address[] storage hsiListCurrent = hsiLists[currentHolder]; address[] storage hsiListNew = hsiLists[newHolder]; require(hsiAddress == hsiListCurrent[hsiIndex], "HSIM: HSI index address mismatch"); hsiListNew.push(hsiAddress); _pruneHSI(hsiListCurrent, hsiIndex); emit HSITransfer( block.timestamp, hsiAddress, currentHolder, newHolder ); } // External NFT Marketplace Glue /** * @dev Implements ERC2981 royalty functionality. We just read the royalty data from * the Rarible V2 implementation. * @param tokenId Unique ID of the HSI NFT token. * @param salePrice Price the HSI NFT token was sold for. * @return receiver address to send the royalties to as well as the royalty amount. */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) external view returns (address receiver, uint256 royaltyAmount) { LibPart.Part[] memory _royalties = royalties[tokenId]; if (_royalties.length > 0) { return (_royalties[0].account, (salePrice * _royalties[0].value) / 10000); } return (address(0), 0); } /** * @dev returns _hdrnFlowAddress, needed for some NFT marketplaces. This is not * an admin key. * @return _hdrnFlowAddress */ function owner( ) external pure returns (address) { return _hdrnFlowAddress; } /** * @dev Adds Rarible V2 and ERC2981 interface support. * @param interfaceId Unique contract interface identifier. * @return True if the interface is supported, false if not. */ function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { if (interfaceId == LibRoyaltiesV2._INTERFACE_ID_ROYALTIES) { return true; } if (interfaceId == _INTERFACE_ID_ERC2981) { return true; } return super.supportsInterface(interfaceId); } } contract Hedron is ERC20 { using Counters for Counters.Counter; struct DailyDataStore { uint72 dayMintedTotal; uint72 dayLoanedTotal; uint72 dayBurntTotal; uint32 dayInterestRate; uint8 dayMintMultiplier; } struct DailyDataCache { uint256 _dayMintedTotal; uint256 _dayLoanedTotal; uint256 _dayBurntTotal; uint256 _dayInterestRate; uint256 _dayMintMultiplier; } struct LiquidationStore{ uint256 liquidationStart; address hsiAddress; uint96 bidAmount; address liquidator; uint88 endOffset; bool isActive; } struct LiquidationCache { uint256 _liquidationStart; address _hsiAddress; uint256 _bidAmount; address _liquidator; uint256 _endOffset; bool _isActive; } uint256 constant private _hdrnLaunchDays = 100; // length of the launch phase bonus in Hedron days uint256 constant private _hdrnLoanInterestResolution = 1000000; // loan interest decimal resolution uint256 constant private _hdrnLoanInterestDivisor = 2; // relation of Hedron's interest rate to HEX's interest rate uint256 constant private _hdrnLoanPaymentWindow = 30; // how many Hedron days to roll into a single payment uint256 constant private _hdrnLoanDefaultThreshold = 90; // how many Hedron days before loan liquidation is allowed IHEX private _hx; uint256 private _hxLaunch; HEXStakeInstanceManager private _hsim; Counters.Counter private _liquidationIds; address public hsim; mapping(uint256 => ShareStore) public shareList; mapping(uint256 => DailyDataStore) public dailyDataList; mapping(uint256 => LiquidationStore) public liquidationList; uint256 public loanedSupply; constructor( address hexAddress, uint256 hexLaunch ) ERC20("Hedron", "HDRN") { // set HEX contract address and launch time _hx = IHEX(payable(hexAddress)); _hxLaunch = hexLaunch; // initialize HEX stake instance manager hsim = address(new HEXStakeInstanceManager(hexAddress)); _hsim = HEXStakeInstanceManager(hsim); } function decimals() public view virtual override returns (uint8) { return 9; } // Hedron Events event Claim( uint256 data, address indexed claimant, uint40 indexed stakeId ); event Mint( uint256 data, address indexed minter, uint40 indexed stakeId ); event LoanStart( uint256 data, address indexed borrower, uint40 indexed stakeId ); event LoanPayment( uint256 data, address indexed borrower, uint40 indexed stakeId ); event LoanEnd( uint256 data, address indexed borrower, uint40 indexed stakeId ); event LoanLiquidateStart( uint256 data, address indexed borrower, uint40 indexed stakeId, uint40 indexed liquidationId ); event LoanLiquidateBid( uint256 data, address indexed bidder, uint40 indexed stakeId, uint40 indexed liquidationId ); event LoanLiquidateExit( uint256 data, address indexed liquidator, uint40 indexed stakeId, uint40 indexed liquidationId ); // Hedron Private Functions function _emitClaim( uint40 stakeId, uint256 stakeShares, uint256 launchBonus ) private { emit Claim( uint256(uint40 (block.timestamp)) | (uint256(uint72 (stakeShares)) << 40) | (uint256(uint144(launchBonus)) << 112), msg.sender, stakeId ); } function _emitMint( ShareCache memory share, uint256 payout ) private { emit Mint( uint256(uint40 (block.timestamp)) | (uint256(uint72 (share._stake.stakeShares)) << 40) | (uint256(uint16 (share._mintedDays)) << 112) | (uint256(uint8 (share._launchBonus)) << 128) | (uint256(uint120(payout)) << 136), msg.sender, share._stake.stakeId ); } function _emitLoanStart( ShareCache memory share, uint256 borrowed ) private { emit LoanStart( uint256(uint40 (block.timestamp)) | (uint256(uint72(share._stake.stakeShares)) << 40) | (uint256(uint16(share._loanedDays)) << 112) | (uint256(uint32(share._interestRate)) << 128) | (uint256(uint96(borrowed)) << 160), msg.sender, share._stake.stakeId ); } function _emitLoanPayment( ShareCache memory share, uint256 payment ) private { emit LoanPayment( uint256(uint40 (block.timestamp)) | (uint256(uint72(share._stake.stakeShares)) << 40) | (uint256(uint16(share._loanedDays)) << 112) | (uint256(uint32(share._interestRate)) << 128) | (uint256(uint8 (share._paymentsMade)) << 160) | (uint256(uint88(payment)) << 168), msg.sender, share._stake.stakeId ); } function _emitLoanEnd( ShareCache memory share, uint256 payoff ) private { emit LoanEnd( uint256(uint40 (block.timestamp)) | (uint256(uint72(share._stake.stakeShares)) << 40) | (uint256(uint16(share._loanedDays)) << 112) | (uint256(uint32(share._interestRate)) << 128) | (uint256(uint8 (share._paymentsMade)) << 160) | (uint256(uint88(payoff)) << 168), msg.sender, share._stake.stakeId ); } function _emitLoanLiquidateStart( ShareCache memory share, uint40 liquidationId, address borrower, uint256 startingBid ) private { emit LoanLiquidateStart( uint256(uint40 (block.timestamp)) | (uint256(uint72(share._stake.stakeShares)) << 40) | (uint256(uint16(share._loanedDays)) << 112) | (uint256(uint32(share._interestRate)) << 128) | (uint256(uint8 (share._paymentsMade)) << 160) | (uint256(uint88(startingBid)) << 168), borrower, share._stake.stakeId, liquidationId ); } function _emitLoanLiquidateBid( uint40 stakeId, uint40 liquidationId, uint256 bidAmount ) private { emit LoanLiquidateBid( uint256(uint40 (block.timestamp)) | (uint256(uint216(bidAmount)) << 40), msg.sender, stakeId, liquidationId ); } function _emitLoanLiquidateExit( uint40 stakeId, uint40 liquidationId, address liquidator, uint256 finalBid ) private { emit LoanLiquidateExit( uint256(uint40 (block.timestamp)) | (uint256(uint216(finalBid)) << 40), liquidator, stakeId, liquidationId ); } // HEX Internal Functions /** * @dev Calculates the current HEX day. * @return Number representing the current HEX day. */ function _hexCurrentDay() internal view returns (uint256) { return (block.timestamp - _hxLaunch) / 1 days; } /** * @dev Loads HEX daily data values from the HEX contract into a "HEXDailyData" object. * @param hexDay The HEX day to obtain daily data for. * @return "HEXDailyData" object containing the daily data values returned by the HEX contract. */ function _hexDailyDataLoad( uint256 hexDay ) internal view returns (HEXDailyData memory) { uint72 dayPayoutTotal; uint72 dayStakeSharesTotal; uint56 dayUnclaimedSatoshisTotal; (dayPayoutTotal, dayStakeSharesTotal, dayUnclaimedSatoshisTotal) = _hx.dailyData(hexDay); return HEXDailyData( dayPayoutTotal, dayStakeSharesTotal, dayUnclaimedSatoshisTotal ); } /** * @dev Loads HEX global values from the HEX contract into a "HEXGlobals" object. * @return "HEXGlobals" object containing the global values returned by the HEX contract. */ function _hexGlobalsLoad() internal view returns (HEXGlobals memory) { uint72 lockedHeartsTotal; uint72 nextStakeSharesTotal; uint40 shareRate; uint72 stakePenaltyTotal; uint16 dailyDataCount; uint72 stakeSharesTotal; uint40 latestStakeId; uint128 claimStats; (lockedHeartsTotal, nextStakeSharesTotal, shareRate, stakePenaltyTotal, dailyDataCount, stakeSharesTotal, latestStakeId, claimStats) = _hx.globals(); return HEXGlobals( lockedHeartsTotal, nextStakeSharesTotal, shareRate, stakePenaltyTotal, dailyDataCount, stakeSharesTotal, latestStakeId, claimStats ); } /** * @dev Loads HEX stake values from the HEX contract into a "HEXStake" object. * @param stakeIndex The index of the desired HEX stake within the sender's HEX stake list. * @return "HEXStake" object containing the stake values returned by the HEX contract. */ function _hexStakeLoad( uint256 stakeIndex ) internal view returns (HEXStake memory) { uint40 stakeId; uint72 stakedHearts; uint72 stakeShares; uint16 lockedDay; uint16 stakedDays; uint16 unlockedDay; bool isAutoStake; (stakeId, stakedHearts, stakeShares, lockedDay, stakedDays, unlockedDay, isAutoStake) = _hx.stakeLists(msg.sender, stakeIndex); return HEXStake( stakeId, stakedHearts, stakeShares, lockedDay, stakedDays, unlockedDay, isAutoStake ); } // Hedron Internal Functions /** * @dev Calculates the current Hedron day. * @return Number representing the current Hedron day. */ function _currentDay() internal view returns (uint256) { return (block.timestamp - _hdrnLaunch) / 1 days; } /** * @dev Calculates the multiplier to be used for the Launch Phase Bonus. * @param launchDay The current day of the Hedron launch phase. * @return Multiplier to use for the given launch day. */ function _calcLPBMultiplier ( uint256 launchDay ) internal pure returns (uint256) { if (launchDay > 90) { return 100; } else if (launchDay > 80) { return 90; } else if (launchDay > 70) { return 80; } else if (launchDay > 60) { return 70; } else if (launchDay > 50) { return 60; } else if (launchDay > 40) { return 50; } else if (launchDay > 30) { return 40; } else if (launchDay > 20) { return 30; } else if (launchDay > 10) { return 20; } else if (launchDay > 0) { return 10; } return 0; } /** * @dev Calculates the number of bonus HDRN tokens to be minted in regards to minting bonuses. * @param multiplier The multiplier to use, increased by a factor of 10. * @param payout Payout to apply the multiplier towards. * @return Number of tokens to mint as a bonus. */ function _calcBonus( uint256 multiplier, uint256 payout ) internal pure returns (uint256) { return uint256((payout * multiplier) / 10); } /** * @dev Loads values from a "DailyDataStore" object into a "DailyDataCache" object. * @param dayStore "DailyDataStore" object to be loaded. * @param day "DailyDataCache" object to be populated with storage data. */ function _dailyDataLoad( DailyDataStore storage dayStore, DailyDataCache memory day ) internal view { day._dayMintedTotal = dayStore.dayMintedTotal; day._dayLoanedTotal = dayStore.dayLoanedTotal; day._dayBurntTotal = dayStore.dayBurntTotal; day._dayInterestRate = dayStore.dayInterestRate; day._dayMintMultiplier = dayStore.dayMintMultiplier; if (day._dayInterestRate == 0) { uint256 hexCurrentDay = _hexCurrentDay(); /* There is a very small window of time where it would be technically possible to pull HEX dailyData that is not yet defined. While unlikely to happen, we should prevent the possibility by pulling data from two days prior. This means our interest rate will slightly lag behind HEX's interest rate. */ HEXDailyData memory hexDailyData = _hexDailyDataLoad(hexCurrentDay - 2); HEXGlobals memory hexGlobals = _hexGlobalsLoad(); uint256 hexDailyInterestRate = (hexDailyData.dayPayoutTotal * _hdrnLoanInterestResolution) / hexGlobals.lockedHeartsTotal; day._dayInterestRate = hexDailyInterestRate / _hdrnLoanInterestDivisor; /* Ideally we want a 50/50 split between loaned and minted Hedron. If less than 50% of the total supply is minted, allocate a bonus multiplier and scale it from 0 to 10. This is to attempt to prevent a situation where there is not enough available minted supply to cover loan interest. */ if (loanedSupply > 0 && totalSupply() > 0) { uint256 loanedToMinted = (loanedSupply * 100) / totalSupply(); if (loanedToMinted > 50) { day._dayMintMultiplier = (loanedToMinted - 50) * 2; } } } } /** * @dev Updates a "DailyDataStore" object with values stored in a "DailyDataCache" object. * @param dayStore "DailyDataStore" object to be updated. * @param day "DailyDataCache" object with updated values. */ function _dailyDataUpdate( DailyDataStore storage dayStore, DailyDataCache memory day ) internal { dayStore.dayMintedTotal = uint72(day._dayMintedTotal); dayStore.dayLoanedTotal = uint72(day._dayLoanedTotal); dayStore.dayBurntTotal = uint72(day._dayBurntTotal); dayStore.dayInterestRate = uint32(day._dayInterestRate); dayStore.dayMintMultiplier = uint8(day._dayMintMultiplier); } /** * @dev Loads share data from a HEX stake instance (HSI) into a "ShareCache" object. * @param hsi The HSI to load share data from. * @return "ShareCache" object containing the share data of the HSI. */ function _hsiLoad( HEXStakeInstance hsi ) internal view returns (ShareCache memory) { HEXStakeMinimal memory stake; uint16 mintedDays; uint8 launchBonus; uint16 loanStart; uint16 loanedDays; uint32 interestRate; uint8 paymentsMade; bool isLoaned; (stake, mintedDays, launchBonus, loanStart, loanedDays, interestRate, paymentsMade, isLoaned) = hsi.share(); return ShareCache( stake, mintedDays, launchBonus, loanStart, loanedDays, interestRate, paymentsMade, isLoaned ); } /** * @dev Creates (or overwrites) a new share element in the share list. * @param stake "HEXStakeMinimal" object with which the share element is tied to. * @param mintedDays Amount of Hedron days the HEX stake has been minted against. * @param launchBonus The launch bonus multiplier of the share element. * @param loanStart The Hedron day the loan was started * @param loanedDays Amount of Hedron days the HEX stake has been borrowed against. * @param interestRate The interest rate of the loan. * @param paymentsMade Amount of payments made towards the loan. * @param isLoaned Flag used to determine if the HEX stake is currently borrowed against.. */ function _shareAdd( HEXStakeMinimal memory stake, uint256 mintedDays, uint256 launchBonus, uint256 loanStart, uint256 loanedDays, uint256 interestRate, uint256 paymentsMade, bool isLoaned ) internal { shareList[stake.stakeId] = ShareStore( stake, uint16(mintedDays), uint8(launchBonus), uint16(loanStart), uint16(loanedDays), uint32(interestRate), uint8(paymentsMade), isLoaned ); } /** * @dev Creates a new liquidation element in the liquidation list. * @param hsiAddress Address of the HEX Stake Instance (HSI) being liquidated. * @param liquidator Address of the user starting the liquidation process. * @param liquidatorBid Bid amount (in HDRN) the user is starting the liquidation process with. * @return ID of the liquidation element. */ function _liquidationAdd( address hsiAddress, address liquidator, uint256 liquidatorBid ) internal returns (uint256) { _liquidationIds.increment(); liquidationList[_liquidationIds.current()] = LiquidationStore ( block.timestamp, hsiAddress, uint96(liquidatorBid), liquidator, uint88(0), true ); return _liquidationIds.current(); } /** * @dev Loads values from a "ShareStore" object into a "ShareCache" object. * @param shareStore "ShareStore" object to be loaded. * @param share "ShareCache" object to be populated with storage data. */ function _shareLoad( ShareStore storage shareStore, ShareCache memory share ) internal view { share._stake = shareStore.stake; share._mintedDays = shareStore.mintedDays; share._launchBonus = shareStore.launchBonus; share._loanStart = shareStore.loanStart; share._loanedDays = shareStore.loanedDays; share._interestRate = shareStore.interestRate; share._paymentsMade = shareStore.paymentsMade; share._isLoaned = shareStore.isLoaned; } /** * @dev Loads values from a "LiquidationStore" object into a "LiquidationCache" object. * @param liquidationStore "LiquidationStore" object to be loaded. * @param liquidation "LiquidationCache" object to be populated with storage data. */ function _liquidationLoad( LiquidationStore storage liquidationStore, LiquidationCache memory liquidation ) internal view { liquidation._liquidationStart = liquidationStore.liquidationStart; liquidation._endOffset = liquidationStore.endOffset; liquidation._hsiAddress = liquidationStore.hsiAddress; liquidation._liquidator = liquidationStore.liquidator; liquidation._bidAmount = liquidationStore.bidAmount; liquidation._isActive = liquidationStore.isActive; } /** * @dev Updates a "ShareStore" object with values stored in a "ShareCache" object. * @param shareStore "ShareStore" object to be updated. * @param share "ShareCache object with updated values. */ function _shareUpdate( ShareStore storage shareStore, ShareCache memory share ) internal { shareStore.stake = share._stake; shareStore.mintedDays = uint16(share._mintedDays); shareStore.launchBonus = uint8(share._launchBonus); shareStore.loanStart = uint16(share._loanStart); shareStore.loanedDays = uint16(share._loanedDays); shareStore.interestRate = uint32(share._interestRate); shareStore.paymentsMade = uint8(share._paymentsMade); shareStore.isLoaned = share._isLoaned; } /** * @dev Updates a "LiquidationStore" object with values stored in a "LiquidationCache" object. * @param liquidationStore "LiquidationStore" object to be updated. * @param liquidation "LiquidationCache" object with updated values. */ function _liquidationUpdate( LiquidationStore storage liquidationStore, LiquidationCache memory liquidation ) internal { liquidationStore.endOffset = uint48(liquidation._endOffset); liquidationStore.hsiAddress = liquidation._hsiAddress; liquidationStore.liquidator = liquidation._liquidator; liquidationStore.bidAmount = uint96(liquidation._bidAmount); liquidationStore.isActive = liquidation._isActive; } /** * @dev Attempts to match a "HEXStake" object to an existing share element within the share list. * @param stake "HEXStake" object to be matched. * @return Boolean indicating if the HEX stake was matched and it's index within the stake list as separate values. */ function _shareSearch( HEXStake memory stake ) internal view returns (bool, uint256) { bool stakeInShareList = false; uint256 shareIndex = 0; ShareCache memory share; _shareLoad(shareList[stake.stakeId], share); // stake matches an existing share element if (share._stake.stakeId == stake.stakeId && share._stake.stakeShares == stake.stakeShares && share._stake.lockedDay == stake.lockedDay && share._stake.stakedDays == stake.stakedDays) { stakeInShareList = true; shareIndex = stake.stakeId; } return(stakeInShareList, shareIndex); } // Hedron External Functions /** * @dev Returns the current Hedron day. * @return Current Hedron day */ function currentDay() external view returns (uint256) { return _currentDay(); } /** * @dev Claims the launch phase bonus for a HEX stake instance (HSI). It also injects * the HSI share data into into the shareList. This is a privileged operation * only HEXStakeInstanceManager.sol can call. * @param hsiIndex Index of the HSI contract address in the sender's HSI list. * (see hsiLists -> HEXStakeInstanceManager.sol) * @param hsiAddress Address of the HSI contract which coinsides with the index. * @param hsiStarterAddress Address of the user creating the HSI. */ function claimInstanced( uint256 hsiIndex, address hsiAddress, address hsiStarterAddress ) external { require(msg.sender == hsim, "HSIM: Caller must be HSIM"); address _hsiAddress = _hsim.hsiLists(hsiStarterAddress, hsiIndex); require(hsiAddress == _hsiAddress, "HDRN: HSI index address mismatch"); ShareCache memory share = _hsiLoad(HEXStakeInstance(hsiAddress)); if (_currentDay() < _hdrnLaunchDays) { share._launchBonus = _calcLPBMultiplier(_hdrnLaunchDays - _currentDay()); _emitClaim(share._stake.stakeId, share._stake.stakeShares, share._launchBonus); } _hsim.hsiUpdate(hsiStarterAddress, hsiIndex, hsiAddress, share); _shareAdd( share._stake, share._mintedDays, share._launchBonus, share._loanStart, share._loanedDays, share._interestRate, share._paymentsMade, share._isLoaned ); } /** * @dev Mints Hedron ERC20 (HDRN) tokens to the sender using a HEX stake instance (HSI) backing. * HDRN Minted = HEX Stake B-Shares * (Days Served - Days Already Minted) * @param hsiIndex Index of the HSI contract address in the sender's HSI list. * (see hsiLists -> HEXStakeInstanceManager.sol) * @param hsiAddress Address of the HSI contract which coinsides with the index. * @return Amount of HDRN ERC20 tokens minted. */ function mintInstanced( uint256 hsiIndex, address hsiAddress ) external returns (uint256) { require(block.timestamp >= _hdrnLaunch, "HDRN: Contract not yet active"); DailyDataCache memory day; DailyDataStore storage dayStore = dailyDataList[_currentDay()]; _dailyDataLoad(dayStore, day); address _hsiAddress = _hsim.hsiLists(msg.sender, hsiIndex); require(hsiAddress == _hsiAddress, "HDRN: HSI index address mismatch"); ShareCache memory share = _hsiLoad(HEXStakeInstance(hsiAddress)); require(_hexCurrentDay() >= share._stake.lockedDay, "HDRN: cannot mint against a pending HEX stake"); require(share._isLoaned == false, "HDRN: cannot mint against a loaned HEX stake"); uint256 servedDays = 0; uint256 mintDays = 0; uint256 payout = 0; servedDays = _hexCurrentDay() - share._stake.lockedDay; // served days should never exceed staked days if (servedDays > share._stake.stakedDays) { servedDays = share._stake.stakedDays; } // remove days already minted from the payout mintDays = servedDays - share._mintedDays; // base payout payout = share._stake.stakeShares * mintDays; // launch phase bonus if (share._launchBonus > 0) { uint256 bonus = _calcBonus(share._launchBonus, payout); if (bonus > 0) { // send bonus copy to the source address _mint(_hdrnSourceAddress, bonus); day._dayMintedTotal += bonus; payout += bonus; } } else if (_currentDay() < _hdrnLaunchDays) { share._launchBonus = _calcLPBMultiplier(_hdrnLaunchDays - _currentDay()); uint256 bonus = _calcBonus(share._launchBonus, payout); if (bonus > 0) { // send bonus copy to the source address _mint(_hdrnSourceAddress, bonus); day._dayMintedTotal += bonus; payout += bonus; } } // loan to mint ratio bonus if (day._dayMintMultiplier > 0) { uint256 bonus = _calcBonus(day._dayMintMultiplier, payout); if (bonus > 0) { // send bonus copy to the source address _mint(_hdrnSourceAddress, bonus); day._dayMintedTotal += bonus; payout += bonus; } } share._mintedDays += mintDays; // mint final payout to the sender if (payout > 0) { _mint(msg.sender, payout); _emitMint( share, payout ); } day._dayMintedTotal += payout; // update HEX stake instance _hsim.hsiUpdate(msg.sender, hsiIndex, hsiAddress, share); _shareUpdate(shareList[share._stake.stakeId], share); _dailyDataUpdate(dayStore, day); return payout; } /** * @dev Claims the launch phase bonus for a naitve HEX stake. * @param stakeIndex Index of the HEX stake in sender's HEX stake list. * (see stakeLists -> HEX.sol) * @param stakeId ID of the HEX stake which coinsides with the index. * @return Number representing the launch bonus of the claimed HEX stake * increased by a factor of 10 for decimal resolution. */ function claimNative( uint256 stakeIndex, uint40 stakeId ) external returns (uint256) { require(block.timestamp >= _hdrnLaunch, "HDRN: Contract not yet active"); HEXStake memory stake = _hexStakeLoad(stakeIndex); require(stake.stakeId == stakeId, "HDRN: HEX stake index id mismatch"); bool stakeInShareList = false; uint256 shareIndex = 0; uint256 launchBonus = 0; // check if share element already exists in the sender's mapping (stakeInShareList, shareIndex) = _shareSearch(stake); require(stakeInShareList == false, "HDRN: HEX Stake already claimed"); if (_currentDay() < _hdrnLaunchDays) { launchBonus = _calcLPBMultiplier(_hdrnLaunchDays - _currentDay()); _emitClaim(stake.stakeId, stake.stakeShares, launchBonus); } _shareAdd( HEXStakeMinimal( stake.stakeId, stake.stakeShares, stake.lockedDay, stake.stakedDays ), 0, launchBonus, 0, 0, 0, 0, false ); return launchBonus; } /** * @dev Mints Hedron ERC20 (HDRN) tokens to the sender using a native HEX stake backing. * HDRN Minted = HEX Stake B-Shares * (Days Served - Days Already Minted) * @param stakeIndex Index of the HEX stake in sender's HEX stake list (see stakeLists -> HEX.sol). * @param stakeId ID of the HEX stake which coinsides with the index. * @return Amount of HDRN ERC20 tokens minted. */ function mintNative( uint256 stakeIndex, uint40 stakeId ) external returns (uint256) { require(block.timestamp >= _hdrnLaunch, "HDRN: Contract not yet active"); DailyDataCache memory day; DailyDataStore storage dayStore = dailyDataList[_currentDay()]; _dailyDataLoad(dayStore, day); HEXStake memory stake = _hexStakeLoad(stakeIndex); require(stake.stakeId == stakeId, "HDRN: HEX stake index id mismatch"); require(_hexCurrentDay() >= stake.lockedDay, "HDRN: cannot mint against a pending HEX stake"); bool stakeInShareList = false; uint256 shareIndex = 0; uint256 servedDays = 0; uint256 mintDays = 0; uint256 payout = 0; uint256 launchBonus = 0; ShareCache memory share; // check if share element already exists in the sender's mapping (stakeInShareList, shareIndex) = _shareSearch(stake); // stake matches an existing share element if (stakeInShareList) { _shareLoad(shareList[shareIndex], share); servedDays = _hexCurrentDay() - share._stake.lockedDay; // served days should never exceed staked days if (servedDays > share._stake.stakedDays) { servedDays = share._stake.stakedDays; } // remove days already minted from the payout mintDays = servedDays - share._mintedDays; // base payout payout = share._stake.stakeShares * mintDays; // launch phase bonus if (share._launchBonus > 0) { uint256 bonus = _calcBonus(share._launchBonus, payout); if (bonus > 0) { // send bonus copy to the source address _mint(_hdrnSourceAddress, bonus); day._dayMintedTotal += bonus; payout += bonus; } } // loan to mint ratio bonus if (day._dayMintMultiplier > 0) { uint256 bonus = _calcBonus(day._dayMintMultiplier, payout); if (bonus > 0) { // send bonus copy to the source address _mint(_hdrnSourceAddress, bonus); day._dayMintedTotal += bonus; payout += bonus; } } share._mintedDays += mintDays; // mint final payout to the sender if (payout > 0) { _mint(msg.sender, payout); _emitMint( share, payout ); } // update existing share mapping _shareUpdate(shareList[shareIndex], share); } // stake does not match an existing share element else { servedDays = _hexCurrentDay() - stake.lockedDay; // served days should never exceed staked days if (servedDays > stake.stakedDays) { servedDays = stake.stakedDays; } // base payout payout = stake.stakeShares * servedDays; // launch phase bonus if (_currentDay() < _hdrnLaunchDays) { launchBonus = _calcLPBMultiplier(_hdrnLaunchDays - _currentDay()); uint256 bonus = _calcBonus(launchBonus, payout); if (bonus > 0) { // send bonus copy to the source address _mint(_hdrnSourceAddress, bonus); day._dayMintedTotal += bonus; payout += bonus; } } // loan to mint ratio bonus if (day._dayMintMultiplier > 0) { uint256 bonus = _calcBonus(day._dayMintMultiplier, payout); if (bonus > 0) { // send bonus copy to the source address _mint(_hdrnSourceAddress, bonus); day._dayMintedTotal += bonus; payout += bonus; } } // create a new share element for the sender _shareAdd( HEXStakeMinimal( stake.stakeId, stake.stakeShares, stake.lockedDay, stake.stakedDays ), servedDays, launchBonus, 0, 0, 0, 0, false ); _shareLoad(shareList[stake.stakeId], share); // mint final payout to the sender if (payout > 0) { _mint(msg.sender, payout); _emitMint( share, payout ); } } day._dayMintedTotal += payout; _dailyDataUpdate(dayStore, day); return payout; } /** * @dev Calculates the payment for existing and non-existing HEX stake instance (HSI) loans. * @param borrower Address which has mapped ownership the HSI contract. * @param hsiIndex Index of the HSI contract address in the sender's HSI list. * (see hsiLists -> HEXStakeInstanceManager.sol) * @param hsiAddress Address of the HSI contract which coinsides with the index. * @return Payment amount with principal and interest as serparate values. */ function calcLoanPayment ( address borrower, uint256 hsiIndex, address hsiAddress ) external view returns (uint256, uint256) { require(block.timestamp >= _hdrnLaunch, "HDRN: Contract not yet active"); DailyDataCache memory day; DailyDataStore storage dayStore = dailyDataList[_currentDay()]; _dailyDataLoad(dayStore, day); address _hsiAddress = _hsim.hsiLists(borrower, hsiIndex); require(hsiAddress == _hsiAddress, "HDRN: HSI index address mismatch"); ShareCache memory share = _hsiLoad(HEXStakeInstance(hsiAddress)); uint256 loanTermPaid = share._paymentsMade * _hdrnLoanPaymentWindow; uint256 loanTermRemaining = share._loanedDays - loanTermPaid; uint256 principal = 0; uint256 interest = 0; // loan already exists if (share._interestRate > 0) { // remaining term is greater than a single payment window if (loanTermRemaining > _hdrnLoanPaymentWindow) { principal = share._stake.stakeShares * _hdrnLoanPaymentWindow; interest = (principal * (share._interestRate * _hdrnLoanPaymentWindow)) / _hdrnLoanInterestResolution; } // remaing term is less than or equal to a single payment window else { principal = share._stake.stakeShares * loanTermRemaining; interest = (principal * (share._interestRate * loanTermRemaining)) / _hdrnLoanInterestResolution; } } // loan does not exist else { // remaining term is greater than a single payment window if (share._stake.stakedDays > _hdrnLoanPaymentWindow) { principal = share._stake.stakeShares * _hdrnLoanPaymentWindow; interest = (principal * (day._dayInterestRate * _hdrnLoanPaymentWindow)) / _hdrnLoanInterestResolution; } // remaing term is less than or equal to a single payment window else { principal = share._stake.stakeShares * share._stake.stakedDays; interest = (principal * (day._dayInterestRate * share._stake.stakedDays)) / _hdrnLoanInterestResolution; } } return(principal, interest); } /** * @dev Calculates the full payoff for an existing HEX stake instance (HSI) loan calculating interest only up to the current Hedron day. * @param borrower Address which has mapped ownership the HSI contract. * @param hsiIndex Index of the HSI contract address in the sender's HSI list. * (see hsiLists -> HEXStakeInstanceManager.sol) * @param hsiAddress Address of the HSI contract which coinsides with the index. * @return Payoff amount with principal and interest as separate values. */ function calcLoanPayoff ( address borrower, uint256 hsiIndex, address hsiAddress ) external view returns (uint256, uint256) { require(block.timestamp >= _hdrnLaunch, "HDRN: Contract not yet active"); DailyDataCache memory day; DailyDataStore storage dayStore = dailyDataList[_currentDay()]; _dailyDataLoad(dayStore, day); address _hsiAddress = _hsim.hsiLists(borrower, hsiIndex); require(hsiAddress == _hsiAddress, "HDRN: HSI index address mismatch"); ShareCache memory share = _hsiLoad(HEXStakeInstance(hsiAddress)); require (share._isLoaned == true, "HDRN: Cannot payoff non-existant loan"); uint256 loanTermPaid = share._paymentsMade * _hdrnLoanPaymentWindow; uint256 loanTermRemaining = share._loanedDays - loanTermPaid; uint256 outstandingDays = 0; uint256 principal = 0; uint256 interest = 0; // user has made payments ahead of _currentDay(), no interest if (_currentDay() - share._loanStart < loanTermPaid) { principal = share._stake.stakeShares * loanTermRemaining; } // only calculate interest to the current Hedron day else { outstandingDays = _currentDay() - share._loanStart - loanTermPaid; if (outstandingDays > loanTermRemaining) { outstandingDays = loanTermRemaining; } principal = share._stake.stakeShares * loanTermRemaining; interest = ((share._stake.stakeShares * outstandingDays) * (share._interestRate * outstandingDays)) / _hdrnLoanInterestResolution; } return(principal, interest); } /** * @dev Loans all unminted Hedron ERC20 (HDRN) tokens against a HEX stake instance (HSI). * HDRN Loaned = HEX Stake B-Shares * (Days Staked - Days Already Minted) * @param hsiIndex Index of the HSI contract address in the sender's HSI list. * (see hsiLists -> HEXStakeInstanceManager.sol) * @param hsiAddress Address of the HSI contract which coinsides the index. * @return Amount of HDRN ERC20 tokens borrowed. */ function loanInstanced ( uint256 hsiIndex, address hsiAddress ) external returns (uint256) { require(block.timestamp >= _hdrnLaunch, "HDRN: Contract not yet active"); DailyDataCache memory day; DailyDataStore storage dayStore = dailyDataList[_currentDay()]; _dailyDataLoad(dayStore, day); address _hsiAddress = _hsim.hsiLists(msg.sender, hsiIndex); require(hsiAddress == _hsiAddress, "HDRN: HSI index address mismatch"); ShareCache memory share = _hsiLoad(HEXStakeInstance(hsiAddress)); require (share._isLoaned == false, "HDRN: HSI loan already exists"); // only unminted days can be loaned upon uint256 loanDays = share._stake.stakedDays - share._mintedDays; require (loanDays > 0, "HDRN: No loanable days remaining"); uint256 payout = share._stake.stakeShares * loanDays; // mint loaned tokens to the sender if (payout > 0) { share._loanStart = _currentDay(); share._loanedDays = loanDays; share._interestRate = day._dayInterestRate; share._isLoaned = true; _emitLoanStart( share, payout ); day._dayLoanedTotal += payout; loanedSupply += payout; // update HEX stake instance _hsim.hsiUpdate(msg.sender, hsiIndex, hsiAddress, share); _shareUpdate(shareList[share._stake.stakeId], share); _dailyDataUpdate(dayStore, day); _mint(msg.sender, payout); } return payout; } /** * @dev Makes a single payment towards a HEX stake instance (HSI) loan. * @param hsiIndex Index of the HSI contract address in the sender's HSI list. * (see hsiLists -> HEXStakeInstanceManager.sol) * @param hsiAddress Address of the HSI contract which coinsides with the index. * @return Amount of HDRN ERC20 burnt to facilitate the payment. */ function loanPayment ( uint256 hsiIndex, address hsiAddress ) external returns (uint256) { require(block.timestamp >= _hdrnLaunch, "HDRN: Contract not yet active"); DailyDataCache memory day; DailyDataStore storage dayStore = dailyDataList[_currentDay()]; _dailyDataLoad(dayStore, day); address _hsiAddress = _hsim.hsiLists(msg.sender, hsiIndex); require(hsiAddress == _hsiAddress, "HDRN: HSI index address mismatch"); ShareCache memory share = _hsiLoad(HEXStakeInstance(hsiAddress)); require (share._isLoaned == true, "HDRN: Cannot pay non-existant loan"); uint256 loanTermPaid = share._paymentsMade * _hdrnLoanPaymentWindow; uint256 loanTermRemaining = share._loanedDays - loanTermPaid; uint256 principal = 0; uint256 interest = 0; bool lastPayment = false; // remaining term is greater than a single payment window if (loanTermRemaining > _hdrnLoanPaymentWindow) { principal = share._stake.stakeShares * _hdrnLoanPaymentWindow; interest = (principal * (share._interestRate * _hdrnLoanPaymentWindow)) / _hdrnLoanInterestResolution; } // remaing term is less than or equal to a single payment window else { principal = share._stake.stakeShares * loanTermRemaining; interest = (principal * (share._interestRate * loanTermRemaining)) / _hdrnLoanInterestResolution; lastPayment = true; } require (balanceOf(msg.sender) >= (principal + interest), "HDRN: Insufficient balance to facilitate payment"); // increment payment counter share._paymentsMade++; _emitLoanPayment( share, (principal + interest) ); if (lastPayment == true) { share._loanStart = 0; share._loanedDays = 0; share._interestRate = 0; share._paymentsMade = 0; share._isLoaned = false; } // update HEX stake instance _hsim.hsiUpdate(msg.sender, hsiIndex, hsiAddress, share); _shareUpdate(shareList[share._stake.stakeId], share); // update daily data day._dayBurntTotal += (principal + interest); _dailyDataUpdate(dayStore, day); // remove pricipal from global loaned supply loanedSupply -= principal; // burn payment from the sender _burn(msg.sender, (principal + interest)); return(principal + interest); } /** * @dev Pays off a HEX stake instance (HSI) loan calculating interest only up to the current Hedron day. * @param hsiIndex Index of the HSI contract address in the sender's HSI list. * (see hsiLists -> HEXStakeInstanceManager.sol) * @param hsiAddress Address of the HSI contract which coinsides with the index. * @return Amount of HDRN ERC20 burnt to facilitate the payoff. */ function loanPayoff ( uint256 hsiIndex, address hsiAddress ) external returns (uint256) { require(block.timestamp >= _hdrnLaunch, "HDRN: Contract not yet active"); DailyDataCache memory day; DailyDataStore storage dayStore = dailyDataList[_currentDay()]; _dailyDataLoad(dayStore, day); address _hsiAddress = _hsim.hsiLists(msg.sender, hsiIndex); require(hsiAddress == _hsiAddress, "HDRN: HSI index address mismatch"); ShareCache memory share = _hsiLoad(HEXStakeInstance(hsiAddress)); require (share._isLoaned == true, "HDRN: Cannot payoff non-existant loan"); uint256 loanTermPaid = share._paymentsMade * _hdrnLoanPaymentWindow; uint256 loanTermRemaining = share._loanedDays - loanTermPaid; uint256 outstandingDays = 0; uint256 principal = 0; uint256 interest = 0; // user has made payments ahead of _currentDay(), no interest if (_currentDay() - share._loanStart < loanTermPaid) { principal = share._stake.stakeShares * loanTermRemaining; } // only calculate interest to the current Hedron day else { outstandingDays = _currentDay() - share._loanStart - loanTermPaid; if (outstandingDays > loanTermRemaining) { outstandingDays = loanTermRemaining; } principal = share._stake.stakeShares * loanTermRemaining; interest = ((share._stake.stakeShares * outstandingDays) * (share._interestRate * outstandingDays)) / _hdrnLoanInterestResolution; } require (balanceOf(msg.sender) >= (principal + interest), "HDRN: Insufficient balance to facilitate payoff"); _emitLoanEnd( share, (principal + interest) ); share._loanStart = 0; share._loanedDays = 0; share._interestRate = 0; share._paymentsMade = 0; share._isLoaned = false; // update HEX stake instance _hsim.hsiUpdate(msg.sender, hsiIndex, hsiAddress, share); _shareUpdate(shareList[share._stake.stakeId], share); // update daily data day._dayBurntTotal += (principal + interest); _dailyDataUpdate(dayStore, day); // remove pricipal from global loaned supply loanedSupply -= principal; // burn payment from the sender _burn(msg.sender, (principal + interest)); return(principal + interest); } /** * @dev Allows any address to liquidate a defaulted HEX stake instace (HSI) loan and start the liquidation process. * @param owner Address of the current HSI contract owner. * @param hsiIndex Index of the HSI contract address in the owner's HSI list. * (see hsiLists -> HEXStakeInstanceManager.sol) * @param hsiAddress Address of the HSI contract which coinsides with the index. * @return Amount of HDRN ERC20 tokens burnt as the initial liquidation bid. */ function loanLiquidate ( address owner, uint256 hsiIndex, address hsiAddress ) external returns (uint256) { require(block.timestamp >= _hdrnLaunch, "HDRN: Contract not yet active"); address _hsiAddress = _hsim.hsiLists(owner, hsiIndex); require(hsiAddress == _hsiAddress, "HDRN: HSI index address mismatch"); ShareCache memory share = _hsiLoad(HEXStakeInstance(hsiAddress)); require (share._isLoaned == true, "HDRN: Cannot liquidate a non-existant loan"); uint256 loanTermPaid = share._paymentsMade * _hdrnLoanPaymentWindow; uint256 loanTermRemaining = share._loanedDays - loanTermPaid; uint256 outstandingDays = _currentDay() - share._loanStart - loanTermPaid; uint256 principal = share._stake.stakeShares * loanTermRemaining; require (outstandingDays >= _hdrnLoanDefaultThreshold, "HDRN: Cannot liquidate a loan not in default"); if (outstandingDays > loanTermRemaining) { outstandingDays = loanTermRemaining; } // only calculate interest to the current Hedron day uint256 interest = ((share._stake.stakeShares * outstandingDays) * (share._interestRate * outstandingDays)) / _hdrnLoanInterestResolution; require (balanceOf(msg.sender) >= (principal + interest), "HDRN: Insufficient balance to facilitate liquidation"); // zero out loan data share._loanStart = 0; share._loanedDays = 0; share._interestRate = 0; share._paymentsMade = 0; share._isLoaned = false; // update HEX stake instance _hsim.hsiUpdate(owner, hsiIndex, hsiAddress, share); _shareUpdate(shareList[share._stake.stakeId], share); // transfer ownership of the HEX stake instance to a temporary holding address _hsim.hsiTransfer(owner, hsiIndex, hsiAddress, address(0)); // create a new liquidation element _liquidationAdd(hsiAddress, msg.sender, (principal + interest)); _emitLoanLiquidateStart( share, uint40(_liquidationIds.current()), owner, (principal + interest) ); // remove pricipal from global loaned supply loanedSupply -= principal; // burn payment from the sender _burn(msg.sender, (principal + interest)); return(principal + interest); } /** * @dev Allows any address to enter a bid into an active liquidation. * @param liquidationId ID number of the liquidation to place the bid in. * @param liquidationBid Amount of HDRN to bid. * @return Block timestamp of when the liquidation is currently scheduled to end. */ function loanLiquidateBid ( uint256 liquidationId, uint256 liquidationBid ) external returns (uint256) { require(block.timestamp >= _hdrnLaunch, "HDRN: Contract not yet active"); LiquidationCache memory liquidation; LiquidationStore storage liquidationStore = liquidationList[liquidationId]; _liquidationLoad(liquidationStore, liquidation); require(liquidation._isActive == true, "HDRN: Cannot bid on invalid liquidation"); require (balanceOf(msg.sender) >= liquidationBid, "HDRN: Insufficient balance to facilitate liquidation"); require (liquidationBid > liquidation._bidAmount, "HDRN: Liquidation bid must be greater than current bid"); require((block.timestamp - (liquidation._liquidationStart + liquidation._endOffset)) <= 86400, "HDRN: Cannot bid on expired liquidation"); // if the bid is being placed in the last five minutes uint256 timestampModified = ((block.timestamp + 300) - (liquidation._liquidationStart + liquidation._endOffset)); if (timestampModified > 86400) { liquidation._endOffset += (timestampModified - 86400); } // give the previous bidder back their HDRN _mint(liquidation._liquidator, liquidation._bidAmount); // new bidder takes the liquidation position liquidation._liquidator = msg.sender; liquidation._bidAmount = liquidationBid; _liquidationUpdate(liquidationStore, liquidation); ShareCache memory share = _hsiLoad(HEXStakeInstance(liquidation._hsiAddress)); _emitLoanLiquidateBid( share._stake.stakeId, uint40(liquidationId), liquidationBid ); // burn the new bidders bid amount _burn(msg.sender, liquidationBid); return( liquidation._liquidationStart + liquidation._endOffset + 86400 ); } /** * @dev Allows any address to exit a completed liquidation, granting control of the HSI to the highest bidder. * @param hsiIndex Index of the HSI contract address in the zero address's HSI list. * (see hsiLists -> HEXStakeInstanceManager.sol) * @param liquidationId ID number of the liquidation to exit. * @return Address of the HEX Stake Instance (HSI) contract granted to the liquidator. */ function loanLiquidateExit ( uint256 hsiIndex, uint256 liquidationId ) external returns (address) { require(block.timestamp >= _hdrnLaunch, "HDRN: Contract not yet active"); DailyDataCache memory day; DailyDataStore storage dayStore = dailyDataList[_currentDay()]; _dailyDataLoad(dayStore, day); LiquidationStore storage liquidationStore = liquidationList[liquidationId]; LiquidationCache memory liquidation; _liquidationLoad(liquidationStore, liquidation); require(liquidation._isActive == true, "HDRN: Cannot exit on invalid liquidation"); require((block.timestamp - (liquidation._liquidationStart + liquidation._endOffset)) >= 86400, "HDRN: Cannot exit on active liquidation"); // transfer the held HSI to the liquidator _hsim.hsiTransfer(address(0), hsiIndex, liquidation._hsiAddress, liquidation._liquidator); // update the daily burnt total day._dayBurntTotal += liquidation._bidAmount; // deactivate liquidation, but keep data around for historical reasons. liquidation._isActive == false; ShareCache memory share = _hsiLoad(HEXStakeInstance(liquidation._hsiAddress)); _emitLoanLiquidateExit( share._stake.stakeId, uint40(liquidationId), liquidation._liquidator, liquidation._bidAmount ); _dailyDataUpdate(dayStore, day); _liquidationUpdate(liquidationStore, liquidation); return liquidation._hsiAddress; } /** * @dev Burns HDRN tokens from the caller's address. * @param amount Amount of HDRN to burn. */ function proofOfBenevolence ( uint256 amount ) external { require(block.timestamp >= _hdrnLaunch, "HDRN: Contract not yet active"); DailyDataCache memory day; DailyDataStore storage dayStore = dailyDataList[_currentDay()]; _dailyDataLoad(dayStore, day); require (balanceOf(msg.sender) >= amount, "HDRN: Insufficient balance to facilitate PoB"); uint256 currentAllowance = allowance(msg.sender, address(this)); require(currentAllowance >= amount, "HDRN: Burn amount exceeds allowance"); day._dayBurntTotal += amount; _dailyDataUpdate(dayStore, day); unchecked { _approve(msg.sender, address(this), currentAllowance - amount); } _burn(msg.sender, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"hexAddress","type":"address"},{"internalType":"uint256","name":"hexLaunch","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":"uint256","name":"data","type":"uint256"},{"indexed":true,"internalType":"address","name":"claimant","type":"address"},{"indexed":true,"internalType":"uint40","name":"stakeId","type":"uint40"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"data","type":"uint256"},{"indexed":true,"internalType":"address","name":"borrower","type":"address"},{"indexed":true,"internalType":"uint40","name":"stakeId","type":"uint40"}],"name":"LoanEnd","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"data","type":"uint256"},{"indexed":true,"internalType":"address","name":"bidder","type":"address"},{"indexed":true,"internalType":"uint40","name":"stakeId","type":"uint40"},{"indexed":true,"internalType":"uint40","name":"liquidationId","type":"uint40"}],"name":"LoanLiquidateBid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"data","type":"uint256"},{"indexed":true,"internalType":"address","name":"liquidator","type":"address"},{"indexed":true,"internalType":"uint40","name":"stakeId","type":"uint40"},{"indexed":true,"internalType":"uint40","name":"liquidationId","type":"uint40"}],"name":"LoanLiquidateExit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"data","type":"uint256"},{"indexed":true,"internalType":"address","name":"borrower","type":"address"},{"indexed":true,"internalType":"uint40","name":"stakeId","type":"uint40"},{"indexed":true,"internalType":"uint40","name":"liquidationId","type":"uint40"}],"name":"LoanLiquidateStart","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"data","type":"uint256"},{"indexed":true,"internalType":"address","name":"borrower","type":"address"},{"indexed":true,"internalType":"uint40","name":"stakeId","type":"uint40"}],"name":"LoanPayment","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"data","type":"uint256"},{"indexed":true,"internalType":"address","name":"borrower","type":"address"},{"indexed":true,"internalType":"uint40","name":"stakeId","type":"uint40"}],"name":"LoanStart","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"data","type":"uint256"},{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":true,"internalType":"uint40","name":"stakeId","type":"uint40"}],"name":"Mint","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":[{"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":"borrower","type":"address"},{"internalType":"uint256","name":"hsiIndex","type":"uint256"},{"internalType":"address","name":"hsiAddress","type":"address"}],"name":"calcLoanPayment","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"borrower","type":"address"},{"internalType":"uint256","name":"hsiIndex","type":"uint256"},{"internalType":"address","name":"hsiAddress","type":"address"}],"name":"calcLoanPayoff","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"hsiIndex","type":"uint256"},{"internalType":"address","name":"hsiAddress","type":"address"},{"internalType":"address","name":"hsiStarterAddress","type":"address"}],"name":"claimInstanced","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeIndex","type":"uint256"},{"internalType":"uint40","name":"stakeId","type":"uint40"}],"name":"claimNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dailyDataList","outputs":[{"internalType":"uint72","name":"dayMintedTotal","type":"uint72"},{"internalType":"uint72","name":"dayLoanedTotal","type":"uint72"},{"internalType":"uint72","name":"dayBurntTotal","type":"uint72"},{"internalType":"uint32","name":"dayInterestRate","type":"uint32"},{"internalType":"uint8","name":"dayMintMultiplier","type":"uint8"}],"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":[],"name":"hsim","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"liquidationList","outputs":[{"internalType":"uint256","name":"liquidationStart","type":"uint256"},{"internalType":"address","name":"hsiAddress","type":"address"},{"internalType":"uint96","name":"bidAmount","type":"uint96"},{"internalType":"address","name":"liquidator","type":"address"},{"internalType":"uint88","name":"endOffset","type":"uint88"},{"internalType":"bool","name":"isActive","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"hsiIndex","type":"uint256"},{"internalType":"address","name":"hsiAddress","type":"address"}],"name":"loanInstanced","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"hsiIndex","type":"uint256"},{"internalType":"address","name":"hsiAddress","type":"address"}],"name":"loanLiquidate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidationId","type":"uint256"},{"internalType":"uint256","name":"liquidationBid","type":"uint256"}],"name":"loanLiquidateBid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"hsiIndex","type":"uint256"},{"internalType":"uint256","name":"liquidationId","type":"uint256"}],"name":"loanLiquidateExit","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"hsiIndex","type":"uint256"},{"internalType":"address","name":"hsiAddress","type":"address"}],"name":"loanPayment","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"hsiIndex","type":"uint256"},{"internalType":"address","name":"hsiAddress","type":"address"}],"name":"loanPayoff","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"loanedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"hsiIndex","type":"uint256"},{"internalType":"address","name":"hsiAddress","type":"address"}],"name":"mintInstanced","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeIndex","type":"uint256"},{"internalType":"uint40","name":"stakeId","type":"uint40"}],"name":"mintNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"proofOfBenevolence","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"shareList","outputs":[{"components":[{"internalType":"uint40","name":"stakeId","type":"uint40"},{"internalType":"uint72","name":"stakeShares","type":"uint72"},{"internalType":"uint16","name":"lockedDay","type":"uint16"},{"internalType":"uint16","name":"stakedDays","type":"uint16"}],"internalType":"struct HEXStakeMinimal","name":"stake","type":"tuple"},{"internalType":"uint16","name":"mintedDays","type":"uint16"},{"internalType":"uint8","name":"launchBonus","type":"uint8"},{"internalType":"uint16","name":"loanStart","type":"uint16"},{"internalType":"uint16","name":"loanedDays","type":"uint16"},{"internalType":"uint32","name":"interestRate","type":"uint32"},{"internalType":"uint8","name":"paymentsMade","type":"uint8"},{"internalType":"bool","name":"isLoaned","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200a21b3803806200a21b8339810160408190526200003491620001dd565b60408051808201825260068152652432b23937b760d11b6020808301918252835180850190945260048452632422292760e11b9084015281519192916200007e9160039162000129565b5080516200009490600490602084019062000129565b5050600580546001600160a01b0319166001600160a01b0385161790555060068190556040518290620000c790620001b8565b6001600160a01b039091168152602001604051809103906000f080158015620000f4573d6000803e3d6000fd5b50600980546001600160a01b03929092166001600160a01b031992831681179091556007805490921617905550620002569050565b828054620001379062000219565b90600052602060002090601f0160209004810192826200015b5760008555620001a6565b82601f106200017657805160ff1916838001178555620001a6565b82800160010185558215620001a6579182015b82811115620001a657825182559160200191906001019062000189565b50620001b4929150620001c6565b5090565b61494280620058d983390190565b5b80821115620001b45760008155600101620001c7565b60008060408385031215620001f157600080fd5b82516001600160a01b03811681146200020957600080fd5b6020939093015192949293505050565b600181811c908216806200022e57607f821691505b602082108114156200025057634e487b7160e01b600052602260045260246000fd5b50919050565b61567380620002666000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80636144a2d811610104578063a457c2d7116100a2578063d402972711610071578063d402972714610534578063dd62ed3e14610604578063ddeb24061461063d578063f812b9a41461065057600080fd5b8063a457c2d7146104e8578063a9059cbb146104fb578063b488dbc61461050e578063d240a93a1461052157600080fd5b80637fedcdf9116100de5780637fedcdf9146104a55780638523c745146104b857806395d89b41146104cd578063975fe3ca146104d557600080fd5b80636144a2d8146103d157806361c2acc31461046957806370a082311461047c57600080fd5b806323b872dd1161017c578063451df11b1161014b578063451df11b146103855780634552788a146103ad5780635c9302c9146103b65780635f169f5b146103be57600080fd5b806323b872dd1461033d5780632f52ca3614610350578063313ce56714610363578063395093511461037257600080fd5b806310d9d349116101b857806310d9d3491461024157806318160ddd146102545780631823b7dd1461025c57806322bb5e541461031257600080fd5b806306fdde03146101df578063095ea7b3146101fd5780630fa7609e14610220575b600080fd5b6101e7610663565b6040516101f49190614e34565b60405180910390f35b61021061020b366004614ea1565b6106f5565b60405190151581526020016101f4565b61023361022e366004614ecd565b61070b565b6040519081526020016101f4565b61023361024f366004614efd565b610ba0565b600254610233565b6102c361026a366004614f3f565b600c6020526000908152604090208054600182015460029092015490916001600160a01b0380821692600160a01b928390046001600160601b0316929181169181046001600160581b031690600160f81b900460ff1686565b604080519687526001600160a01b0395861660208801526001600160601b0390941693860193909352921660608401526001600160581b039091166080830152151560a082015260c0016101f4565b600954610325906001600160a01b031681565b6040516001600160a01b0390911681526020016101f4565b61021061034b366004614f58565b611075565b61023361035e366004614ecd565b61111f565b604051600981526020016101f4565b610210610380366004614ea1565b61148e565b610398610393366004614efd565b6114ca565b604080519283526020830191909152016101f4565b610233600d5481565b6102336117c1565b6102336103cc366004614ecd565b6117d0565b6104286103df366004614f3f565b600b602052600090815260409020546001600160481b0380821691600160481b8104821691600160901b82041690600160d81b810463ffffffff1690600160f81b900460ff1685565b604080516001600160481b0396871681529486166020860152929094169183019190915263ffffffff16606082015260ff909116608082015260a0016101f4565b610233610477366004614f99565b611c77565b61023361048a366004614fbb565b6001600160a01b031660009081526020819052604090205490565b6103986104b3366004614efd565b611fb1565b6104cb6104c6366004614fd8565b6122aa565b005b6101e76124d7565b6102336104e3366004614ecd565b6124e6565b6102106104f6366004614ea1565b6129e2565b610210610509366004614ea1565b612a7b565b61023361051c366004615022565b612a88565b6104cb61052f366004614f3f565b612c44565b6105f0610542366004614f3f565b600a602090815260009182526040918290208251608081018452815464ffffffffff81168252650100000000008082046001600160481b031694830194909452600160701b810461ffff90811695830195909552600160801b90048416606082015260019091015490928181169262010000830460ff908116936301000000810484169392810490921691600160381b810463ffffffff1691600160581b8204811691600160601b90041688565b6040516101f4989796959493929190615047565b6102336106123660046150de565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61032561064b366004614f99565b612e07565b61023361065e366004615022565b6130ba565b6060600380546106729061510c565b80601f016020809104026020016040519081016040528092919081815260200182805461069e9061510c565b80156106eb5780601f106106c0576101008083540402835291602001916106eb565b820191906000526020600020905b8154815290600101906020018083116106ce57829003601f168201915b5050505050905090565b60006107023384846135f3565b50600192915050565b60006362196d804210156107545760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe83398151915260448201526064015b60405180910390fd5b6107866040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b6000610794613718565b815260200190815260200160002090506107ae8183613736565b60075460405163f2b2914160e01b8152336004820152602481018790526000916001600160a01b03169063f2b291419060440160206040518083038186803b1580156107f957600080fd5b505afa15801561080d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108319190615147565b9050806001600160a01b0316856001600160a01b0316146108825760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b600061088d86613872565b90508060e00151151560011515146108f25760405162461bcd60e51b815260206004820152602260248201527f4844524e3a2043616e6e6f7420706179206e6f6e2d6578697374616e74206c6f60448201526130b760f11b606482015260840161074b565b6000601e8260c00151610905919061517a565b905060008183608001516109199190615199565b90506000806000601e8411156109765785516020015161094490601e906001600160481b031661517a565b9250620f4240601e8760a0015161095b919061517a565b610965908561517a565b61096f91906151b0565b91506109c1565b8551602001516109909085906001600160481b031661517a565b9250620f4240848760a001516109a6919061517a565b6109b0908561517a565b6109ba91906151b0565b9150600190505b6109cb82846151d2565b336000908152602081905260409020541015610a425760405162461bcd60e51b815260206004820152603060248201527f4844524e3a20496e73756666696369656e742062616c616e636520746f20666160448201526f18da5b1a5d185d19481c185e5b595b9d60821b606482015260840161074b565b60c08601805190610a52826151ea565b905250610a6886610a6384866151d2565b613975565b60018115151415610a97576000606087018190526080870181905260a0870181905260c0870181905260e08701525b600760009054906101000a90046001600160a01b03166001600160a01b031663317e2e63338e8e8a6040518563ffffffff1660e01b8152600401610ade9493929190615205565b600060405180830381600087803b158015610af857600080fd5b505af1158015610b0c573d6000803e3d6000fd5b505087515164ffffffffff166000908152600a60205260409020610b339250905087613a24565b610b3d82846151d2565b89604001818151610b4e91906151d2565b905250610b5b888a613b84565b82600d6000828254610b6d9190615199565b90915550610b86905033610b8184866151d2565b613c39565b610b9082846151d2565b9c9b505050505050505050505050565b60006362196d80421015610be45760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b60075460405163f2b2914160e01b81526001600160a01b03868116600483015260248201869052600092169063f2b291419060440160206040518083038186803b158015610c3157600080fd5b505afa158015610c45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c699190615147565b9050806001600160a01b0316836001600160a01b031614610cba5760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b6000610cc584613872565b90508060e0015115156001151514610d325760405162461bcd60e51b815260206004820152602a60248201527f4844524e3a2043616e6e6f74206c69717569646174652061206e6f6e2d65786960448201526939ba30b73a103637b0b760b11b606482015260840161074b565b6000601e8260c00151610d45919061517a565b90506000818360800151610d599190615199565b90506000828460600151610d6b613718565b610d759190615199565b610d7f9190615199565b90506000828560000151602001516001600160481b0316610da0919061517a565b9050605a821015610e085760405162461bcd60e51b815260206004820152602c60248201527f4844524e3a2043616e6e6f74206c69717569646174652061206c6f616e206e6f60448201526b1d081a5b88191959985d5b1d60a21b606482015260840161074b565b82821115610e14578291505b6000620f4240838760a00151610e2a919061517a565b875160200151610e449086906001600160481b031661517a565b610e4e919061517a565b610e5891906151b0565b9050610e6481836151d2565b336000908152602081905260409020541015610edf5760405162461bcd60e51b815260206004820152603460248201527f4844524e3a20496e73756666696369656e742062616c616e636520746f20666160448201527331b4b634ba30ba32903634b8bab4b230ba34b7b760611b606482015260840161074b565b6000606087018190526080870181905260a0870181905260c0870181905260e087015260075460405163317e2e6360e01b81526001600160a01b039091169063317e2e6390610f38908e908e908e908c90600401615205565b600060405180830381600087803b158015610f5257600080fd5b505af1158015610f66573d6000803e3d6000fd5b505087515164ffffffffff166000908152600a60205260409020610f8d9250905087613a24565b600754604051635e21bb4560e01b81526001600160a01b038d81166004830152602482018d90528b811660448301526000606483015290911690635e21bb4590608401600060405180830381600087803b158015610fea57600080fd5b505af1158015610ffe573d6000803e3d6000fd5b505050506110188933838561101391906151d2565b613d7f565b506110368661102660085490565b8d61103185876151d2565b613ea9565b81600d60008282546110489190615199565b9091555061105c905033610b8183856151d2565b61106681836151d2565b9b9a5050505050505050505050565b6000611082848484613f62565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156111075760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161074b565b61111485338584036135f3565b506001949350505050565b60006362196d804210156111635760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b6111956040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b60006111a3613718565b815260200190815260200160002090506111bd8183613736565b60075460405163f2b2914160e01b8152336004820152602481018790526000916001600160a01b03169063f2b291419060440160206040518083038186803b15801561120857600080fd5b505afa15801561121c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112409190615147565b9050806001600160a01b0316856001600160a01b0316146112915760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b600061129c86613872565b60e0810151909150156112f15760405162461bcd60e51b815260206004820152601d60248201527f4844524e3a20485349206c6f616e20616c726561647920657869737473000000604482015260640161074b565b602081015181516060015160009161130c9161ffff16615199565b90506000811161135e5760405162461bcd60e51b815260206004820181905260248201527f4844524e3a204e6f206c6f616e61626c6520646179732072656d61696e696e67604482015260640161074b565b81516020015160009061137b9083906001600160481b031661517a565b905080156114825761138b613718565b6060808501919091526080840183905286015160a0840152600160e08401526113b48382614130565b80866020018181516113c691906151d2565b905250600d80548291906000906113de9084906151d2565b909155505060075460405163317e2e6360e01b81526001600160a01b039091169063317e2e63906114199033908d908d908990600401615205565b600060405180830381600087803b15801561143357600080fd5b505af1158015611447573d6000803e3d6000fd5b505084515164ffffffffff166000908152600a6020526040902061146e9250905084613a24565b6114788587613b84565b61148233826141c6565b98975050505050505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916107029185906114c59086906151d2565b6135f3565b6000806362196d8042101561150f5760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b6115416040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b600061154f613718565b815260200190815260200160002090506115698183613736565b60075460405163f2b2914160e01b81526001600160a01b03898116600483015260248201899052600092169063f2b291419060440160206040518083038186803b1580156115b657600080fd5b505afa1580156115ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ee9190615147565b9050806001600160a01b0316866001600160a01b03161461163f5760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b600061164a87613872565b90506000601e8260c0015161165f919061517a565b905060008183608001516116739190615199565b905060008060008560a00151111561170b57601e8311156116db578451602001516116a990601e906001600160481b031661517a565b9150620f4240601e8660a001516116c0919061517a565b6116ca908461517a565b6116d491906151b0565b90506117af565b8451602001516116f59084906001600160481b031661517a565b9150620f4240838660a001516116c0919061517a565b601e85600001516060015161ffff1611156117525784516020015161173b90601e906001600160481b031661517a565b9150620f4240601e89606001516116c0919061517a565b8451606081015160209091015161176d9161ffff16906152c8565b6001600160481b03169150620f424085600001516060015161ffff168960600151611798919061517a565b6117a2908461517a565b6117ac91906151b0565b90505b909c909b509950505050505050505050565b60006117cb613718565b905090565b60006362196d804210156118145760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b6118466040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b6000611854613718565b8152602001908152602001600020905061186e8183613736565b60075460405163f2b2914160e01b8152336004820152602481018790526000916001600160a01b03169063f2b291419060440160206040518083038186803b1580156118b957600080fd5b505afa1580156118cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f19190615147565b9050806001600160a01b0316856001600160a01b0316146119425760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b600061194d86613872565b90508060e00151151560011515146119b55760405162461bcd60e51b815260206004820152602560248201527f4844524e3a2043616e6e6f74207061796f6666206e6f6e2d6578697374616e74604482015264103637b0b760d91b606482015260840161074b565b6000601e8260c001516119c8919061517a565b905060008183608001516119dc9190615199565b905060008060008486606001516119f1613718565b6119fb9190615199565b1015611a2257855160200151611a1b9085906001600160481b031661517a565b9150611ab3565b848660600151611a30613718565b611a3a9190615199565b611a449190615199565b925083831115611a52578392505b855160200151611a6c9085906001600160481b031661517a565b9150620f4240838760a00151611a82919061517a565b875160200151611a9c9086906001600160481b031661517a565b611aa6919061517a565b611ab091906151b0565b90505b611abd81836151d2565b336000908152602081905260409020541015611b335760405162461bcd60e51b815260206004820152602f60248201527f4844524e3a20496e73756666696369656e742062616c616e636520746f20666160448201526e31b4b634ba30ba32903830bcb7b33360891b606482015260840161074b565b611b4686611b4183856151d2565b6142a5565b6000866060018181525050600086608001818152505060008660a001818152505060008660c001818152505060008660e0019015159081151581525050600760009054906101000a90046001600160a01b03166001600160a01b031663317e2e63338e8e8a6040518563ffffffff1660e01b8152600401611bca9493929190615205565b600060405180830381600087803b158015611be457600080fd5b505af1158015611bf8573d6000803e3d6000fd5b505087515164ffffffffff166000908152600a60205260409020611c1f9250905087613a24565b611c2981836151d2565b89604001818151611c3a91906151d2565b905250611c47888a613b84565b81600d6000828254611c599190615199565b90915550611c6d905033610b8183856151d2565b610b9081836151d2565b60006362196d80421015611cbb5760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a08101919091526000848152600c60205260409020611d058183614348565b60a08201511515600114611d6b5760405162461bcd60e51b815260206004820152602760248201527f4844524e3a2043616e6e6f7420626964206f6e20696e76616c6964206c69717560448201526634b230ba34b7b760c91b606482015260840161074b565b33600090815260208190526040902054841115611de75760405162461bcd60e51b815260206004820152603460248201527f4844524e3a20496e73756666696369656e742062616c616e636520746f20666160448201527331b4b634ba30ba32903634b8bab4b230ba34b7b760611b606482015260840161074b565b81604001518411611e605760405162461bcd60e51b815260206004820152603660248201527f4844524e3a204c69717569646174696f6e20626964206d75737420626520677260448201527f6561746572207468616e2063757272656e742062696400000000000000000000606482015260840161074b565b608082015182516201518091611e75916151d2565b611e7f9042615199565b1115611edd5760405162461bcd60e51b815260206004820152602760248201527f4844524e3a2043616e6e6f7420626964206f6e2065787069726564206c69717560448201526634b230ba34b7b760c91b606482015260840161074b565b60808201518251600091611ef0916151d2565b611efc4261012c6151d2565b611f069190615199565b905062015180811115611f3557611f206201518082615199565b83608001818151611f3191906151d2565b9052505b611f47836060015184604001516141c6565b33606084015260408301859052611f5e82846143ab565b6000611f6d8460200151613872565b805151909150611f7e90888861441c565b611f883387613c39565b60808401518451611f9991906151d2565b611fa690620151806151d2565b979650505050505050565b6000806362196d80421015611ff65760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b6120286040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b6000612036613718565b815260200190815260200160002090506120508183613736565b60075460405163f2b2914160e01b81526001600160a01b03898116600483015260248201899052600092169063f2b291419060440160206040518083038186803b15801561209d57600080fd5b505afa1580156120b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120d59190615147565b9050806001600160a01b0316866001600160a01b0316146121265760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b600061213187613872565b90508060e00151151560011515146121995760405162461bcd60e51b815260206004820152602560248201527f4844524e3a2043616e6e6f74207061796f6666206e6f6e2d6578697374616e74604482015264103637b0b760d91b606482015260840161074b565b6000601e8260c001516121ac919061517a565b905060008183608001516121c09190615199565b905060008060008486606001516121d5613718565b6121df9190615199565b1015612206578551602001516121ff9085906001600160481b031661517a565b9150612297565b848660600151612214613718565b61221e9190615199565b6122289190615199565b925083831115612236578392505b8551602001516122509085906001600160481b031661517a565b9150620f4240838760a00151612266919061517a565b8751602001516122809086906001600160481b031661517a565b61228a919061517a565b61229491906151b0565b90505b909d909c509a5050505050505050505050565b6009546001600160a01b031633146123045760405162461bcd60e51b815260206004820152601960248201527f4853494d3a2043616c6c6572206d757374206265204853494d00000000000000604482015260640161074b565b60075460405163f2b2914160e01b81526001600160a01b03838116600483015260248201869052600092169063f2b291419060440160206040518083038186803b15801561235157600080fd5b505afa158015612365573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123899190615147565b9050806001600160a01b0316836001600160a01b0316146123da5760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b60006123e584613872565b905060646123f1613718565b101561243857612412612402613718565b61240d906064615199565b61448a565b6040820181905281518051602090910151612438926001600160481b039091169061453b565b60075460405163317e2e6360e01b81526001600160a01b039091169063317e2e639061246e908690899089908790600401615205565b600060405180830381600087803b15801561248857600080fd5b505af115801561249c573d6000803e3d6000fd5b505050506124d0816000015182602001518360400151846060015185608001518660a001518760c001518860e001516145ae565b5050505050565b6060600480546106729061510c565b60006362196d8042101561252a5760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b61255c6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b600061256a613718565b815260200190815260200160002090506125848183613736565b60075460405163f2b2914160e01b8152336004820152602481018790526000916001600160a01b03169063f2b291419060440160206040518083038186803b1580156125cf57600080fd5b505afa1580156125e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126079190615147565b9050806001600160a01b0316856001600160a01b0316146126585760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b600061266386613872565b80516040015190915061ffff166126786147c6565b10156126dc5760405162461bcd60e51b815260206004820152602d60248201527f4844524e3a2063616e6e6f74206d696e7420616761696e737420612070656e6460448201526c696e6720484558207374616b6560981b606482015260840161074b565b60e0810151156127435760405162461bcd60e51b815260206004820152602c60248201527f4844524e3a2063616e6e6f74206d696e7420616761696e73742061206c6f616e60448201526b656420484558207374616b6560a01b606482015260840161074b565b600080600083600001516040015161ffff1661275d6147c6565b6127679190615199565b84516060015190935061ffff168311156127885783516060015161ffff1692505b60208401516127979084615199565b8451602001519092506127b49083906001600160481b031661517a565b60408501519091501561281f5760006127d18560400151836147da565b90508015612819576127f7739d73ced2e36c89e5d167151809eee218a189f801826141c6565b808860000181815161280991906151d2565b90525061281681836151d2565b91505b50612898565b6064612829613718565b10156128985761283a612402613718565b6040850181905260009061284e90836147da565b9050801561289657612874739d73ced2e36c89e5d167151809eee218a189f801826141c6565b808860000181815161288691906151d2565b90525061289381836151d2565b91505b505b6080870151156128fc5760006128b28860800151836147da565b905080156128fa576128d8739d73ced2e36c89e5d167151809eee218a189f801826141c6565b80886000018181516128ea91906151d2565b9052506128f781836151d2565b91505b505b818460200181815161290e91906151d2565b905250801561292b5761292133826141c6565b61292b84826147f9565b808760000181815161293d91906151d2565b90525060075460405163317e2e6360e01b81526001600160a01b039091169063317e2e63906129769033908e908e908a90600401615205565b600060405180830381600087803b15801561299057600080fd5b505af11580156129a4573d6000803e3d6000fd5b505085515164ffffffffff166000908152600a602052604090206129cb9250905085613a24565b6129d58688613b84565b9998505050505050505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015612a645760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161074b565b612a7133858584036135f3565b5060019392505050565b6000610702338484613f62565b60006362196d80421015612acc5760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b6000612ad784614894565b90508264ffffffffff16816000015164ffffffffff1614612b445760405162461bcd60e51b815260206004820152602160248201527f4844524e3a20484558207374616b6520696e646578206964206d69736d6174636044820152600d60fb1b606482015260840161074b565b6000806000612b52846149b9565b90935091508215612ba55760405162461bcd60e51b815260206004820152601f60248201527f4844524e3a20484558205374616b6520616c726561647920636c61696d656400604482015260640161074b565b6064612baf613718565b1015612bde57612bc0612402613718565b9050612bde846000015185604001516001600160481b03168361453b565b612c3a6040518060800160405280866000015164ffffffffff16815260200186604001516001600160481b03168152602001866060015161ffff168152602001866080015161ffff1681525060008360008060008060006145ae565b9695505050505050565b6362196d80421015612c865760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b612cb86040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b6000612cc6613718565b81526020019081526020016000209050612ce08183613736565b33600090815260208190526040902054831115612d545760405162461bcd60e51b815260206004820152602c60248201527f4844524e3a20496e73756666696369656e742062616c616e636520746f20666160448201526b31b4b634ba30ba32902837a160a11b606482015260840161074b565b33600090815260016020908152604080832030845290915290205483811015612dcb5760405162461bcd60e51b815260206004820152602360248201527f4844524e3a204275726e20616d6f756e74206578636565647320616c6c6f77616044820152626e636560e81b606482015260840161074b565b8383604001818151612ddd91906151d2565b905250612dea8284613b84565b612df733308684036135f3565b612e013385613c39565b50505050565b60006362196d80421015612e4b5760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b612e7d6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b6000612e8b613718565b81526020019081526020016000209050612ea58183613736565b6000848152600c60209081526040808320815160c081018352848152928301849052908201839052606082018390526080820183905260a0820192909252612eed8282614348565b60a08101511515600114612f545760405162461bcd60e51b815260206004820152602860248201527f4844524e3a2043616e6e6f742065786974206f6e20696e76616c6964206c69716044820152673ab4b230ba34b7b760c11b606482015260840161074b565b608081015181516201518091612f69916151d2565b612f739042615199565b1015612fd15760405162461bcd60e51b815260206004820152602760248201527f4844524e3a2043616e6e6f742065786974206f6e20616374697665206c69717560448201526634b230ba34b7b760c91b606482015260840161074b565b60075460208201516060830151604051635e21bb4560e01b815260006004820152602481018b90526001600160a01b0392831660448201529082166064820152911690635e21bb4590608401600060405180830381600087803b15801561303757600080fd5b505af115801561304b573d6000803e3d6000fd5b5050505080604001518460400181815161306591906151d2565b905250602081015160009061307990613872565b90506130978160000151600001518884606001518560400151614a80565b6130a18486613b84565b6130ab83836143ab565b50602001519695505050505050565b60006362196d804210156130fe5760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b6131306040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b600061313e613718565b815260200190815260200160002090506131588183613736565b600061316386614894565b90508464ffffffffff16816000015164ffffffffff16146131d05760405162461bcd60e51b815260206004820152602160248201527f4844524e3a20484558207374616b6520696e646578206964206d69736d6174636044820152600d60fb1b606482015260840161074b565b806060015161ffff166131e16147c6565b10156132455760405162461bcd60e51b815260206004820152602d60248201527f4844524e3a2063616e6e6f74206d696e7420616761696e737420612070656e6460448201526c696e6720484558207374616b6560981b606482015260840161074b565b600080600080600080613256614dca565b61325f886149b9565b90975095508615613402576000868152600a602052604090206132829082614ae1565b80516040015161ffff166132946147c6565b61329e9190615199565b81516060015190955061ffff168511156132bf5780516060015161ffff1694505b60208101516132ce9086615199565b8151602001519094506132eb9085906001600160481b031661517a565b6040820151909350156133525760006133088260400151856147da565b905080156133505761332e739d73ced2e36c89e5d167151809eee218a189f801826141c6565b808b60000181815161334091906151d2565b90525061334d81856151d2565b93505b505b60808a0151156133b657600061336c8b60800151856147da565b905080156133b457613392739d73ced2e36c89e5d167151809eee218a189f801826141c6565b808b6000018181516133a491906151d2565b9052506133b181856151d2565b93505b505b83816020018181516133c891906151d2565b90525082156133e5576133db33846141c6565b6133e581846147f9565b6000868152600a602052604090206133fd9082613a24565b6135c3565b876060015161ffff166134136147c6565b61341d9190615199565b9450876080015161ffff1685111561343b57876080015161ffff1694505b8488604001516001600160481b0316613454919061517a565b92506064613460613718565b10156134c957613471612402613718565b9150600061347f83856147da565b905080156134c7576134a5739d73ced2e36c89e5d167151809eee218a189f801826141c6565b808b6000018181516134b791906151d2565b9052506134c481856151d2565b93505b505b60808a01511561352d5760006134e38b60800151856147da565b9050801561352b57613509739d73ced2e36c89e5d167151809eee218a189f801826141c6565b808b60000181815161351b91906151d2565b90525061352881856151d2565b93505b505b61358860405180608001604052808a6000015164ffffffffff1681526020018a604001516001600160481b031681526020018a6060015161ffff1681526020018a6080015161ffff16815250868460008060008060006145ae565b875164ffffffffff166000908152600a602052604090206135a99082614ae1565b82156135c3576135b933846141c6565b6135c381846147f9565b828a6000018181516135d591906151d2565b9052506135e2898b613b84565b50909b9a5050505050505050505050565b6001600160a01b0383166136555760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161074b565b6001600160a01b0382166136b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161074b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006201518061372c6362196d8042615199565b6117cb91906151b0565b81546001600160481b038082168352600160481b820481166020840152600160901b8204166040830152600160d81b810463ffffffff1660608301819052600160f81b90910460ff16608083015261386e5760006137926147c6565b905060006137a96137a4600284615199565b614bac565b905060006137b5614c80565b9050600081600001516001600160481b0316620f424084600001516001600160481b03166137e3919061517a565b6137ed91906151b0565b90506137fa6002826151b0565b6060860152600d54158015906138185750600061381660025490565b115b1561386957600061382860025490565b600d5461383690606461517a565b61384091906151b0565b9050603281111561386757613856603282615199565b61386190600261517a565b60808701525b505b505050505b5050565b61387a614dca565b6040805160808101825260008082526020820181905291810182905260608101919091526000806000806000806000896001600160a01b031663a8d5fd656040518163ffffffff1660e01b81526004016101606040518083038186803b1580156138e357600080fd5b505afa1580156138f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061391b9190615365565b604080516101008101825298895261ffff97881660208a015260ff96871690890152938616606088015294909116608086015263ffffffff1660a0850152911660c0830152151560e08201529a9950505050505050505050565b81600001516000015164ffffffffff16336001600160a01b03167f861000bc726a08720e9c88acb7203b0f9cc6f1c91aa66ec7d3dba932eebbb6e860a8846001600160581b0316901b60a08660c0015160ff16901b60808760a0015163ffffffff16901b6070886080015161ffff16901b60288960000151602001516001600160481b0316901b4264ffffffffff161717171717604051613a1891815260200190565b60405180910390a35050565b80518051835460208084015160408086015160609687015164ffffffffff9096166dffffffffffffffffffffffffffff1990951694909417650100000000006001600160481b0390931683021771ffffffff00000000000000000000000000001916600160701b61ffff9586160261ffff60801b191617600160801b9585169590950294909417875590850151600190960180549386015194860151608087015160a088015160c089015160e09099015199861662ffffff19909716969096176201000060ff988916021766ffffffff000000191663010000009286169290920266ffff00000000001916919091179316909102919091176bffffffffff000000000000001916600160381b63ffffffff909316929092026bff0000000000000000000000191691909117600160581b9290931691909102919091176cff0000000000000000000000001916600160601b92151592909202919091179055565b8051825460208301516040840151606085015160809095015160ff16600160f81b026001600160f81b0363ffffffff909616600160d81b0263ffffffff60d81b196001600160481b03938416600160901b02167fff00000000000000000000000000ffffffffffffffffffffffffffffffffffff948416600160481b0271ffffffffffffffffffffffffffffffffffff1990961693909616929092179390931791909116929092179190911791909116179055565b6001600160a01b038216613c995760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161074b565b6001600160a01b03821660009081526020819052604090205481811015613d0d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161074b565b6001600160a01b0383166000908152602081905260408120838303905560028054849290613d3c908490615199565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161370b565b6000613d8f600880546001019055565b6040518060c00160405280428152602001856001600160a01b03168152602001836001600160601b03168152602001846001600160a01b0316815260200160006001600160581b0316815260200160011515815250600c6000613df160085490565b815260208082019290925260409081016000208351815591830151908301516001600160a01b03918216600160a01b6001600160601b039092168202176001840155606084015160029093018054608086015160a090960151949093167fff00000000000000000000000000000000000000000000000000000000000000909316929092176001600160581b0390941602929092176001600160f81b0316600160f81b91151591909102179055600854949350505050565b8264ffffffffff1684600001516000015164ffffffffff16836001600160a01b03167f5ff6c3d9b175ccaaa9cac4061a5e73b1b21691ce56f40c846a0b12b4bd349ad460a8856001600160581b0316901b60a08960c0015160ff16901b60808a60a0015163ffffffff16901b60708b6080015161ffff16901b60288c60000151602001516001600160481b0316901b4264ffffffffff161717171717604051613f5491815260200190565b60405180910390a450505050565b6001600160a01b038316613fc65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161074b565b6001600160a01b0382166140285760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161074b565b6001600160a01b038316600090815260208190526040902054818110156140a05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161074b565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906140d79084906151d2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161412391815260200190565b60405180910390a3612e01565b81600001516000015164ffffffffff16336001600160a01b03167fd1531219a20f2d83d987ee404dcc7e73580f8c88df13e9cd7568900c8aac2ac560a0846001600160601b0316901b60808660a0015163ffffffff16901b6070876080015161ffff16901b60288860000151602001516001600160481b0316901b4264ffffffffff1617171717604051613a1891815260200190565b6001600160a01b03821661421c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161074b565b806002600082825461422e91906151d2565b90915550506001600160a01b0382166000908152602081905260408120805483929061425b9084906151d2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b81600001516000015164ffffffffff16336001600160a01b03167f563d5b42b3f744c16f6022019dde74a4717db5f2c3c420c2507537bd0b95151060a8846001600160581b0316901b60a08660c0015160ff16901b60808760a0015163ffffffff16901b6070886080015161ffff16901b60288960000151602001516001600160481b0316901b4264ffffffffff161717171717604051613a1891815260200190565b815481526002820154600160a01b8082046001600160581b031660808401526001909301546001600160a01b03808216602085015282166060840152929092046001600160601b03166040820152600160f81b90910460ff16151560a090910152565b60808101516020820151606083015160408401516001600160601b0316600160a01b9081026001600160a01b0393841617600187015560a0909401511515600160f81b0265ffffffffffff909316939093026affffffffffffffffffffff60a01b1692169190911717600290910155565b8164ffffffffff168364ffffffffff16336001600160a01b03167fe8a39971ed535d13041f79f54ea41f45a2435bc8e608d91068e374606bce9eb86028856001600160d81b0316901b4264ffffffffff161760405161447d91815260200190565b60405180910390a4505050565b6000605a82111561449d57506064919050565b60508211156144ae5750605a919050565b60468211156144bf57506050919050565b603c8211156144d057506046919050565b60328211156144e15750603c919050565b60288211156144f257506032919050565b601e82111561450357506028919050565b60148211156145145750601e919050565b600a82111561452557506014919050565b81156145335750600a919050565b506000919050565b8264ffffffffff16336001600160a01b03167fc4a10ff9f52151128e34f73797cbcc4097d1c7af612b87e89216517ec14ffc6b60708471ffffffffffffffffffffffffffffffffffff16901b6028866001600160481b0316901b4264ffffffffff16171760405161370b91815260200190565b6040518061010001604052808981526020018861ffff1681526020018760ff1681526020018661ffff1681526020018561ffff1681526020018463ffffffff1681526020018360ff168152602001821515815250600a60008a6000015164ffffffffff16815260200190815260200160002060008201518160000160008201518160000160006101000a81548164ffffffffff021916908364ffffffffff16021790555060208201518160000160056101000a8154816001600160481b0302191690836001600160481b03160217905550604082015181600001600e6101000a81548161ffff021916908361ffff16021790555060608201518160000160106101000a81548161ffff021916908361ffff160217905550505060208201518160010160006101000a81548161ffff021916908361ffff16021790555060408201518160010160026101000a81548160ff021916908360ff16021790555060608201518160010160036101000a81548161ffff021916908361ffff16021790555060808201518160010160056101000a81548161ffff021916908361ffff16021790555060a08201518160010160076101000a81548163ffffffff021916908363ffffffff16021790555060c082015181600101600b6101000a81548160ff021916908360ff16021790555060e082015181600101600c6101000a81548160ff0219169083151502179055509050505050505050505050565b6000620151806006544261372c9190615199565b6000600a6147e8848461517a565b6147f291906151b0565b9392505050565b81600001516000015164ffffffffff16336001600160a01b03167fce84afc26010d49051ae429b96ad50c0ef3a958a5c5bdc44c80e090dee642dbe6088846effffffffffffffffffffffffffffff16901b6080866040015160ff16901b6070876020015161ffff16901b60288860000151602001516001600160481b0316901b4264ffffffffff1617171717604051613a1891815260200190565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810191909152600554604051632607443b60e01b8152336004820152602481018490526000918291829182918291829182916001600160a01b031690632607443b9060440160e06040518083038186803b15801561492457600080fd5b505afa158015614938573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061495c9190615478565b6040805160e08101825264ffffffffff9890981688526001600160481b039687166020890152949095169386019390935261ffff9182166060860152811660808501521660a0830152151560c08201529998505050505050505050565b6000806000806149c7614dca565b855164ffffffffff166000908152600a602052604090206149e89082614ae1565b855181515164ffffffffff9081169116148015614a22575085604001516001600160481b03168160000151602001516001600160481b0316145b8015614a415750856060015161ffff1681600001516040015161ffff16145b8015614a605750856080015161ffff1681600001516060015161ffff16145b15614a755785516001935064ffffffffff1691505b509094909350915050565b8264ffffffffff168464ffffffffff16836001600160a01b03167f4880f72426ed087acce5733f8d2607065f5eb9cf9888f4ba51e605c3f5d0efdc6028856001600160d81b0316901b4264ffffffffff1617604051613f5491815260200190565b6040805160808082018352845464ffffffffff81168352650100000000008082046001600160481b0316602080860191909152600160701b830461ffff90811686880152600160801b90930483166060808701919091529487526001909701548083169787019790975262010000870460ff908116958701959095526301000000870482169386019390935291850490911690830152600160381b830463ffffffff1660a0830152600160581b8304811660c0830152600160601b909204909116151560e090910152565b60408051606081018252600080825260208201819052918101919091526005546040516390de687160e01b815260048101849052600091829182916001600160a01b0316906390de68719060240160606040518083038186803b158015614c1257600080fd5b505afa158015614c26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614c4a9190615500565b604080516060810182526001600160481b03948516815293909216602084015266ffffffffffffff169082015295945050505050565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810191909152600080600080600080600080600560009054906101000a90046001600160a01b03166001600160a01b031663c31245256040518163ffffffff1660e01b81526004016101006040518083038186803b158015614d1c57600080fd5b505afa158015614d30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614d549190615548565b60408051610100810182526001600160481b03998a168152978916602089015264ffffffffff96871690880152938716606087015261ffff90921660808601529490941660a0840152921660c08201526fffffffffffffffffffffffffffffffff90911660e08201529998505050505050505050565b6040805161018081019091526000610100820181815261012083018290526101408301829052610160830191909152819081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000151581525090565b600060208083528351808285015260005b81811015614e6157858101830151858201604001528201614e45565b81811115614e73576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114614e9e57600080fd5b50565b60008060408385031215614eb457600080fd5b8235614ebf81614e89565b946020939093013593505050565b60008060408385031215614ee057600080fd5b823591506020830135614ef281614e89565b809150509250929050565b600080600060608486031215614f1257600080fd5b8335614f1d81614e89565b9250602084013591506040840135614f3481614e89565b809150509250925092565b600060208284031215614f5157600080fd5b5035919050565b600080600060608486031215614f6d57600080fd5b8335614f7881614e89565b92506020840135614f8881614e89565b929592945050506040919091013590565b60008060408385031215614fac57600080fd5b50508035926020909101359150565b600060208284031215614fcd57600080fd5b81356147f281614e89565b600080600060608486031215614fed57600080fd5b833592506020840135614fff81614e89565b91506040840135614f3481614e89565b64ffffffffff81168114614e9e57600080fd5b6000806040838503121561503557600080fd5b823591506020830135614ef28161500f565b6101608101615091828b64ffffffffff81511682526001600160481b036020820151166020830152604081015161ffff808216604085015280606084015116606085015250505050565b61ffff988916608083015260ff97881660a083015295881660c08201529390961660e084015263ffffffff9190911661010083015290921661012083015291151561014090910152919050565b600080604083850312156150f157600080fd5b82356150fc81614e89565b91506020830135614ef281614e89565b600181811c9082168061512057607f821691505b6020821081141561514157634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561515957600080fd5b81516147f281614e89565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561519457615194615164565b500290565b6000828210156151ab576151ab615164565b500390565b6000826151cd57634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156151e5576151e5615164565b500190565b60006000198214156151fe576151fe615164565b5060010190565b6001600160a01b038581168252602082018590528316604082015281516101c082019061527190606084019064ffffffffff81511682526001600160481b036020820151166020830152604081015161ffff808216604085015280606084015116606085015250505050565b602083015160e083015260408301516101008301526060830151610120830152608083015161014083015260a083015161016083015260c083015161018083015260e083015115156101a083015295945050505050565b60006001600160481b03808316818516818304811182151516156152ee576152ee615164565b02949350505050565b80516153028161500f565b919050565b80516001600160481b038116811461530257600080fd5b805161ffff8116811461530257600080fd5b805160ff8116811461530257600080fd5b805163ffffffff8116811461530257600080fd5b8051801515811461530257600080fd5b600080600080600080600080888a0361016081121561538357600080fd5b608081121561539157600080fd5b506040516080810181811067ffffffffffffffff821117156153c357634e487b7160e01b600052604160045260246000fd5b6040526153cf8a6152f7565b81526153dd60208b01615307565b60208201526153ee60408b0161531e565b60408201526153ff60608b0161531e565b6060820152975061541260808a0161531e565b965061542060a08a01615330565b955061542e60c08a0161531e565b945061543c60e08a0161531e565b935061544b6101008a01615341565b925061545a6101208a01615330565b91506154696101408a01615355565b90509295985092959890939650565b600080600080600080600060e0888a03121561549357600080fd5b875161549e8161500f565b96506154ac60208901615307565b95506154ba60408901615307565b94506154c86060890161531e565b93506154d66080890161531e565b92506154e460a0890161531e565b91506154f260c08901615355565b905092959891949750929550565b60008060006060848603121561551557600080fd5b61551e84615307565b925061552c60208501615307565b9150604084015166ffffffffffffff81168114614f3457600080fd5b600080600080600080600080610100898b03121561556557600080fd5b61556e89615307565b975061557c60208a01615307565b9650604089015161558c8161500f565b955061559a60608a01615307565b94506155a860808a0161531e565b93506155b660a08a01615307565b925060c08901516155c68161500f565b60e08a01519092506fffffffffffffffffffffffffffffffff811681146155ec57600080fd5b80915050929598509295989093965056fe4844524e3a20436f6e7472616374206e6f7420796574206163746976650000004844524e3a2048534920696e6465782061646472657373206d69736d61746368a26469706673582212201c180c0e9f0e271ab1e90cf6295bc8f67783b430d675a76437afd1b121f55a9c64736f6c6343000809003360806040523480156200001157600080fd5b506040516200494238038062004942833981016040819052620000349162000233565b6040805180820182526012815271484558205374616b6520496e7374616e636560701b60208083019182528351808501909452600384526248534960e81b90840152815191929162000089916000916200017f565b5080516200009f9060019060208401906200017f565b5050600c80546001600160a01b03199081163317909155600d80546001600160a01b0385169083168117909155600e805490921617905550604051620000e5906200020e565b604051809103906000f08015801562000102573d6000803e3d6000fd5b50600f80546001600160a01b0319166001600160a01b0392831690811790915560405163189acdbd60e31b8152918316600483015290819063c4d66de890602401600060405180830381600087803b1580156200015e57600080fd5b505af115801562000173573d6000803e3d6000fd5b505050505050620002a2565b8280546200018d9062000265565b90600052602060002090601f016020900481019282620001b15760008555620001fc565b82601f10620001cc57805160ff1916838001178555620001fc565b82800160010185558215620001fc579182015b82811115620001fc578251825591602001919060010190620001df565b506200020a9291506200021c565b5090565b610e948062003aae83390190565b5b808211156200020a57600081556001016200021d565b6000602082840312156200024657600080fd5b81516001600160a01b03811681146200025e57600080fd5b9392505050565b600181811c908216806200027a57607f821691505b602082108114156200029c57634e487b7160e01b600052602260045260246000fd5b50919050565b6137fc80620002b26000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80636352211e11610104578063b947e629116100a2578063ceca96e611610071578063ceca96e6146104cd578063e985e9c5146104e0578063ed0e43d11461051c578063f2b291411461052f57600080fd5b8063b947e6291461045e578063c5a05f3214610487578063c87b56dd1461049a578063cad96cca146104ad57600080fd5b806395d89b41116100de57806395d89b411461041d5780639875cc0514610425578063a22cb46514610438578063b88d4fde1461044b57600080fd5b80636352211e146103dd57806370a08231146103f05780638da5cb5b1461040357600080fd5b80632607443b1161017c57806333060d901161014b57806333060d901461039157806342842e0e146103a45780634f6ccce7146103b75780635e21bb45146103ca57600080fd5b80632607443b146102aa5780632a55205a146103395780632f745c591461036b578063317e2e631461037e57600080fd5b8063095ea7b3116101b8578063095ea7b3146102475780631322e1041461025c57806318160ddd1461028557806323b872dd1461029757600080fd5b806301ffc9a7146101df57806306fdde0314610207578063081812fc1461021c575b600080fd5b6101f26101ed366004612d9e565b610542565b60405190151581526020015b60405180910390f35b61020f610595565b6040516101fe9190612e13565b61022f61022a366004612e26565b610627565b6040516001600160a01b0390911681526020016101fe565b61025a610255366004612e56565b6106c1565b005b61022f61026a366004612e26565b6011602052600090815260409020546001600160a01b031681565b6008545b6040519081526020016101fe565b61025a6102a5366004612e80565b6107d7565b6102bd6102b8366004612e56565b610852565b6040516101fe9190600060e08201905064ffffffffff8351168252602083015168ffffffffffffffffff80821660208501528060408601511660408501525050606083015161ffff80821660608501528060808601511660808501528060a08601511660a0850152505060c0830151151560c083015292915050565b61034c610347366004612ebc565b610950565b604080516001600160a01b0390931683526020830191909152016101fe565b610289610379366004612e56565b610a56565b61025a61038c36600461302d565b610aec565b61028961039f3660046130ed565b610c4e565b61025a6103b2366004612e80565b610c6c565b6102896103c5366004612e26565b610c87565b61025a6103d8366004613108565b610d1a565b61022f6103eb366004612e26565b610eb1565b6102896103fe3660046130ed565b610f28565b73f447be386164dadfb5d1e7622613f289f17024d861022f565b61020f610faf565b610289610433366004613155565b610fbe565b61025a610446366004613181565b61116b565b61025a6104593660046131b8565b61117a565b61028961046c3660046130ed565b6001600160a01b031660009081526010602052604090205490565b61022f610495366004612e26565b6111fc565b61020f6104a8366004612e26565b611329565b6104c06104bb366004612e26565b611404565b6040516101fe91906132d0565b6102896104db366004613155565b611493565b6101f26104ee3660046132e3565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61022f61052a366004612ebc565b6117a7565b61022f61053d366004612e56565b611b60565b60006001600160e01b0319821663656cb66560e11b141561056557506001919050565b6001600160e01b0319821663152a902d60e11b141561058657506001919050565b61058f82611b98565b92915050565b6060600080546105a49061330d565b80601f01602080910402602001604051908101604052809291908181526020018280546105d09061330d565b801561061d5780601f106105f25761010080835404028352916020019161061d565b820191906000526020600020905b81548152906001019060200180831161060057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106a55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106cc82610eb1565b9050806001600160a01b0316836001600160a01b0316141561073a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161069c565b336001600160a01b0382161480610756575061075681336104ee565b6107c85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161069c565b6107d28383611bbd565b505050565b6107e13382611c2b565b6108475760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606482015260840161069c565b6107d2838383611d22565b6040805160e08101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c083018290526001600160a01b0386168252601090529182208054919290918290859081106108b6576108b6613348565b9060005260206000200160009054906101000a90046001600160a01b03169050806001600160a01b031663acee069e6040518163ffffffff1660e01b815260040160e06040518083038186803b15801561090f57600080fd5b505afa158015610923573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109479190613374565b95945050505050565b6000828152600a60209081526040808320805482518185028101850190935280835284938493929190849084015b828210156109cd57600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046001600160601b03168183015282526001909201910161097e565b505050509050600081511115610a4657806000815181106109f0576109f0613348565b60200260200101516000015161271082600081518110610a1257610a12613348565b6020026020010151602001516001600160601b031686610a329190613442565b610a3c9190613477565b9250925050610a4f565b60008092509250505b9250929050565b6000610a6183610f28565b8210610ac35760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161069c565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b03163314610b545760405162461bcd60e51b815260206004820152602560248201527f4853494d3a2043616c6c6572206d75737420626520636f6e747261637420637260448201526432b0ba37b960d91b606482015260840161069c565b6001600160a01b03841660009081526010602052604090208054819085908110610b8057610b80613348565b6000918252602090912001546001600160a01b03848116911614610be65760405162461bcd60e51b815260206004820181905260248201527f4853494d3a2048534920696e6465782061646472657373206d69736d61746368604482015260640161069c565b604051637396ca6560e01b815283906001600160a01b03821690637396ca6590610c1490869060040161348b565b600060405180830381600087803b158015610c2e57600080fd5b505af1158015610c42573d6000803e3d6000fd5b50505050505050505050565b6001600160a01b03811660009081526010602052604081205461058f565b6107d28383836040518060200160405280600081525061117a565b6000610c9260085490565b8210610cf55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161069c565b60088281548110610d0857610d08613348565b90600052602060002001549050919050565b600c546001600160a01b03163314610d825760405162461bcd60e51b815260206004820152602560248201527f4853494d3a2043616c6c6572206d75737420626520636f6e747261637420637260448201526432b0ba37b960d91b606482015260840161069c565b6001600160a01b03808516600090815260106020526040808220928416825290208154829086908110610db757610db7613348565b6000918252602090912001546001600160a01b03858116911614610e1d5760405162461bcd60e51b815260206004820181905260248201527f4853494d3a2048534920696e6465782061646472657373206d69736d61746368604482015260640161069c565b80546001810182556000828152602090200180546001600160a01b0319166001600160a01b038616179055610e528286611ecd565b826001600160a01b0316866001600160a01b0316856001600160a01b03167fc24b27b33d05d2d17b1cf97ccbe0c85b21236ad0f06ba8359bf46f8e3b2749b642604051610ea191815260200190565b60405180910390a4505050505050565b6000818152600260205260408120546001600160a01b03168061058f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161069c565b60006001600160a01b038216610f935760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161069c565b506001600160a01b031660009081526003602052604090205490565b6060600180546105a49061330d565b3360009081526010602052604081208054819085908110610fe157610fe1613348565b6000918252602090912001546001600160a01b038481169116146110475760405162461bcd60e51b815260206004820181905260248201527f4853494d3a2048534920696e6465782061646472657373206d69736d61746368604482015260640161069c565b82600061105382611f8f565b60e0810151909150156110b45760405162461bcd60e51b8152602060048201526024808201527f4853494d3a2043616e6e6f7420746f6b656e697a652061206c6f616e6564207360448201526374616b6560e01b606482015260840161069c565b6110c2600b80546001019055565b60006110cd600b5490565b90506110d933826120f7565b600081815260116020526040902080546001600160a01b0319166001600160a01b03881617905561110981612245565b6111138488611ecd565b336001600160a01b0316866001600160a01b0316827fed10b8f4c54a638850d395c632b529baa72a9c68ee7ed868f15a0468405d51474260405161115991815260200190565b60405180910390a49695505050505050565b611176338383612308565b5050565b6111843383611c2b565b6111ea5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606482015260840161069c565b6111f6848484846123d7565b50505050565b60003361120883610eb1565b6001600160a01b0316146112745760405162461bcd60e51b815260206004820152602d60248201527f4853494d3a204465746f6b656e697a6174696f6e20726571756972657320746f60448201526c06b656e206f776e65727368697609c1b606482015260840161069c565b600082815260116020818152604080842080543386526010845291852080546001810182558187528487200180546001600160a01b039094166001600160a01b03199485168117909155958890529390925281541690556112d484612455565b336001600160a01b0316826001600160a01b0316857f6bce622a5976965d5b72e030c8cab9696faae9e320a35bfd263b1681ae7f24904260405161131a91815260200190565b60405180910390a45092915050565b6000818152600260205260409020546060906001600160a01b03166113a85760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161069c565b60006113b26124fc565b905060008151116113d257604051806020016040528060008152506113fd565b806113dc84612587565b6040516020016113ed92919061352e565b6040516020818303038152906040525b9392505050565b6060600a6000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b8282101561148857600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046001600160601b031681830152825260019092019101611439565b505050509050919050565b33600090815260106020526040812080548190859081106114b6576114b6613348565b6000918252602090912001546001600160a01b0384811691161461151c5760405162461bcd60e51b815260206004820181905260248201527f4853494d3a2048534920696e6465782061646472657373206d69736d61746368604482015260640161069c565b82600061152882611f8f565b60e0810151909150156115975760405162461bcd60e51b815260206004820152603160248201527f4853494d3a2043616e6e6f742063616c6c207374616b65456e6420616761696e60448201527073742061206c6f616e6564207374616b6560781b606482015260840161069c565b816001600160a01b03166383197ef06040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156115d257600080fd5b505af11580156115e6573d6000803e3d6000fd5b50506040514281523392506001600160a01b03881691507f14d0fe09f225917f351bd3b122714cfcc1c45015a67232167d4b561e186b26de9060200160405180910390a3600d546040516370a0823160e01b81526001600160a01b03878116600483015260009216906370a082319060240160206040518083038186803b15801561167057600080fd5b505afa158015611684573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a8919061355d565b9050801561179357600d546040516323b872dd60e01b81526001600160a01b03888116600483015233602483015260448201849052909116906323b872dd90606401602060405180830381600087803b15801561170457600080fd5b505af1158015611718573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173c9190613576565b6117935760405162461bcd60e51b815260206004820152602260248201527f4853494d3a20484558207472616e736665722066726f6d20485349206661696c604482015261195960f21b606482015260840161069c565b61179d8488611ecd565b9695505050505050565b600d546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156117eb57600080fd5b505afa1580156117ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611823919061355d565b8311156118855760405162461bcd60e51b815260206004820152602a60248201527f4853494d3a20496e73756666696369656e742048455820746f20666163696c6960448201526974617465207374616b6560b01b606482015260840161069c565b336000908152601060205260408120600f549091906118ac906001600160a01b0316612685565b600e5460405163189acdbd60e31b81526001600160a01b03918216600482015291925082919082169063c4d66de890602401600060405180830381600087803b1580156118f857600080fd5b505af115801561190c573d6000803e3d6000fd5b505084546001808201875560008781526020812090920180546001600160a01b0319166001600160a01b038816179055865491935061194c925090613593565b600d546040516323b872dd60e01b81523360048201526001600160a01b038681166024830152604482018b90529293509116906323b872dd90606401602060405180830381600087803b1580156119a257600080fd5b505af11580156119b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119da9190613576565b611a4c5760405162461bcd60e51b815260206004820152603560248201527f4853494d3a20484558207472616e736665722066726f6d206d6573736167652060448201527f73656e64657220746f204853494d206661696c65640000000000000000000000606482015260840161069c565b604051631e02403760e21b8152600481018790526001600160a01b0383169063780900dc90602401600060405180830381600087803b158015611a8e57600080fd5b505af1158015611aa2573d6000803e3d6000fd5b5050600c54604051638523c74560e01b8152600481018590526001600160a01b0387811660248301523360448301529091169250829150638523c74590606401600060405180830381600087803b158015611afc57600080fd5b505af1158015611b10573d6000803e3d6000fd5b50506040514281523392506001600160a01b03871691507fd680a9b62662668ffed760ca1d0741736980d08c278efca9e0c6dcc1a4c166ca9060200160405180910390a350919695505050505050565b60106020528160005260406000208181548110611b7c57600080fd5b6000918252602090912001546001600160a01b03169150829050565b60006001600160e01b0319821663780e9d6360e01b148061058f575061058f82612732565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611bf282610eb1565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611ca45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161069c565b6000611caf83610eb1565b9050806001600160a01b0316846001600160a01b03161480611cea5750836001600160a01b0316611cdf84610627565b6001600160a01b0316145b80611d1a57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611d3582610eb1565b6001600160a01b031614611d9d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161069c565b6001600160a01b038216611dff5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161069c565b611e0a838383612782565b611e15600082611bbd565b6001600160a01b0383166000908152600360205260408120805460019290611e3e908490613593565b90915550506001600160a01b0382166000908152600360205260408120805460019290611e6c9084906135aa565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b8154600090611ede90600190613593565b9050808214611f5857828181548110611ef957611ef9613348565b9060005260206000200160009054906101000a90046001600160a01b0316838381548110611f2957611f29613348565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b82805480611f6857611f686135c2565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b611ffc6040805161018081019091526000610100820181815261012083018290526101408301829052610160830191909152819081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000151581525090565b6040805160808101825260008082526020820181905291810182905260608101919091526000806000806000806000896001600160a01b031663a8d5fd656040518163ffffffff1660e01b81526004016101606040518083038186803b15801561206557600080fd5b505afa158015612079573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209d91906135fd565b604080516101008101825298895261ffff97881660208a015260ff96871690890152938616606088015294909116608086015263ffffffff1660a0850152911660c0830152151560e08201529a9950505050505050505050565b6001600160a01b03821661214d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161069c565b6000818152600260205260409020546001600160a01b0316156121b25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161069c565b6121be60008383612782565b6001600160a01b03821660009081526003602052604081208054600192906121e79084906135aa565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b604080516001808252818301909252600091816020015b604080518082019091526000808252602082015281526020019060019003908161225c579050509050600f8160008151811061229a5761229a613348565b6020026020010151602001906001600160601b031690816001600160601b03168152505073f447be386164dadfb5d1e7622613f289f17024d8816000815181106122e6576122e6613348565b60209081029190910101516001600160a01b039091169052611176828261278d565b816001600160a01b0316836001600160a01b0316141561236a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161069c565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6123e2848484611d22565b6123ee848484846129a8565b6111f65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161069c565b600061246082610eb1565b905061246e81600084612782565b612479600083611bbd565b6001600160a01b03811660009081526003602052604081208054600192906124a2908490613593565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6060600061250946612587565b90506040518060400160405280601781526020017f68747470733a2f2f6170692e686564726f6e2e70726f2f00000000000000000081525081604051806040016040528060058152602001642f6873692f60d81b815250604051602001612572939291906136ec565b60405160208183030381529060405291505090565b6060816125ab5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156125d557806125bf8161372f565b91506125ce9050600a83613477565b91506125af565b60008167ffffffffffffffff8111156125f0576125f0612ede565b6040519080825280601f01601f19166020018201604052801561261a576020820181803683370190505b5090505b8415611d1a5761262f600183613593565b915061263c600a8661374a565b6126479060306135aa565b60f81b81838151811061265c5761265c613348565b60200101906001600160f81b031916908160001a90535061267e600a86613477565b945061261e565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528260601b60148201526e5af43d82803e903d91602b57fd5bf360881b60288201526037816000f09150506001600160a01b03811661272d5760405162461bcd60e51b815260206004820152601660248201527f455243313136373a20637265617465206661696c656400000000000000000000604482015260640161069c565b919050565b60006001600160e01b031982166380ac58cd60e01b148061276357506001600160e01b03198216635b5e139f60e01b145b8061058f57506301ffc9a760e01b6001600160e01b031983161461058f565b6107d2838383612b00565b6000805b825181101561293e5760006001600160a01b03168382815181106127b7576127b7613348565b6020026020010151600001516001600160a01b0316141561281a5760405162461bcd60e51b815260206004820152601b60248201527f526563697069656e742073686f756c642062652070726573656e740000000000604482015260640161069c565b82818151811061282c5761282c613348565b6020026020010151602001516001600160601b0316600014156128915760405162461bcd60e51b815260206004820181905260248201527f526f79616c74792076616c75652073686f756c6420626520706f736974697665604482015260640161069c565b8281815181106128a3576128a3613348565b6020026020010151602001516001600160601b0316826128c391906135aa565b9150600a60008581526020019081526020016000208382815181106128ea576128ea613348565b6020908102919091018101518254600181018455600093845292829020815191909201516001600160601b0316600160a01b026001600160a01b0390911617910155806129368161372f565b915050612791565b50612710811061299e5760405162461bcd60e51b815260206004820152602560248201527f526f79616c747920746f74616c2076616c75652073686f756c64206265203c20604482015264031303030360dc1b606482015260840161069c565b6107d28383612bb8565b60006001600160a01b0384163b15612af557604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906129ec90339089908890889060040161375e565b602060405180830381600087803b158015612a0657600080fd5b505af1925050508015612a36575060408051601f3d908101601f19168201909252612a3391810190613790565b60015b612adb573d808015612a64576040519150601f19603f3d011682016040523d82523d6000602084013e612a69565b606091505b508051612ad35760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840161069c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d1a565b506001949350505050565b6001600160a01b038316612b5b57612b5681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612b7e565b816001600160a01b0316836001600160a01b031614612b7e57612b7e8382612bf5565b6001600160a01b038216612b95576107d281612c92565b826001600160a01b0316826001600160a01b0316146107d2576107d28282612d41565b7f3fa96d7b6bcbfe71ef171666d84db3cf52fa2d1c8afdb1cc8e486177f208b7df8282604051612be99291906137ad565b60405180910390a15050565b60006001612c0284610f28565b612c0c9190613593565b600083815260076020526040902054909150808214612c5f576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612ca490600190613593565b60008381526009602052604081205460088054939450909284908110612ccc57612ccc613348565b906000526020600020015490508060088381548110612ced57612ced613348565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612d2557612d256135c2565b6001900381819060005260206000200160009055905550505050565b6000612d4c83610f28565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b031981168114612d9b57600080fd5b50565b600060208284031215612db057600080fd5b81356113fd81612d85565b60005b83811015612dd6578181015183820152602001612dbe565b838111156111f65750506000910152565b60008151808452612dff816020860160208601612dbb565b601f01601f19169290920160200192915050565b6020815260006113fd6020830184612de7565b600060208284031215612e3857600080fd5b5035919050565b80356001600160a01b038116811461272d57600080fd5b60008060408385031215612e6957600080fd5b612e7283612e3f565b946020939093013593505050565b600080600060608486031215612e9557600080fd5b612e9e84612e3f565b9250612eac60208501612e3f565b9150604084013590509250925092565b60008060408385031215612ecf57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b6040516080810167ffffffffffffffff81118282101715612f1757612f17612ede565b60405290565b604051610100810167ffffffffffffffff81118282101715612f1757612f17612ede565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f6a57612f6a612ede565b604052919050565b64ffffffffff81168114612d9b57600080fd5b68ffffffffffffffffff81168114612d9b57600080fd5b61ffff81168114612d9b57600080fd5b600060808284031215612fbe57600080fd5b612fc6612ef4565b90508135612fd381612f72565b81526020820135612fe381612f85565b60208201526040820135612ff681612f9c565b6040820152606082013561300981612f9c565b606082015292915050565b8015158114612d9b57600080fd5b803561272d81613014565b6000806000808486036101c081121561304557600080fd5b61304e86612e3f565b94506020860135935061306360408701612e3f565b925061016080605f198301121561307957600080fd5b613081612f1d565b91506130908860608901612fac565b825260e0870135602083015261010087013560408301526101208701356060830152610140870135608083015286013560a082015261018086013560c08201526130dd6101a08701613022565b60e0820152939692955090935050565b6000602082840312156130ff57600080fd5b6113fd82612e3f565b6000806000806080858703121561311e57600080fd5b61312785612e3f565b93506020850135925061313c60408601612e3f565b915061314a60608601612e3f565b905092959194509250565b6000806040838503121561316857600080fd5b8235915061317860208401612e3f565b90509250929050565b6000806040838503121561319457600080fd5b61319d83612e3f565b915060208301356131ad81613014565b809150509250929050565b600080600080608085870312156131ce57600080fd5b6131d785612e3f565b935060206131e6818701612e3f565b935060408601359250606086013567ffffffffffffffff8082111561320a57600080fd5b818801915088601f83011261321e57600080fd5b81358181111561323057613230612ede565b613242601f8201601f19168501612f41565b9150808252898482850101111561325857600080fd5b808484018584013760008482840101525080935050505092959194509250565b600081518084526020808501945080840160005b838110156132c557815180516001600160a01b031688528301516001600160601b0316838801526040909601959082019060010161328c565b509495945050505050565b6020815260006113fd6020830184613278565b600080604083850312156132f657600080fd5b6132ff83612e3f565b915061317860208401612e3f565b600181811c9082168061332157607f821691505b6020821081141561334257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b805161272d81612f9c565b805161272d81613014565b600060e0828403121561338657600080fd5b60405160e0810181811067ffffffffffffffff821117156133a9576133a9612ede565b60405282516133b781612f72565b815260208301516133c781612f85565b602082015260408301516133da81612f85565b604082015260608301516133ed81612f9c565b60608201526133fe6080840161335e565b608082015261340f60a0840161335e565b60a082015261342060c08401613369565b60c08201529392505050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561345c5761345c61342c565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261348657613486613461565b500490565b600061016082019050825164ffffffffff815116835268ffffffffffffffffff6020820151166020840152604081015161ffff808216604086015280606084015116606086015250505060208301516080830152604083015160a0830152606083015160c0830152608083015160e083015260a083015161010083015260c083015161012083015260e083015161352761014084018215159052565b5092915050565b60008351613540818460208801612dbb565b835190830190613554818360208801612dbb565b01949350505050565b60006020828403121561356f57600080fd5b5051919050565b60006020828403121561358857600080fd5b81516113fd81613014565b6000828210156135a5576135a561342c565b500390565b600082198211156135bd576135bd61342c565b500190565b634e487b7160e01b600052603160045260246000fd5b805160ff8116811461272d57600080fd5b805163ffffffff8116811461272d57600080fd5b600080600080600080600080888a0361016081121561361b57600080fd5b608081121561362957600080fd5b50613632612ef4565b895161363d81612f72565b815260208a015161364d81612f85565b602082015260408a015161366081612f9c565b604082015260608a015161367381612f9c565b6060820152975061368660808a0161335e565b965061369460a08a016135d8565b95506136a260c08a0161335e565b94506136b060e08a0161335e565b93506136bf6101008a016135e9565b92506136ce6101208a016135d8565b91506136dd6101408a01613369565b90509295985092959890939650565b600084516136fe818460208901612dbb565b845190830190613712818360208901612dbb565b8451910190613725818360208801612dbb565b0195945050505050565b60006000198214156137435761374361342c565b5060010190565b60008261375957613759613461565b500690565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261179d6080830184612de7565b6000602082840312156137a257600080fd5b81516113fd81612d85565b828152604060208201526000611d1a604083018461327856fea2646970667358221220190f74f6d37d6347cc990a86eabcba509094f51b095460f06bb88097c7a635f364736f6c63430008090033608060405234801561001057600080fd5b50610e74806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c806383197ef01161005b57806383197ef0146100b2578063a8d5fd65146100ba578063acee069e146101ee578063c4d66de81461027257600080fd5b80634313ae42146100825780637396ca651461008c578063780900dc1461009f575b600080fd5b61008a610285565b005b61008a61009a366004610c61565b610361565b61008a6100ad366004610cdf565b610470565b61008a61064b565b6040805160808101825260025464ffffffffff811682526501000000000080820468ffffffffffffffffff166020840152600160701b820461ffff90811694840194909452600160801b9091048316606083015260035461015d938181169262010000830460ff908116936301000000810484169392810490921691670100000000000000810463ffffffff1691600160581b8204811691600160601b90041688565b60408051895164ffffffffff1681526020808b015168ffffffffffffffffff16908201528982015161ffff908116928201929092526060998a0151821699810199909952968716608089015260ff95861660a089015293861660c08801529490911660e086015263ffffffff1661010085015291166101208301521515610140820152610160015b60405180910390f35b6101f6610858565b6040516101e59190600060e08201905064ffffffffff8351168252602083015168ffffffffffffffffff80821660208501528060408601511660408501525050606083015161ffff80821660608501528060808601511660808501528060a08601511660a0850152505060c0830151151560c083015292915050565b61008a610280366004610cf8565b61097e565b600254600160801b900461ffff166102e45760405162461bcd60e51b815260206004820152601f60248201527f4853493a204372656174696f6e206e6f742079657420706572666f726d65640060448201526064015b60405180910390fd5b600080546002546040516332e7b8d960e11b8152306004820152602481019390935264ffffffffff1660448301526001600160a01b0316906365cf71b290606401600060405180830381600087803b15801561033f57600080fd5b505af1158015610353573d6000803e3d6000fd5b5050505061035f610a22565b565b6001546001600160a01b0316331461038b5760405162461bcd60e51b81526004016102db90610d28565b60208101516003805460408401516060850151608086015160a087015160c088015160e09098015161ffff97881662ffffff19909616959095176201000060ff958616021766ffffffff000000191663010000009388169390930266ffff0000000000191692909217650100000000009690911695909502949094176bffffffffff00000000000000191667010000000000000063ffffffff909516949094026bff0000000000000000000000191693909317600160581b9390941692909202929092176cff0000000000000000000000001916600160601b91151591909102179055565b600080546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b1580156104b457600080fd5b505afa1580156104c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ec9190610d6c565b6001549091506001600160a01b031633146105195760405162461bcd60e51b81526004016102db90610d28565b600254600160801b900461ffff16156105745760405162461bcd60e51b815260206004820152601f60248201527f4853493a204372656174696f6e20616c726561647920706572666f726d65640060448201526064016102db565b600081116105da5760405162461bcd60e51b815260206004820152602d60248201527f4853493a204372656174696f6e2072657175697265732061206e6f6e2d7a657260448201526c6f204845582062616c616e636560981b60648201526084016102db565b600054604051630a54871760e31b815260048101839052602481018490526001600160a01b03909116906352a438b890604401600060405180830381600087803b15801561062757600080fd5b505af115801561063b573d6000803e3d6000fd5b50505050610647610a22565b5050565b6001546001600160a01b031633146106755760405162461bcd60e51b81526004016102db90610d28565b600254600160801b900461ffff166106cf5760405162461bcd60e51b815260206004820152601f60248201527f4853493a204372656174696f6e206e6f742079657420706572666f726d65640060448201526064016102db565b60008054600254604051631a1804d160e11b8152600481019390935264ffffffffff1660248301526001600160a01b03169063343009a290604401600060405180830381600087803b15801561072457600080fd5b505af1158015610738573d6000803e3d6000fd5b5050600080546040516370a0823160e01b81523060048201529193506001600160a01b031691506370a082319060240160206040518083038186803b15801561078057600080fd5b505afa158015610794573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b89190610d6c565b60005460015460405163095ea7b360e01b81526001600160a01b03918216600482015260248101849052929350169063095ea7b390604401602060405180830381600087803b15801561080a57600080fd5b505af115801561081e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108429190610d85565b1561007d576001546001600160a01b0316ff5b50565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c081019190915260008054604051632607443b60e01b8152306004820152602481018390528291829182918291829182916001600160a01b0390911690632607443b9060440160e06040518083038186803b1580156108e857600080fd5b505afa1580156108fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109209190610da2565b6040805160e08101825264ffffffffff98909816885268ffffffffffffffffff9687166020890152949095169386019390935261ffff9182166060860152811660808501521660a0830152151560c082015298975050505050505050565b6001546001600160a01b0316156109e55760405162461bcd60e51b815260206004820152602560248201527f4853493a20496e697469616c697a6174696f6e20616c726561647920706572666044820152641bdc9b595960da1b60648201526084016102db565b600180543373ffffffffffffffffffffffffffffffffffffffff1991821617909155600080549091166001600160a01b0392909216919091179055565b60008054604051632607443b60e01b8152306004820152602481018390528291829182918291829182916001600160a01b0390911690632607443b9060440160e06040518083038186803b158015610a7957600080fd5b505afa158015610a8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab19190610da2565b50506002805464ffffffffff969096166dffffffffffffffffffffffffffff19909616959095176501000000000068ffffffffffffffffff94909416939093029290921771ffffffff00000000000000000000000000001916600160701b61ffff9283160261ffff60801b191617600160801b9290911691909102179091555050505050505050565b604051610100810167ffffffffffffffff81118282101715610b6c57634e487b7160e01b600052604160045260246000fd5b60405290565b64ffffffffff8116811461085557600080fd5b68ffffffffffffffffff8116811461085557600080fd5b61ffff8116811461085557600080fd5b600060808284031215610bbe57600080fd5b6040516080810181811067ffffffffffffffff82111715610bef57634e487b7160e01b600052604160045260246000fd5b6040529050808235610c0081610b72565b81526020830135610c1081610b85565b60208201526040830135610c2381610b9c565b60408201526060830135610c3681610b9c565b6060919091015292915050565b801515811461085557600080fd5b8035610c5c81610c43565b919050565b60006101608284031215610c7457600080fd5b610c7c610b3a565b610c868484610bac565b81526080830135602082015260a0830135604082015260c0830135606082015260e0830135608082015261010083013560a082015261012083013560c0820152610cd36101408401610c51565b60e08201529392505050565b600060208284031215610cf157600080fd5b5035919050565b600060208284031215610d0a57600080fd5b81356001600160a01b0381168114610d2157600080fd5b9392505050565b60208082526024908201527f4853493a2043616c6c6572206d75737420626520636f6e74726163742063726560408201526330ba37b960e11b606082015260800190565b600060208284031215610d7e57600080fd5b5051919050565b600060208284031215610d9757600080fd5b8151610d2181610c43565b600080600080600080600060e0888a031215610dbd57600080fd5b8751610dc881610b72565b6020890151909750610dd981610b85565b6040890151909650610dea81610b85565b6060890151909550610dfb81610b9c565b6080890151909450610e0c81610b9c565b60a0890151909350610e1d81610b9c565b60c0890151909250610e2e81610c43565b809150509295989194975092955056fea264697066735822122055e7b705b10f2b2c963984150458d56028c6a362cfda89761c00dbc65cff4c5164736f6c634300080900330000000000000000000000002b591e99afe9f32eaa6214f7b7629768c40eeb39000000000000000000000000000000000000000000000000000000005de5a580
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80636144a2d811610104578063a457c2d7116100a2578063d402972711610071578063d402972714610534578063dd62ed3e14610604578063ddeb24061461063d578063f812b9a41461065057600080fd5b8063a457c2d7146104e8578063a9059cbb146104fb578063b488dbc61461050e578063d240a93a1461052157600080fd5b80637fedcdf9116100de5780637fedcdf9146104a55780638523c745146104b857806395d89b41146104cd578063975fe3ca146104d557600080fd5b80636144a2d8146103d157806361c2acc31461046957806370a082311461047c57600080fd5b806323b872dd1161017c578063451df11b1161014b578063451df11b146103855780634552788a146103ad5780635c9302c9146103b65780635f169f5b146103be57600080fd5b806323b872dd1461033d5780632f52ca3614610350578063313ce56714610363578063395093511461037257600080fd5b806310d9d349116101b857806310d9d3491461024157806318160ddd146102545780631823b7dd1461025c57806322bb5e541461031257600080fd5b806306fdde03146101df578063095ea7b3146101fd5780630fa7609e14610220575b600080fd5b6101e7610663565b6040516101f49190614e34565b60405180910390f35b61021061020b366004614ea1565b6106f5565b60405190151581526020016101f4565b61023361022e366004614ecd565b61070b565b6040519081526020016101f4565b61023361024f366004614efd565b610ba0565b600254610233565b6102c361026a366004614f3f565b600c6020526000908152604090208054600182015460029092015490916001600160a01b0380821692600160a01b928390046001600160601b0316929181169181046001600160581b031690600160f81b900460ff1686565b604080519687526001600160a01b0395861660208801526001600160601b0390941693860193909352921660608401526001600160581b039091166080830152151560a082015260c0016101f4565b600954610325906001600160a01b031681565b6040516001600160a01b0390911681526020016101f4565b61021061034b366004614f58565b611075565b61023361035e366004614ecd565b61111f565b604051600981526020016101f4565b610210610380366004614ea1565b61148e565b610398610393366004614efd565b6114ca565b604080519283526020830191909152016101f4565b610233600d5481565b6102336117c1565b6102336103cc366004614ecd565b6117d0565b6104286103df366004614f3f565b600b602052600090815260409020546001600160481b0380821691600160481b8104821691600160901b82041690600160d81b810463ffffffff1690600160f81b900460ff1685565b604080516001600160481b0396871681529486166020860152929094169183019190915263ffffffff16606082015260ff909116608082015260a0016101f4565b610233610477366004614f99565b611c77565b61023361048a366004614fbb565b6001600160a01b031660009081526020819052604090205490565b6103986104b3366004614efd565b611fb1565b6104cb6104c6366004614fd8565b6122aa565b005b6101e76124d7565b6102336104e3366004614ecd565b6124e6565b6102106104f6366004614ea1565b6129e2565b610210610509366004614ea1565b612a7b565b61023361051c366004615022565b612a88565b6104cb61052f366004614f3f565b612c44565b6105f0610542366004614f3f565b600a602090815260009182526040918290208251608081018452815464ffffffffff81168252650100000000008082046001600160481b031694830194909452600160701b810461ffff90811695830195909552600160801b90048416606082015260019091015490928181169262010000830460ff908116936301000000810484169392810490921691600160381b810463ffffffff1691600160581b8204811691600160601b90041688565b6040516101f4989796959493929190615047565b6102336106123660046150de565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61032561064b366004614f99565b612e07565b61023361065e366004615022565b6130ba565b6060600380546106729061510c565b80601f016020809104026020016040519081016040528092919081815260200182805461069e9061510c565b80156106eb5780601f106106c0576101008083540402835291602001916106eb565b820191906000526020600020905b8154815290600101906020018083116106ce57829003601f168201915b5050505050905090565b60006107023384846135f3565b50600192915050565b60006362196d804210156107545760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe83398151915260448201526064015b60405180910390fd5b6107866040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b6000610794613718565b815260200190815260200160002090506107ae8183613736565b60075460405163f2b2914160e01b8152336004820152602481018790526000916001600160a01b03169063f2b291419060440160206040518083038186803b1580156107f957600080fd5b505afa15801561080d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108319190615147565b9050806001600160a01b0316856001600160a01b0316146108825760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b600061088d86613872565b90508060e00151151560011515146108f25760405162461bcd60e51b815260206004820152602260248201527f4844524e3a2043616e6e6f7420706179206e6f6e2d6578697374616e74206c6f60448201526130b760f11b606482015260840161074b565b6000601e8260c00151610905919061517a565b905060008183608001516109199190615199565b90506000806000601e8411156109765785516020015161094490601e906001600160481b031661517a565b9250620f4240601e8760a0015161095b919061517a565b610965908561517a565b61096f91906151b0565b91506109c1565b8551602001516109909085906001600160481b031661517a565b9250620f4240848760a001516109a6919061517a565b6109b0908561517a565b6109ba91906151b0565b9150600190505b6109cb82846151d2565b336000908152602081905260409020541015610a425760405162461bcd60e51b815260206004820152603060248201527f4844524e3a20496e73756666696369656e742062616c616e636520746f20666160448201526f18da5b1a5d185d19481c185e5b595b9d60821b606482015260840161074b565b60c08601805190610a52826151ea565b905250610a6886610a6384866151d2565b613975565b60018115151415610a97576000606087018190526080870181905260a0870181905260c0870181905260e08701525b600760009054906101000a90046001600160a01b03166001600160a01b031663317e2e63338e8e8a6040518563ffffffff1660e01b8152600401610ade9493929190615205565b600060405180830381600087803b158015610af857600080fd5b505af1158015610b0c573d6000803e3d6000fd5b505087515164ffffffffff166000908152600a60205260409020610b339250905087613a24565b610b3d82846151d2565b89604001818151610b4e91906151d2565b905250610b5b888a613b84565b82600d6000828254610b6d9190615199565b90915550610b86905033610b8184866151d2565b613c39565b610b9082846151d2565b9c9b505050505050505050505050565b60006362196d80421015610be45760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b60075460405163f2b2914160e01b81526001600160a01b03868116600483015260248201869052600092169063f2b291419060440160206040518083038186803b158015610c3157600080fd5b505afa158015610c45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c699190615147565b9050806001600160a01b0316836001600160a01b031614610cba5760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b6000610cc584613872565b90508060e0015115156001151514610d325760405162461bcd60e51b815260206004820152602a60248201527f4844524e3a2043616e6e6f74206c69717569646174652061206e6f6e2d65786960448201526939ba30b73a103637b0b760b11b606482015260840161074b565b6000601e8260c00151610d45919061517a565b90506000818360800151610d599190615199565b90506000828460600151610d6b613718565b610d759190615199565b610d7f9190615199565b90506000828560000151602001516001600160481b0316610da0919061517a565b9050605a821015610e085760405162461bcd60e51b815260206004820152602c60248201527f4844524e3a2043616e6e6f74206c69717569646174652061206c6f616e206e6f60448201526b1d081a5b88191959985d5b1d60a21b606482015260840161074b565b82821115610e14578291505b6000620f4240838760a00151610e2a919061517a565b875160200151610e449086906001600160481b031661517a565b610e4e919061517a565b610e5891906151b0565b9050610e6481836151d2565b336000908152602081905260409020541015610edf5760405162461bcd60e51b815260206004820152603460248201527f4844524e3a20496e73756666696369656e742062616c616e636520746f20666160448201527331b4b634ba30ba32903634b8bab4b230ba34b7b760611b606482015260840161074b565b6000606087018190526080870181905260a0870181905260c0870181905260e087015260075460405163317e2e6360e01b81526001600160a01b039091169063317e2e6390610f38908e908e908e908c90600401615205565b600060405180830381600087803b158015610f5257600080fd5b505af1158015610f66573d6000803e3d6000fd5b505087515164ffffffffff166000908152600a60205260409020610f8d9250905087613a24565b600754604051635e21bb4560e01b81526001600160a01b038d81166004830152602482018d90528b811660448301526000606483015290911690635e21bb4590608401600060405180830381600087803b158015610fea57600080fd5b505af1158015610ffe573d6000803e3d6000fd5b505050506110188933838561101391906151d2565b613d7f565b506110368661102660085490565b8d61103185876151d2565b613ea9565b81600d60008282546110489190615199565b9091555061105c905033610b8183856151d2565b61106681836151d2565b9b9a5050505050505050505050565b6000611082848484613f62565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156111075760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161074b565b61111485338584036135f3565b506001949350505050565b60006362196d804210156111635760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b6111956040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b60006111a3613718565b815260200190815260200160002090506111bd8183613736565b60075460405163f2b2914160e01b8152336004820152602481018790526000916001600160a01b03169063f2b291419060440160206040518083038186803b15801561120857600080fd5b505afa15801561121c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112409190615147565b9050806001600160a01b0316856001600160a01b0316146112915760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b600061129c86613872565b60e0810151909150156112f15760405162461bcd60e51b815260206004820152601d60248201527f4844524e3a20485349206c6f616e20616c726561647920657869737473000000604482015260640161074b565b602081015181516060015160009161130c9161ffff16615199565b90506000811161135e5760405162461bcd60e51b815260206004820181905260248201527f4844524e3a204e6f206c6f616e61626c6520646179732072656d61696e696e67604482015260640161074b565b81516020015160009061137b9083906001600160481b031661517a565b905080156114825761138b613718565b6060808501919091526080840183905286015160a0840152600160e08401526113b48382614130565b80866020018181516113c691906151d2565b905250600d80548291906000906113de9084906151d2565b909155505060075460405163317e2e6360e01b81526001600160a01b039091169063317e2e63906114199033908d908d908990600401615205565b600060405180830381600087803b15801561143357600080fd5b505af1158015611447573d6000803e3d6000fd5b505084515164ffffffffff166000908152600a6020526040902061146e9250905084613a24565b6114788587613b84565b61148233826141c6565b98975050505050505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916107029185906114c59086906151d2565b6135f3565b6000806362196d8042101561150f5760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b6115416040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b600061154f613718565b815260200190815260200160002090506115698183613736565b60075460405163f2b2914160e01b81526001600160a01b03898116600483015260248201899052600092169063f2b291419060440160206040518083038186803b1580156115b657600080fd5b505afa1580156115ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ee9190615147565b9050806001600160a01b0316866001600160a01b03161461163f5760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b600061164a87613872565b90506000601e8260c0015161165f919061517a565b905060008183608001516116739190615199565b905060008060008560a00151111561170b57601e8311156116db578451602001516116a990601e906001600160481b031661517a565b9150620f4240601e8660a001516116c0919061517a565b6116ca908461517a565b6116d491906151b0565b90506117af565b8451602001516116f59084906001600160481b031661517a565b9150620f4240838660a001516116c0919061517a565b601e85600001516060015161ffff1611156117525784516020015161173b90601e906001600160481b031661517a565b9150620f4240601e89606001516116c0919061517a565b8451606081015160209091015161176d9161ffff16906152c8565b6001600160481b03169150620f424085600001516060015161ffff168960600151611798919061517a565b6117a2908461517a565b6117ac91906151b0565b90505b909c909b509950505050505050505050565b60006117cb613718565b905090565b60006362196d804210156118145760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b6118466040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b6000611854613718565b8152602001908152602001600020905061186e8183613736565b60075460405163f2b2914160e01b8152336004820152602481018790526000916001600160a01b03169063f2b291419060440160206040518083038186803b1580156118b957600080fd5b505afa1580156118cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f19190615147565b9050806001600160a01b0316856001600160a01b0316146119425760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b600061194d86613872565b90508060e00151151560011515146119b55760405162461bcd60e51b815260206004820152602560248201527f4844524e3a2043616e6e6f74207061796f6666206e6f6e2d6578697374616e74604482015264103637b0b760d91b606482015260840161074b565b6000601e8260c001516119c8919061517a565b905060008183608001516119dc9190615199565b905060008060008486606001516119f1613718565b6119fb9190615199565b1015611a2257855160200151611a1b9085906001600160481b031661517a565b9150611ab3565b848660600151611a30613718565b611a3a9190615199565b611a449190615199565b925083831115611a52578392505b855160200151611a6c9085906001600160481b031661517a565b9150620f4240838760a00151611a82919061517a565b875160200151611a9c9086906001600160481b031661517a565b611aa6919061517a565b611ab091906151b0565b90505b611abd81836151d2565b336000908152602081905260409020541015611b335760405162461bcd60e51b815260206004820152602f60248201527f4844524e3a20496e73756666696369656e742062616c616e636520746f20666160448201526e31b4b634ba30ba32903830bcb7b33360891b606482015260840161074b565b611b4686611b4183856151d2565b6142a5565b6000866060018181525050600086608001818152505060008660a001818152505060008660c001818152505060008660e0019015159081151581525050600760009054906101000a90046001600160a01b03166001600160a01b031663317e2e63338e8e8a6040518563ffffffff1660e01b8152600401611bca9493929190615205565b600060405180830381600087803b158015611be457600080fd5b505af1158015611bf8573d6000803e3d6000fd5b505087515164ffffffffff166000908152600a60205260409020611c1f9250905087613a24565b611c2981836151d2565b89604001818151611c3a91906151d2565b905250611c47888a613b84565b81600d6000828254611c599190615199565b90915550611c6d905033610b8183856151d2565b610b9081836151d2565b60006362196d80421015611cbb5760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a08101919091526000848152600c60205260409020611d058183614348565b60a08201511515600114611d6b5760405162461bcd60e51b815260206004820152602760248201527f4844524e3a2043616e6e6f7420626964206f6e20696e76616c6964206c69717560448201526634b230ba34b7b760c91b606482015260840161074b565b33600090815260208190526040902054841115611de75760405162461bcd60e51b815260206004820152603460248201527f4844524e3a20496e73756666696369656e742062616c616e636520746f20666160448201527331b4b634ba30ba32903634b8bab4b230ba34b7b760611b606482015260840161074b565b81604001518411611e605760405162461bcd60e51b815260206004820152603660248201527f4844524e3a204c69717569646174696f6e20626964206d75737420626520677260448201527f6561746572207468616e2063757272656e742062696400000000000000000000606482015260840161074b565b608082015182516201518091611e75916151d2565b611e7f9042615199565b1115611edd5760405162461bcd60e51b815260206004820152602760248201527f4844524e3a2043616e6e6f7420626964206f6e2065787069726564206c69717560448201526634b230ba34b7b760c91b606482015260840161074b565b60808201518251600091611ef0916151d2565b611efc4261012c6151d2565b611f069190615199565b905062015180811115611f3557611f206201518082615199565b83608001818151611f3191906151d2565b9052505b611f47836060015184604001516141c6565b33606084015260408301859052611f5e82846143ab565b6000611f6d8460200151613872565b805151909150611f7e90888861441c565b611f883387613c39565b60808401518451611f9991906151d2565b611fa690620151806151d2565b979650505050505050565b6000806362196d80421015611ff65760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b6120286040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b6000612036613718565b815260200190815260200160002090506120508183613736565b60075460405163f2b2914160e01b81526001600160a01b03898116600483015260248201899052600092169063f2b291419060440160206040518083038186803b15801561209d57600080fd5b505afa1580156120b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120d59190615147565b9050806001600160a01b0316866001600160a01b0316146121265760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b600061213187613872565b90508060e00151151560011515146121995760405162461bcd60e51b815260206004820152602560248201527f4844524e3a2043616e6e6f74207061796f6666206e6f6e2d6578697374616e74604482015264103637b0b760d91b606482015260840161074b565b6000601e8260c001516121ac919061517a565b905060008183608001516121c09190615199565b905060008060008486606001516121d5613718565b6121df9190615199565b1015612206578551602001516121ff9085906001600160481b031661517a565b9150612297565b848660600151612214613718565b61221e9190615199565b6122289190615199565b925083831115612236578392505b8551602001516122509085906001600160481b031661517a565b9150620f4240838760a00151612266919061517a565b8751602001516122809086906001600160481b031661517a565b61228a919061517a565b61229491906151b0565b90505b909d909c509a5050505050505050505050565b6009546001600160a01b031633146123045760405162461bcd60e51b815260206004820152601960248201527f4853494d3a2043616c6c6572206d757374206265204853494d00000000000000604482015260640161074b565b60075460405163f2b2914160e01b81526001600160a01b03838116600483015260248201869052600092169063f2b291419060440160206040518083038186803b15801561235157600080fd5b505afa158015612365573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123899190615147565b9050806001600160a01b0316836001600160a01b0316146123da5760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b60006123e584613872565b905060646123f1613718565b101561243857612412612402613718565b61240d906064615199565b61448a565b6040820181905281518051602090910151612438926001600160481b039091169061453b565b60075460405163317e2e6360e01b81526001600160a01b039091169063317e2e639061246e908690899089908790600401615205565b600060405180830381600087803b15801561248857600080fd5b505af115801561249c573d6000803e3d6000fd5b505050506124d0816000015182602001518360400151846060015185608001518660a001518760c001518860e001516145ae565b5050505050565b6060600480546106729061510c565b60006362196d8042101561252a5760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b61255c6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b600061256a613718565b815260200190815260200160002090506125848183613736565b60075460405163f2b2914160e01b8152336004820152602481018790526000916001600160a01b03169063f2b291419060440160206040518083038186803b1580156125cf57600080fd5b505afa1580156125e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126079190615147565b9050806001600160a01b0316856001600160a01b0316146126585760405162461bcd60e51b8152602060048201819052602482015260008051602061561e833981519152604482015260640161074b565b600061266386613872565b80516040015190915061ffff166126786147c6565b10156126dc5760405162461bcd60e51b815260206004820152602d60248201527f4844524e3a2063616e6e6f74206d696e7420616761696e737420612070656e6460448201526c696e6720484558207374616b6560981b606482015260840161074b565b60e0810151156127435760405162461bcd60e51b815260206004820152602c60248201527f4844524e3a2063616e6e6f74206d696e7420616761696e73742061206c6f616e60448201526b656420484558207374616b6560a01b606482015260840161074b565b600080600083600001516040015161ffff1661275d6147c6565b6127679190615199565b84516060015190935061ffff168311156127885783516060015161ffff1692505b60208401516127979084615199565b8451602001519092506127b49083906001600160481b031661517a565b60408501519091501561281f5760006127d18560400151836147da565b90508015612819576127f7739d73ced2e36c89e5d167151809eee218a189f801826141c6565b808860000181815161280991906151d2565b90525061281681836151d2565b91505b50612898565b6064612829613718565b10156128985761283a612402613718565b6040850181905260009061284e90836147da565b9050801561289657612874739d73ced2e36c89e5d167151809eee218a189f801826141c6565b808860000181815161288691906151d2565b90525061289381836151d2565b91505b505b6080870151156128fc5760006128b28860800151836147da565b905080156128fa576128d8739d73ced2e36c89e5d167151809eee218a189f801826141c6565b80886000018181516128ea91906151d2565b9052506128f781836151d2565b91505b505b818460200181815161290e91906151d2565b905250801561292b5761292133826141c6565b61292b84826147f9565b808760000181815161293d91906151d2565b90525060075460405163317e2e6360e01b81526001600160a01b039091169063317e2e63906129769033908e908e908a90600401615205565b600060405180830381600087803b15801561299057600080fd5b505af11580156129a4573d6000803e3d6000fd5b505085515164ffffffffff166000908152600a602052604090206129cb9250905085613a24565b6129d58688613b84565b9998505050505050505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015612a645760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161074b565b612a7133858584036135f3565b5060019392505050565b6000610702338484613f62565b60006362196d80421015612acc5760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b6000612ad784614894565b90508264ffffffffff16816000015164ffffffffff1614612b445760405162461bcd60e51b815260206004820152602160248201527f4844524e3a20484558207374616b6520696e646578206964206d69736d6174636044820152600d60fb1b606482015260840161074b565b6000806000612b52846149b9565b90935091508215612ba55760405162461bcd60e51b815260206004820152601f60248201527f4844524e3a20484558205374616b6520616c726561647920636c61696d656400604482015260640161074b565b6064612baf613718565b1015612bde57612bc0612402613718565b9050612bde846000015185604001516001600160481b03168361453b565b612c3a6040518060800160405280866000015164ffffffffff16815260200186604001516001600160481b03168152602001866060015161ffff168152602001866080015161ffff1681525060008360008060008060006145ae565b9695505050505050565b6362196d80421015612c865760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b612cb86040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b6000612cc6613718565b81526020019081526020016000209050612ce08183613736565b33600090815260208190526040902054831115612d545760405162461bcd60e51b815260206004820152602c60248201527f4844524e3a20496e73756666696369656e742062616c616e636520746f20666160448201526b31b4b634ba30ba32902837a160a11b606482015260840161074b565b33600090815260016020908152604080832030845290915290205483811015612dcb5760405162461bcd60e51b815260206004820152602360248201527f4844524e3a204275726e20616d6f756e74206578636565647320616c6c6f77616044820152626e636560e81b606482015260840161074b565b8383604001818151612ddd91906151d2565b905250612dea8284613b84565b612df733308684036135f3565b612e013385613c39565b50505050565b60006362196d80421015612e4b5760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b612e7d6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b6000612e8b613718565b81526020019081526020016000209050612ea58183613736565b6000848152600c60209081526040808320815160c081018352848152928301849052908201839052606082018390526080820183905260a0820192909252612eed8282614348565b60a08101511515600114612f545760405162461bcd60e51b815260206004820152602860248201527f4844524e3a2043616e6e6f742065786974206f6e20696e76616c6964206c69716044820152673ab4b230ba34b7b760c11b606482015260840161074b565b608081015181516201518091612f69916151d2565b612f739042615199565b1015612fd15760405162461bcd60e51b815260206004820152602760248201527f4844524e3a2043616e6e6f742065786974206f6e20616374697665206c69717560448201526634b230ba34b7b760c91b606482015260840161074b565b60075460208201516060830151604051635e21bb4560e01b815260006004820152602481018b90526001600160a01b0392831660448201529082166064820152911690635e21bb4590608401600060405180830381600087803b15801561303757600080fd5b505af115801561304b573d6000803e3d6000fd5b5050505080604001518460400181815161306591906151d2565b905250602081015160009061307990613872565b90506130978160000151600001518884606001518560400151614a80565b6130a18486613b84565b6130ab83836143ab565b50602001519695505050505050565b60006362196d804210156130fe5760405162461bcd60e51b815260206004820152601d60248201526000805160206155fe833981519152604482015260640161074b565b6131306040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000600b600061313e613718565b815260200190815260200160002090506131588183613736565b600061316386614894565b90508464ffffffffff16816000015164ffffffffff16146131d05760405162461bcd60e51b815260206004820152602160248201527f4844524e3a20484558207374616b6520696e646578206964206d69736d6174636044820152600d60fb1b606482015260840161074b565b806060015161ffff166131e16147c6565b10156132455760405162461bcd60e51b815260206004820152602d60248201527f4844524e3a2063616e6e6f74206d696e7420616761696e737420612070656e6460448201526c696e6720484558207374616b6560981b606482015260840161074b565b600080600080600080613256614dca565b61325f886149b9565b90975095508615613402576000868152600a602052604090206132829082614ae1565b80516040015161ffff166132946147c6565b61329e9190615199565b81516060015190955061ffff168511156132bf5780516060015161ffff1694505b60208101516132ce9086615199565b8151602001519094506132eb9085906001600160481b031661517a565b6040820151909350156133525760006133088260400151856147da565b905080156133505761332e739d73ced2e36c89e5d167151809eee218a189f801826141c6565b808b60000181815161334091906151d2565b90525061334d81856151d2565b93505b505b60808a0151156133b657600061336c8b60800151856147da565b905080156133b457613392739d73ced2e36c89e5d167151809eee218a189f801826141c6565b808b6000018181516133a491906151d2565b9052506133b181856151d2565b93505b505b83816020018181516133c891906151d2565b90525082156133e5576133db33846141c6565b6133e581846147f9565b6000868152600a602052604090206133fd9082613a24565b6135c3565b876060015161ffff166134136147c6565b61341d9190615199565b9450876080015161ffff1685111561343b57876080015161ffff1694505b8488604001516001600160481b0316613454919061517a565b92506064613460613718565b10156134c957613471612402613718565b9150600061347f83856147da565b905080156134c7576134a5739d73ced2e36c89e5d167151809eee218a189f801826141c6565b808b6000018181516134b791906151d2565b9052506134c481856151d2565b93505b505b60808a01511561352d5760006134e38b60800151856147da565b9050801561352b57613509739d73ced2e36c89e5d167151809eee218a189f801826141c6565b808b60000181815161351b91906151d2565b90525061352881856151d2565b93505b505b61358860405180608001604052808a6000015164ffffffffff1681526020018a604001516001600160481b031681526020018a6060015161ffff1681526020018a6080015161ffff16815250868460008060008060006145ae565b875164ffffffffff166000908152600a602052604090206135a99082614ae1565b82156135c3576135b933846141c6565b6135c381846147f9565b828a6000018181516135d591906151d2565b9052506135e2898b613b84565b50909b9a5050505050505050505050565b6001600160a01b0383166136555760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161074b565b6001600160a01b0382166136b65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161074b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006201518061372c6362196d8042615199565b6117cb91906151b0565b81546001600160481b038082168352600160481b820481166020840152600160901b8204166040830152600160d81b810463ffffffff1660608301819052600160f81b90910460ff16608083015261386e5760006137926147c6565b905060006137a96137a4600284615199565b614bac565b905060006137b5614c80565b9050600081600001516001600160481b0316620f424084600001516001600160481b03166137e3919061517a565b6137ed91906151b0565b90506137fa6002826151b0565b6060860152600d54158015906138185750600061381660025490565b115b1561386957600061382860025490565b600d5461383690606461517a565b61384091906151b0565b9050603281111561386757613856603282615199565b61386190600261517a565b60808701525b505b505050505b5050565b61387a614dca565b6040805160808101825260008082526020820181905291810182905260608101919091526000806000806000806000896001600160a01b031663a8d5fd656040518163ffffffff1660e01b81526004016101606040518083038186803b1580156138e357600080fd5b505afa1580156138f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061391b9190615365565b604080516101008101825298895261ffff97881660208a015260ff96871690890152938616606088015294909116608086015263ffffffff1660a0850152911660c0830152151560e08201529a9950505050505050505050565b81600001516000015164ffffffffff16336001600160a01b03167f861000bc726a08720e9c88acb7203b0f9cc6f1c91aa66ec7d3dba932eebbb6e860a8846001600160581b0316901b60a08660c0015160ff16901b60808760a0015163ffffffff16901b6070886080015161ffff16901b60288960000151602001516001600160481b0316901b4264ffffffffff161717171717604051613a1891815260200190565b60405180910390a35050565b80518051835460208084015160408086015160609687015164ffffffffff9096166dffffffffffffffffffffffffffff1990951694909417650100000000006001600160481b0390931683021771ffffffff00000000000000000000000000001916600160701b61ffff9586160261ffff60801b191617600160801b9585169590950294909417875590850151600190960180549386015194860151608087015160a088015160c089015160e09099015199861662ffffff19909716969096176201000060ff988916021766ffffffff000000191663010000009286169290920266ffff00000000001916919091179316909102919091176bffffffffff000000000000001916600160381b63ffffffff909316929092026bff0000000000000000000000191691909117600160581b9290931691909102919091176cff0000000000000000000000001916600160601b92151592909202919091179055565b8051825460208301516040840151606085015160809095015160ff16600160f81b026001600160f81b0363ffffffff909616600160d81b0263ffffffff60d81b196001600160481b03938416600160901b02167fff00000000000000000000000000ffffffffffffffffffffffffffffffffffff948416600160481b0271ffffffffffffffffffffffffffffffffffff1990961693909616929092179390931791909116929092179190911791909116179055565b6001600160a01b038216613c995760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161074b565b6001600160a01b03821660009081526020819052604090205481811015613d0d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161074b565b6001600160a01b0383166000908152602081905260408120838303905560028054849290613d3c908490615199565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200161370b565b6000613d8f600880546001019055565b6040518060c00160405280428152602001856001600160a01b03168152602001836001600160601b03168152602001846001600160a01b0316815260200160006001600160581b0316815260200160011515815250600c6000613df160085490565b815260208082019290925260409081016000208351815591830151908301516001600160a01b03918216600160a01b6001600160601b039092168202176001840155606084015160029093018054608086015160a090960151949093167fff00000000000000000000000000000000000000000000000000000000000000909316929092176001600160581b0390941602929092176001600160f81b0316600160f81b91151591909102179055600854949350505050565b8264ffffffffff1684600001516000015164ffffffffff16836001600160a01b03167f5ff6c3d9b175ccaaa9cac4061a5e73b1b21691ce56f40c846a0b12b4bd349ad460a8856001600160581b0316901b60a08960c0015160ff16901b60808a60a0015163ffffffff16901b60708b6080015161ffff16901b60288c60000151602001516001600160481b0316901b4264ffffffffff161717171717604051613f5491815260200190565b60405180910390a450505050565b6001600160a01b038316613fc65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161074b565b6001600160a01b0382166140285760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161074b565b6001600160a01b038316600090815260208190526040902054818110156140a05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161074b565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906140d79084906151d2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161412391815260200190565b60405180910390a3612e01565b81600001516000015164ffffffffff16336001600160a01b03167fd1531219a20f2d83d987ee404dcc7e73580f8c88df13e9cd7568900c8aac2ac560a0846001600160601b0316901b60808660a0015163ffffffff16901b6070876080015161ffff16901b60288860000151602001516001600160481b0316901b4264ffffffffff1617171717604051613a1891815260200190565b6001600160a01b03821661421c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161074b565b806002600082825461422e91906151d2565b90915550506001600160a01b0382166000908152602081905260408120805483929061425b9084906151d2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b81600001516000015164ffffffffff16336001600160a01b03167f563d5b42b3f744c16f6022019dde74a4717db5f2c3c420c2507537bd0b95151060a8846001600160581b0316901b60a08660c0015160ff16901b60808760a0015163ffffffff16901b6070886080015161ffff16901b60288960000151602001516001600160481b0316901b4264ffffffffff161717171717604051613a1891815260200190565b815481526002820154600160a01b8082046001600160581b031660808401526001909301546001600160a01b03808216602085015282166060840152929092046001600160601b03166040820152600160f81b90910460ff16151560a090910152565b60808101516020820151606083015160408401516001600160601b0316600160a01b9081026001600160a01b0393841617600187015560a0909401511515600160f81b0265ffffffffffff909316939093026affffffffffffffffffffff60a01b1692169190911717600290910155565b8164ffffffffff168364ffffffffff16336001600160a01b03167fe8a39971ed535d13041f79f54ea41f45a2435bc8e608d91068e374606bce9eb86028856001600160d81b0316901b4264ffffffffff161760405161447d91815260200190565b60405180910390a4505050565b6000605a82111561449d57506064919050565b60508211156144ae5750605a919050565b60468211156144bf57506050919050565b603c8211156144d057506046919050565b60328211156144e15750603c919050565b60288211156144f257506032919050565b601e82111561450357506028919050565b60148211156145145750601e919050565b600a82111561452557506014919050565b81156145335750600a919050565b506000919050565b8264ffffffffff16336001600160a01b03167fc4a10ff9f52151128e34f73797cbcc4097d1c7af612b87e89216517ec14ffc6b60708471ffffffffffffffffffffffffffffffffffff16901b6028866001600160481b0316901b4264ffffffffff16171760405161370b91815260200190565b6040518061010001604052808981526020018861ffff1681526020018760ff1681526020018661ffff1681526020018561ffff1681526020018463ffffffff1681526020018360ff168152602001821515815250600a60008a6000015164ffffffffff16815260200190815260200160002060008201518160000160008201518160000160006101000a81548164ffffffffff021916908364ffffffffff16021790555060208201518160000160056101000a8154816001600160481b0302191690836001600160481b03160217905550604082015181600001600e6101000a81548161ffff021916908361ffff16021790555060608201518160000160106101000a81548161ffff021916908361ffff160217905550505060208201518160010160006101000a81548161ffff021916908361ffff16021790555060408201518160010160026101000a81548160ff021916908360ff16021790555060608201518160010160036101000a81548161ffff021916908361ffff16021790555060808201518160010160056101000a81548161ffff021916908361ffff16021790555060a08201518160010160076101000a81548163ffffffff021916908363ffffffff16021790555060c082015181600101600b6101000a81548160ff021916908360ff16021790555060e082015181600101600c6101000a81548160ff0219169083151502179055509050505050505050505050565b6000620151806006544261372c9190615199565b6000600a6147e8848461517a565b6147f291906151b0565b9392505050565b81600001516000015164ffffffffff16336001600160a01b03167fce84afc26010d49051ae429b96ad50c0ef3a958a5c5bdc44c80e090dee642dbe6088846effffffffffffffffffffffffffffff16901b6080866040015160ff16901b6070876020015161ffff16901b60288860000151602001516001600160481b0316901b4264ffffffffff1617171717604051613a1891815260200190565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810191909152600554604051632607443b60e01b8152336004820152602481018490526000918291829182918291829182916001600160a01b031690632607443b9060440160e06040518083038186803b15801561492457600080fd5b505afa158015614938573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061495c9190615478565b6040805160e08101825264ffffffffff9890981688526001600160481b039687166020890152949095169386019390935261ffff9182166060860152811660808501521660a0830152151560c08201529998505050505050505050565b6000806000806149c7614dca565b855164ffffffffff166000908152600a602052604090206149e89082614ae1565b855181515164ffffffffff9081169116148015614a22575085604001516001600160481b03168160000151602001516001600160481b0316145b8015614a415750856060015161ffff1681600001516040015161ffff16145b8015614a605750856080015161ffff1681600001516060015161ffff16145b15614a755785516001935064ffffffffff1691505b509094909350915050565b8264ffffffffff168464ffffffffff16836001600160a01b03167f4880f72426ed087acce5733f8d2607065f5eb9cf9888f4ba51e605c3f5d0efdc6028856001600160d81b0316901b4264ffffffffff1617604051613f5491815260200190565b6040805160808082018352845464ffffffffff81168352650100000000008082046001600160481b0316602080860191909152600160701b830461ffff90811686880152600160801b90930483166060808701919091529487526001909701548083169787019790975262010000870460ff908116958701959095526301000000870482169386019390935291850490911690830152600160381b830463ffffffff1660a0830152600160581b8304811660c0830152600160601b909204909116151560e090910152565b60408051606081018252600080825260208201819052918101919091526005546040516390de687160e01b815260048101849052600091829182916001600160a01b0316906390de68719060240160606040518083038186803b158015614c1257600080fd5b505afa158015614c26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614c4a9190615500565b604080516060810182526001600160481b03948516815293909216602084015266ffffffffffffff169082015295945050505050565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810191909152600080600080600080600080600560009054906101000a90046001600160a01b03166001600160a01b031663c31245256040518163ffffffff1660e01b81526004016101006040518083038186803b158015614d1c57600080fd5b505afa158015614d30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614d549190615548565b60408051610100810182526001600160481b03998a168152978916602089015264ffffffffff96871690880152938716606087015261ffff90921660808601529490941660a0840152921660c08201526fffffffffffffffffffffffffffffffff90911660e08201529998505050505050505050565b6040805161018081019091526000610100820181815261012083018290526101408301829052610160830191909152819081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000151581525090565b600060208083528351808285015260005b81811015614e6157858101830151858201604001528201614e45565b81811115614e73576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b0381168114614e9e57600080fd5b50565b60008060408385031215614eb457600080fd5b8235614ebf81614e89565b946020939093013593505050565b60008060408385031215614ee057600080fd5b823591506020830135614ef281614e89565b809150509250929050565b600080600060608486031215614f1257600080fd5b8335614f1d81614e89565b9250602084013591506040840135614f3481614e89565b809150509250925092565b600060208284031215614f5157600080fd5b5035919050565b600080600060608486031215614f6d57600080fd5b8335614f7881614e89565b92506020840135614f8881614e89565b929592945050506040919091013590565b60008060408385031215614fac57600080fd5b50508035926020909101359150565b600060208284031215614fcd57600080fd5b81356147f281614e89565b600080600060608486031215614fed57600080fd5b833592506020840135614fff81614e89565b91506040840135614f3481614e89565b64ffffffffff81168114614e9e57600080fd5b6000806040838503121561503557600080fd5b823591506020830135614ef28161500f565b6101608101615091828b64ffffffffff81511682526001600160481b036020820151166020830152604081015161ffff808216604085015280606084015116606085015250505050565b61ffff988916608083015260ff97881660a083015295881660c08201529390961660e084015263ffffffff9190911661010083015290921661012083015291151561014090910152919050565b600080604083850312156150f157600080fd5b82356150fc81614e89565b91506020830135614ef281614e89565b600181811c9082168061512057607f821691505b6020821081141561514157634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561515957600080fd5b81516147f281614e89565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561519457615194615164565b500290565b6000828210156151ab576151ab615164565b500390565b6000826151cd57634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156151e5576151e5615164565b500190565b60006000198214156151fe576151fe615164565b5060010190565b6001600160a01b038581168252602082018590528316604082015281516101c082019061527190606084019064ffffffffff81511682526001600160481b036020820151166020830152604081015161ffff808216604085015280606084015116606085015250505050565b602083015160e083015260408301516101008301526060830151610120830152608083015161014083015260a083015161016083015260c083015161018083015260e083015115156101a083015295945050505050565b60006001600160481b03808316818516818304811182151516156152ee576152ee615164565b02949350505050565b80516153028161500f565b919050565b80516001600160481b038116811461530257600080fd5b805161ffff8116811461530257600080fd5b805160ff8116811461530257600080fd5b805163ffffffff8116811461530257600080fd5b8051801515811461530257600080fd5b600080600080600080600080888a0361016081121561538357600080fd5b608081121561539157600080fd5b506040516080810181811067ffffffffffffffff821117156153c357634e487b7160e01b600052604160045260246000fd5b6040526153cf8a6152f7565b81526153dd60208b01615307565b60208201526153ee60408b0161531e565b60408201526153ff60608b0161531e565b6060820152975061541260808a0161531e565b965061542060a08a01615330565b955061542e60c08a0161531e565b945061543c60e08a0161531e565b935061544b6101008a01615341565b925061545a6101208a01615330565b91506154696101408a01615355565b90509295985092959890939650565b600080600080600080600060e0888a03121561549357600080fd5b875161549e8161500f565b96506154ac60208901615307565b95506154ba60408901615307565b94506154c86060890161531e565b93506154d66080890161531e565b92506154e460a0890161531e565b91506154f260c08901615355565b905092959891949750929550565b60008060006060848603121561551557600080fd5b61551e84615307565b925061552c60208501615307565b9150604084015166ffffffffffffff81168114614f3457600080fd5b600080600080600080600080610100898b03121561556557600080fd5b61556e89615307565b975061557c60208a01615307565b9650604089015161558c8161500f565b955061559a60608a01615307565b94506155a860808a0161531e565b93506155b660a08a01615307565b925060c08901516155c68161500f565b60e08a01519092506fffffffffffffffffffffffffffffffff811681146155ec57600080fd5b80915050929598509295989093965056fe4844524e3a20436f6e7472616374206e6f7420796574206163746976650000004844524e3a2048534920696e6465782061646472657373206d69736d61746368a26469706673582212201c180c0e9f0e271ab1e90cf6295bc8f67783b430d675a76437afd1b121f55a9c64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002b591e99afe9f32eaa6214f7b7629768c40eeb39000000000000000000000000000000000000000000000000000000005de5a580
-----Decoded View---------------
Arg [0] : hexAddress (address): 0x2b591e99afE9f32eAA6214f7B7629768c40Eeb39
Arg [1] : hexLaunch (uint256): 1575331200
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000002b591e99afe9f32eaa6214f7b7629768c40eeb39
Arg [1] : 000000000000000000000000000000000000000000000000000000005de5a580
Deployed Bytecode Sourcemap
96012:60024:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6248:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8415:169;;;;;;:::i;:::-;;:::i;:::-;;;1260:14:1;;1253:22;1235:41;;1223:2;1208:18;8415:169:0;1095:187:1;141487:2741:0;;;;;;:::i;:::-;;:::i;:::-;;;1753:25:1;;;1741:2;1726:18;141487:2741:0;1607:177:1;147883:2580:0;;;;;;:::i;:::-;;:::i;7368:108::-;7456:12;;7368:108;;97986:62;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;97986:62:0;;;;-1:-1:-1;;;97986:62:0;;;;-1:-1:-1;;;;;97986:62:0;;;;;;;;-1:-1:-1;;;;;97986:62:0;;-1:-1:-1;;;97986:62:0;;;;;;;;;;2712:25:1;;;-1:-1:-1;;;;;2834:15:1;;;2829:2;2814:18;;2807:43;-1:-1:-1;;;;;2886:39:1;;;2866:18;;;2859:67;;;;2962:15;;2957:2;2942:18;;2935:43;-1:-1:-1;;;;;3015:37:1;;;3009:3;2994:19;;2987:66;3097:14;3090:22;3084:3;3069:19;;3062:51;2699:3;2684:19;97986:62:0;2435:684:1;97798:51:0;;;;;-1:-1:-1;;;;;97798:51:0;;;;;;-1:-1:-1;;;;;3288:55:1;;;3270:74;;3258:2;3243:18;97798:51:0;3124:226:1;9066:492:0;;;;;;:::i;:::-;;:::i;139314:1760::-;;;;;;:::i;:::-;;:::i;98546:143::-;;;98680:1;3958:36:1;;3946:2;3931:18;98546:143:0;3816:184:1;9967:215:0;;;;;;:::i;:::-;;:::i;133959:2450::-;;;;;;:::i;:::-;;:::i;:::-;;;;4179:25:1;;;4235:2;4220:18;;4213:34;;;;4152:18;133959:2450:0;4005:248:1;98055:59:0;;;;;;120328:125;;;:::i;144673:2678::-;;;;;;:::i;:::-;;:::i;97919:60::-;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;97919:60:0;;;;-1:-1:-1;;;97919:60:0;;;;;-1:-1:-1;;;97919:60:0;;;;-1:-1:-1;;;97919:60:0;;;;;-1:-1:-1;;;97919:60:0;;;;;;;;;;-1:-1:-1;;;;;4562:15:1;;;4544:34;;4614:15;;;4609:2;4594:18;;4587:43;4666:15;;;;4646:18;;;4639:43;;;;4730:10;4718:23;4713:2;4698:18;;4691:51;4791:4;4779:17;;;4773:3;4758:19;;4751:46;4492:3;4477:19;97919:60:0;4258:545:1;150783:2093:0;;;;;;:::i;:::-;;:::i;7539:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;7640:18:0;7613:7;7640:18;;;;;;;;;;;;7539:127;136972:1848;;;;;;:::i;:::-;;:::i;121027:1086::-;;;;;;:::i;:::-;;:::i;:::-;;6467:104;;;:::i;122621:3217::-;;;;;;:::i;:::-;;:::i;10685:413::-;;;;;;:::i;:::-;;:::i;7879:175::-;;;;;;:::i;:::-;;:::i;126287:1346::-;;;;;;:::i;:::-;;:::i;155160:873::-;;;;;;:::i;:::-;;:::i;97856:56::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;97856:56:0;;;;;;;;-1:-1:-1;;;97856:56:0;;;;;;;;;;;;;-1:-1:-1;;;97856:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;97856:56:0;;;;;-1:-1:-1;;;97856:56:0;;;;;-1:-1:-1;;;97856:56:0;;;;;;;;;;;;;;;;;;;:::i;8117:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;8233:18:0;;;8206:7;8233:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8117:151;153350:1680;;;;;;:::i;:::-;;:::i;128069:5369::-;;;;;;:::i;:::-;;:::i;6248:100::-;6302:13;6335:5;6328:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6248:100;:::o;8415:169::-;8498:4;8515:39;4136:10;8538:7;8547:6;8515:8;:39::i;:::-;-1:-1:-1;8572:4:0;8415:169;;;;:::o;141487:2741::-;141608:7;68371:10;141641:15;:30;;141633:85;;;;-1:-1:-1;;;141633:85:0;;8468:2:1;141633:85:0;;;8450:21:1;8507:2;8487:18;;;8480:30;-1:-1:-1;;;;;;;;;;;8526:18:1;;;8519:59;8595:18;;141633:85:0;;;;;;;;;141731:26;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;141731:26:0;141768:31;141802:13;:28;141816:13;:11;:13::i;:::-;141802:28;;;;;;;;;;;141768:62;;141843:29;141858:8;141868:3;141843:14;:29::i;:::-;141907:5;;:36;;-1:-1:-1;;;141907:36:0;;141922:10;141907:36;;;8798:74:1;8888:18;;;8881:34;;;141885:19:0;;-1:-1:-1;;;;;141907:5:0;;:14;;8771:18:1;;141907:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;141885:58;;141978:11;-1:-1:-1;;;;;141964:25:0;:10;-1:-1:-1;;;;;141964:25:0;;141956:83;;;;-1:-1:-1;;;141956:83:0;;9384:2:1;141956:83:0;;;9366:21:1;;;9403:18;;;9396:30;-1:-1:-1;;;;;;;;;;;9442:18:1;;;9435:62;9514:18;;141956:83:0;9182:356:1;141956:83:0;142052:23;142078:38;142104:10;142078:8;:38::i;:::-;142052:64;;142138:5;:15;;;:23;;142157:4;142138:23;;;142129:84;;;;-1:-1:-1;;;142129:84:0;;9745:2:1;142129:84:0;;;9727:21:1;9784:2;9764:18;;;9757:30;9823:34;9803:18;;;9796:62;-1:-1:-1;;;9874:18:1;;;9867:32;9916:19;;142129:84:0;9543:398:1;142129:84:0;142226:20;97349:2;142254:5;:19;;;:44;;;;:::i;:::-;142226:72;;142309:25;142357:12;142337:5;:17;;;:32;;;;:::i;:::-;142309:60;;142380:17;142420:16;142460:19;97349:2;142577:17;:42;142573:574;;;142648:12;;:24;;;:49;;97349:2;;-1:-1:-1;;;;;142648:49:0;;:::i;:::-;142636:61;;97114:7;97349:2;142738:5;:19;;;:44;;;;:::i;:::-;142725:58;;:9;:58;:::i;:::-;142724:90;;;;:::i;:::-;142712:102;;142573:574;;;142944:12;;:24;;;:44;;142971:17;;-1:-1:-1;;;;;142944:44:0;;:::i;:::-;142930:58;;97114:7;143053:17;143031:5;:19;;;:39;;;;:::i;:::-;143018:53;;:9;:53;:::i;:::-;143017:85;;;;:::i;:::-;143003:99;;143131:4;143117:18;;142573:574;143194:20;143206:8;143194:9;:20;:::i;:::-;143178:10;7613:7;7640:18;;;;;;;;;;;143168:47;;143159:122;;;;-1:-1:-1;;;143159:122:0;;10938:2:1;143159:122:0;;;10920:21:1;10977:2;10957:18;;;10950:30;11016:34;10996:18;;;10989:62;-1:-1:-1;;;11067:18:1;;;11060:46;11123:19;;143159:122:0;10736:412:1;143159:122:0;143332:19;;;:21;;;;;;:::i;:::-;;;-1:-1:-1;143366:84:0;143397:5;143418:20;143430:8;143418:9;:20;:::i;:::-;143366:16;:84::i;:::-;143482:4;143467:19;;;;143463:231;;;143525:1;143503:16;;;:23;;;143541:17;;;:23;;;143579:19;;;:23;;;143617:19;;;:23;;;143655:15;;;:27;143463:231;143744:5;;;;;;;;;-1:-1:-1;;;;;143744:5:0;-1:-1:-1;;;;;143744:15:0;;143760:10;143772:8;143782:10;143794:5;143744:56;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;143834:12:0;;:20;143824:31;;;;;;:9;:31;;;;;143811:52;;-1:-1:-1;143824:31:0;-1:-1:-1;143834:5:0;143811:12;:52::i;:::-;143929:20;143941:8;143929:9;:20;:::i;:::-;143906:3;:18;;:44;;;;;;;:::i;:::-;;;-1:-1:-1;143961:31:0;143978:8;143988:3;143961:16;:31::i;:::-;144075:9;144059:12;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;144138:41:0;;-1:-1:-1;144144:10:0;144157:20;144169:8;144157:9;:20;:::i;:::-;144138:5;:41::i;:::-;144199:20;144211:8;144199:9;:20;:::i;:::-;144192:28;141487:2741;-1:-1:-1;;;;;;;;;;;;141487:2741:0:o;147883:2580::-;148030:7;68371:10;148063:15;:30;;148055:85;;;;-1:-1:-1;;;148055:85:0;;8468:2:1;148055:85:0;;;8450:21:1;8507:2;8487:18;;;8480:30;-1:-1:-1;;;;;;;;;;;8526:18:1;;;8519:59;8595:18;;148055:85:0;8266:353:1;148055:85:0;148175:5;;:31;;-1:-1:-1;;;148175:31:0;;-1:-1:-1;;;;;8816:55:1;;;148175:31:0;;;8798:74:1;8888:18;;;8881:34;;;148153:19:0;;148175:5;;:14;;8771:18:1;;148175:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;148153:53;;148241:11;-1:-1:-1;;;;;148227:25:0;:10;-1:-1:-1;;;;;148227:25:0;;148219:83;;;;-1:-1:-1;;;148219:83:0;;9384:2:1;148219:83:0;;;9366:21:1;;;9403:18;;;9396:30;-1:-1:-1;;;;;;;;;;;9442:18:1;;;9435:62;9514:18;;148219:83:0;9182:356:1;148219:83:0;148315:23;148341:38;148367:10;148341:8;:38::i;:::-;148315:64;;148401:5;:15;;;:23;;148420:4;148401:23;;;148392:92;;;;-1:-1:-1;;;148392:92:0;;12503:2:1;148392:92:0;;;12485:21:1;12542:2;12522:18;;;12515:30;12581:34;12561:18;;;12554:62;-1:-1:-1;;;12632:18:1;;;12625:40;12682:19;;148392:92:0;12301:406:1;148392:92:0;148497:20;97349:2;148525:5;:19;;;:44;;;;:::i;:::-;148497:72;;148580:25;148628:12;148608:5;:17;;;:32;;;;:::i;:::-;148580:60;;148651:23;148714:12;148695:5;:16;;;148679:13;:11;:13::i;:::-;:32;;;;:::i;:::-;:47;;;;:::i;:::-;148651:75;;148737:17;148792;148765:5;:12;;;:24;;;-1:-1:-1;;;;;148765:44:0;;;;;:::i;:::-;148737:72;;97472:2;148831:15;:44;;148822:115;;;;-1:-1:-1;;;148822:115:0;;12914:2:1;148822:115:0;;;12896:21:1;12953:2;12933:18;;;12926:30;12992:34;12972:18;;;12965:62;-1:-1:-1;;;13043:18:1;;;13036:42;13095:19;;148822:115:0;12712:408:1;148822:115:0;148972:17;148954:15;:35;148950:103;;;149024:17;149006:35;;148950:103;149127:16;97114:7;149217:15;149195:5;:19;;;:37;;;;:::i;:::-;149148:12;;:24;;;:42;;149175:15;;-1:-1:-1;;;;;149148:42:0;;:::i;:::-;149147:86;;;;:::i;:::-;149146:118;;;;:::i;:::-;149127:137;-1:-1:-1;149312:20:0;149127:137;149312:9;:20;:::i;:::-;149296:10;7613:7;7640:18;;;;;;;;;;;149286:47;;149277:126;;;;-1:-1:-1;;;149277:126:0;;13327:2:1;149277:126:0;;;13309:21:1;13366:2;13346:18;;;13339:30;13405:34;13385:18;;;13378:62;-1:-1:-1;;;13456:18:1;;;13449:50;13516:19;;149277:126:0;13125:416:1;149277:126:0;149469:1;149447:16;;;:23;;;149481:17;;;:23;;;149515:19;;;:23;;;149549:19;;;:23;;;149583:15;;;:27;149661:5;;:51;;-1:-1:-1;;;149661:51:0;;-1:-1:-1;;;;;149661:5:0;;;;:15;;:51;;149677:5;;149684:8;;149694:10;;149447:5;;149661:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;149746:12:0;;:20;149736:31;;;;;;:9;:31;;;;;149723:52;;-1:-1:-1;149736:31:0;-1:-1:-1;149746:5:0;149723:12;:52::i;:::-;149876:5;;:58;;-1:-1:-1;;;149876:58:0;;-1:-1:-1;;;;;13856:15:1;;;149876:58:0;;;13838:34:1;13888:18;;;13881:34;;;13951:15;;;13931:18;;;13924:43;149876:5:0;13983:18:1;;;13976:43;149876:5:0;;;;:17;;13749:19:1;;149876:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;149992:63;150008:10;150020;150045:8;150033:9;:20;;;;:::i;:::-;149992:15;:63::i;:::-;;150068:159;150106:5;150133:25;:15;56335:14;;56243:114;150133:25;150174:5;150195:20;150207:8;150195:9;:20;:::i;:::-;150068:23;:159::i;:::-;150310:9;150294:12;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;150373:41:0;;-1:-1:-1;150379:10:0;150392:20;150404:8;150392:9;:20;:::i;150373:41::-;150434:20;150446:8;150434:9;:20;:::i;:::-;150427:28;147883:2580;-1:-1:-1;;;;;;;;;;;147883:2580:0:o;9066:492::-;9206:4;9223:36;9233:6;9241:9;9252:6;9223:9;:36::i;:::-;-1:-1:-1;;;;;9299:19:0;;9272:24;9299:19;;;:11;:19;;;;;;;;4136:10;9299:33;;;;;;;;9351:26;;;;9343:79;;;;-1:-1:-1;;;9343:79:0;;14232:2:1;9343:79:0;;;14214:21:1;14271:2;14251:18;;;14244:30;14310:34;14290:18;;;14283:62;-1:-1:-1;;;14361:18:1;;;14354:38;14409:19;;9343:79:0;14030:404:1;9343:79:0;9458:57;9467:6;4136:10;9508:6;9489:16;:25;9458:8;:57::i;:::-;-1:-1:-1;9546:4:0;;9066:492;-1:-1:-1;;;;9066:492:0:o;139314:1760::-;139437:7;68371:10;139470:15;:30;;139462:85;;;;-1:-1:-1;;;139462:85:0;;8468:2:1;139462:85:0;;;8450:21:1;8507:2;8487:18;;;8480:30;-1:-1:-1;;;;;;;;;;;8526:18:1;;;8519:59;8595:18;;139462:85:0;8266:353:1;139462:85:0;139560:26;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;139560:26:0;139597:31;139631:13;:28;139645:13;:11;:13::i;:::-;139631:28;;;;;;;;;;;139597:62;;139672:29;139687:8;139697:3;139672:14;:29::i;:::-;139736:5;;:36;;-1:-1:-1;;;139736:36:0;;139751:10;139736:36;;;8798:74:1;8888:18;;;8881:34;;;139714:19:0;;-1:-1:-1;;;;;139736:5:0;;:14;;8771:18:1;;139736:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;139714:58;;139807:11;-1:-1:-1;;;;;139793:25:0;:10;-1:-1:-1;;;;;139793:25:0;;139785:83;;;;-1:-1:-1;;;139785:83:0;;9384:2:1;139785:83:0;;;9366:21:1;;;9403:18;;;9396:30;-1:-1:-1;;;;;;;;;;;9442:18:1;;;9435:62;9514:18;;139785:83:0;9182:356:1;139785:83:0;139881:23;139907:38;139933:10;139907:8;:38::i;:::-;139967:15;;;;139881:64;;-1:-1:-1;139967:24:0;139958:80;;;;-1:-1:-1;;;139958:80:0;;14641:2:1;139958:80:0;;;14623:21:1;14680:2;14660:18;;;14653:30;14719:31;14699:18;;;14692:59;14768:18;;139958:80:0;14439:353:1;139958:80:0;140146:17;;;;140120:12;;:23;;;140101:16;;140120:43;;;;;:::i;:::-;140101:62;;140196:1;140185:8;:12;140176:71;;;;-1:-1:-1;;;140176:71:0;;14999:2:1;140176:71:0;;;14981:21:1;;;15018:18;;;15011:30;15077:34;15057:18;;;15050:62;15129:18;;140176:71:0;14797:356:1;140176:71:0;140277:12;;:24;;;140260:14;;140277:35;;140304:8;;-1:-1:-1;;;;;140277:35:0;;:::i;:::-;140260:52;-1:-1:-1;140374:10:0;;140370:671;;140423:13;:11;:13::i;:::-;140401:16;;;;:35;;;;140451:17;;;:30;;;140518:20;;;140496:19;;;:42;140575:4;140553:15;;;:26;140596:78;140401:5;140653:6;140596:14;:78::i;:::-;140714:6;140691:3;:19;;:29;;;;;;;:::i;:::-;;;-1:-1:-1;140735:12:0;:22;;140751:6;;140735:12;;;:22;;140751:6;;140735:22;:::i;:::-;;;;-1:-1:-1;;140816:5:0;;:56;;-1:-1:-1;;;140816:56:0;;-1:-1:-1;;;;;140816:5:0;;;;:15;;:56;;140832:10;;140844:8;;140854:10;;140866:5;;140816:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;140910:12:0;;:20;140900:31;;;;;;:9;:31;;;;;140887:52;;-1:-1:-1;140900:31:0;-1:-1:-1;140910:5:0;140887:12;:52::i;:::-;140956:31;140973:8;140983:3;140956:16;:31::i;:::-;141004:25;141010:10;141022:6;141004:5;:25::i;:::-;141060:6;139314:1760;-1:-1:-1;;;;;;;;139314:1760:0:o;9967:215::-;4136:10;10055:4;10104:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;10104:34:0;;;;;;;;;;10055:4;;10072:80;;10095:7;;10104:47;;10141:10;;10104:47;:::i;:::-;10072:8;:80::i;133959:2450::-;134126:7;134135;68371:10;134168:15;:30;;134160:85;;;;-1:-1:-1;;;134160:85:0;;8468:2:1;134160:85:0;;;8450:21:1;8507:2;8487:18;;;8480:30;-1:-1:-1;;;;;;;;;;;8526:18:1;;;8519:59;8595:18;;134160:85:0;8266:353:1;134160:85:0;134258:26;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;134258:26:0;134295:31;134329:13;:28;134343:13;:11;:13::i;:::-;134329:28;;;;;;;;;;;134295:62;;134370:29;134385:8;134395:3;134370:14;:29::i;:::-;134442:5;;:34;;-1:-1:-1;;;134442:34:0;;-1:-1:-1;;;;;8816:55:1;;;134442:34:0;;;8798:74:1;8888:18;;;8881:34;;;134420:19:0;;134442:5;;:14;;8771:18:1;;134442:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;134420:56;;134509:11;-1:-1:-1;;;;;134495:25:0;:10;-1:-1:-1;;;;;134495:25:0;;134487:83;;;;-1:-1:-1;;;134487:83:0;;9384:2:1;134487:83:0;;;9366:21:1;;;9403:18;;;9396:30;-1:-1:-1;;;;;;;;;;;9442:18:1;;;9435:62;9514:18;;134487:83:0;9182:356:1;134487:83:0;134583:23;134609:38;134635:10;134609:8;:38::i;:::-;134583:64;;134660:20;97349:2;134688:5;:19;;;:44;;;;:::i;:::-;134660:72;;134743:25;134791:12;134771:5;:17;;;:32;;;;:::i;:::-;134743:60;;134814:17;134854:16;134954:1;134932:5;:19;;;:23;134928:1434;;;97349:2;135049:17;:42;135045:569;;;135124:12;;:24;;;:49;;97349:2;;-1:-1:-1;;;;;135124:49:0;;:::i;:::-;135112:61;;97114:7;97349:2;135218:5;:19;;;:44;;;;:::i;:::-;135205:58;;:9;:58;:::i;:::-;135204:90;;;;:::i;:::-;135192:102;;134928:1434;;135045:569;135438:12;;:24;;;:44;;135465:17;;-1:-1:-1;;;;;135438:44:0;;:::i;:::-;135426:56;;97114:7;135549:17;135527:5;:19;;;:39;;;;:::i;134928:1434::-;97349:2;135766:5;:12;;;:23;;;:48;;;135762:589;;;135847:12;;:24;;;:49;;97349:2;;-1:-1:-1;;;;;135847:49:0;;:::i;:::-;135835:61;;97114:7;97349:2;135941:3;:20;;;:45;;;;:::i;135762:589::-;136189:12;;:23;;;;136162:24;;;;;:50;;;;;;:::i;:::-;-1:-1:-1;;;;;136150:62:0;;;97114:7;136280:5;:12;;;:23;;;136257:46;;:3;:20;;;:46;;;;:::i;:::-;136244:60;;:9;:60;:::i;:::-;136243:92;;;;:::i;:::-;136231:104;;135762:589;136381:9;;;;-1:-1:-1;133959:2450:0;-1:-1:-1;;;;;;;;;;133959:2450:0:o;120328:125::-;120400:7;120432:13;:11;:13::i;:::-;120425:20;;120328:125;:::o;144673:2678::-;144793:7;68371:10;144826:15;:30;;144818:85;;;;-1:-1:-1;;;144818:85:0;;8468:2:1;144818:85:0;;;8450:21:1;8507:2;8487:18;;;8480:30;-1:-1:-1;;;;;;;;;;;8526:18:1;;;8519:59;8595:18;;144818:85:0;8266:353:1;144818:85:0;144916:26;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;144916:26:0;144953:31;144987:13;:28;145001:13;:11;:13::i;:::-;144987:28;;;;;;;;;;;144953:62;;145028:29;145043:8;145053:3;145028:14;:29::i;:::-;145092:5;;:36;;-1:-1:-1;;;145092:36:0;;145107:10;145092:36;;;8798:74:1;8888:18;;;8881:34;;;145070:19:0;;-1:-1:-1;;;;;145092:5:0;;:14;;8771:18:1;;145092:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;145070:58;;145163:11;-1:-1:-1;;;;;145149:25:0;:10;-1:-1:-1;;;;;145149:25:0;;145141:83;;;;-1:-1:-1;;;145141:83:0;;9384:2:1;145141:83:0;;;9366:21:1;;;9403:18;;;9396:30;-1:-1:-1;;;;;;;;;;;9442:18:1;;;9435:62;9514:18;;145141:83:0;9182:356:1;145141:83:0;145237:23;145263:38;145289:10;145263:8;:38::i;:::-;145237:64;;145323:5;:15;;;:23;;145342:4;145323:23;;;145314:87;;;;-1:-1:-1;;;145314:87:0;;15637:2:1;145314:87:0;;;15619:21:1;15676:2;15656:18;;;15649:30;15715:34;15695:18;;;15688:62;-1:-1:-1;;;15766:18:1;;;15759:35;15811:19;;145314:87:0;15435:401:1;145314:87:0;145414:20;97349:2;145442:5;:19;;;:44;;;;:::i;:::-;145414:72;;145497:25;145545:12;145525:5;:17;;;:32;;;;:::i;:::-;145497:60;;145568:23;145608:17;145648:16;145800:12;145781:5;:16;;;145765:13;:11;:13::i;:::-;:32;;;;:::i;:::-;:47;145761:652;;;145841:12;;:24;;;:44;;145868:17;;-1:-1:-1;;;;;145841:44:0;;:::i;:::-;145829:56;;145761:652;;;146044:12;146025:5;:16;;;146009:13;:11;:13::i;:::-;:32;;;;:::i;:::-;:47;;;;:::i;:::-;145991:65;;146095:17;146077:15;:35;146073:111;;;146151:17;146133:35;;146073:111;146212:12;;:24;;;:44;;146239:17;;-1:-1:-1;;;;;146212:44:0;;:::i;:::-;146200:56;;97114:7;146354:15;146332:5;:19;;;:37;;;;:::i;:::-;146285:12;;:24;;;:42;;146312:15;;-1:-1:-1;;;;;146285:42:0;;:::i;:::-;146284:86;;;;:::i;:::-;146283:118;;;;:::i;:::-;146271:130;;145761:652;146460:20;146472:8;146460:9;:20;:::i;:::-;146444:10;7613:7;7640:18;;;;;;;;;;;146434:47;;146425:121;;;;-1:-1:-1;;;146425:121:0;;16043:2:1;146425:121:0;;;16025:21:1;16082:2;16062:18;;;16055:30;16121:34;16101:18;;;16094:62;-1:-1:-1;;;16172:18:1;;;16165:45;16227:19;;146425:121:0;15841:411:1;146425:121:0;146559:80;146586:5;146607:20;146619:8;146607:9;:20;:::i;:::-;146559:12;:80::i;:::-;146674:1;146652:5;:16;;:23;;;;;146708:1;146686:5;:17;;:23;;;;;146742:1;146720:5;:19;;:23;;;;;146776:1;146754:5;:19;;:23;;;;;146810:5;146788;:15;;:27;;;;;;;;;;;146866:5;;;;;;;;;-1:-1:-1;;;;;146866:5:0;-1:-1:-1;;;;;146866:15:0;;146882:10;146894:8;146904:10;146916:5;146866:56;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;146956:12:0;;:20;146946:31;;;;;;:9;:31;;;;;146933:52;;-1:-1:-1;146946:31:0;-1:-1:-1;146956:5:0;146933:12;:52::i;:::-;147052:20;147064:8;147052:9;:20;:::i;:::-;147029:3;:18;;:44;;;;;;;:::i;:::-;;;-1:-1:-1;147084:31:0;147101:8;147111:3;147084:16;:31::i;:::-;147198:9;147182:12;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;147261:41:0;;-1:-1:-1;147267:10:0;147280:20;147292:8;147280:9;:20;:::i;147261:41::-;147322:20;147334:8;147322:9;:20;:::i;150783:2093::-;150918:7;68371:10;150951:15;:30;;150943:85;;;;-1:-1:-1;;;150943:85:0;;8468:2:1;150943:85:0;;;8450:21:1;8507:2;8487:18;;;8480:30;-1:-1:-1;;;;;;;;;;;8526:18:1;;;8519:59;8595:18;;150943:85:0;8266:353:1;150943:85:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;151088:41:0;151132:30;;;:15;:30;;;;;151183:47;151132:30;151218:11;151183:16;:47::i;:::-;151251:21;;;;:29;;151276:4;151251:29;151243:94;;;;-1:-1:-1;;;151243:94:0;;16459:2:1;151243:94:0;;;16441:21:1;16498:2;16478:18;;;16471:30;16537:34;16517:18;;;16510:62;-1:-1:-1;;;16588:18:1;;;16581:37;16635:19;;151243:94:0;16257:403:1;151243:94:0;151369:10;7613:7;7640:18;;;;;;;;;;;151384:14;-1:-1:-1;151359:39:0;151350:118;;;;-1:-1:-1;;;151350:118:0;;13327:2:1;151350:118:0;;;13309:21:1;13366:2;13346:18;;;13339:30;13405:34;13385:18;;;13378:62;-1:-1:-1;;;13456:18:1;;;13449:50;13516:19;;151350:118:0;13125:416:1;151350:118:0;151507:11;:22;;;151490:14;:39;151481:120;;;;-1:-1:-1;;;151481:120:0;;16867:2:1;151481:120:0;;;16849:21:1;16906:2;16886:18;;;16879:30;16945:34;16925:18;;;16918:62;17016:24;16996:18;;;16989:52;17058:19;;151481:120:0;16665:418:1;151481:120:0;151674:22;;;;151642:29;;151702:5;;151642:54;;;:::i;:::-;151623:74;;:15;:74;:::i;:::-;151622:85;;151614:150;;;;-1:-1:-1;;;151614:150:0;;17290:2:1;151614:150:0;;;17272:21:1;17329:2;17309:18;;;17302:30;17368:34;17348:18;;;17341:62;-1:-1:-1;;;17419:18:1;;;17412:37;17466:19;;151614:150:0;17088:403:1;151614:150:0;151929:22;;;;151897:29;;151841:25;;151897:54;;;:::i;:::-;151871:21;:15;151889:3;151871:21;:::i;:::-;151870:82;;;;:::i;:::-;151841:112;;151988:5;151968:17;:25;151964:111;;;152037:25;152057:5;152037:17;:25;:::i;:::-;152010:11;:22;;:53;;;;;;;:::i;:::-;;;-1:-1:-1;151964:111:0;152140:54;152146:11;:23;;;152171:11;:22;;;152140:5;:54::i;:::-;152287:10;152261:23;;;:36;152308:22;;;:40;;;152361:49;152380:16;152261:11;152361:18;:49::i;:::-;152423:23;152449:51;152475:11;:23;;;152449:8;:51::i;:::-;152549:12;;:20;152423:77;;-1:-1:-1;152513:132:0;;152591:13;152620:14;152513:21;:132::i;:::-;152702:33;152708:10;152720:14;152702:5;:33::i;:::-;152814:22;;;;152769:29;;:67;;152814:22;152769:67;:::i;:::-;:88;;152852:5;152769:88;:::i;:::-;152748:120;150783:2093;-1:-1:-1;;;;;;;150783:2093:0:o;136972:1848::-;137138:7;137147;68371:10;137180:15;:30;;137172:85;;;;-1:-1:-1;;;137172:85:0;;8468:2:1;137172:85:0;;;8450:21:1;8507:2;8487:18;;;8480:30;-1:-1:-1;;;;;;;;;;;8526:18:1;;;8519:59;8595:18;;137172:85:0;8266:353:1;137172:85:0;137270:26;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;137270:26:0;137307:31;137341:13;:28;137355:13;:11;:13::i;:::-;137341:28;;;;;;;;;;;137307:62;;137382:29;137397:8;137407:3;137382:14;:29::i;:::-;137446:5;;:34;;-1:-1:-1;;;137446:34:0;;-1:-1:-1;;;;;8816:55:1;;;137446:34:0;;;8798:74:1;8888:18;;;8881:34;;;137424:19:0;;137446:5;;:14;;8771:18:1;;137446:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;137424:56;;137515:11;-1:-1:-1;;;;;137501:25:0;:10;-1:-1:-1;;;;;137501:25:0;;137493:83;;;;-1:-1:-1;;;137493:83:0;;9384:2:1;137493:83:0;;;9366:21:1;;;9403:18;;;9396:30;-1:-1:-1;;;;;;;;;;;9442:18:1;;;9435:62;9514:18;;137493:83:0;9182:356:1;137493:83:0;137589:23;137615:38;137641:10;137615:8;:38::i;:::-;137589:64;;137675:5;:15;;;:23;;137694:4;137675:23;;;137666:87;;;;-1:-1:-1;;;137666:87:0;;15637:2:1;137666:87:0;;;15619:21:1;15676:2;15656:18;;;15649:30;15715:34;15695:18;;;15688:62;-1:-1:-1;;;15766:18:1;;;15759:35;15811:19;;137666:87:0;15435:401:1;137666:87:0;137766:20;97349:2;137794:5;:19;;;:44;;;;:::i;:::-;137766:72;;137849:25;137897:12;137877:5;:17;;;:32;;;;:::i;:::-;137849:60;;137920:23;137960:17;138000:16;138160:12;138141:5;:16;;;138125:13;:11;:13::i;:::-;:32;;;;:::i;:::-;:47;138121:652;;;138201:12;;:24;;;:44;;138228:17;;-1:-1:-1;;;;;138201:44:0;;:::i;:::-;138189:56;;138121:652;;;138404:12;138385:5;:16;;;138369:13;:11;:13::i;:::-;:32;;;;:::i;:::-;:47;;;;:::i;:::-;138351:65;;138455:17;138437:15;:35;138433:111;;;138511:17;138493:35;;138433:111;138572:12;;:24;;;:44;;138599:17;;-1:-1:-1;;;;;138572:44:0;;:::i;:::-;138560:56;;97114:7;138714:15;138692:5;:19;;;:37;;;;:::i;:::-;138645:12;;:24;;;:42;;138672:15;;-1:-1:-1;;;;;138645:42:0;;:::i;:::-;138644:86;;;;:::i;:::-;138643:118;;;;:::i;:::-;138631:130;;138121:652;138792:9;;;;-1:-1:-1;136972:1848:0;-1:-1:-1;;;;;;;;;;;136972:1848:0:o;121027:1086::-;121206:4;;-1:-1:-1;;;;;121206:4:0;121192:10;:18;121184:69;;;;-1:-1:-1;;;121184:69:0;;17698:2:1;121184:69:0;;;17680:21:1;17737:2;17717:18;;;17710:30;17776:27;17756:18;;;17749:55;17821:18;;121184:69:0;17496:349:1;121184:69:0;121288:5;;:43;;-1:-1:-1;;;121288:43:0;;-1:-1:-1;;;;;8816:55:1;;;121288:43:0;;;8798:74:1;8888:18;;;8881:34;;;121266:19:0;;121288:5;;:14;;8771:18:1;;121288:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;121266:65;;121364:11;-1:-1:-1;;;;;121350:25:0;:10;-1:-1:-1;;;;;121350:25:0;;121342:83;;;;-1:-1:-1;;;121342:83:0;;9384:2:1;121342:83:0;;;9366:21:1;;;9403:18;;;9396:30;-1:-1:-1;;;;;;;;;;;9442:18:1;;;9435:62;9514:18;;121342:83:0;9182:356:1;121342:83:0;121438:23;121464:38;121490:10;121464:8;:38::i;:::-;121438:64;;96994:3;121519:13;:11;:13::i;:::-;:31;121515:229;;;121588:51;121625:13;:11;:13::i;:::-;121607:31;;96994:3;121607:31;:::i;:::-;121588:18;:51::i;:::-;121567:18;;;:72;;;121665:12;;:20;;121687:24;;;;;121654:78;;-1:-1:-1;;;;;121654:78:0;;;;:10;:78::i;:::-;121756:5;;:63;;-1:-1:-1;;;121756:63:0;;-1:-1:-1;;;;;121756:5:0;;;;:15;;:63;;121772:17;;121791:8;;121801:10;;121813:5;;121756:63;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;121832:273;121856:5;:12;;;121883:5;:17;;;121915:5;:18;;;121948:5;:16;;;121979:5;:17;;;122011:5;:19;;;122045:5;:19;;;122079:5;:15;;;121832:9;:273::i;:::-;121173:940;;121027:1086;;;:::o;6467:104::-;6523:13;6556:7;6549:14;;;;;:::i;122621:3217::-;122744:7;68371:10;122777:15;:30;;122769:85;;;;-1:-1:-1;;;122769:85:0;;8468:2:1;122769:85:0;;;8450:21:1;8507:2;8487:18;;;8480:30;-1:-1:-1;;;;;;;;;;;8526:18:1;;;8519:59;8595:18;;122769:85:0;8266:353:1;122769:85:0;122867:26;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;122867:26:0;122904:31;122938:13;:28;122952:13;:11;:13::i;:::-;122938:28;;;;;;;;;;;122904:62;;122979:29;122994:8;123004:3;122979:14;:29::i;:::-;123043:5;;:36;;-1:-1:-1;;;123043:36:0;;123058:10;123043:36;;;8798:74:1;8888:18;;;8881:34;;;123021:19:0;;-1:-1:-1;;;;;123043:5:0;;:14;;8771:18:1;;123043:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;123021:58;;123112:11;-1:-1:-1;;;;;123098:25:0;:10;-1:-1:-1;;;;;123098:25:0;;123090:83;;;;-1:-1:-1;;;123090:83:0;;9384:2:1;123090:83:0;;;9366:21:1;;;9403:18;;;9396:30;-1:-1:-1;;;;;;;;;;;9442:18:1;;;9435:62;9514:18;;123090:83:0;9182:356:1;123090:83:0;123186:23;123212:38;123238:10;123212:8;:38::i;:::-;123289:12;;:22;;;123186:64;;-1:-1:-1;123269:42:0;;:16;:14;:16::i;:::-;:42;;123261:113;;;;-1:-1:-1;;;123261:113:0;;18052:2:1;123261:113:0;;;18034:21:1;18091:2;18071:18;;;18064:30;18130:34;18110:18;;;18103:62;-1:-1:-1;;;18181:18:1;;;18174:43;18234:19;;123261:113:0;17850:409:1;123261:113:0;123393:15;;;;:24;123385:94;;;;-1:-1:-1;;;123385:94:0;;18466:2:1;123385:94:0;;;18448:21:1;18505:2;18485:18;;;18478:30;18544:34;18524:18;;;18517:62;-1:-1:-1;;;18595:18:1;;;18588:42;18647:19;;123385:94:0;18264:408:1;123385:94:0;123492:18;123525:16;123558:14;123625:5;:12;;;:22;;;123606:41;;:16;:14;:16::i;:::-;:41;;;;:::i;:::-;123741:12;;:23;;;123593:54;;-1:-1:-1;123728:36:0;;;;123724:105;;;123794:12;;:23;;;123781:36;;;-1:-1:-1;123724:105:0;123928:17;;;;123915:30;;:10;:30;:::i;:::-;123991:12;;:24;;;123904:41;;-1:-1:-1;123991:35:0;;123904:41;;-1:-1:-1;;;;;123991:35:0;;:::i;:::-;124089:18;;;;123982:44;;-1:-1:-1;124089:22:0;124085:799;;124128:13;124144:38;124155:5;:18;;;124175:6;124144:10;:38::i;:::-;124128:54;-1:-1:-1;124201:9:0;;124197:221;;124289:32;68195:42;124315:5;124289;:32::i;:::-;124363:5;124340:3;:19;;:28;;;;;;;:::i;:::-;;;-1:-1:-1;124387:15:0;124397:5;124387:15;;:::i;:::-;;;124197:221;124113:316;124085:799;;;96994:3;124448:13;:11;:13::i;:::-;:31;124444:440;;;124517:51;124554:13;:11;:13::i;124517:51::-;124496:18;;;:72;;;124583:13;;124599:38;;124630:6;124599:10;:38::i;:::-;124583:54;-1:-1:-1;124656:9:0;;124652:221;;124744:32;68195:42;124770:5;124744;:32::i;:::-;124818:5;124795:3;:19;;:28;;;;;;;:::i;:::-;;;-1:-1:-1;124842:15:0;124852:5;124842:15;;:::i;:::-;;;124652:221;124481:403;124444:440;124937:22;;;;:26;124933:352;;124980:13;124996:42;125007:3;:22;;;125031:6;124996:10;:42::i;:::-;124980:58;-1:-1:-1;125057:9:0;;125053:221;;125145:32;68195:42;125171:5;125145;:32::i;:::-;125219:5;125196:3;:19;;:28;;;;;;;:::i;:::-;;;-1:-1:-1;125243:15:0;125253:5;125243:15;;:::i;:::-;;;125053:221;124965:320;124933:352;125326:8;125305:5;:17;;:29;;;;;;;:::i;:::-;;;-1:-1:-1;125395:10:0;;125391:158;;125422:25;125428:10;125440:6;125422:5;:25::i;:::-;125464:73;125492:5;125516:6;125464:9;:73::i;:::-;125584:6;125561:3;:19;;:29;;;;;;;:::i;:::-;;;-1:-1:-1;125641:5:0;;:56;;-1:-1:-1;;;125641:56:0;;-1:-1:-1;;;;;125641:5:0;;;;:15;;:56;;125657:10;;125669:8;;125679:10;;125691:5;;125641:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;125731:12:0;;:20;125721:31;;;;;;:9;:31;;;;;125708:52;;-1:-1:-1;125721:31:0;-1:-1:-1;125731:5:0;125708:12;:52::i;:::-;125773:31;125790:8;125800:3;125773:16;:31::i;:::-;125824:6;122621:3217;-1:-1:-1;;;;;;;;;122621:3217:0:o;10685:413::-;4136:10;10778:4;10822:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;10822:34:0;;;;;;;;;;10875:35;;;;10867:85;;;;-1:-1:-1;;;10867:85:0;;18879:2:1;10867:85:0;;;18861:21:1;18918:2;18898:18;;;18891:30;18957:34;18937:18;;;18930:62;-1:-1:-1;;;19008:18:1;;;19001:35;19053:19;;10867:85:0;18677:401:1;10867:85:0;10988:67;4136:10;11011:7;11039:15;11020:16;:34;10988:8;:67::i;:::-;-1:-1:-1;11086:4:0;;10685:413;-1:-1:-1;;;10685:413:0:o;7879:175::-;7965:4;7982:42;4136:10;8006:9;8017:6;7982:9;:42::i;126287:1346::-;126406:7;68371:10;126439:15;:30;;126431:85;;;;-1:-1:-1;;;126431:85:0;;8468:2:1;126431:85:0;;;8450:21:1;8507:2;8487:18;;;8480:30;-1:-1:-1;;;;;;;;;;;8526:18:1;;;8519:59;8595:18;;126431:85:0;8266:353:1;126431:85:0;126529:21;126553:25;126567:10;126553:13;:25::i;:::-;126529:49;;126616:7;126599:24;;:5;:13;;;:24;;;126591:83;;;;-1:-1:-1;;;126591:83:0;;19285:2:1;126591:83:0;;;19267:21:1;19324:2;19304:18;;;19297:30;19363:34;19343:18;;;19336:62;-1:-1:-1;;;19414:18:1;;;19407:31;19455:19;;126591:83:0;19083:397:1;126591:83:0;126687:21;126727:18;126763:19;126926;126939:5;126926:12;:19::i;:::-;126883:62;;-1:-1:-1;126883:62:0;-1:-1:-1;126966:25:0;;126958:82;;;;-1:-1:-1;;;126958:82:0;;19687:2:1;126958:82:0;;;19669:21:1;19726:2;19706:18;;;19699:30;19765:33;19745:18;;;19738:61;19816:18;;126958:82:0;19485:355:1;126958:82:0;96994:3;127057:13;:11;:13::i;:::-;:31;127053:201;;;127119:51;127156:13;:11;:13::i;127119:51::-;127105:65;;127185:57;127196:5;:13;;;127211:5;:17;;;-1:-1:-1;;;;;127185:57:0;127230:11;127185:10;:57::i;:::-;127266:328;127290:167;;;;;;;;127324:5;:13;;;127290:167;;;;;;127356:5;:17;;;-1:-1:-1;;;;;127290:167:0;;;;;127392:5;:15;;;127290:167;;;;;;127426:5;:16;;;127290:167;;;;;127472:1;127488:11;127514:1;127530;127546;127562;127578:5;127266:9;:328::i;:::-;127614:11;126287:1346;-1:-1:-1;;;;;;126287:1346:0:o;155160:873::-;68371:10;155263:15;:30;;155255:85;;;;-1:-1:-1;;;155255:85:0;;8468:2:1;155255:85:0;;;8450:21:1;8507:2;8487:18;;;8480:30;-1:-1:-1;;;;;;;;;;;8526:18:1;;;8519:59;8595:18;;155255:85:0;8266:353:1;155255:85:0;155353:26;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;155353:26:0;155390:31;155424:13;:28;155438:13;:11;:13::i;:::-;155424:28;;;;;;;;;;;155390:62;;155465:29;155480:8;155490:3;155465:14;:29::i;:::-;155526:10;7613:7;7640:18;;;;;;;;;;;155541:6;-1:-1:-1;155516:31:0;155507:102;;;;-1:-1:-1;;;155507:102:0;;20047:2:1;155507:102:0;;;20029:21:1;20086:2;20066:18;;;20059:30;20125:34;20105:18;;;20098:62;-1:-1:-1;;;20176:18:1;;;20169:42;20228:19;;155507:102:0;19845:408:1;155507:102:0;155659:10;155622:24;8233:18;;;:11;:18;;;;;;;;155679:4;8233:27;;;;;;;;155706:26;;;;155698:87;;;;-1:-1:-1;;;155698:87:0;;20460:2:1;155698:87:0;;;20442:21:1;20499:2;20479:18;;;20472:30;20538:34;20518:18;;;20511:62;-1:-1:-1;;;20589:18:1;;;20582:33;20632:19;;155698:87:0;20258:399:1;155698:87:0;155828:6;155806:3;:18;;:28;;;;;;;:::i;:::-;;;-1:-1:-1;155845:31:0;155862:8;155872:3;155845:16;:31::i;:::-;155914:62;155923:10;155943:4;155969:6;155950:16;:25;155914:8;:62::i;:::-;156000:25;156006:10;156018:6;156000:5;:25::i;:::-;155244:789;;;155160:873;:::o;153350:1680::-;153480:7;68371:10;153513:15;:30;;153505:85;;;;-1:-1:-1;;;153505:85:0;;8468:2:1;153505:85:0;;;8450:21:1;8507:2;8487:18;;;8480:30;-1:-1:-1;;;;;;;;;;;8526:18:1;;;8519:59;8595:18;;153505:85:0;8266:353:1;153505:85:0;153603:26;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;153603:26:0;153640:31;153674:13;:28;153688:13;:11;:13::i;:::-;153674:28;;;;;;;;;;;153640:62;;153715:29;153730:8;153740:3;153715:14;:29::i;:::-;153757:41;153801:30;;;:15;:30;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;153891:47:0;153908:16;153926:11;153891:16;:47::i;:::-;153967:21;;;;:29;;153992:4;153967:29;153959:95;;;;-1:-1:-1;;;153959:95:0;;20864:2:1;153959:95:0;;;20846:21:1;20903:2;20883:18;;;20876:30;20942:34;20922:18;;;20915:62;-1:-1:-1;;;20993:18:1;;;20986:38;21041:19;;153959:95:0;20662:404:1;153959:95:0;154127:22;;;;154095:29;;154155:5;;154095:54;;;:::i;:::-;154076:74;;:15;:74;:::i;:::-;154075:85;;154067:150;;;;-1:-1:-1;;;154067:150:0;;21273:2:1;154067:150:0;;;21255:21:1;21312:2;21292:18;;;21285:30;21351:34;21331:18;;;21324:62;-1:-1:-1;;;21402:18:1;;;21395:37;21449:19;;154067:150:0;21071:403:1;154067:150:0;154282:5;;154322:23;;;;154347;;;;154282:89;;-1:-1:-1;;;154282:89:0;;:5;:89;;;13838:34:1;13888:18;;;13881:34;;;-1:-1:-1;;;;;13951:15:1;;;13931:18;;;13924:43;14003:15;;;13983:18;;;13976:43;154282:5:0;;;:17;;13749:19:1;;154282:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;154447:11;:22;;;154425:3;:18;;:44;;;;;;;:::i;:::-;;;-1:-1:-1;154658:23:0;;;;154606;;154632:51;;:8;:51::i;:::-;154606:77;;154696:179;154733:5;:12;;;:20;;;154775:13;154804:11;:23;;;154842:11;:22;;;154696;:179::i;:::-;154888:31;154905:8;154915:3;154888:16;:31::i;:::-;154930:49;154949:16;154967:11;154930:18;:49::i;:::-;-1:-1:-1;154999:23:0;;;;153350:1680;-1:-1:-1;;;;;;153350:1680:0:o;128069:5369::-;128186:7;68371:10;128219:15;:30;;128211:85;;;;-1:-1:-1;;;128211:85:0;;8468:2:1;128211:85:0;;;8450:21:1;8507:2;8487:18;;;8480:30;-1:-1:-1;;;;;;;;;;;8526:18:1;;;8519:59;8595:18;;128211:85:0;8266:353:1;128211:85:0;128309:26;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;128309:26:0;128346:31;128380:13;:28;128394:13;:11;:13::i;:::-;128380:28;;;;;;;;;;;128346:62;;128421:29;128436:8;128446:3;128421:14;:29::i;:::-;128471:21;128495:25;128509:10;128495:13;:25::i;:::-;128471:49;;128562:7;128545:24;;:5;:13;;;:24;;;128537:83;;;;-1:-1:-1;;;128537:83:0;;19285:2:1;128537:83:0;;;19267:21:1;19324:2;19304:18;;;19297:30;19363:34;19343:18;;;19336:62;-1:-1:-1;;;19414:18:1;;;19407:31;19455:19;;128537:83:0;19083:397:1;128537:83:0;128659:5;:15;;;128639:35;;:16;:14;:16::i;:::-;:35;;128631:106;;;;-1:-1:-1;;;128631:106:0;;18052:2:1;128631:106:0;;;18034:21:1;18091:2;18071:18;;;18064:30;18130:34;18110:18;;;18103:62;-1:-1:-1;;;18181:18:1;;;18174:43;18234:19;;128631:106:0;17850:409:1;128631:106:0;128758:21;128798:18;128834;128870:16;128906:14;128942:19;128980:23;;:::i;:::-;129141:19;129154:5;129141:12;:19::i;:::-;129098:62;;-1:-1:-1;129098:62:0;-1:-1:-1;129233:4078:0;;;;129281:21;;;;:9;:21;;;;;129270:40;;129304:5;129270:10;:40::i;:::-;129371:12;;:22;;;129352:41;;:16;:14;:16::i;:::-;:41;;;;:::i;:::-;129499:12;;:23;;;129339:54;;-1:-1:-1;129486:36:0;;;;129482:113;;;129556:12;;:23;;;129543:36;;;-1:-1:-1;129482:113:0;129706:17;;;;129693:30;;:10;:30;:::i;:::-;129789:12;;:24;;;129682:41;;-1:-1:-1;129789:35:0;;129682:41;;-1:-1:-1;;;;;129789:35:0;;:::i;:::-;129892:18;;;;129780:44;;-1:-1:-1;129892:22:0;129888:376;;129935:13;129951:38;129962:5;:18;;;129982:6;129951:10;:38::i;:::-;129935:54;-1:-1:-1;130012:9:0;;130008:241;;130108:32;68195:42;130134:5;130108;:32::i;:::-;130186:5;130163:3;:19;;:28;;;;;;;:::i;:::-;;;-1:-1:-1;130214:15:0;130224:5;130214:15;;:::i;:::-;;;130008:241;129916:348;129888:376;130325:22;;;;:26;130321:384;;130372:13;130388:42;130399:3;:22;;;130423:6;130388:10;:42::i;:::-;130372:58;-1:-1:-1;130453:9:0;;130449:241;;130549:32;68195:42;130575:5;130549;:32::i;:::-;130627:5;130604:3;:19;;:28;;;;;;;:::i;:::-;;;-1:-1:-1;130655:15:0;130665:5;130655:15;;:::i;:::-;;;130449:241;130353:352;130321:384;130754:8;130733:5;:17;;:29;;;;;;;:::i;:::-;;;-1:-1:-1;130831:10:0;;130827:182;;130862:25;130868:10;130880:6;130862:5;:25::i;:::-;130908:85;130940:5;130968:6;130908:9;:85::i;:::-;131096:21;;;;:9;:21;;;;;131083:42;;131119:5;131083:12;:42::i;:::-;129233:4078;;;131268:5;:15;;;131249:34;;:16;:14;:16::i;:::-;:34;;;;:::i;:::-;131236:47;;131378:5;:16;;;131365:29;;:10;:29;131361:99;;;131428:5;:16;;;131415:29;;;;131361:99;131533:10;131513:5;:17;;;-1:-1:-1;;;;;131513:30:0;;;;;:::i;:::-;131504:39;;96994:3;131614:13;:11;:13::i;:::-;:31;131610:462;;;131680:51;131717:13;:11;:13::i;131680:51::-;131666:65;;131750:13;131766:31;131777:11;131790:6;131766:10;:31::i;:::-;131750:47;-1:-1:-1;131820:9:0;;131816:241;;131916:32;68195:42;131942:5;131916;:32::i;:::-;131994:5;131971:3;:19;;:28;;;;;;;:::i;:::-;;;-1:-1:-1;132022:15:0;132032:5;132022:15;;:::i;:::-;;;131816:241;131647:425;131610:462;132133:22;;;;:26;132129:384;;132180:13;132196:42;132207:3;:22;;;132231:6;132196:10;:42::i;:::-;132180:58;-1:-1:-1;132261:9:0;;132257:241;;132357:32;68195:42;132383:5;132357;:32::i;:::-;132435:5;132412:3;:19;;:28;;;;;;;:::i;:::-;;;-1:-1:-1;132463:15:0;132473:5;132463:15;;:::i;:::-;;;132257:241;132161:352;132129:384;132587:394;132615:188;;;;;;;;132653:5;:13;;;132615:188;;;;;;132689:5;:17;;;-1:-1:-1;;;;;132615:188:0;;;;;132730:5;:15;;;132615:188;;;;;;132768:5;:16;;;132615:188;;;;;132822:10;132851:11;132881:1;132901;132921;132941;132961:5;132587:9;:394::i;:::-;133019:13;;133009:24;;;;;;:9;:24;;;;;132998:43;;133035:5;132998:10;:43::i;:::-;133122:10;;133118:182;;133153:25;133159:10;133171:6;133153:5;:25::i;:::-;133199:85;133231:5;133259:6;133199:9;:85::i;:::-;133346:6;133323:3;:19;;:29;;;;;;;:::i;:::-;;;-1:-1:-1;133373:31:0;133390:8;133400:3;133373:16;:31::i;:::-;-1:-1:-1;133424:6:0;;128069:5369;-1:-1:-1;;;;;;;;;;;128069:5369:0:o;14369:380::-;-1:-1:-1;;;;;14505:19:0;;14497:68;;;;-1:-1:-1;;;14497:68:0;;21681:2:1;14497:68:0;;;21663:21:1;21720:2;21700:18;;;21693:30;21759:34;21739:18;;;21732:62;-1:-1:-1;;;21810:18:1;;;21803:34;21854:19;;14497:68:0;21479:400:1;14497:68:0;-1:-1:-1;;;;;14584:21:0;;14576:68;;;;-1:-1:-1;;;14576:68:0;;22086:2:1;14576:68:0;;;22068:21:1;22125:2;22105:18;;;22098:30;22164:34;22144:18;;;22137:62;-1:-1:-1;;;22215:18:1;;;22208:32;22257:19;;14576:68:0;21884:398:1;14576:68:0;-1:-1:-1;;;;;14657:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;14709:32;;1753:25:1;;;14709:32:0;;1726:18:1;14709:32:0;;;;;;;;14369:380;;;:::o;107675:153::-;107748:7;107814:6;107781:29;68371:10;107781:15;:29;:::i;:::-;107780:40;;;;:::i;109707:1956::-;109890:23;;-1:-1:-1;;;;;109890:23:0;;;109865:48;;-1:-1:-1;;;109949:23:0;;;;109924:19;;;:48;-1:-1:-1;;;110008:22:0;;;109983:18;;;:47;-1:-1:-1;;;110066:24:0;;;;110041:20;;;:49;;;-1:-1:-1;;;110126:26:0;;;;;110101:22;;;:51;110165:1491;;110211:21;110235:16;:14;:16::i;:::-;110211:40;-1:-1:-1;110630:32:0;110673:36;110691:17;110707:1;110211:40;110691:17;:::i;:::-;110673;:36::i;:::-;110630:79;;110724:30;110767:17;:15;:17::i;:::-;110724:60;;110799:40;110904:10;:28;;;-1:-1:-1;;;;;110842:90:0;97114:7;110843:12;:27;;;-1:-1:-1;;;;;110843:57:0;;;;;:::i;:::-;110842:90;;;;:::i;:::-;110799:133;-1:-1:-1;110972:47:0;97219:1;110799:133;110972:47;:::i;:::-;110949:20;;;:70;111374:12;;:16;;;;:37;;;111410:1;111394:13;7456:12;;;7368:108;111394:13;:17;111374:37;111370:275;;;111432:22;111480:13;7456:12;;;7368:108;111480:13;111458:12;;:18;;111473:3;111458:18;:::i;:::-;111457:36;;;;:::i;:::-;111432:61;;111533:2;111516:14;:19;111512:118;;;111586:19;111603:2;111586:14;:19;:::i;:::-;111585:25;;111609:1;111585:25;:::i;:::-;111560:22;;;:50;111512:118;111413:232;111370:275;110196:1460;;;;110165:1491;109707:1956;;:::o;112634:806::-;112741:17;;:::i;:::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;112817:17:0;112845:18;112874:16;112901:17;112929:19;112959;112989:15;113183:3;-1:-1:-1;;;;;113183:9:0;;:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;113214:218;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;112634:806;-1:-1:-1;;;;;;;;;;112634:806:0:o;101442:623::-;102026:5;:12;;;:20;;;101573:484;;102001:10;-1:-1:-1;;;;;101573:484:0;;101982:3;101952:7;-1:-1:-1;;;;;101937:24:0;:48;;101911:3;101881:5;:19;;;101866:36;;:48;;101840:3;101810:5;:19;;;101795:36;;:48;;101769:3;101739:5;:17;;;101724:34;;:48;;101699:2;101669:5;:12;;;:24;;;-1:-1:-1;;;;;101654:41:0;:47;;101615:15;101599:33;;:103;:174;:245;:316;:387;101573:484;;;;1753:25:1;;1741:2;1726:18;;1607:177;101573:484:0;;;;;;;;101442:623;;:::o;117721:610::-;117885:12;;117859:38;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;117859:38:0;;;;;;;;-1:-1:-1;;;;;117859:38:0;;;;;;-1:-1:-1;;117859:38:0;-1:-1:-1;;;117859:38:0;;;;;-1:-1:-1;;;;117859:38:0;;-1:-1:-1;;;117859:38:0;;;;;;;;;;;;;117941:17;;;;-1:-1:-1;117908:21:0;;;:51;;118002:18;;;;118065:16;;;;118126:17;;;;118188:19;;;;118251;;;;118308:15;;;;;117908:51;;;-1:-1:-1;;117970:51:0;;;;;;;;;;;;;;-1:-1:-1;;118093:51:0;118032:50;;;;;;;;-1:-1:-1;;118093:51:0;;;;;;;;;;;;;;-1:-1:-1;;118219:52:0;-1:-1:-1;;;118155:53:0;;;;;;;;-1:-1:-1;;118219:52:0;;;;;-1:-1:-1;;;118219:52:0;;;;;;;;;;;;-1:-1:-1;;118282:41:0;-1:-1:-1;;;118282:41:0;;;;;;;;;;;;;117721:610::o;111912:480::-;112094:19;;112058:56;;112161:19;;;;112228:18;;;;112294:20;;;;112361:22;;;;;112326:58;;-1:-1:-1;;;112326:58:0;-1:-1:-1;;;;;112258:57:0;;;;-1:-1:-1;;;112258:57:0;-1:-1:-1;;;;;;;;;112192:55:0;;;-1:-1:-1;;;112192:55:0;112258:57;;112125:56;;;-1:-1:-1;;;112125:56:0;-1:-1:-1;;112125:56:0;;;112058;;;;112125;;;;;;;;112258:57;;;;;;;;;;;;112326:58;;;;;;;111912:480::o;13340:591::-;-1:-1:-1;;;;;13424:21:0;;13416:67;;;;-1:-1:-1;;;13416:67:0;;24954:2:1;13416:67:0;;;24936:21:1;24993:2;24973:18;;;24966:30;25032:34;25012:18;;;25005:62;-1:-1:-1;;;25083:18:1;;;25076:31;25124:19;;13416:67:0;24752:397:1;13416:67:0;-1:-1:-1;;;;;13583:18:0;;13558:22;13583:18;;;;;;;;;;;13620:24;;;;13612:71;;;;-1:-1:-1;;;13612:71:0;;25356:2:1;13612:71:0;;;25338:21:1;25395:2;25375:18;;;25368:30;25434:34;25414:18;;;25407:62;-1:-1:-1;;;25485:18:1;;;25478:32;25527:19;;13612:71:0;25154:398:1;13612:71:0;-1:-1:-1;;;;;13719:18:0;;:9;:18;;;;;;;;;;13740:23;;;13719:44;;13785:12;:22;;13757:6;;13719:9;13785:22;;13757:6;;13785:22;:::i;:::-;;;;-1:-1:-1;;13825:37:0;;1753:25:1;;;13851:1:0;;-1:-1:-1;;;;;13825:37:0;;;;;1741:2:1;1726:18;13825:37:0;1607:177:1;115230:549:0;115388:7;115413:27;:15;56454:19;;56472:1;56454:19;;;56365:127;115413:27;115511:215;;;;;;;;115547:15;115511:215;;;;115581:10;-1:-1:-1;;;;;115511:215:0;;;;;115617:13;-1:-1:-1;;;;;115511:215:0;;;;;115650:10;-1:-1:-1;;;;;115511:215:0;;;;;115686:1;-1:-1:-1;;;;;115511:215:0;;;;;115707:4;115511:215;;;;;115453:15;:42;115469:25;:15;56335:14;;56243:114;115469:25;115453:42;;;;;;;;;;;;;;-1:-1:-1;115453:42:0;:273;;;;;;;;;;;;-1:-1:-1;;;;;115453:273:0;;;-1:-1:-1;;;;;;;;115453:273:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;115453:273:0;;;;;;;;-1:-1:-1;;;;;115453:273:0;-1:-1:-1;;;115453:273:0;;;;;;;;;;115746:15;56335:14;115739:32;115230:549;-1:-1:-1;;;;115230:549:0:o;102695:726::-;103389:13;102896:517;;103354:5;:12;;;:20;;;102896:517;;103331:8;-1:-1:-1;;;;;102896:517:0;;103312:3;103282:11;-1:-1:-1;;;;;103267:28:0;:48;;103241:3;103211:5;:19;;;103196:36;;:48;;103170:3;103140:5;:19;;;103125:36;;:48;;103099:3;103069:5;:17;;;103054:34;;:48;;103029:2;102999:5;:12;;;:24;;;-1:-1:-1;;;;;102984:41:0;:47;;102945:15;102929:33;;:103;:174;:245;:316;:387;102896:517;;;;1753:25:1;;1741:2;1726:18;;1607:177;102896:517:0;;;;;;;;102695:726;;;;:::o;11588:733::-;-1:-1:-1;;;;;11728:20:0;;11720:70;;;;-1:-1:-1;;;11720:70:0;;25759:2:1;11720:70:0;;;25741:21:1;25798:2;25778:18;;;25771:30;25837:34;25817:18;;;25810:62;-1:-1:-1;;;25888:18:1;;;25881:35;25933:19;;11720:70:0;25557:401:1;11720:70:0;-1:-1:-1;;;;;11809:23:0;;11801:71;;;;-1:-1:-1;;;11801:71:0;;26165:2:1;11801:71:0;;;26147:21:1;26204:2;26184:18;;;26177:30;26243:34;26223:18;;;26216:62;-1:-1:-1;;;26294:18:1;;;26287:33;26337:19;;11801:71:0;25963:399:1;11801:71:0;-1:-1:-1;;;;;11969:17:0;;11945:21;11969:17;;;;;;;;;;;12005:23;;;;11997:74;;;;-1:-1:-1;;;11997:74:0;;26569:2:1;11997:74:0;;;26551:21:1;26608:2;26588:18;;;26581:30;26647:34;26627:18;;;26620:62;-1:-1:-1;;;26698:18:1;;;26691:36;26744:19;;11997:74:0;26367:402:1;11997:74:0;-1:-1:-1;;;;;12107:17:0;;;:9;:17;;;;;;;;;;;12127:22;;;12107:42;;12171:20;;;;;;;;:30;;12143:6;;12107:9;12171:30;;12143:6;;12171:30;:::i;:::-;;;;;;;;12236:9;-1:-1:-1;;;;;12219:35:0;12228:6;-1:-1:-1;;;;;12219:35:0;;12247:6;12219:35;;;;1753:25:1;;1741:2;1726:18;;1607:177;12219:35:0;;;;;;;;12267:46;13340:591;100885:549;101395:5;:12;;;:20;;;101015:411;;101370:10;-1:-1:-1;;;;;101015:411:0;;101351:3;101321:8;-1:-1:-1;;;;;101306:25:0;:48;;101280:3;101250:5;:19;;;101235:36;;:48;;101209:3;101179:5;:17;;;101164:34;;:48;;101139:2;101109:5;:12;;;:24;;;-1:-1:-1;;;;;101094:41:0;:47;;101055:15;101039:33;;:103;:174;:245;:316;101015:411;;;;1753:25:1;;1741:2;1726:18;;1607:177;12608:399:0;-1:-1:-1;;;;;12692:21:0;;12684:65;;;;-1:-1:-1;;;12684:65:0;;26976:2:1;12684:65:0;;;26958:21:1;27015:2;26995:18;;;26988:30;27054:33;27034:18;;;27027:61;27105:18;;12684:65:0;26774:355:1;12684:65:0;12840:6;12824:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;12857:18:0;;:9;:18;;;;;;;;;;:28;;12879:6;;12857:9;:28;;12879:6;;12857:28;:::i;:::-;;;;-1:-1:-1;;12901:37:0;;1753:25:1;;;-1:-1:-1;;;;;12901:37:0;;;12918:1;;12901:37;;1741:2:1;1726:18;12901:37:0;;;;;;;109707:1956;;:::o;102073:614::-;102648:5;:12;;;:20;;;102199:480;;102623:10;-1:-1:-1;;;;;102199:480:0;;102604:3;102574:6;-1:-1:-1;;;;;102559:23:0;:48;;102533:3;102503:5;:19;;;102488:36;;:48;;102462:3;102432:5;:19;;;102417:36;;:48;;102391:3;102361:5;:17;;;102346:34;;:48;;102321:2;102291:5;:12;;;:24;;;-1:-1:-1;;;;;102276:41:0;:47;;102237:15;102221:33;;:103;:174;:245;:316;:387;102199:480;;;;1753:25:1;;1741:2;1726:18;;1607:177;116881:600:0;117094:33;;117062:65;;117170:26;;;;-1:-1:-1;;;117170:26:0;;;-1:-1:-1;;;;;117170:26:0;117138:22;;;:58;117239:27;;;;;-1:-1:-1;;;;;117239:27:0;;;117207:23;;;:59;117309:27;;-1:-1:-1;117277:23:0;;:59;117379:26;;;;-1:-1:-1;;;;;117379:26:0;117347:22;;;:58;-1:-1:-1;;;117448:25:0;;;;;117416:57;;:21;;;;:57;116881:600::o;118604:498::-;118810:22;;;;118874:23;;;;118938;;;;119009:22;;;;-1:-1:-1;;;;;118972:60:0;-1:-1:-1;;;118972:60:0;;;-1:-1:-1;;;;;118844:53:0;;;118972:60;-1:-1:-1;118844:27:0;;118972:60;119073:21;;;;;119043:51;;-1:-1:-1;;;119043:51:0;118773:60;;;;;;;;-1:-1:-1;;;119043:51:0;118908:53;;119043:51;;;;;118773:26;;;;119043:51;118604:498::o;103429:376::-;103773:13;103591:206;;103751:7;103591:206;;103726:10;-1:-1:-1;;;;;103591:206:0;;103708:2;103693:9;-1:-1:-1;;;;;103677:27:0;:33;;103638:15;103622:33;;:89;103591:206;;;;1753:25:1;;1741:2;1726:18;;1607:177;103591:206:0;;;;;;;;103429:376;;;:::o;108061:862::-;108175:7;108216:2;108204:9;:14;108200:695;;;-1:-1:-1;108242:3:0;;108061:862;-1:-1:-1;108061:862:0:o;108200:695::-;108288:2;108276:9;:14;108272:623;;;-1:-1:-1;108314:2:0;;108061:862;-1:-1:-1;108061:862:0:o;108272:623::-;108359:2;108347:9;:14;108343:552;;;-1:-1:-1;108385:2:0;;108061:862;-1:-1:-1;108061:862:0:o;108343:552::-;108430:2;108418:9;:14;108414:481;;;-1:-1:-1;108456:2:0;;108061:862;-1:-1:-1;108061:862:0:o;108414:481::-;108501:2;108489:9;:14;108485:410;;;-1:-1:-1;108527:2:0;;108061:862;-1:-1:-1;108061:862:0:o;108485:410::-;108572:2;108560:9;:14;108556:339;;;-1:-1:-1;108598:2:0;;108061:862;-1:-1:-1;108061:862:0:o;108556:339::-;108643:2;108631:9;:14;108627:268;;;-1:-1:-1;108669:2:0;;108061:862;-1:-1:-1;108061:862:0:o;108627:268::-;108714:2;108702:9;:14;108698:197;;;-1:-1:-1;108740:2:0;;108061:862;-1:-1:-1;108061:862:0:o;108698:197::-;108785:2;108773:9;:14;108769:126;;;-1:-1:-1;108811:2:0;;108061:862;-1:-1:-1;108061:862:0:o;108769:126::-;108844:13;;108840:55;;-1:-1:-1;108881:2:0;;108061:862;-1:-1:-1;108061:862:0:o;108840:55::-;-1:-1:-1;108914:1:0;;108061:862;-1:-1:-1;108061:862:0:o;99941:387::-;100302:7;100092:228;;100277:10;-1:-1:-1;;;;;100092:228:0;;100258:3;100241:11;100225:29;;:36;;100200:2;100183:11;-1:-1:-1;;;;;100167:29:0;:35;;100128:15;100112:33;;:91;:150;100092:228;;;;1753:25:1;;1741:2;1726:18;;1607:177;114168:652:0;114512:300;;;;;;;;114541:5;114512:300;;;;114572:10;114512:300;;;;;;114608:11;114512:300;;;;;;114646:9;114512:300;;;;;;114682:10;114512:300;;;;;;114719:12;114512:300;;;;;;114757:12;114512:300;;;;;;114789:8;114512:300;;;;;114472:9;:24;114482:5;:13;;;114472:24;;;;;;;;;;;;;:340;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;114472:340:0;;;;;-1:-1:-1;;;;;114472:340:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114168:652;;;;;;;;:::o;104379:154::-;104455:7;104519:6;104506:9;;104488:15;:27;;;;:::i;109242:210::-;109374:7;109441:2;109418:19;109427:10;109418:6;:19;:::i;:::-;109417:26;;;;:::i;:::-;109402:42;109242:210;-1:-1:-1;;;109242:210:0:o;100336:541::-;100838:5;:12;;;:20;;;100459:410;;100813:10;-1:-1:-1;;;;;100459:410:0;;100794:3;100764:6;100748:24;;:49;;100722:3;100692:5;:18;;;100676:36;;:49;;100650:3;100620:5;:17;;;100604:35;;:49;;100579:2;100549:5;:12;;;:24;;;-1:-1:-1;;;;;100533:42:0;:48;;100494:15;100478:33;;:104;:176;:248;:320;100459:410;;;;1753:25:1;;1741:2;1726:18;;1607:177;106733:768:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;107230:3:0;;:38;;-1:-1:-1;;;107230:38:0;;107245:10;107230:38;;;8798:74:1;8888:18;;;8881:34;;;106875:14:0;;;;;;;;;;;;;;-1:-1:-1;;;;;107230:3:0;;:14;;8771:18:1;;107230:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;107298:195;;;;;;;;;;;;;;;-1:-1:-1;;;;;107298:195:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;106733:768:0:o;119406:780::-;119518:4;119524:7;119549:21;119589:18;119632:23;;:::i;:::-;119689:13;;119679:24;;;;;;:9;:24;;;;;119668:43;;119705:5;119668:10;:43::i;:::-;119820:13;;119792:12;;:20;:41;;;;;;;:103;;;;;119878:5;:17;;;-1:-1:-1;;;;;119850:45:0;:5;:12;;;:24;;;-1:-1:-1;;;;;119850:45:0;;119792:103;:163;;;;;119940:5;:15;;;119912:43;;:5;:12;;;:22;;;:43;;;119792:163;:224;;;;;120000:5;:16;;;119972:44;;:5;:12;;;:23;;;:44;;;119792:224;119788:330;;;120093:13;;120061:4;;-1:-1:-1;120080:26:0;;;-1:-1:-1;119788:330:0;-1:-1:-1;120149:16:0;;120167:10;;-1:-1:-1;119406:780:0;-1:-1:-1;;119406:780:0:o;103813:405::-;104186:13;104004:206;;104164:7;104004:206;;104139:10;-1:-1:-1;;;;;104004:206:0;;104121:2;104107:8;-1:-1:-1;;;;;104091:26:0;:32;;104052:15;104036:33;;:88;104004:206;;;;1753:25:1;;1741:2;1726:18;;1607:177;116026:576:0;116176:38;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;116176:38:0;;;;;;;;;-1:-1:-1;;;116176:38:0;;;;;;;;;;-1:-1:-1;;;116176:38:0;;;;;;;;;;;;;;;;;116247:21;;;;;;;116225:17;;;:43;;;;116301:22;;;;;;;116279:18;;;:44;;;;116356:20;;;;;116334:16;;;:42;;;;116409:21;;;;;;116387:17;;;:43;-1:-1:-1;;;116463:23:0;;;;116441:19;;;:45;-1:-1:-1;;;116519:23:0;;;;116497:19;;;:45;-1:-1:-1;;;116575:19:0;;;;;;116553:41;;:15;;;;:41;116026:576::o;104817:524::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;105164:3:0;;:21;;-1:-1:-1;;;105164:21:0;;;;;1753:25:1;;;104963:21:0;;;;;;-1:-1:-1;;;;;105164:3:0;;:13;;1726:18:1;;105164:21:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;105205:126;;;;;;;;-1:-1:-1;;;;;105205:126:0;;;;;;;;;;;;;;;;;;;;104817:524;-1:-1:-1;;;;;104817:524:0:o;105549:885::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105661:25:0;105697:28;105736:17;105764:25;105800:22;105833:24;105868:21;105900:18;106136:3;;;;;;;;;-1:-1:-1;;;;;106136:3:0;-1:-1:-1;;;;;106136:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;106169:257;;;;;;;;-1:-1:-1;;;;;106169:257:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105549:885;-1:-1:-1;;;;;;;;;105549:885:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:597:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:1;574:15;-1:-1:-1;;570:29:1;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:1:o;616:154::-;-1:-1:-1;;;;;695:5:1;691:54;684:5;681:65;671:93;;760:1;757;750:12;671:93;616:154;:::o;775:315::-;843:6;851;904:2;892:9;883:7;879:23;875:32;872:52;;;920:1;917;910:12;872:52;959:9;946:23;978:31;1003:5;978:31;:::i;:::-;1028:5;1080:2;1065:18;;;;1052:32;;-1:-1:-1;;;775:315:1:o;1287:::-;1355:6;1363;1416:2;1404:9;1395:7;1391:23;1387:32;1384:52;;;1432:1;1429;1422:12;1384:52;1468:9;1455:23;1445:33;;1528:2;1517:9;1513:18;1500:32;1541:31;1566:5;1541:31;:::i;:::-;1591:5;1581:15;;;1287:315;;;;;:::o;1789:456::-;1866:6;1874;1882;1935:2;1923:9;1914:7;1910:23;1906:32;1903:52;;;1951:1;1948;1941:12;1903:52;1990:9;1977:23;2009:31;2034:5;2009:31;:::i;:::-;2059:5;-1:-1:-1;2111:2:1;2096:18;;2083:32;;-1:-1:-1;2167:2:1;2152:18;;2139:32;2180:33;2139:32;2180:33;:::i;:::-;2232:7;2222:17;;;1789:456;;;;;:::o;2250:180::-;2309:6;2362:2;2350:9;2341:7;2337:23;2333:32;2330:52;;;2378:1;2375;2368:12;2330:52;-1:-1:-1;2401:23:1;;2250:180;-1:-1:-1;2250:180:1:o;3355:456::-;3432:6;3440;3448;3501:2;3489:9;3480:7;3476:23;3472:32;3469:52;;;3517:1;3514;3507:12;3469:52;3556:9;3543:23;3575:31;3600:5;3575:31;:::i;:::-;3625:5;-1:-1:-1;3682:2:1;3667:18;;3654:32;3695:33;3654:32;3695:33;:::i;:::-;3355:456;;3747:7;;-1:-1:-1;;;3801:2:1;3786:18;;;;3773:32;;3355:456::o;4808:248::-;4876:6;4884;4937:2;4925:9;4916:7;4912:23;4908:32;4905:52;;;4953:1;4950;4943:12;4905:52;-1:-1:-1;;4976:23:1;;;5046:2;5031:18;;;5018:32;;-1:-1:-1;4808:248:1:o;5061:247::-;5120:6;5173:2;5161:9;5152:7;5148:23;5144:32;5141:52;;;5189:1;5186;5179:12;5141:52;5228:9;5215:23;5247:31;5272:5;5247:31;:::i;5313:456::-;5390:6;5398;5406;5459:2;5447:9;5438:7;5434:23;5430:32;5427:52;;;5475:1;5472;5465:12;5427:52;5511:9;5498:23;5488:33;;5571:2;5560:9;5556:18;5543:32;5584:31;5609:5;5584:31;:::i;:::-;5634:5;-1:-1:-1;5691:2:1;5676:18;;5663:32;5704:33;5663:32;5704:33;:::i;5774:123::-;5859:12;5852:5;5848:24;5841:5;5838:35;5828:63;;5887:1;5884;5877:12;5902:313;5969:6;5977;6030:2;6018:9;6009:7;6005:23;6001:32;5998:52;;;6046:1;6043;6036:12;5998:52;6082:9;6069:23;6059:33;;6142:2;6131:9;6127:18;6114:32;6155:30;6179:5;6155:30;:::i;6623:860::-;6997:3;6982:19;;7010:52;6986:9;7044:6;6319:12;6311:5;6305:12;6301:31;6296:3;6289:44;-1:-1:-1;;;;;6386:4:1;6379:5;6375:16;6369:23;6365:50;6358:4;6353:3;6349:14;6342:74;6462:4;6455:5;6451:16;6445:23;6487:6;6543:2;6529:12;6525:21;6518:4;6513:3;6509:14;6502:45;6608:2;6600:4;6593:5;6589:16;6583:23;6579:32;6572:4;6567:3;6563:14;6556:56;;;6220:398;;;7010:52;7081:6;7124:15;;;7118:3;7103:19;;7096:44;7189:4;7177:17;;;7171:3;7156:19;;7149:46;7232:15;;;7226:3;7211:19;;7204:44;7285:15;;;;7279:3;7264:19;;7257:44;7350:10;7338:23;;;;7332:3;7317:19;;7310:52;7399:17;;;7393:3;7378:19;;7371:46;7461:14;;7454:22;7448:3;7433:19;;;7426:51;6623:860;;-1:-1:-1;6623:860:1:o;7488:388::-;7556:6;7564;7617:2;7605:9;7596:7;7592:23;7588:32;7585:52;;;7633:1;7630;7623:12;7585:52;7672:9;7659:23;7691:31;7716:5;7691:31;:::i;:::-;7741:5;-1:-1:-1;7798:2:1;7783:18;;7770:32;7811:33;7770:32;7811:33;:::i;7881:380::-;7960:1;7956:12;;;;8003;;;8024:61;;8078:4;8070:6;8066:17;8056:27;;8024:61;8131:2;8123:6;8120:14;8100:18;8097:38;8094:161;;;8177:10;8172:3;8168:20;8165:1;8158:31;8212:4;8209:1;8202:15;8240:4;8237:1;8230:15;8094:161;;7881:380;;;:::o;8926:251::-;8996:6;9049:2;9037:9;9028:7;9024:23;9020:32;9017:52;;;9065:1;9062;9055:12;9017:52;9097:9;9091:16;9116:31;9141:5;9116:31;:::i;9946:127::-;10007:10;10002:3;9998:20;9995:1;9988:31;10038:4;10035:1;10028:15;10062:4;10059:1;10052:15;10078:168;10118:7;10184:1;10180;10176:6;10172:14;10169:1;10166:21;10161:1;10154:9;10147:17;10143:45;10140:71;;;10191:18;;:::i;:::-;-1:-1:-1;10231:9:1;;10078:168::o;10251:125::-;10291:4;10319:1;10316;10313:8;10310:34;;;10324:18;;:::i;:::-;-1:-1:-1;10361:9:1;;10251:125::o;10381:217::-;10421:1;10447;10437:132;;10491:10;10486:3;10482:20;10479:1;10472:31;10526:4;10523:1;10516:15;10554:4;10551:1;10544:15;10437:132;-1:-1:-1;10583:9:1;;10381:217::o;10603:128::-;10643:3;10674:1;10670:6;10667:1;10664:13;10661:39;;;10680:18;;:::i;:::-;-1:-1:-1;10716:9:1;;10603:128::o;11153:135::-;11192:3;-1:-1:-1;;11213:17:1;;11210:43;;;11233:18;;:::i;:::-;-1:-1:-1;11280:1:1;11269:13;;11153:135::o;11293:1003::-;-1:-1:-1;;;;;11659:15:1;;;11641:34;;11706:2;11691:18;;11684:34;;;11754:15;;11749:2;11734:18;;11727:43;11813:13;;11567:3;11552:19;;;11779:68;;11843:2;11828:18;;;6319:12;6311:5;6305:12;6301:31;6296:3;6289:44;-1:-1:-1;;;;;6386:4:1;6379:5;6375:16;6369:23;6365:50;6358:4;6353:3;6349:14;6342:74;6462:4;6455:5;6451:16;6445:23;6487:6;6543:2;6529:12;6525:21;6518:4;6513:3;6509:14;6502:45;6608:2;6600:4;6593:5;6589:16;6583:23;6579:32;6572:4;6567:3;6563:14;6556:56;;;6220:398;;;11779:68;11902:2;11894:6;11890:15;11884:22;11878:3;11867:9;11863:19;11856:51;11962:2;11954:6;11950:15;11944:22;11938:3;11927:9;11923:19;11916:51;12022:2;12014:6;12010:15;12004:22;11998:3;11987:9;11983:19;11976:51;12082:4;12074:6;12070:17;12064:24;12058:3;12047:9;12043:19;12036:53;12144:4;12136:6;12132:17;12126:24;12120:3;12109:9;12105:19;12098:53;12206:4;12198:6;12194:17;12188:24;12182:3;12171:9;12167:19;12160:53;12282:3;12274:6;12270:16;12264:23;12257:31;12250:39;12244:3;12233:9;12229:19;12222:68;11293:1003;;;;;;;:::o;15158:272::-;15197:7;-1:-1:-1;;;;;15276:2:1;15273:1;15269:10;15306:2;15303:1;15299:10;15362:3;15358:2;15354:12;15349:3;15346:21;15339:3;15332:11;15325:19;15321:47;15318:73;;;15371:18;;:::i;:::-;15411:13;;15158:272;-1:-1:-1;;;;15158:272:1:o;22287:136::-;22365:13;;22387:30;22365:13;22387:30;:::i;:::-;22287:136;;;:::o;22428:177::-;22506:13;;-1:-1:-1;;;;;22548:32:1;;22538:43;;22528:71;;22595:1;22592;22585:12;22610:163;22688:13;;22741:6;22730:18;;22720:29;;22710:57;;22763:1;22760;22753:12;22778:160;22855:13;;22908:4;22897:16;;22887:27;;22877:55;;22928:1;22925;22918:12;22943:167;23021:13;;23074:10;23063:22;;23053:33;;23043:61;;23100:1;23097;23090:12;23115:164;23191:13;;23240;;23233:21;23223:32;;23213:60;;23269:1;23266;23259:12;23284:1463;23439:6;23447;23455;23463;23471;23479;23487;23495;23539:9;23530:7;23526:23;23569:3;23565:2;23561:12;23558:32;;;23586:1;23583;23576:12;23558:32;23610:4;23606:2;23602:13;23599:33;;;23628:1;23625;23618:12;23599:33;;23661:2;23655:9;23703:4;23695:6;23691:17;23774:6;23762:10;23759:22;23738:18;23726:10;23723:34;23720:62;23717:185;;;23824:10;23819:3;23815:20;23812:1;23805:31;23859:4;23856:1;23849:15;23887:4;23884:1;23877:15;23717:185;23918:2;23911:22;23957:39;23986:9;23957:39;:::i;:::-;23949:6;23942:55;24030:48;24074:2;24063:9;24059:18;24030:48;:::i;:::-;24025:2;24017:6;24013:15;24006:73;24112:48;24156:2;24145:9;24141:18;24112:48;:::i;:::-;24107:2;24099:6;24095:15;24088:73;24194:48;24238:2;24227:9;24223:18;24194:48;:::i;:::-;24189:2;24177:15;;24170:73;24181:6;-1:-1:-1;24287:50:1;24331:4;24316:20;;24287:50;:::i;:::-;24277:60;;24356:48;24399:3;24388:9;24384:19;24356:48;:::i;:::-;24346:58;;24423:49;24467:3;24456:9;24452:19;24423:49;:::i;:::-;24413:59;;24491:49;24535:3;24524:9;24520:19;24491:49;:::i;:::-;24481:59;;24559:49;24603:3;24592:9;24588:19;24559:49;:::i;:::-;24549:59;;24627:48;24670:3;24659:9;24655:19;24627:48;:::i;:::-;24617:58;;24694:47;24736:3;24725:9;24721:19;24694:47;:::i;:::-;24684:57;;23284:1463;;;;;;;;;;;:::o;27134:747::-;27249:6;27257;27265;27273;27281;27289;27297;27350:3;27338:9;27329:7;27325:23;27321:33;27318:53;;;27367:1;27364;27357:12;27318:53;27399:9;27393:16;27418:30;27442:5;27418:30;:::i;:::-;27467:5;-1:-1:-1;27491:48:1;27535:2;27520:18;;27491:48;:::i;:::-;27481:58;;27558:48;27602:2;27591:9;27587:18;27558:48;:::i;:::-;27548:58;;27625:48;27669:2;27658:9;27654:18;27625:48;:::i;:::-;27615:58;;27692:49;27736:3;27725:9;27721:19;27692:49;:::i;:::-;27682:59;;27760:49;27804:3;27793:9;27789:19;27760:49;:::i;:::-;27750:59;;27828:47;27870:3;27859:9;27855:19;27828:47;:::i;:::-;27818:57;;27134:747;;;;;;;;;;:::o;27886:452::-;27971:6;27979;27987;28040:2;28028:9;28019:7;28015:23;28011:32;28008:52;;;28056:1;28053;28046:12;28008:52;28079:39;28108:9;28079:39;:::i;:::-;28069:49;;28137:48;28181:2;28170:9;28166:18;28137:48;:::i;:::-;28127:58;;28228:2;28217:9;28213:18;28207:25;28272:16;28265:5;28261:28;28254:5;28251:39;28241:67;;28304:1;28301;28294:12;28343:991;28469:6;28477;28485;28493;28501;28509;28517;28525;28578:3;28566:9;28557:7;28553:23;28549:33;28546:53;;;28595:1;28592;28585:12;28546:53;28618:39;28647:9;28618:39;:::i;:::-;28608:49;;28676:48;28720:2;28709:9;28705:18;28676:48;:::i;:::-;28666:58;;28767:2;28756:9;28752:18;28746:25;28780:30;28804:5;28780:30;:::i;:::-;28829:5;-1:-1:-1;28853:48:1;28897:2;28882:18;;28853:48;:::i;:::-;28843:58;;28920:49;28964:3;28953:9;28949:19;28920:49;:::i;:::-;28910:59;;28988:49;29032:3;29021:9;29017:19;28988:49;:::i;:::-;28978:59;;29082:3;29071:9;29067:19;29061:26;29096:32;29120:7;29096:32;:::i;:::-;29199:3;29184:19;;29178:26;29147:7;;-1:-1:-1;29248:34:1;29235:48;;29223:61;;29213:89;;29298:1;29295;29288:12;29213:89;29321:7;29311:17;;;28343:991;;;;;;;;;;;:::o
Swarm Source
ipfs://55e7b705b10f2b2c963984150458d56028c6a362cfda89761c00dbc65cff4c51
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.