Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
570 CBOND
Holders
228
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CBONDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CBOND
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion, GNU AGPLv3 license, Audited
Contract Source Code (Solidity)Audit Report
/** *Submitted for verification at Etherscan.io on 2020-12-03 */ /* HTTPS://SYNCBOND.COM HTTPS://APP.SYNCBOND.COM ███████╗██╗░░░██╗███╗░░░██╗░██████╗░░░░██████╗░░██████╗░██╗░░░░██╗███████╗██████╗░███████╗██████╗░ ██╔════╝╚██╗░██╔╝████╗░░██║██╔════╝░░░░██╔══██╗██╔═══██╗██║░░░░██║██╔════╝██╔══██╗██╔════╝██╔══██╗ ███████╗░╚████╔╝░██╔██╗░██║██║░░░░░░░░░██████╔╝██║░░░██║██║░█╗░██║█████╗░░██████╔╝█████╗░░██║░░██║ ╚════██║░░╚██╔╝░░██║╚██╗██║██║░░░░░░░░░██╔═══╝░██║░░░██║██║███╗██║██╔══╝░░██╔══██╗██╔══╝░░██║░░██║ ███████║░░░██║░░░██║░╚████║╚██████╗░░░░██║░░░░░╚██████╔╝╚███╔███╔╝███████╗██║░░██║███████╗██████╔╝ ╚══════╝░░░╚═╝░░░╚═╝░░╚═══╝░╚═════╝░░░░╚═╝░░░░░░╚═════╝░░╚══╝╚══╝░╚══════╝╚═╝░░╚═╝╚══════╝╚═════╝░ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ░██████╗██████╗░██╗░░░██╗██████╗░████████╗░██████╗░██████╗░░██████╗░███╗░░░██╗██████╗░███████╗░░░░ ██╔════╝██╔══██╗╚██╗░██╔╝██╔══██╗╚══██╔══╝██╔═══██╗██╔══██╗██╔═══██╗████╗░░██║██╔══██╗██╔════╝░░░░ ██║░░░░░██████╔╝░╚████╔╝░██████╔╝░░░██║░░░██║░░░██║██████╔╝██║░░░██║██╔██╗░██║██║░░██║███████╗░░░░ ██║░░░░░██╔══██╗░░╚██╔╝░░██╔═══╝░░░░██║░░░██║░░░██║██╔══██╗██║░░░██║██║╚██╗██║██║░░██║╚════██║░░░░ ╚██████╗██║░░██║░░░██║░░░██║░░░░░░░░██║░░░╚██████╔╝██████╔╝╚██████╔╝██║░╚████║██████╔╝███████║░░░░ ░╚═════╝╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░░░░░░░╚═╝░░░░╚═════╝░╚═════╝░░╚═════╝░╚═╝░░╚═══╝╚═════╝░╚══════╝░░░░ */ pragma solidity ^0.6.0; /** * @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); } interface ApproveAndCallFallBack { function receiveApproval(address from, uint256 tokens, address token, bytes calldata data) external; } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @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 Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev String operations. */ library Strings { /** * @dev Converts a `uint256` to its ASCII `string` 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); uint256 index = digits - 1; temp = value; while (temp != 0) { buffer[index--] = byte(uint8(48 + temp % 10)); temp /= 10; } return string(buffer); } } library SquareRoot { function sqrt(uint y) internal pure returns (uint z) { if (y > 3) { z = y; uint x = y / 2 + 1; while (x < z) { z = x; x = (y / x + x) / 2; } } else if (y != 0) { z = 1; } } } /* https://ethereum.stackexchange.com/a/8447 */ library AddressStrings { function toString(address x) internal pure returns (string memory) { bytes memory s = new bytes(40); for (uint i = 0; i < 20; i++) { byte b = byte(uint8(uint(x) / (2**(8*(19 - i))))); byte hi = byte(uint8(b) / 16); byte lo = byte(uint8(b) - 16 * uint8(hi)); s[2*i] = char(hi); s[2*i+1] = char(lo); } return string(s); } function char(byte b) internal pure returns (byte c) { if (uint8(b) < 10) return byte(uint8(b) + 0x30); else return byte(uint8(b) + 0x57); } } interface Oracle{ function liquidityValues(address token) external view returns(uint);//returns usd value of token (consider usd an 18 decimal stablecoin), or 0 if not listed function syncValue() external view returns(uint);//returns usd value of SYNC } /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transfered 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 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); } /** * @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); } /** * @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); } /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } /** * @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 in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @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"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256` * (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping (bytes32 => uint256) _indexes; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({ _key: key, _value: value })); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = value; return false; } } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._indexes[key] != 0; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.length; } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { require(map._entries.length > index, "EnumerableMap: index out of bounds"); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { return _get(map, key, "EnumerableMap: nonexistent key"); } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. */ function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint256(value))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint256(_get(map._inner, bytes32(key)))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. */ function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) { return address(uint256(_get(map._inner, bytes32(key), errorMessage))); } } /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from holder address to their (enumerable) set of owned tokens mapping (address => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMap.UintToAddressMap private _tokenOwners; // 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; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping (uint256 => string) private _tokenURIs; // Base URI string private _baseURI; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _holderTokens[owner].length(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token"); } /** * @dev See {IERC721Metadata-name}. */ function name() public view override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = 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 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view 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 mecanisms 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 returns (bool) { return _tokenOwners.contains(tokenId); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: d* * - `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); _holderTokens[to].add(tokenId); _tokenOwners.set(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 = ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } _holderTokens[owner].remove(tokenId); _tokenOwners.remove(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(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); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @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()) { return true; } bytes memory returndata = to.functionCall(abi.encodeWithSelector( IERC721Receiver(to).onERC721Received.selector, _msgSender(), from, tokenId, _data ), "ERC721: transfer to non ERC721Receiver implementer"); bytes4 retval = abi.decode(returndata, (bytes4)); return (retval == _ERC721_RECEIVED); } function _approve(address to, uint256 tokenId) private { _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } /** * @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 { } } /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } contract Sync is IERC20, Ownable { using SafeMath for uint256; mapping (address => uint256) private balances; mapping (address => mapping (address => uint256)) private allowed; string public constant name = "SYNC"; string public constant symbol = "SYNC"; uint8 public constant decimals = 18; uint256 _totalSupply = 16000000 * (10 ** 18); // 16 million supply mapping (address => bool) public mintContracts; modifier isMintContract() { require(mintContracts[msg.sender],"calling address is not allowed to mint"); _; } constructor() public Ownable(){ balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); } function setMintAccess(address account, bool canMint) public onlyOwner { mintContracts[account]=canMint; } function _mint(address account, uint256 amount) public isMintContract { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); balances[account] = balances[account].add(amount); emit Transfer(address(0), account, amount); } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address user) public view override returns (uint256) { return balances[user]; } function allowance(address user, address spender) public view override returns (uint256) { return allowed[user][spender]; } function transfer(address to, uint256 value) public override returns (bool) { require(value <= balances[msg.sender],"insufficient balance"); require(to != address(0),"cannot send to zero address"); balances[msg.sender] = balances[msg.sender].sub(value); balances[to] = balances[to].add(value); emit Transfer(msg.sender, to, value); return true; } function approve(address spender, uint256 value) public override returns (bool) { require(spender != address(0),"cannot approve the zero address"); allowed[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } function approveAndCall(address spender, uint256 tokens, bytes calldata data) external returns (bool) { allowed[msg.sender][spender] = tokens; emit Approval(msg.sender, spender, tokens); ApproveAndCallFallBack(spender).receiveApproval(msg.sender, tokens, address(this), data); return true; } function transferFrom(address from, address to, uint256 value) public override returns (bool) { require(value <= balances[from],"insufficient balance"); require(value <= allowed[from][msg.sender],"insufficient allowance"); require(to != address(0),"cannot send to the zero address"); balances[from] = balances[from].sub(value); balances[to] = balances[to].add(value); allowed[from][msg.sender] = allowed[from][msg.sender].sub(value); emit Transfer(from, to, value); return true; } function burn(uint256 amount) external { require(amount != 0,"must burn more than zero"); require(amount <= balances[msg.sender],"insufficient balance"); _totalSupply = _totalSupply.sub(amount); balances[msg.sender] = balances[msg.sender].sub(amount); emit Transfer(msg.sender, address(0), amount); } } contract CBOND is ERC721, Ownable { using SafeMath for uint256; using Strings for uint256; using AddressStrings for address; event Created(address token,uint256 syncAmount,uint256 tokenAmount,uint256 syncPrice,uint256 tokenPrice,uint256 tokenId); event Matured(address token,uint256 syncReturned,uint256 tokenAmount,uint256 tokenId); event DivsPaid(address token,uint256 syncReturned,uint256 tokenId); //read only counter values uint256 public totalCBONDS=0;//Total number of Cbonds created. uint256 public totalQuarterlyCBONDS=0;//Total number of quarterly Cbonds created. uint256 public totalCBONDSCashedout=0;//Total number of Cbonds that have been matured. uint256 public totalSYNCLocked=0;//Total amount of Sync locked in Cbonds. mapping(address => uint256) public totalLiquidityLockedByPair;//Total amount of tokens locked in Cbonds of the given liquidity token. //values contained in individual CBONDs, by token id mapping(uint256 => address) public lAddrById;//The address of the liquidity token used to create the given Cbond. mapping(uint256 => uint256) public lTokenPriceById;//The relative price of the liquidity token at the time the given Cbond was created. mapping(uint256 => uint256) public lTokenAmountById;//The amount of liquidity tokens initially deposited into the given Cbond. mapping(uint256 => uint256) public syncPriceById;//The relative price of Sync at the time the given Cbond was created. mapping(uint256 => uint256) public syncAmountById;//The amount of Sync initially deposited into the given Cbond. mapping(uint256 => uint256) public syncInterestById;//The amount of Sync interest on the initially deposited Sync awarded by the given Cbond. For quarterly Cbonds, this variable will represent only the interest of a single quarter. mapping(uint256 => uint256) public syncRewardedOnMaturity;//The amount of Sync returned to the user on maturation of the given Cbond. mapping(uint256 => uint256) public timestampById;//The time the given Cbond was created. mapping(uint256 => bool) public gradualDivsById;//Whether the given Cbond awards dividends quarterly. mapping(uint256 => uint256) public lastDivsCashoutById;//For Quarterly Cbonds, this variable represents the last cashout timestamp. mapping(uint256 => uint256) public totalDivsCashoutById;//For Quarterly Cbonds, the total dividends cashed out to date. Frontend use only, not used for calculations within the contract. mapping(uint256 => uint256) public termLengthById;//Length of term in seconds for the given Cbond. //constant and pseudo-constant (never changed after constructor) values uint256 constant public PERCENTAGE_PRECISION=10000;//Divide percentages by this to get the real multiplier. uint256 constant public INCENTIVE_MAX_PERCENT=220;//2.2%, the maximum value the liquidity incentive rate can be. uint256 constant public MAX_SYNC_GLOBAL=100000 * (10 ** 18);//Maximum Sync in a Cbond. Cbonds with higher amounts of Sync cannot be created. uint256 constant public QUARTER_LENGTH=90 days;//The length of a quarter, the interval of time between quarterly dividends. uint256 public STARTING_TIME=block.timestamp;//The time the contract was deployed. uint256 constant public BASE_INTEREST_RATE_START=220;//2.2%, starting value for base interest rate. uint256 constant public MINIMUM_BASE_INTEREST_RATE=10;//0.1%, the minimum value base interest rate can be. uint256 constant public MAXIMUM_BASE_INTEREST_RATE=4500;//45%, the maximum value base interest rate can be. uint256[] public LUCKY_EXTRAS=[500,1000];//Bonus interest awarded to user on creating lucky and extra lucky Cbonds. uint256 public YEAR_LENGTH=360 days;//Time length of approximately 1 year uint256[] public TERM_DURATIONS=[90 days,180 days,360 days,720 days,1080 days];//Possible term durations for Cbonds, index values corresponding to the following variables: uint256[] public DURATION_MODIFIERS=[825,1650,3300,6600,10000];//The percentage values used as duration modifiers for the given term lengths. uint256[] public DURATION_CALC_LOOPS=[0,0,3,7,11];//Number of loops for the duration rate formula approximation function, for the given term duration. mapping(uint256 => uint256) public INDEX_BY_DURATION;//Mapping of term durations to index values, as relates to the above variables. uint256 public RISK_FACTOR = 5;//Constant used in duration rate calculation //Index variables for tracking uint256 public lastDaySyncSupplyUpdated=0;//The previously recorded day on which the supply of Sync was last recorded into syncSupplyByDay. uint256 public currentDaySyncSupplyUpdated=0;//The day on which the supply of Sync was last recorded into syncSupplyByDay. mapping(address => mapping(uint256 => uint256)) public cbondsHeldByUser;//Mapping of cbond ids held by user. The second mapping is a list, length given by cbondsHeldByUserCursor. mapping(address => uint256) public cbondsHeldByUserCursor;//The number of Cbonds held by the given user. mapping(address => uint256) public lastDayTokenSupplyUpdated;//The previously recorded day on which the supply of the given token was last recorded into liqTokenTotalsByDay. mapping(address => uint256) public currentDayTokenSupplyUpdated;//The day on which the supply of the given token was last recorded into liqTokenTotalsByDay. mapping(uint256 => uint256) public syncSupplyByDay;//The recorded total supply of the Sync token for the given day. This value is written once and thereafter cannot be changed for a given day. mapping(uint256 => uint256) public interestRateByDay;//The recorded base interest rate for the given day. This value is written once and thereafter cannot be changed for a given day, and is recorded simultaneously with syncSupplyByDay. mapping(address => mapping(uint256 => uint256)) public liqTokenTotalsByDay;//The recorded total for the given liquidity token on the given day. This value is written once and thereafter cannot be changed for a given token/day. uint256 public _currentTokenId = 0;//Variable for tracking next NFT identifier. //Read only tracking variables (not used within the smart contract) mapping(uint256 => uint256) public cbondsMaturingByDay;//Mapping of days to number of cbonds maturing that day. //admin adjustable values mapping(address => bool) public tokenAccepted;//Whether a given liquidity token has been approved for use by admins. Cbonds can only be created using tokens listed here. uint256 public syncMinimum = 25 * (10 ** 18);//Cbonds cannot be created unless at least this amount of Sync is being included in them. bool public luckyEnabled = true;//Whether it is possible to create Lucky Cbonds //external contracts Oracle public priceChecker;//Used to determine the ratio in price between Sync and a given liquidity token. The value returned should not significantly affect user incentives and does not need to be guaranteed not to be exploitable by the user. Contract can be replaced by admin. Sync syncToken;//The Sync token contract. Sync is contained in every Cbond and is minted to provide interest on Cbonds. constructor(Oracle o,Sync s) public Ownable() ERC721("CBOND","CBOND"){ priceChecker=o; syncToken=s; syncSupplyByDay[0]=syncToken.totalSupply(); interestRateByDay[0]=BASE_INTEREST_RATE_START; _setBaseURI("api.syncbond.com"); for(uint256 i=0;i<TERM_DURATIONS.length;i++){ INDEX_BY_DURATION[TERM_DURATIONS[i]]=i; } } /* Admin functions */ /* Admin function to set the base URI for metadata access. */ function setBaseURI(string calldata baseURI_) external onlyOwner{ _setBaseURI(baseURI_); } /* Admin function to set liquidity tokens which may be used to create Cbonds. */ function setLiquidityTokenAccepted(address token,bool accepted) external onlyOwner{ tokenAccepted[token]=accepted; } /* Admin function to set liquidity tokens which may be used to create Cbonds. */ function setLiquidityTokenAcceptedMulti(address[] calldata tokens,bool accepted) external onlyOwner{ for(uint256 i=0;i<tokens.length;i++){ tokenAccepted[tokens[i]]=accepted; } } /* Admin function to reduce the minimum amount of Sync that can be used to create a Cbond. */ function setSyncMinimum(uint256 newMinimum) public onlyOwner{ require(newMinimum<syncMinimum,"increasing minimum sync required is not permitted"); syncMinimum=newMinimum; } /* Admin function to change the price oracle. */ function setPriceOracle(Oracle o) external onlyOwner{ priceChecker=o; } /* Admin function to toggle on/off the lucky bonus. */ function toggleLuckyBonus(bool enabled) external onlyOwner{ luckyEnabled=enabled; } /* Admin function for updating the daily Sync total supply and token supply for various tokens, for use in case of low activity. */ function recordSyncAndTokens(address[] calldata tokens) external onlyOwner{ recordSyncSupply(); for(uint256 i=0;i<tokens.length;i++){ recordTokenSupply(tokens[i]); } } /* Retrieves available dividends for the given token. Dividends accrue every 3 months. */ function cashOutDivs(uint256 tokenId) external{ require(msg.sender==ownerOf(tokenId),"only token owner can call this"); require(gradualDivsById[tokenId],"must be in quarterly dividends mode"); //record current Sync supply and liquidity token supply for the day if needed recordSyncSupply(); recordTokenSupply(lAddrById[tokenId]); //reward user with appropriate amount. If none is due it will provide an amount of 0 tokens. uint256 divs=dividendsOf(tokenId); syncToken._mint(msg.sender,divs); //register the timestamp of this transaction so future div payouts can be accurately calculated lastDivsCashoutById[tokenId]=block.timestamp; //update read variables totalDivsCashoutById[tokenId]=totalDivsCashoutById[tokenId].add(divs); emit DivsPaid(lAddrById[tokenId],divs,tokenId); } /* Returns liquidity tokens, mints Sync to pay back initial amount plus rewards. */ function matureCBOND(uint256 tokenId) public{ require(msg.sender==ownerOf(tokenId),"only token owner can call this"); require(block.timestamp>termLengthById[tokenId].add(timestampById[tokenId]),"cbond term not yet completed"); //record current Sync supply and liquidity token supply for the day if needed recordSyncSupply(); recordTokenSupply(lAddrById[tokenId]); //amount of sync provided to user is initially deposited amount plus interest uint256 syncRetrieved=syncRewardedOnMaturity[tokenId]; //provide user with their Sync tokens and their initially deposited liquidity tokens uint256 beforeMint=syncToken.balanceOf(msg.sender); syncToken._mint(msg.sender,syncRetrieved); require(IERC20(lAddrById[tokenId]).transfer(msg.sender,lTokenAmountById[tokenId]),"transfer must succeed"); //update read only counter totalCBONDSCashedout=totalCBONDSCashedout.add(1); emit Matured(lAddrById[tokenId],syncRetrieved,lTokenAmountById[tokenId],tokenId); //burn the nft _burn(tokenId); } /* Public function for creating a new Cbond. */ function createCBOND(address liquidityToken,uint256 amount,uint256 syncMaximum,uint256 secondsInTerm,bool gradualDivs) external returns(uint256){ return _createCBOND(liquidityToken,amount,syncMaximum,secondsInTerm,gradualDivs,msg.sender); } /* Function for creating a new Cbond. User specifies a liquidity token and an amount, this is transferred from their account to this contract, along with a corresponding amount of Sync (transaction reverts if this is greater than the user provided maximum at the time of execution). A permitted term length is also provided, and whether the Cbond should provide gradual divs (Quarterly variety Cbond). */ function _createCBOND(address liquidityToken,uint256 amount,uint256 syncMaximum,uint256 secondsInTerm,bool gradualDivs,address sender) private returns(uint256){ require(tokenAccepted[liquidityToken],"liquidity token must be on the list of approved tokens"); //record current Sync supply and liquidity token supply for the day if needed recordSyncSupply(); recordTokenSupply(liquidityToken); //determine amount of Sync required, given the amount of liquidity tokens specified, and transfer that amount from the user uint256 liquidityValue=priceChecker.liquidityValues(liquidityToken); uint256 syncValue=priceChecker.syncValue(); //Since syncRequired is the exact amount of Sync that will be transferred from the user, integer division truncations propagating to other values derived from this one is the correct behavior. uint256 syncRequired=liquidityValue.mul(amount).div(syncValue); require(syncRequired>=syncMinimum,"input tokens too few, sync transferred must be above the minimum"); require(syncRequired<=syncMaximum,"price changed too much since transaction submitted"); require(syncRequired<=MAX_SYNC_GLOBAL,"CBOND amount too large"); syncToken.transferFrom(sender,address(this),syncRequired); require(IERC20(liquidityToken).transferFrom(sender,address(this),amount),"transfer must succeed"); //burn sync tokens provided syncToken.burn(syncRequired); //get the token id of the new NFT uint256 tokenId=_getNextTokenId(); //set all nft variables lAddrById[tokenId]=liquidityToken; syncPriceById[tokenId]=syncValue; syncAmountById[tokenId]=syncRequired; lTokenPriceById[tokenId]=liquidityValue; lTokenAmountById[tokenId]=amount; timestampById[tokenId]=block.timestamp; lastDivsCashoutById[tokenId]=block.timestamp; gradualDivsById[tokenId]=gradualDivs; termLengthById[tokenId]=secondsInTerm; //set the interest rate and final maturity withdraw amount setInterestRate(tokenId,syncRequired,liquidityToken,secondsInTerm,gradualDivs); //update global counters cbondsMaturingByDay[getDay(block.timestamp.add(secondsInTerm))]=cbondsMaturingByDay[getDay(block.timestamp.add(secondsInTerm))].add(1); cbondsHeldByUser[sender][cbondsHeldByUserCursor[sender]]=tokenId; cbondsHeldByUserCursor[sender]=cbondsHeldByUserCursor[sender].add(1); totalCBONDS=totalCBONDS.add(1); totalSYNCLocked=totalSYNCLocked.add(syncRequired); totalLiquidityLockedByPair[liquidityToken]=totalLiquidityLockedByPair[liquidityToken].add(amount); //create NFT _safeMint(sender,tokenId); _incrementTokenId(); //submit event emit Created(liquidityToken,syncRequired,amount,syncValue,liquidityValue,tokenId); return tokenId; } /* Creates a metadata string from a token id. Should not be used onchain. */ function putTogetherMetadataString(uint256 tokenId) public view returns(string memory){ //TODO: add the rest of the variables, separate with appropriate url variable separators for ease of use string memory isDivs=gradualDivsById[tokenId]?"true":"false"; return string(abi.encodePacked("/?tokenId=",tokenId.toString(),"&lAddr=",lAddrById[tokenId].toString(),"&syncPrice=", syncPriceById[tokenId].toString(),"&syncAmount=",syncAmountById[tokenId].toString(),"&mPayout=",syncRewardedOnMaturity[tokenId].toString(),"&lPrice=",lTokenPriceById[tokenId].toString(),"&lAmount=",lTokenAmountById[tokenId].toString(),"&startTime=",timestampById[tokenId].toString(),"&isDivs=",isDivs,"&termLength=",termLengthById[tokenId].toString(),"&divsNow=",dividendsOf(tokenId).toString())); } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); //this line altered from //string memory _tokenURI = _tokenURIs[tokenId]; //use of gas to manipulate strings can be avoided by putting them together at time of retrieval rather than in the token creation transaction. string memory _tokenURI = putTogetherMetadataString(tokenId); // If there is no base URI, return the token URI. if (bytes(baseURI()).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(baseURI(), _tokenURI)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(baseURI(), tokenId.toString())); } /* Increments a counter used to produce the identifier for the next token to be created. */ function _incrementTokenId() private { _currentTokenId=_currentTokenId.add(1); } /* view functions */ /* Returns the next unused token identifier. */ function _getNextTokenId() private view returns (uint256) { return _currentTokenId.add(1); } /* Convenience function to get the current block time directly from the contract. */ function getTime() public view returns(uint256){ return block.timestamp; } /* Returns the current dividends owed to the given token, payable to its current owner. */ function dividendsOf(uint256 tokenId) public view returns(uint256){ //determine the number of periods worth of divs the token owner is owed, by subtracting the current period by the period when divs were last withdrawn. require(lastDivsCashoutById[tokenId]>=timestampById[tokenId],"dof1"); uint256 lastCashoutInPeriod=lastDivsCashoutById[tokenId].sub(timestampById[tokenId]).div(QUARTER_LENGTH);//0 - first quarter, 1 - second, etc. This variable also represents the number of quarters previously cashed out require(block.timestamp>=timestampById[tokenId],"dof2"); uint256 currentCashoutInPeriod=block.timestamp.sub(timestampById[tokenId]).div(QUARTER_LENGTH); require(currentCashoutInPeriod>=lastCashoutInPeriod,"dof3"); uint256 periodsToCashout=currentCashoutInPeriod.sub(lastCashoutInPeriod); //only accrue divs before the maturation date. The final div payment will be paid as part of the matureCBOND transaction, so set the maximum number of periods to cash out be one less than the ultimate total. if(currentCashoutInPeriod>=termLengthById[tokenId].div(90 days)){ //possible for lastCashout period to be greater due to being able to cash out after CBOND has ended (which records lastCashout as being after that date, despite only paying out for earlier periods). In this case, set periodsToCashout to 0 and ultimately return 0, there are no divs left. if(lastCashoutInPeriod>termLengthById[tokenId].div(90 days).sub(1)){ periodsToCashout=0; } else{ periodsToCashout=termLengthById[tokenId].div(90 days).sub(1).sub(lastCashoutInPeriod); } } //multiply the number of periods to pay out with the amount of divs owed for one period. Note: if this is a Quarterly Cbond, syncInterestById will have been recorded as the interest per quarter, rather than the total interest for the Cbond, as with a normal Cbond. uint quarterlyDividend=syncInterestById[tokenId]; return periodsToCashout.mul(syncAmountById[tokenId]).mul(quarterlyDividend).div(PERCENTAGE_PRECISION); } /* Returns the amount of Sync needed to create a Cbond with the given amount of the given liquidity token. Consults the price oracle for the appropriate ratio. */ function getSyncRequiredForCreation(IERC20 liquidityToken,uint256 amount) external view returns(uint256){ return priceChecker.liquidityValues(address(liquidityToken)).mul(amount).div(priceChecker.syncValue()); } /* Set the sync rewarded on maturity and interest rate for the given CBOND */ function setInterestRate(uint256 tokenId,uint256 syncRequired,address liquidityToken,uint256 secondsInTerm,bool gradualDivs) private{ (uint256 lastSupply,uint256 currentSupply,uint256 lastTSupply,uint256 currentTSupply,uint256 lastInterestRate)=getSuppliesNow(liquidityToken); (uint256 interestRate,uint256 totalReturn)=getCbondTotalReturn(tokenId,syncRequired,liquidityToken,secondsInTerm,gradualDivs); syncRewardedOnMaturity[tokenId]=totalReturn; syncInterestById[tokenId]=interestRate; if(gradualDivs){ require(secondsInTerm>=TERM_DURATIONS[2],"dividend bearing CBONDs must be at least 1 year duration"); totalQuarterlyCBONDS=totalQuarterlyCBONDS.add(1); } } /* Following two functions work immediately after all the Cbond variables except the interest rate have been set, will be inaccurate other times. To be used as part of Cbond creation. */ /* Gets the amount of Sync for the given Cbond to return on maturity. */ function getCbondTotalReturn(uint256 tokenId,uint256 syncAmount,address liqAddr,uint256 duration,bool isDivs) public view returns(uint256 interestRate,uint256 totalReturn){ // This is an integer math translation of P*(1+I) where P is principle I is interest rate. The new, equivalent formula is P*(c+I*c)/c where c is a constant of amount PERCENTAGE_PRECISION. interestRate=getCbondInterestRateNow(liqAddr, duration,getLuckyExtra(tokenId),isDivs); totalReturn = syncAmount.mul(PERCENTAGE_PRECISION.add(interestRate)).div(PERCENTAGE_PRECISION); } /* Gets the interest rate for a Cbond given its relevant properties. */ function getCbondInterestRateNow( address liqAddr, uint256 duration, uint256 luckyExtra, bool quarterly) public view returns(uint256){ return getCbondInterestRate( duration, liqTokenTotalsByDay[liqAddr][lastDayTokenSupplyUpdated[liqAddr]], liqTokenTotalsByDay[liqAddr][getDay(block.timestamp)], syncSupplyByDay[lastDaySyncSupplyUpdated], syncSupplyByDay[getDay(block.timestamp)], interestRateByDay[lastDaySyncSupplyUpdated], luckyExtra, quarterly); } /* This returns the Cbond interest rate. Divide by PERCENTAGE_PRECISION to get the real rate. */ function getCbondInterestRate( uint256 duration, uint256 liqTotalLast, uint256 liqTotalCurrent, uint256 syncTotalLast, uint256 syncTotalCurrent, uint256 lastBaseInterestRate, uint256 luckyExtra, bool quarterly) public view returns(uint256){ uint256 liquidityPairIncentiveRate=getLiquidityPairIncentiveRate(liqTotalCurrent,liqTotalLast); uint256 baseInterestRate=getBaseInterestRate(lastBaseInterestRate,syncTotalCurrent,syncTotalLast); if(!quarterly){ return getDurationRate(duration,baseInterestRate.add(liquidityPairIncentiveRate).add(luckyExtra)); } else{ uint numYears=duration.div(YEAR_LENGTH); require(numYears>0,"invalid duration");//Quarterly Cbonds must have a duration 1 year or longer. uint numQuarters=duration.div(QUARTER_LENGTH); uint termModifier=RISK_FACTOR.mul(numYears.mul(4).sub(1)); //Interest rate is the sum of base interest rate, liquidity incentive rate, and risk/term based modifier. Because this is the Quarterly Cbond rate, we also divide by the number of quarters in the Cbond, to set the recorded rate to the amount withdrawable per quarter. return baseInterestRate.add(liquidityPairIncentiveRate).add(luckyExtra).add(termModifier); } } /* This returns the Lucky Extra bonus of the given Cbond. This is based on whether the id of the Cbond ends in two or three 7's, and whether admins have disabled this feature. */ function getLuckyExtra(uint256 tokenId) public view returns(uint256){ if(luckyEnabled){ if(tokenId.mod(100)==77){ return LUCKY_EXTRAS[0]; } if(tokenId.mod(1000)==777){ return LUCKY_EXTRAS[1]; } } return 0; } /* New implementation of duration modifier. Approximation of intended formula. */ function getDurationRate(uint duration, uint baseInterestRate) public view returns(uint){ require(duration==TERM_DURATIONS[0] || duration==TERM_DURATIONS[1] || duration==TERM_DURATIONS[2] || duration==TERM_DURATIONS[3] || duration==TERM_DURATIONS[4],"Invalid CBOND term length provided"); if(duration==TERM_DURATIONS[0]){ return baseInterestRate; } if(duration==TERM_DURATIONS[1]){ uint preExponential = PERCENTAGE_PRECISION.add(baseInterestRate).add(RISK_FACTOR); uint exponential = preExponential.mul(preExponential).div(PERCENTAGE_PRECISION); return exponential.sub(PERCENTAGE_PRECISION); } if(duration==TERM_DURATIONS[2]){//1 year uint preExponential = PERCENTAGE_PRECISION.add(baseInterestRate).add(RISK_FACTOR.mul(3)); uint exponential = preExponential.mul(preExponential).div(PERCENTAGE_PRECISION); for (uint8 i=0;i<2;i++) { exponential = exponential.mul(preExponential).div(PERCENTAGE_PRECISION); } return exponential.sub(PERCENTAGE_PRECISION); } if(duration==TERM_DURATIONS[3]){//2 years uint preExponential = PERCENTAGE_PRECISION.add(baseInterestRate).add(RISK_FACTOR.mul(7)); uint exponential = preExponential.mul(preExponential).div(PERCENTAGE_PRECISION); for (uint8 i=0;i<6;i++) { exponential = exponential.mul(preExponential).div(PERCENTAGE_PRECISION); } return exponential.sub(PERCENTAGE_PRECISION); } if(duration==TERM_DURATIONS[4]){//3 years uint preExponential = PERCENTAGE_PRECISION.add(baseInterestRate).add(RISK_FACTOR.mul(11)); uint exponential = preExponential.mul(preExponential).div(PERCENTAGE_PRECISION); for (uint8 i=0;i<10;i++) { exponential = exponential.mul(preExponential).div(PERCENTAGE_PRECISION); } return exponential.sub(PERCENTAGE_PRECISION); } } /* Returns the liquidity pair incentive rate. To use, multiply by a value then divide result by PERCENTAGE_PRECISION */ function getLiquidityPairIncentiveRate(uint256 totalToday,uint256 totalYesterday) public view returns(uint256){ //instead of reverting due to division by zero, if tokens in this contract go to zero give the max bonus if(totalToday==0){ return INCENTIVE_MAX_PERCENT; } return Math.min(INCENTIVE_MAX_PERCENT,INCENTIVE_MAX_PERCENT.mul(totalYesterday).div(totalToday)); } /* Returns the base interest rate, derived from the previous day interest rate, the current Sync total supply, and the previous day Sync total supply. */ function getBaseInterestRate(uint256 lastdayInterestRate,uint256 syncSupplyToday,uint256 syncSupplyLast) public pure returns(uint256){ return Math.min(MAXIMUM_BASE_INTEREST_RATE,Math.max(MINIMUM_BASE_INTEREST_RATE,lastdayInterestRate.mul(syncSupplyToday).div(syncSupplyLast))); } /* Returns the interest rate a Cbond with the given parameters would end up with if it were created. */ function getCbondInterestRateIfUpdated(address liqAddr,uint256 duration,uint256 luckyExtra,bool quarterly) public view returns(uint256){ (uint256 lastSupply,uint256 currentSupply,uint256 lastTSupply,uint256 currentTSupply,uint256 lastInterestRate)=getSuppliesIfUpdated(liqAddr); return getCbondInterestRate(duration,lastTSupply,currentTSupply,lastSupply,currentSupply,lastInterestRate,luckyExtra,quarterly); } /* Convenience function for frontend use which returns current and previous recorded Sync total supply, and tokens held for the provided token. */ function getSuppliesNow(address tokenAddr) public view returns(uint256 lastSupply,uint256 currentSupply,uint256 lastTSupply,uint256 currentTSupply,uint256 lastInterestRate){ currentSupply=syncSupplyByDay[currentDaySyncSupplyUpdated]; lastSupply=syncSupplyByDay[lastDaySyncSupplyUpdated]; lastInterestRate=interestRateByDay[lastDaySyncSupplyUpdated]; currentTSupply=liqTokenTotalsByDay[tokenAddr][currentDayTokenSupplyUpdated[tokenAddr]]; lastTSupply=liqTokenTotalsByDay[tokenAddr][lastDayTokenSupplyUpdated[tokenAddr]]; } /* Gets what the Sync and liquidity token current and last supplies would become, if updated now. Intended for frontend use. */ function getSuppliesIfUpdated(address tokenAddr) public view returns(uint256 lastSupply,uint256 currentSupply,uint256 lastTSupply,uint256 currentTSupply,uint256 lastInterestRate){ uint256 day=getDay(block.timestamp); if(liqTokenTotalsByDay[tokenAddr][getDay(block.timestamp)]==0){ currentTSupply=IERC20(tokenAddr).balanceOf(address(this)); lastTSupply=liqTokenTotalsByDay[tokenAddr][currentDayTokenSupplyUpdated[tokenAddr]]; } else{ currentTSupply=liqTokenTotalsByDay[tokenAddr][currentDayTokenSupplyUpdated[tokenAddr]]; lastTSupply=liqTokenTotalsByDay[tokenAddr][lastDayTokenSupplyUpdated[tokenAddr]]; } if(syncSupplyByDay[day]==0){ currentSupply=syncToken.totalSupply(); lastSupply=syncSupplyByDay[currentDaySyncSupplyUpdated]; //TODO: interest rate lastInterestRate=interestRateByDay[currentDaySyncSupplyUpdated]; } else{ currentSupply=syncSupplyByDay[currentDaySyncSupplyUpdated]; lastSupply=syncSupplyByDay[lastDaySyncSupplyUpdated]; lastInterestRate=interestRateByDay[lastDaySyncSupplyUpdated]; } } /* Function for recording the Sync total supply and base interest rate by day. Records only at the first time it is called in a given day (see getDay). */ function recordSyncSupply() public{ if(syncSupplyByDay[getDay(block.timestamp)]==0){ uint256 day=getDay(block.timestamp); syncSupplyByDay[day]=syncToken.totalSupply(); lastDaySyncSupplyUpdated=currentDaySyncSupplyUpdated; currentDaySyncSupplyUpdated=day; //interest rate interestRateByDay[day]=getBaseInterestRate(interestRateByDay[lastDaySyncSupplyUpdated],syncSupplyByDay[day],syncSupplyByDay[lastDaySyncSupplyUpdated]); } } /* Records the current amount of the given token held by this contract for the current day. Like recordSyncSupply, only records the first time it is called in a day. */ function recordTokenSupply(address tokenAddr) private{ if(liqTokenTotalsByDay[tokenAddr][getDay(block.timestamp)]==0){ uint256 day=getDay(block.timestamp); liqTokenTotalsByDay[tokenAddr][day]=IERC20(tokenAddr).balanceOf(address(this)); lastDayTokenSupplyUpdated[tokenAddr]=currentDayTokenSupplyUpdated[tokenAddr]; currentDayTokenSupplyUpdated[tokenAddr]=day; } } /* Gets the current day since the contract began. Starts at 1. */ function getDay(uint256 timestamp) public view returns(uint256){ return timestamp.sub(STARTING_TIME).div(24 hours).add(1); } /* Gets the current day since the contract began, at the current block time. */ function getDayNow() public view returns(uint256){ return getDay(block.timestamp); } }
Contract Security Audit
- Coin Fabrik - November 13th, 2020 - Security Audit Report
[{"inputs":[{"internalType":"contract Oracle","name":"o","type":"address"},{"internalType":"contract Sync","name":"s","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"syncAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"syncPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Created","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"syncReturned","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"DivsPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"syncReturned","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Matured","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BASE_INTEREST_RATE_START","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"DURATION_CALC_LOOPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"DURATION_MODIFIERS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INCENTIVE_MAX_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"INDEX_BY_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"LUCKY_EXTRAS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_BASE_INTEREST_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SYNC_GLOBAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINIMUM_BASE_INTEREST_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERCENTAGE_PRECISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"QUARTER_LENGTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RISK_FACTOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STARTING_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"TERM_DURATIONS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YEAR_LENGTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_currentTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"cashOutDivs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"cbondsHeldByUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"cbondsHeldByUserCursor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"cbondsMaturingByDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"liquidityToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"syncMaximum","type":"uint256"},{"internalType":"uint256","name":"secondsInTerm","type":"uint256"},{"internalType":"bool","name":"gradualDivs","type":"bool"}],"name":"createCBOND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentDaySyncSupplyUpdated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"currentDayTokenSupplyUpdated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"dividendsOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"lastdayInterestRate","type":"uint256"},{"internalType":"uint256","name":"syncSupplyToday","type":"uint256"},{"internalType":"uint256","name":"syncSupplyLast","type":"uint256"}],"name":"getBaseInterestRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"liqTotalLast","type":"uint256"},{"internalType":"uint256","name":"liqTotalCurrent","type":"uint256"},{"internalType":"uint256","name":"syncTotalLast","type":"uint256"},{"internalType":"uint256","name":"syncTotalCurrent","type":"uint256"},{"internalType":"uint256","name":"lastBaseInterestRate","type":"uint256"},{"internalType":"uint256","name":"luckyExtra","type":"uint256"},{"internalType":"bool","name":"quarterly","type":"bool"}],"name":"getCbondInterestRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"liqAddr","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"luckyExtra","type":"uint256"},{"internalType":"bool","name":"quarterly","type":"bool"}],"name":"getCbondInterestRateIfUpdated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"liqAddr","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"luckyExtra","type":"uint256"},{"internalType":"bool","name":"quarterly","type":"bool"}],"name":"getCbondInterestRateNow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"syncAmount","type":"uint256"},{"internalType":"address","name":"liqAddr","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"bool","name":"isDivs","type":"bool"}],"name":"getCbondTotalReturn","outputs":[{"internalType":"uint256","name":"interestRate","type":"uint256"},{"internalType":"uint256","name":"totalReturn","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"getDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDayNow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"baseInterestRate","type":"uint256"}],"name":"getDurationRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"totalToday","type":"uint256"},{"internalType":"uint256","name":"totalYesterday","type":"uint256"}],"name":"getLiquidityPairIncentiveRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getLuckyExtra","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddr","type":"address"}],"name":"getSuppliesIfUpdated","outputs":[{"internalType":"uint256","name":"lastSupply","type":"uint256"},{"internalType":"uint256","name":"currentSupply","type":"uint256"},{"internalType":"uint256","name":"lastTSupply","type":"uint256"},{"internalType":"uint256","name":"currentTSupply","type":"uint256"},{"internalType":"uint256","name":"lastInterestRate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddr","type":"address"}],"name":"getSuppliesNow","outputs":[{"internalType":"uint256","name":"lastSupply","type":"uint256"},{"internalType":"uint256","name":"currentSupply","type":"uint256"},{"internalType":"uint256","name":"lastTSupply","type":"uint256"},{"internalType":"uint256","name":"currentTSupply","type":"uint256"},{"internalType":"uint256","name":"lastInterestRate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"liquidityToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getSyncRequiredForCreation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"gradualDivsById","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"interestRateByDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lAddrById","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lTokenAmountById","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lTokenPriceById","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastDaySyncSupplyUpdated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastDayTokenSupplyUpdated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastDivsCashoutById","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"liqTokenTotalsByDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"luckyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"matureCBOND","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceChecker","outputs":[{"internalType":"contract Oracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"putTogetherMetadataString","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"recordSyncAndTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"recordSyncSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"bool","name":"accepted","type":"bool"}],"name":"setLiquidityTokenAccepted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"bool","name":"accepted","type":"bool"}],"name":"setLiquidityTokenAcceptedMulti","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract Oracle","name":"o","type":"address"}],"name":"setPriceOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMinimum","type":"uint256"}],"name":"setSyncMinimum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"syncAmountById","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"syncInterestById","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"syncMinimum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"syncPriceById","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"syncRewardedOnMaturity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"syncSupplyByDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"termLengthById","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"timestampById","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"toggleLuckyBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenAccepted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCBONDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCBONDSCashedout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalDivsCashoutById","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalLiquidityLockedByPair","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalQuarterlyCBONDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSYNCLocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6000600b819055600c819055600d819055600e5542601c5560c06040526101f460809081526103e860a0526200003a90601d90600262000495565b506301da9c00601e8190556040805160a0810182526276a700815262ed4e006020820152908101919091526303b53800606082015263058fd40060808201526200008990601f906005620004eb565b506040805160a0810182526103398152610672602080830191909152610ce4928201929092526119c860608201526127106080820152620000cd9190600562000495565b506040805160a0810182526000808252602082015260039181019190915260076060820152600b60808201526200010990602190600562000531565b506005602355600060248190556025819055602d5568015af1d78b58c400006030556031805460ff191660011790553480156200014557600080fd5b5060405162005e6a38038062005e6a833981810160405260408110156200016b57600080fd5b50805160209182015160408051808201825260058082526410d093d39160da1b82870181905283518085019094529083529482019490945291929091620001b96301ffc9a760e01b620003f3565b8151620001ce90600690602085019062000574565b508051620001e490600790602084019062000574565b50620001f76380ac58cd60e01b620003f3565b62000209635b5e139f60e01b620003f3565b6200021b63780e9d6360e01b620003f3565b50600090506200022a62000478565b600a80546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060318054610100600160a81b0319166101006001600160a01b038581169190910291909117909155603280546001600160a01b0319168383161790819055604080516318160ddd60e01b8152905191909216916318160ddd916004808301926020929190829003018186803b158015620002f157600080fd5b505afa15801562000306573d6000803e3d6000fd5b505050506040513d60208110156200031d57600080fd5b5051600080527f25a1a901705ed15d5376e82511cff743d9474883c82d145cebcc7811e0424a9c55602b602090815260dc7fe18c65fb8491ea105d3652ed62258476aaccd771ae89682addbba12f33acc62a5560408051808201909152601081526f6170692e73796e63626f6e642e636f6d60801b91810191909152620003a4906200047c565b60005b601f54811015620003ea578060226000601f8481548110620003c557fe5b60009182526020808320909101548352820192909252604001902055600101620003a7565b505050620005fe565b6001600160e01b0319808216141562000453576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b80516200049190600990602084019062000574565b5050565b828054828255906000526020600020908101928215620004d9579160200282015b82811115620004d9578251829061ffff16905591602001919060010190620004b6565b50620004e7929150620005e7565b5090565b828054828255906000526020600020908101928215620004d9579160200282015b82811115620004d9578251829063ffffffff169055916020019190600101906200050c565b828054828255906000526020600020908101928215620004d9579160200282015b82811115620004d9578251829060ff1690559160200191906001019062000552565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620005b757805160ff1916838001178555620004d9565b82800160010185558215620004d9579182015b82811115620004d9578251825591602001919060010190620005ca565b5b80821115620004e75760008155600101620005e8565b61585c806200060e6000396000f3fe608060405234801561001057600080fd5b50600436106105195760003560e01c8063715018a6116102a4578063be00783211610172578063e256888f116100d9578063f2fde38b11610092578063f2fde38b146110e9578063f5304cb01461110f578063f5a699c114611149578063f9f27d4614611151578063fc9dbb6d146111aa578063fe29d449146111b257610519565b8063e256888f14611043578063e4a4ebf61461104b578063e985e9c514611068578063eac8007c14611096578063ec2944ae146110c4578063f06fe216146110cc57610519565b8063ccf2e5521161012b578063ccf2e55214610f77578063cdf3e7da14610f9a578063d1dbb0b714610fb7578063d351c4ab14610fbf578063d631ea9114610fdc578063da43eab614610ff957610519565b8063be00783214610eb7578063c3f4d79f14610f25578063c4d99b0e14610f2d578063c87b56dd14610f35578063c963483c14610f52578063cabd9fed14610f5a57610519565b806391c2b6b711610216578063a9c3eb52116101cf578063a9c3eb5214610d83578063abc63d0014610da0578063aedf795e14610da8578063b0b941c014610dce578063b88d4fde14610dd6578063ba9359af14610e9a57610519565b806391c2b6b714610c9257806395d89b4114610c9a5780639624462d14610ca2578063981cf1dd14610d125780639ca3a9c614610d2f578063a22cb46514610d5557610519565b806387549182116102685780638754918214610bf75780638b2bc0e114610bca5780638b9c5bc714610c145780638da5cb5b14610c4e5780638dd0543e14610c565780638e6827be14610c7557610519565b8063715018a614610ba557806378b220be14610bad57806378d45de014610bca5780637f0936b714610bd257806382927e0214610bef57610519565b806336397d6c116103ec5780635033fdfc116103535780635de512b11161030c5780635de512b114610b185780636352211e14610b2057806365c7284014610b3d57806366eba03114610b5a5780636c0360eb14610b7757806370a0823114610b7f57610519565b80635033fdfc14610a13578063530e784f14610a305780635365ce1c14610a56578063557ed1ba14610a7c57806355a3194d14610a8457806355f804b314610aaa57610519565b80634789a244116103a55780634789a244146109865780634ab5f8a5146109a35780634ccaec7e146109c95780634e2dc41f146109d15780634e589c84146109d95780634f6ccce7146109f657610519565b806336397d6c146108b65780633ea9d8e3146108e25780633ee42f80146108ea5780633f494a311461091657806342842e0e14610933578063461648a71461096957610519565b80630caf7ebf116104905780632679c246116104495780632679c246146107b15780632950d599146108025780632f745c591461081f5780632fb7d9791461084b57806330491e8214610853578063337802911461089357610519565b80630caf7ebf146106f0578063162660591461070d5780631653358f1461072a57806318160ddd1461074757806323b872dd1461074f57806324182a9e1461078557610519565b806306fdde03116104e257806306fdde03146105df578063072b263e1461065c578063081812fc14610679578063095ea7b3146106b25780630afbcda5146106e05780630b584040146106e857610519565b8062ec11c31461051e5780630144cf1b1461055657806301ffc9a71461057f578063042ec6fd146105ba57806304769930146105d7575b600080fd5b6105446004803603602081101561053457600080fd5b50356001600160a01b03166111cf565b60408051918252519081900360200190f35b6105446004803603606081101561056c57600080fd5b50803590602081013590604001356111e1565b6105a66004803603602081101561059557600080fd5b50356001600160e01b031916611216565b604080519115158252519081900360200190f35b610544600480360360208110156105d057600080fd5b5035611239565b61054461124b565b6105e7611259565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610621578181015183820152602001610609565b50505050905090810190601f16801561064e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6105446004803603602081101561067257600080fd5b50356112ef565b6106966004803603602081101561068f57600080fd5b5035611301565b604080516001600160a01b039092168252519081900360200190f35b6106de600480360360408110156106c857600080fd5b506001600160a01b038135169060200135611363565b005b61054461143e565b610544611444565b6105446004803603602081101561070657600080fd5b5035611454565b6105446004803603602081101561072357600080fd5b5035611472565b6105446004803603602081101561074057600080fd5b5035611484565b610544611496565b6106de6004803603606081101561076557600080fd5b506001600160a01b038135811691602081013590911690604001356114a2565b6105446004803603604081101561079b57600080fd5b506001600160a01b0381351690602001356114f9565b6107d7600480360360208110156107c757600080fd5b50356001600160a01b0316611516565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b6105446004803603602081101561081857600080fd5b503561173e565b6105446004803603604081101561083557600080fd5b506001600160a01b03813516906020013561174b565b610544611776565b610544600480360360a081101561086957600080fd5b506001600160a01b038135169060208101359060408101359060608101359060800135151561177c565b610544600480360360408110156108a957600080fd5b5080359060200135611796565b610544600480360360408110156108cc57600080fd5b506001600160a01b038135169060200135611a8b565b610544611aa8565b6105446004803603604081101561090057600080fd5b506001600160a01b038135169060200135611aae565b6105446004803603602081101561092c57600080fd5b5035611bb5565b6106de6004803603606081101561094957600080fd5b506001600160a01b03813581169160208101359091169060400135611bc7565b6106966004803603602081101561097f57600080fd5b5035611be2565b6105446004803603602081101561099c57600080fd5b5035611bfd565b6107d7600480360360208110156109b957600080fd5b50356001600160a01b0316611c0a565b610544611c73565b610544611c78565b6106de600480360360208110156109ef57600080fd5b5035611c7e565b61054460048036036020811015610a0c57600080fd5b5035611fdc565b6106de60048036036020811015610a2957600080fd5b5035611ff2565b6106de60048036036020811015610a4657600080fd5b50356001600160a01b031661208f565b61054460048036036020811015610a6c57600080fd5b50356001600160a01b031661210f565b610544612121565b61054460048036036020811015610a9a57600080fd5b50356001600160a01b0316612125565b6106de60048036036020811015610ac057600080fd5b810190602081018135600160201b811115610ada57600080fd5b820183602082011115610aec57600080fd5b803590602001918460018302840111600160201b83111715610b0d57600080fd5b509092509050612137565b6105446121d2565b61069660048036036020811015610b3657600080fd5b50356121d9565b61054460048036036020811015610b5357600080fd5b5035612201565b61054460048036036020811015610b7057600080fd5b5035612224565b6105e7612425565b61054460048036036020811015610b9557600080fd5b50356001600160a01b0316612486565b6106de6124ee565b61054460048036036020811015610bc357600080fd5b5035612590565b61054461259d565b61054460048036036020811015610be857600080fd5b50356125a2565b6105a66125b4565b61054460048036036020811015610c0d57600080fd5b50356125bd565b61054460048036036080811015610c2a57600080fd5b506001600160a01b03813516906020810135906040810135906060013515156125cf565b61069661260b565b6106de60048036036020811015610c6c57600080fd5b5035151561261a565b6105e760048036036020811015610c8b57600080fd5b5035612685565b610544612bfd565b6105e7612c03565b6106de60048036036040811015610cb857600080fd5b810190602081018135600160201b811115610cd257600080fd5b820183602082011115610ce457600080fd5b803590602001918460208302840111600160201b83111715610d0557600080fd5b9193509150351515612c64565b61054460048036036020811015610d2857600080fd5b5035612d17565b61054460048036036020811015610d4557600080fd5b50356001600160a01b0316612d29565b6106de60048036036040811015610d6b57600080fd5b506001600160a01b0381351690602001351515612d3b565b61054460048036036020811015610d9957600080fd5b5035612e40565b610544612e52565b6105a660048036036020811015610dbe57600080fd5b50356001600160a01b0316612e58565b610544612e6d565b6106de60048036036080811015610dec57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610e2657600080fd5b820183602082011115610e3857600080fd5b803590602001918460018302840111600160201b83111715610e5957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612e73945050505050565b61054460048036036020811015610eb057600080fd5b5035612ecb565b6106de60048036036020811015610ecd57600080fd5b810190602081018135600160201b811115610ee757600080fd5b820183602082011115610ef957600080fd5b803590602001918460208302840111600160201b83111715610f1a57600080fd5b509092509050612edd565b610544612f74565b610544612f7a565b6105e760048036036020811015610f4b57600080fd5b5035612f80565b610544613176565b61054460048036036020811015610f7057600080fd5b503561317c565b61054460048036036040811015610f8d57600080fd5b508035906020013561318e565b6106de60048036036020811015610fb057600080fd5b50356131b0565b61054461339c565b61054460048036036020811015610fd557600080fd5b50356133a2565b61054460048036036020811015610ff257600080fd5b50356133b4565b610544600480360361010081101561101057600080fd5b5080359060208101359060408101359060608101359060808101359060a08101359060c08101359060e0013515156133c6565b6105446134bf565b6105a66004803603602081101561106157600080fd5b50356134c5565b6105a66004803603604081101561107e57600080fd5b506001600160a01b03813581169160200135166134da565b6106de600480360360408110156110ac57600080fd5b506001600160a01b0381351690602001351515613508565b61069661358b565b610544600480360360208110156110e257600080fd5b503561359f565b6106de600480360360208110156110ff57600080fd5b50356001600160a01b03166135b1565b6105446004803603608081101561112557600080fd5b506001600160a01b03813516906020810135906040810135906060013515156136aa565b610544613756565b611191600480360360a081101561116757600080fd5b508035906020810135906001600160a01b036040820135169060608101359060800135151561375c565b6040805192835260208301919091528051918290030190f35b6106de61379b565b610544600480360360208110156111c857600080fd5b5035613899565b600f6020526000908152604090205481565b600061120c611194611207600a611202866111fc8a8a613905565b9061395e565b6139a0565b6139b7565b90505b9392505050565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60226020526000908152604090205481565b69152d02c7e14af680000081565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156112e55780601f106112ba576101008083540402835291602001916112e5565b820191906000526020600020905b8154815290600101906020018083116112c857829003601f168201915b5050505050905090565b60126020526000908152604090205481565b600061130c826139c6565b6113475760405162461bcd60e51b815260040180806020018281038252602c8152602001806156ca602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061136e826121d9565b9050806001600160a01b0316836001600160a01b031614156113c15760405162461bcd60e51b815260040180806020018281038252602181526020018061576e6021913960400191505060405180910390fd5b806001600160a01b03166113d36139d3565b6001600160a01b031614806113f457506113f4816113ef6139d3565b6134da565b61142f5760405162461bcd60e51b81526004018080602001828103825260388152602001806155fc6038913960400191505060405180910390fd5b61143983836139d7565b505050565b600c5481565b600061144f42612201565b905090565b6021818154811061146157fe5b600091825260209091200154905081565b601a6020526000908152604090205481565b601b6020526000908152604090205481565b600061144f6002613a45565b6114b36114ad6139d3565b82613a50565b6114ee5760405162461bcd60e51b815260040180806020018281038252603181526020018061578f6031913960400191505060405180910390fd5b611439838383613aec565b602c60209081526000928352604080842090915290825290205481565b60008060008060008061152842612201565b6001600160a01b0388166000908152602c6020526040812091925061154c42612201565b8152602001908152602001600020546000141561160957604080516370a0823160e01b815230600482015290516001600160a01b038916916370a08231916024808301926020929190829003018186803b1580156115a957600080fd5b505afa1580156115bd573d6000803e3d6000fd5b505050506040513d60208110156115d357600080fd5b50516001600160a01b0388166000908152602c60209081526040808320602983528184205484529091529020549450925061164d565b6001600160a01b0387166000818152602c60209081526040808320602983528184205484528083528184205494845260288352818420548452909152902054945092505b6000818152602a602052604090205461170557603260009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156116ae57600080fd5b505afa1580156116c2573d6000803e3d6000fd5b505050506040513d60208110156116d857600080fd5b50516025546000908152602a6020908152604080832054602b909252909120549097509095509150611734565b6025546000908152602a6020908152604080832054602454845281842054602b90935292205490975090955091505b5091939590929450565b601f818154811061146157fe5b6001600160a01b038216600090815260016020526040812061176d9083613c38565b90505b92915050565b600d5481565b600061178c868686868633613c44565b9695505050505050565b6000601f6000815481106117a657fe5b90600052602060002001548314806117d55750601f6001815481106117c757fe5b906000526020600020015483145b806117f75750601f6002815481106117e957fe5b906000526020600020015483145b806118195750601f60038154811061180b57fe5b906000526020600020015483145b8061183b5750601f60048154811061182d57fe5b906000526020600020015483145b6118765760405162461bcd60e51b81526004018080602001828103825260228152602001806155526022913960400191505060405180910390fd5b601f60008154811061188457fe5b906000526020600020015483141561189d575080611770565b601f6001815481106118ab57fe5b9060005260206000200154831415611904576023546000906118d9906118d361271086614311565b90614311565b905060006118ed6127106111fc8480613905565b90506118fb8161271061436b565b92505050611770565b601f60028154811061191257fe5b906000526020600020015483141561199757600061194b61193f600360235461390590919063ffffffff16565b6118d361271086614311565b9050600061195f6127106111fc8480613905565b905060005b60028160ff16101561198a576119806127106111fc8486613905565b9150600101611964565b506118fb8161271061436b565b601f6003815481106119a557fe5b9060005260206000200154831415611a115760006119d261193f600760235461390590919063ffffffff16565b905060006119e66127106111fc8480613905565b905060005b60068160ff16101561198a57611a076127106111fc8486613905565b91506001016119eb565b601f600481548110611a1f57fe5b9060005260206000200154831415611770576000611a4c61193f600b60235461390590919063ffffffff16565b90506000611a606127106111fc8480613905565b905060005b600a8160ff16101561198a57611a816127106111fc8486613905565b9150600101611a65565b602660209081526000928352604080842090915290825290205481565b60245481565b600061176d603160019054906101000a90046001600160a01b03166001600160a01b031663ca1896ab6040518163ffffffff1660e01b815260040160206040518083038186803b158015611b0157600080fd5b505afa158015611b15573d6000803e3d6000fd5b505050506040513d6020811015611b2b57600080fd5b5051603154604080516326e91e5b60e11b81526001600160a01b03888116600483015291516111fc9388936101009091041691634dd23cb6916024808301926020929190829003018186803b158015611b8357600080fd5b505afa158015611b97573d6000803e3d6000fd5b505050506040513d6020811015611bad57600080fd5b505190613905565b60176020526000908152604090205481565b61143983838360405180602001604052806000815250612e73565b6010602052600090815260409020546001600160a01b031681565b601d818154811061146157fe5b6025546000908152602a6020908152604080832054602454845281842054602b8452828520546001600160a01b03909616808652602c85528386206029865284872054875280865284872054918752602886528487205487529094529190932054909492939092565b600a81565b600b5481565b611c87816121d9565b6001600160a01b0316336001600160a01b031614611cec576040805162461bcd60e51b815260206004820152601e60248201527f6f6e6c7920746f6b656e206f776e65722063616e2063616c6c20746869730000604482015290519081900360640190fd5b600081815260176020908152604080832054601b90925290912054611d1091614311565b4211611d63576040805162461bcd60e51b815260206004820152601c60248201527f63626f6e64207465726d206e6f742079657420636f6d706c6574656400000000604482015290519081900360640190fd5b611d6b61379b565b600081815260106020526040902054611d8c906001600160a01b03166143ad565b60008181526016602090815260408083205460325482516370a0823160e01b815233600482015292519194936001600160a01b03909116926370a082319260248083019392829003018186803b158015611de557600080fd5b505afa158015611df9573d6000803e3d6000fd5b505050506040513d6020811015611e0f57600080fd5b505160325460408051634e6ec24760e01b81523360048201526024810186905290519293506001600160a01b0390911691634e6ec2479160448082019260009290919082900301818387803b158015611e6757600080fd5b505af1158015611e7b573d6000803e3d6000fd5b5050506000848152601060209081526040808320546012835281842054825163a9059cbb60e01b8152336004820152602481019190915291516001600160a01b03909116945063a9059cbb93604480840194938390030190829087803b158015611ee457600080fd5b505af1158015611ef8573d6000803e3d6000fd5b505050506040513d6020811015611f0e57600080fd5b5051611f59576040805162461bcd60e51b81526020600482015260156024820152741d1c985b9cd9995c881b5d5cdd081cdd58d8d95959605a1b604482015290519081900360640190fd5b600d54611f67906001614311565b600d5560008381526010602090815260408083205460128352928190205481516001600160a01b0390941684529183018590528281019190915260608201859052517fe62db97c38b876a563d9152e3c9dae29a5a754f9c2348bf5ebaa66817b9768c79181900360800190a1611439836144b4565b600080611fea600284614581565b509392505050565b611ffa6139d3565b600a546001600160a01b0390811691161461204a576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b603054811061208a5760405162461bcd60e51b81526004018080602001828103825260318152602001806157c06031913960400191505060405180910390fd5b603055565b6120976139d3565b600a546001600160a01b039081169116146120e7576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b603180546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60286020526000908152604090205481565b4290565b60276020526000908152604090205481565b61213f6139d3565b600a546001600160a01b0390811691161461218f576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b6121ce82828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061459d92505050565b5050565b6276a70081565b60006117708260405180606001604052806029815260200161565e60299139600291906145b0565b600061177060016118d3620151806111fc601c548761436b90919063ffffffff16565b6000818152601760209081526040808320546019909252822054101561227a576040805162461bcd60e51b81526020600480830191909152602482015263646f663160e01b604482015290519081900360640190fd5b60008281526017602090815260408083205460199092528220546122a6916276a700916111fc9161436b565b6000848152601760205260409020549091504210156122f5576040805162461bcd60e51b815260206004808301919091526024820152633237b31960e11b604482015290519081900360640190fd5b600083815260176020526040812054612318906276a700906111fc90429061436b565b905081811015612358576040805162461bcd60e51b81526020600480830191909152602482015263646f663360e01b604482015290519081900360640190fd5b6000612364828461436b565b6000868152601b6020526040902054909150612383906276a70061395e565b82106123eb576000858152601b60205260409020546123b2906001906123ac906276a70061395e565b9061436b565b8311156123c1575060006123eb565b6000858152601b60205260409020546123e89084906123ac9060019082906276a70061395e565b90505b60008581526015602090815260408083205460149092529091205461178c90612710906111fc90849061241f908790613905565b90613905565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156112e55780601f106112ba576101008083540402835291602001916112e5565b60006001600160a01b0382166124cd5760405162461bcd60e51b815260040180806020018281038252602a815260200180615634602a913960400191505060405180910390fd5b6001600160a01b038216600090815260016020526040902061177090613a45565b6124f66139d3565b600a546001600160a01b03908116911614612546576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b6020818154811061146157fe5b60dc81565b60146020526000908152604090205481565b60315460ff1681565b60156020526000908152604090205481565b6000806000806000806125e18a611516565b945094509450945094506125fb8984848888868e8e6133c6565b955050505050505b949350505050565b600a546001600160a01b031690565b6126226139d3565b600a546001600160a01b03908116911614612672576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b6031805460ff1916911515919091179055565b600081815260186020526040902054606090819060ff166126c3576040518060400160405280600581526020016466616c736560d81b8152506126e1565b604051806040016040528060048152602001637472756560e01b8152505b90506126ec836145bd565b60008481526010602052604090205461270d906001600160a01b0316614698565b600085815260136020526040902054612725906145bd565b60008681526014602052604090205461273d906145bd565b600087815260166020526040902054612755906145bd565b60008881526011602052604090205461276d906145bd565b600089815260126020526040902054612785906145bd565b60008a81526017602052604090205461279d906145bd565b60008b8152601b602052604090205489906127b7906145bd565b6127c86127c38e612224565b6145bd565b6040516020018080692f3f746f6b656e49643d60b01b815250600a018c805190602001908083835b6020831061280f5780518252601f1990920191602091820191016127f0565b51815160209384036101000a600019018019909216911617905266266c416464723d60c81b919093019081528d516007909101928e0191508083835b6020831061286a5780518252601f19909201916020918201910161284b565b51815160209384036101000a60001901801990921691161790526a2673796e6350726963653d60a81b919093019081528c51600b909101928d0191508083835b602083106128c95780518252601f1990920191602091820191016128aa565b51815160209384036101000a60001901801990921691161790526b2673796e63416d6f756e743d60a01b919093019081528b51600c909101928c0191508083835b602083106129295780518252601f19909201916020918201910161290a565b51815160209384036101000a600019018019909216911617905268266d5061796f75743d60b81b919093019081528a516009909101928b0191508083835b602083106129865780518252601f199092019160209182019101612967565b51815160209384036101000a600019018019909216911617905267266c50726963653d60c01b9190930190815289516008909101928a0191508083835b602083106129e25780518252601f1990920191602091820191016129c3565b51815160209384036101000a600019018019909216911617905268266c416d6f756e743d60b81b919093019081528851600990910192890191508083835b60208310612a3f5780518252601f199092019160209182019101612a20565b51815160209384036101000a60001901801990921691161790526a26737461727454696d653d60a81b919093019081528751600b90910192880191508083835b60208310612a9e5780518252601f199092019160209182019101612a7f565b51815160209384036101000a600019018019909216911617905267266973446976733d60c01b919093019081528651600890910192870191508083835b60208310612afa5780518252601f199092019160209182019101612adb565b51815160209384036101000a60001901801990921691161790526b267465726d4c656e6774683d60a01b919093019081528551600c90910192860191508083835b60208310612b5a5780518252601f199092019160209182019101612b3b565b51815160209384036101000a60001901801990921691161790526826646976734e6f773d60b81b919093019081528451600990910192850191508083835b60208310612bb75780518252601f199092019160209182019101612b98565b6001836020036101000a0380198251168184511680821785525050505050509050019b505050505050505050505050604051602081830303815290604052915050919050565b61119481565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156112e55780601f106112ba576101008083540402835291602001916112e5565b612c6c6139d3565b600a546001600160a01b03908116911614612cbc576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b60005b82811015612d115781602f6000868685818110612cd857fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff1916911515919091179055600101612cbf565b50505050565b602b6020526000908152604090205481565b60296020526000908152604090205481565b612d436139d3565b6001600160a01b0316826001600160a01b03161415612da9576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000612db66139d3565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155612dfa6139d3565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b60166020526000908152604090205481565b601c5481565b602f6020526000908152604090205460ff1681565b60235481565b612e84612e7e6139d3565b83613a50565b612ebf5760405162461bcd60e51b815260040180806020018281038252603181526020018061578f6031913960400191505060405180910390fd5b612d118484848461478c565b60136020526000908152604090205481565b612ee56139d3565b600a546001600160a01b03908116911614612f35576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b612f3d61379b565b60005b8181101561143957612f6c838383818110612f5757fe5b905060200201356001600160a01b03166143ad565b600101612f40565b600e5481565b60305481565b6060612f8b826139c6565b612fc65760405162461bcd60e51b815260040180806020018281038252602f81526020018061573f602f913960400191505060405180910390fd5b6060612fd183612685565b9050612fdb612425565b51612fe7579050611234565b8051156130ae57612ff6612425565b816040516020018083805190602001908083835b602083106130295780518252601f19909201916020918201910161300a565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106130715780518252601f199092019160209182019101613052565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050611234565b6130b6612425565b6130bf846145bd565b6040516020018083805190602001908083835b602083106130f15780518252601f1990920191602091820191016130d2565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106131395780518252601f19909201916020918201910161311a565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b602d5481565b602e6020526000908152604090205481565b60008261319d575060dc611770565b61176d60dc611207856111fc8387613905565b6131b9816121d9565b6001600160a01b0316336001600160a01b03161461321e576040805162461bcd60e51b815260206004820152601e60248201527f6f6e6c7920746f6b656e206f776e65722063616e2063616c6c20746869730000604482015290519081900360640190fd5b60008181526018602052604090205460ff1661326b5760405162461bcd60e51b81526004018080602001828103825260238152602001806154656023913960400191505060405180910390fd5b61327361379b565b600081815260106020526040902054613294906001600160a01b03166143ad565b600061329f82612224565b60325460408051634e6ec24760e01b81523360048201526024810184905290519293506001600160a01b0390911691634e6ec2479160448082019260009290919082900301818387803b1580156132f557600080fd5b505af1158015613309573d6000803e3d6000fd5b5050506000838152601960209081526040808320429055601a909152902054613333915082614311565b6000838152601a602090815260408083209390935560108152908290205482516001600160a01b03909116815290810183905280820184905290517fa01485c3f383df7a4105bbf218690726737a2e8a99ca2ec3baabba071f880d909181900360600190a15050565b60255481565b602a6020526000908152604090205481565b60196020526000908152604090205481565b6000806133d3888a61318e565b905060006133e286888a6111e1565b905083613409576134008b6133fb876118d38587614311565b611796565b925050506134b3565b6000613420601e548d61395e90919063ffffffff16565b90506000811161346a576040805162461bcd60e51b815260206004820152601060248201526f34b73b30b634b210323ab930ba34b7b760811b604482015290519081900360640190fd5b60006134798d6276a70061395e565b9050600061349961349060016123ac866004613905565b60235490613905565b90506134ab816118d38a81888a614311565b955050505050505b98975050505050505050565b61271081565b60186020526000908152604090205460ff1681565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6135106139d3565b600a546001600160a01b03908116911614613560576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152602f60205260409020805460ff1916911515919091179055565b60315461010090046001600160a01b031681565b60116020526000908152604090205481565b6135b96139d3565b600a546001600160a01b03908116911614613609576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b6001600160a01b03811661364e5760405162461bcd60e51b815260040180806020018281038252602681526020018061552c6026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0384166000818152602c602081815260408084206028835281852054855280835290842054948452919052909161374d91869190846136ef42612201565b815260200190815260200160002054602a6000602454815260200190815260200160002054602a600061372142612201565b815260200190815260200160002054602b600060245481526020019081526020016000205489896133c6565b95945050505050565b601e5481565b600080613773858561376d8a613899565b866136aa565b915061378f6127106111fc6137888286614311565b8990613905565b90509550959350505050565b602a60006137a842612201565b815260200190815260200160002054600014156138975760006137ca42612201565b9050603260009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561381a57600080fd5b505afa15801561382e573d6000803e3d6000fd5b505050506040513d602081101561384457600080fd5b50516000828152602a60208181526040808420948555602580546024819055908790558452602b825280842054929091529254929091205461388692906111e1565b6000918252602b6020526040909120555b565b60315460009060ff16156138fd576138b28260646147de565b604d14156138da57601d6000815481106138c857fe5b90600052602060002001549050611234565b6138e6826103e86147de565b61030914156138fd57601d6001815481106138c857fe5b506000919050565b60008261391457506000611770565b8282028284828161392157fe5b041461176d5760405162461bcd60e51b81526004018080602001828103825260218152602001806156a96021913960400191505060405180910390fd5b600061176d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250614820565b6000818310156139b0578161176d565b5090919050565b60008183106139b0578161176d565b60006117706002836148c2565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190613a0c826121d9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611770826148ce565b6000613a5b826139c6565b613a965760405162461bcd60e51b815260040180806020018281038252602c815260200180615598602c913960400191505060405180910390fd5b6000613aa1836121d9565b9050806001600160a01b0316846001600160a01b03161480613adc5750836001600160a01b0316613ad184611301565b6001600160a01b0316145b80612603575061260381856134da565b826001600160a01b0316613aff826121d9565b6001600160a01b031614613b445760405162461bcd60e51b81526004018080602001828103825260298152602001806157166029913960400191505060405180910390fd5b6001600160a01b038216613b895760405162461bcd60e51b81526004018080602001828103825260248152602001806155746024913960400191505060405180910390fd5b613b94838383611439565b613b9f6000826139d7565b6001600160a01b0383166000908152600160205260409020613bc190826148d2565b506001600160a01b0382166000908152600160205260409020613be490826148de565b50613bf1600282846148ea565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061176d8383614900565b6001600160a01b0386166000908152602f602052604081205460ff16613c9b5760405162461bcd60e51b81526004018080602001828103825260368152602001806157f16036913960400191505060405180910390fd5b613ca361379b565b613cac876143ad565b6000603160019054906101000a90046001600160a01b03166001600160a01b0316634dd23cb6896040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613d1057600080fd5b505afa158015613d24573d6000803e3d6000fd5b505050506040513d6020811015613d3a57600080fd5b50516031546040805163ca1896ab60e01b815290519293506000926101009092046001600160a01b03169163ca1896ab91600480820192602092909190829003018186803b158015613d8b57600080fd5b505afa158015613d9f573d6000803e3d6000fd5b505050506040513d6020811015613db557600080fd5b505190506000613dc9826111fc858c613905565b9050603054811015613e0c5760405162461bcd60e51b81526004018080602001828103825260408152602001806154886040913960400191505060405180910390fd5b87811115613e4b5760405162461bcd60e51b81526004018080602001828103825260328152602001806154fa6032913960400191505060405180910390fd5b69152d02c7e14af6800000811115613ea3576040805162461bcd60e51b815260206004820152601660248201527543424f4e4420616d6f756e7420746f6f206c6172676560501b604482015290519081900360640190fd5b603254604080516323b872dd60e01b81526001600160a01b03888116600483015230602483015260448201859052915191909216916323b872dd9160648083019260209291908290030181600087803b158015613eff57600080fd5b505af1158015613f13573d6000803e3d6000fd5b505050506040513d6020811015613f2957600080fd5b5050604080516323b872dd60e01b81526001600160a01b038781166004830152306024830152604482018c90529151918c16916323b872dd916064808201926020929091908290030181600087803b158015613f8457600080fd5b505af1158015613f98573d6000803e3d6000fd5b505050506040513d6020811015613fae57600080fd5b5051613ff9576040805162461bcd60e51b81526020600482015260156024820152741d1c985b9cd9995c881b5d5cdd081cdd58d8d95959605a1b604482015290519081900360640190fd5b60325460408051630852cd8d60e31b81526004810184905290516001600160a01b03909216916342966c689160248082019260009290919082900301818387803b15801561404657600080fd5b505af115801561405a573d6000803e3d6000fd5b505050506000614068614964565b90508a6010600083815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550826013600083815260200190815260200160002081905550816014600083815260200190815260200160002081905550836011600083815260200190815260200160002081905550896012600083815260200190815260200160002081905550426017600083815260200190815260200160002081905550426019600083815260200190815260200160002081905550866018600083815260200190815260200160002060006101000a81548160ff02191690831515021790555087601b60008381526020019081526020016000208190555061418281838d8b8b614975565b6141ba6001602e600061419d614198428e614311565b612201565b81526020019081526020016000205461431190919063ffffffff16565b602e60006141cb614198428d614311565b815260208082019290925260409081016000908120939093556001600160a01b03891680845260268352818420602780855283862080548752918552928520869055935290525461421d906001614311565b6001600160a01b038716600090815260276020526040902055600b54614244906001614311565b600b55600e546142549083614311565b600e556001600160a01b038b166000908152600f602052604090205461427a908b614311565b6001600160a01b038c166000908152600f602052604090205561429d8682614a40565b6142a5614a5a565b604080516001600160a01b038d168152602081018490528082018c9052606081018590526080810186905260a0810183905290517fe3a1db668885195d6031940c63dab5bb4dff82e247d49771ed41930053932aa79181900360c00190a19a9950505050505050505050565b60008282018381101561176d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061176d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614a6d565b6001600160a01b0381166000908152602c60205260408120906143cf42612201565b815260200190815260200160002054600014156144b15760006143f142612201565b9050816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561444057600080fd5b505afa158015614454573d6000803e3d6000fd5b505050506040513d602081101561446a57600080fd5b50516001600160a01b0383166000818152602c6020908152604080832086845282528083209490945591815260298083528382208054602885529490922093909355919052555b50565b60006144bf826121d9565b90506144cd81600084611439565b6144d86000836139d7565b60008281526008602052604090205460026000196101006001841615020190911604156145165760008281526008602052604081206145169161536b565b6001600160a01b038116600090815260016020526040902061453890836148d2565b50614544600283614ac7565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008080806145908686614ad3565b9097909650945050505050565b80516121ce9060099060208401906153af565b600061120c848484614b4e565b6060816145e257506040805180820190915260018152600360fc1b6020820152611234565b8160005b81156145fa57600101600a820491506145e6565b60608167ffffffffffffffff8111801561461357600080fd5b506040519080825280601f01601f19166020018201604052801561463e576020820181803683370190505b50859350905060001982015b831561468f57600a840660300160f81b8282806001900393508151811061466d57fe5b60200101906001600160f81b031916908160001a905350600a8404935061464a565b50949350505050565b604080516028808252606082810190935282919060208201818036833701905050905060005b60148110156147855760008160130360080260020a856001600160a01b0316816146e457fe5b0460f81b9050600060108260f81c60ff16816146fc57fe5b0460f81b905060008160f81c6010028360f81c0360f81b905061471e82614bdb565b85856002028151811061472d57fe5b60200101906001600160f81b031916908160001a90535061474d81614bdb565b85856002026001018151811061475f57fe5b60200101906001600160f81b031916908160001a90535050600190920191506146be9050565b5092915050565b614797848484613aec565b6147a384848484614c0c565b612d115760405162461bcd60e51b81526004018080602001828103825260328152602001806154c86032913960400191505060405180910390fd5b600061176d83836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000815250614d74565b600081836148ac5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614871578181015183820152602001614859565b50505050905090810190601f16801561489e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816148b857fe5b0495945050505050565b600061176d8383614dd6565b5490565b600061176d8383614dee565b600061176d8383614eb4565b600061120c84846001600160a01b038516614efe565b815460009082106149425760405162461bcd60e51b81526004018080602001828103825260228152602001806154436022913960400191505060405180910390fd5b82600001828154811061495157fe5b9060005260206000200154905092915050565b602d5460009061144f906001614311565b600080600080600061498688611c0a565b945094509450945094506000806149a08c8c8c8c8c61375c565b60008e81526016602090815260408083208490556015909152902082905590925090508715614a3257601f6002815481106149d757fe5b9060005260206000200154891015614a205760405162461bcd60e51b81526004018080602001828103825260388152602001806155c46038913960400191505060405180910390fd5b600c54614a2e906001614311565b600c555b505050505050505050505050565b6121ce828260405180602001604052806000815250614f95565b602d54614a68906001614311565b602d55565b60008184841115614abf5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315614871578181015183820152602001614859565b505050900390565b600061176d8383614fe7565b815460009081908310614b175760405162461bcd60e51b81526004018080602001828103825260228152602001806156876022913960400191505060405180910390fd5b6000846000018481548110614b2857fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281614bac5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315614871578181015183820152602001614859565b50846000016001820381548110614bbf57fe5b9060005260206000209060020201600101549150509392505050565b6000600a60f883901c1015614bfb578160f81c60300160f81b9050611234565b8160f81c60570160f81b9050611234565b6000614c20846001600160a01b03166150bb565b614c2c57506001612603565b6060614d3a630a85bd0160e11b614c416139d3565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015614ca8578181015183820152602001614c90565b50505050905090810190601f168015614cd55780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016154c8603291396001600160a01b03881691906150c1565b90506000818060200190516020811015614d5357600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60008183614dc35760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315614871578181015183820152602001614859565b50828481614dcd57fe5b06949350505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015614eaa5783546000198083019190810190600090879083908110614e2157fe5b9060005260206000200154905080876000018481548110614e3e57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080614e6e57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611770565b6000915050611770565b6000614ec08383614dd6565b614ef657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611770565b506000611770565b600082815260018401602052604081205480614f6357505060408051808201825283815260208082018481528654600181810189556000898152848120955160029093029095019182559151908201558654868452818801909252929091205561120f565b82856000016001830381548110614f7657fe5b906000526020600020906002020160010181905550600091505061120f565b614f9f83836150d0565b614fac6000848484614c0c565b6114395760405162461bcd60e51b81526004018080602001828103825260328152602001806154c86032913960400191505060405180910390fd5b60008181526001830160205260408120548015614eaa578354600019808301919081019060009087908390811061501a57fe5b906000526020600020906002020190508087600001848154811061503a57fe5b60009182526020808320845460029093020191825560019384015491840191909155835482528983019052604090209084019055865487908061507957fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506117709350505050565b3b151590565b606061120c84846000856151fe565b6001600160a01b03821661512b576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b615134816139c6565b15615186576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61519260008383611439565b6001600160a01b03821660009081526001602052604090206151b490826148de565b506151c1600282846148ea565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060615209856150bb565b61525a576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106152995780518252601f19909201916020918201910161527a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146152fb576040519150601f19603f3d011682016040523d82523d6000602084013e615300565b606091505b509150915081156153145791506126039050565b8051156153245780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315614871578181015183820152602001614859565b50805460018160011615610100020316600290046000825580601f1061539157506144b1565b601f0160209004906000526020600020908101906144b1919061542d565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106153f057805160ff191683800117855561541d565b8280016001018555821561541d579182015b8281111561541d578251825591602001919060010190615402565b5061542992915061542d565b5090565b5b80821115615429576000815560010161542e56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64736d75737420626520696e20717561727465726c79206469766964656e6473206d6f6465696e70757420746f6b656e7320746f6f206665772c2073796e63207472616e73666572726564206d7573742062652061626f766520746865206d696e696d756d4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465727072696365206368616e67656420746f6f206d7563682073696e6365207472616e73616374696f6e207375626d69747465644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373496e76616c69642043424f4e44207465726d206c656e6774682070726f76696465644552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e6469766964656e642062656172696e672043424f4e4473206d757374206265206174206c6561737420312079656172206475726174696f6e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564696e6372656173696e67206d696e696d756d2073796e63207265717569726564206973206e6f74207065726d69747465646c697175696469747920746f6b656e206d757374206265206f6e20746865206c697374206f6620617070726f76656420746f6b656e73a2646970667358221220920a11587e11c5954c63453a26b930bb37c98e52a5c5922dd3fba8f4413dd70464736f6c634300060c00330000000000000000000000008fe07d8f851112eef0683bc3e2df32168bea5a4e000000000000000000000000b6ff96b8a8d214544ca0dbc9b33f7ad6503efd32
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106105195760003560e01c8063715018a6116102a4578063be00783211610172578063e256888f116100d9578063f2fde38b11610092578063f2fde38b146110e9578063f5304cb01461110f578063f5a699c114611149578063f9f27d4614611151578063fc9dbb6d146111aa578063fe29d449146111b257610519565b8063e256888f14611043578063e4a4ebf61461104b578063e985e9c514611068578063eac8007c14611096578063ec2944ae146110c4578063f06fe216146110cc57610519565b8063ccf2e5521161012b578063ccf2e55214610f77578063cdf3e7da14610f9a578063d1dbb0b714610fb7578063d351c4ab14610fbf578063d631ea9114610fdc578063da43eab614610ff957610519565b8063be00783214610eb7578063c3f4d79f14610f25578063c4d99b0e14610f2d578063c87b56dd14610f35578063c963483c14610f52578063cabd9fed14610f5a57610519565b806391c2b6b711610216578063a9c3eb52116101cf578063a9c3eb5214610d83578063abc63d0014610da0578063aedf795e14610da8578063b0b941c014610dce578063b88d4fde14610dd6578063ba9359af14610e9a57610519565b806391c2b6b714610c9257806395d89b4114610c9a5780639624462d14610ca2578063981cf1dd14610d125780639ca3a9c614610d2f578063a22cb46514610d5557610519565b806387549182116102685780638754918214610bf75780638b2bc0e114610bca5780638b9c5bc714610c145780638da5cb5b14610c4e5780638dd0543e14610c565780638e6827be14610c7557610519565b8063715018a614610ba557806378b220be14610bad57806378d45de014610bca5780637f0936b714610bd257806382927e0214610bef57610519565b806336397d6c116103ec5780635033fdfc116103535780635de512b11161030c5780635de512b114610b185780636352211e14610b2057806365c7284014610b3d57806366eba03114610b5a5780636c0360eb14610b7757806370a0823114610b7f57610519565b80635033fdfc14610a13578063530e784f14610a305780635365ce1c14610a56578063557ed1ba14610a7c57806355a3194d14610a8457806355f804b314610aaa57610519565b80634789a244116103a55780634789a244146109865780634ab5f8a5146109a35780634ccaec7e146109c95780634e2dc41f146109d15780634e589c84146109d95780634f6ccce7146109f657610519565b806336397d6c146108b65780633ea9d8e3146108e25780633ee42f80146108ea5780633f494a311461091657806342842e0e14610933578063461648a71461096957610519565b80630caf7ebf116104905780632679c246116104495780632679c246146107b15780632950d599146108025780632f745c591461081f5780632fb7d9791461084b57806330491e8214610853578063337802911461089357610519565b80630caf7ebf146106f0578063162660591461070d5780631653358f1461072a57806318160ddd1461074757806323b872dd1461074f57806324182a9e1461078557610519565b806306fdde03116104e257806306fdde03146105df578063072b263e1461065c578063081812fc14610679578063095ea7b3146106b25780630afbcda5146106e05780630b584040146106e857610519565b8062ec11c31461051e5780630144cf1b1461055657806301ffc9a71461057f578063042ec6fd146105ba57806304769930146105d7575b600080fd5b6105446004803603602081101561053457600080fd5b50356001600160a01b03166111cf565b60408051918252519081900360200190f35b6105446004803603606081101561056c57600080fd5b50803590602081013590604001356111e1565b6105a66004803603602081101561059557600080fd5b50356001600160e01b031916611216565b604080519115158252519081900360200190f35b610544600480360360208110156105d057600080fd5b5035611239565b61054461124b565b6105e7611259565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610621578181015183820152602001610609565b50505050905090810190601f16801561064e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6105446004803603602081101561067257600080fd5b50356112ef565b6106966004803603602081101561068f57600080fd5b5035611301565b604080516001600160a01b039092168252519081900360200190f35b6106de600480360360408110156106c857600080fd5b506001600160a01b038135169060200135611363565b005b61054461143e565b610544611444565b6105446004803603602081101561070657600080fd5b5035611454565b6105446004803603602081101561072357600080fd5b5035611472565b6105446004803603602081101561074057600080fd5b5035611484565b610544611496565b6106de6004803603606081101561076557600080fd5b506001600160a01b038135811691602081013590911690604001356114a2565b6105446004803603604081101561079b57600080fd5b506001600160a01b0381351690602001356114f9565b6107d7600480360360208110156107c757600080fd5b50356001600160a01b0316611516565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b6105446004803603602081101561081857600080fd5b503561173e565b6105446004803603604081101561083557600080fd5b506001600160a01b03813516906020013561174b565b610544611776565b610544600480360360a081101561086957600080fd5b506001600160a01b038135169060208101359060408101359060608101359060800135151561177c565b610544600480360360408110156108a957600080fd5b5080359060200135611796565b610544600480360360408110156108cc57600080fd5b506001600160a01b038135169060200135611a8b565b610544611aa8565b6105446004803603604081101561090057600080fd5b506001600160a01b038135169060200135611aae565b6105446004803603602081101561092c57600080fd5b5035611bb5565b6106de6004803603606081101561094957600080fd5b506001600160a01b03813581169160208101359091169060400135611bc7565b6106966004803603602081101561097f57600080fd5b5035611be2565b6105446004803603602081101561099c57600080fd5b5035611bfd565b6107d7600480360360208110156109b957600080fd5b50356001600160a01b0316611c0a565b610544611c73565b610544611c78565b6106de600480360360208110156109ef57600080fd5b5035611c7e565b61054460048036036020811015610a0c57600080fd5b5035611fdc565b6106de60048036036020811015610a2957600080fd5b5035611ff2565b6106de60048036036020811015610a4657600080fd5b50356001600160a01b031661208f565b61054460048036036020811015610a6c57600080fd5b50356001600160a01b031661210f565b610544612121565b61054460048036036020811015610a9a57600080fd5b50356001600160a01b0316612125565b6106de60048036036020811015610ac057600080fd5b810190602081018135600160201b811115610ada57600080fd5b820183602082011115610aec57600080fd5b803590602001918460018302840111600160201b83111715610b0d57600080fd5b509092509050612137565b6105446121d2565b61069660048036036020811015610b3657600080fd5b50356121d9565b61054460048036036020811015610b5357600080fd5b5035612201565b61054460048036036020811015610b7057600080fd5b5035612224565b6105e7612425565b61054460048036036020811015610b9557600080fd5b50356001600160a01b0316612486565b6106de6124ee565b61054460048036036020811015610bc357600080fd5b5035612590565b61054461259d565b61054460048036036020811015610be857600080fd5b50356125a2565b6105a66125b4565b61054460048036036020811015610c0d57600080fd5b50356125bd565b61054460048036036080811015610c2a57600080fd5b506001600160a01b03813516906020810135906040810135906060013515156125cf565b61069661260b565b6106de60048036036020811015610c6c57600080fd5b5035151561261a565b6105e760048036036020811015610c8b57600080fd5b5035612685565b610544612bfd565b6105e7612c03565b6106de60048036036040811015610cb857600080fd5b810190602081018135600160201b811115610cd257600080fd5b820183602082011115610ce457600080fd5b803590602001918460208302840111600160201b83111715610d0557600080fd5b9193509150351515612c64565b61054460048036036020811015610d2857600080fd5b5035612d17565b61054460048036036020811015610d4557600080fd5b50356001600160a01b0316612d29565b6106de60048036036040811015610d6b57600080fd5b506001600160a01b0381351690602001351515612d3b565b61054460048036036020811015610d9957600080fd5b5035612e40565b610544612e52565b6105a660048036036020811015610dbe57600080fd5b50356001600160a01b0316612e58565b610544612e6d565b6106de60048036036080811015610dec57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610e2657600080fd5b820183602082011115610e3857600080fd5b803590602001918460018302840111600160201b83111715610e5957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612e73945050505050565b61054460048036036020811015610eb057600080fd5b5035612ecb565b6106de60048036036020811015610ecd57600080fd5b810190602081018135600160201b811115610ee757600080fd5b820183602082011115610ef957600080fd5b803590602001918460208302840111600160201b83111715610f1a57600080fd5b509092509050612edd565b610544612f74565b610544612f7a565b6105e760048036036020811015610f4b57600080fd5b5035612f80565b610544613176565b61054460048036036020811015610f7057600080fd5b503561317c565b61054460048036036040811015610f8d57600080fd5b508035906020013561318e565b6106de60048036036020811015610fb057600080fd5b50356131b0565b61054461339c565b61054460048036036020811015610fd557600080fd5b50356133a2565b61054460048036036020811015610ff257600080fd5b50356133b4565b610544600480360361010081101561101057600080fd5b5080359060208101359060408101359060608101359060808101359060a08101359060c08101359060e0013515156133c6565b6105446134bf565b6105a66004803603602081101561106157600080fd5b50356134c5565b6105a66004803603604081101561107e57600080fd5b506001600160a01b03813581169160200135166134da565b6106de600480360360408110156110ac57600080fd5b506001600160a01b0381351690602001351515613508565b61069661358b565b610544600480360360208110156110e257600080fd5b503561359f565b6106de600480360360208110156110ff57600080fd5b50356001600160a01b03166135b1565b6105446004803603608081101561112557600080fd5b506001600160a01b03813516906020810135906040810135906060013515156136aa565b610544613756565b611191600480360360a081101561116757600080fd5b508035906020810135906001600160a01b036040820135169060608101359060800135151561375c565b6040805192835260208301919091528051918290030190f35b6106de61379b565b610544600480360360208110156111c857600080fd5b5035613899565b600f6020526000908152604090205481565b600061120c611194611207600a611202866111fc8a8a613905565b9061395e565b6139a0565b6139b7565b90505b9392505050565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60226020526000908152604090205481565b69152d02c7e14af680000081565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156112e55780601f106112ba576101008083540402835291602001916112e5565b820191906000526020600020905b8154815290600101906020018083116112c857829003601f168201915b5050505050905090565b60126020526000908152604090205481565b600061130c826139c6565b6113475760405162461bcd60e51b815260040180806020018281038252602c8152602001806156ca602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061136e826121d9565b9050806001600160a01b0316836001600160a01b031614156113c15760405162461bcd60e51b815260040180806020018281038252602181526020018061576e6021913960400191505060405180910390fd5b806001600160a01b03166113d36139d3565b6001600160a01b031614806113f457506113f4816113ef6139d3565b6134da565b61142f5760405162461bcd60e51b81526004018080602001828103825260388152602001806155fc6038913960400191505060405180910390fd5b61143983836139d7565b505050565b600c5481565b600061144f42612201565b905090565b6021818154811061146157fe5b600091825260209091200154905081565b601a6020526000908152604090205481565b601b6020526000908152604090205481565b600061144f6002613a45565b6114b36114ad6139d3565b82613a50565b6114ee5760405162461bcd60e51b815260040180806020018281038252603181526020018061578f6031913960400191505060405180910390fd5b611439838383613aec565b602c60209081526000928352604080842090915290825290205481565b60008060008060008061152842612201565b6001600160a01b0388166000908152602c6020526040812091925061154c42612201565b8152602001908152602001600020546000141561160957604080516370a0823160e01b815230600482015290516001600160a01b038916916370a08231916024808301926020929190829003018186803b1580156115a957600080fd5b505afa1580156115bd573d6000803e3d6000fd5b505050506040513d60208110156115d357600080fd5b50516001600160a01b0388166000908152602c60209081526040808320602983528184205484529091529020549450925061164d565b6001600160a01b0387166000818152602c60209081526040808320602983528184205484528083528184205494845260288352818420548452909152902054945092505b6000818152602a602052604090205461170557603260009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156116ae57600080fd5b505afa1580156116c2573d6000803e3d6000fd5b505050506040513d60208110156116d857600080fd5b50516025546000908152602a6020908152604080832054602b909252909120549097509095509150611734565b6025546000908152602a6020908152604080832054602454845281842054602b90935292205490975090955091505b5091939590929450565b601f818154811061146157fe5b6001600160a01b038216600090815260016020526040812061176d9083613c38565b90505b92915050565b600d5481565b600061178c868686868633613c44565b9695505050505050565b6000601f6000815481106117a657fe5b90600052602060002001548314806117d55750601f6001815481106117c757fe5b906000526020600020015483145b806117f75750601f6002815481106117e957fe5b906000526020600020015483145b806118195750601f60038154811061180b57fe5b906000526020600020015483145b8061183b5750601f60048154811061182d57fe5b906000526020600020015483145b6118765760405162461bcd60e51b81526004018080602001828103825260228152602001806155526022913960400191505060405180910390fd5b601f60008154811061188457fe5b906000526020600020015483141561189d575080611770565b601f6001815481106118ab57fe5b9060005260206000200154831415611904576023546000906118d9906118d361271086614311565b90614311565b905060006118ed6127106111fc8480613905565b90506118fb8161271061436b565b92505050611770565b601f60028154811061191257fe5b906000526020600020015483141561199757600061194b61193f600360235461390590919063ffffffff16565b6118d361271086614311565b9050600061195f6127106111fc8480613905565b905060005b60028160ff16101561198a576119806127106111fc8486613905565b9150600101611964565b506118fb8161271061436b565b601f6003815481106119a557fe5b9060005260206000200154831415611a115760006119d261193f600760235461390590919063ffffffff16565b905060006119e66127106111fc8480613905565b905060005b60068160ff16101561198a57611a076127106111fc8486613905565b91506001016119eb565b601f600481548110611a1f57fe5b9060005260206000200154831415611770576000611a4c61193f600b60235461390590919063ffffffff16565b90506000611a606127106111fc8480613905565b905060005b600a8160ff16101561198a57611a816127106111fc8486613905565b9150600101611a65565b602660209081526000928352604080842090915290825290205481565b60245481565b600061176d603160019054906101000a90046001600160a01b03166001600160a01b031663ca1896ab6040518163ffffffff1660e01b815260040160206040518083038186803b158015611b0157600080fd5b505afa158015611b15573d6000803e3d6000fd5b505050506040513d6020811015611b2b57600080fd5b5051603154604080516326e91e5b60e11b81526001600160a01b03888116600483015291516111fc9388936101009091041691634dd23cb6916024808301926020929190829003018186803b158015611b8357600080fd5b505afa158015611b97573d6000803e3d6000fd5b505050506040513d6020811015611bad57600080fd5b505190613905565b60176020526000908152604090205481565b61143983838360405180602001604052806000815250612e73565b6010602052600090815260409020546001600160a01b031681565b601d818154811061146157fe5b6025546000908152602a6020908152604080832054602454845281842054602b8452828520546001600160a01b03909616808652602c85528386206029865284872054875280865284872054918752602886528487205487529094529190932054909492939092565b600a81565b600b5481565b611c87816121d9565b6001600160a01b0316336001600160a01b031614611cec576040805162461bcd60e51b815260206004820152601e60248201527f6f6e6c7920746f6b656e206f776e65722063616e2063616c6c20746869730000604482015290519081900360640190fd5b600081815260176020908152604080832054601b90925290912054611d1091614311565b4211611d63576040805162461bcd60e51b815260206004820152601c60248201527f63626f6e64207465726d206e6f742079657420636f6d706c6574656400000000604482015290519081900360640190fd5b611d6b61379b565b600081815260106020526040902054611d8c906001600160a01b03166143ad565b60008181526016602090815260408083205460325482516370a0823160e01b815233600482015292519194936001600160a01b03909116926370a082319260248083019392829003018186803b158015611de557600080fd5b505afa158015611df9573d6000803e3d6000fd5b505050506040513d6020811015611e0f57600080fd5b505160325460408051634e6ec24760e01b81523360048201526024810186905290519293506001600160a01b0390911691634e6ec2479160448082019260009290919082900301818387803b158015611e6757600080fd5b505af1158015611e7b573d6000803e3d6000fd5b5050506000848152601060209081526040808320546012835281842054825163a9059cbb60e01b8152336004820152602481019190915291516001600160a01b03909116945063a9059cbb93604480840194938390030190829087803b158015611ee457600080fd5b505af1158015611ef8573d6000803e3d6000fd5b505050506040513d6020811015611f0e57600080fd5b5051611f59576040805162461bcd60e51b81526020600482015260156024820152741d1c985b9cd9995c881b5d5cdd081cdd58d8d95959605a1b604482015290519081900360640190fd5b600d54611f67906001614311565b600d5560008381526010602090815260408083205460128352928190205481516001600160a01b0390941684529183018590528281019190915260608201859052517fe62db97c38b876a563d9152e3c9dae29a5a754f9c2348bf5ebaa66817b9768c79181900360800190a1611439836144b4565b600080611fea600284614581565b509392505050565b611ffa6139d3565b600a546001600160a01b0390811691161461204a576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b603054811061208a5760405162461bcd60e51b81526004018080602001828103825260318152602001806157c06031913960400191505060405180910390fd5b603055565b6120976139d3565b600a546001600160a01b039081169116146120e7576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b603180546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60286020526000908152604090205481565b4290565b60276020526000908152604090205481565b61213f6139d3565b600a546001600160a01b0390811691161461218f576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b6121ce82828080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061459d92505050565b5050565b6276a70081565b60006117708260405180606001604052806029815260200161565e60299139600291906145b0565b600061177060016118d3620151806111fc601c548761436b90919063ffffffff16565b6000818152601760209081526040808320546019909252822054101561227a576040805162461bcd60e51b81526020600480830191909152602482015263646f663160e01b604482015290519081900360640190fd5b60008281526017602090815260408083205460199092528220546122a6916276a700916111fc9161436b565b6000848152601760205260409020549091504210156122f5576040805162461bcd60e51b815260206004808301919091526024820152633237b31960e11b604482015290519081900360640190fd5b600083815260176020526040812054612318906276a700906111fc90429061436b565b905081811015612358576040805162461bcd60e51b81526020600480830191909152602482015263646f663360e01b604482015290519081900360640190fd5b6000612364828461436b565b6000868152601b6020526040902054909150612383906276a70061395e565b82106123eb576000858152601b60205260409020546123b2906001906123ac906276a70061395e565b9061436b565b8311156123c1575060006123eb565b6000858152601b60205260409020546123e89084906123ac9060019082906276a70061395e565b90505b60008581526015602090815260408083205460149092529091205461178c90612710906111fc90849061241f908790613905565b90613905565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156112e55780601f106112ba576101008083540402835291602001916112e5565b60006001600160a01b0382166124cd5760405162461bcd60e51b815260040180806020018281038252602a815260200180615634602a913960400191505060405180910390fd5b6001600160a01b038216600090815260016020526040902061177090613a45565b6124f66139d3565b600a546001600160a01b03908116911614612546576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b6020818154811061146157fe5b60dc81565b60146020526000908152604090205481565b60315460ff1681565b60156020526000908152604090205481565b6000806000806000806125e18a611516565b945094509450945094506125fb8984848888868e8e6133c6565b955050505050505b949350505050565b600a546001600160a01b031690565b6126226139d3565b600a546001600160a01b03908116911614612672576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b6031805460ff1916911515919091179055565b600081815260186020526040902054606090819060ff166126c3576040518060400160405280600581526020016466616c736560d81b8152506126e1565b604051806040016040528060048152602001637472756560e01b8152505b90506126ec836145bd565b60008481526010602052604090205461270d906001600160a01b0316614698565b600085815260136020526040902054612725906145bd565b60008681526014602052604090205461273d906145bd565b600087815260166020526040902054612755906145bd565b60008881526011602052604090205461276d906145bd565b600089815260126020526040902054612785906145bd565b60008a81526017602052604090205461279d906145bd565b60008b8152601b602052604090205489906127b7906145bd565b6127c86127c38e612224565b6145bd565b6040516020018080692f3f746f6b656e49643d60b01b815250600a018c805190602001908083835b6020831061280f5780518252601f1990920191602091820191016127f0565b51815160209384036101000a600019018019909216911617905266266c416464723d60c81b919093019081528d516007909101928e0191508083835b6020831061286a5780518252601f19909201916020918201910161284b565b51815160209384036101000a60001901801990921691161790526a2673796e6350726963653d60a81b919093019081528c51600b909101928d0191508083835b602083106128c95780518252601f1990920191602091820191016128aa565b51815160209384036101000a60001901801990921691161790526b2673796e63416d6f756e743d60a01b919093019081528b51600c909101928c0191508083835b602083106129295780518252601f19909201916020918201910161290a565b51815160209384036101000a600019018019909216911617905268266d5061796f75743d60b81b919093019081528a516009909101928b0191508083835b602083106129865780518252601f199092019160209182019101612967565b51815160209384036101000a600019018019909216911617905267266c50726963653d60c01b9190930190815289516008909101928a0191508083835b602083106129e25780518252601f1990920191602091820191016129c3565b51815160209384036101000a600019018019909216911617905268266c416d6f756e743d60b81b919093019081528851600990910192890191508083835b60208310612a3f5780518252601f199092019160209182019101612a20565b51815160209384036101000a60001901801990921691161790526a26737461727454696d653d60a81b919093019081528751600b90910192880191508083835b60208310612a9e5780518252601f199092019160209182019101612a7f565b51815160209384036101000a600019018019909216911617905267266973446976733d60c01b919093019081528651600890910192870191508083835b60208310612afa5780518252601f199092019160209182019101612adb565b51815160209384036101000a60001901801990921691161790526b267465726d4c656e6774683d60a01b919093019081528551600c90910192860191508083835b60208310612b5a5780518252601f199092019160209182019101612b3b565b51815160209384036101000a60001901801990921691161790526826646976734e6f773d60b81b919093019081528451600990910192850191508083835b60208310612bb75780518252601f199092019160209182019101612b98565b6001836020036101000a0380198251168184511680821785525050505050509050019b505050505050505050505050604051602081830303815290604052915050919050565b61119481565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156112e55780601f106112ba576101008083540402835291602001916112e5565b612c6c6139d3565b600a546001600160a01b03908116911614612cbc576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b60005b82811015612d115781602f6000868685818110612cd857fe5b602090810292909201356001600160a01b0316835250810191909152604001600020805460ff1916911515919091179055600101612cbf565b50505050565b602b6020526000908152604090205481565b60296020526000908152604090205481565b612d436139d3565b6001600160a01b0316826001600160a01b03161415612da9576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000612db66139d3565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155612dfa6139d3565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b60166020526000908152604090205481565b601c5481565b602f6020526000908152604090205460ff1681565b60235481565b612e84612e7e6139d3565b83613a50565b612ebf5760405162461bcd60e51b815260040180806020018281038252603181526020018061578f6031913960400191505060405180910390fd5b612d118484848461478c565b60136020526000908152604090205481565b612ee56139d3565b600a546001600160a01b03908116911614612f35576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b612f3d61379b565b60005b8181101561143957612f6c838383818110612f5757fe5b905060200201356001600160a01b03166143ad565b600101612f40565b600e5481565b60305481565b6060612f8b826139c6565b612fc65760405162461bcd60e51b815260040180806020018281038252602f81526020018061573f602f913960400191505060405180910390fd5b6060612fd183612685565b9050612fdb612425565b51612fe7579050611234565b8051156130ae57612ff6612425565b816040516020018083805190602001908083835b602083106130295780518252601f19909201916020918201910161300a565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106130715780518252601f199092019160209182019101613052565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050611234565b6130b6612425565b6130bf846145bd565b6040516020018083805190602001908083835b602083106130f15780518252601f1990920191602091820191016130d2565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b602083106131395780518252601f19909201916020918201910161311a565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050919050565b602d5481565b602e6020526000908152604090205481565b60008261319d575060dc611770565b61176d60dc611207856111fc8387613905565b6131b9816121d9565b6001600160a01b0316336001600160a01b03161461321e576040805162461bcd60e51b815260206004820152601e60248201527f6f6e6c7920746f6b656e206f776e65722063616e2063616c6c20746869730000604482015290519081900360640190fd5b60008181526018602052604090205460ff1661326b5760405162461bcd60e51b81526004018080602001828103825260238152602001806154656023913960400191505060405180910390fd5b61327361379b565b600081815260106020526040902054613294906001600160a01b03166143ad565b600061329f82612224565b60325460408051634e6ec24760e01b81523360048201526024810184905290519293506001600160a01b0390911691634e6ec2479160448082019260009290919082900301818387803b1580156132f557600080fd5b505af1158015613309573d6000803e3d6000fd5b5050506000838152601960209081526040808320429055601a909152902054613333915082614311565b6000838152601a602090815260408083209390935560108152908290205482516001600160a01b03909116815290810183905280820184905290517fa01485c3f383df7a4105bbf218690726737a2e8a99ca2ec3baabba071f880d909181900360600190a15050565b60255481565b602a6020526000908152604090205481565b60196020526000908152604090205481565b6000806133d3888a61318e565b905060006133e286888a6111e1565b905083613409576134008b6133fb876118d38587614311565b611796565b925050506134b3565b6000613420601e548d61395e90919063ffffffff16565b90506000811161346a576040805162461bcd60e51b815260206004820152601060248201526f34b73b30b634b210323ab930ba34b7b760811b604482015290519081900360640190fd5b60006134798d6276a70061395e565b9050600061349961349060016123ac866004613905565b60235490613905565b90506134ab816118d38a81888a614311565b955050505050505b98975050505050505050565b61271081565b60186020526000908152604090205460ff1681565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6135106139d3565b600a546001600160a01b03908116911614613560576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152602f60205260409020805460ff1916911515919091179055565b60315461010090046001600160a01b031681565b60116020526000908152604090205481565b6135b96139d3565b600a546001600160a01b03908116911614613609576040805162461bcd60e51b815260206004820181905260248201526000805160206156f6833981519152604482015290519081900360640190fd5b6001600160a01b03811661364e5760405162461bcd60e51b815260040180806020018281038252602681526020018061552c6026913960400191505060405180910390fd5b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0384166000818152602c602081815260408084206028835281852054855280835290842054948452919052909161374d91869190846136ef42612201565b815260200190815260200160002054602a6000602454815260200190815260200160002054602a600061372142612201565b815260200190815260200160002054602b600060245481526020019081526020016000205489896133c6565b95945050505050565b601e5481565b600080613773858561376d8a613899565b866136aa565b915061378f6127106111fc6137888286614311565b8990613905565b90509550959350505050565b602a60006137a842612201565b815260200190815260200160002054600014156138975760006137ca42612201565b9050603260009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561381a57600080fd5b505afa15801561382e573d6000803e3d6000fd5b505050506040513d602081101561384457600080fd5b50516000828152602a60208181526040808420948555602580546024819055908790558452602b825280842054929091529254929091205461388692906111e1565b6000918252602b6020526040909120555b565b60315460009060ff16156138fd576138b28260646147de565b604d14156138da57601d6000815481106138c857fe5b90600052602060002001549050611234565b6138e6826103e86147de565b61030914156138fd57601d6001815481106138c857fe5b506000919050565b60008261391457506000611770565b8282028284828161392157fe5b041461176d5760405162461bcd60e51b81526004018080602001828103825260218152602001806156a96021913960400191505060405180910390fd5b600061176d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250614820565b6000818310156139b0578161176d565b5090919050565b60008183106139b0578161176d565b60006117706002836148c2565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190613a0c826121d9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611770826148ce565b6000613a5b826139c6565b613a965760405162461bcd60e51b815260040180806020018281038252602c815260200180615598602c913960400191505060405180910390fd5b6000613aa1836121d9565b9050806001600160a01b0316846001600160a01b03161480613adc5750836001600160a01b0316613ad184611301565b6001600160a01b0316145b80612603575061260381856134da565b826001600160a01b0316613aff826121d9565b6001600160a01b031614613b445760405162461bcd60e51b81526004018080602001828103825260298152602001806157166029913960400191505060405180910390fd5b6001600160a01b038216613b895760405162461bcd60e51b81526004018080602001828103825260248152602001806155746024913960400191505060405180910390fd5b613b94838383611439565b613b9f6000826139d7565b6001600160a01b0383166000908152600160205260409020613bc190826148d2565b506001600160a01b0382166000908152600160205260409020613be490826148de565b50613bf1600282846148ea565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061176d8383614900565b6001600160a01b0386166000908152602f602052604081205460ff16613c9b5760405162461bcd60e51b81526004018080602001828103825260368152602001806157f16036913960400191505060405180910390fd5b613ca361379b565b613cac876143ad565b6000603160019054906101000a90046001600160a01b03166001600160a01b0316634dd23cb6896040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613d1057600080fd5b505afa158015613d24573d6000803e3d6000fd5b505050506040513d6020811015613d3a57600080fd5b50516031546040805163ca1896ab60e01b815290519293506000926101009092046001600160a01b03169163ca1896ab91600480820192602092909190829003018186803b158015613d8b57600080fd5b505afa158015613d9f573d6000803e3d6000fd5b505050506040513d6020811015613db557600080fd5b505190506000613dc9826111fc858c613905565b9050603054811015613e0c5760405162461bcd60e51b81526004018080602001828103825260408152602001806154886040913960400191505060405180910390fd5b87811115613e4b5760405162461bcd60e51b81526004018080602001828103825260328152602001806154fa6032913960400191505060405180910390fd5b69152d02c7e14af6800000811115613ea3576040805162461bcd60e51b815260206004820152601660248201527543424f4e4420616d6f756e7420746f6f206c6172676560501b604482015290519081900360640190fd5b603254604080516323b872dd60e01b81526001600160a01b03888116600483015230602483015260448201859052915191909216916323b872dd9160648083019260209291908290030181600087803b158015613eff57600080fd5b505af1158015613f13573d6000803e3d6000fd5b505050506040513d6020811015613f2957600080fd5b5050604080516323b872dd60e01b81526001600160a01b038781166004830152306024830152604482018c90529151918c16916323b872dd916064808201926020929091908290030181600087803b158015613f8457600080fd5b505af1158015613f98573d6000803e3d6000fd5b505050506040513d6020811015613fae57600080fd5b5051613ff9576040805162461bcd60e51b81526020600482015260156024820152741d1c985b9cd9995c881b5d5cdd081cdd58d8d95959605a1b604482015290519081900360640190fd5b60325460408051630852cd8d60e31b81526004810184905290516001600160a01b03909216916342966c689160248082019260009290919082900301818387803b15801561404657600080fd5b505af115801561405a573d6000803e3d6000fd5b505050506000614068614964565b90508a6010600083815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550826013600083815260200190815260200160002081905550816014600083815260200190815260200160002081905550836011600083815260200190815260200160002081905550896012600083815260200190815260200160002081905550426017600083815260200190815260200160002081905550426019600083815260200190815260200160002081905550866018600083815260200190815260200160002060006101000a81548160ff02191690831515021790555087601b60008381526020019081526020016000208190555061418281838d8b8b614975565b6141ba6001602e600061419d614198428e614311565b612201565b81526020019081526020016000205461431190919063ffffffff16565b602e60006141cb614198428d614311565b815260208082019290925260409081016000908120939093556001600160a01b03891680845260268352818420602780855283862080548752918552928520869055935290525461421d906001614311565b6001600160a01b038716600090815260276020526040902055600b54614244906001614311565b600b55600e546142549083614311565b600e556001600160a01b038b166000908152600f602052604090205461427a908b614311565b6001600160a01b038c166000908152600f602052604090205561429d8682614a40565b6142a5614a5a565b604080516001600160a01b038d168152602081018490528082018c9052606081018590526080810186905260a0810183905290517fe3a1db668885195d6031940c63dab5bb4dff82e247d49771ed41930053932aa79181900360c00190a19a9950505050505050505050565b60008282018381101561176d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061176d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614a6d565b6001600160a01b0381166000908152602c60205260408120906143cf42612201565b815260200190815260200160002054600014156144b15760006143f142612201565b9050816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561444057600080fd5b505afa158015614454573d6000803e3d6000fd5b505050506040513d602081101561446a57600080fd5b50516001600160a01b0383166000818152602c6020908152604080832086845282528083209490945591815260298083528382208054602885529490922093909355919052555b50565b60006144bf826121d9565b90506144cd81600084611439565b6144d86000836139d7565b60008281526008602052604090205460026000196101006001841615020190911604156145165760008281526008602052604081206145169161536b565b6001600160a01b038116600090815260016020526040902061453890836148d2565b50614544600283614ac7565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008080806145908686614ad3565b9097909650945050505050565b80516121ce9060099060208401906153af565b600061120c848484614b4e565b6060816145e257506040805180820190915260018152600360fc1b6020820152611234565b8160005b81156145fa57600101600a820491506145e6565b60608167ffffffffffffffff8111801561461357600080fd5b506040519080825280601f01601f19166020018201604052801561463e576020820181803683370190505b50859350905060001982015b831561468f57600a840660300160f81b8282806001900393508151811061466d57fe5b60200101906001600160f81b031916908160001a905350600a8404935061464a565b50949350505050565b604080516028808252606082810190935282919060208201818036833701905050905060005b60148110156147855760008160130360080260020a856001600160a01b0316816146e457fe5b0460f81b9050600060108260f81c60ff16816146fc57fe5b0460f81b905060008160f81c6010028360f81c0360f81b905061471e82614bdb565b85856002028151811061472d57fe5b60200101906001600160f81b031916908160001a90535061474d81614bdb565b85856002026001018151811061475f57fe5b60200101906001600160f81b031916908160001a90535050600190920191506146be9050565b5092915050565b614797848484613aec565b6147a384848484614c0c565b612d115760405162461bcd60e51b81526004018080602001828103825260328152602001806154c86032913960400191505060405180910390fd5b600061176d83836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f0000000000000000815250614d74565b600081836148ac5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614871578181015183820152602001614859565b50505050905090810190601f16801561489e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816148b857fe5b0495945050505050565b600061176d8383614dd6565b5490565b600061176d8383614dee565b600061176d8383614eb4565b600061120c84846001600160a01b038516614efe565b815460009082106149425760405162461bcd60e51b81526004018080602001828103825260228152602001806154436022913960400191505060405180910390fd5b82600001828154811061495157fe5b9060005260206000200154905092915050565b602d5460009061144f906001614311565b600080600080600061498688611c0a565b945094509450945094506000806149a08c8c8c8c8c61375c565b60008e81526016602090815260408083208490556015909152902082905590925090508715614a3257601f6002815481106149d757fe5b9060005260206000200154891015614a205760405162461bcd60e51b81526004018080602001828103825260388152602001806155c46038913960400191505060405180910390fd5b600c54614a2e906001614311565b600c555b505050505050505050505050565b6121ce828260405180602001604052806000815250614f95565b602d54614a68906001614311565b602d55565b60008184841115614abf5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315614871578181015183820152602001614859565b505050900390565b600061176d8383614fe7565b815460009081908310614b175760405162461bcd60e51b81526004018080602001828103825260228152602001806156876022913960400191505060405180910390fd5b6000846000018481548110614b2857fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281614bac5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315614871578181015183820152602001614859565b50846000016001820381548110614bbf57fe5b9060005260206000209060020201600101549150509392505050565b6000600a60f883901c1015614bfb578160f81c60300160f81b9050611234565b8160f81c60570160f81b9050611234565b6000614c20846001600160a01b03166150bb565b614c2c57506001612603565b6060614d3a630a85bd0160e11b614c416139d3565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015614ca8578181015183820152602001614c90565b50505050905090810190601f168015614cd55780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016154c8603291396001600160a01b03881691906150c1565b90506000818060200190516020811015614d5357600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60008183614dc35760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315614871578181015183820152602001614859565b50828481614dcd57fe5b06949350505050565b60009081526001919091016020526040902054151590565b60008181526001830160205260408120548015614eaa5783546000198083019190810190600090879083908110614e2157fe5b9060005260206000200154905080876000018481548110614e3e57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080614e6e57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611770565b6000915050611770565b6000614ec08383614dd6565b614ef657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611770565b506000611770565b600082815260018401602052604081205480614f6357505060408051808201825283815260208082018481528654600181810189556000898152848120955160029093029095019182559151908201558654868452818801909252929091205561120f565b82856000016001830381548110614f7657fe5b906000526020600020906002020160010181905550600091505061120f565b614f9f83836150d0565b614fac6000848484614c0c565b6114395760405162461bcd60e51b81526004018080602001828103825260328152602001806154c86032913960400191505060405180910390fd5b60008181526001830160205260408120548015614eaa578354600019808301919081019060009087908390811061501a57fe5b906000526020600020906002020190508087600001848154811061503a57fe5b60009182526020808320845460029093020191825560019384015491840191909155835482528983019052604090209084019055865487908061507957fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506117709350505050565b3b151590565b606061120c84846000856151fe565b6001600160a01b03821661512b576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b615134816139c6565b15615186576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61519260008383611439565b6001600160a01b03821660009081526001602052604090206151b490826148de565b506151c1600282846148ea565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060615209856150bb565b61525a576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106152995780518252601f19909201916020918201910161527a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146152fb576040519150601f19603f3d011682016040523d82523d6000602084013e615300565b606091505b509150915081156153145791506126039050565b8051156153245780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315614871578181015183820152602001614859565b50805460018160011615610100020316600290046000825580601f1061539157506144b1565b601f0160209004906000526020600020908101906144b1919061542d565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106153f057805160ff191683800117855561541d565b8280016001018555821561541d579182015b8281111561541d578251825591602001919060010190615402565b5061542992915061542d565b5090565b5b80821115615429576000815560010161542e56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64736d75737420626520696e20717561727465726c79206469766964656e6473206d6f6465696e70757420746f6b656e7320746f6f206665772c2073796e63207472616e73666572726564206d7573742062652061626f766520746865206d696e696d756d4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465727072696365206368616e67656420746f6f206d7563682073696e6365207472616e73616374696f6e207375626d69747465644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373496e76616c69642043424f4e44207465726d206c656e6774682070726f76696465644552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e6469766964656e642062656172696e672043424f4e4473206d757374206265206174206c6561737420312079656172206475726174696f6e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564696e6372656173696e67206d696e696d756d2073796e63207265717569726564206973206e6f74207065726d69747465646c697175696469747920746f6b656e206d757374206265206f6e20746865206c697374206f6620617070726f76656420746f6b656e73a2646970667358221220920a11587e11c5954c63453a26b930bb37c98e52a5c5922dd3fba8f4413dd70464736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000008fe07d8f851112eef0683bc3e2df32168bea5a4e000000000000000000000000b6ff96b8a8d214544ca0dbc9b33f7ad6503efd32
-----Decoded View---------------
Arg [0] : o (address): 0x8Fe07d8F851112eEf0683Bc3e2df32168BEA5A4E
Arg [1] : s (address): 0xB6ff96B8A8d214544Ca0dBc9B33f7AD6503eFD32
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000008fe07d8f851112eef0683bc3e2df32168bea5a4e
Arg [1] : 000000000000000000000000b6ff96b8a8d214544ca0dbc9b33f7ad6503efd32
Deployed Bytecode Sourcemap
69568:31534:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70343:61;;;;;;;;;;;;;;;;-1:-1:-1;70343:61:0;-1:-1:-1;;;;;70343:61:0;;:::i;:::-;;;;;;;;;;;;;;;;96634:287;;;;;;;;;;;;;;;;-1:-1:-1;96634:287:0;;;;;;;;;;;;:::i;23868:142::-;;;;;;;;;;;;;;;;-1:-1:-1;23868:142:0;-1:-1:-1;;;;;;23868:142:0;;:::i;:::-;;;;;;;;;;;;;;;;;;73812:52;;;;;;;;;;;;;;;;-1:-1:-1;73812:52:0;;:::i;72461:59::-;;;:::i;51241:92::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70794:51;;;;;;;;;;;;;;;;-1:-1:-1;70794:51:0;;:::i;53269:213::-;;;;;;;;;;;;;;;;-1:-1:-1;53269:213:0;;:::i;:::-;;;;-1:-1:-1;;;;;53269:213:0;;;;;;;;;;;;;;52813:390;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;52813:390:0;;;;;;;;:::i;:::-;;70091:37;;;:::i;101007:92::-;;;:::i;73658:49::-;;;;;;;;;;;;;;;;-1:-1:-1;73658:49:0;;:::i;71866:55::-;;;;;;;;;;;;;;;;-1:-1:-1;71866:55:0;;:::i;72055:49::-;;;;;;;;;;;;;;;;-1:-1:-1;72055:49:0;;:::i;52307:203::-;;;:::i;54143:305::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;54143:305:0;;;;;;;;;;;;;;;;;:::i;75394:74::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;75394:74:0;;;;;;;;:::i;98322:1129::-;;;;;;;;;;;;;;;;-1:-1:-1;98322:1129:0;-1:-1:-1;;;;;98322:1129:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73338:78;;;;;;;;;;;;;;;;-1:-1:-1;73338:78:0;;:::i;52077:154::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;52077:154:0;;;;;;;;:::i;70176:37::-;;;:::i;80984:248::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;80984:248:0;;;;;;;;;;;;;;;;;;;;;;;;;:::i;93845:2084::-;;;;;;;;;;;;;;;;-1:-1:-1;93845:2084:0;;;;;;;:::i;74332:71::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;74332:71:0;;;;;;;;:::i;74063:41::-;;;:::i;89373:220::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;89373:220:0;;;;;;;;:::i;71534:48::-;;;;;;;;;;;;;;;;-1:-1:-1;71534:48:0;;:::i;54519:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;54519:151:0;;;;;;;;;;;;;;;;;:::i;70538:44::-;;;;;;;;;;;;;;;;-1:-1:-1;70538:44:0;;:::i;73142:40::-;;;;;;;;;;;;;;;;-1:-1:-1;73142:40:0;;:::i;97628:549::-;;;;;;;;;;;;;;;;-1:-1:-1;97628:549:0;-1:-1:-1;;;;;97628:549:0;;:::i;72921:53::-;;;:::i;70025:28::-;;;:::i;79850:1069::-;;;;;;;;;;;;;;;;-1:-1:-1;79850:1069:0;;:::i;52587:164::-;;;;;;;;;;;;;;;;-1:-1:-1;52587:164:0;;:::i;77952:185::-;;;;;;;;;;;;;;;;-1:-1:-1;77952:185:0;;:::i;78203:79::-;;;;;;;;;;;;;;;;-1:-1:-1;78203:79:0;-1:-1:-1;;;;;78203:79:0;;:::i;74622:60::-;;;;;;;;;;;;;;;;-1:-1:-1;74622:60:0;-1:-1:-1;;;;;74622:60:0;;:::i;86913:82::-;;;:::i;74514:57::-;;;;;;;;;;;;;;;;-1:-1:-1;74514:57:0;-1:-1:-1;;;;;74514:57:0;;:::i;77226:98::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;77226:98:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;77226:98:0;;;;;;;;;;-1:-1:-1;77226:98:0;;-1:-1:-1;77226:98:0;-1:-1:-1;77226:98:0;:::i;72605:46::-;;;:::i;51005:169::-;;;;;;;;;;;;;;;;-1:-1:-1;51005:169:0;;:::i;100778:132::-;;;;;;;;;;;;;;;;-1:-1:-1;100778:132:0;;:::i;87103:2090::-;;;;;;;;;;;;;;;;-1:-1:-1;87103:2090:0;;:::i;51904:89::-;;;:::i;50728:215::-;;;;;;;;;;;;;;;;-1:-1:-1;50728:215:0;-1:-1:-1;;;;;50728:215:0;;:::i;65632:148::-;;;:::i;73513:62::-;;;;;;;;;;;;;;;;-1:-1:-1;73513:62:0;;:::i;72345:49::-;;;:::i;71046:::-;;;;;;;;;;;;;;;;-1:-1:-1;71046:49:0;;:::i;76237:31::-;;;:::i;71162:51::-;;;;;;;;;;;;;;;;-1:-1:-1;71162:51:0;;:::i;97042:422::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;97042:422:0;;;;;;;;;;;;;;;;;;;;:::i;64990:79::-;;;:::i;78354:91::-;;;;;;;;;;;;;;;;-1:-1:-1;78354:91:0;;;;:::i;84576:790::-;;;;;;;;;;;;;;;;-1:-1:-1;84576:790:0;;:::i;73031:55::-;;;:::i;51402:96::-;;;:::i;77644:197::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;77644:197:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;77644:197:0;;;;;;;;;;;;-1:-1:-1;77644:197:0;-1:-1:-1;77644:197:0;;;;:::i;75155:52::-;;;;;;;;;;;;;;;;-1:-1:-1;75155:52:0;;:::i;74799:63::-;;;;;;;;;;;;;;;;-1:-1:-1;74799:63:0;-1:-1:-1;;;;;74799:63:0;;:::i;53554:295::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;53554:295:0;;;;;;;;;;:::i;71397:57::-;;;;;;;;;;;;;;;;-1:-1:-1;71397:57:0;;:::i;72732:44::-;;;:::i;75926:45::-;;;;;;;;;;;;;;;;-1:-1:-1;75926:45:0;-1:-1:-1;;;;;75926:45:0;;:::i;73948:30::-;;;:::i;54741:285::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;54741:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;54741:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;54741:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54741:285:0;;-1:-1:-1;54741:285:0;;-1:-1:-1;;;;;54741:285:0:i;70924:48::-;;;;;;;;;;;;;;;;-1:-1:-1;70924:48:0;;:::i;78594:192::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;78594:192:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;78594:192:0;;;;;;;;;;-1:-1:-1;78594:192:0;;-1:-1:-1;78594:192:0;-1:-1:-1;78594:192:0;:::i;70266:32::-;;;:::i;76099:44::-;;;:::i;85429:985::-;;;;;;;;;;;;;;;;-1:-1:-1;85429:985:0;;:::i;75624:34::-;;;:::i;75780:54::-;;;;;;;;;;;;;;;;-1:-1:-1;75780:54:0;;:::i;96066:397::-;;;;;;;;;;;;;;;;-1:-1:-1;96066:397:0;;;;;;;:::i;78893:856::-;;;;;;;;;;;;;;;;-1:-1:-1;78893:856:0;;:::i;74206:44::-;;;:::i;74959:50::-;;;;;;;;;;;;;;;;-1:-1:-1;74959:50:0;;:::i;71731:54::-;;;;;;;;;;;;;;;;-1:-1:-1;71731:54:0;;:::i;91990:1289::-;;;;;;;;;;;;;;;;-1:-1:-1;91990:1289:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;72234:50::-;;;:::i;71626:47::-;;;;;;;;;;;;;;;;-1:-1:-1;71626:47:0;;:::i;53920:156::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;53920:156:0;;;;;;;;;;:::i;77422:124::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;77422:124:0;;;;;;;;;;:::i;76346:26::-;;;:::i;70655:50::-;;;;;;;;;;;;;;;;-1:-1:-1;70655:50:0;;:::i;65935:244::-;;;;;;;;;;;;;;;;-1:-1:-1;65935:244:0;-1:-1:-1;;;;;65935:244:0;;:::i;91340:536::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;91340:536:0;;;;;;;;;;;;;;;;;;;;:::i;73261:35::-;;;:::i;90686:565::-;;;;;;;;;;;;;;;;-1:-1:-1;90686:565:0;;;;;;;;-1:-1:-1;;;;;90686:565:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;99623:483;;;:::i;93475:271::-;;;;;;;;;;;;;;;;-1:-1:-1;93475:271:0;;:::i;70343:61::-;;;;;;;;;;;;;:::o;96634:287::-;96759:7;96781:134;73082:4;96817:97;72972:2;96853:60;96898:14;96853:40;:19;96877:15;96853:23;:40::i;:::-;:44;;:60::i;:::-;96817:8;:97::i;:::-;96781:8;:134::i;:::-;96774:141;;96634:287;;;;;;:::o;23868:142::-;-1:-1:-1;;;;;;23969:33:0;;23945:4;23969:33;;;;;;;;;;;;;23868:142;;;;:::o;73812:52::-;;;;;;;;;;;;;:::o;72461:59::-;72501:19;72461:59;:::o;51241:92::-;51320:5;51313:12;;;;;;;;-1:-1:-1;;51313:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51287:13;;51313:12;;51320:5;;51313:12;;51320:5;51313:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51241:92;:::o;70794:51::-;;;;;;;;;;;;;:::o;53269:213::-;53337:7;53365:16;53373:7;53365;:16::i;:::-;53357:73;;;;-1:-1:-1;;;53357:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53450:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;53450:24:0;;53269:213::o;52813:390::-;52894:13;52910:16;52918:7;52910;:16::i;:::-;52894:32;;52951:5;-1:-1:-1;;;;;52945:11:0;:2;-1:-1:-1;;;;;52945:11:0;;;52937:57;;;;-1:-1:-1;;;52937:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53031:5;-1:-1:-1;;;;;53015:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;53015:21:0;;:62;;;;53040:37;53057:5;53064:12;:10;:12::i;:::-;53040:16;:37::i;:::-;53007:154;;;;-1:-1:-1;;;53007:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53174:21;53183:2;53187:7;53174:8;:21::i;:::-;52813:390;;;:::o;70091:37::-;;;;:::o;101007:92::-;101048:7;101070:23;101077:15;101070:6;:23::i;:::-;101063:30;;101007:92;:::o;73658:49::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73658:49:0;:::o;71866:55::-;;;;;;;;;;;;;:::o;72055:49::-;;;;;;;;;;;;;:::o;52307:203::-;52360:7;52481:21;:12;:19;:21::i;54143:305::-;54304:41;54323:12;:10;:12::i;:::-;54337:7;54304:18;:41::i;:::-;54296:103;;;;-1:-1:-1;;;54296:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54412:28;54422:4;54428:2;54432:7;54412:9;:28::i;75394:74::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;98322:1129::-;98391:18;98410:21;98432:19;98452:22;98475:24;98507:11;98519:23;98526:15;98519:6;:23::i;:::-;-1:-1:-1;;;;;98552:30:0;;;;;;:19;:30;;;;;98507:35;;-1:-1:-1;98583:23:0;98590:15;98583:6;:23::i;:::-;98552:55;;;;;;;;;;;;98609:1;98552:58;98549:430;;;98635:42;;;-1:-1:-1;;;98635:42:0;;98671:4;98635:42;;;;;;-1:-1:-1;;;;;98635:27:0;;;;;:42;;;;;;;;;;;;;;:27;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;98635:42:0;-1:-1:-1;;;;;98698:30:0;;;;;;:19;98635:42;98698:30;;;;;;;98729:28;:39;;;;;;98698:71;;;;;;;;;-1:-1:-1;98635:42:0;-1:-1:-1;98549:430:0;;;-1:-1:-1;;;;;98811:30:0;;;;;;:19;:30;;;;;;;;98842:28;:39;;;;;;98811:71;;;;;;;;;98903:30;;;98934:25;:36;;;;;;98903:68;;;;;;;;;-1:-1:-1;98811:71:0;-1:-1:-1;98549:430:0;98988:20;;;;:15;:20;;;;;;98985:461;;99035:9;;;;;;;;;-1:-1:-1;;;;;99035:9:0;-1:-1:-1;;;;;99035:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;99035:23:0;99094:27;;99078:44;;;;:15;99035:23;99078:44;;;;;;;;99177:17;:46;;;;;;;99078:44;;-1:-1:-1;99035:23:0;;-1:-1:-1;99177:46:0;-1:-1:-1;98985:461:0;;;99280:27;;99264:44;;;;:15;:44;;;;;;;;;99344:24;;99328:41;;;;;;99395:17;:43;;;;;;99328:41;;-1:-1:-1;99264:44:0;;-1:-1:-1;99395:43:0;-1:-1:-1;98985:461:0;98322:1129;;;;;;;;:::o;73338:78::-;;;;;;;;;;52077:154;-1:-1:-1;;;;;52193:20:0;;52166:7;52193:20;;;:13;:20;;;;;:30;;52217:5;52193:23;:30::i;:::-;52186:37;;52077:154;;;;;:::o;70176:37::-;;;;:::o;80984:248::-;81120:7;81142:84;81155:14;81170:6;81177:11;81189:13;81203:11;81215:10;81142:12;:84::i;:::-;81135:91;80984:248;-1:-1:-1;;;;;;80984:248:0:o;93845:2084::-;93928:4;93962:14;93977:1;93962:17;;;;;;;;;;;;;;;;93952:8;:27;:58;;;;93993:14;94008:1;93993:17;;;;;;;;;;;;;;;;93983:8;:27;93952:58;:89;;;;94024:14;94039:1;94024:17;;;;;;;;;;;;;;;;94014:8;:27;93952:89;:120;;;;94055:14;94070:1;94055:17;;;;;;;;;;;;;;;;94045:8;:27;93952:120;:151;;;;94086:14;94101:1;94086:17;;;;;;;;;;;;;;;;94076:8;:27;93952:151;93944:197;;;;-1:-1:-1;;;93944:197:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94167:14;94182:1;94167:17;;;;;;;;;;;;;;;;94157:8;:27;94154:79;;;-1:-1:-1;94205:16:0;94198:23;;94154:79;94256:14;94271:1;94256:17;;;;;;;;;;;;;;;;94246:8;:27;94243:292;;;94358:11;;94289:19;;94311:59;;:42;72279:5;94336:16;94311:24;:42::i;:::-;:46;;:59::i;:::-;94289:81;-1:-1:-1;94385:16:0;94404:60;72279:5;94404:34;94289:81;;94404:18;:34::i;:60::-;94385:79;-1:-1:-1;94486:37:0;94385:79;72279:5;94486:15;:37::i;:::-;94479:44;;;;;;94243:292;94558:14;94573:1;94558:17;;;;;;;;;;;;;;;;94548:8;:27;94545:451;;;94599:19;94621:66;94668:18;94684:1;94668:11;;:15;;:18;;;;:::i;:::-;94621:42;72279:5;94646:16;94621:24;:42::i;:66::-;94599:88;-1:-1:-1;94702:16:0;94721:60;72279:5;94721:34;94599:88;;94721:18;:34::i;:60::-;94702:79;;94801:7;94796:130;94813:1;94811;:3;;;94796:130;;;94853:57;72279:5;94853:31;:11;94869:14;94853:15;:31::i;:57::-;94839:71;-1:-1:-1;94815:3:0;;94796:130;;;-1:-1:-1;94947:37:0;:11;72279:5;94947:15;:37::i;94545:451::-;95019:14;95034:1;95019:17;;;;;;;;;;;;;;;;95009:8;:27;95006:452;;;95061:19;95083:66;95130:18;95146:1;95130:11;;:15;;:18;;;;:::i;95083:66::-;95061:88;-1:-1:-1;95164:16:0;95183:60;72279:5;95183:34;95061:88;;95183:18;:34::i;:60::-;95164:79;;95263:7;95258:130;95275:1;95273;:3;;;95258:130;;;95315:57;72279:5;95315:31;:11;95331:14;95315:15;:31::i;:57::-;95301:71;-1:-1:-1;95277:3:0;;95258:130;;95006:452;95481:14;95496:1;95481:17;;;;;;;;;;;;;;;;95471:8;:27;95468:454;;;95523:19;95545:67;95592:19;95608:2;95592:11;;:15;;:19;;;;:::i;95545:67::-;95523:89;-1:-1:-1;95627:16:0;95646:60;72279:5;95646:34;95523:89;;95646:18;:34::i;:60::-;95627:79;;95726:7;95721:131;95738:2;95736:1;:4;;;95721:131;;;95779:57;72279:5;95779:31;:11;95795:14;95779:15;:31::i;:57::-;95765:71;-1:-1:-1;95741:3:0;;95721:131;;74332:71;;;;;;;;;;;;;;;;;;;;;;;;:::o;74063:41::-;;;;:::o;89373:220::-;89469:7;89492:95;89562:12;;;;;;;;;-1:-1:-1;;;;;89562:12:0;-1:-1:-1;;;;;89562:22:0;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;89562:24:0;89492:12;;:53;;;-1:-1:-1;;;89492:53:0;;-1:-1:-1;;;;;89492:53:0;;;;;;;;;:65;;89550:6;;89492:12;;;;;;:28;;:53;;;;;89562:24;;89492:53;;;;;;;:12;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;89492:53:0;;:57;:65::i;71534:48::-;;;;;;;;;;;;;:::o;54519:151::-;54623:39;54640:4;54646:2;54650:7;54623:39;;;;;;;;;;;;:16;:39::i;70538:44::-;;;;;;;;;;;;-1:-1:-1;;;;;70538:44:0;;:::o;73142:40::-;;;;;;;;;;97628:549;97837:27;;97691:18;97821:44;;;:15;:44;;;;;;;;;97899:24;;97883:41;;;;;;97948:17;:43;;;;;;-1:-1:-1;;;;;98013:30:0;;;;;;:19;:30;;;;;98044:28;:39;;;;;;98013:71;;;;;;;;;98103:30;;;98134:25;:36;;;;;;98103:68;;;;;;;;;;97883:41;;97821:44;;98103:68;;97628:549::o;72921:53::-;72972:2;72921:53;:::o;70025:28::-;;;;:::o;79850:1069::-;79921:16;79929:7;79921;:16::i;:::-;-1:-1:-1;;;;;79909:28:0;:10;-1:-1:-1;;;;;79909:28:0;;79901:70;;;;;-1:-1:-1;;;79901:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;80030:22;;;;:13;:22;;;;;;;;;80002:14;:23;;;;;;;:51;;:27;:51::i;:::-;79986:15;:67;79978:107;;;;;-1:-1:-1;;;79978:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;80177:18;:16;:18::i;:::-;80220;;;;:9;:18;;;;;;80202:37;;-1:-1:-1;;;;;80220:18:0;80202:17;:37::i;:::-;80331:21;80353:31;;;:22;:31;;;;;;;;;80502:9;;:31;;-1:-1:-1;;;80502:31:0;;80522:10;80502:31;;;;;;80353;;80331:21;-1:-1:-1;;;;;80502:9:0;;;;:19;;:31;;;;;80353;80502;;;;;:9;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80502:31:0;80540:9;;:41;;;-1:-1:-1;;;80540:41:0;;80556:10;80540:41;;;;;;;;;;;;80502:31;;-1:-1:-1;;;;;;80540:9:0;;;;:15;;:41;;;;;:9;;:41;;;;;;;;:9;;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;80603:18:0;;;;:9;:18;;;;;;;;;80643:16;:25;;;;;;80596:73;;-1:-1:-1;;;80596:73:0;;80632:10;80596:73;;;;;;;;;;;;;-1:-1:-1;;;;;80603:18:0;;;;-1:-1:-1;80596:35:0;;:73;;;;;80603:18;80596:73;;;;;;;80603:18;80596:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80596:73:0;80588:106;;;;;-1:-1:-1;;;80588:106:0;;;;;;;;;;;;-1:-1:-1;;;80588:106:0;;;;;;;;;;;;;;;80756:20;;:27;;80781:1;80756:24;:27::i;:::-;80735:20;:48;80803:18;;;;:9;:18;;;;;;;;;80836:16;:25;;;;;;;80795:75;;-1:-1:-1;;;;;80803:18:0;;;80795:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80899:14;80905:7;80899:5;:14::i;52587:164::-;52654:7;;52696:22;:12;52712:5;52696:15;:22::i;:::-;-1:-1:-1;52674:44:0;52587:164;-1:-1:-1;;;52587:164:0:o;77952:185::-;65212:12;:10;:12::i;:::-;65202:6;;-1:-1:-1;;;;;65202:6:0;;;:22;;;65194:67;;;;;-1:-1:-1;;;65194:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65194:67:0;;;;;;;;;;;;;;;78038:11:::1;;78027:10;:22;78019:83;;;;-1:-1:-1::0;;;78019:83:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78109:11;:22:::0;77952:185::o;78203:79::-;65212:12;:10;:12::i;:::-;65202:6;;-1:-1:-1;;;;;65202:6:0;;;:22;;;65194:67;;;;;-1:-1:-1;;;65194:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65194:67:0;;;;;;;;;;;;;;;78262:12:::1;:14:::0;;-1:-1:-1;;;;;78262:14:0;;::::1;;;-1:-1:-1::0;;;;;;78262:14:0;;::::1;::::0;;;::::1;::::0;;78203:79::o;74622:60::-;;;;;;;;;;;;;:::o;86913:82::-;86974:15;86913:82;:::o;74514:57::-;;;;;;;;;;;;;:::o;77226:98::-;65212:12;:10;:12::i;:::-;65202:6;;-1:-1:-1;;;;;65202:6:0;;;:22;;;65194:67;;;;;-1:-1:-1;;;65194:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65194:67:0;;;;;;;;;;;;;;;77297:21:::1;77309:8;;77297:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;77297:11:0::1;::::0;-1:-1:-1;;;77297:21:0:i:1;:::-;77226:98:::0;;:::o;72605:46::-;72644:7;72605:46;:::o;51005:169::-;51069:7;51096:70;51113:7;51096:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;100778:132::-;100833:7;100855:49;100902:1;100855:42;100888:8;100855:28;100869:13;;100855:9;:13;;:28;;;;:::i;87103:2090::-;87161:7;87371:22;;;:13;:22;;;;;;;;;87341:19;:28;;;;;;:52;;87333:68;;;;;-1:-1:-1;;;87333:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;87333:68:0;;;;;;;;;;;;;;;87408:27;87469:22;;;:13;:22;;;;;;;;;87436:19;:28;;;;;;:76;;72644:7;;87436:56;;:32;:56::i;:76::-;87656:22;;;;:13;:22;;;;;;87408:104;;-1:-1:-1;87639:15:0;:39;;87631:55;;;;;-1:-1:-1;;;87631:55:0;;;;;;;;;;;;;;;-1:-1:-1;;;87631:55:0;;;;;;;;;;;;;;;87693:30;87744:22;;;:13;:22;;;;;;87724:63;;72644:7;;87724:43;;:15;;:19;:43::i;:63::-;87693:94;;87826:19;87802:22;:43;;87794:59;;;;;-1:-1:-1;;;87794:59:0;;;;;;;;;;;;;;;-1:-1:-1;;;87794:59:0;;;;;;;;;;;;;;;87860:24;87885:47;:22;87912:19;87885:26;:47::i;:::-;88181:23;;;;:14;:23;;;;;;87860:72;;-1:-1:-1;88181:36:0;;88209:7;88181:27;:36::i;:::-;88157:22;:60;88154:601;;88545:23;;;;:14;:23;;;;;;:43;;88586:1;;88545:36;;88573:7;88545:27;:36::i;:::-;:40;;:43::i;:::-;88525:19;:63;88522:224;;;-1:-1:-1;88617:1:0;88522:224;;;88668:23;;;;:14;:23;;;;;;:68;;88716:19;;88668:43;;88709:1;;88668:43;;88696:7;88668:27;:36::i;:68::-;88651:85;;88522:224;89031:22;89054:25;;;:16;:25;;;;;;;;;89114:14;:23;;;;;;;89093:94;;72279:5;;89093:68;;89054:25;;89093:45;;:16;;:20;:45::i;:::-;:49;;:68::i;51904:89::-;51977:8;51970:15;;;;;;;;-1:-1:-1;;51970:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51944:13;;51970:15;;51977:8;;51970:15;;51977:8;51970:15;;;;;;;;;;;;;;;;;;;;;;;;50728:215;50792:7;-1:-1:-1;;;;;50820:19:0;;50812:74;;;;-1:-1:-1;;;50812:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50906:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;65632:148::-;65212:12;:10;:12::i;:::-;65202:6;;-1:-1:-1;;;;;65202:6:0;;;:22;;;65194:67;;;;;-1:-1:-1;;;65194:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65194:67:0;;;;;;;;;;;;;;;65723:6:::1;::::0;65702:40:::1;::::0;65739:1:::1;::::0;-1:-1:-1;;;;;65723:6:0::1;::::0;65702:40:::1;::::0;65739:1;;65702:40:::1;65753:6;:19:::0;;-1:-1:-1;;;;;;65753:19:0::1;::::0;;65632:148::o;73513:62::-;;;;;;;;;;72345:49;72391:3;72345:49;:::o;71046:::-;;;;;;;;;;;;;:::o;76237:31::-;;;;;;:::o;71162:51::-;;;;;;;;;;;;;:::o;97042:422::-;97169:7;97185:18;97204:21;97226:19;97246:22;97269:24;97295:29;97316:7;97295:20;:29::i;:::-;97184:140;;;;;;;;;;97338:120;97359:8;97368:11;97380:14;97395:10;97406:13;97420:16;97437:10;97448:9;97338:20;:120::i;:::-;97331:127;;;;;;;97042:422;;;;;;;:::o;64990:79::-;65055:6;;-1:-1:-1;;;;;65055:6:0;64990:79;:::o;78354:91::-;65212:12;:10;:12::i;:::-;65202:6;;-1:-1:-1;;;;;65202:6:0;;;:22;;;65194:67;;;;;-1:-1:-1;;;65194:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65194:67:0;;;;;;;;;;;;;;;78419:12:::1;:20:::0;;-1:-1:-1;;78419:20:0::1;::::0;::::1;;::::0;;;::::1;::::0;;78354:91::o;84576:790::-;84800:24;;;;:15;:24;;;;;;84648:13;;;;84800:24;;:39;;;;;;;;;;;;;;;-1:-1:-1;;;84800:39:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;84800:39:0;;;;84779:60;;84890:18;:7;:16;:18::i;:::-;84919;;;;:9;:18;;;;;;:29;;-1:-1:-1;;;;;84919:18:0;:27;:29::i;:::-;84964:22;;;;:13;:22;;;;;;:33;;:31;:33::i;:::-;85013:23;;;;:14;:23;;;;;;:34;;:32;:34::i;:::-;85060:31;;;;:22;:31;;;;;;:42;;:40;:42::i;:::-;85114:24;;;;:15;:24;;;;;;:35;;:33;:35::i;:::-;85162:25;;;;:16;:25;;;;;;:36;;:34;:36::i;:::-;85213:22;;;;:13;:22;;;;;;:33;;:31;:33::i;:::-;85280:23;;;;:14;:23;;;;;;85258:6;;85280:34;;:32;:34::i;:::-;85327:31;:20;85339:7;85327:11;:20::i;:::-;:29;:31::i;:::-;84860:499;;;;;;-1:-1:-1;;;84860:499:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;-1:-1:-1;;;84860:499:0;;;;;;;;;;;;;;;;;-1:-1:-1;84860:499:0;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;-1:-1:-1;;;84860:499:0;;;;;;;;;;;;;;;;;-1:-1:-1;84860:499:0;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;-1:-1:-1;;;84860:499:0;;;;;;;;;;;;;;;;;-1:-1:-1;84860:499:0;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;-1:-1:-1;;;84860:499:0;;;;;;;;;;;;;;;;;-1:-1:-1;84860:499:0;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;-1:-1:-1;;;84860:499:0;;;;;;;;;;;;;;;;;-1:-1:-1;84860:499:0;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;-1:-1:-1;;;84860:499:0;;;;;;;;;;;;;;;;;-1:-1:-1;84860:499:0;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;-1:-1:-1;;;84860:499:0;;;;;;;;;;;;;;;;;-1:-1:-1;84860:499:0;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;-1:-1:-1;;;84860:499:0;;;;;;;;;;;;;;;;;-1:-1:-1;84860:499:0;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;-1:-1:-1;;;84860:499:0;;;;;;;;;;;;;;;;;-1:-1:-1;84860:499:0;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;-1:-1:-1;;;84860:499:0;;;;;;;;;;;;;;;;;-1:-1:-1;84860:499:0;;;;;;;;;;;;;-1:-1:-1;;84860:499:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84846:514;;;84576:790;;;:::o;73031:55::-;73082:4;73031:55;:::o;51402:96::-;51483:7;51476:14;;;;;;;;-1:-1:-1;;51476:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51450:13;;51476:14;;51483:7;;51476:14;;51483:7;51476:14;;;;;;;;;;;;;;;;;;;;;;;;77644:197;65212:12;:10;:12::i;:::-;65202:6;;-1:-1:-1;;;;;65202:6:0;;;:22;;;65194:67;;;;;-1:-1:-1;;;65194:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65194:67:0;;;;;;;;;;;;;;;77754:9:::1;77750:86;77766:15:::0;;::::1;77750:86;;;77820:8;77795:13;:24;77809:6;;77816:1;77809:9;;;;;;;;::::0;;::::1;::::0;;;::::1;;-1:-1:-1::0;;;;;77809:9:0::1;77795:24:::0;;-1:-1:-1;77795:24:0;::::1;::::0;;;;;;-1:-1:-1;77795:24:0;:33;;-1:-1:-1;;77795:33:0::1;::::0;::::1;;::::0;;;::::1;::::0;;-1:-1:-1;77782:3:0::1;77750:86;;;;77644:197:::0;;;:::o;75155:52::-;;;;;;;;;;;;;:::o;74799:63::-;;;;;;;;;;;;;:::o;53554:295::-;53669:12;:10;:12::i;:::-;-1:-1:-1;;;;;53657:24:0;:8;-1:-1:-1;;;;;53657:24:0;;;53649:62;;;;;-1:-1:-1;;;53649:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;53769:8;53724:18;:32;53743:12;:10;:12::i;:::-;-1:-1:-1;;;;;53724:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;53724:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;53724:53:0;;;;;;;;;;;53808:12;:10;:12::i;:::-;-1:-1:-1;;;;;53793:48:0;;53832:8;53793:48;;;;;;;;;;;;;;;;;;;;53554:295;;:::o;71397:57::-;;;;;;;;;;;;;:::o;72732:44::-;;;;:::o;75926:45::-;;;;;;;;;;;;;;;:::o;73948:30::-;;;;:::o;54741:285::-;54873:41;54892:12;:10;:12::i;:::-;54906:7;54873:18;:41::i;:::-;54865:103;;;;-1:-1:-1;;;54865:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54979:39;54993:4;54999:2;55003:7;55012:5;54979:13;:39::i;70924:48::-;;;;;;;;;;;;;:::o;78594:192::-;65212:12;:10;:12::i;:::-;65202:6;;-1:-1:-1;;;;;65202:6:0;;;:22;;;65194:67;;;;;-1:-1:-1;;;65194:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65194:67:0;;;;;;;;;;;;;;;78675:18:::1;:16;:18::i;:::-;78704:9;78700:81;78716:15:::0;;::::1;78700:81;;;78745:28;78763:6;;78770:1;78763:9;;;;;;;;;;;;;-1:-1:-1::0;;;;;78763:9:0::1;78745:17;:28::i;:::-;78732:3;;78700:81;;70266:32:::0;;;;:::o;76099:44::-;;;;:::o;85429:985::-;85494:13;85526:16;85534:7;85526;:16::i;:::-;85518:76;;;;-1:-1:-1;;;85518:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85843:23;85869:34;85895:7;85869:25;:34::i;:::-;85843:60;;85981:9;:7;:9::i;:::-;85975:23;85971:73;;86025:9;-1:-1:-1;86018:16:0;;85971:73;86144:23;;:27;86140:109;;86217:9;:7;:9::i;:::-;86228;86200:38;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;86200:38:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;86200:38:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86200:38:0;;;;;;;;;;;;;-1:-1:-1;;86200:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86186:53;;;;;86140:109;86377:9;:7;:9::i;:::-;86388:18;:7;:16;:18::i;:::-;86360:47;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;86360:47:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;86360:47:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86360:47:0;;;;;;;;;;;;;-1:-1:-1;;86360:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86346:62;;;85429:985;;;:::o;75624:34::-;;;;:::o;75780:54::-;;;;;;;;;;;;;:::o;96066:397::-;96168:7;96296:13;96293:62;;-1:-1:-1;72391:3:0;96319:28;;96293:62;96368:89;72391:3;96399:57;96445:10;96399:41;72391:3;96425:14;96399:25;:41::i;78893:856::-;78966:16;78974:7;78966;:16::i;:::-;-1:-1:-1;;;;;78954:28:0;:10;-1:-1:-1;;;;;78954:28:0;;78946:70;;;;;-1:-1:-1;;;78946:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;79031:24;;;;:15;:24;;;;;;;;79023:71;;;;-1:-1:-1;;;79023:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79186:18;:16;:18::i;:::-;79229;;;;:9;:18;;;;;;79211:37;;-1:-1:-1;;;;;79229:18:0;79211:17;:37::i;:::-;79355:12;79368:20;79380:7;79368:11;:20::i;:::-;79395:9;;:32;;;-1:-1:-1;;;79395:32:0;;79411:10;79395:32;;;;;;;;;;;;79355:33;;-1:-1:-1;;;;;;79395:9:0;;;;:15;;:32;;;;;:9;;:32;;;;;;;;:9;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;79537:28:0;;;;:19;:28;;;;;;;;79566:15;79537:44;;79649:20;:29;;;;;;:39;;-1:-1:-1;79683:4:0;79649:33;:39::i;:::-;79619:29;;;;:20;:29;;;;;;;;:69;;;;79711:9;:18;;;;;;;79702:41;;-1:-1:-1;;;;;79711:18:0;;;79702:41;;;;;;;;;;;;;;;;;;;;;;;;;78893:856;;:::o;74206:44::-;;;;:::o;74959:50::-;;;;;;;;;;;;;:::o;71731:54::-;;;;;;;;;;;;;:::o;91990:1289::-;92261:7;92278:34;92313:59;92343:15;92359:12;92313:29;:59::i;:::-;92278:94;;92379:24;92404:72;92424:20;92445:16;92462:13;92404:19;:72::i;:::-;92379:97;;92487:9;92483:791;;92513:90;92529:8;92538:64;92591:10;92538:48;:16;92559:26;92538:20;:48::i;:64::-;92513:15;:90::i;:::-;92506:97;;;;;;92483:791;92630:13;92644:25;92657:11;;92644:8;:12;;:25;;;;:::i;:::-;92630:39;;92695:1;92686:8;:10;92678:38;;;;;-1:-1:-1;;;92678:38:0;;;;;;;;;;;;-1:-1:-1;;;92678:38:0;;;;;;;;;;;;;;;92782:16;92799:28;:8;72644:7;92799:12;:28::i;:::-;92782:45;-1:-1:-1;92836:17:0;92854:39;92870:22;92890:1;92870:15;:8;92883:1;92870:12;:15::i;:22::-;92854:11;;;:15;:39::i;:::-;92836:57;-1:-1:-1;93184:82:0;92836:57;93184:64;93237:10;93184:64;:16;93205:26;93184:20;:48::i;:82::-;93177:89;;;;;;;91990:1289;;;;;;;;;;;:::o;72234:50::-;72279:5;72234:50;:::o;71626:47::-;;;;;;;;;;;;;;;:::o;53920:156::-;-1:-1:-1;;;;;54033:25:0;;;54009:4;54033:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;53920:156::o;77422:124::-;65212:12;:10;:12::i;:::-;65202:6;;-1:-1:-1;;;;;65202:6:0;;;:22;;;65194:67;;;;;-1:-1:-1;;;65194:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65194:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;77511:20:0;;;::::1;;::::0;;;:13:::1;:20;::::0;;;;:29;;-1:-1:-1;;77511:29:0::1;::::0;::::1;;::::0;;;::::1;::::0;;77422:124::o;76346:26::-;;;;;;-1:-1:-1;;;;;76346:26:0;;:::o;70655:50::-;;;;;;;;;;;;;:::o;65935:244::-;65212:12;:10;:12::i;:::-;65202:6;;-1:-1:-1;;;;;65202:6:0;;;:22;;;65194:67;;;;;-1:-1:-1;;;65194:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;65194:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;66024:22:0;::::1;66016:73;;;;-1:-1:-1::0;;;66016:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66126:6;::::0;66105:38:::1;::::0;-1:-1:-1;;;;;66105:38:0;;::::1;::::0;66126:6:::1;::::0;66105:38:::1;::::0;66126:6:::1;::::0;66105:38:::1;66154:6;:17:::0;;-1:-1:-1;;;;;;66154:17:0::1;-1:-1:-1::0;;;;;66154:17:0;;;::::1;::::0;;;::::1;::::0;;65935:244::o;91340:536::-;-1:-1:-1;;;;;91555:28:0;;91485:7;91555:28;;;:19;:28;;;;;;;;91584:25;:34;;;;;;91555:64;;;;;;;;;91628:28;;;;;;91485:7;;91509:361;;91538:8;;91555:64;91485:7;91657:23;91664:15;91657:6;:23::i;:::-;91628:53;;;;;;;;;;;;91690:15;:41;91706:24;;91690:41;;;;;;;;;;;;91740:15;:40;91756:23;91763:15;91756:6;:23::i;:::-;91740:40;;;;;;;;;;;;91789:17;:43;91807:24;;91789:43;;;;;;;;;;;;91841:10;91860:9;91509:20;:361::i;:::-;91502:368;91340:536;-1:-1:-1;;;;;91340:536:0:o;73261:35::-;;;;:::o;90686:565::-;90816:20;90837:19;91072:72;91096:7;91105:8;91114:22;91128:7;91114:13;:22::i;:::-;91137:6;91072:23;:72::i;:::-;91059:85;-1:-1:-1;91165:80:0;72279:5;91165:54;91180:38;72279:5;91059:85;91180:24;:38::i;:::-;91165:10;;:14;:54::i;:80::-;91151:94;;90686:565;;;;;;;;:::o;99623:483::-;99667:15;:40;99683:23;99690:15;99683:6;:23::i;:::-;99667:40;;;;;;;;;;;;99709:1;99667:43;99664:437;;;99720:11;99732:23;99739:15;99732:6;:23::i;:::-;99720:35;;99785:9;;;;;;;;;-1:-1:-1;;;;;99785:9:0;-1:-1:-1;;;;;99785:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;99785:23:0;99764:20;;;;:15;99785:23;99764:20;;;;;;;:44;;;99842:27;;;99817:24;:52;;;99878:31;;;;99986:43;;:17;:43;;;;;;100030:20;;;;;;100051:41;;;;;99966:127;;100030:20;99966:19;:127::i;:::-;99943:22;;;;:17;:22;;;;;;:150;99664:437;99623:483::o;93475:271::-;93553:12;;93535:7;;93553:12;;93550:176;;;93578:16;:7;93590:3;93578:11;:16::i;:::-;93596:2;93578:20;93575:67;;;93617:12;93630:1;93617:15;;;;;;;;;;;;;;;;93610:22;;;;93575:67;93653:17;:7;93665:4;93653:11;:17::i;:::-;93672:3;93653:22;93650:69;;;93694:12;93707:1;93694:15;;;;;;;93650:69;-1:-1:-1;93739:1:0;93475:271;;;:::o;7080:471::-;7138:7;7383:6;7379:47;;-1:-1:-1;7413:1:0;7406:8;;7379:47;7450:5;;;7454:1;7450;:5;:1;7474:5;;;;;:10;7466:56;;;;-1:-1:-1;;;7466:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8027:132;8085:7;8112:39;8116:1;8119;8112:39;;;;;;;;;;;;;;;;;:3;:39::i;63364:107::-;63422:7;63454:1;63449;:6;;:14;;63462:1;63449:14;;;-1:-1:-1;63458:1:0;;63364:107;-1:-1:-1;63364:107:0:o;63547:106::-;63605:7;63636:1;63632;:5;:13;;63644:1;63632:13;;56492:119;56549:4;56573:30;:12;56595:7;56573:21;:30::i;13454:106::-;13542:10;13454:106;:::o;62319:158::-;62385:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;62385:29:0;-1:-1:-1;;;;;62385:29:0;;;;;;;;:24;;62439:16;62385:24;62439:7;:16::i;:::-;-1:-1:-1;;;;;62430:39:0;;;;;;;;;;;62319:158;;:::o;45745:123::-;45814:7;45841:19;45849:3;45841:7;:19::i;56778:333::-;56863:4;56888:16;56896:7;56888;:16::i;:::-;56880:73;;;;-1:-1:-1;;;56880:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56964:13;56980:16;56988:7;56980;:16::i;:::-;56964:32;;57026:5;-1:-1:-1;;;;;57015:16:0;:7;-1:-1:-1;;;;;57015:16:0;;:51;;;;57059:7;-1:-1:-1;;;;;57035:31:0;:20;57047:7;57035:11;:20::i;:::-;-1:-1:-1;;;;;57035:31:0;;57015:51;:87;;;;57070:32;57087:5;57094:7;57070:16;:32::i;59867:574::-;59985:4;-1:-1:-1;;;;;59965:24:0;:16;59973:7;59965;:16::i;:::-;-1:-1:-1;;;;;59965:24:0;;59957:78;;;;-1:-1:-1;;;59957:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;60054:16:0;;60046:65;;;;-1:-1:-1;;;60046:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60124:39;60145:4;60151:2;60155:7;60124:20;:39::i;:::-;60228:29;60245:1;60249:7;60228:8;:29::i;:::-;-1:-1:-1;;;;;60270:19:0;;;;;;:13;:19;;;;;:35;;60297:7;60270:26;:35::i;:::-;-1:-1:-1;;;;;;60316:17:0;;;;;;:13;:17;;;;;:30;;60338:7;60316:21;:30::i;:::-;-1:-1:-1;60359:29:0;:12;60376:7;60385:2;60359:16;:29::i;:::-;;60425:7;60421:2;-1:-1:-1;;;;;60406:27:0;60415:4;-1:-1:-1;;;;;60406:27:0;;;;;;;;;;;59867:574;;;:::o;38431:137::-;38502:7;38537:22;38541:3;38553:5;38537:3;:22::i;81654:2828::-;-1:-1:-1;;;;;81828:29:0;;81805:7;81828:29;;;:13;:29;;;;;;;;81820:95;;;;-1:-1:-1;;;81820:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82007:18;:16;:18::i;:::-;82032:33;82050:14;82032:17;:33::i;:::-;82203:22;82226:12;;;;;;;;;-1:-1:-1;;;;;82226:12:0;-1:-1:-1;;;;;82226:28:0;;82255:14;82226:44;;;;;;;;;;;;;-1:-1:-1;;;;;82226:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82226:44:0;82295:12;;:24;;;-1:-1:-1;;;82295:24:0;;;;82226:44;;-1:-1:-1;82277:17:0;;82295:12;;;;-1:-1:-1;;;;;82295:12:0;;:22;;:24;;;;;82226:44;;82295:24;;;;;;;;:12;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82295:24:0;;-1:-1:-1;82524:20:0;82545:41;82295:24;82545:26;:14;82564:6;82545:18;:26::i;:41::-;82524:62;;82615:11;;82601:12;:25;;82593:101;;;;-1:-1:-1;;;82593:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82723:11;82709:12;:25;;82701:87;;;;-1:-1:-1;;;82701:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72501:19;82803:12;:29;;82795:63;;;;;-1:-1:-1;;;82795:63:0;;;;;;;;;;;;-1:-1:-1;;;82795:63:0;;;;;;;;;;;;;;;82865:9;;:57;;;-1:-1:-1;;;82865:57:0;;-1:-1:-1;;;;;82865:57:0;;;;;;;82903:4;82865:57;;;;;;;;;;;;:9;;;;;:22;;:57;;;;;;;;;;;;;;:9;;:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;82937:64:0;;;-1:-1:-1;;;82937:64:0;;-1:-1:-1;;;;;82937:64:0;;;;;;;82988:4;82937:64;;;;;;;;;;;;:35;;;;;;:64;;;;;82865:57;;82937:64;;;;;;;;-1:-1:-1;82937:35:0;:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82937:64:0;82929:97;;;;;-1:-1:-1;;;82929:97:0;;;;;;;;;;;;-1:-1:-1;;;82929:97:0;;;;;;;;;;;;;;;83068:9;;:28;;;-1:-1:-1;;;83068:28:0;;;;;;;;;;-1:-1:-1;;;;;83068:9:0;;;;:14;;:28;;;;;:9;;:28;;;;;;;;:9;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83144:15;83160:17;:15;:17::i;:::-;83144:33;;83234:14;83215:9;:18;83225:7;83215:18;;;;;;;;;;;;:33;;;;;-1:-1:-1;;;;;83215:33:0;;;;;-1:-1:-1;;;;;83215:33:0;;;;;;83278:9;83255:13;:22;83269:7;83255:22;;;;;;;;;;;:32;;;;83318:12;83294:14;:23;83309:7;83294:23;;;;;;;;;;;:36;;;;83362:14;83337:15;:24;83353:7;83337:24;;;;;;;;;;;:39;;;;83409:6;83383:16;:25;83400:7;83383:25;;;;;;;;;;;:32;;;;83445:15;83422:13;:22;83436:7;83422:22;;;;;;;;;;;:38;;;;83496:15;83467:19;:28;83487:7;83467:28;;;;;;;;;;;:44;;;;83543:11;83518:15;:24;83534:7;83518:24;;;;;;;;;;;;:36;;;;;;;;;;;;;;;;;;83585:13;83561:14;:23;83576:7;83561:23;;;;;;;;;;;:37;;;;83671:78;83687:7;83695:12;83708:14;83723:13;83737:11;83671:15;:78::i;:::-;83852:70;83920:1;83852:19;:63;83872:42;83879:34;:15;83899:13;83879:19;:34::i;:::-;83872:6;:42::i;:::-;83852:63;;;;;;;;;;;;:67;;:70;;;;:::i;:::-;83788:19;:63;83808:42;83815:34;:15;83835:13;83815:19;:34::i;83808:42::-;83788:63;;;;;;;;;;;;;;-1:-1:-1;83788:63:0;;;:134;;;;-1:-1:-1;;;;;83929:24:0;;;;;:16;:24;;;;;83954:22;:30;;;;;;;;83929:56;;;;;;;;:64;;;84031:30;;;;;:37;;84066:1;84031:34;:37::i;:::-;-1:-1:-1;;;;;84000:30:0;;;;;;:22;:30;;;;;:68;84087:11;;:18;;84103:1;84087:15;:18::i;:::-;84075:11;:30;84128:15;;:33;;84148:12;84128:19;:33::i;:::-;84112:15;:49;-1:-1:-1;;;;;84211:42:0;;;;;;:26;:42;;;;;;:54;;84258:6;84211:46;:54::i;:::-;-1:-1:-1;;;;;84168:42:0;;;;;;:26;:42;;;;;:97;84292:25;84302:6;84309:7;84292:9;:25::i;:::-;84324:19;:17;:19::i;:::-;84378:76;;;-1:-1:-1;;;;;84378:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84469:7;81654:2828;-1:-1:-1;;;;;;;;;;81654:2828:0:o;5726:181::-;5784:7;5816:5;;;5840:6;;;;5832:46;;;;;-1:-1:-1;;;5832:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;6190:136;6248:7;6275:43;6279:1;6282;6275:43;;;;;;;;;;;;;;;;;:3;:43::i;100292:403::-;-1:-1:-1;;;;;100355:30:0;;;;;;:19;:30;;;;;;100386:23;100393:15;100386:6;:23::i;:::-;100355:55;;;;;;;;;;;;100412:1;100355:58;100352:338;;;100423:11;100435:23;100442:15;100435:6;:23::i;:::-;100423:35;;100510:9;-1:-1:-1;;;;;100503:27:0;;100539:4;100503:42;;;;;;;;;;;;;-1:-1:-1;;;;;100503:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;100503:42:0;-1:-1:-1;;;;;100467:30:0;;;;;;:19;100503:42;100467:30;;;;;;;:35;;;;;;;;:78;;;;100591:39;;;:28;:39;;;;;;;;100554:25;:36;;;;;;:76;;;;100639:39;;;:43;100352:338;100292:403;:::o;59010:520::-;59070:13;59086:16;59094:7;59086;:16::i;:::-;59070:32;;59115:48;59136:5;59151:1;59155:7;59115:20;:48::i;:::-;59204:29;59221:1;59225:7;59204:8;:29::i;:::-;59292:19;;;;:10;:19;;;;;59286:33;;-1:-1:-1;;59286:33:0;;;;;;;;;;;:38;59282:97;;59348:19;;;;:10;:19;;;;;59341:26;;;:::i;:::-;-1:-1:-1;;;;;59391:20:0;;;;;;:13;:20;;;;;:36;;59419:7;59391:27;:36::i;:::-;-1:-1:-1;59440:28:0;:12;59460:7;59440:19;:28::i;:::-;-1:-1:-1;59486:36:0;;59514:7;;59510:1;;-1:-1:-1;;;;;59486:36:0;;;;;59510:1;;59486:36;59010:520;;:::o;46207:227::-;46287:7;;;;46347:22;46351:3;46363:5;46347:3;:22::i;:::-;46316:53;;;;-1:-1:-1;46207:227:0;-1:-1:-1;;;;;46207:227:0:o;61042:100::-;61115:19;;;;:8;;:19;;;;;:::i;46869:204::-;46976:7;47019:44;47024:3;47044;47050:12;47019:4;:44::i;13965:744::-;14021:13;14242:10;14238:53;;-1:-1:-1;14269:10:0;;;;;;;;;;;;-1:-1:-1;;;14269:10:0;;;;;;14238:53;14316:5;14301:12;14357:78;14364:9;;14357:78;;14390:8;;14421:2;14413:10;;;;14357:78;;;14445:19;14477:6;14467:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14467:17:0;-1:-1:-1;14539:5:0;;-1:-1:-1;14445:39:0;-1:-1:-1;;;14511:10:0;;14555:115;14562:9;;14555:115;;14629:2;14622:4;:9;14617:2;:14;14606:27;;14588:6;14595:7;;;;;;;14588:15;;;;;;;;;;;:45;-1:-1:-1;;;;;14588:45:0;;;;;;;;-1:-1:-1;14656:2:0;14648:10;;;;14555:115;;;-1:-1:-1;14694:6:0;13965:744;-1:-1:-1;;;;13965:744:0:o;15135:405::-;15228:13;;;15238:2;15228:13;;;15187;15228;;;;;;15187;;15228;;;;;;;;;;;-1:-1:-1;15228:13:0;15211:30;;15255:6;15250:260;15271:2;15267:1;:6;15250:260;;;15293:6;15336:1;15331:2;:6;15328:1;:10;15324:1;:15;15318:1;-1:-1:-1;;;;;15313:7:0;:27;;;;;;15302:40;;15293:49;;15355:7;15381:2;15376:1;15370:8;;:13;;;;;;;;15365:19;;15355:29;;15397:7;15434:2;15428:9;;15423:2;:14;15418:1;15412:8;;:25;15407:31;;15397:41;;15460:8;15465:2;15460:4;:8::i;:::-;15451:1;15455;15453;:3;15451:6;;;;;;;;;;;:17;-1:-1:-1;;;;;15451:17:0;;;;;;;;;15492:8;15497:2;15492:4;:8::i;:::-;15481:1;15485;15483;:3;15487:1;15483:5;15481:8;;;;;;;;;;;:19;-1:-1:-1;;;;;15481:19:0;;;;;;;;-1:-1:-1;;15275:3:0;;;;;-1:-1:-1;15250:260:0;;-1:-1:-1;15250:260:0;;-1:-1:-1;15532:1:0;15135:405;-1:-1:-1;;15135:405:0:o;55907:272::-;56021:28;56031:4;56037:2;56041:7;56021:9;:28::i;:::-;56068:48;56091:4;56097:2;56101:7;56110:5;56068:22;:48::i;:::-;56060:111;;;;-1:-1:-1;;;56060:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9398:130;9456:7;9483:37;9487:1;9490;9483:37;;;;;;;;;;;;;;;;;:3;:37::i;8655:278::-;8741:7;8776:12;8769:5;8761:28;;;;-1:-1:-1;;;8761:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8800:9;8816:1;8812;:5;;;;;;;8655:278;-1:-1:-1;;;;;8655:278:0:o;45506:151::-;45590:4;45614:35;45624:3;45644;45614:9;:35::i;43128:110::-;43211:19;;43128:110::o;37518:137::-;37588:4;37612:35;37620:3;37640:5;37612:7;:35::i;37211:131::-;37278:4;37302:32;37307:3;37327:5;37302:4;:32::i;44938:176::-;45027:4;45051:55;45056:3;45076;-1:-1:-1;;;;;45090:14:0;;45051:4;:55::i;35095:204::-;35190:18;;35162:7;;35190:26;-1:-1:-1;35182:73:0;;;;-1:-1:-1;;;35182:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35273:3;:11;;35285:5;35273:18;;;;;;;;;;;;;;;;35266:25;;35095:204;;;;:::o;86711:100::-;86783:15;;86760:7;;86783:22;;86803:1;86783:19;:22::i;89688:708::-;89828:18;89847:21;89869:19;89889:22;89912:24;89938:30;89953:14;89938;:30::i;:::-;89827:141;;;;;;;;;;89976:20;89997:19;90018:82;90038:7;90046:12;90059:14;90074:13;90088:11;90018:19;:82::i;:::-;90107:31;;;;:22;:31;;;;;;;;:43;;;90157:16;:25;;;;;:38;;;89975:125;;-1:-1:-1;89975:125:0;-1:-1:-1;90202:189:0;;;;90249:14;90264:1;90249:17;;;;;;;;;;;;;;;;90234:13;:32;;90226:100;;;;-1:-1:-1;;;90226:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90356:20;;:27;;90381:1;90356:24;:27::i;:::-;90335:20;:48;90202:189;89688:708;;;;;;;;;;;;:::o;57454:110::-;57530:26;57540:2;57544:7;57530:26;;;;;;;;;;;;:9;:26::i;86523:89::-;86584:15;;:22;;86604:1;86584:19;:22::i;:::-;86568:15;:38;86523:89::o;6629:192::-;6715:7;6751:12;6743:6;;;;6735:29;;;;-1:-1:-1;;;6735:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6787:5:0;;;6629:192::o;45280:142::-;45357:4;45381:33;45389:3;45409;45381:7;:33::i;43593:279::-;43697:19;;43660:7;;;;43697:27;-1:-1:-1;43689:74:0;;;;-1:-1:-1;;;43689:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43776:22;43801:3;:12;;43814:5;43801:19;;;;;;;;;;;;;;;;;;43776:44;;43839:5;:10;;;43851:5;:12;;;43831:33;;;;;43593:279;;;;;:::o;44295:319::-;44389:7;44428:17;;;:12;;;:17;;;;;;44479:12;44464:13;44456:36;;;;-1:-1:-1;;;44456:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44546:3;:12;;44570:1;44559:8;:12;44546:26;;;;;;;;;;;;;;;;;;:33;;;44539:40;;;44295:319;;;;;:::o;15546:157::-;15591:6;15623:2;15612:8;;;;:13;15608:89;;;15645:1;15639:8;;15650:4;15639:15;15634:21;;15627:28;;;;15608:89;15687:1;15681:8;;15692:4;15681:15;15676:21;;15669:28;;;;61707:604;61828:4;61855:15;:2;-1:-1:-1;;;;;61855:13:0;;:15::i;:::-;61850:60;;-1:-1:-1;61894:4:0;61887:11;;61850:60;61920:23;61946:252;-1:-1:-1;;;62059:12:0;:10;:12::i;:::-;62086:4;62105:7;62127:5;61962:181;;;;;;-1:-1:-1;;;;;61962:181:0;;;;;;-1:-1:-1;;;;;61962:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;61962:181:0;;;;;;;-1:-1:-1;;;;;61962:181:0;;;;;;;;;;;61946:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;61946:15:0;;;:252;:15;:252::i;:::-;61920:278;;62209:13;62236:10;62225:32;;;;;;;;;;;;;;;-1:-1:-1;62225:32:0;-1:-1:-1;;;;;;62276:26:0;-1:-1:-1;;;62276:26:0;;-1:-1:-1;;;61707:604:0;;;;;;:::o;10013:166::-;10099:7;10135:12;10127:6;10119:29;;;;-1:-1:-1;;;10119:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10170:1;10166;:5;;;;;;;10013:166;-1:-1:-1;;;;10013:166:0:o;42908:125::-;42979:4;43003:17;;;:12;;;;;:17;;;;;;:22;;;42908:125::o;32797:1544::-;32863:4;33002:19;;;:12;;;:19;;;;;;33038:15;;33034:1300;;33473:18;;-1:-1:-1;;33424:14:0;;;;33473:22;;;;33400:21;;33473:3;;:22;;33760;;;;;;;;;;;;;;33740:42;;33906:9;33877:3;:11;;33889:13;33877:26;;;;;;;;;;;;;;;;;;;:38;;;;33983:23;;;34025:1;33983:12;;;:23;;;;;;34009:17;;;33983:43;;34135:17;;33983:3;;34135:17;;;;;;;;;;;;;;;;;;;;;;34230:3;:12;;:19;34243:5;34230:19;;;;;;;;;;;34223:26;;;34273:4;34266:11;;;;;;;;33034:1300;34317:5;34310:12;;;;;32207:414;32270:4;32292:21;32302:3;32307:5;32292:9;:21::i;:::-;32287:327;;-1:-1:-1;32330:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;32513:18;;32491:19;;;:12;;;:19;;;;;;:40;;;;32546:11;;32287:327;-1:-1:-1;32597:5:0;32590:12;;40408:692;40484:4;40619:17;;;:12;;;:17;;;;;;40653:13;40649:444;;-1:-1:-1;;40738:38:0;;;;;;;;;;;;;;;;;;40720:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;40935:19;;40915:17;;;:12;;;:17;;;;;;;:39;40969:11;;40649:444;41049:5;41013:3;:12;;41037:1;41026:8;:12;41013:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;41076:5;41069:12;;;;;57791:250;57887:18;57893:2;57897:7;57887:5;:18::i;:::-;57924:54;57955:1;57959:2;57963:7;57972:5;57924:22;:54::i;:::-;57916:117;;;;-1:-1:-1;;;57916:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41275:1549;41339:4;41474:17;;;:12;;;:17;;;;;;41508:13;;41504:1313;;41940:19;;-1:-1:-1;;41893:12:0;;;;41940:23;;;;41869:21;;41940:3;;:23;;42237;;;;;;;;;;;;;;;;42208:52;;42385:9;42355:3;:12;;42368:13;42355:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;42475:14;;42462:28;;:12;;;:28;;;;;42493:17;;;42462:48;;42619:18;;42462:3;;42619:18;;;;;;;;;;;;;;-1:-1:-1;;42619:18:0;;;;;;;;;;;;;;;;;;;;;42715:17;;;:12;;;:17;;;;;;42708:24;;;;42619:18;-1:-1:-1;42749:11:0;;-1:-1:-1;;;;42749:11:0;25316:422;25683:20;25722:8;;;25316:422::o;28234:196::-;28337:12;28369:53;28392:6;28400:4;28406:1;28409:12;28369:22;:53::i;58377:404::-;-1:-1:-1;;;;;58457:16:0;;58449:61;;;;;-1:-1:-1;;;58449:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58530:16;58538:7;58530;:16::i;:::-;58529:17;58521:58;;;;;-1:-1:-1;;;58521:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;58592:45;58621:1;58625:2;58629:7;58592:20;:45::i;:::-;-1:-1:-1;;;;;58650:17:0;;;;;;:13;:17;;;;;:30;;58672:7;58650:21;:30::i;:::-;-1:-1:-1;58693:29:0;:12;58710:7;58719:2;58693:16;:29::i;:::-;-1:-1:-1;58740:33:0;;58765:7;;-1:-1:-1;;;;;58740:33:0;;;58757:1;;58740:33;;58757:1;;58740:33;58377:404;;:::o;29611:979::-;29741:12;29774:18;29785:6;29774:10;:18::i;:::-;29766:60;;;;;-1:-1:-1;;;29766:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29900:12;29914:23;29941:6;-1:-1:-1;;;;;29941:11:0;29961:8;29972:4;29941:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;29941:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29899:78;;;;29992:7;29988:595;;;30023:10;-1:-1:-1;30016:17:0;;-1:-1:-1;30016:17:0;29988:595;30137:17;;:21;30133:439;;30400:10;30394:17;30461:15;30448:10;30444:2;30440:19;30433:44;30348:148;30536:20;;-1:-1:-1;;;30536:20:0;;;;;;;;;;;;;;;;;30543:12;;30536:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;
Swarm Source
ipfs://920a11587e11c5954c63453a26b930bb37c98e52a5c5922dd3fba8f4413dd704
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.