Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
1,952 BFA
Holders
205
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
33 BFALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BitsForAI
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-01-25 */ // File: node_modules\@openzeppelin\contracts\math\SafeMath.sol pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ 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. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: node_modules\@openzeppelin\contracts\math\Math.sol pragma solidity ^0.5.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } // File: node_modules\@openzeppelin\contracts\GSN\Context.sol pragma solidity ^0.5.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: node_modules\@openzeppelin\contracts\ownership\Ownable.sol pragma solidity ^0.5.0; /** * @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. * * 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 { _owner = _msgSender(); emit OwnershipTransferred(address(0), _owner); } /** * @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(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _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 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 onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: node_modules\@openzeppelin\contracts\introspection\IERC165.sol pragma solidity ^0.5.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); } // File: node_modules\@openzeppelin\contracts\token\ERC721\IERC721.sol pragma solidity ^0.5.0; /** * @dev Required interface of an ERC721 compliant contract. */ contract IERC721 is IERC165 { event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of NFTs in `owner`'s account. */ function balanceOf(address owner) public view returns (uint256 balance); /** * @dev Returns the owner of the NFT specified by `tokenId`. */ function ownerOf(uint256 tokenId) public view returns (address owner); /** * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to * another (`to`). * * * * Requirements: * - `from`, `to` cannot be zero. * - `tokenId` must be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this * NFT by either {approve} or {setApprovalForAll}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public; /** * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to * another (`to`). * * Requirements: * - If the caller is not `from`, it must be approved to move this NFT by * either {approve} or {setApprovalForAll}. */ function transferFrom(address from, address to, uint256 tokenId) public; function approve(address to, uint256 tokenId) public; function getApproved(uint256 tokenId) public view returns (address operator); function setApprovalForAll(address operator, bool _approved) public; function isApprovedForAll(address owner, address operator) public view returns (bool); function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public; } // File: node_modules\@openzeppelin\contracts\token\ERC721\IERC721Receiver.sol pragma solidity ^0.5.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ contract IERC721Receiver { /** * @notice Handle the receipt of an NFT * @dev The ERC721 smart contract calls this function on the recipient * after a {IERC721-safeTransferFrom}. This function MUST return the function selector, * otherwise the caller will revert the transaction. The selector to be * returned can be obtained as `this.onERC721Received.selector`. This * function MAY throw to revert and reject the transfer. * Note: the ERC721 contract address is always the message sender. * @param operator The address which called `safeTransferFrom` function * @param from The address which previously owned the token * @param tokenId The NFT identifier which is being transferred * @param data Additional data with no specified format * @return bytes4 `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` */ function onERC721Received(address operator, address from, uint256 tokenId, bytes memory data) public returns (bytes4); } // File: node_modules\@openzeppelin\contracts\utils\Address.sol pragma solidity ^0.5.5; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * This test is non-exhaustive, and there may be false-negatives: during the * execution of a contract's constructor, its address will be reported as * not containing 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. */ 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. // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != 0x0 && codehash != accountHash); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @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]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } // File: node_modules\@openzeppelin\contracts\drafts\Counters.sol pragma solidity ^0.5.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath} * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never * directly accessed. */ library Counters { using SafeMath for uint256; struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { counter._value += 1; } function decrement(Counter storage counter) internal { counter._value = counter._value.sub(1); } } // File: node_modules\@openzeppelin\contracts\introspection\ERC165.sol pragma solidity ^0.5.0; /** * @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) external view 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 { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: node_modules\@openzeppelin\contracts\token\ERC721\ERC721.sol pragma solidity ^0.5.0; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, ERC165, IERC721 { using SafeMath for uint256; using Address for address; using Counters for Counters.Counter; // 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 token ID to owner mapping (uint256 => address) private _tokenOwner; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to number of owned token mapping (address => Counters.Counter) private _ownedTokensCount; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; /* * 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 ^ 0xe985e9c ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; constructor () public { // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); } /** * @dev Gets the balance of the specified address. * @param owner address to query the balance of * @return uint256 representing the amount owned by the passed address */ function balanceOf(address owner) public view returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _ownedTokensCount[owner].current(); } /** * @dev Gets the owner of the specified token ID. * @param tokenId uint256 ID of the token to query the owner of * @return address currently marked as the owner of the given token ID */ function ownerOf(uint256 tokenId) public view returns (address) { address owner = _tokenOwner[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev Approves another address to transfer the given token ID * The zero address indicates there is no approved address. * There can only be one approved address per token at a given time. * Can only be called by the token owner or an approved operator. * @param to address to be approved for the given token ID * @param tokenId uint256 ID of the token to be approved */ function approve(address to, uint256 tokenId) public { 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" ); _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Gets the approved address for a token ID, or zero if no address set * Reverts if the token ID does not exist. * @param tokenId uint256 ID of the token to query the approval of * @return address currently approved for the given token ID */ function getApproved(uint256 tokenId) public view returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev Sets or unsets the approval of a given operator * An operator is allowed to transfer all tokens of the sender on their behalf. * @param to operator address to set the approval * @param approved representing the status of the approval to be set */ function setApprovalForAll(address to, bool approved) public { require(to != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][to] = approved; emit ApprovalForAll(_msgSender(), to, approved); } /** * @dev Tells whether an operator is approved by a given owner. * @param owner owner address which you want to query the approval of * @param operator operator address which you want to query the approval of * @return bool whether the given operator is approved by the given owner */ function isApprovedForAll(address owner, address operator) public view returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Transfers the ownership of a given token ID to another address. * Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * Requires the msg.sender to be the owner, approved, or operator. * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function transferFrom(address from, address to, uint256 tokenId) public { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transferFrom(from, to, tokenId); } /** * @dev Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received}, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * Requires the msg.sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function safeTransferFrom(address from, address to, uint256 tokenId) public { safeTransferFrom(from, to, tokenId, ""); } /** * @dev Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received}, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * Requires the _msgSender() to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred * @param _data bytes data to send along with a safe transfer check */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransferFrom(from, to, tokenId, _data); } /** * @dev Safely transfers the ownership of a given token ID to another address * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * Requires the msg.sender to be the owner, approved, or operator * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred * @param _data bytes data to send along with a safe transfer check */ function _safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) internal { _transferFrom(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether the specified token exists. * @param tokenId uint256 ID of the token to query the existence of * @return bool whether the token exists */ function _exists(uint256 tokenId) internal view returns (bool) { address owner = _tokenOwner[tokenId]; return owner != address(0); } /** * @dev Returns whether the given spender can transfer a given token ID. * @param spender address of the spender to query * @param tokenId uint256 ID of the token to be transferred * @return bool whether the msg.sender is approved for the given token ID, * is an operator of the owner, or is the owner of the token */ function _isApprovedOrOwner(address spender, 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 Internal function to safely mint a new token. * Reverts if the given token ID already exists. * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * @param to The address that will own the minted token * @param tokenId uint256 ID of the token to be minted */ function _safeMint(address to, uint256 tokenId) internal { _safeMint(to, tokenId, ""); } /** * @dev Internal function to safely mint a new token. * Reverts if the given token ID already exists. * If the target address is a contract, it must implement `onERC721Received`, * which is called upon a safe transfer, and return the magic value * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise, * the transfer is reverted. * @param to The address that will own the minted token * @param tokenId uint256 ID of the token to be minted * @param _data bytes data to send along with a safe transfer check */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Internal function to mint a new token. * Reverts if the given token ID already exists. * @param to The address that will own the minted token * @param tokenId uint256 ID of the token to be minted */ function _mint(address to, uint256 tokenId) internal { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _tokenOwner[tokenId] = to; _ownedTokensCount[to].increment(); emit Transfer(address(0), to, tokenId); } /** * @dev Internal function to burn a specific token. * Reverts if the token does not exist. * Deprecated, use {_burn} instead. * @param owner owner of the token to burn * @param tokenId uint256 ID of the token being burned */ function _burn(address owner, uint256 tokenId) internal { require(ownerOf(tokenId) == owner, "ERC721: burn of token that is not own"); _clearApproval(tokenId); _ownedTokensCount[owner].decrement(); _tokenOwner[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } /** * @dev Internal function to burn a specific token. * Reverts if the token does not exist. * @param tokenId uint256 ID of the token being burned */ function _burn(uint256 tokenId) internal { _burn(ownerOf(tokenId), tokenId); } /** * @dev Internal function to transfer ownership of a given token ID to another address. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function _transferFrom(address from, address to, uint256 tokenId) internal { require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _clearApproval(tokenId); _ownedTokensCount[from].decrement(); _ownedTokensCount[to].increment(); _tokenOwner[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * This function is deprecated. * @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) internal returns (bool) { if (!to.isContract()) { return true; } bytes4 retval = IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data); return (retval == _ERC721_RECEIVED); } /** * @dev Private function to clear current approval of a given token ID. * @param tokenId uint256 ID of the token to be transferred */ function _clearApproval(uint256 tokenId) private { if (_tokenApprovals[tokenId] != address(0)) { _tokenApprovals[tokenId] = address(0); } } } // File: node_modules\@openzeppelin\contracts\token\ERC721\IERC721Enumerable.sol pragma solidity ^0.5.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ contract IERC721Enumerable is IERC721 { function totalSupply() public view returns (uint256); function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256 tokenId); function tokenByIndex(uint256 index) public view returns (uint256); } // File: node_modules\@openzeppelin\contracts\token\ERC721\ERC721Enumerable.sol pragma solidity ^0.5.0; /** * @title ERC-721 Non-Fungible Token with optional enumeration extension logic * @dev See https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721Enumerable is Context, ERC165, ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => uint256[]) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /* * 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 Constructor function. */ constructor () public { // register the supported interface to conform to ERC721Enumerable via ERC165 _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @dev Gets the token ID at a given index of the tokens list of the requested owner. * @param owner address owning the tokens list to be accessed * @param index uint256 representing the index to be accessed of the requested tokens list * @return uint256 token ID at the given index of the tokens list owned by the requested address */ function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) { require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev Gets the total amount of tokens stored by the contract. * @return uint256 representing the total amount of tokens */ function totalSupply() public view returns (uint256) { return _allTokens.length; } /** * @dev Gets the token ID at a given index of all the tokens in this contract * Reverts if the index is greater or equal to the total number of tokens. * @param index uint256 representing the index to be accessed of the tokens list * @return uint256 token ID at the given index of the tokens list */ function tokenByIndex(uint256 index) public view returns (uint256) { require(index < totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Internal function to transfer ownership of a given token ID to another address. * As opposed to transferFrom, this imposes no restrictions on msg.sender. * @param from current owner of the token * @param to address to receive the ownership of the given token ID * @param tokenId uint256 ID of the token to be transferred */ function _transferFrom(address from, address to, uint256 tokenId) internal { super._transferFrom(from, to, tokenId); _removeTokenFromOwnerEnumeration(from, tokenId); _addTokenToOwnerEnumeration(to, tokenId); } /** * @dev Internal function to mint a new token. * Reverts if the given token ID already exists. * @param to address the beneficiary that will own the minted token * @param tokenId uint256 ID of the token to be minted */ function _mint(address to, uint256 tokenId) internal { super._mint(to, tokenId); _addTokenToOwnerEnumeration(to, tokenId); _addTokenToAllTokensEnumeration(tokenId); } /** * @dev Internal function to burn a specific token. * Reverts if the token does not exist. * Deprecated, use {ERC721-_burn} instead. * @param owner owner of the token to burn * @param tokenId uint256 ID of the token being burned */ function _burn(address owner, uint256 tokenId) internal { super._burn(owner, tokenId); _removeTokenFromOwnerEnumeration(owner, tokenId); // Since tokenId will be deleted, we can clear its slot in _ownedTokensIndex to trigger a gas refund _ownedTokensIndex[tokenId] = 0; _removeTokenFromAllTokensEnumeration(tokenId); } /** * @dev Gets the list of token IDs of the requested owner. * @param owner address owning the tokens * @return uint256[] List of token IDs owned by the requested address */ function _tokensOfOwner(address owner) internal view returns (uint256[] storage) { return _ownedTokens[owner]; } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { _ownedTokensIndex[tokenId] = _ownedTokens[to].length; _ownedTokens[to].push(tokenId); } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _ownedTokens[from].length.sub(1); uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array _ownedTokens[from].length--; // Note that _ownedTokensIndex[tokenId] hasn't been cleared: it still points to the old slot (now occupied by // lastTokenId, or just over the end of the array if the token was the last one). } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length.sub(1); uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array _allTokens.length--; _allTokensIndex[tokenId] = 0; } } // File: node_modules\@openzeppelin\contracts\token\ERC721\IERC721Metadata.sol pragma solidity ^0.5.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ contract IERC721Metadata is IERC721 { function name() external view returns (string memory); function symbol() external view returns (string memory); function tokenURI(uint256 tokenId) external view returns (string memory); } // File: node_modules\@openzeppelin\contracts\token\ERC721\ERC721Metadata.sol pragma solidity ^0.5.0; contract ERC721Metadata is Context, ERC165, ERC721, IERC721Metadata { // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /* * 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; /** * @dev Constructor function */ 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_METADATA); } /** * @dev Gets the token name. * @return string representing the token name */ function name() external view returns (string memory) { return _name; } /** * @dev Gets the token symbol. * @return string representing the token symbol */ function symbol() external view returns (string memory) { return _symbol; } /** * @dev Returns an URI for a given token ID. * Throws if the token ID does not exist. May return an empty string. * @param tokenId uint256 ID of the token to query */ function tokenURI(uint256 tokenId) external view returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return _tokenURIs[tokenId]; } /** * @dev Internal function to set the token URI for a given token. * Reverts if the token ID does not exist. * @param tokenId uint256 ID of the token to set its URI * @param uri string URI to assign */ function _setTokenURI(uint256 tokenId, string memory uri) internal { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = uri; } /** * @dev Internal function to burn a specific token. * Reverts if the token does not exist. * Deprecated, use _burn(uint256) instead. * @param owner owner of the token to burn * @param tokenId uint256 ID of the token being burned by the msg.sender */ function _burn(address owner, uint256 tokenId) internal { super._burn(owner, tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } } // File: node_modules\@openzeppelin\contracts\token\ERC721\ERC721Full.sol pragma solidity ^0.5.0; /** * @title Full ERC721 Token * @dev This implementation includes all the required and some optional functionality of the ERC721 standard * Moreover, it includes approve all functionality using operator terminology. * * See https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721Full is ERC721, ERC721Enumerable, ERC721Metadata { constructor (string memory name, string memory symbol) public ERC721Metadata(name, symbol) { // solhint-disable-previous-line no-empty-blocks } } // File: node_modules\@openzeppelin\contracts\utils\ReentrancyGuard.sol pragma solidity ^0.5.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. */ contract ReentrancyGuard { // counter to allow mutex lock with only one SSTORE operation uint256 private _guardCounter; constructor () internal { // The counter starts at one to prevent changing it from zero to a non-zero // value, which is a more expensive operation. _guardCounter = 1; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { _guardCounter += 1; uint256 localCounter = _guardCounter; _; require(localCounter == _guardCounter, "ReentrancyGuard: reentrant call"); } } // File: contracts\provableAPI.sol // <provableAPI> /* Copyright (c) 2015-2016 Oraclize SRL Copyright (c) 2016-2019 Oraclize LTD Copyright (c) 2019 Provable Things Limited Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ pragma solidity >= 0.5.0 < 0.6.0; // Incompatible compiler version - please select a compiler within the stated pragma range, or use a different version of the provableAPI! // Dummy contract only used to emit to end-user they are using wrong solc contract solcChecker { /* INCOMPATIBLE SOLC: import the following instead: "github.com/oraclize/ethereum-api/oraclizeAPI_0.4.sol" */ function f(bytes calldata x) external; } contract ProvableI { address public cbAddress; function setProofType(byte _proofType) external; function setCustomGasPrice(uint _gasPrice) external; function getPrice(string memory _datasource) public returns (uint _dsprice); function randomDS_getSessionPubKeyHash() external view returns (bytes32 _sessionKeyHash); function getPrice(string memory _datasource, uint _gasLimit) public returns (uint _dsprice); function queryN(uint _timestamp, string memory _datasource, bytes memory _argN) public payable returns (bytes32 _id); function query(uint _timestamp, string calldata _datasource, string calldata _arg) external payable returns (bytes32 _id); function query2(uint _timestamp, string memory _datasource, string memory _arg1, string memory _arg2) public payable returns (bytes32 _id); function query_withGasLimit(uint _timestamp, string calldata _datasource, string calldata _arg, uint _gasLimit) external payable returns (bytes32 _id); function queryN_withGasLimit(uint _timestamp, string calldata _datasource, bytes calldata _argN, uint _gasLimit) external payable returns (bytes32 _id); function query2_withGasLimit(uint _timestamp, string calldata _datasource, string calldata _arg1, string calldata _arg2, uint _gasLimit) external payable returns (bytes32 _id); } contract OracleAddrResolverI { function getAddress() public returns (address _address); } /* Begin solidity-cborutils https://github.com/smartcontractkit/solidity-cborutils MIT License Copyright (c) 2018 SmartContract ChainLink, Ltd. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ library Buffer { struct buffer { bytes buf; uint capacity; } function init(buffer memory _buf, uint _capacity) internal pure { uint capacity = _capacity; if (capacity % 32 != 0) { capacity += 32 - (capacity % 32); } _buf.capacity = capacity; // Allocate space for the buffer data assembly { let ptr := mload(0x40) mstore(_buf, ptr) mstore(ptr, 0) mstore(0x40, add(ptr, capacity)) } } function resize(buffer memory _buf, uint _capacity) private pure { bytes memory oldbuf = _buf.buf; init(_buf, _capacity); append(_buf, oldbuf); } function max(uint _a, uint _b) private pure returns (uint _max) { if (_a > _b) { return _a; } return _b; } /** * @dev Appends a byte array to the end of the buffer. Resizes if doing so * would exceed the capacity of the buffer. * @param _buf The buffer to append to. * @param _data The data to append. * @return The original buffer. * */ function append(buffer memory _buf, bytes memory _data) internal pure returns (buffer memory _buffer) { if (_data.length + _buf.buf.length > _buf.capacity) { resize(_buf, max(_buf.capacity, _data.length) * 2); } uint dest; uint src; uint len = _data.length; assembly { let bufptr := mload(_buf) // Memory address of the buffer data let buflen := mload(bufptr) // Length of existing buffer data dest := add(add(bufptr, buflen), 32) // Start address = buffer address + buffer length + sizeof(buffer length) mstore(bufptr, add(buflen, mload(_data))) // Update buffer length src := add(_data, 32) } for(; len >= 32; len -= 32) { // Copy word-length chunks while possible assembly { mstore(dest, mload(src)) } dest += 32; src += 32; } uint mask = 256 ** (32 - len) - 1; // Copy remaining bytes assembly { let srcpart := and(mload(src), not(mask)) let destpart := and(mload(dest), mask) mstore(dest, or(destpart, srcpart)) } return _buf; } /** * * @dev Appends a byte to the end of the buffer. Resizes if doing so would * exceed the capacity of the buffer. * @param _buf The buffer to append to. * @param _data The data to append. * @return The original buffer. * */ function append(buffer memory _buf, uint8 _data) internal pure { if (_buf.buf.length + 1 > _buf.capacity) { resize(_buf, _buf.capacity * 2); } assembly { let bufptr := mload(_buf) // Memory address of the buffer data let buflen := mload(bufptr) // Length of existing buffer data let dest := add(add(bufptr, buflen), 32) // Address = buffer address + buffer length + sizeof(buffer length) mstore8(dest, _data) mstore(bufptr, add(buflen, 1)) // Update buffer length } } /** * * @dev Appends a byte to the end of the buffer. Resizes if doing so would * exceed the capacity of the buffer. * @param _buf The buffer to append to. * @param _data The data to append. * @return The original buffer. * */ function appendInt(buffer memory _buf, uint _data, uint _len) internal pure returns (buffer memory _buffer) { if (_len + _buf.buf.length > _buf.capacity) { resize(_buf, max(_buf.capacity, _len) * 2); } uint mask = 256 ** _len - 1; assembly { let bufptr := mload(_buf) // Memory address of the buffer data let buflen := mload(bufptr) // Length of existing buffer data let dest := add(add(bufptr, buflen), _len) // Address = buffer address + buffer length + sizeof(buffer length) + len mstore(dest, or(and(mload(dest), not(mask)), _data)) mstore(bufptr, add(buflen, _len)) // Update buffer length } return _buf; } } library CBOR { using Buffer for Buffer.buffer; uint8 private constant MAJOR_TYPE_INT = 0; uint8 private constant MAJOR_TYPE_MAP = 5; uint8 private constant MAJOR_TYPE_BYTES = 2; uint8 private constant MAJOR_TYPE_ARRAY = 4; uint8 private constant MAJOR_TYPE_STRING = 3; uint8 private constant MAJOR_TYPE_NEGATIVE_INT = 1; uint8 private constant MAJOR_TYPE_CONTENT_FREE = 7; function encodeType(Buffer.buffer memory _buf, uint8 _major, uint _value) private pure { if (_value <= 23) { _buf.append(uint8((_major << 5) | _value)); } else if (_value <= 0xFF) { _buf.append(uint8((_major << 5) | 24)); _buf.appendInt(_value, 1); } else if (_value <= 0xFFFF) { _buf.append(uint8((_major << 5) | 25)); _buf.appendInt(_value, 2); } else if (_value <= 0xFFFFFFFF) { _buf.append(uint8((_major << 5) | 26)); _buf.appendInt(_value, 4); } else if (_value <= 0xFFFFFFFFFFFFFFFF) { _buf.append(uint8((_major << 5) | 27)); _buf.appendInt(_value, 8); } } function encodeIndefiniteLengthType(Buffer.buffer memory _buf, uint8 _major) private pure { _buf.append(uint8((_major << 5) | 31)); } function encodeUInt(Buffer.buffer memory _buf, uint _value) internal pure { encodeType(_buf, MAJOR_TYPE_INT, _value); } function encodeInt(Buffer.buffer memory _buf, int _value) internal pure { if (_value >= 0) { encodeType(_buf, MAJOR_TYPE_INT, uint(_value)); } else { encodeType(_buf, MAJOR_TYPE_NEGATIVE_INT, uint(-1 - _value)); } } function encodeBytes(Buffer.buffer memory _buf, bytes memory _value) internal pure { encodeType(_buf, MAJOR_TYPE_BYTES, _value.length); _buf.append(_value); } function encodeString(Buffer.buffer memory _buf, string memory _value) internal pure { encodeType(_buf, MAJOR_TYPE_STRING, bytes(_value).length); _buf.append(bytes(_value)); } function startArray(Buffer.buffer memory _buf) internal pure { encodeIndefiniteLengthType(_buf, MAJOR_TYPE_ARRAY); } function startMap(Buffer.buffer memory _buf) internal pure { encodeIndefiniteLengthType(_buf, MAJOR_TYPE_MAP); } function endSequence(Buffer.buffer memory _buf) internal pure { encodeIndefiniteLengthType(_buf, MAJOR_TYPE_CONTENT_FREE); } } /* End solidity-cborutils */ contract usingProvable { using CBOR for Buffer.buffer; ProvableI provable; OracleAddrResolverI OAR; uint constant day = 60 * 60 * 24; uint constant week = 60 * 60 * 24 * 7; uint constant month = 60 * 60 * 24 * 30; byte constant proofType_NONE = 0x00; byte constant proofType_Ledger = 0x30; byte constant proofType_Native = 0xF0; byte constant proofStorage_IPFS = 0x01; byte constant proofType_Android = 0x40; byte constant proofType_TLSNotary = 0x10; string provable_network_name; uint8 constant networkID_auto = 0; uint8 constant networkID_morden = 2; uint8 constant networkID_mainnet = 1; uint8 constant networkID_testnet = 2; uint8 constant networkID_consensys = 161; mapping(bytes32 => bytes32) provable_randomDS_args; mapping(bytes32 => bool) provable_randomDS_sessionKeysHashVerified; modifier provableAPI { if ((address(OAR) == address(0)) || (getCodeSize(address(OAR)) == 0)) { provable_setNetwork(networkID_auto); } if (address(provable) != OAR.getAddress()) { provable = ProvableI(OAR.getAddress()); } _; } modifier provable_randomDS_proofVerify(bytes32 _queryId, string memory _result, bytes memory _proof) { // RandomDS Proof Step 1: The prefix has to match 'LP\x01' (Ledger Proof version 1) require((_proof[0] == "L") && (_proof[1] == "P") && (uint8(_proof[2]) == uint8(1))); bool proofVerified = provable_randomDS_proofVerify__main(_proof, _queryId, bytes(_result), provable_getNetworkName()); require(proofVerified); _; } function provable_setNetwork(uint8 _networkID) internal returns (bool _networkSet) { _networkID; // NOTE: Silence the warning and remain backwards compatible return provable_setNetwork(); } function provable_setNetworkName(string memory _network_name) internal { provable_network_name = _network_name; } function provable_getNetworkName() internal view returns (string memory _networkName) { return provable_network_name; } function provable_setNetwork() internal returns (bool _networkSet) { if (getCodeSize(0x1d3B2638a7cC9f2CB3D298A3DA7a90B67E5506ed) > 0) { //mainnet OAR = OracleAddrResolverI(0x1d3B2638a7cC9f2CB3D298A3DA7a90B67E5506ed); provable_setNetworkName("eth_mainnet"); return true; } if (getCodeSize(0xc03A2615D5efaf5F49F60B7BB6583eaec212fdf1) > 0) { //ropsten testnet OAR = OracleAddrResolverI(0xc03A2615D5efaf5F49F60B7BB6583eaec212fdf1); provable_setNetworkName("eth_ropsten3"); return true; } if (getCodeSize(0xB7A07BcF2Ba2f2703b24C0691b5278999C59AC7e) > 0) { //kovan testnet OAR = OracleAddrResolverI(0xB7A07BcF2Ba2f2703b24C0691b5278999C59AC7e); provable_setNetworkName("eth_kovan"); return true; } if (getCodeSize(0x146500cfd35B22E4A392Fe0aDc06De1a1368Ed48) > 0) { //rinkeby testnet OAR = OracleAddrResolverI(0x146500cfd35B22E4A392Fe0aDc06De1a1368Ed48); provable_setNetworkName("eth_rinkeby"); return true; } if (getCodeSize(0xa2998EFD205FB9D4B4963aFb70778D6354ad3A41) > 0) { //goerli testnet OAR = OracleAddrResolverI(0xa2998EFD205FB9D4B4963aFb70778D6354ad3A41); provable_setNetworkName("eth_goerli"); return true; } if (getCodeSize(0x6f485C8BF6fc43eA212E93BBF8ce046C7f1cb475) > 0) { //ethereum-bridge OAR = OracleAddrResolverI(0x6f485C8BF6fc43eA212E93BBF8ce046C7f1cb475); return true; } if (getCodeSize(0x20e12A1F859B3FeaE5Fb2A0A32C18F5a65555bBF) > 0) { //ether.camp ide OAR = OracleAddrResolverI(0x20e12A1F859B3FeaE5Fb2A0A32C18F5a65555bBF); return true; } if (getCodeSize(0x51efaF4c8B3C9AfBD5aB9F4bbC82784Ab6ef8fAA) > 0) { //browser-solidity OAR = OracleAddrResolverI(0x51efaF4c8B3C9AfBD5aB9F4bbC82784Ab6ef8fAA); return true; } return false; } /** * @dev The following `__callback` functions are just placeholders ideally * meant to be defined in child contract when proofs are used. * The function bodies simply silence compiler warnings. */ function __callback(bytes32 _myid, string memory _result) public { __callback(_myid, _result, new bytes(0)); } function __callback(bytes32 _myid, string memory _result, bytes memory _proof) public { _myid; _result; _proof; provable_randomDS_args[bytes32(0)] = bytes32(0); } function provable_getPrice(string memory _datasource) provableAPI internal returns (uint _queryPrice) { return provable.getPrice(_datasource); } function provable_getPrice(string memory _datasource, uint _gasLimit) provableAPI internal returns (uint _queryPrice) { return provable.getPrice(_datasource, _gasLimit); } function provable_query(string memory _datasource, string memory _arg) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource); if (price > 1 ether + tx.gasprice * 200000) { return 0; // Unexpectedly high price } return provable.query.value(price)(0, _datasource, _arg); } function provable_query(uint _timestamp, string memory _datasource, string memory _arg) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource); if (price > 1 ether + tx.gasprice * 200000) { return 0; // Unexpectedly high price } return provable.query.value(price)(_timestamp, _datasource, _arg); } function provable_query(uint _timestamp, string memory _datasource, string memory _arg, uint _gasLimit) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource,_gasLimit); if (price > 1 ether + tx.gasprice * _gasLimit) { return 0; // Unexpectedly high price } return provable.query_withGasLimit.value(price)(_timestamp, _datasource, _arg, _gasLimit); } function provable_query(string memory _datasource, string memory _arg, uint _gasLimit) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource, _gasLimit); if (price > 1 ether + tx.gasprice * _gasLimit) { return 0; // Unexpectedly high price } return provable.query_withGasLimit.value(price)(0, _datasource, _arg, _gasLimit); } function provable_query(string memory _datasource, string memory _arg1, string memory _arg2) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource); if (price > 1 ether + tx.gasprice * 200000) { return 0; // Unexpectedly high price } return provable.query2.value(price)(0, _datasource, _arg1, _arg2); } function provable_query(uint _timestamp, string memory _datasource, string memory _arg1, string memory _arg2) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource); if (price > 1 ether + tx.gasprice * 200000) { return 0; // Unexpectedly high price } return provable.query2.value(price)(_timestamp, _datasource, _arg1, _arg2); } function provable_query(uint _timestamp, string memory _datasource, string memory _arg1, string memory _arg2, uint _gasLimit) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource, _gasLimit); if (price > 1 ether + tx.gasprice * _gasLimit) { return 0; // Unexpectedly high price } return provable.query2_withGasLimit.value(price)(_timestamp, _datasource, _arg1, _arg2, _gasLimit); } function provable_query(string memory _datasource, string memory _arg1, string memory _arg2, uint _gasLimit) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource, _gasLimit); if (price > 1 ether + tx.gasprice * _gasLimit) { return 0; // Unexpectedly high price } return provable.query2_withGasLimit.value(price)(0, _datasource, _arg1, _arg2, _gasLimit); } function provable_query(string memory _datasource, string[] memory _argN) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource); if (price > 1 ether + tx.gasprice * 200000) { return 0; // Unexpectedly high price } bytes memory args = stra2cbor(_argN); return provable.queryN.value(price)(0, _datasource, args); } function provable_query(uint _timestamp, string memory _datasource, string[] memory _argN) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource); if (price > 1 ether + tx.gasprice * 200000) { return 0; // Unexpectedly high price } bytes memory args = stra2cbor(_argN); return provable.queryN.value(price)(_timestamp, _datasource, args); } function provable_query(uint _timestamp, string memory _datasource, string[] memory _argN, uint _gasLimit) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource, _gasLimit); if (price > 1 ether + tx.gasprice * _gasLimit) { return 0; // Unexpectedly high price } bytes memory args = stra2cbor(_argN); return provable.queryN_withGasLimit.value(price)(_timestamp, _datasource, args, _gasLimit); } function provable_query(string memory _datasource, string[] memory _argN, uint _gasLimit) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource, _gasLimit); if (price > 1 ether + tx.gasprice * _gasLimit) { return 0; // Unexpectedly high price } bytes memory args = stra2cbor(_argN); return provable.queryN_withGasLimit.value(price)(0, _datasource, args, _gasLimit); } function provable_query(string memory _datasource, string[1] memory _args) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](1); dynargs[0] = _args[0]; return provable_query(_datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, string[1] memory _args) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](1); dynargs[0] = _args[0]; return provable_query(_timestamp, _datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, string[1] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](1); dynargs[0] = _args[0]; return provable_query(_timestamp, _datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, string[1] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](1); dynargs[0] = _args[0]; return provable_query(_datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, string[2] memory _args) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](2); dynargs[0] = _args[0]; dynargs[1] = _args[1]; return provable_query(_datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, string[2] memory _args) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](2); dynargs[0] = _args[0]; dynargs[1] = _args[1]; return provable_query(_timestamp, _datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, string[2] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](2); dynargs[0] = _args[0]; dynargs[1] = _args[1]; return provable_query(_timestamp, _datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, string[2] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](2); dynargs[0] = _args[0]; dynargs[1] = _args[1]; return provable_query(_datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, string[3] memory _args) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](3); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; return provable_query(_datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, string[3] memory _args) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](3); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; return provable_query(_timestamp, _datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, string[3] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](3); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; return provable_query(_timestamp, _datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, string[3] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](3); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; return provable_query(_datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, string[4] memory _args) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](4); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; return provable_query(_datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, string[4] memory _args) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](4); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; return provable_query(_timestamp, _datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, string[4] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](4); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; return provable_query(_timestamp, _datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, string[4] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](4); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; return provable_query(_datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, string[5] memory _args) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](5); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; dynargs[4] = _args[4]; return provable_query(_datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, string[5] memory _args) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](5); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; dynargs[4] = _args[4]; return provable_query(_timestamp, _datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, string[5] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](5); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; dynargs[4] = _args[4]; return provable_query(_timestamp, _datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, string[5] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { string[] memory dynargs = new string[](5); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; dynargs[4] = _args[4]; return provable_query(_datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, bytes[] memory _argN) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource); if (price > 1 ether + tx.gasprice * 200000) { return 0; // Unexpectedly high price } bytes memory args = ba2cbor(_argN); return provable.queryN.value(price)(0, _datasource, args); } function provable_query(uint _timestamp, string memory _datasource, bytes[] memory _argN) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource); if (price > 1 ether + tx.gasprice * 200000) { return 0; // Unexpectedly high price } bytes memory args = ba2cbor(_argN); return provable.queryN.value(price)(_timestamp, _datasource, args); } function provable_query(uint _timestamp, string memory _datasource, bytes[] memory _argN, uint _gasLimit) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource, _gasLimit); if (price > 1 ether + tx.gasprice * _gasLimit) { return 0; // Unexpectedly high price } bytes memory args = ba2cbor(_argN); return provable.queryN_withGasLimit.value(price)(_timestamp, _datasource, args, _gasLimit); } function provable_query(string memory _datasource, bytes[] memory _argN, uint _gasLimit) provableAPI internal returns (bytes32 _id) { uint price = provable.getPrice(_datasource, _gasLimit); if (price > 1 ether + tx.gasprice * _gasLimit) { return 0; // Unexpectedly high price } bytes memory args = ba2cbor(_argN); return provable.queryN_withGasLimit.value(price)(0, _datasource, args, _gasLimit); } function provable_query(string memory _datasource, bytes[1] memory _args) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](1); dynargs[0] = _args[0]; return provable_query(_datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, bytes[1] memory _args) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](1); dynargs[0] = _args[0]; return provable_query(_timestamp, _datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, bytes[1] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](1); dynargs[0] = _args[0]; return provable_query(_timestamp, _datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, bytes[1] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](1); dynargs[0] = _args[0]; return provable_query(_datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, bytes[2] memory _args) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](2); dynargs[0] = _args[0]; dynargs[1] = _args[1]; return provable_query(_datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, bytes[2] memory _args) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](2); dynargs[0] = _args[0]; dynargs[1] = _args[1]; return provable_query(_timestamp, _datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, bytes[2] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](2); dynargs[0] = _args[0]; dynargs[1] = _args[1]; return provable_query(_timestamp, _datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, bytes[2] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](2); dynargs[0] = _args[0]; dynargs[1] = _args[1]; return provable_query(_datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, bytes[3] memory _args) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](3); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; return provable_query(_datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, bytes[3] memory _args) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](3); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; return provable_query(_timestamp, _datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, bytes[3] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](3); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; return provable_query(_timestamp, _datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, bytes[3] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](3); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; return provable_query(_datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, bytes[4] memory _args) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](4); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; return provable_query(_datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, bytes[4] memory _args) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](4); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; return provable_query(_timestamp, _datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, bytes[4] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](4); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; return provable_query(_timestamp, _datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, bytes[4] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](4); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; return provable_query(_datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, bytes[5] memory _args) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](5); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; dynargs[4] = _args[4]; return provable_query(_datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, bytes[5] memory _args) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](5); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; dynargs[4] = _args[4]; return provable_query(_timestamp, _datasource, dynargs); } function provable_query(uint _timestamp, string memory _datasource, bytes[5] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](5); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; dynargs[4] = _args[4]; return provable_query(_timestamp, _datasource, dynargs, _gasLimit); } function provable_query(string memory _datasource, bytes[5] memory _args, uint _gasLimit) provableAPI internal returns (bytes32 _id) { bytes[] memory dynargs = new bytes[](5); dynargs[0] = _args[0]; dynargs[1] = _args[1]; dynargs[2] = _args[2]; dynargs[3] = _args[3]; dynargs[4] = _args[4]; return provable_query(_datasource, dynargs, _gasLimit); } function provable_setProof(byte _proofP) provableAPI internal { return provable.setProofType(_proofP); } function provable_cbAddress() provableAPI internal returns (address _callbackAddress) { return provable.cbAddress(); } function getCodeSize(address _addr) view internal returns (uint _size) { assembly { _size := extcodesize(_addr) } } function provable_setCustomGasPrice(uint _gasPrice) provableAPI internal { return provable.setCustomGasPrice(_gasPrice); } function provable_randomDS_getSessionPubKeyHash() provableAPI internal returns (bytes32 _sessionKeyHash) { return provable.randomDS_getSessionPubKeyHash(); } function parseAddr(string memory _a) internal pure returns (address _parsedAddress) { bytes memory tmp = bytes(_a); uint160 iaddr = 0; uint160 b1; uint160 b2; for (uint i = 2; i < 2 + 2 * 20; i += 2) { iaddr *= 256; b1 = uint160(uint8(tmp[i])); b2 = uint160(uint8(tmp[i + 1])); if ((b1 >= 97) && (b1 <= 102)) { b1 -= 87; } else if ((b1 >= 65) && (b1 <= 70)) { b1 -= 55; } else if ((b1 >= 48) && (b1 <= 57)) { b1 -= 48; } if ((b2 >= 97) && (b2 <= 102)) { b2 -= 87; } else if ((b2 >= 65) && (b2 <= 70)) { b2 -= 55; } else if ((b2 >= 48) && (b2 <= 57)) { b2 -= 48; } iaddr += (b1 * 16 + b2); } return address(iaddr); } function strCompare(string memory _a, string memory _b) internal pure returns (int _returnCode) { bytes memory a = bytes(_a); bytes memory b = bytes(_b); uint minLength = a.length; if (b.length < minLength) { minLength = b.length; } for (uint i = 0; i < minLength; i ++) { if (a[i] < b[i]) { return -1; } else if (a[i] > b[i]) { return 1; } } if (a.length < b.length) { return -1; } else if (a.length > b.length) { return 1; } else { return 0; } } function indexOf(string memory _haystack, string memory _needle) internal pure returns (int _returnCode) { bytes memory h = bytes(_haystack); bytes memory n = bytes(_needle); if (h.length < 1 || n.length < 1 || (n.length > h.length)) { return -1; } else if (h.length > (2 ** 128 - 1)) { return -1; } else { uint subindex = 0; for (uint i = 0; i < h.length; i++) { if (h[i] == n[0]) { subindex = 1; while(subindex < n.length && (i + subindex) < h.length && h[i + subindex] == n[subindex]) { subindex++; } if (subindex == n.length) { return int(i); } } } return -1; } } function strConcat(string memory _a, string memory _b) internal pure returns (string memory _concatenatedString) { return strConcat(_a, _b, "", "", ""); } function strConcat(string memory _a, string memory _b, string memory _c) internal pure returns (string memory _concatenatedString) { return strConcat(_a, _b, _c, "", ""); } function strConcat(string memory _a, string memory _b, string memory _c, string memory _d) internal pure returns (string memory _concatenatedString) { return strConcat(_a, _b, _c, _d, ""); } function strConcat(string memory _a, string memory _b, string memory _c, string memory _d, string memory _e) internal pure returns (string memory _concatenatedString) { bytes memory _ba = bytes(_a); bytes memory _bb = bytes(_b); bytes memory _bc = bytes(_c); bytes memory _bd = bytes(_d); bytes memory _be = bytes(_e); string memory abcde = new string(_ba.length + _bb.length + _bc.length + _bd.length + _be.length); bytes memory babcde = bytes(abcde); uint k = 0; uint i = 0; for (i = 0; i < _ba.length; i++) { babcde[k++] = _ba[i]; } for (i = 0; i < _bb.length; i++) { babcde[k++] = _bb[i]; } for (i = 0; i < _bc.length; i++) { babcde[k++] = _bc[i]; } for (i = 0; i < _bd.length; i++) { babcde[k++] = _bd[i]; } for (i = 0; i < _be.length; i++) { babcde[k++] = _be[i]; } return string(babcde); } function safeParseInt(string memory _a) internal pure returns (uint _parsedInt) { return safeParseInt(_a, 0); } function safeParseInt(string memory _a, uint _b) internal pure returns (uint _parsedInt) { bytes memory bresult = bytes(_a); uint mint = 0; bool decimals = false; for (uint i = 0; i < bresult.length; i++) { if ((uint(uint8(bresult[i])) >= 48) && (uint(uint8(bresult[i])) <= 57)) { if (decimals) { if (_b == 0) break; else _b--; } mint *= 10; mint += uint(uint8(bresult[i])) - 48; } else if (uint(uint8(bresult[i])) == 46) { require(!decimals, 'More than one decimal encountered in string!'); decimals = true; } else { revert("Non-numeral character encountered in string!"); } } if (_b > 0) { mint *= 10 ** _b; } return mint; } function parseInt(string memory _a) internal pure returns (uint _parsedInt) { return parseInt(_a, 0); } function parseInt(string memory _a, uint _b) internal pure returns (uint _parsedInt) { bytes memory bresult = bytes(_a); uint mint = 0; bool decimals = false; for (uint i = 0; i < bresult.length; i++) { if ((uint(uint8(bresult[i])) >= 48) && (uint(uint8(bresult[i])) <= 57)) { if (decimals) { if (_b == 0) { break; } else { _b--; } } mint *= 10; mint += uint(uint8(bresult[i])) - 48; } else if (uint(uint8(bresult[i])) == 46) { decimals = true; } } if (_b > 0) { mint *= 10 ** _b; } return mint; } function uint2str(uint _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint j = _i; uint len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint k = len - 1; while (_i != 0) { bstr[k--] = byte(uint8(48 + _i % 10)); _i /= 10; } return string(bstr); } function stra2cbor(string[] memory _arr) internal pure returns (bytes memory _cborEncoding) { safeMemoryCleaner(); Buffer.buffer memory buf; Buffer.init(buf, 1024); buf.startArray(); for (uint i = 0; i < _arr.length; i++) { buf.encodeString(_arr[i]); } buf.endSequence(); return buf.buf; } function ba2cbor(bytes[] memory _arr) internal pure returns (bytes memory _cborEncoding) { safeMemoryCleaner(); Buffer.buffer memory buf; Buffer.init(buf, 1024); buf.startArray(); for (uint i = 0; i < _arr.length; i++) { buf.encodeBytes(_arr[i]); } buf.endSequence(); return buf.buf; } function provable_newRandomDSQuery(uint _delay, uint _nbytes, uint _customGasLimit) internal returns (bytes32 _queryId) { require((_nbytes > 0) && (_nbytes <= 32)); _delay *= 10; // Convert from seconds to ledger timer ticks bytes memory nbytes = new bytes(1); nbytes[0] = byte(uint8(_nbytes)); bytes memory unonce = new bytes(32); bytes memory sessionKeyHash = new bytes(32); bytes32 sessionKeyHash_bytes32 = provable_randomDS_getSessionPubKeyHash(); assembly { mstore(unonce, 0x20) /* The following variables can be relaxed. Check the relaxed random contract at https://github.com/oraclize/ethereum-examples for an idea on how to override and replace commit hash variables. */ mstore(add(unonce, 0x20), xor(blockhash(sub(number, 1)), xor(coinbase, timestamp))) mstore(sessionKeyHash, 0x20) mstore(add(sessionKeyHash, 0x20), sessionKeyHash_bytes32) } bytes memory delay = new bytes(32); assembly { mstore(add(delay, 0x20), _delay) } bytes memory delay_bytes8 = new bytes(8); copyBytes(delay, 24, 8, delay_bytes8, 0); bytes[4] memory args = [unonce, nbytes, sessionKeyHash, delay]; bytes32 queryId = provable_query("random", args, _customGasLimit); bytes memory delay_bytes8_left = new bytes(8); assembly { let x := mload(add(delay_bytes8, 0x20)) mstore8(add(delay_bytes8_left, 0x27), div(x, 0x100000000000000000000000000000000000000000000000000000000000000)) mstore8(add(delay_bytes8_left, 0x26), div(x, 0x1000000000000000000000000000000000000000000000000000000000000)) mstore8(add(delay_bytes8_left, 0x25), div(x, 0x10000000000000000000000000000000000000000000000000000000000)) mstore8(add(delay_bytes8_left, 0x24), div(x, 0x100000000000000000000000000000000000000000000000000000000)) mstore8(add(delay_bytes8_left, 0x23), div(x, 0x1000000000000000000000000000000000000000000000000000000)) mstore8(add(delay_bytes8_left, 0x22), div(x, 0x10000000000000000000000000000000000000000000000000000)) mstore8(add(delay_bytes8_left, 0x21), div(x, 0x100000000000000000000000000000000000000000000000000)) mstore8(add(delay_bytes8_left, 0x20), div(x, 0x1000000000000000000000000000000000000000000000000)) } provable_randomDS_setCommitment(queryId, keccak256(abi.encodePacked(delay_bytes8_left, args[1], sha256(args[0]), args[2]))); return queryId; } function provable_randomDS_setCommitment(bytes32 _queryId, bytes32 _commitment) internal { provable_randomDS_args[_queryId] = _commitment; } function verifySig(bytes32 _tosignh, bytes memory _dersig, bytes memory _pubkey) internal returns (bool _sigVerified) { bool sigok; address signer; bytes32 sigr; bytes32 sigs; bytes memory sigr_ = new bytes(32); uint offset = 4 + (uint(uint8(_dersig[3])) - 0x20); sigr_ = copyBytes(_dersig, offset, 32, sigr_, 0); bytes memory sigs_ = new bytes(32); offset += 32 + 2; sigs_ = copyBytes(_dersig, offset + (uint(uint8(_dersig[offset - 1])) - 0x20), 32, sigs_, 0); assembly { sigr := mload(add(sigr_, 32)) sigs := mload(add(sigs_, 32)) } (sigok, signer) = safer_ecrecover(_tosignh, 27, sigr, sigs); if (address(uint160(uint256(keccak256(_pubkey)))) == signer) { return true; } else { (sigok, signer) = safer_ecrecover(_tosignh, 28, sigr, sigs); return (address(uint160(uint256(keccak256(_pubkey)))) == signer); } } function provable_randomDS_proofVerify__sessionKeyValidity(bytes memory _proof, uint _sig2offset) internal returns (bool _proofVerified) { bool sigok; // Random DS Proof Step 6: Verify the attestation signature, APPKEY1 must sign the sessionKey from the correct ledger app (CODEHASH) bytes memory sig2 = new bytes(uint(uint8(_proof[_sig2offset + 1])) + 2); copyBytes(_proof, _sig2offset, sig2.length, sig2, 0); bytes memory appkey1_pubkey = new bytes(64); copyBytes(_proof, 3 + 1, 64, appkey1_pubkey, 0); bytes memory tosign2 = new bytes(1 + 65 + 32); tosign2[0] = byte(uint8(1)); //role copyBytes(_proof, _sig2offset - 65, 65, tosign2, 1); bytes memory CODEHASH = hex"fd94fa71bc0ba10d39d464d0d8f465efeef0a2764e3887fcc9df41ded20f505c"; copyBytes(CODEHASH, 0, 32, tosign2, 1 + 65); sigok = verifySig(sha256(tosign2), sig2, appkey1_pubkey); if (!sigok) { return false; } // Random DS Proof Step 7: Verify the APPKEY1 provenance (must be signed by Ledger) bytes memory LEDGERKEY = hex"7fb956469c5c9b89840d55b43537e66a98dd4811ea0a27224272c2e5622911e8537a2f8e86a46baec82864e98dd01e9ccc2f8bc5dfc9cbe5a91a290498dd96e4"; bytes memory tosign3 = new bytes(1 + 65); tosign3[0] = 0xFE; copyBytes(_proof, 3, 65, tosign3, 1); bytes memory sig3 = new bytes(uint(uint8(_proof[3 + 65 + 1])) + 2); copyBytes(_proof, 3 + 65, sig3.length, sig3, 0); sigok = verifySig(sha256(tosign3), sig3, LEDGERKEY); return sigok; } function provable_randomDS_proofVerify__returnCode(bytes32 _queryId, string memory _result, bytes memory _proof) internal returns (uint8 _returnCode) { // Random DS Proof Step 1: The prefix has to match 'LP\x01' (Ledger Proof version 1) if ((_proof[0] != "L") || (_proof[1] != "P") || (uint8(_proof[2]) != uint8(1))) { return 1; } bool proofVerified = provable_randomDS_proofVerify__main(_proof, _queryId, bytes(_result), provable_getNetworkName()); if (!proofVerified) { return 2; } return 0; } function matchBytes32Prefix(bytes32 _content, bytes memory _prefix, uint _nRandomBytes) internal pure returns (bool _matchesPrefix) { bool match_ = true; require(_prefix.length == _nRandomBytes); for (uint256 i = 0; i< _nRandomBytes; i++) { if (_content[i] != _prefix[i]) { match_ = false; } } return match_; } function provable_randomDS_proofVerify__main(bytes memory _proof, bytes32 _queryId, bytes memory _result, string memory _contextName) internal returns (bool _proofVerified) { // Random DS Proof Step 2: The unique keyhash has to match with the sha256 of (context name + _queryId) uint ledgerProofLength = 3 + 65 + (uint(uint8(_proof[3 + 65 + 1])) + 2) + 32; bytes memory keyhash = new bytes(32); copyBytes(_proof, ledgerProofLength, 32, keyhash, 0); if (!(keccak256(keyhash) == keccak256(abi.encodePacked(sha256(abi.encodePacked(_contextName, _queryId)))))) { return false; } bytes memory sig1 = new bytes(uint(uint8(_proof[ledgerProofLength + (32 + 8 + 1 + 32) + 1])) + 2); copyBytes(_proof, ledgerProofLength + (32 + 8 + 1 + 32), sig1.length, sig1, 0); // Random DS Proof Step 3: We assume sig1 is valid (it will be verified during step 5) and we verify if '_result' is the _prefix of sha256(sig1) if (!matchBytes32Prefix(sha256(sig1), _result, uint(uint8(_proof[ledgerProofLength + 32 + 8])))) { return false; } // Random DS Proof Step 4: Commitment match verification, keccak256(delay, nbytes, unonce, sessionKeyHash) == commitment in storage. // This is to verify that the computed args match with the ones specified in the query. bytes memory commitmentSlice1 = new bytes(8 + 1 + 32); copyBytes(_proof, ledgerProofLength + 32, 8 + 1 + 32, commitmentSlice1, 0); bytes memory sessionPubkey = new bytes(64); uint sig2offset = ledgerProofLength + 32 + (8 + 1 + 32) + sig1.length + 65; copyBytes(_proof, sig2offset - 64, 64, sessionPubkey, 0); bytes32 sessionPubkeyHash = sha256(sessionPubkey); if (provable_randomDS_args[_queryId] == keccak256(abi.encodePacked(commitmentSlice1, sessionPubkeyHash))) { //unonce, nbytes and sessionKeyHash match delete provable_randomDS_args[_queryId]; } else return false; // Random DS Proof Step 5: Validity verification for sig1 (keyhash and args signed with the sessionKey) bytes memory tosign1 = new bytes(32 + 8 + 1 + 32); copyBytes(_proof, ledgerProofLength, 32 + 8 + 1 + 32, tosign1, 0); if (!verifySig(sha256(tosign1), sig1, sessionPubkey)) { return false; } // Verify if sessionPubkeyHash was verified already, if not.. let's do it! if (!provable_randomDS_sessionKeysHashVerified[sessionPubkeyHash]) { provable_randomDS_sessionKeysHashVerified[sessionPubkeyHash] = provable_randomDS_proofVerify__sessionKeyValidity(_proof, sig2offset); } return provable_randomDS_sessionKeysHashVerified[sessionPubkeyHash]; } /* The following function has been written by Alex Beregszaszi (@axic), use it under the terms of the MIT license */ function copyBytes(bytes memory _from, uint _fromOffset, uint _length, bytes memory _to, uint _toOffset) internal pure returns (bytes memory _copiedBytes) { uint minLength = _length + _toOffset; require(_to.length >= minLength); // Buffer too small. Should be a better way? uint i = 32 + _fromOffset; // NOTE: the offset 32 is added to skip the `size` field of both bytes variables uint j = 32 + _toOffset; while (i < (32 + _fromOffset + _length)) { assembly { let tmp := mload(add(_from, i)) mstore(add(_to, j), tmp) } i += 32; j += 32; } return _to; } /* The following function has been written by Alex Beregszaszi (@axic), use it under the terms of the MIT license Duplicate Solidity's ecrecover, but catching the CALL return value */ function safer_ecrecover(bytes32 _hash, uint8 _v, bytes32 _r, bytes32 _s) internal returns (bool _success, address _recoveredAddress) { /* We do our own memory management here. Solidity uses memory offset 0x40 to store the current end of memory. We write past it (as writes are memory extensions), but don't update the offset so Solidity will reuse it. The memory used here is only needed for this context. FIXME: inline assembly can't access return values */ bool ret; address addr; assembly { let size := mload(0x40) mstore(size, _hash) mstore(add(size, 32), _v) mstore(add(size, 64), _r) mstore(add(size, 96), _s) ret := call(3000, 1, 0, size, 128, size, 32) // NOTE: we can reuse the request memory because we deal with the return code. addr := mload(size) } return (ret, addr); } /* The following function has been written by Alex Beregszaszi (@axic), use it under the terms of the MIT license */ function ecrecovery(bytes32 _hash, bytes memory _sig) internal returns (bool _success, address _recoveredAddress) { bytes32 r; bytes32 s; uint8 v; if (_sig.length != 65) { return (false, address(0)); } /* The signature format is a compact form of: {bytes32 r}{bytes32 s}{uint8 v} Compact means, uint8 is not padded to 32 bytes. */ assembly { r := mload(add(_sig, 32)) s := mload(add(_sig, 64)) /* Here we are loading the last 32 bytes. We exploit the fact that 'mload' will pad with zeroes if we overread. There is no 'mload8' to do this, but that would be nicer. */ v := byte(0, mload(add(_sig, 96))) /* Alternative solution: 'byte' is not working due to the Solidity parser, so lets use the second best option, 'and' v := and(mload(add(_sig, 65)), 255) */ } /* albeit non-transactional signatures are not specified by the YP, one would expect it to match the YP range of [27, 28] geth uses [0, 1] and some clients have followed. This might change, see: https://github.com/ethereum/go-ethereum/issues/2053 */ if (v < 27) { v += 27; } if (v != 27 && v != 28) { return (false, address(0)); } return safer_ecrecover(_hash, v, r, s); } function safeMemoryCleaner() internal pure { assembly { let fmem := mload(0x40) codecopy(fmem, codesize, sub(msize, fmem)) } } } // </provableAPI> // File: contracts\BitsForAI.sol pragma solidity ^0.5.16; contract OwnableDelegateProxy { } contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract BitsForAI is ERC721Full, Ownable, ReentrancyGuard, usingProvable { using SafeMath for uint; using Math for uint; address artist; string private _name = "BitsForAI"; string private _symbol = "BFA"; string private _tokenURI = "https://api.bitsforai.com/tokenid/"; uint private _currentTokenId; uint constant private GWEI = 1000000000; uint private gasPrice = 4010000000; //many set exactly 4gwei, so adding 0.01 gwei increases speed much more than expected. uint private gasAmount = 250000; uint constant private BASIS_POINTS = 10000; uint constant private NUM_RANDOM_BYTES_REQUESTED = 2; //The variable `ceiling` should never be greater than: `(256 ^ NUM_RANDOM_BYTES_REQUESTED) - 1`. address proxyRegistryAddress; uint constant mintFeeStart = 8 finney; uint constant mintFeeIncrementPer1k = 1 finney; uint constant mintEndChanceStart = 0; uint constant mintEndChanceAt10k = 10; uint constant mintEndChanceAt12k = 25; uint constant mintEndChanceAt14k = 50; uint constant mintEndChanceAt16k = 75; uint constant mintEndChanceAt18k = 100; uint constant mintEndChanceAt20k = 1000; uint constant jackpotBP = 1000; uint constant burnFundBP = 3000; uint constant socialBP = 2000; bool public isBurnActive = false; uint public burnReward = 15 finney; bool public isMinting = false; uint public jackpot; uint public burnFund; uint public social; uint public totalSocialShares; uint public totalMinted; uint public finalWeiPerSocialShare; uint public finalWeiPerJackpotWinner; address[10] public lastMinters; uint lastMintersIndex; uint public endTimer; uint constant endTimerMaximum = 1 days; uint constant endTimerIncrease = 1 minutes; uint constant endTimerMininum = 1 hours; uint public claimTimer; uint constant claimTime = 1 days; mapping(address => uint) lastMintersCurrentIndex; mapping(address => uint) public socialShares; mapping(bytes32 => uint16) public provableQueryToSeed; mapping(bytes32 => address) public provableQueryToAddress; mapping(bytes32 => uint) public provableQueryToTokenId; mapping(uint => bytes2) public nftBits; mapping(uint => uint) public nftColorSeed; event LogMintQuery(address minter, bytes32 queryId, uint seed, uint tokenId); modifier onlyArtist { require(msg.sender == artist); _; } modifier whenMinting { require(isMinting); _; } modifier whenNotMinting { require(!isMinting); _; } constructor(address _proxyRegistryAddress) ERC721Full(_name,_symbol) public{ artist = msg.sender; proxyRegistryAddress = _proxyRegistryAddress; provable_setProof(proofType_Ledger); provable_setCustomGasPrice(gasPrice); } function mintBits(uint16 seed) public payable nonReentrant whenMinting{ if(endTimer.min(now)==endTimer){ //minting timer over. EndMinting(); return; } require(msg.value.max(getMintFee())==msg.value); uint distributable = msg.value.sub(gasAmount.mul(gasPrice)); jackpot = jackpot.add(GetAmountFromBasisPoints(distributable,jackpotBP)); burnFund = burnFund.add(GetAmountFromBasisPoints(distributable,burnFundBP)); social = social.add(GetAmountFromBasisPoints(distributable,jackpotBP)); totalMinted = totalMinted.add(1); if(lastMintersCurrentIndex[msg.sender].max(0)!=0){ //revival mechanic, if sender is currently already a last minter then swap their place with last place uint swapIndex = lastMintersCurrentIndex[msg.sender].sub(1); //lastminterscurrentindex is 1 indexed, not 0. lastMinters[swapIndex] = lastMinters[lastMintersIndex]; lastMintersCurrentIndex[lastMinters[swapIndex]] = swapIndex.add(1); }else{ //boot last player lastMintersCurrentIndex[lastMinters[lastMintersIndex]] = 0; } lastMinters[lastMintersIndex] = msg.sender; lastMintersCurrentIndex[msg.sender] = lastMintersIndex.add(1);//lastminterscurrentindex is 1 indexed, not 0. lastMintersIndex = lastMintersIndex.add(1).mod(10); endTimer = endTimer.add(endTimerIncrease); if(endTimer.max(now.add(endTimerMaximum))==endTimer) endTimer = now.add(endTimerMaximum); if(endTimer.min(now.add(endTimerMininum))==endTimer) endTimer = now.add(endTimerMininum); bytes32 queryId = provable_newRandomDSQuery( 0, //Execution delay NUM_RANDOM_BYTES_REQUESTED, gasAmount ); emit LogMintQuery(msg.sender, queryId, seed, _currentTokenId); provableQueryToSeed[queryId] = seed; provableQueryToAddress[queryId] = msg.sender; provableQueryToTokenId[queryId] = _currentTokenId; _currentTokenId = _currentTokenId.add(1); } function claimJackpotEarning() public nonReentrant { uint index = lastMintersCurrentIndex[msg.sender]; require(lastMinters[index] == msg.sender); uint weiToTransfer = finalWeiPerJackpotWinner; delete lastMintersCurrentIndex[msg.sender]; delete lastMinters[index]; msg.sender.transfer(weiToTransfer); } function claimSocialEarning() public nonReentrant { uint shares = socialShares[msg.sender]; require(shares.min(1) == 1); uint weiToTransfer = finalWeiPerSocialShare.mul(shares); delete socialShares[msg.sender]; msg.sender.transfer(weiToTransfer); } function burnForFree(uint tokenId) public{ require(msg.sender == ownerOf(tokenId)); _burn(tokenId); } function burnForReward(uint tokenId) public{ require(msg.sender == ownerOf(tokenId)); require(isBurnActive); require(burnFund.max(burnReward)==burnFund); _burn(tokenId); burnFund = burnFund.sub(burnReward); msg.sender.transfer(burnReward); } function onlyArtist_adjustGasPrice(uint newGasPrice) public onlyArtist{ gasPrice = newGasPrice.mul(GWEI); provable_setCustomGasPrice(gasPrice); } function onlyArtist_adjustGasAmount(uint newGasAmount) public onlyArtist{ gasAmount = newGasAmount; } function onlyArtist_addSocialShares(address addr, uint shares) public onlyArtist{ totalSocialShares = totalSocialShares.add(shares); socialShares[addr] = socialShares[addr].add(shares); } function onlyArtist_subSocialShares(address addr, uint shares) public onlyArtist{ totalSocialShares = totalSocialShares.sub(shares); socialShares[addr] = socialShares[addr].sub(shares); } function onlyArtist_claimRemainder(uint claimedWei) public onlyArtist{ require(claimedWei.min(onlyArtist_checkRemainder())==claimedWei); msg.sender.transfer(claimedWei); } function onlyArtist_checkRemainder() public view onlyArtist returns(uint){ return address(this).balance.sub( jackpot.add(burnFund).add(social) ); } function onlyArtist_postClaimTransfer() public onlyArtist whenNotMinting{ require(claimTimer.min(now)==claimTimer); msg.sender.transfer(address(this).balance); } function onlyArtist_changeBaseUIR(string memory newURI) public onlyArtist{ _tokenURI = newURI; } function onlyArtist_activateBurnFund(uint _burnReward) public onlyArtist{ burnReward = _burnReward; isBurnActive = true; } function onlyArtist_deactivateBurnFund() public onlyArtist{ isBurnActive = false; } function onlyArtist_endMinting() public onlyArtist{ EndMinting(); } function onlyArtist_startMinting() public onlyArtist whenNotMinting{ isMinting = true; endTimer = now.add(endTimerMaximum); } function onlyArtist_legendaryMinting(bytes2 bits, uint level) public onlyArtist{ require(_currentTokenId.min(9)==_currentTokenId,"Only 10 Legendaries"); require(level.min(4)==level,"5 levels of legendaries: 0:gold, 1:purple, 2:red, 3:green, 4:blue"); _safeMint(msg.sender,_currentTokenId); nftBits[_currentTokenId] = bits; nftColorSeed[_currentTokenId] = level.add(65536); //unique value for Gold legendaries _currentTokenId = _currentTokenId.add(1); totalMinted = totalMinted.add(1); } function onlyArtist_resendForOracleFailure(bytes32 queryId) public onlyArtist{ uint tokenId = provableQueryToTokenId[queryId]; uint seed = provableQueryToSeed[queryId]; address minter = provableQueryToAddress[queryId]; require(tokenId != 0,"Must have been a real query."); delete provableQueryToSeed[queryId]; delete provableQueryToAddress[queryId]; delete provableQueryToTokenId[queryId]; bytes32 newQueryId = provable_newRandomDSQuery( 0, //Execution delay NUM_RANDOM_BYTES_REQUESTED, gasAmount ); emit LogMintQuery(minter, newQueryId, seed, tokenId); provableQueryToSeed[newQueryId] = uint16(seed); provableQueryToAddress[newQueryId] = minter; provableQueryToTokenId[newQueryId] = _currentTokenId; } //Public utilities function getMintFee() public view returns (uint){ return totalMinted.div(1000).mul(mintFeeIncrementPer1k).add(mintFeeStart); } function getJackpotChance() public view returns(uint){ if(totalMinted.min(10000)==totalMinted){ return mintEndChanceStart; }else if(totalMinted.min(12000)==totalMinted){ return mintEndChanceAt10k; }else if(totalMinted.min(14000)==totalMinted){ return mintEndChanceAt12k; }else if(totalMinted.min(16000)==totalMinted){ return mintEndChanceAt14k; }else if(totalMinted.min(18000)==totalMinted){ return mintEndChanceAt16k; }else if(totalMinted.min(20000)==totalMinted){ return mintEndChanceAt18k; }else{ return mintEndChanceAt20k; } } /** * Provable callback for minting */ function __callback( bytes32 _queryId, string memory _result, bytes memory _proof ) public { require(msg.sender == provable_cbAddress()); uint16 seed = provableQueryToSeed[_queryId]; address minterAddr = provableQueryToAddress[_queryId]; uint tokenId = provableQueryToTokenId[_queryId]; nftBits[tokenId] = bytesToBytes2(bytes(_result),0) ^ bytes2(seed); uint rand = uint( keccak256(abi.encodePacked(_result)) ^ blockhash(block.number-1) ^ bytes32(uint(seed)) ); nftColorSeed[tokenId] = rand.mod(65535); uint roll = rand.mod(BASIS_POINTS).add(1); if(roll.min(getJackpotChance())==roll){ //Jackpot, game over. EndMinting(); } _safeMint(minterAddr,tokenId); delete provableQueryToSeed[_queryId]; delete provableQueryToAddress[_queryId]; delete provableQueryToTokenId[_queryId]; } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll( address owner, address operator ) public view returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } //ERC721 Implementation function name() external view returns (string memory){ return _name; } function symbol() external view returns (string memory){ return _symbol; } function tokenURI(uint tokenId) external view returns(string memory){ return strConcat(_tokenURI,uint2str(tokenId)); } //Utilities function EndMinting() internal { isMinting = false; if(totalSocialShares == 0){ finalWeiPerSocialShare = 0; }else{ finalWeiPerSocialShare = social.div(totalSocialShares); } claimTimer = now.add(claimTime); finalWeiPerJackpotWinner = jackpot.div(10); } function GetAmountFromBasisPoints(uint amt, uint bp) internal pure returns (uint) { return amt.mul(bp).div(BASIS_POINTS); } function bytesToBytes2(bytes memory b, uint offset) private pure returns (bytes2) { bytes2 out; for (uint i = 0; i < 2; i++) { out |= bytes2(b[offset + i] & 0xFF) >> (i * 8); } return out; } function uint2str(uint _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint j = _i; uint len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint k = len - 1; while (_i != 0) { bstr[k--] = byte(uint8(48 + _i % 10)); _i /= 10; } return string(bstr); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"payable":false,"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":"minter","type":"address"},{"indexed":false,"internalType":"bytes32","name":"queryId","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"seed","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"LogMintQuery","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"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"_myid","type":"bytes32"},{"internalType":"string","name":"_result","type":"string"}],"name":"__callback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"_queryId","type":"bytes32"},{"internalType":"string","name":"_result","type":"string"},{"internalType":"bytes","name":"_proof","type":"bytes"}],"name":"__callback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnForFree","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnForReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"burnFund","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"burnReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimJackpotEarning","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimSocialEarning","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"claimTimer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"endTimer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"finalWeiPerJackpotWinner","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"finalWeiPerSocialShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getJackpotChance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMintFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isBurnActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isMinting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"jackpot","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastMinters","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint16","name":"seed","type":"uint16"}],"name":"mintBits","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nftBits","outputs":[{"internalType":"bytes2","name":"","type":"bytes2"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nftColorSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_burnReward","type":"uint256"}],"name":"onlyArtist_activateBurnFund","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"onlyArtist_addSocialShares","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"newGasAmount","type":"uint256"}],"name":"onlyArtist_adjustGasAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"newGasPrice","type":"uint256"}],"name":"onlyArtist_adjustGasPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"onlyArtist_changeBaseUIR","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"onlyArtist_checkRemainder","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"claimedWei","type":"uint256"}],"name":"onlyArtist_claimRemainder","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"onlyArtist_deactivateBurnFund","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"onlyArtist_endMinting","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes2","name":"bits","type":"bytes2"},{"internalType":"uint256","name":"level","type":"uint256"}],"name":"onlyArtist_legendaryMinting","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"onlyArtist_postClaimTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"queryId","type":"bytes32"}],"name":"onlyArtist_resendForOracleFailure","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"onlyArtist_startMinting","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"onlyArtist_subSocialShares","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"provableQueryToAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"provableQueryToSeed","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"provableQueryToTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"social","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"socialShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSocialShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052600960808190526842697473466f72414960b81b60a09081526200002c916014919062000bfc565b506040805180820190915260038082526242464160e81b6020909201918252620000599160159162000bfc565b50604051806060016040528060228152602001620062e06022913980516200008a9160169160209091019062000bfc565b5063ef03be806018556203d090601955601a805460ff60a01b1916905566354a6ba7a18000601b55601c805460ff19169055348015620000c957600080fd5b50604051620063023803806200630283398181016040526020811015620000ef57600080fd5b50516014805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156200017b5780601f106200014f576101008083540402835291602001916200017b565b820191906000526020600020905b8154815290600101906020018083116200015d57829003601f168201915b505060158054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152955091935091508301828280156200020d5780601f10620001e1576101008083540402835291602001916200020d565b820191906000526020600020905b815481529060010190602001808311620001ef57829003601f168201915b505050505081816200022c6301ffc9a760e01b6200036460201b60201c565b620002476380ac58cd60e01b6001600160e01b036200036416565b6200026263780e9d6360e01b6001600160e01b036200036416565b81516200027790600990602085019062000bfc565b5080516200028d90600a90602084019062000bfc565b50620002a9635b5e139f60e01b6001600160e01b036200036416565b50505050620002bd620003e960201b60201c565b600c80546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36001600d5560138054336001600160a01b031991821617909155601a80549091166001600160a01b03831617905562000346600360fc1b620003ee565b6018546200035d906001600160e01b036200060016565b5062000c9e565b6001600160e01b03198082161415620003c4576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b335b90565b600f546001600160a01b03161580620004245750600f5462000422906001600160a01b03166001600160e01b03620007d516565b155b1562000441576200043f60006001600160e01b03620007d916565b505b600f60009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156200049257600080fd5b505af1158015620004a7573d6000803e3d6000fd5b505050506040513d6020811015620004be57600080fd5b5051600e546001600160a01b039081169116146200057557600f60009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156200052757600080fd5b505af11580156200053c573d6000803e3d6000fd5b505050506040513d60208110156200055357600080fd5b5051600e80546001600160a01b0319166001600160a01b039092169190911790555b600e546040805163688dcfd760e01b81527fff000000000000000000000000000000000000000000000000000000000000008416600482015290516001600160a01b039092169163688dcfd79160248082019260009290919082900301818387803b158015620005e457600080fd5b505af1158015620005f9573d6000803e3d6000fd5b5050505050565b600f546001600160a01b03161580620006365750600f5462000634906001600160a01b03166001600160e01b03620007d516565b155b1562000653576200065160006001600160e01b03620007d916565b505b600f60009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015620006a457600080fd5b505af1158015620006b9573d6000803e3d6000fd5b505050506040513d6020811015620006d057600080fd5b5051600e546001600160a01b039081169116146200078757600f60009054906101000a90046001600160a01b03166001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156200073957600080fd5b505af11580156200074e573d6000803e3d6000fd5b505050506040513d60208110156200076557600080fd5b5051600e80546001600160a01b0319166001600160a01b039092169190911790555b600e546040805163329ab47960e21b81526004810184905290516001600160a01b039092169163ca6ad1e49160248082019260009290919082900301818387803b158015620005e457600080fd5b3b90565b6000620007ee6001600160e01b03620007f416565b92915050565b6000806200081f731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed6001600160e01b03620007d516565b11156200088b57600f80546001600160a01b031916731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed17905560408051808201909152600b81526a195d1a17db585a5b9b995d60aa1b602082015262000882906001600160e01b0362000be316565b506001620003eb565b6000620008b573c03a2615d5efaf5f49f60b7bb6583eaec212fdf16001600160e01b03620007d516565b11156200091957600f80546001600160a01b03191673c03a2615d5efaf5f49f60b7bb6583eaec212fdf117905560408051808201909152600c81526b6574685f726f707374656e3360a01b602082015262000882906001600160e01b0362000be316565b60006200094373b7a07bcf2ba2f2703b24c0691b5278999c59ac7e6001600160e01b03620007d516565b1115620009a457600f80546001600160a01b03191673b7a07bcf2ba2f2703b24c0691b5278999c59ac7e17905560408051808201909152600981526832ba342fb5b7bb30b760b91b602082015262000882906001600160e01b0362000be316565b6000620009ce73146500cfd35b22e4a392fe0adc06de1a1368ed486001600160e01b03620007d516565b111562000a3157600f80546001600160a01b03191673146500cfd35b22e4a392fe0adc06de1a1368ed4817905560408051808201909152600b81526a6574685f72696e6b65627960a81b602082015262000882906001600160e01b0362000be316565b600062000a5b73a2998efd205fb9d4b4963afb70778d6354ad3a416001600160e01b03620007d516565b111562000abd57600f80546001600160a01b03191673a2998efd205fb9d4b4963afb70778d6354ad3a4117905560408051808201909152600a8152696574685f676f65726c6960b01b602082015262000882906001600160e01b0362000be316565b600062000ae7736f485c8bf6fc43ea212e93bbf8ce046c7f1cb4756001600160e01b03620007d516565b111562000b1d5750600f80546001600160a01b031916736f485c8bf6fc43ea212e93bbf8ce046c7f1cb4751790556001620003eb565b600062000b477320e12a1f859b3feae5fb2a0a32c18f5a65555bbf6001600160e01b03620007d516565b111562000b7d5750600f80546001600160a01b0319167320e12a1f859b3feae5fb2a0a32c18f5a65555bbf1790556001620003eb565b600062000ba77351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa6001600160e01b03620007d516565b111562000bdd5750600f80546001600160a01b0319167351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa1790556001620003eb565b50600090565b805162000bf890601090602084019062000bfc565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1062000c3f57805160ff191683800117855562000c6f565b8280016001018555821562000c6f579182015b8281111562000c6f57825182559160200191906001019062000c52565b5062000c7d92915062000c81565b5090565b620003eb91905b8082111562000c7d576000815560010162000c88565b6156328062000cae6000396000f3fe6080604052600436106103ad5760003560e01c80636b31ee01116101e7578063a2309ff81161010d578063d6a0768e116100a0578063eb89ce771161006f578063eb89ce7714610f6b578063f2fde38b14610f95578063fb4092c014610fc8578063ff12cb7914610ff2576103ad565b8063d6a0768e14610ecd578063d70f817714610f06578063df7b585614610f1b578063e985e9c514610f30576103ad565b8063c87b56dd116100dc578063c87b56dd14610e3f578063c8fae5a914610e69578063cb2e46f314610ea3578063d69d177414610eb8576103ad565b8063a2309ff814610d1b578063b1a6676e14610d30578063b261f1f614610d45578063b88d4fde14610d6f576103ad565b80637ee3b9b4116101855780638f32d59b116101545780638f32d59b14610ca15780638fea53a914610cb657806395d89b4114610ccb578063a22cb46514610ce0576103ad565b80637ee3b9b414610c235780638086cf0414610c4d57806383f3bddf14610c625780638da5cb5b14610c8c576103ad565b8063715018a6116101c1578063715018a614610bba5780637233f2be14610bcf578063787b487e14610be45780637a5caab314610c0e576103ad565b80636b31ee0114610b5d578063708ee41014610b7257806370a0823114610b87576103ad565b8063316c4f54116102d75780634dc638da1161026a57806353d782df1161023957806353d782df14610aca57806356134dca14610adf5780636352211e14610b095780636940ac2f14610b33576103ad565b80634dc638da14610a355780634f6ccce714610a4a578063509e81ad14610a74578063525125de14610a89576103ad565b806338bbfa50116102a657806338bbfa501461088157806342842e0e146109bc57806343755ace146109ff578063441d27fd14610a20576103ad565b8063316c4f54146107fa5780633213028b1461080f578063362d65b1146108245780633729db9e1461084e576103ad565b806323b872dd1161034f57806327dc297e1161031e57806327dc297e146106455780632a8092df146106fc5780632f745c591461071157806330485d1a1461074a576103ad565b806323b872dd1461058a5780632414b679146105cd57806324a310b71461060657806327ad8e351461061b576103ad565b806306fdde031161038b57806306fdde0314610468578063081812fc146104f4578063095ea7b31461053a57806318160ddd14610575576103ad565b806301ffc9a7146103b257806302a79454146103fa5780630389c45514610421575b600080fd5b3480156103be57600080fd5b506103e6600480360360208110156103d557600080fd5b50356001600160e01b03191661101c565b604051901515815260200160405180910390f35b34801561040657600080fd5b5061040f611041565b60405190815260200160405180910390f35b34801561042d57600080fd5b5061044b6004803603602081101561044457600080fd5b5035611047565b6040516001600160f01b0319909116815260200160405180910390f35b34801561047457600080fd5b5061047d61105e565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156104b95780820151838201526020016104a1565b50505050905090810190601f1680156104e65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561050057600080fd5b5061051e6004803603602081101561051757600080fd5b5035611101565b6040516001600160a01b03909116815260200160405180910390f35b34801561054657600080fd5b506105736004803603604081101561055d57600080fd5b506001600160a01b038135169060200135611165565b005b34801561058157600080fd5b5061040f611294565b34801561059657600080fd5b50610573600480360360608110156105ad57600080fd5b506001600160a01b0381358116916020810135909116906040013561129a565b3480156105d957600080fd5b50610573600480360360408110156105f057600080fd5b506001600160a01b0381351690602001356112f6565b34801561061257600080fd5b5061057361136d565b34801561062757600080fd5b506105736004803603602081101561063e57600080fd5b50356113e3565b34801561065157600080fd5b506105736004803603604081101561066857600080fd5b81359190810190604081016020820135600160201b81111561068957600080fd5b82018360208201111561069b57600080fd5b803590602001918460018302840111600160201b831117156106bc57600080fd5b91908080601f016020809104026020016040519081016040528181529291906020840183838082843760009201919091525092955061144f945050505050565b34801561070857600080fd5b506103e6611486565b34801561071d57600080fd5b5061040f6004803603604081101561073457600080fd5b506001600160a01b03813516906020013561148f565b34801561075657600080fd5b506105736004803603602081101561076d57600080fd5b810190602081018135600160201b81111561078757600080fd5b82018360208201111561079957600080fd5b803590602001918460018302840111600160201b831117156107ba57600080fd5b91908080601f016020809104026020016040519081016040528181529291906020840183838082843760009201919091525092955061150e945050505050565b34801561080657600080fd5b50610573611538565b34801561081b57600080fd5b5061040f611624565b34801561083057600080fd5b5061051e6004803603602081101561084757600080fd5b503561167c565b34801561085a57600080fd5b5061040f6004803603602081101561087157600080fd5b50356001600160a01b0316611699565b34801561088d57600080fd5b50610573600480360360608110156108a457600080fd5b81359190810190604081016020820135600160201b8111156108c557600080fd5b8201836020820111156108d757600080fd5b803590602001918460018302840111600160201b831117156108f857600080fd5b91908080601f01602080910402602001604051908101604052818152929190602084018383808284376000920191909152509295949360208101935035915050600160201b81111561094957600080fd5b82018360208201111561095b57600080fd5b803590602001918460018302840111600160201b8311171561097c57600080fd5b91908080601f01602080910402602001604051908101604052818152929190602084018383808284376000920191909152509295506116ad945050505050565b3480156109c857600080fd5b50610573600480360360608110156109df57600080fd5b506001600160a01b03813581169160208101359091169060400135611876565b61057360048036036020811015610a1557600080fd5b503561ffff1661188f565b348015610a2c57600080fd5b5061040f611cf7565b348015610a4157600080fd5b50610573611dd5565b348015610a5657600080fd5b5061040f60048036036020811015610a6d57600080fd5b5035611df6565b348015610a8057600080fd5b5061040f611e5b565b348015610a9557600080fd5b50610ab360048036036020811015610aac57600080fd5b5035611e61565b60405161ffff909116815260200160405180910390f35b348015610ad657600080fd5b5061040f611e79565b348015610aeb57600080fd5b5061057360048036036020811015610b0257600080fd5b5035611e7f565b348015610b1557600080fd5b5061051e60048036036020811015610b2c57600080fd5b5035611eae565b348015610b3f57600080fd5b5061057360048036036020811015610b5657600080fd5b5035611f05565b348015610b6957600080fd5b5061040f611f21565b348015610b7e57600080fd5b50610573611f27565b348015610b9357600080fd5b5061040f60048036036020811015610baa57600080fd5b50356001600160a01b0316611f73565b348015610bc657600080fd5b50610573611fdb565b348015610bdb57600080fd5b5061040f612080565b348015610bf057600080fd5b5061057360048036036020811015610c0757600080fd5b5035612086565b348015610c1a57600080fd5b5061040f612136565b348015610c2f57600080fd5b5061057360048036036020811015610c4657600080fd5b5035612171565b348015610c5957600080fd5b506105736121a0565b348015610c6e57600080fd5b5061057360048036036020811015610c8557600080fd5b5035612240565b348015610c9857600080fd5b5061051e61240f565b348015610cad57600080fd5b506103e661241e565b348015610cc257600080fd5b5061040f612444565b348015610cd757600080fd5b5061047d61244a565b348015610cec57600080fd5b5061057360048036036040811015610d0357600080fd5b506001600160a01b03813516906020013515156124b7565b348015610d2757600080fd5b5061040f6125cd565b348015610d3c57600080fd5b506103e66125d3565b348015610d5157600080fd5b5061040f60048036036020811015610d6857600080fd5b50356125e3565b348015610d7b57600080fd5b5061057360048036036080811015610d9257600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610dcc57600080fd5b820183602082011115610dde57600080fd5b803590602001918460018302840111600160201b83111715610dff57600080fd5b91908080601f01602080910402602001604051908101604052818152929190602084018383808284376000920191909152509295506125f7945050505050565b348015610e4b57600080fd5b5061047d60048036036020811015610e6257600080fd5b5035612655565b348015610e7557600080fd5b5061057360048036036040811015610e8c57600080fd5b506001600160f01b03198135169060200135612703565b348015610eaf57600080fd5b5061040f612846565b348015610ec457600080fd5b5061040f61284c565b348015610ed957600080fd5b5061057360048036036040811015610ef057600080fd5b506001600160a01b038135169060200135612852565b348015610f1257600080fd5b506105736128ac565b348015610f2757600080fd5b5061040f6128d2565b348015610f3c57600080fd5b506103e660048036036040811015610f5357600080fd5b506001600160a01b03813581169160200135166128d8565b348015610f7757600080fd5b5061051e60048036036020811015610f8e57600080fd5b5035612995565b348015610fa157600080fd5b5061057360048036036020811015610fb857600080fd5b50356001600160a01b03166129b2565b348015610fd457600080fd5b5061040f60048036036020811015610feb57600080fd5b5035612a13565b348015610ffe57600080fd5b506105736004803603602081101561101557600080fd5b5035612a27565b6001600160e01b0319811660009081526020819052604081205460ff1690505b919050565b601b5481565b60366020528060005260406000205460f01b905081565b606060148054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110f65780601f106110cb576101008083540402835291602001916110f6565b820191906000526020600020905b8154815290600101906020018083116110d957829003601f168201915b505050505090505b90565b600061110c82612a60565b6111475760405162461bcd60e51b815260040180806020018281038252602c815260200180615506602c913960400191505060405180910390fd5b6000828152600260205260409020546001600160a01b031692915050565b600061117082611eae565b9050806001600160a01b0316836001600160a01b031614156111c35760405162461bcd60e51b815260040180806020018281038252602181526020018061555b6021913960400191505060405180910390fd5b806001600160a01b03166111d5612a82565b6001600160a01b031614806111f657506111f6816111f1612a82565b6128d8565b6112315760405162461bcd60e51b81526004018080602001828103825260388152602001806154196038913960400191505060405180910390fd5b6000828152600260205283906040902080546001600160a01b0319166001600160a01b0392831617905582908481169083167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60075490565b6112ab6112a5612a82565b82612a86565b6112e65760405162461bcd60e51b815260040180806020018281038252603181526020018061557c6031913960400191505060405180910390fd5b6112f1838383612b22565b505050565b6013546001600160a01b0316331461130d57600080fd5b602054611320908263ffffffff612b4116565b60209081556001600160a01b0383166000908152603290915261135090829060409020549063ffffffff612b4116565b6001600160a01b0383166000908152603260205260409020555050565b6013546001600160a01b0316331461138457600080fd5b601c5460ff161561139457600080fd5b6030546113a7814263ffffffff612b8816565b146113b157600080fd5b334780156108fc0290604051600060405180830381858888f193505050501580156113e0573d6000803e3d6000fd5b50565b6013546001600160a01b031633146113fa57600080fd5b80611413611406611624565b839063ffffffff612b8816565b1461141d57600080fd5b3381156108fc0282604051600060405180830381858888f1935050505015801561144b573d6000803e3d6000fd5b5050565b61144b82826000604051818152601f19601f8301168101602001604052908015611480576020820181803883390190505b506116ad565b601c5460ff1681565b600061149a83611f73565b82106114d75760405162461bcd60e51b815260040180806020018281038252602b815260200180615346602b913960400191505060405180910390fd5b6001600160a01b038316600090815260056020526040902082815481106114fa57fe5b906000526020600020015490505b92915050565b6013546001600160a01b0316331461152557600080fd5b601681805161144b929160200190615209565b600d80546001019081905533600090815260326020526040812054905061156681600163ffffffff612b8816565b60011461157257600080fd5b602254600090611588908363ffffffff612b9e16565b336000908152603260205290915060409020600090553381156108fc0282604051600060405180830381858888f193505050501580156115cc573d6000803e3d6000fd5b505050600d5481146113e05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640160405180910390fd5b6013546000906001600160a01b0316331461163e57600080fd5b61167761166a601f5461165e601e54601d54612bf790919063ffffffff16565b9063ffffffff612bf716565b479063ffffffff612b4116565b905090565b602481600a811061168957fe5b01546001600160a01b0316905081565b603260205280600052604060002054905081565b6116b5612c50565b6001600160a01b0316336001600160a01b0316146116d257600080fd5b6000838152603360205260408120546000858152603460205261ffff90911691506040812054600086815260356020526001600160a01b039091169150604081205490508260f01b611725866000612e19565b6000838152603660205291189060409020805461ffff191660f09290921c919091179055600061ffff8416436000190140876040516020018082805190602001908083835b602083106117895780518252601f19909201916020918201910161176a565b6001836020036101000a038019825116818451161790925250505091909101925060409150505160208183030381529060405280519060200120181890506117d98161ffff63ffffffff612e5f16565b6000838152603760205260409020556000611801600161165e8461271063ffffffff612e5f16565b90508061180f611406611cf7565b141561181d5761181d612e9f565b6118278484612f02565b6000888152603360205260409020805461ffff19169055600088815260346020526040902080546001600160a01b03191690556000888152603560205260409020600090555050505050505050565b6112f183838360405160208101604052600081526125f7565b600d805460010190819055601c5460ff166118a957600080fd5b602f546118bc814263ffffffff612b8816565b14156118cf576118ca612e9f565b611ca2565b346118e86118db612136565b349063ffffffff612f1a16565b146118f257600080fd5b600061191b61190e601854601954612b9e90919063ffffffff16565b349063ffffffff612b4116565b905061193b61192c826103e8612f2a565b601d549063ffffffff612bf716565b601d5561195c61194d82610bb8612f2a565b601e549063ffffffff612bf716565b601e5561197d61196e826103e8612f2a565b601f549063ffffffff612bf716565b601f5560215461199490600163ffffffff612bf716565b60215533600090815260316020526119b79060408120549063ffffffff612f1a16565b15611a635733600090815260316020526119dd600160408320549063ffffffff612b4116565b90506024602e54600a81106119ee57fe5b01546001600160a01b0316602482600a8110611a0657fe5b0180546001600160a01b0319166001600160a01b0392909216919091179055611a30816001612bf7565b60316000602484600a8110611a4157fe5b01546001600160a01b0316815260208101919091526040016000205550611a95565b6000603160006024602e54600a8110611a7857fe5b01546001600160a01b031681526020810191909152604001600020555b336024602e54600a8110611aa557fe5b0180546001600160a01b0319166001600160a01b0392909216919091179055602e54611ad2906001612bf7565b33600090815260316020526040902055602e54611b0990600a90611afd90600163ffffffff612bf716565b9063ffffffff612e5f16565b602e55602f54611b2090603c63ffffffff612bf716565b602f819055611b4a611b3b426201518063ffffffff612bf716565b602f549063ffffffff612f1a16565b1415611b6757611b63426201518063ffffffff612bf716565b602f555b602f54611b8e611b7f42610e1063ffffffff612bf716565b602f549063ffffffff612b8816565b1415611baa57611ba642610e1063ffffffff612bf716565b602f555b6000611bbb60006002601954612f4e565b90507fde943e32fd65498630e5644176185884dd5c05112d2e96be2315156ceedebf2233828660175460405180856001600160a01b03166001600160a01b031681526020018481526020018361ffff16815260200182815260200194505050505060405180910390a160008181526033602052849060409020805461ffff191661ffff929092169190911790556000818152603460205233906040902080546001600160a01b0319166001600160a01b0392909216919091179055601754600082815260356020526040902055601754611c9c90600163ffffffff612bf716565b60175550505b600d54811461144b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640160405180910390fd5b602154600090611d0f8161271063ffffffff612b8816565b1415611d1d575060006110fe565b602154611d3281612ee063ffffffff612b8816565b1415611d405750600a6110fe565b602154611d55816136b063ffffffff612b8816565b1415611d63575060196110fe565b602154611d7881613e8063ffffffff612b8816565b1415611d86575060326110fe565b602154611d9b8161465063ffffffff612b8816565b1415611da95750604b6110fe565b602154611dbe81614e2063ffffffff612b8816565b1415611dcc575060646110fe565b506103e86110fe565b6013546001600160a01b03163314611dec57600080fd5b611df4612e9f565b565b6000611e00611294565b8210611e3d5760405162461bcd60e51b815260040180806020018281038252602c8152602001806155ad602c913960400191505060405180910390fd5b60078281548110611e4a57fe5b906000526020600020015492915050565b60225481565b60336020528060005260406000205461ffff16905081565b601e5481565b611e8881611eae565b6001600160a01b0316336001600160a01b031614611ea557600080fd5b6113e08161337d565b600081815260016020528060408120546001600160a01b03169050806115085760405162461bcd60e51b815260040180806020018281038252602981526020018061547b6029913960400191505060405180910390fd5b6013546001600160a01b03163314611f1c57600080fd5b601955565b601d5481565b6013546001600160a01b03163314611f3e57600080fd5b601c5460ff1615611f4e57600080fd5b601c805460ff19166001179055611f6e426201518063ffffffff612bf716565b602f55565b60006001600160a01b038216611fba5760405162461bcd60e51b815260040180806020018281038252602a815260200180615451602a913960400191505060405180910390fd5b6001600160a01b03821660009081526003602052611508906040902061338f565b611fe361241e565b6120335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b600c546000906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3600c80546001600160a01b0319169055565b601f5481565b61208f81611eae565b6001600160a01b0316336001600160a01b0316146120ac57600080fd5b601a54600160a01b900460ff166120c257600080fd5b601e54601b546120d990829063ffffffff612f1a16565b146120e357600080fd5b6120ec8161337d565b601b54601e546121019163ffffffff612b4116565b601e55601b54339080156108fc0290604051600060405180830381858888f1935050505015801561144b573d6000803e3d6000fd5b6000611677661c6bf52634000061165e66038d7ea4c680006121656103e860215461339390919063ffffffff16565b9063ffffffff612b9e16565b6013546001600160a01b0316331461218857600080fd5b601b55601a805460ff60a01b1916600160a01b179055565b600d80546001019081905533600090815260316020526040812054905033602482600a81106121cb57fe5b01546001600160a01b0316146121e057600080fd5b60235433600090815260316020526040902060009055602482600a811061220357fe5b0180546001600160a01b03191690553381156108fc0282604051600060405180830381858888f193505050501580156115cc573d6000803e3d6000fd5b6013546001600160a01b0316331461225757600080fd5b6000818152603560205260408120546000838152603360205290915060408120546000848152603460205261ffff909116915060408120546001600160a01b03169050826122eb5760405162461bcd60e51b815260206004820152601c60248201527f4d7573742068617665206265656e2061207265616c2071756572792e00000000604482015260640160405180910390fd5b6000848152603360205260409020805461ffff19169055600084815260346020526040902080546001600160a01b0319169055600084815260356020526040902060009055600061234160006002601954612f4e565b90507fde943e32fd65498630e5644176185884dd5c05112d2e96be2315156ceedebf228282858760405180856001600160a01b03166001600160a01b0316815260200184815260200183815260200182815260200194505050505060405180910390a160008181526033602052839060409020805461ffff191661ffff929092169190911790556000818152603460205282906040902080546001600160a01b0319166001600160a01b03929092169190911790556017546000828152603560205260409020555050505050565b600c546001600160a01b031690565b600c546000906001600160a01b0316612435612a82565b6001600160a01b031614905090565b60205481565b606060158054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110f65780601f106110cb576101008083540402835291602001916110f6565b6124bf612a82565b6001600160a01b0316826001600160a01b031614156125245760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640160405180910390fd5b8060046000612531612a82565b6001600160a01b03166001600160a01b031681526020019081526020016000206001600160a01b038416600090815260209190915260409020805460ff19169115159190911790556001600160a01b03821661258b612a82565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051901515815260200160405180910390a35050565b60215481565b601a54600160a01b900460ff1681565b603760205280600052604060002054905081565b612608612602612a82565b83612a86565b6126435760405162461bcd60e51b815260040180806020018281038252603181526020018061557c6031913960400191505060405180910390fd5b61264f848484846133d3565b50505050565b606061150860168054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156126f05780601f106126c5576101008083540402835291602001916126f0565b820191906000526020600020905b8154815290600101906020018083116126d357829003601f168201915b50505050506126fe84613425565b6134e7565b6013546001600160a01b0316331461271a57600080fd5b60175461272e81600963ffffffff612b8816565b146127755760405162461bcd60e51b81526020600482015260136024820152724f6e6c79203130204c6567656e64617269657360681b604482015260640160405180910390fd5b8061278781600463ffffffff612b8816565b146127c35760405162461bcd60e51b81526004018080602001828103825260418152602001806154a46041913960600191505060405180910390fd5b6127cf33601754612f02565b60175460009081526036602052829060409020805461ffff191660f09290921c9190911790556128028162010000612bf7565b60175460009081526037602052604090205560175461282890600163ffffffff612bf716565b60175560215461283f90600163ffffffff612bf716565b6021555050565b602f5481565b60235481565b6013546001600160a01b0316331461286957600080fd5b60205461287c908263ffffffff612bf716565b60209081556001600160a01b0383166000908152603290915261135090829060409020549063ffffffff612bf716565b6013546001600160a01b031633146128c357600080fd5b601a805460ff60a01b19169055565b60305481565b601a546000906001600160a01b039081169083168163c4552791866040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b15801561293257600080fd5b505afa158015612946573d6000803e3d6000fd5b505050506040513d602081101561295c57600080fd5b8101908080516001600160a01b031693909314159250612983915050576001915050611508565b61298d848461351d565b949350505050565b6034602052806000526040600020546001600160a01b0316905081565b6129ba61241e565b612a0a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b6113e081613559565b603560205280600052604060002054905081565b6013546001600160a01b03163314612a3e57600080fd5b612a5281633b9aca0063ffffffff612b9e16565b60188190556113e0906135fc565b600081815260016020528060408120546001600160a01b031615159392505050565b3390565b6000612a9182612a60565b612acc5760405162461bcd60e51b815260040180806020018281038252602c8152602001806153ed602c913960400191505060405180910390fd5b6000612ad783611eae565b9050806001600160a01b0316846001600160a01b03161480612b125750836001600160a01b0316612b0784611101565b6001600160a01b0316145b8061298d575061298d81856128d8565b612b2d8383836137b5565b612b378382613900565b6112f182826139e2565b6000612b81838360405160408082019052601e81527f536166654d6174683a207375627472616374696f6e206f766572666c6f7700006020820152613a43565b9392505050565b6000818310612b975781612b81565b5090919050565b600082612bad57506000611508565b82820282848281612bba57fe5b0414612b815760405162461bcd60e51b81526004018080602001828103825260218152602001806154e56021913960400191505060405180910390fd5b600082820183811015612b815760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640160405180910390fd5b600f546000906001600160a01b03161580612c7d5750600f54612c7b906001600160a01b0316613ada565b155b15612c8e57612c8c6000613ade565b505b600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015612ccb57600080fd5b505af1158015612cdf573d6000803e3d6000fd5b505050506040513d6020811015612cf557600080fd5b810190808051600e546001600160a01b039081169116149250612da691505057600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015612d5257600080fd5b505af1158015612d66573d6000803e3d6000fd5b505050506040513d6020811015612d7c57600080fd5b810190808051600e80546001600160a01b0319166001600160a01b03929092169190911790555050505b600e546001600160a01b031663c281d19e6040518163ffffffff1660e01b815260040160206040518083038186803b158015612de157600080fd5b505afa158015612df5573d6000803e3d6000fd5b505050506040513d6020811015612e0b57600080fd5b810190808051935050505090565b600080805b6002811015612e5757806008028582860181518110612e3957fe5b60200101516001600160f81b031916901c9190911790600101612e1e565b509392505050565b6000612b81838360405160408082019052601881527f536166654d6174683a206d6f64756c6f206279207a65726f00000000000000006020820152613ae8565b601c805460ff19169055602054612eba576000602255612ed3565b602054601f54612ecf9163ffffffff61339316565b6022555b612ee6426201518063ffffffff612bf716565b603055601d54612efd90600a63ffffffff61339316565b602355565b61144b82826040516020810160405260008152613b4a565b600081831015612b975781612b81565b6000612b81612710612f42858563ffffffff612b9e16565b9063ffffffff61339316565b60008083118015612f60575060208311155b612f6957600080fd5b600a8402935060606001604051818152601f19601f8301168101602001604052908015612f9d576020820181803883390190505b5090508360f81b81600081518110612fb157fe5b60200101906001600160f81b031916908160001a90535060606020604051818152601f19601f8301168101602001604052908015612ff6576020820181803883390190505b50905060606020604051818152601f19601f8301168101602001604052908015613027576020820181803883390190505b5090506000613034613b9c565b90506020835242411860014303401860208401526020825280602083015260606020604051818152601f19601f8301168101602001604052908015613080576020820181803883390190505b50905088602082015260606008604051818152601f19601f83011681016020016040529080156130b7576020820181803883390190505b5090506130ca8260186008846000613d2d565b506130d3615287565b6040518060800160405280878152602001888152602001868152602001848152509050600061311f60405160408082019052600681526572616e646f6d60d01b6020820152838c613d77565b905060606008604051818152601f19601f830116810160200160405290801561314f576020820181803883390190505b5090506020840151600160f81b81046027830153600160f01b81046026830153600160e81b81046025830153600160e01b81046024830153600160d81b81046023830153600160d01b81046022830153600160c81b81046021830153600160c01b810460208301535061336d82826020860151600287516040518082805190602001908083835b602083106131f55780518252601f1990920191602091820191016131d6565b6001836020036101000a038019825116818451168082178552505050505050905001915050602060405180830381855afa158015613237573d6000803e3d6000fd5b5050506040513d602081101561324c57600080fd5b8101908080519250505060408801516040516020018085805190602001908083835b6020831061328d5780518252601f19909201916020918201910161326e565b6001836020036101000a038019825116818451161790925250505091909101905084805190602001908083835b602083106132d95780518252601f1990920191602091820191016132ba565b6001836020036101000a038019825116818451161790925250505091909101848152602001905082805190602001908083835b6020831061332b5780518252601f19909201916020918201910161330c565b6001836020036101000a038019825116818451161790925250505091909101955060409450505050505160208183030381529060405280519060200120613f8f565b509b9a5050505050505050505050565b6113e061338982611eae565b82613fa4565b5490565b6000612b81838360405160408082019052601a81527f536166654d6174683a206469766973696f6e206279207a65726f0000000000006020820152613fee565b6133de848484612b22565b6133ea84848484614053565b61264f5760405162461bcd60e51b81526004018080602001828103825260328152602001806153716032913960400191505060405180910390fd5b60608161344b576040516040808201905260018152600360fc1b6020820152905061103c565b8160005b811561346357600101600a8204915061344f565b606081604051818152601f19601f8301168101602001604052908015613490576020820181803883390190505b50905060001982015b85156134de576000198101906030600a88060160f81b908390815181106134bc57fe5b60200101906001600160f81b031916908160001a905350600a86049550613499565b50949350505050565b6060612b8183836040516020810160409081526000825251602081016040908152600082525160208101604052600081526141b1565b6001600160a01b03821660009081526004602052604081206001600160a01b0383166000908152602091909152604090205460ff169392505050565b6001600160a01b03811661359e5760405162461bcd60e51b81526004018080602001828103825260268152602001806153a36026913960400191505060405180910390fd5b600c546001600160a01b0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600f546001600160a01b031615806136265750600f54613624906001600160a01b0316613ada565b155b15613637576136356000613ade565b505b600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561367457600080fd5b505af1158015613688573d6000803e3d6000fd5b505050506040513d602081101561369e57600080fd5b810190808051600e546001600160a01b03908116911614925061374f91505057600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156136fb57600080fd5b505af115801561370f573d6000803e3d6000fd5b505050506040513d602081101561372557600080fd5b810190808051600e80546001600160a01b0319166001600160a01b03929092169190911790555050505b600e546001600160a01b031663ca6ad1e4826040516001600160e01b031960e084901b1681526004810191909152602401600060405180830381600087803b15801561379a57600080fd5b505af11580156137ae573d6000803e3d6000fd5b5050505050565b826001600160a01b03166137c882611eae565b6001600160a01b03161461380d5760405162461bcd60e51b81526004018080602001828103825260298152602001806155326029913960400191505060405180910390fd5b6001600160a01b0382166138525760405162461bcd60e51b81526004018080602001828103825260248152602001806153c96024913960400191505060405180910390fd5b61385b816143b1565b6001600160a01b0383166000908152600360205261387c90604090206143fd565b6001600160a01b0382166000908152600360205261389d9060409020614414565b6000818152600160205282906040902080546001600160a01b0319166001600160a01b0392831617905581908381169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001600160a01b0382166000908152600560205261392a600160408320549063ffffffff612b4116565b60008381526006602052909150604081205490508181146139b9576001600160a01b0384166000908152600560205260408120838154811061396857fe5b90600052602060002001546001600160a01b03861660009081526005602052909150819060409020838154811061399b57fe5b90600052602060002001556000818152600660205282906040902055505b6001600160a01b03841660009081526005602052604090208054906137ae9060001983016152ad565b6001600160a01b0382166000908152600560205260409020546000828152600660205260409020556001600160a01b038216600090815260056020526040902080546001810180835560009283528392909190602090200191909155505050565b60008184841115613ad25760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613a97578082015183820152602001613a7f565b50505050905090810190601f168015613ac45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b3b90565b600061150861441d565b60008183613b375760405162461bcd60e51b8152600401808060200182810382528381815181526020019150805160209091019080838360008315613a97578082015183820152602001613a7f565b50828481613b4157fe5b06949350505050565b613b54838361476c565b613b616000848484614053565b6112f15760405162461bcd60e51b81526004018080602001828103825260328152602001806153716032913960400191505060405180910390fd5b600f546000906001600160a01b03161580613bc95750600f54613bc7906001600160a01b0316613ada565b155b15613bda57613bd86000613ade565b505b600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015613c1757600080fd5b505af1158015613c2b573d6000803e3d6000fd5b505050506040513d6020811015613c4157600080fd5b810190808051600e546001600160a01b039081169116149250613cf291505057600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015613c9e57600080fd5b505af1158015613cb2573d6000803e3d6000fd5b505050506040513d6020811015613cc857600080fd5b810190808051600e80546001600160a01b0319166001600160a01b03929092169190911790555050505b600e546001600160a01b031663abaa5f3e6040518163ffffffff1660e01b815260040160206040518083038186803b158015612de157600080fd5b60608382018084511015613d4057600080fd5b60208087019084015b868860200101821015613d6a57818901518682015260209182019101613d49565b5093979650505050505050565b600f546000906001600160a01b03161580613da45750600f54613da2906001600160a01b0316613ada565b155b15613db557613db36000613ade565b505b600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015613df257600080fd5b505af1158015613e06573d6000803e3d6000fd5b505050506040513d6020811015613e1c57600080fd5b810190808051600e546001600160a01b039081169116149250613ecd91505057600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015613e7957600080fd5b505af1158015613e8d573d6000803e3d6000fd5b505050506040513d6020811015613ea357600080fd5b810190808051600e80546001600160a01b0319166001600160a01b03929092169190911790555050505b60606004604051908082528060200260200182016040528015613f0457816020015b6060815260200190600190039081613eef5790505b509050835181600081518110613f1657fe5b6020908102919091010152836001602002015181600181518110613f3657fe5b6020908102919091010152604084015181600281518110613f5357fe5b6020908102919091010152606084015181600381518110613f7057fe5b6020026020010181905250613f86858285614789565b95945050505050565b60008281526011602052819060409020555050565b613fae8282614b58565b6000818152600b6020526040902054600260001961010060018416150201909116041561144b576000818152600b6020526040902061144b9060006152d1565b6000818361403d5760405162461bcd60e51b8152600401808060200182810382528381815181526020019150805160209091019080838360008315613a97578082015183820152602001613a7f565b50600083858161404957fe5b0495945050505050565b6000614067846001600160a01b0316614b84565b6140735750600161298d565b6000846001600160a01b031663150b7a0261408c612a82565b8887876040518563ffffffff1660e01b815260040180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156141115780820151838201526020016140f9565b50505050905090810190601f16801561413e5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561416057600080fd5b505af1158015614174573d6000803e3d6000fd5b505050506040513d602081101561418a57600080fd5b8101908080516001600160e01b031916630a85bd0160e11b14945050505050949350505050565b60608585858585858151835185518751895101010101604051818152601f19601f83011681016020016040529080156141f1576020820181803883390190505b509050806000805b885181101561424a5788818151811061420e57fe5b602001015160f81c60f81b83838060010194508151811061422b57fe5b60200101906001600160f81b031916908160001a9053506001016141f9565b5060005b875181101561429f5787818151811061426357fe5b602001015160f81c60f81b83838060010194508151811061428057fe5b60200101906001600160f81b031916908160001a90535060010161424e565b5060005b86518110156142f4578681815181106142b857fe5b602001015160f81c60f81b8383806001019450815181106142d557fe5b60200101906001600160f81b031916908160001a9053506001016142a3565b5060005b85518110156143495785818151811061430d57fe5b602001015160f81c60f81b83838060010194508151811061432a57fe5b60200101906001600160f81b031916908160001a9053506001016142f8565b5060005b845181101561439e5784818151811061436257fe5b602001015160f81c60f81b83838060010194508151811061437f57fe5b60200101906001600160f81b031916908160001a90535060010161434d565b50909d9c50505050505050505050505050565b6000818152600260205260408120546001600160a01b0316146113e057600081815260026020526040812080546001600160a01b0319166001600160a01b039290921691909117905550565b805461441090600163ffffffff612b4116565b9055565b80546001019055565b60008061443d731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed613ada565b111561449b57600f80546001600160a01b031916731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed17905561449360405160408082019052600b81526a195d1a17db585a5b9b995d60aa1b6020820152614bbb565b5060016110fe565b60006144ba73c03a2615d5efaf5f49f60b7bb6583eaec212fdf1613ada565b111561451157600f80546001600160a01b03191673c03a2615d5efaf5f49f60b7bb6583eaec212fdf117905561449360405160408082019052600c81526b6574685f726f707374656e3360a01b6020820152614bbb565b600061453073b7a07bcf2ba2f2703b24c0691b5278999c59ac7e613ada565b111561458457600f80546001600160a01b03191673b7a07bcf2ba2f2703b24c0691b5278999c59ac7e17905561449360405160408082019052600981526832ba342fb5b7bb30b760b91b6020820152614bbb565b60006145a373146500cfd35b22e4a392fe0adc06de1a1368ed48613ada565b11156145f957600f80546001600160a01b03191673146500cfd35b22e4a392fe0adc06de1a1368ed4817905561449360405160408082019052600b81526a6574685f72696e6b65627960a81b6020820152614bbb565b600061461873a2998efd205fb9d4b4963afb70778d6354ad3a41613ada565b111561466d57600f80546001600160a01b03191673a2998efd205fb9d4b4963afb70778d6354ad3a4117905561449360405160408082019052600a8152696574685f676f65726c6960b01b6020820152614bbb565b600061468c736f485c8bf6fc43ea212e93bbf8ce046c7f1cb475613ada565b11156146c05750600f80546001600160a01b031916736f485c8bf6fc43ea212e93bbf8ce046c7f1cb47517905560016110fe565b60006146df7320e12a1f859b3feae5fb2a0a32c18f5a65555bbf613ada565b11156147135750600f80546001600160a01b0319167320e12a1f859b3feae5fb2a0a32c18f5a65555bbf17905560016110fe565b60006147327351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa613ada565b11156147665750600f80546001600160a01b0319167351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa17905560016110fe565b50600090565b6147768282614bce565b61478082826139e2565b61144b81614d02565b600f546000906001600160a01b031615806147b65750600f546147b4906001600160a01b0316613ada565b155b156147c7576147c56000613ade565b505b600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561480457600080fd5b505af1158015614818573d6000803e3d6000fd5b505050506040513d602081101561482e57600080fd5b810190808051600e546001600160a01b0390811691161492506148df91505057600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561488b57600080fd5b505af115801561489f573d6000803e3d6000fd5b505050506040513d60208110156148b557600080fd5b810190808051600e80546001600160a01b0319166001600160a01b03929092169190911790555050505b600e546000906001600160a01b0316632ef3accc86856040518363ffffffff1660e01b81526004018080602001838152602001828103825284818151815260200191508051906020019080838360005b8381101561494757808201518382015260200161492f565b50505050905090810190601f1680156149745780820380516001836020036101000a031916815260200191505b509350505050602060405180830381600087803b15801561499457600080fd5b505af11580156149a8573d6000803e3d6000fd5b505050506040513d60208110156149be57600080fd5b8101908080519350505050670de0b6b3a76400003a8402018111156149e7575060009050612b81565b60606149f285614d36565b600e549091506001600160a01b031663c55c1cb68360008985896040518663ffffffff1660e01b8152600401808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015614a68578082015183820152602001614a50565b50505050905090810190601f168015614a955780820380516001836020036101000a031916815260200191505b50838103825285818151815260200191508051906020019080838360005b83811015614acb578082015183820152602001614ab3565b50505050905090810190601f168015614af85780820380516001836020036101000a031916815260200191505b5096505050505050506020604051808303818588803b158015614b1a57600080fd5b505af1158015614b2e573d6000803e3d6000fd5b50505050506040513d6020811015614b4557600080fd5b8101908080519998505050505050505050565b614b628282614da8565b614b6c8282613900565b60008181526006602052604081205561144b81614e89565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470811580159061298d5750141592915050565b601081805161144b929160200190615209565b6001600160a01b038216614c285760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640160405180910390fd5b614c3181612a60565b15614c825760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640160405180910390fd5b6000818152600160205282906040902080546001600160a01b0319166001600160a01b03928316179055821660009081526003602052614cc59060409020614414565b806001600160a01b03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6007546000828152600860205260409020556007805460018101808355600092835283929091906020902001919091555050565b6060614d40614f23565b614d48615313565b614d5481610400614f2f565b614d5d81614f5d565b60005b8351811015614d9557614d8d848281518110614d7857fe5b6020026020010151839063ffffffff614f6816565b600101614d60565b50614d9f81614f85565b80519392505050565b816001600160a01b0316614dbb82611eae565b6001600160a01b031614614e005760405162461bcd60e51b81526004018080602001828103825260258152602001806155d96025913960400191505060405180910390fd5b614e09816143b1565b6001600160a01b03821660009081526003602052614e2a90604090206143fd565b600081815260016020526040812080546001600160a01b0319166001600160a01b03928316179055819060009084167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600754600090614ea090600163ffffffff612b4116565b6000838152600860205290915060408120549050600060078381548110614ec357fe5b906000526020600020015490508060078381548110614ede57fe5b906000526020600020015560008181526008602052829060409020556007805490614f0d9060001983016152ad565b5060008481526008602052604081205550505050565b60405180590338823950565b806020810615614f425760208106602003015b60208301819052604051928390526000835290910160405250565b6113e0816004614f8c565b614f758260028351614fa7565b6112f1828263ffffffff6150b216565b6113e08160075b61144b82601f611fe0600585901b161763ffffffff61514b16565b60178111614fcd57614fc88360e0600585901b16831763ffffffff61514b16565b6112f1565b60ff811161500857614ff0836018611fe0600586901b161763ffffffff61514b16565b6150028382600163ffffffff61518416565b506112f1565b61ffff811161503e5761502c836019611fe0600586901b161763ffffffff61514b16565b6150028382600263ffffffff61518416565b63ffffffff81116150765761506483601a611fe0600586901b161763ffffffff61514b16565b6150028382600463ffffffff61518416565b67ffffffffffffffff81116112f1576150a083601b611fe0600586901b161763ffffffff61514b16565b61264f8382600863ffffffff61518416565b6150ba615313565b826020015183515183510111156150e6576150e6836150de856020015185516151d8565b6002026151ef565b60008060008451905085518051602081830101945086510190526020850191505b6020811061512757815183526020928301929190910190601f1901615107565b60001960208290036101000a01801983511681855116179093525093949350505050565b8160200151825151600101111561516d5761516d8283602001516002026151ef565b815180516020818301018381535060010190525050565b61518c615313565b8360200151845151830111156151ae576151ae846150de8660200151856151d8565b60001961010083900a01845180518481830101868419825116179052909301909252509192915050565b6000818311156151e9575081611508565b50919050565b6060825190506151ff8383614f2f565b61264f83826150b2565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061524a57805160ff1916838001178555615277565b82800160010185558215615277579182015b8281111561527757825182559160200191906001019061525c565b5061528392915061532b565b5090565b604051608081016040526004815b60608152602001906001900390816152955790505090565b8154818355818111156112f157818360005260206000206112f1928101910161532b565b50805460018160011615610100020316600290046000825580601f106152f757506113e0565b601f01602090049060005260206000206113e09181019061532b565b60405160408082019052606081526000602082015290565b6110fe91905b80821115615283576000815560010161533156fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e35206c6576656c73206f66206c6567656e6461726965733a20303a676f6c642c20313a707572706c652c20323a7265642c20333a677265656e2c20343a626c7565536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e64734552433732313a206275726e206f6620746f6b656e2074686174206973206e6f74206f776ea265627a7a723158205b67aa66b45e8a38aa8b9263e1fc7abcb73af80529795e4b8830789716a463cb64736f6c6343000510003268747470733a2f2f6170692e62697473666f7261692e636f6d2f746f6b656e69642f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Deployed Bytecode
0x6080604052600436106103ad5760003560e01c80636b31ee01116101e7578063a2309ff81161010d578063d6a0768e116100a0578063eb89ce771161006f578063eb89ce7714610f6b578063f2fde38b14610f95578063fb4092c014610fc8578063ff12cb7914610ff2576103ad565b8063d6a0768e14610ecd578063d70f817714610f06578063df7b585614610f1b578063e985e9c514610f30576103ad565b8063c87b56dd116100dc578063c87b56dd14610e3f578063c8fae5a914610e69578063cb2e46f314610ea3578063d69d177414610eb8576103ad565b8063a2309ff814610d1b578063b1a6676e14610d30578063b261f1f614610d45578063b88d4fde14610d6f576103ad565b80637ee3b9b4116101855780638f32d59b116101545780638f32d59b14610ca15780638fea53a914610cb657806395d89b4114610ccb578063a22cb46514610ce0576103ad565b80637ee3b9b414610c235780638086cf0414610c4d57806383f3bddf14610c625780638da5cb5b14610c8c576103ad565b8063715018a6116101c1578063715018a614610bba5780637233f2be14610bcf578063787b487e14610be45780637a5caab314610c0e576103ad565b80636b31ee0114610b5d578063708ee41014610b7257806370a0823114610b87576103ad565b8063316c4f54116102d75780634dc638da1161026a57806353d782df1161023957806353d782df14610aca57806356134dca14610adf5780636352211e14610b095780636940ac2f14610b33576103ad565b80634dc638da14610a355780634f6ccce714610a4a578063509e81ad14610a74578063525125de14610a89576103ad565b806338bbfa50116102a657806338bbfa501461088157806342842e0e146109bc57806343755ace146109ff578063441d27fd14610a20576103ad565b8063316c4f54146107fa5780633213028b1461080f578063362d65b1146108245780633729db9e1461084e576103ad565b806323b872dd1161034f57806327dc297e1161031e57806327dc297e146106455780632a8092df146106fc5780632f745c591461071157806330485d1a1461074a576103ad565b806323b872dd1461058a5780632414b679146105cd57806324a310b71461060657806327ad8e351461061b576103ad565b806306fdde031161038b57806306fdde0314610468578063081812fc146104f4578063095ea7b31461053a57806318160ddd14610575576103ad565b806301ffc9a7146103b257806302a79454146103fa5780630389c45514610421575b600080fd5b3480156103be57600080fd5b506103e6600480360360208110156103d557600080fd5b50356001600160e01b03191661101c565b604051901515815260200160405180910390f35b34801561040657600080fd5b5061040f611041565b60405190815260200160405180910390f35b34801561042d57600080fd5b5061044b6004803603602081101561044457600080fd5b5035611047565b6040516001600160f01b0319909116815260200160405180910390f35b34801561047457600080fd5b5061047d61105e565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156104b95780820151838201526020016104a1565b50505050905090810190601f1680156104e65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561050057600080fd5b5061051e6004803603602081101561051757600080fd5b5035611101565b6040516001600160a01b03909116815260200160405180910390f35b34801561054657600080fd5b506105736004803603604081101561055d57600080fd5b506001600160a01b038135169060200135611165565b005b34801561058157600080fd5b5061040f611294565b34801561059657600080fd5b50610573600480360360608110156105ad57600080fd5b506001600160a01b0381358116916020810135909116906040013561129a565b3480156105d957600080fd5b50610573600480360360408110156105f057600080fd5b506001600160a01b0381351690602001356112f6565b34801561061257600080fd5b5061057361136d565b34801561062757600080fd5b506105736004803603602081101561063e57600080fd5b50356113e3565b34801561065157600080fd5b506105736004803603604081101561066857600080fd5b81359190810190604081016020820135600160201b81111561068957600080fd5b82018360208201111561069b57600080fd5b803590602001918460018302840111600160201b831117156106bc57600080fd5b91908080601f016020809104026020016040519081016040528181529291906020840183838082843760009201919091525092955061144f945050505050565b34801561070857600080fd5b506103e6611486565b34801561071d57600080fd5b5061040f6004803603604081101561073457600080fd5b506001600160a01b03813516906020013561148f565b34801561075657600080fd5b506105736004803603602081101561076d57600080fd5b810190602081018135600160201b81111561078757600080fd5b82018360208201111561079957600080fd5b803590602001918460018302840111600160201b831117156107ba57600080fd5b91908080601f016020809104026020016040519081016040528181529291906020840183838082843760009201919091525092955061150e945050505050565b34801561080657600080fd5b50610573611538565b34801561081b57600080fd5b5061040f611624565b34801561083057600080fd5b5061051e6004803603602081101561084757600080fd5b503561167c565b34801561085a57600080fd5b5061040f6004803603602081101561087157600080fd5b50356001600160a01b0316611699565b34801561088d57600080fd5b50610573600480360360608110156108a457600080fd5b81359190810190604081016020820135600160201b8111156108c557600080fd5b8201836020820111156108d757600080fd5b803590602001918460018302840111600160201b831117156108f857600080fd5b91908080601f01602080910402602001604051908101604052818152929190602084018383808284376000920191909152509295949360208101935035915050600160201b81111561094957600080fd5b82018360208201111561095b57600080fd5b803590602001918460018302840111600160201b8311171561097c57600080fd5b91908080601f01602080910402602001604051908101604052818152929190602084018383808284376000920191909152509295506116ad945050505050565b3480156109c857600080fd5b50610573600480360360608110156109df57600080fd5b506001600160a01b03813581169160208101359091169060400135611876565b61057360048036036020811015610a1557600080fd5b503561ffff1661188f565b348015610a2c57600080fd5b5061040f611cf7565b348015610a4157600080fd5b50610573611dd5565b348015610a5657600080fd5b5061040f60048036036020811015610a6d57600080fd5b5035611df6565b348015610a8057600080fd5b5061040f611e5b565b348015610a9557600080fd5b50610ab360048036036020811015610aac57600080fd5b5035611e61565b60405161ffff909116815260200160405180910390f35b348015610ad657600080fd5b5061040f611e79565b348015610aeb57600080fd5b5061057360048036036020811015610b0257600080fd5b5035611e7f565b348015610b1557600080fd5b5061051e60048036036020811015610b2c57600080fd5b5035611eae565b348015610b3f57600080fd5b5061057360048036036020811015610b5657600080fd5b5035611f05565b348015610b6957600080fd5b5061040f611f21565b348015610b7e57600080fd5b50610573611f27565b348015610b9357600080fd5b5061040f60048036036020811015610baa57600080fd5b50356001600160a01b0316611f73565b348015610bc657600080fd5b50610573611fdb565b348015610bdb57600080fd5b5061040f612080565b348015610bf057600080fd5b5061057360048036036020811015610c0757600080fd5b5035612086565b348015610c1a57600080fd5b5061040f612136565b348015610c2f57600080fd5b5061057360048036036020811015610c4657600080fd5b5035612171565b348015610c5957600080fd5b506105736121a0565b348015610c6e57600080fd5b5061057360048036036020811015610c8557600080fd5b5035612240565b348015610c9857600080fd5b5061051e61240f565b348015610cad57600080fd5b506103e661241e565b348015610cc257600080fd5b5061040f612444565b348015610cd757600080fd5b5061047d61244a565b348015610cec57600080fd5b5061057360048036036040811015610d0357600080fd5b506001600160a01b03813516906020013515156124b7565b348015610d2757600080fd5b5061040f6125cd565b348015610d3c57600080fd5b506103e66125d3565b348015610d5157600080fd5b5061040f60048036036020811015610d6857600080fd5b50356125e3565b348015610d7b57600080fd5b5061057360048036036080811015610d9257600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610dcc57600080fd5b820183602082011115610dde57600080fd5b803590602001918460018302840111600160201b83111715610dff57600080fd5b91908080601f01602080910402602001604051908101604052818152929190602084018383808284376000920191909152509295506125f7945050505050565b348015610e4b57600080fd5b5061047d60048036036020811015610e6257600080fd5b5035612655565b348015610e7557600080fd5b5061057360048036036040811015610e8c57600080fd5b506001600160f01b03198135169060200135612703565b348015610eaf57600080fd5b5061040f612846565b348015610ec457600080fd5b5061040f61284c565b348015610ed957600080fd5b5061057360048036036040811015610ef057600080fd5b506001600160a01b038135169060200135612852565b348015610f1257600080fd5b506105736128ac565b348015610f2757600080fd5b5061040f6128d2565b348015610f3c57600080fd5b506103e660048036036040811015610f5357600080fd5b506001600160a01b03813581169160200135166128d8565b348015610f7757600080fd5b5061051e60048036036020811015610f8e57600080fd5b5035612995565b348015610fa157600080fd5b5061057360048036036020811015610fb857600080fd5b50356001600160a01b03166129b2565b348015610fd457600080fd5b5061040f60048036036020811015610feb57600080fd5b5035612a13565b348015610ffe57600080fd5b506105736004803603602081101561101557600080fd5b5035612a27565b6001600160e01b0319811660009081526020819052604081205460ff1690505b919050565b601b5481565b60366020528060005260406000205460f01b905081565b606060148054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110f65780601f106110cb576101008083540402835291602001916110f6565b820191906000526020600020905b8154815290600101906020018083116110d957829003601f168201915b505050505090505b90565b600061110c82612a60565b6111475760405162461bcd60e51b815260040180806020018281038252602c815260200180615506602c913960400191505060405180910390fd5b6000828152600260205260409020546001600160a01b031692915050565b600061117082611eae565b9050806001600160a01b0316836001600160a01b031614156111c35760405162461bcd60e51b815260040180806020018281038252602181526020018061555b6021913960400191505060405180910390fd5b806001600160a01b03166111d5612a82565b6001600160a01b031614806111f657506111f6816111f1612a82565b6128d8565b6112315760405162461bcd60e51b81526004018080602001828103825260388152602001806154196038913960400191505060405180910390fd5b6000828152600260205283906040902080546001600160a01b0319166001600160a01b0392831617905582908481169083167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60075490565b6112ab6112a5612a82565b82612a86565b6112e65760405162461bcd60e51b815260040180806020018281038252603181526020018061557c6031913960400191505060405180910390fd5b6112f1838383612b22565b505050565b6013546001600160a01b0316331461130d57600080fd5b602054611320908263ffffffff612b4116565b60209081556001600160a01b0383166000908152603290915261135090829060409020549063ffffffff612b4116565b6001600160a01b0383166000908152603260205260409020555050565b6013546001600160a01b0316331461138457600080fd5b601c5460ff161561139457600080fd5b6030546113a7814263ffffffff612b8816565b146113b157600080fd5b334780156108fc0290604051600060405180830381858888f193505050501580156113e0573d6000803e3d6000fd5b50565b6013546001600160a01b031633146113fa57600080fd5b80611413611406611624565b839063ffffffff612b8816565b1461141d57600080fd5b3381156108fc0282604051600060405180830381858888f1935050505015801561144b573d6000803e3d6000fd5b5050565b61144b82826000604051818152601f19601f8301168101602001604052908015611480576020820181803883390190505b506116ad565b601c5460ff1681565b600061149a83611f73565b82106114d75760405162461bcd60e51b815260040180806020018281038252602b815260200180615346602b913960400191505060405180910390fd5b6001600160a01b038316600090815260056020526040902082815481106114fa57fe5b906000526020600020015490505b92915050565b6013546001600160a01b0316331461152557600080fd5b601681805161144b929160200190615209565b600d80546001019081905533600090815260326020526040812054905061156681600163ffffffff612b8816565b60011461157257600080fd5b602254600090611588908363ffffffff612b9e16565b336000908152603260205290915060409020600090553381156108fc0282604051600060405180830381858888f193505050501580156115cc573d6000803e3d6000fd5b505050600d5481146113e05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640160405180910390fd5b6013546000906001600160a01b0316331461163e57600080fd5b61167761166a601f5461165e601e54601d54612bf790919063ffffffff16565b9063ffffffff612bf716565b479063ffffffff612b4116565b905090565b602481600a811061168957fe5b01546001600160a01b0316905081565b603260205280600052604060002054905081565b6116b5612c50565b6001600160a01b0316336001600160a01b0316146116d257600080fd5b6000838152603360205260408120546000858152603460205261ffff90911691506040812054600086815260356020526001600160a01b039091169150604081205490508260f01b611725866000612e19565b6000838152603660205291189060409020805461ffff191660f09290921c919091179055600061ffff8416436000190140876040516020018082805190602001908083835b602083106117895780518252601f19909201916020918201910161176a565b6001836020036101000a038019825116818451161790925250505091909101925060409150505160208183030381529060405280519060200120181890506117d98161ffff63ffffffff612e5f16565b6000838152603760205260409020556000611801600161165e8461271063ffffffff612e5f16565b90508061180f611406611cf7565b141561181d5761181d612e9f565b6118278484612f02565b6000888152603360205260409020805461ffff19169055600088815260346020526040902080546001600160a01b03191690556000888152603560205260409020600090555050505050505050565b6112f183838360405160208101604052600081526125f7565b600d805460010190819055601c5460ff166118a957600080fd5b602f546118bc814263ffffffff612b8816565b14156118cf576118ca612e9f565b611ca2565b346118e86118db612136565b349063ffffffff612f1a16565b146118f257600080fd5b600061191b61190e601854601954612b9e90919063ffffffff16565b349063ffffffff612b4116565b905061193b61192c826103e8612f2a565b601d549063ffffffff612bf716565b601d5561195c61194d82610bb8612f2a565b601e549063ffffffff612bf716565b601e5561197d61196e826103e8612f2a565b601f549063ffffffff612bf716565b601f5560215461199490600163ffffffff612bf716565b60215533600090815260316020526119b79060408120549063ffffffff612f1a16565b15611a635733600090815260316020526119dd600160408320549063ffffffff612b4116565b90506024602e54600a81106119ee57fe5b01546001600160a01b0316602482600a8110611a0657fe5b0180546001600160a01b0319166001600160a01b0392909216919091179055611a30816001612bf7565b60316000602484600a8110611a4157fe5b01546001600160a01b0316815260208101919091526040016000205550611a95565b6000603160006024602e54600a8110611a7857fe5b01546001600160a01b031681526020810191909152604001600020555b336024602e54600a8110611aa557fe5b0180546001600160a01b0319166001600160a01b0392909216919091179055602e54611ad2906001612bf7565b33600090815260316020526040902055602e54611b0990600a90611afd90600163ffffffff612bf716565b9063ffffffff612e5f16565b602e55602f54611b2090603c63ffffffff612bf716565b602f819055611b4a611b3b426201518063ffffffff612bf716565b602f549063ffffffff612f1a16565b1415611b6757611b63426201518063ffffffff612bf716565b602f555b602f54611b8e611b7f42610e1063ffffffff612bf716565b602f549063ffffffff612b8816565b1415611baa57611ba642610e1063ffffffff612bf716565b602f555b6000611bbb60006002601954612f4e565b90507fde943e32fd65498630e5644176185884dd5c05112d2e96be2315156ceedebf2233828660175460405180856001600160a01b03166001600160a01b031681526020018481526020018361ffff16815260200182815260200194505050505060405180910390a160008181526033602052849060409020805461ffff191661ffff929092169190911790556000818152603460205233906040902080546001600160a01b0319166001600160a01b0392909216919091179055601754600082815260356020526040902055601754611c9c90600163ffffffff612bf716565b60175550505b600d54811461144b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640160405180910390fd5b602154600090611d0f8161271063ffffffff612b8816565b1415611d1d575060006110fe565b602154611d3281612ee063ffffffff612b8816565b1415611d405750600a6110fe565b602154611d55816136b063ffffffff612b8816565b1415611d63575060196110fe565b602154611d7881613e8063ffffffff612b8816565b1415611d86575060326110fe565b602154611d9b8161465063ffffffff612b8816565b1415611da95750604b6110fe565b602154611dbe81614e2063ffffffff612b8816565b1415611dcc575060646110fe565b506103e86110fe565b6013546001600160a01b03163314611dec57600080fd5b611df4612e9f565b565b6000611e00611294565b8210611e3d5760405162461bcd60e51b815260040180806020018281038252602c8152602001806155ad602c913960400191505060405180910390fd5b60078281548110611e4a57fe5b906000526020600020015492915050565b60225481565b60336020528060005260406000205461ffff16905081565b601e5481565b611e8881611eae565b6001600160a01b0316336001600160a01b031614611ea557600080fd5b6113e08161337d565b600081815260016020528060408120546001600160a01b03169050806115085760405162461bcd60e51b815260040180806020018281038252602981526020018061547b6029913960400191505060405180910390fd5b6013546001600160a01b03163314611f1c57600080fd5b601955565b601d5481565b6013546001600160a01b03163314611f3e57600080fd5b601c5460ff1615611f4e57600080fd5b601c805460ff19166001179055611f6e426201518063ffffffff612bf716565b602f55565b60006001600160a01b038216611fba5760405162461bcd60e51b815260040180806020018281038252602a815260200180615451602a913960400191505060405180910390fd5b6001600160a01b03821660009081526003602052611508906040902061338f565b611fe361241e565b6120335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b600c546000906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3600c80546001600160a01b0319169055565b601f5481565b61208f81611eae565b6001600160a01b0316336001600160a01b0316146120ac57600080fd5b601a54600160a01b900460ff166120c257600080fd5b601e54601b546120d990829063ffffffff612f1a16565b146120e357600080fd5b6120ec8161337d565b601b54601e546121019163ffffffff612b4116565b601e55601b54339080156108fc0290604051600060405180830381858888f1935050505015801561144b573d6000803e3d6000fd5b6000611677661c6bf52634000061165e66038d7ea4c680006121656103e860215461339390919063ffffffff16565b9063ffffffff612b9e16565b6013546001600160a01b0316331461218857600080fd5b601b55601a805460ff60a01b1916600160a01b179055565b600d80546001019081905533600090815260316020526040812054905033602482600a81106121cb57fe5b01546001600160a01b0316146121e057600080fd5b60235433600090815260316020526040902060009055602482600a811061220357fe5b0180546001600160a01b03191690553381156108fc0282604051600060405180830381858888f193505050501580156115cc573d6000803e3d6000fd5b6013546001600160a01b0316331461225757600080fd5b6000818152603560205260408120546000838152603360205290915060408120546000848152603460205261ffff909116915060408120546001600160a01b03169050826122eb5760405162461bcd60e51b815260206004820152601c60248201527f4d7573742068617665206265656e2061207265616c2071756572792e00000000604482015260640160405180910390fd5b6000848152603360205260409020805461ffff19169055600084815260346020526040902080546001600160a01b0319169055600084815260356020526040902060009055600061234160006002601954612f4e565b90507fde943e32fd65498630e5644176185884dd5c05112d2e96be2315156ceedebf228282858760405180856001600160a01b03166001600160a01b0316815260200184815260200183815260200182815260200194505050505060405180910390a160008181526033602052839060409020805461ffff191661ffff929092169190911790556000818152603460205282906040902080546001600160a01b0319166001600160a01b03929092169190911790556017546000828152603560205260409020555050505050565b600c546001600160a01b031690565b600c546000906001600160a01b0316612435612a82565b6001600160a01b031614905090565b60205481565b606060158054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156110f65780601f106110cb576101008083540402835291602001916110f6565b6124bf612a82565b6001600160a01b0316826001600160a01b031614156125245760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640160405180910390fd5b8060046000612531612a82565b6001600160a01b03166001600160a01b031681526020019081526020016000206001600160a01b038416600090815260209190915260409020805460ff19169115159190911790556001600160a01b03821661258b612a82565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051901515815260200160405180910390a35050565b60215481565b601a54600160a01b900460ff1681565b603760205280600052604060002054905081565b612608612602612a82565b83612a86565b6126435760405162461bcd60e51b815260040180806020018281038252603181526020018061557c6031913960400191505060405180910390fd5b61264f848484846133d3565b50505050565b606061150860168054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156126f05780601f106126c5576101008083540402835291602001916126f0565b820191906000526020600020905b8154815290600101906020018083116126d357829003601f168201915b50505050506126fe84613425565b6134e7565b6013546001600160a01b0316331461271a57600080fd5b60175461272e81600963ffffffff612b8816565b146127755760405162461bcd60e51b81526020600482015260136024820152724f6e6c79203130204c6567656e64617269657360681b604482015260640160405180910390fd5b8061278781600463ffffffff612b8816565b146127c35760405162461bcd60e51b81526004018080602001828103825260418152602001806154a46041913960600191505060405180910390fd5b6127cf33601754612f02565b60175460009081526036602052829060409020805461ffff191660f09290921c9190911790556128028162010000612bf7565b60175460009081526037602052604090205560175461282890600163ffffffff612bf716565b60175560215461283f90600163ffffffff612bf716565b6021555050565b602f5481565b60235481565b6013546001600160a01b0316331461286957600080fd5b60205461287c908263ffffffff612bf716565b60209081556001600160a01b0383166000908152603290915261135090829060409020549063ffffffff612bf716565b6013546001600160a01b031633146128c357600080fd5b601a805460ff60a01b19169055565b60305481565b601a546000906001600160a01b039081169083168163c4552791866040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b15801561293257600080fd5b505afa158015612946573d6000803e3d6000fd5b505050506040513d602081101561295c57600080fd5b8101908080516001600160a01b031693909314159250612983915050576001915050611508565b61298d848461351d565b949350505050565b6034602052806000526040600020546001600160a01b0316905081565b6129ba61241e565b612a0a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b6113e081613559565b603560205280600052604060002054905081565b6013546001600160a01b03163314612a3e57600080fd5b612a5281633b9aca0063ffffffff612b9e16565b60188190556113e0906135fc565b600081815260016020528060408120546001600160a01b031615159392505050565b3390565b6000612a9182612a60565b612acc5760405162461bcd60e51b815260040180806020018281038252602c8152602001806153ed602c913960400191505060405180910390fd5b6000612ad783611eae565b9050806001600160a01b0316846001600160a01b03161480612b125750836001600160a01b0316612b0784611101565b6001600160a01b0316145b8061298d575061298d81856128d8565b612b2d8383836137b5565b612b378382613900565b6112f182826139e2565b6000612b81838360405160408082019052601e81527f536166654d6174683a207375627472616374696f6e206f766572666c6f7700006020820152613a43565b9392505050565b6000818310612b975781612b81565b5090919050565b600082612bad57506000611508565b82820282848281612bba57fe5b0414612b815760405162461bcd60e51b81526004018080602001828103825260218152602001806154e56021913960400191505060405180910390fd5b600082820183811015612b815760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640160405180910390fd5b600f546000906001600160a01b03161580612c7d5750600f54612c7b906001600160a01b0316613ada565b155b15612c8e57612c8c6000613ade565b505b600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015612ccb57600080fd5b505af1158015612cdf573d6000803e3d6000fd5b505050506040513d6020811015612cf557600080fd5b810190808051600e546001600160a01b039081169116149250612da691505057600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015612d5257600080fd5b505af1158015612d66573d6000803e3d6000fd5b505050506040513d6020811015612d7c57600080fd5b810190808051600e80546001600160a01b0319166001600160a01b03929092169190911790555050505b600e546001600160a01b031663c281d19e6040518163ffffffff1660e01b815260040160206040518083038186803b158015612de157600080fd5b505afa158015612df5573d6000803e3d6000fd5b505050506040513d6020811015612e0b57600080fd5b810190808051935050505090565b600080805b6002811015612e5757806008028582860181518110612e3957fe5b60200101516001600160f81b031916901c9190911790600101612e1e565b509392505050565b6000612b81838360405160408082019052601881527f536166654d6174683a206d6f64756c6f206279207a65726f00000000000000006020820152613ae8565b601c805460ff19169055602054612eba576000602255612ed3565b602054601f54612ecf9163ffffffff61339316565b6022555b612ee6426201518063ffffffff612bf716565b603055601d54612efd90600a63ffffffff61339316565b602355565b61144b82826040516020810160405260008152613b4a565b600081831015612b975781612b81565b6000612b81612710612f42858563ffffffff612b9e16565b9063ffffffff61339316565b60008083118015612f60575060208311155b612f6957600080fd5b600a8402935060606001604051818152601f19601f8301168101602001604052908015612f9d576020820181803883390190505b5090508360f81b81600081518110612fb157fe5b60200101906001600160f81b031916908160001a90535060606020604051818152601f19601f8301168101602001604052908015612ff6576020820181803883390190505b50905060606020604051818152601f19601f8301168101602001604052908015613027576020820181803883390190505b5090506000613034613b9c565b90506020835242411860014303401860208401526020825280602083015260606020604051818152601f19601f8301168101602001604052908015613080576020820181803883390190505b50905088602082015260606008604051818152601f19601f83011681016020016040529080156130b7576020820181803883390190505b5090506130ca8260186008846000613d2d565b506130d3615287565b6040518060800160405280878152602001888152602001868152602001848152509050600061311f60405160408082019052600681526572616e646f6d60d01b6020820152838c613d77565b905060606008604051818152601f19601f830116810160200160405290801561314f576020820181803883390190505b5090506020840151600160f81b81046027830153600160f01b81046026830153600160e81b81046025830153600160e01b81046024830153600160d81b81046023830153600160d01b81046022830153600160c81b81046021830153600160c01b810460208301535061336d82826020860151600287516040518082805190602001908083835b602083106131f55780518252601f1990920191602091820191016131d6565b6001836020036101000a038019825116818451168082178552505050505050905001915050602060405180830381855afa158015613237573d6000803e3d6000fd5b5050506040513d602081101561324c57600080fd5b8101908080519250505060408801516040516020018085805190602001908083835b6020831061328d5780518252601f19909201916020918201910161326e565b6001836020036101000a038019825116818451161790925250505091909101905084805190602001908083835b602083106132d95780518252601f1990920191602091820191016132ba565b6001836020036101000a038019825116818451161790925250505091909101848152602001905082805190602001908083835b6020831061332b5780518252601f19909201916020918201910161330c565b6001836020036101000a038019825116818451161790925250505091909101955060409450505050505160208183030381529060405280519060200120613f8f565b509b9a5050505050505050505050565b6113e061338982611eae565b82613fa4565b5490565b6000612b81838360405160408082019052601a81527f536166654d6174683a206469766973696f6e206279207a65726f0000000000006020820152613fee565b6133de848484612b22565b6133ea84848484614053565b61264f5760405162461bcd60e51b81526004018080602001828103825260328152602001806153716032913960400191505060405180910390fd5b60608161344b576040516040808201905260018152600360fc1b6020820152905061103c565b8160005b811561346357600101600a8204915061344f565b606081604051818152601f19601f8301168101602001604052908015613490576020820181803883390190505b50905060001982015b85156134de576000198101906030600a88060160f81b908390815181106134bc57fe5b60200101906001600160f81b031916908160001a905350600a86049550613499565b50949350505050565b6060612b8183836040516020810160409081526000825251602081016040908152600082525160208101604052600081526141b1565b6001600160a01b03821660009081526004602052604081206001600160a01b0383166000908152602091909152604090205460ff169392505050565b6001600160a01b03811661359e5760405162461bcd60e51b81526004018080602001828103825260268152602001806153a36026913960400191505060405180910390fd5b600c546001600160a01b0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600f546001600160a01b031615806136265750600f54613624906001600160a01b0316613ada565b155b15613637576136356000613ade565b505b600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561367457600080fd5b505af1158015613688573d6000803e3d6000fd5b505050506040513d602081101561369e57600080fd5b810190808051600e546001600160a01b03908116911614925061374f91505057600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b1580156136fb57600080fd5b505af115801561370f573d6000803e3d6000fd5b505050506040513d602081101561372557600080fd5b810190808051600e80546001600160a01b0319166001600160a01b03929092169190911790555050505b600e546001600160a01b031663ca6ad1e4826040516001600160e01b031960e084901b1681526004810191909152602401600060405180830381600087803b15801561379a57600080fd5b505af11580156137ae573d6000803e3d6000fd5b5050505050565b826001600160a01b03166137c882611eae565b6001600160a01b03161461380d5760405162461bcd60e51b81526004018080602001828103825260298152602001806155326029913960400191505060405180910390fd5b6001600160a01b0382166138525760405162461bcd60e51b81526004018080602001828103825260248152602001806153c96024913960400191505060405180910390fd5b61385b816143b1565b6001600160a01b0383166000908152600360205261387c90604090206143fd565b6001600160a01b0382166000908152600360205261389d9060409020614414565b6000818152600160205282906040902080546001600160a01b0319166001600160a01b0392831617905581908381169085167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001600160a01b0382166000908152600560205261392a600160408320549063ffffffff612b4116565b60008381526006602052909150604081205490508181146139b9576001600160a01b0384166000908152600560205260408120838154811061396857fe5b90600052602060002001546001600160a01b03861660009081526005602052909150819060409020838154811061399b57fe5b90600052602060002001556000818152600660205282906040902055505b6001600160a01b03841660009081526005602052604090208054906137ae9060001983016152ad565b6001600160a01b0382166000908152600560205260409020546000828152600660205260409020556001600160a01b038216600090815260056020526040902080546001810180835560009283528392909190602090200191909155505050565b60008184841115613ad25760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613a97578082015183820152602001613a7f565b50505050905090810190601f168015613ac45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b3b90565b600061150861441d565b60008183613b375760405162461bcd60e51b8152600401808060200182810382528381815181526020019150805160209091019080838360008315613a97578082015183820152602001613a7f565b50828481613b4157fe5b06949350505050565b613b54838361476c565b613b616000848484614053565b6112f15760405162461bcd60e51b81526004018080602001828103825260328152602001806153716032913960400191505060405180910390fd5b600f546000906001600160a01b03161580613bc95750600f54613bc7906001600160a01b0316613ada565b155b15613bda57613bd86000613ade565b505b600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015613c1757600080fd5b505af1158015613c2b573d6000803e3d6000fd5b505050506040513d6020811015613c4157600080fd5b810190808051600e546001600160a01b039081169116149250613cf291505057600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015613c9e57600080fd5b505af1158015613cb2573d6000803e3d6000fd5b505050506040513d6020811015613cc857600080fd5b810190808051600e80546001600160a01b0319166001600160a01b03929092169190911790555050505b600e546001600160a01b031663abaa5f3e6040518163ffffffff1660e01b815260040160206040518083038186803b158015612de157600080fd5b60608382018084511015613d4057600080fd5b60208087019084015b868860200101821015613d6a57818901518682015260209182019101613d49565b5093979650505050505050565b600f546000906001600160a01b03161580613da45750600f54613da2906001600160a01b0316613ada565b155b15613db557613db36000613ade565b505b600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015613df257600080fd5b505af1158015613e06573d6000803e3d6000fd5b505050506040513d6020811015613e1c57600080fd5b810190808051600e546001600160a01b039081169116149250613ecd91505057600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b158015613e7957600080fd5b505af1158015613e8d573d6000803e3d6000fd5b505050506040513d6020811015613ea357600080fd5b810190808051600e80546001600160a01b0319166001600160a01b03929092169190911790555050505b60606004604051908082528060200260200182016040528015613f0457816020015b6060815260200190600190039081613eef5790505b509050835181600081518110613f1657fe5b6020908102919091010152836001602002015181600181518110613f3657fe5b6020908102919091010152604084015181600281518110613f5357fe5b6020908102919091010152606084015181600381518110613f7057fe5b6020026020010181905250613f86858285614789565b95945050505050565b60008281526011602052819060409020555050565b613fae8282614b58565b6000818152600b6020526040902054600260001961010060018416150201909116041561144b576000818152600b6020526040902061144b9060006152d1565b6000818361403d5760405162461bcd60e51b8152600401808060200182810382528381815181526020019150805160209091019080838360008315613a97578082015183820152602001613a7f565b50600083858161404957fe5b0495945050505050565b6000614067846001600160a01b0316614b84565b6140735750600161298d565b6000846001600160a01b031663150b7a0261408c612a82565b8887876040518563ffffffff1660e01b815260040180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156141115780820151838201526020016140f9565b50505050905090810190601f16801561413e5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561416057600080fd5b505af1158015614174573d6000803e3d6000fd5b505050506040513d602081101561418a57600080fd5b8101908080516001600160e01b031916630a85bd0160e11b14945050505050949350505050565b60608585858585858151835185518751895101010101604051818152601f19601f83011681016020016040529080156141f1576020820181803883390190505b509050806000805b885181101561424a5788818151811061420e57fe5b602001015160f81c60f81b83838060010194508151811061422b57fe5b60200101906001600160f81b031916908160001a9053506001016141f9565b5060005b875181101561429f5787818151811061426357fe5b602001015160f81c60f81b83838060010194508151811061428057fe5b60200101906001600160f81b031916908160001a90535060010161424e565b5060005b86518110156142f4578681815181106142b857fe5b602001015160f81c60f81b8383806001019450815181106142d557fe5b60200101906001600160f81b031916908160001a9053506001016142a3565b5060005b85518110156143495785818151811061430d57fe5b602001015160f81c60f81b83838060010194508151811061432a57fe5b60200101906001600160f81b031916908160001a9053506001016142f8565b5060005b845181101561439e5784818151811061436257fe5b602001015160f81c60f81b83838060010194508151811061437f57fe5b60200101906001600160f81b031916908160001a90535060010161434d565b50909d9c50505050505050505050505050565b6000818152600260205260408120546001600160a01b0316146113e057600081815260026020526040812080546001600160a01b0319166001600160a01b039290921691909117905550565b805461441090600163ffffffff612b4116565b9055565b80546001019055565b60008061443d731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed613ada565b111561449b57600f80546001600160a01b031916731d3b2638a7cc9f2cb3d298a3da7a90b67e5506ed17905561449360405160408082019052600b81526a195d1a17db585a5b9b995d60aa1b6020820152614bbb565b5060016110fe565b60006144ba73c03a2615d5efaf5f49f60b7bb6583eaec212fdf1613ada565b111561451157600f80546001600160a01b03191673c03a2615d5efaf5f49f60b7bb6583eaec212fdf117905561449360405160408082019052600c81526b6574685f726f707374656e3360a01b6020820152614bbb565b600061453073b7a07bcf2ba2f2703b24c0691b5278999c59ac7e613ada565b111561458457600f80546001600160a01b03191673b7a07bcf2ba2f2703b24c0691b5278999c59ac7e17905561449360405160408082019052600981526832ba342fb5b7bb30b760b91b6020820152614bbb565b60006145a373146500cfd35b22e4a392fe0adc06de1a1368ed48613ada565b11156145f957600f80546001600160a01b03191673146500cfd35b22e4a392fe0adc06de1a1368ed4817905561449360405160408082019052600b81526a6574685f72696e6b65627960a81b6020820152614bbb565b600061461873a2998efd205fb9d4b4963afb70778d6354ad3a41613ada565b111561466d57600f80546001600160a01b03191673a2998efd205fb9d4b4963afb70778d6354ad3a4117905561449360405160408082019052600a8152696574685f676f65726c6960b01b6020820152614bbb565b600061468c736f485c8bf6fc43ea212e93bbf8ce046c7f1cb475613ada565b11156146c05750600f80546001600160a01b031916736f485c8bf6fc43ea212e93bbf8ce046c7f1cb47517905560016110fe565b60006146df7320e12a1f859b3feae5fb2a0a32c18f5a65555bbf613ada565b11156147135750600f80546001600160a01b0319167320e12a1f859b3feae5fb2a0a32c18f5a65555bbf17905560016110fe565b60006147327351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa613ada565b11156147665750600f80546001600160a01b0319167351efaf4c8b3c9afbd5ab9f4bbc82784ab6ef8faa17905560016110fe565b50600090565b6147768282614bce565b61478082826139e2565b61144b81614d02565b600f546000906001600160a01b031615806147b65750600f546147b4906001600160a01b0316613ada565b155b156147c7576147c56000613ade565b505b600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561480457600080fd5b505af1158015614818573d6000803e3d6000fd5b505050506040513d602081101561482e57600080fd5b810190808051600e546001600160a01b0390811691161492506148df91505057600f546001600160a01b03166338cc48316040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561488b57600080fd5b505af115801561489f573d6000803e3d6000fd5b505050506040513d60208110156148b557600080fd5b810190808051600e80546001600160a01b0319166001600160a01b03929092169190911790555050505b600e546000906001600160a01b0316632ef3accc86856040518363ffffffff1660e01b81526004018080602001838152602001828103825284818151815260200191508051906020019080838360005b8381101561494757808201518382015260200161492f565b50505050905090810190601f1680156149745780820380516001836020036101000a031916815260200191505b509350505050602060405180830381600087803b15801561499457600080fd5b505af11580156149a8573d6000803e3d6000fd5b505050506040513d60208110156149be57600080fd5b8101908080519350505050670de0b6b3a76400003a8402018111156149e7575060009050612b81565b60606149f285614d36565b600e549091506001600160a01b031663c55c1cb68360008985896040518663ffffffff1660e01b8152600401808581526020018060200180602001848152602001838103835286818151815260200191508051906020019080838360005b83811015614a68578082015183820152602001614a50565b50505050905090810190601f168015614a955780820380516001836020036101000a031916815260200191505b50838103825285818151815260200191508051906020019080838360005b83811015614acb578082015183820152602001614ab3565b50505050905090810190601f168015614af85780820380516001836020036101000a031916815260200191505b5096505050505050506020604051808303818588803b158015614b1a57600080fd5b505af1158015614b2e573d6000803e3d6000fd5b50505050506040513d6020811015614b4557600080fd5b8101908080519998505050505050505050565b614b628282614da8565b614b6c8282613900565b60008181526006602052604081205561144b81614e89565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470811580159061298d5750141592915050565b601081805161144b929160200190615209565b6001600160a01b038216614c285760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640160405180910390fd5b614c3181612a60565b15614c825760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640160405180910390fd5b6000818152600160205282906040902080546001600160a01b0319166001600160a01b03928316179055821660009081526003602052614cc59060409020614414565b806001600160a01b03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6007546000828152600860205260409020556007805460018101808355600092835283929091906020902001919091555050565b6060614d40614f23565b614d48615313565b614d5481610400614f2f565b614d5d81614f5d565b60005b8351811015614d9557614d8d848281518110614d7857fe5b6020026020010151839063ffffffff614f6816565b600101614d60565b50614d9f81614f85565b80519392505050565b816001600160a01b0316614dbb82611eae565b6001600160a01b031614614e005760405162461bcd60e51b81526004018080602001828103825260258152602001806155d96025913960400191505060405180910390fd5b614e09816143b1565b6001600160a01b03821660009081526003602052614e2a90604090206143fd565b600081815260016020526040812080546001600160a01b0319166001600160a01b03928316179055819060009084167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600754600090614ea090600163ffffffff612b4116565b6000838152600860205290915060408120549050600060078381548110614ec357fe5b906000526020600020015490508060078381548110614ede57fe5b906000526020600020015560008181526008602052829060409020556007805490614f0d9060001983016152ad565b5060008481526008602052604081205550505050565b60405180590338823950565b806020810615614f425760208106602003015b60208301819052604051928390526000835290910160405250565b6113e0816004614f8c565b614f758260028351614fa7565b6112f1828263ffffffff6150b216565b6113e08160075b61144b82601f611fe0600585901b161763ffffffff61514b16565b60178111614fcd57614fc88360e0600585901b16831763ffffffff61514b16565b6112f1565b60ff811161500857614ff0836018611fe0600586901b161763ffffffff61514b16565b6150028382600163ffffffff61518416565b506112f1565b61ffff811161503e5761502c836019611fe0600586901b161763ffffffff61514b16565b6150028382600263ffffffff61518416565b63ffffffff81116150765761506483601a611fe0600586901b161763ffffffff61514b16565b6150028382600463ffffffff61518416565b67ffffffffffffffff81116112f1576150a083601b611fe0600586901b161763ffffffff61514b16565b61264f8382600863ffffffff61518416565b6150ba615313565b826020015183515183510111156150e6576150e6836150de856020015185516151d8565b6002026151ef565b60008060008451905085518051602081830101945086510190526020850191505b6020811061512757815183526020928301929190910190601f1901615107565b60001960208290036101000a01801983511681855116179093525093949350505050565b8160200151825151600101111561516d5761516d8283602001516002026151ef565b815180516020818301018381535060010190525050565b61518c615313565b8360200151845151830111156151ae576151ae846150de8660200151856151d8565b60001961010083900a01845180518481830101868419825116179052909301909252509192915050565b6000818311156151e9575081611508565b50919050565b6060825190506151ff8383614f2f565b61264f83826150b2565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061524a57805160ff1916838001178555615277565b82800160010185558215615277579182015b8281111561527757825182559160200191906001019061525c565b5061528392915061532b565b5090565b604051608081016040526004815b60608152602001906001900390816152955790505090565b8154818355818111156112f157818360005260206000206112f1928101910161532b565b50805460018160011615610100020316600290046000825580601f106152f757506113e0565b601f01602090049060005260206000206113e09181019061532b565b60405160408082019052606081526000602082015290565b6110fe91905b80821115615283576000815560010161533156fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e35206c6576656c73206f66206c6567656e6461726965733a20303a676f6c642c20313a707572706c652c20323a7265642c20333a677265656e2c20343a626c7565536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e64734552433732313a206275726e206f6620746f6b656e2074686174206973206e6f74206f776ea265627a7a723158205b67aa66b45e8a38aa8b9263e1fc7abcb73af80529795e4b8830789716a463cb64736f6c63430005100032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Deployed Bytecode Sourcemap
110518:13784:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19903:135;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19903:135:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19903:135:0;-1:-1:-1;;;;;;19903:135:0;;:::i;:::-;;;;;;;;;;;;;;;;;111897:34;;8:9:-1;5:2;;;30:1;27;20:12;5:2;111897:34:0;;;:::i;:::-;;;;;;;;;;;;;;;112815:38;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112815:38:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;112815:38:0;;:::i;:::-;;;-1:-1:-1;;;;;;112815:38:0;;;;;;;;;;;;;;122735:84;;8:9:-1;5:2;;;30:1;27;20:12;5:2;122735:84:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;122735:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24878:204;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24878:204:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24878:204:0;;:::i;:::-;;;-1:-1:-1;;;;;24878:204:0;;;;;;;;;;;;;;24160:425;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24160:425:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24160:425:0;;;;;;;;:::i;:::-;;38560:96;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38560:96:0;;;:::i;26561:292::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26561:292:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;26561:292:0;;;;;;;;;;;;;;;;;:::i;117332:210::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;117332:210:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;117332:210:0;;;;;;;;:::i;117965:184::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;117965:184:0;;;:::i;117548:194::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;117548:194:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;117548:194:0;;:::i;66604:124::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;66604:124:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;66604:124:0;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;66604:124:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;66604:124:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;66604:124:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;66604:124:0;;-1:-1:-1;66604:124:0;;-1:-1:-1;;;;;66604:124:0:i;111940:29::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;111940:29:0;;;:::i;38169:232::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38169:232:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;38169:232:0;;;;;;;;:::i;118155:110::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;118155:110:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;118155:110:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;118155:110:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;118155:110:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;118155:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;118155:110:0;;-1:-1:-1;118155:110:0;;-1:-1:-1;;;;;118155:110:0:i;116067:298::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;116067:298:0;;;:::i;117748:211::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;117748:211:0;;;:::i;112210:30::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112210:30:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;112210:30:0;;:::i;112575:44::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112575:44:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;112575:44:0;-1:-1:-1;;;;;112575:44:0;;:::i;121151:1013::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;121151:1013:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;121151:1013:0;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;121151:1013:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;121151:1013:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;121151:1013:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;121151:1013:0;;;;;;;;-1:-1:-1;121151:1013:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;121151:1013:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;121151:1013:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;121151:1013:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;121151:1013:0;;-1:-1:-1;121151:1013:0;;-1:-1:-1;;;;;121151:1013:0:i;27515:134::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27515:134:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;27515:134:0;;;;;;;;;;;;;;;;;:::i;113509:2184::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;113509:2184:0;;;;:::i;120389:698::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;120389:698:0;;;:::i;118525:81::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;118525:81:0;;;:::i;39002:199::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39002:199:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39002:199:0;;:::i;112124:34::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112124:34:0;;;:::i;112628:53::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112628:53:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;112628:53:0;;:::i;:::-;;;;;;;;;;;;;;;;;;112004:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112004:20:0;;;:::i;116377:124::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;116377:124:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;116377:124:0;;:::i;23501:228::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23501:228:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23501:228:0;;:::i;116995:115::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;116995:115:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;116995:115:0;;:::i;111978:19::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;111978:19:0;;;:::i;118612:148::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;118612:148:0;;;:::i;23064:211::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23064:211:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23064:211:0;-1:-1:-1;;;;;23064:211:0;;:::i;9331:140::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9331:140:0;;;:::i;112031:18::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112031:18:0;;;:::i;116513:300::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;116513:300:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;116513:300:0;;:::i;120243:140::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;120243:140:0;;;:::i;118271:145::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;118271:145:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;118271:145:0;;:::i;115701:360::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;115701:360:0;;;:::i;119338:873::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;119338:873:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;119338:873:0;;:::i;8520:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8520:79:0;;;:::i;8886:94::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8886:94:0;;;:::i;112056:29::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112056:29:0;;;:::i;122825:88::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;122825:88:0;;;:::i;25383:254::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25383:254:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;25383:254:0;;;;;;;;;;:::i;112092:23::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112092:23:0;;;:::i;111858:32::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;111858:32:0;;;:::i;112860:41::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112860:41:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;112860:41:0;;:::i;28386:272::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28386:272:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;28386:272:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;28386:272:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;28386:272:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;28386:272:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;28386:272:0;;-1:-1:-1;28386:272:0;;-1:-1:-1;;;;;28386:272:0:i;122919:132::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;122919:132:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;122919:132:0;;:::i;118766:566::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;118766:566:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;;118766:566:0;;;;;;;;:::i;112277:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112277:20:0;;;:::i;112165:36::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112165:36:0;;;:::i;117116:210::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;117116:210:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;117116:210:0;;;;;;;;:::i;118422:97::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;118422:97:0;;;:::i;112448:22::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112448:22:0;;;:::i;122290:402::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;122290:402:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;122290:402:0;;;;;;;;;;:::i;112688:57::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112688:57:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;112688:57:0;;:::i;9626:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9626:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9626:109:0;-1:-1:-1;;;;;9626:109:0;;:::i;112752:54::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;112752:54:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;112752:54:0;;:::i;116821:168::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;116821:168:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;116821:168:0;;:::i;19903:135::-;-1:-1:-1;;;;;;19997:33:0;;19973:4;19997:33;;;;;;;;19973:4;19997:33;;;;;-1:-1:-1;19903:135:0;;;;:::o;111897:34::-;;;;:::o;112815:38::-;;;;;;;;;;;;;;-1:-1:-1;112815:38:0;:::o;122735:84::-;122774:13;122806:5;122799:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;122735:84;;:::o;24878:204::-;24937:7;24965:16;24973:7;24965;:16::i;:::-;24957:73;;;;-1:-1:-1;;;24957:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25050:24;;;;:15;:24;;;;;;-1:-1:-1;;;;;25050:24:0;;24878:204;-1:-1:-1;;24878:204:0:o;24160:425::-;24224:13;24240:16;24248:7;24240;:16::i;:::-;24224:32;;24281:5;-1:-1:-1;;;;;24275:11:0;:2;-1:-1:-1;;;;;24275:11:0;;;24267:57;;;;-1:-1:-1;;;24267:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24361:5;-1:-1:-1;;;;;24345:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;24345:21:0;;:62;;;;24370:37;24387:5;24394:12;:10;:12::i;:::-;24370:16;:37::i;:::-;24337:154;;;;-1:-1:-1;;;24337:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24504:24;;;;:15;:24;;24531:2;;24504:24;;;:29;;-1:-1:-1;;;;;;24504:29:0;-1:-1:-1;;;;;24504:29:0;;;;;;24569:7;;24549:28;;;;;;;;;;;;;;;;24160:425;;;:::o;38560:96::-;38631:10;:17;38560:96;:::o;26561:292::-;26705:41;26724:12;:10;:12::i;:::-;26738:7;26705:18;:41::i;:::-;26697:103;;;;-1:-1:-1;;;26697:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26813:32;26827:4;26833:2;26837:7;26813:13;:32::i;:::-;26561:292;;;:::o;117332:210::-;113048:6;;-1:-1:-1;;;;;113048:6:0;113034:10;:20;113026:29;;;;;;117443:17;;:29;;117465:6;117443:29;:21;:29;:::i;:::-;117423:17;:49;;;-1:-1:-1;;;;;117504:18:0;;;;;;:12;:18;;;:30;;117527:6;;117504:18;;;;;:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;117483:18:0;;;;;;:12;:18;;;;;:51;-1:-1:-1;;117332:210:0:o;117965:184::-;113048:6;;-1:-1:-1;;;;;113048:6:0;113034:10;:20;113026:29;;;;;;113201:9;;;;113200:10;113192:19;;;;;;118077:10;;118056:19;118077:10;118071:3;118056:19;:14;:19;:::i;:::-;:31;118048:40;;;;;;118099:10;118119:21;118099:42;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;118099:42:0;117965:184::o;117548:194::-;113048:6;;-1:-1:-1;;;;;113048:6:0;113034:10;:20;113026:29;;;;;;117681:10;117636:43;117651:27;:25;:27::i;:::-;117636:10;;:43;:14;:43;:::i;:::-;:55;117628:64;;;;;;117703:10;:31;;;;117723:10;117703:31;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;117703:31:0;117548:194;:::o;66604:124::-;66680:40;66691:5;66698:7;66717:1;66707:12;;;;;-1:-1:-1;;66707:12:0;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;66707:12:0;87:34:-1;135:17;;-1:-1;66707:12:0;;66680:10;:40::i;111940:29::-;;;;;;:::o;38169:232::-;38249:7;38285:16;38295:5;38285:9;:16::i;:::-;38277:5;:24;38269:80;;;;-1:-1:-1;;;38269:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38367:19:0;;;;;;:12;:19;;;;;38387:5;38367:26;;;;;;;;;;;;;;;;38360:33;;38169:232;;;;;:::o;118155:110::-;113048:6;;-1:-1:-1;;;;;113048:6:0;113034:10;:20;113026:29;;;;;;118239:9;118251:6;;118239:18;;;;;;;;:::i;116067:298::-;50672:13;:18;;50689:1;50672:18;;;;;116155:10;50672:13;116142:24;;;:12;:24;;;50672:13;116142:24;;;-1:-1:-1;116185:13:0;116142:24;116196:1;116185:13;:10;:13;:::i;:::-;116202:1;116185:18;116177:27;;;;;;116236:22;;116215:18;;116236:34;;116263:6;116236:34;:26;:34;:::i;:::-;116301:10;116288:24;;;;:12;:24;;116215:55;;-1:-1:-1;116288:24:0;;;116281:31;;;116323:10;:34;;;;116343:13;116323:34;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;116323:34:0;50748:1;;50784:13;;50768:12;:29;50760:73;;;;-1:-1:-1;;;50760:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;117748:211;113048:6;;117816:4;;-1:-1:-1;;;;;113048:6:0;113034:10;:20;113026:29;;;;;;117839:112;117891:33;117917:6;;117891:21;117903:8;;117891:7;;:11;;:21;;;;:::i;:::-;:25;:33;:25;:33;:::i;:::-;117839:21;;:112;:25;:112;:::i;:::-;117832:119;;117748:211;:::o;112210:30::-;;;;;;;;;;;;-1:-1:-1;;;;;112210:30:0;;-1:-1:-1;112210:30:0;:::o;112575:44::-;;;;;;;;;;;;-1:-1:-1;112575:44:0;:::o;121151:1013::-;121307:20;:18;:20::i;:::-;-1:-1:-1;;;;;121293:34:0;:10;-1:-1:-1;;;;;121293:34:0;;121285:43;;;;;;121341:11;121355:29;;;:19;:29;;;121341:11;121355:29;;;121416:32;;;:22;:32;;121355:29;;;;;-1:-1:-1;121416:32:0;121355:29;121416:32;;;121474;;;:22;:32;;-1:-1:-1;;;;;121416:32:0;;;;-1:-1:-1;121474:32:0;121416;121474;;121459:47;;121579:4;121572:12;;121538:31;121558:7;121567:1;121538:13;:31::i;:::-;121519:16;;;;:7;:16;;121538:46;;;121519:16;;;:65;;-1:-1:-1;;121519:65:0;;;;;;;;;;;;-1:-1:-1;121519:65:0;121705:10;;121679:12;-1:-1:-1;;121679:14:0;121669:25;121657:7;121640:25;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;377:20;365:33;;;-1:-1;;;121640:25:0;;;;;-1:-1:-1;121640:25:0;;-1:-1:-1;;121640:25:0;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;121640:25:0;;;121630:36;;;;;;:64;:86;;-1:-1:-1;121766:15:0;121630:86;121775:5;121766:15;:8;:15;:::i;:::-;121742:21;;;;:12;:21;;;;;:39;121794:9;121806:29;121833:1;121806:22;:4;111121:5;121806:22;:8;:22;:::i;:29::-;121794:41;;121879:4;121849:28;121858:18;:16;:18::i;121849:28::-;:34;121846:112;;;121934:12;:10;:12::i;:::-;121970:29;121980:10;121991:7;121970:9;:29::i;:::-;122027;;;;:19;:29;;;;;122020:36;;-1:-1:-1;;122020:36:0;;;122027:29;122074:32;;;:22;:32;;;;;122067:39;;-1:-1:-1;;;;;;122067:39:0;;;122074:32;122124;;;:22;:32;;;;;122117:39;;;121151:1013;;;;;;;;:::o;27515:134::-;27602:39;27619:4;27625:2;27629:7;27602:39;;;;;;;;;;:16;:39::i;113509:2184::-;50672:13;:18;;50689:1;50672:18;;;;;113121:9;;;;113113:18;;;;;;113612:8;;113593:17;113612:8;113606:3;113593:17;:12;:17;:::i;:::-;:27;113590:126;;;113671:12;:10;:12::i;:::-;113698:7;;113590:126;113765:9;113736:27;113750:12;:10;:12::i;:::-;113736:9;;:27;:13;:27;:::i;:::-;:38;113728:47;;;;;;113788:18;113809:38;113823:23;113837:8;;113823:9;;:13;;:23;;;;:::i;:::-;113809:9;;:38;:13;:38;:::i;:::-;113788:59;;113868:62;113880:49;113905:13;111767:4;113880:24;:49::i;:::-;113868:7;;;:62;:11;:62;:::i;:::-;113858:7;:72;113952:64;113965:50;113990:13;111805:4;113965:24;:50::i;:::-;113952:8;;;:64;:12;:64;:::i;:::-;113941:8;:75;114036:61;114047:49;114072:13;111767:4;114047:24;:49::i;:::-;114036:6;;;:61;:10;:61;:::i;:::-;114027:6;:70;114124:11;;:18;;114140:1;114124:18;:15;:18;:::i;:::-;114110:11;:32;114182:10;114198:1;114158:35;;;:23;:35;;:42;;:35;114198:1;114158:35;;;:42;:39;:42;:::i;:::-;:45;114155:569;;114376:10;114335:14;114352:35;;;:23;:35;;:42;114392:1;114352:35;114335:14;114352:35;;;:42;:39;:42;:::i;:::-;114335:59;;114481:11;114493:16;;114481:29;;;;;;;;;-1:-1:-1;;;;;114481:29:0;114456:11;114468:9;114456:22;;;;;;;;:54;;-1:-1:-1;;;;;;114456:54:0;-1:-1:-1;;;;;114456:54:0;;;;;;;;;;114575:16;:9;-1:-1:-1;114575:13:0;:16::i;:::-;114525:23;:47;114549:11;114561:9;114549:22;;;;;;;;;-1:-1:-1;;;;;114549:22:0;114525:47;;;;;;;;;;;114549:22;114525:47;:66;-1:-1:-1;114155:569:0;;;114711:1;114654:23;:54;114678:11;114690:16;;114678:29;;;;;;;;;-1:-1:-1;;;;;114678:29:0;114654:54;;;;;;;;;;;114678:29;114654:54;:58;114155:569;114766:10;114734:11;114746:16;;114734:29;;;;;;;;:42;;-1:-1:-1;;;;;;114734:42:0;-1:-1:-1;;;;;114734:42:0;;;;;;;;;;114825:16;;:23;;-1:-1:-1;114825:20:0;:23::i;:::-;114811:10;114787:35;;;;:23;:35;;;;;:61;114924:16;;:31;;114952:2;;114924:23;;114945:1;114924:23;:20;:23;:::i;:::-;:27;:31;:27;:31;:::i;:::-;114905:16;:50;114979:8;;:30;;112383:9;114979:30;:12;:30;:::i;:::-;114968:8;:41;;;115023:38;115036:24;:3;112337:6;115036:24;:7;:24;:::i;:::-;115023:8;;;:38;:12;:38;:::i;:::-;:48;115020:101;;;115097:24;:3;112337:6;115097:24;:7;:24;:::i;:::-;115086:8;:35;115020:101;115175:8;;115135:38;115148:24;:3;112432:7;115148:24;:7;:24;:::i;:::-;115135:8;;;:38;:12;:38;:::i;:::-;:48;115132:101;;;115209:24;:3;112432:7;115209:24;:7;:24;:::i;:::-;115198:8;:35;115132:101;115246:15;115264:135;115304:1;111186;115379:9;;115264:25;:135::i;:::-;115246:153;;115415:56;115428:10;115440:7;115449:4;115455:15;;115415:56;;;;-1:-1:-1;;;;;115415:56:0;-1:-1:-1;;;;;115415:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;115482:28;;;;:19;:28;;115513:4;;115482:28;;;:35;;-1:-1:-1;;115482:35:0;;;;;;;;;;;;-1:-1:-1;115528:31:0;;;:22;:31;;115562:10;;115528:31;;;:44;;-1:-1:-1;;;;;;115528:44:0;-1:-1:-1;;;;;115528:44:0;;;;;;;;;;115617:15;;-1:-1:-1;115583:31:0;;;:22;:31;;;;;:49;115663:15;;:22;;115683:1;115663:22;:19;:22;:::i;:::-;115645:15;:40;-1:-1:-1;;113142:1:0;50784:13;;50768:12;:29;50760:73;;;;-1:-1:-1;;;50760:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;120389:698;120480:11;;120437:4;;120456:22;120480:11;120472:5;120456:22;:15;:22;:::i;:::-;:35;120453:627;;;-1:-1:-1;111464:1:0;120507:25;;120453:627;120576:11;;120552:22;120576:11;120568:5;120552:22;:15;:22;:::i;:::-;:35;120549:531;;;-1:-1:-1;111507:2:0;120603:25;;120549:531;120672:11;;120648:22;120672:11;120664:5;120648:22;:15;:22;:::i;:::-;:35;120645:435;;;-1:-1:-1;111551:2:0;120699:25;;120645:435;120768:11;;120744:22;120768:11;120760:5;120744:22;:15;:22;:::i;:::-;:35;120741:339;;;-1:-1:-1;111595:2:0;120795:25;;120741:339;120864:11;;120840:22;120864:11;120856:5;120840:22;:15;:22;:::i;:::-;:35;120837:243;;;-1:-1:-1;111639:2:0;120891:25;;120837:243;120960:11;;120936:22;120960:11;120952:5;120936:22;:15;:22;:::i;:::-;:35;120933:147;;;-1:-1:-1;111683:3:0;120987:25;;120933:147;-1:-1:-1;111728:4:0;121043:25;;118525:81;113048:6;;-1:-1:-1;;;;;113048:6:0;113034:10;:20;113026:29;;;;;;118586:12;:10;:12::i;:::-;118525:81::o;39002:199::-;39060:7;39096:13;:11;:13::i;:::-;39088:5;:21;39080:78;;;;-1:-1:-1;;;39080:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39176:10;39187:5;39176:17;;;;;;;;;;;;;;;;;39002:199;-1:-1:-1;;39002:199:0:o;112124:34::-;;;;:::o;112628:53::-;;;;;;;;;;;;;;-1:-1:-1;112628:53:0;:::o;112004:20::-;;;;:::o;116377:124::-;116451:16;116459:7;116451;:16::i;:::-;-1:-1:-1;;;;;116437:30:0;:10;-1:-1:-1;;;;;116437:30:0;;116429:39;;;;;;116479:14;116485:7;116479:5;:14::i;23501:228::-;23556:7;23592:20;;;:11;:20;;23556:7;23592:20;23556:7;23592:20;;-1:-1:-1;;;;;23592:20:0;;-1:-1:-1;23631:19:0;23623:73;;;;-1:-1:-1;;;23623:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;116995:115;113048:6;;-1:-1:-1;;;;;113048:6:0;113034:10;:20;113026:29;;;;;;117078:9;:24;116995:115::o;111978:19::-;;;;:::o;118612:148::-;113048:6;;-1:-1:-1;;;;;113048:6:0;113034:10;:20;113026:29;;;;;;113201:9;;;;113200:10;113192:19;;;;;;118690:9;:16;;-1:-1:-1;;118690:16:0;118702:4;118690:16;;;118728:24;:3;112337:6;118728:24;:7;:24;:::i;:::-;118717:8;:35;118612:148::o;23064:211::-;23119:7;-1:-1:-1;;;;;23147:19:0;;23139:74;;;;-1:-1:-1;;;23139:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23233:24:0;;;;;;:17;:24;;:34;;:24;;;:32;:34::i;9331:140::-;8732:9;:7;:9::i;:::-;8724:54;;;;-1:-1:-1;;;8724:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;9414:6;;9430:1;;-1:-1:-1;;;;;9414:6:0;9393:40;;;;;;;;;;9444:6;:19;;-1:-1:-1;;;;;;9444:19:0;;;9331:140::o;112031:18::-;;;;:::o;116513:300::-;116589:16;116597:7;116589;:16::i;:::-;-1:-1:-1;;;;;116575:30:0;:10;-1:-1:-1;;;;;116575:30:0;;116567:39;;;;;;116625:12;;-1:-1:-1;;;116625:12:0;;;;116617:21;;;;;;116683:8;;116670:10;;116657:24;;116683:8;;116657:24;:12;:24;:::i;:::-;:34;116649:43;;;;;;116703:14;116709:7;116703:5;:14::i;:::-;116752:10;;116739:8;;:24;;;:12;:24;:::i;:::-;116728:8;:35;116794:10;;116774;;:31;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;120243:140:0;120286:4;120309:66;111359:8;120309:48;111412:8;120309:21;120325:4;120309:11;;:15;;:21;;;;:::i;:::-;:25;:48;:25;:48;:::i;118271:145::-;113048:6;;-1:-1:-1;;;;;113048:6:0;113034:10;:20;113026:29;;;;;;118354:10;:24;118389:12;:19;;-1:-1:-1;;;;118389:19:0;-1:-1:-1;;;118389:19:0;;;118271:145::o;115701:360::-;50672:13;:18;;50689:1;50672:18;;;;;115800:10;50672:13;115776:35;;;:23;:35;;;50672:13;115776:35;;;-1:-1:-1;115852:10:0;115830:11;115776:35;115830:18;;;;;;;;;-1:-1:-1;;;;;115830:18:0;:32;115822:41;;;;;;115895:24;;115961:10;115874:18;115937:35;;;:23;:35;;;;;115930:42;;;115990:11;116002:5;115990:18;;;;;;;;115983:25;;-1:-1:-1;;;;;;115983:25:0;;;116019:10;:34;;;;116039:13;116019:34;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;119338:873:0;113048:6;;-1:-1:-1;;;;;113048:6:0;113034:10;:20;113026:29;;;;;;119426:12;119441:31;;;:22;:31;;;119426:12;119441:31;;119483:9;119495:28;;;:19;:28;;119441:31;;-1:-1:-1;119495:28:0;119483:9;119495:28;;;119551:31;;;:22;:31;;119495:28;;;;;-1:-1:-1;119551:31:0;119495:28;119551:31;;-1:-1:-1;;;;;119551:31:0;;-1:-1:-1;119601:12:0;119593:52;;;;-1:-1:-1;;;119593:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;119663:28;;;;:19;:28;;;;;119656:35;;-1:-1:-1;;119656:35:0;;;119663:28;119709:31;;;:22;:31;;;;;119702:38;;-1:-1:-1;;;;;;119702:38:0;;;119709:31;119758;;;:22;:31;;;;;119751:38;;;119800:18;119821:135;119861:1;111186;119936:9;;119821:25;:135::i;:::-;119800:156;;119972:47;119985:6;119993:10;120005:4;120011:7;119972:47;;;;-1:-1:-1;;;;;119972:47:0;-1:-1:-1;;;;;119972:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;120030:31;;;;:19;:31;;120071:4;;120030:31;;;:46;;-1:-1:-1;;120030:46:0;;;;;;;;;;;;-1:-1:-1;120087:34:0;;;:22;:34;;120124:6;;120087:34;;;:43;;-1:-1:-1;;;;;;120087:43:0;-1:-1:-1;;;;;120087:43:0;;;;;;;;;;120178:15;;-1:-1:-1;120141:34:0;;;:22;:34;;;;;:52;-1:-1:-1;;;;;119338:873:0:o;8520:79::-;8585:6;;-1:-1:-1;;;;;8585:6:0;8520:79;:::o;8886:94::-;8966:6;;8926:4;;-1:-1:-1;;;;;8966:6:0;8950:12;:10;:12::i;:::-;-1:-1:-1;;;;;8950:22:0;;8943:29;;8886:94;:::o;112056:29::-;;;;:::o;122825:88::-;122866:13;122898:7;122891:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25383:254;25469:12;:10;:12::i;:::-;-1:-1:-1;;;;;25463:18:0;:2;-1:-1:-1;;;;;25463:18:0;;;25455:56;;;;-1:-1:-1;;;25455:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;25563:8;25524:18;:32;25543:12;:10;:12::i;:::-;-1:-1:-1;;;;;25524:32:0;-1:-1:-1;;;;;25524:32:0;;;;;;;;;;;;-1:-1:-1;;;;;25524:36:0;;;;;;;;;;;;;;:47;;-1:-1:-1;;25524:47:0;;;;;;;;;;-1:-1:-1;;;;;25587:42:0;;25602:12;:10;:12::i;:::-;-1:-1:-1;;;;;25587:42:0;;25620:8;25587:42;;;;;;;;;;;;;;;;25383:254;;:::o;112092:23::-;;;;:::o;111858:32::-;;;-1:-1:-1;;;111858:32:0;;;;;:::o;112860:41::-;;;;;;;;;;;;-1:-1:-1;112860:41:0;:::o;28386:272::-;28501:41;28520:12;:10;:12::i;:::-;28534:7;28501:18;:41::i;:::-;28493:103;;;;-1:-1:-1;;;28493:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28607:43;28625:4;28631:2;28635:7;28644:5;28607:17;:43::i;:::-;28386:272;;;;:::o;122919:132::-;122973:13;123005:38;123015:9;123005:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;123025:17;123034:7;123025:8;:17::i;:::-;123005:9;:38::i;118766:566::-;113048:6;;-1:-1:-1;;;;;113048:6:0;113034:10;:20;113026:29;;;;;;118888:15;;118864:22;118888:15;118884:1;118864:22;:19;:22;:::i;:::-;:39;118856:70;;;;-1:-1:-1;;;118856:70:0;;;;;;;;;;;;-1:-1:-1;;;118856:70:0;;;;;;;;;;;;;;118959:5;118945:12;118959:5;118955:1;118945:12;:9;:12;:::i;:::-;:19;118937:96;;;;-1:-1:-1;;;118937:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;119044:37;119054:10;119065:15;;119044:9;:37::i;:::-;119100:15;;119092:24;;;;:7;:24;;119119:4;;119092:24;;;:31;;-1:-1:-1;;119092:31:0;;;;;;;;;;;;119168:16;:5;119178;119168:9;:16::i;:::-;119149:15;;119136:29;;;;:12;:29;;;;;:48;119259:15;;:22;;119279:1;119259:22;:19;:22;:::i;:::-;119241:15;:40;119306:11;;:18;;119322:1;119306:18;:15;:18;:::i;:::-;119292:11;:32;-1:-1:-1;;118766:566:0:o;112277:20::-;;;;:::o;112165:36::-;;;;:::o;117116:210::-;113048:6;;-1:-1:-1;;;;;113048:6:0;113034:10;:20;113026:29;;;;;;117227:17;;:29;;117249:6;117227:29;:21;:29;:::i;:::-;117207:17;:49;;;-1:-1:-1;;;;;117288:18:0;;;;;;:12;:18;;;:30;;117311:6;;117288:18;;;;;:30;:22;:30;:::i;118422:97::-;113048:6;;-1:-1:-1;;;;;113048:6:0;113034:10;:20;113026:29;;;;;;118491:12;:20;;-1:-1:-1;;;;118491:20:0;;;118422:97::o;112448:22::-;;;;:::o;122290:402::-;122519:20;;122400:4;;-1:-1:-1;;;;;122519:20:0;;;;122551:49;;122519:20;122559:21;122581:5;122559:28;;-1:-1:-1;;;;;;122559:28:0;;;;;;;-1:-1:-1;;;;;122559:28:0;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;122559:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;122559:28:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;122559:28:0;;;;;;-1:-1:-1;;;;;122551:49:0;;;;;122547:85;;-1:-1:-1;122547:85:0;;-1:-1:-1;;122547:85:0;122620:4;122613:11;;;;;122547:85;122647:39;122670:5;122677:8;122647:22;:39::i;:::-;122640:46;122290:402;-1:-1:-1;;;;122290:402:0:o;112688:57::-;;;;;;;;;;;-1:-1:-1;;;;;112688:57:0;;-1:-1:-1;112688:57:0;:::o;9626:109::-;8732:9;:7;:9::i;:::-;8724:54;;;;-1:-1:-1;;;8724:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;9699:28;9718:8;9699:18;:28::i;112752:54::-;;;;;;;;;;;;-1:-1:-1;112752:54:0;:::o;116821:168::-;113048:6;;-1:-1:-1;;;;;113048:6:0;113034:10;:20;113026:29;;;;;;116913:21;:11;110894:10;116913:21;:15;:21;:::i;:::-;116902:8;:32;;;116945:36;;:26;:36::i;29851:155::-;29908:4;29941:20;;;:11;:20;;29908:4;29941:20;29908:4;29941:20;;-1:-1:-1;;;;;29941:20:0;29979:19;;;29851:155;-1:-1:-1;;;29851:155:0:o;7256:98::-;7336:10;7256:98;:::o;30376:333::-;30461:4;30486:16;30494:7;30486;:16::i;:::-;30478:73;;;;-1:-1:-1;;;30478:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30562:13;30578:16;30586:7;30578;:16::i;:::-;30562:32;;30624:5;-1:-1:-1;;;;;30613:16:0;:7;-1:-1:-1;;;;;30613:16:0;;:51;;;;30657:7;-1:-1:-1;;;;;30633:31:0;:20;30645:7;30633:11;:20::i;:::-;-1:-1:-1;;;;;30633:31:0;;30613:51;:87;;;;30668:32;30685:5;30692:7;30668:16;:32::i;39585:245::-;39671:38;39691:4;39697:2;39701:7;39671:19;:38::i;:::-;39722:47;39755:4;39761:7;39722:32;:47::i;:::-;39782:40;39810:2;39814:7;39782:27;:40::i;1382:136::-;1440:7;1467:43;1471:1;1474;1467:43;;;;;;;;;;;;;;;;:3;:43::i;:::-;1460:50;1382:136;-1:-1:-1;;;1382:136:0:o;5960:106::-;6018:7;6049:1;6045;:5;:13;;6057:1;6045:13;;;-1:-1:-1;6053:1:0;;5960:106;-1:-1:-1;5960:106:0:o;2298:471::-;2356:7;2601:6;2597:47;;-1:-1:-1;2631:1:0;2624:8;;2597:47;2668:5;;;2672:1;2668;:5;:1;2692:5;;;;;:10;2684:56;;;;-1:-1:-1;;;2684:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;926:181;984:7;1016:5;;;1040:6;;;;1032:46;;;;-1:-1:-1;;;1032:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;88942:132;63057:3;;89002:24;;-1:-1:-1;;;;;63057:3:0;63049:26;;63048:64;;-1:-1:-1;63101:3:0;;63081:25;;-1:-1:-1;;;;;63101:3:0;63081:11;:25::i;:::-;:30;63048:64;63044:132;;;63129:35;62695:1;63129:19;:35::i;:::-;;63044:132;63211:3;;-1:-1:-1;;;;;63211:3:0;:14;:16;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;63211:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;63211:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;63211:16:0;;;;;;63198:8;;-1:-1:-1;;;;;63198:8:0;;;63190:37;;;;-1:-1:-1;63186:108:0;;-1:-1:-1;;63186:108:0;63265:3;;-1:-1:-1;;;;;63265:3:0;:14;:16;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;63265:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;63265:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;63265:16:0;;;;;;63244:8;:38;;-1:-1:-1;;;;;;63244:38:0;-1:-1:-1;;;;;63244:38:0;;;;;;;;;;-1:-1:-1;;;63186:108:0;89046:8;;-1:-1:-1;;;;;89046:8:0;:18;:20;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;89046:20:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;89046:20:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;89046:20:0;;;;;;;-1:-1:-1;;;;88942:132:0;:::o;123577:234::-;123651:6;;;123689:96;123710:1;123706;:5;123689:96;;;123769:1;123773;123769:5;123743:1;123754;123745:6;:10;123743:13;;;;;;;;;;;;-1:-1:-1;;;;;;123743:13:0;123736:39;;123729:46;;;;;123713:3;;123689:96;;;-1:-1:-1;123800:3:0;123577:234;-1:-1:-1;;;123577:234:0:o;4701:130::-;4759:7;4786:37;4790:1;4793;4786:37;;;;;;;;;;;;;;;;:3;:37::i;123086:342::-;123128:9;:17;;-1:-1:-1;;123128:17:0;;;123161;;123158:164;;123224:1;123199:22;:26;123158:164;;;123292:17;;123281:6;;:29;;;:10;:29;:::i;:::-;123256:22;:54;123158:164;123347:18;:3;112503:6;123347:18;:7;:18;:::i;:::-;123334:10;:31;123403:7;;:15;;123415:2;123403:15;:11;:15;:::i;:::-;123376:24;:42;123086:342::o;31250:102::-;31318:26;31328:2;31332:7;31318:26;;;;;;;;;;:9;:26::i;5777:107::-;5835:7;5867:1;5862;:6;;:14;;5875:1;5862:14;;123434:137;123510:4;123534:29;111121:5;123534:11;:3;123542:2;123534:11;:7;:11;:::i;:::-;:15;:29;:15;:29;:::i;97015:2683::-;97117:16;97165:1;97155:7;:11;97154:32;;;;;97183:2;97172:7;:13;;97154:32;97146:41;;;;;;97208:2;97198:12;;;;97267:19;97299:1;97289:12;;;;;-1:-1:-1;;97289:12:0;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;97289:12:0;87:34:-1;135:17;;-1:-1;97289:12:0;;97267:34;;97335:7;97324:20;;97312:6;97319:1;97312:9;;;;;;;;;;;:32;-1:-1:-1;;;;;97312:32:0;;;;;;;;;97355:19;97387:2;97377:13;;;;;-1:-1:-1;;97377:13:0;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;97377:13:0;87:34:-1;135:17;;-1:-1;97377:13:0;;97355:35;;97401:27;97441:2;97431:13;;;;;-1:-1:-1;;97431:13:0;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;97431:13:0;87:34:-1;135:17;;-1:-1;97431:13:0;;97401:43;;97455:30;97488:40;:38;:40::i;:::-;97455:73;;97578:4;97570:6;97563:20;97931:9;97921:8;97917:24;97912:1;97904:6;97900:14;97890:25;97886:56;97879:4;97871:6;97867:17;97860:83;97980:4;97964:14;97957:28;98033:22;98026:4;98010:14;98006:25;97999:57;98077:18;98108:2;98098:13;;;;;-1:-1:-1;;98098:13:0;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;98098:13:0;87:34:-1;135:17;;-1:-1;98098:13:0;;98077:34;;98171:6;98164:4;98157:5;98153:16;98146:32;98199:25;98237:1;98227:12;;;;;-1:-1:-1;;98227:12:0;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;98227:12:0;87:34:-1;135:17;;-1:-1;98227:12:0;;98199:40;;98250;98260:5;98267:2;98271:1;98274:12;98288:1;98250:9;:40::i;:::-;;98301:20;;:::i;:::-;:62;;;;;;;;98325:6;98301:62;;;;98333:6;98301:62;;;;98341:14;98301:62;;;;98357:5;98301:62;;;;;98374:15;98392:47;;;;;;;;;;;;-1:-1:-1;;;98392:47:0;;;;98417:4;98423:15;98392:14;:47::i;:::-;98374:65;;98450:30;98493:1;98483:12;;;;;-1:-1:-1;;98483:12:0;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;98483:12:0;87:34:-1;135:17;;-1:-1;98483:12:0;;98450:45;;98563:4;98549:12;98545:23;98539:30;-1:-1:-1;;;98625:1:0;98621:73;98614:4;98595:17;98591:28;98583:112;-1:-1:-1;;;98751:1:0;98747:71;98740:4;98721:17;98717:28;98709:110;-1:-1:-1;;;98875:1:0;98871:69;98864:4;98845:17;98841:28;98833:108;-1:-1:-1;;;98997:1:0;98993:67;98986:4;98967:17;98963:28;98955:106;-1:-1:-1;;;99117:1:0;99113:65;99106:4;99087:17;99083:28;99075:104;-1:-1:-1;;;99235:1:0;99231:63;99224:4;99205:17;99201:28;99193:102;-1:-1:-1;;;99351:1:0;99347:61;99340:4;99321:17;99317:28;99309:100;-1:-1:-1;;;99465:1:0;99461:59;99454:4;99435:17;99431:28;99423:98;-1:-1:-1;99542:123:0;99574:7;99610:17;99629:7;;;;99638:15;99645:4;:7;99638:15;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;99638:15:0;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;99638:15:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;99638:15:0;;;;;;;-1:-1:-1;;;99655:7:0;;;;99593:70;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;377:20;365:33;;;-1:-1;;;99593:70:0;;;;;-1:-1:-1;99593:70:0;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;377:20;365:33;;;-1:-1;;;99593:70:0;;;;;;;;;;-1:-1:-1;99593:70:0;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;377:20;365:33;;;-1:-1;;;99593:70:0;;;;;-1:-1:-1;99593:70:0;;-1:-1:-1;;;;;99593:70:0;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;99593:70:0;;;99583:81;;;;;;99542:31;:123::i;:::-;-1:-1:-1;99683:7:0;97015:2683;-1:-1:-1;;;;;;;;;;;97015:2683:0:o;33594:92::-;33646:32;33652:16;33660:7;33652;:16::i;:::-;33670:7;33646:5;:32::i;18569:114::-;18661:14;;18569:114::o;3237:132::-;3295:7;3322:39;3326:1;3329;3322:39;;;;;;;;;;;;;;;;:3;:39::i;29377:272::-;29487:32;29501:4;29507:2;29511:7;29487:13;:32::i;:::-;29538:48;29561:4;29567:2;29571:7;29580:5;29538:22;:48::i;:::-;29530:111;;;;-1:-1:-1;;;29530:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;123817:482;123867:27;123911:7;123907:50;;123935:10;;;;;;;;;;;-1:-1:-1;;;123935:10:0;;;;;-1:-1:-1;123935:10:0;;123907:50;123976:2;123967:6;124008:69;124015:6;;124008:69;;124038:5;;124063:2;124058:7;;;;124008:69;;;124087:17;124117:3;124107:14;;;;;-1:-1:-1;;124107:14:0;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;124107:14:0;87:34:-1;135:17;;-1:-1;124107:14:0;-1:-1:-1;124087:34:0;-1:-1:-1;;;124141:7:0;;124159:103;124166:7;;124159:103;;-1:-1:-1;;124195:3:0;;;124213:2;124223;124218:7;;124213:12;124202:25;;;124190:4;;;:9;;;;;;;;;;:37;-1:-1:-1;;;;;124190:37:0;;;;;;;;-1:-1:-1;124248:2:0;124242:8;;;;124159:103;;;-1:-1:-1;124286:4:0;123817:482;-1:-1:-1;;;;123817:482:0:o;92098:168::-;92176:33;92229:29;92239:2;92243;92229:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:9;:29::i;25967:147::-;-1:-1:-1;;;;;26071:25:0;;26047:4;26071:25;;;:18;:25;;;26047:4;26071:25;-1:-1:-1;;;;;26071:35:0;;;;;;;;;;;;;;;;;;25967:147;-1:-1:-1;;;25967:147:0:o;9841:229::-;-1:-1:-1;;;;;9915:22:0;;9907:73;;;;-1:-1:-1;;;9907:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10017:6;;-1:-1:-1;;;;;9996:38:0;;;;10017:6;9996:38;;;;;;;;;;10045:6;:17;;-1:-1:-1;;;;;;10045:17:0;-1:-1:-1;;;;;10045:17:0;;;;;;;;;;9841:229::o;89241:136::-;63057:3;;-1:-1:-1;;;;;63057:3:0;63049:26;;63048:64;;-1:-1:-1;63101:3:0;;63081:25;;-1:-1:-1;;;;;63101:3:0;63081:11;:25::i;:::-;:30;63048:64;63044:132;;;63129:35;62695:1;63129:19;:35::i;:::-;;63044:132;63211:3;;-1:-1:-1;;;;;63211:3:0;:14;:16;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;63211:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;63211:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;63211:16:0;;;;;;63198:8;;-1:-1:-1;;;;;63198:8:0;;;63190:37;;;;-1:-1:-1;63186:108:0;;-1:-1:-1;;63186:108:0;63265:3;;-1:-1:-1;;;;;63265:3:0;:14;:16;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;63265:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;63265:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;63265:16:0;;;;;;63244:8;:38;;-1:-1:-1;;;;;;63244:38:0;-1:-1:-1;;;;;63244:38:0;;;;;;;;;;-1:-1:-1;;;63186:108:0;89332:8;;-1:-1:-1;;;;;89332:8:0;:26;89359:9;89332:37;;-1:-1:-1;;;;;;89332:37:0;;;;;;;;;;;;;;;;-1:-1:-1;89332:37:0;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;89332:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;89332:37:0;;;;89241:136;:::o;34072:459::-;34186:4;-1:-1:-1;;;;;34166:24:0;:16;34174:7;34166;:16::i;:::-;-1:-1:-1;;;;;34166:24:0;;34158:78;;;;-1:-1:-1;;;34158:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34255:16:0;;34247:65;;;;-1:-1:-1;;;34247:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34325:23;34340:7;34325:14;:23::i;:::-;-1:-1:-1;;;;;34361:23:0;;;;;;:17;:23;;:35;;:23;;;:33;:35::i;:::-;-1:-1:-1;;;;;34407:21:0;;;;;;:17;:21;;:33;;:21;;;:31;:33::i;:::-;34453:20;;;;:11;:20;;34476:2;;34453:20;;;:25;;-1:-1:-1;;;;;;34453:25:0;-1:-1:-1;;;;;34453:25:0;;;;;;34515:7;;34496:27;;;;;;;;;;;;;;;;34072:459;;;:::o;42770:1148::-;-1:-1:-1;;;;;43061:18:0;;43036:22;43061:18;;;:12;:18;;:32;43091:1;43061:18;43036:22;43061:18;:25;;:32;:29;:32;:::i;:::-;43104:18;43125:26;;;:17;:26;;43036:57;;-1:-1:-1;43125:26:0;43104:18;43125:26;;43104:47;;43272:14;43258:10;:28;43254:328;;-1:-1:-1;;;;;43325:18:0;;43303:19;43325:18;;;:12;:18;;;43303:19;43325:18;43344:14;43325:34;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43376:18:0;;;;;;:12;:18;;43325:34;;-1:-1:-1;43325:34:0;;43376:18;;;43395:10;43376:30;;;;;;;;;;;;;;;:44;43493:30;;;;:17;:30;;43526:10;;43493:30;;;:43;-1:-1:-1;43254:328:0;-1:-1:-1;;;;;43671:18:0;;;;;;:12;:18;;;;;:27;;;;;-1:-1:-1;;43671:27:0;;;:::i;41592:186::-;-1:-1:-1;;;;;41706:16:0;;;;;;:12;:16;;;;;:23;41677:26;;;;:17;:26;;;;;:52;-1:-1:-1;;;;;41740:16:0;;;;;;:12;:16;;;;;27:10:-1;;39:1;23:18;;45:23;;;-1:-1;41740:30:0;;;41762:7;;23:18:-1;;27:10;41740:30:0;;;;;;;;-1:-1:-1;;;41592:186:0:o;1855:192::-;1941:7;1977:12;1969:6;;;;1961:29;;;;-1:-1:-1;;;1961:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1961:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2013:5:0;;;1855:192::o;89082:151::-;89197:18;;89173:53::o;63798:208::-;63863:16;63977:21;:19;:21::i;5350:166::-;5436:7;5472:12;5464:6;5456:29;;;;-1:-1:-1;;;5456:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;27:10;;8:100;;99:1;94:3;90:11;84:18;71:11;;;64:39;52:2;45:10;8:100;;5456:29:0;;5507:1;5503;:5;;;;;;;5350:166;-1:-1:-1;;;;5350:166:0:o;31966:242::-;32054:18;32060:2;32064:7;32054:5;:18::i;:::-;32091:54;32122:1;32126:2;32130:7;32139:5;32091:22;:54::i;:::-;32083:117;;;;-1:-1:-1;;;32083:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89385:171;63057:3;;89465:23;;-1:-1:-1;;;;;63057:3:0;63049:26;;63048:64;;-1:-1:-1;63101:3:0;;63081:25;;-1:-1:-1;;;;;63101:3:0;63081:11;:25::i;:::-;:30;63048:64;63044:132;;;63129:35;62695:1;63129:19;:35::i;:::-;;63044:132;63211:3;;-1:-1:-1;;;;;63211:3:0;:14;:16;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;63211:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;63211:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;63211:16:0;;;;;;63198:8;;-1:-1:-1;;;;;63198:8:0;;;63190:37;;;;-1:-1:-1;63186:108:0;;-1:-1:-1;;63186:108:0;63265:3;;-1:-1:-1;;;;;63265:3:0;:14;:16;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;63265:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;63265:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;63265:16:0;;;;;;63244:8;:38;;-1:-1:-1;;;;;;63244:38:0;-1:-1:-1;;;;;63244:38:0;;;;;;;;;;-1:-1:-1;;;63186:108:0;89508:8;;-1:-1:-1;;;;;89508:8:0;:38;:40;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;106469:707:0;106597:25;106652:19;;;;106690:3;:10;:23;;106682:32;;;;;;106779:2;:16;;;;106896:14;;106921:227;106952:7;106938:11;106933:2;:16;:26;106928:1;:32;106921:227;;;107033:1;107026:5;107022:13;107016:20;107061:11;;;107054:24;107112:2;107107:7;;;;107129;106921:227;;;-1:-1:-1;107165:3:0;;106469:707;-1:-1:-1;;;;;;;106469:707:0:o;86722:384::-;63057:3;;86842:11;;-1:-1:-1;;;;;63057:3:0;63049:26;;63048:64;;-1:-1:-1;63101:3:0;;63081:25;;-1:-1:-1;;;;;63101:3:0;63081:11;:25::i;:::-;:30;63048:64;63044:132;;;63129:35;62695:1;63129:19;:35::i;:::-;;63044:132;63211:3;;-1:-1:-1;;;;;63211:3:0;:14;:16;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;63211:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;63211:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;63211:16:0;;;;;;63198:8;;-1:-1:-1;;;;;63198:8:0;;;63190:37;;;;-1:-1:-1;63186:108:0;;-1:-1:-1;;63186:108:0;63265:3;;-1:-1:-1;;;;;63265:3:0;:14;:16;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;63265:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;63265:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;63265:16:0;;;;;;63244:8;:38;;-1:-1:-1;;;;;;63244:38:0;-1:-1:-1;;;;;63244:38:0;;;;;;;;;;-1:-1:-1;;;63186:108:0;86866:22;86903:1;86891:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86866:39:0;-1:-1:-1;86929:5:0;:8;86916:7;86924:1;86916:10;;;;;;;;;;;;;;;;;:21;86961:5;86967:1;86961:8;;;;86948:7;86956:1;86948:10;;;;;;;;;;;;;;;;;:21;86993:8;;;;86980:7;86988:1;86980:10;;;;;;;;;;;;;;;;;:21;87025:8;;;;87012:7;87020:1;87012:10;;;;;;;;;;;;;:21;;;;87051:47;87066:11;87079:7;87088:9;87051:14;:47::i;:::-;87044:54;86722:384;-1:-1:-1;;;;;86722:384:0:o;99706:154::-;99806:32;;;;:22;:32;;99841:11;;99806:32;;;:46;-1:-1:-1;;99706:154:0:o;48390:247::-;48457:27;48469:5;48476:7;48457:11;:27::i;:::-;48543:19;;;;:10;:19;;;;;48537:33;;-1:-1:-1;;48537:33:0;;;;;;;;;;;:38;48533:97;;48599:19;;;;:10;:19;;;;;48592:26;;48599:19;48592:26;:::i;3899:345::-;3985:7;4087:12;4080:5;4072:28;;;;-1:-1:-1;;;4072:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;27:10;;8:100;;99:1;94:3;90:11;84:18;71:11;;;64:39;52:2;45:10;8:100;;4072:28:0;;4111:9;4127:1;4123;:5;;;;;;;3899:345;-1:-1:-1;;;;;3899:345:0:o;35133:358::-;35255:4;35282:15;:2;-1:-1:-1;;;;;35282:13:0;;:15::i;:::-;35277:60;;-1:-1:-1;35321:4:0;35314:11;;35277:60;35349:13;35381:2;-1:-1:-1;;;;;35365:36:0;;35402:12;:10;:12::i;:::-;35416:4;35422:7;35431:5;35365:72;;;;;;;;;;;;;-1:-1:-1;;;;;35365:72:0;-1:-1:-1;;;;;35365:72:0;;;;;;-1:-1:-1;;;;;35365:72:0;-1:-1:-1;;;;;35365:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;35365:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35365:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35365:72:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;35365:72:0;;;;;;-1:-1:-1;;;;;;35456:26:0;-1:-1:-1;;;35456:26:0;;-1:-1:-1;;;;;35133:358:0;;;;;;:::o;92680:1046::-;92812:33;92883:2;92922;92961;93000;93039;92812:33;93039:2;93138:10;93125:3;:10;93112:3;:10;93099:3;:10;93086:3;:10;:23;:36;:49;:62;93075:74;;;;;-1:-1:-1;;93075:74:0;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;93075:74:0;87:34:-1;135:17;;-1:-1;93075:74:0;-1:-1:-1;93053:96:0;-1:-1:-1;93053:96:0;93205:6;;93247:80;93263:3;:10;93259:1;:14;93247:80;;;93309:3;93313:1;93309:6;;;;;;;;;;;;;;;;93295;93302:3;;;;;;93295:11;;;;;;;;;;;:20;-1:-1:-1;;;;;93295:20:0;;;;;;;;-1:-1:-1;93275:3:0;;93247:80;;;-1:-1:-1;93346:1:0;93337:80;93353:3;:10;93349:1;:14;93337:80;;;93399:3;93403:1;93399:6;;;;;;;;;;;;;;;;93385;93392:3;;;;;;93385:11;;;;;;;;;;;:20;-1:-1:-1;;;;;93385:20:0;;;;;;;;-1:-1:-1;93365:3:0;;93337:80;;;-1:-1:-1;93436:1:0;93427:80;93443:3;:10;93439:1;:14;93427:80;;;93489:3;93493:1;93489:6;;;;;;;;;;;;;;;;93475;93482:3;;;;;;93475:11;;;;;;;;;;;:20;-1:-1:-1;;;;;93475:20:0;;;;;;;;-1:-1:-1;93455:3:0;;93427:80;;;-1:-1:-1;93526:1:0;93517:80;93533:3;:10;93529:1;:14;93517:80;;;93579:3;93583:1;93579:6;;;;;;;;;;;;;;;;93565;93572:3;;;;;;93565:11;;;;;;;;;;;:20;-1:-1:-1;;;;;93565:20:0;;;;;;;;-1:-1:-1;93545:3:0;;93517:80;;;-1:-1:-1;93616:1:0;93607:80;93623:3;:10;93619:1;:14;93607:80;;;93669:3;93673:1;93669:6;;;;;;;;;;;;;;;;93655;93662:3;;;;;;93655:11;;;;;;;;;;;:20;-1:-1:-1;;;;;93655:20:0;;;;;;;;-1:-1:-1;93635:3:0;;93607:80;;;-1:-1:-1;93711:6:0;;92680:1046;-1:-1:-1;;;;;;;;;;;;;92680:1046:0:o;35659:175::-;35759:1;35723:24;;;:15;:24;;;35759:1;35723:24;;-1:-1:-1;;;;;35723:24:0;:38;35719:108;;35813:1;35778:24;;;:15;:24;;;35813:1;35778:24;:37;;-1:-1:-1;;;;;;35778:37:0;-1:-1:-1;;;;;35778:37:0;;;;;;;;;;-1:-1:-1;35659:175:0:o;18790:110::-;18871:14;;:21;;18890:1;18871:21;:18;:21;:::i;:::-;18854:38;;18790:110::o;18691:91::-;18755:19;;18773:1;18755:19;;;18691:91::o;64290:2070::-;64339:16;64430:1;64372:55;64384:42;64372:11;:55::i;:::-;:59;64368:250;;;64458:3;:69;;-1:-1:-1;;;;;;64458:69:0;64484:42;64458:69;;;64542:38;;;;;;;;;;;;-1:-1:-1;;;64542:38:0;;;;:23;:38::i;:::-;-1:-1:-1;64602:4:0;64595:11;;64368:250;64690:1;64632:55;64644:42;64632:11;:55::i;:::-;:59;64628:259;;;64726:3;:69;;-1:-1:-1;;;;;;64726:69:0;64752:42;64726:69;;;64810:39;;;;;;;;;;;;-1:-1:-1;;;64810:39:0;;;;:23;:39::i;64628:259::-;64959:1;64901:55;64913:42;64901:11;:55::i;:::-;:59;64897:254;;;64993:3;:69;;-1:-1:-1;;;;;;64993:69:0;65019:42;64993:69;;;65077:36;;;;;;;;;;;;-1:-1:-1;;;65077:36:0;;;;:23;:36::i;64897:254::-;65223:1;65165:55;65177:42;65165:11;:55::i;:::-;:59;65161:258;;;65259:3;:69;;-1:-1:-1;;;;;;65259:69:0;65285:42;65259:69;;;65343:38;;;;;;;;;;;;-1:-1:-1;;;65343:38:0;;;;:23;:38::i;65161:258::-;65491:1;65433:55;65445:42;65433:11;:55::i;:::-;:59;65429:256;;;65526:3;:69;;-1:-1:-1;;;;;;65526:69:0;65552:42;65526:69;;;65610:37;;;;;;;;;;;;-1:-1:-1;;;65610:37:0;;;;:23;:37::i;65429:256::-;65757:1;65699:55;65711:42;65699:11;:55::i;:::-;:59;65695:205;;;-1:-1:-1;65793:3:0;:69;;-1:-1:-1;;;;;;65793:69:0;65819:42;65793:69;;;;65877:11;;65695:205;65972:1;65914:55;65926:42;65914:11;:55::i;:::-;:59;65910:204;;;-1:-1:-1;66007:3:0;:69;;-1:-1:-1;;;;;;66007:69:0;66033:42;66007:69;;;;66091:11;;65910:204;66186:1;66128:55;66140:42;66128:11;:55::i;:::-;:59;66124:206;;;-1:-1:-1;66223:3:0;:69;;-1:-1:-1;;;;;;66223:69:0;66249:42;66223:69;;;;66307:11;;66124:206;-1:-1:-1;66347:5:0;64290:2070;:::o;40095:202::-;40159:24;40171:2;40175:7;40159:11;:24::i;:::-;40196:40;40224:2;40228:7;40196:27;:40::i;:::-;40249;40281:7;40249:31;:40::i;81125:461::-;63057:3;;81244:11;;-1:-1:-1;;;;;63057:3:0;63049:26;;63048:64;;-1:-1:-1;63101:3:0;;63081:25;;-1:-1:-1;;;;;63101:3:0;63081:11;:25::i;:::-;:30;63048:64;63044:132;;;63129:35;62695:1;63129:19;:35::i;:::-;;63044:132;63211:3;;-1:-1:-1;;;;;63211:3:0;:14;:16;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;63211:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;63211:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;63211:16:0;;;;;;63198:8;;-1:-1:-1;;;;;63198:8:0;;;63190:37;;;;-1:-1:-1;63186:108:0;;-1:-1:-1;;63186:108:0;63265:3;;-1:-1:-1;;;;;63265:3:0;:14;:16;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;63265:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;63265:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;63265:16:0;;;;;;63244:8;:38;;-1:-1:-1;;;;;;63244:38:0;-1:-1:-1;;;;;63244:38:0;;;;;;;;;;-1:-1:-1;;;63186:108:0;81281:8;;81268:10;;-1:-1:-1;;;;;81281:8:0;:17;81299:11;81312:9;81281:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;81281:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;81281:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;81281:41:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;81281:41:0;;;;;;;-1:-1:-1;;;;81345:7:0;81355:11;:23;;81345:33;81337:41;;81333:109;;;-1:-1:-1;81402:1:0;;-1:-1:-1;81395:8:0;;81333:109;81452:17;81472:14;81480:5;81472:7;:14::i;:::-;81504:8;;81452:34;;-1:-1:-1;;;;;;81504:8:0;:28;81539:5;81504:8;81549:11;81452:34;81568:9;81504:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;81504:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;81504:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;81504:74:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;81504:74:0;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;81504:74:0;;;;;;;81125:461;-1:-1:-1;;;;;;;;;81125:461:0:o;40581:372::-;40648:27;40660:5;40667:7;40648:11;:27::i;:::-;40688:48;40721:5;40728:7;40688:32;:48::i;:::-;40886:1;40857:26;;;:17;:26;;;40886:1;40857:26;:30;40900:45;40937:7;40900:36;:45::i;14933:810::-;14993:4;15652:20;;15495:66;15692:15;;;;;:42;;-1:-1:-1;15711:23:0;;;15684:51;-1:-1:-1;;14933:810:0:o;64014:127::-;64096:21;64120:13;;64096:37;;;;;;;;:::i;32461:335::-;-1:-1:-1;;;;;32533:16:0;;32525:61;;;;-1:-1:-1;;;32525:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;32606:16;32614:7;32606;:16::i;:::-;32605:17;32597:58;;;;-1:-1:-1;;;32597:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;32668:20;;;;:11;:20;;32691:2;;32668:20;;;:25;;-1:-1:-1;;;;;;32668:25:0;-1:-1:-1;;;;;32668:25:0;;;;;;32704:21;;-1:-1:-1;32704:21:0;;;:17;:21;;:33;;:21;;;:31;:33::i;:::-;32780:7;-1:-1:-1;;;;;32755:33:0;;32772:1;32755:33;;;;;;;;;;32461:335;;:::o;41979:164::-;42083:10;:17;42056:24;;;;:15;:24;;;;;:44;42111:10;27::-1;;39:1;23:18;;45:23;;;-1:-1;42111:24:0;;;42127:7;;23:18:-1;;27:10;42111:24:0;;;;;;;;-1:-1:-1;;41979:164:0:o;96632:375::-;96693:26;96732:19;:17;:19::i;:::-;96762:24;;:::i;:::-;96797:22;96809:3;96814:4;96797:11;:22::i;:::-;96830:16;:3;:14;:16::i;:::-;96862:6;96857:90;96878:4;:11;96874:1;:15;96857:90;;;96911:24;96927:4;96932:1;96927:7;;;;;;;;;;;;;;96911:3;;:24;:15;:24;:::i;:::-;96891:3;;96857:90;;;;96957:17;:3;:15;:17::i;:::-;96992:3;:7;96985:14;96632:375;-1:-1:-1;;;96632:375:0:o;33073:333::-;33168:5;-1:-1:-1;;;;;33148:25:0;:16;33156:7;33148;:16::i;:::-;-1:-1:-1;;;;;33148:25:0;;33140:75;;;;-1:-1:-1;;;33140:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33228:23;33243:7;33228:14;:23::i;:::-;-1:-1:-1;;;;;33264:24:0;;;;;;:17;:24;;:36;;:24;;;:34;:36::i;:::-;33342:1;33311:20;;;:11;:20;;;33342:1;33311:20;:33;;-1:-1:-1;;;;;;33311:33:0;-1:-1:-1;;;;;33311:33:0;;;;;;33390:7;;-1:-1:-1;;33362:36:0;;;;;;;;;;;;33073:333;;:::o;44213:1082::-;44491:10;:17;44466:22;;44491:24;;44513:1;44491:24;:21;:24;:::i;:::-;44526:18;44547:24;;;:15;:24;;44466:49;;-1:-1:-1;44547:24:0;44526:18;44547:24;;44526:45;;44898:19;44920:10;44931:14;44920:26;;;;;;;;;;;;;;;;44898:48;;44984:11;44959:10;44970;44959:22;;;;;;;;;;;;;;;:36;45064:28;;;;:15;:28;;45095:10;;45064:28;;;:41;45229:10;:19;;;;;-1:-1:-1;;45229:19:0;;;:::i;:::-;-1:-1:-1;45286:1:0;45259:24;;;:15;:24;;;45286:1;45259:24;:28;-1:-1:-1;;;;44213:1082:0:o;110123:175::-;110219:4;110213:11;110274:4;110267:5;110263:16;110253:8;110247:4;110238:42;110186:105;:::o;55253:446::-;55344:9;55379:2;55344:9;55368:13;:18;55364:83;;55432:2;55421:8;:13;55415:2;:20;55403:32;55364:83;55457:13;;;:24;;;55571:4;55565:11;55590:17;;;;55633:1;55621:14;;55662:18;;;55656:4;55649:32;-1:-1:-1;55539:153:0:o;61651:130::-;61723:50;61750:4;59758:1;61723:26;:50::i;61256:181::-;61350:49;61361:4;59708:1;61385:6;:13;61350:10;:49::i;:::-;61410:19;:4;61422:6;61410:19;:11;:19;:::i;61923:138::-;61996:57;62023:4;59923:1;60679:147;60780:38;:4;60814:2;60799:11;60809:1;60799:11;;;;60798:18;60780:38;:11;:38;:::i;59933:738::-;60045:2;60035:6;:12;60031:633;;60064:42;:4;60082:22;60093:1;60083:11;;;60082:22;;;60064:42;:11;:42;:::i;:::-;60031:633;;;60138:4;60128:6;:14;60124:540;;60159:38;:4;60193:2;60178:11;60188:1;60178:11;;;;60177:18;60159:38;:11;:38;:::i;:::-;60212:25;:4;60227:6;60235:1;60212:25;:14;:25;:::i;:::-;;60124:540;;;60269:6;60259;:16;60255:409;;60292:38;:4;60326:2;60311:11;60321:1;60311:11;;;;60310:18;60292:38;:11;:38;:::i;:::-;60345:25;:4;60360:6;60368:1;60345:25;:14;:25;:::i;60255:409::-;60402:10;60392:6;:20;60388:276;;60429:38;:4;60463:2;60448:11;60458:1;60448:11;;;;60447:18;60429:38;:11;:38;:::i;:::-;60482:25;:4;60497:6;60505:1;60482:25;:14;:25;:::i;60388:276::-;60539:18;60529:6;:28;60525:139;;60574:38;:4;60608:2;60593:11;60603:1;60593:11;;;;60592:18;60574:38;:11;:38;:::i;:::-;60627:25;:4;60642:6;60650:1;60627:25;:14;:25;:::i;56339:1241::-;56418:21;;:::i;:::-;56489:4;:13;;;56471:4;:8;:15;56456:5;:12;:30;:46;56452:129;;;56519:50;56526:4;56532:32;56536:4;:13;;;56551:5;:12;56532:3;:32::i;:::-;56567:1;56532:36;56519:6;:50::i;:::-;56591:9;56611:8;56630;56641:5;:12;56630:23;;56708:4;56702:11;56784:6;56778:13;56872:2;56863:6;56855;56851:19;56847:28;56839:36;;56996:5;56990:12;56978:25;56963:41;;57060:2;57049:14;;;-1:-1:-1;57084:212:0;57097:2;57090:3;:9;57084:212;;57216:3;57210:10;57197:24;;57258:2;57250:10;;;;57275:9;;;;;-1:-1:-1;;57101:9:0;57084:212;;;-1:-1:-1;;57326:2:0;:8;;;57318:3;:17;:21;57429:9;;57423:3;57417:10;57413:26;57486:4;57479;57473:11;57469:22;57518:21;57505:35;;;-1:-1:-1;57568:4:0;;56339:1241;-1:-1:-1;;;;56339:1241:0:o;57874:586::-;57974:4;:13;;;57952:4;:8;:15;57970:1;57952:19;:35;57948:99;;;58004:31;58011:4;58017;:13;;;58033:1;58017:17;58004:6;:31::i;:::-;58101:4;58095:11;58177:6;58171:13;58269:2;58260:6;58252;58248:19;58244:28;58368:5;58362:4;58354:20;-1:-1:-1;58415:1:0;58403:14;58388:30;;-1:-1:-1;;58066:387:0:o;58754:748::-;58839:21;;:::i;:::-;58902:4;:13;;;58884:4;:8;:15;58877:4;:22;:38;58873:113;;;58932:42;58939:4;58945:24;58949:4;:13;;;58964:4;58945:3;:24::i;58932:42::-;-1:-1:-1;;59008:3:0;:11;;;:15;59078:4;59072:11;59154:6;59148:13;59246:4;59237:6;59229;59225:19;59221:30;59384:5;59376:4;59372:9;59365:4;59359:11;59355:27;59352:38;59339:52;;59420:17;;;59405:33;;;-1:-1:-1;59490:4:0;;58754:748;-1:-1:-1;;58754:748:0:o;55892:151::-;55945:9;55976:2;55971;:7;55967:49;;;-1:-1:-1;56002:2:0;55995:9;;55967:49;-1:-1:-1;56033:2:0;55892:151;-1:-1:-1;55892:151:0:o;55707:177::-;55783:19;55805:4;:8;55783:30;;55824:21;55829:4;55835:9;55824:4;:21::i;:::-;55856:20;55863:4;55869:6;55856;:20::i;110518:13784::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;110518:13784:0;;;-1:-1:-1;110518:13784:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;
Swarm Source
bzzr://5b67aa66b45e8a38aa8b9263e1fc7abcb73af80529795e4b8830789716a463cb
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.