Contract Overview
Balance:
0 Ether
More Info
My Name Tag:
Not Available
TokenTracker:
[ Download CSV Export ]
Contract Name:
AKAP
Compiler Version
v0.5.12+commit.7709ece9
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-01-18 */ // File: contracts/IAKAP.sol // Copyright (C) 2019 Christian Felde // Copyright (C) 2019 Mohamed Elshami // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. pragma solidity ^0.5.0; /** * @title Interface for AKA Protocol Registry (akap.me) * * @author Christian Felde * @author Mohamed Elshami * * @notice This interface defines basic meta data operations in addition to hashOf and claim functions on AKAP nodes. * @dev Functionality related to the ERC-721 nature of nodes also available on AKAP, like transferFrom(..), etc. */ contract IAKAP { enum ClaimCase {RECLAIM, NEW, TRANSFER} enum NodeAttribute {EXPIRY, SEE_ALSO, SEE_ADDRESS, NODE_BODY, TOKEN_URI} event Claim(address indexed sender, uint indexed nodeId, uint indexed parentId, bytes label, ClaimCase claimCase); event AttributeChanged(address indexed sender, uint indexed nodeId, NodeAttribute attribute); 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 Calculate the hash of a parentId and node label. * * @param parentId Hash value of parent ID * @param label Label of node * @return Hash ID of node */ function hashOf(uint parentId, bytes memory label) public pure returns (uint id); /** * @dev Claim or reclaim a node identified by the given parent ID hash and node label. * * There are 4 potential return value outcomes: * * 0: No action taken. This is the default if msg.sender does not have permission to act on the specified node. * 1: An existing node already owned by msg.sender was reclaimed. * 2: Node did not previously exist and is now minted and allocated to msg.sender. * 3: An existing node already exist but was expired. Node ownership transferred to msg.sender. * * If msg.sender is not the owner but is instead approved "spender" of node, the same logic applies. Only on * case 2 and 3 does msg.sender become owner of the node. On case 1 only the expiry is updated. * * Whenever the return value is non-zero, the expiry of the node as been set to 52 weeks into the future. * * @param parentId Hash value of parent ID * @param label Label of node * @return Returns one of the above 4 outcomes */ function claim(uint parentId, bytes calldata label) external returns (uint status); /** * @dev Returns true if nodeId exists. * * @param nodeId Node hash ID * @return True if node exists */ function exists(uint nodeId) external view returns (bool); /** * @dev Returns whether msg.sender can transfer, claim or operate on a given node ID. * * @param nodeId Node hash ID * @return bool True if approved or owner */ function isApprovedOrOwner(uint nodeId) external view returns (bool); /** * @dev Gets the owner of the specified node ID. * * @param tokenId Node hash ID * @return address Node owner address */ function ownerOf(uint256 tokenId) public view returns (address); /** * @dev Return parent hash ID for given node ID. * * @param nodeId Node hash ID * @return Parent hash ID */ function parentOf(uint nodeId) external view returns (uint); /** * @dev Return expiry timestamp for given node ID. * * @param nodeId Node hash ID * @return Expiry timestamp as seconds since unix epoch */ function expiryOf(uint nodeId) external view returns (uint); /** * @dev Return "see also" value for given node ID. * * @param nodeId Node hash ID * @return "See also" value */ function seeAlso(uint nodeId) external view returns (uint); /** * @dev Return "see address" value for given node ID. * * @param nodeId Node hash ID * @return "See address" value */ function seeAddress(uint nodeId) external view returns (address); /** * @dev Return "node body" value for given node ID. * * @param nodeId Node hash ID * @return "Node body" value */ function nodeBody(uint nodeId) external view returns (bytes memory); /** * @dev Return "token URI" value for given node ID. * * @param tokenId Node hash ID * @return "Token URI" value */ function tokenURI(uint256 tokenId) external view returns (string memory); /** * @dev Will immediately expire node on given node ID. * * An expired node will continue to function as any other node, * but is now available to be claimed by a new owner. * * @param nodeId Node hash ID */ function expireNode(uint nodeId) external; /** * @dev Set "see also" value on given node ID. * * @param nodeId Node hash ID * @param value New "see also" value */ function setSeeAlso(uint nodeId, uint value) external; /** * @dev Set "see address" value on given node ID. * * @param nodeId Node hash ID * @param value New "see address" value */ function setSeeAddress(uint nodeId, address value) external; /** * @dev Set "node body" value on given node ID. * * @param nodeId Node hash ID * @param value New "node body" value */ function setNodeBody(uint nodeId, bytes calldata value) external; /** * @dev Set "token URI" value on given node ID. * * @param nodeId Node hash ID * @param uri New "token URI" value */ function setTokenURI(uint nodeId, string calldata uri) external; /** * @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; /** * @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); /** * @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; /** * @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); /** * @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; /** * @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 */ function safeTransferFrom(address from, address to, uint256 tokenId) public; /** * @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) public; } // File: @openzeppelin/contracts/introspection/IERC165.sol pragma solidity ^0.5.0; /** * @dev Interface of the ERC165 standard, as defined in the * [EIP](https://eips.ethereum.org/EIPS/eip-165). * * 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 * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * 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: @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 `setApproveForAll`. */ 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 `setApproveForAll`. */ 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: @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 `safeTransfer`. 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: @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) { require(b <= a, "SafeMath: subtraction overflow"); 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) { // Solidity only automatically asserts when dividing by 0 require(b > 0, "SafeMath: division by zero"); 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) { require(b != 0, "SafeMath: modulo by zero"); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.5.0; /** * @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. * * > 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. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } } // File: @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: @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: @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 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)')) == 0xe985e9c * 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(msg.sender == owner || isApprovedForAll(owner, msg.sender), "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 != msg.sender, "ERC721: approve to caller"); _operatorApprovals[msg.sender][to] = approved; emit ApprovalForAll(msg.sender, 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(msg.sender, 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 `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 `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) public { 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 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(uint256) 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 `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(msg.sender, 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: @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: @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 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 _burn(uint256) 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: @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: @openzeppelin/contracts/token/ERC721/ERC721Metadata.sol pragma solidity ^0.5.0; contract ERC721Metadata is 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: @openzeppelin/contracts/token/ERC721/ERC721Full.sol pragma solidity ^0.5.0; /** * @title Full ERC721 Token * This implementation includes all the required and some optional functionality of the ERC721 standard * Moreover, it includes approve all functionality using operator terminology * @dev 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: contracts/AKAP.sol // Copyright (C) 2019 Christian Felde // Copyright (C) 2019 Mohamed Elshami // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. pragma solidity ^0.5.0; contract AKAP is IAKAP, ERC721Full { struct Node { uint parentId; uint expiry; uint seeAlso; address seeAddress; bytes nodeBody; } mapping(uint => Node) private nodes; constructor() ERC721Full("AKA Protocol Registry", "AKAP") public {} function _msgSender() internal view returns (address payable) { return msg.sender; } modifier onlyExisting(uint nodeId) { require(_exists(nodeId), "AKAP: operator query for nonexistent node"); _; } modifier onlyApproved(uint nodeId) { require(_exists(nodeId) && _isApprovedOrOwner(_msgSender(), nodeId), "AKAP: set value caller is not owner nor approved"); _; } function hashOf(uint parentId, bytes memory label) public pure returns (uint id) { require(label.length >= 1 && label.length <= 32, "AKAP: Invalid label length"); bytes32 labelHash = keccak256(label); bytes32 nodeId = keccak256(abi.encode(parentId, labelHash)); require(nodeId > 0, "AKAP: Invalid node hash"); return uint(nodeId); } function claim(uint parentId, bytes calldata label) external returns (uint status) { // Claim logic is as follows: // Case 1: // A node that does exist can be extended if the _msgSender() is the owner of nodeId. // Case 2: // A node that does not exist can be claimed if the _msgSender() is the owner of parentId. // If parentId is the special case 0x0, you can consider the _msgSender() as the "owner" of parentId. // Case 3: // A node that does exists but is expired will be transferred to the new _msgSender(). This still // assumed that the _msgSender() is the parentId owner, including special case 0x0 as above. // Get hash/id of the node caller is claiming uint nodeId = hashOf(parentId, label); bool isParentOwner = parentId == 0x0 || _isApprovedOrOwner(_msgSender(), parentId); bool nodeExists = _exists(nodeId); if (nodeExists && _isApprovedOrOwner(_msgSender(), nodeId)) { require(parentId == nodes[nodeId].parentId, "AKAP: Invalid parent hash"); // Caller is current owner/approved, extend lease.. nodes[nodeId].expiry = now + 52 weeks; emit Claim(_msgSender(), nodeId, parentId, label, ClaimCase.RECLAIM); return 1; } else if (!nodeExists && isParentOwner) { // Node does not exist, allocate to caller.. _mint(_msgSender(), nodeId); nodes[nodeId].parentId = parentId; nodes[nodeId].expiry = now + 52 weeks; emit Claim(_msgSender(), nodeId, parentId, label, ClaimCase.NEW); return 2; } else if (nodeExists && nodes[nodeId].expiry <= now && isParentOwner) { require(parentId == nodes[nodeId].parentId, "AKAP: Invalid parent hash"); // Node exists and is expired, allocate to caller and extend lease.. _transferFrom(ownerOf(nodeId), _msgSender(), nodeId); nodes[nodeId].expiry = now + 52 weeks; emit Claim(_msgSender(), nodeId, parentId, label, ClaimCase.TRANSFER); return 3; } // No action return 0; } function exists(uint nodeId) external view returns (bool) { return _exists(nodeId); } function isApprovedOrOwner(uint nodeId) external view returns (bool) { return _isApprovedOrOwner(_msgSender(), nodeId); } function parentOf(uint nodeId) external view onlyExisting(nodeId) returns (uint) { return nodes[nodeId].parentId; } function expiryOf(uint nodeId) external view onlyExisting(nodeId) returns (uint) { return nodes[nodeId].expiry; } function seeAlso(uint nodeId) external view onlyExisting(nodeId) returns (uint) { return nodes[nodeId].seeAlso; } function seeAddress(uint nodeId) external view onlyExisting(nodeId) returns (address) { return nodes[nodeId].seeAddress; } function nodeBody(uint nodeId) external view onlyExisting(nodeId) returns (bytes memory) { return nodes[nodeId].nodeBody; } function expireNode(uint nodeId) external onlyApproved(nodeId) { nodes[nodeId].expiry = now; emit AttributeChanged(_msgSender(), nodeId, NodeAttribute.EXPIRY); } function setSeeAlso(uint nodeId, uint value) external onlyApproved(nodeId) { nodes[nodeId].seeAlso = value; emit AttributeChanged(_msgSender(), nodeId, NodeAttribute.SEE_ALSO); } function setSeeAddress(uint nodeId, address value) external onlyApproved(nodeId) { nodes[nodeId].seeAddress = value; emit AttributeChanged(_msgSender(), nodeId, NodeAttribute.SEE_ADDRESS); } function setNodeBody(uint nodeId, bytes calldata value) external onlyApproved(nodeId) { nodes[nodeId].nodeBody = value; emit AttributeChanged(_msgSender(), nodeId, NodeAttribute.NODE_BODY); } function setTokenURI(uint nodeId, string calldata uri) external onlyApproved(nodeId) { _setTokenURI(nodeId, uri); emit AttributeChanged(_msgSender(), nodeId, NodeAttribute.TOKEN_URI); } }
[{"inputs":[],"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":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"nodeId","type":"uint256"},{"indexed":false,"internalType":"enum IAKAP.NodeAttribute","name":"attribute","type":"uint8"}],"name":"AttributeChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"nodeId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"parentId","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"label","type":"bytes"},{"indexed":false,"internalType":"enum IAKAP.ClaimCase","name":"claimCase","type":"uint8"}],"name":"Claim","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":"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":"parentId","type":"uint256"},{"internalType":"bytes","name":"label","type":"bytes"}],"name":"claim","outputs":[{"internalType":"uint256","name":"status","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"nodeId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"nodeId","type":"uint256"}],"name":"expireNode","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"nodeId","type":"uint256"}],"name":"expiryOf","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":[{"internalType":"uint256","name":"parentId","type":"uint256"},{"internalType":"bytes","name":"label","type":"bytes"}],"name":"hashOf","outputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"payable":false,"stateMutability":"pure","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":[{"internalType":"uint256","name":"nodeId","type":"uint256"}],"name":"isApprovedOrOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","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":"nodeId","type":"uint256"}],"name":"nodeBody","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"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":"uint256","name":"nodeId","type":"uint256"}],"name":"parentOf","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":"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":true,"inputs":[{"internalType":"uint256","name":"nodeId","type":"uint256"}],"name":"seeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"nodeId","type":"uint256"}],"name":"seeAlso","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":false,"inputs":[{"internalType":"uint256","name":"nodeId","type":"uint256"},{"internalType":"bytes","name":"value","type":"bytes"}],"name":"setNodeBody","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"nodeId","type":"uint256"},{"internalType":"address","name":"value","type":"address"}],"name":"setSeeAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"nodeId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setSeeAlso","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"nodeId","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"setTokenURI","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"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"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252601581527f414b412050726f746f636f6c20526567697374727900000000000000000000006020808301919091528251808401909352600483527f414b41500000000000000000000000000000000000000000000000000000000090830152908181620000b17f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b036200018316565b620000e57f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b036200018316565b620001197f780e9d63000000000000000000000000000000000000000000000000000000006001600160e01b036200018316565b81516200012e90600990602085019062000252565b5080516200014490600a90602084019062000252565b50620001797f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b036200018316565b50505050620002f7565b7fffffffff0000000000000000000000000000000000000000000000000000000080821614156200021557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152602081905260409020805460ff19166001179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200029557805160ff1916838001178555620002c5565b82800160010185558215620002c5579182015b82811115620002c5578251825591602001919060010190620002a8565b50620002d3929150620002d7565b5090565b620002f491905b80821115620002d35760008155600101620002de565b90565b6125f180620003076000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063631fb72611610104578063b0690124116100a2578063c87b56dd11610071578063c87b56dd14610783578063cfa3c132146107a0578063e741cc4e146107bd578063e985e9c514610868576101da565b8063b069012414610610578063b88d4fde14610685578063b8af764214610749578063baef73e914610766576101da565b80637352f2b4116100de5780637352f2b41461059a5780638b73061f146105b757806395d89b41146105da578063a22cb465146105e2576101da565b8063631fb7261461053a5780636352211e1461055757806370a0823114610574576101da565b806323b872dd1161017c5780633a76c3021161014b5780633a76c3021461049e57806342842e0e146104ca5780634f558e79146105005780634f6ccce71461051d576101da565b806323b872dd146103aa5780632f745c59146103e0578063380a284c1461040c57806338926b6d14610429576101da565b8063095ea7b3116101b8578063095ea7b3146102d05780630d340c4a146102fe578063162094c41461031b57806318160ddd14610390576101da565b806301ffc9a7146101df57806306fdde031461021a578063081812fc14610297575b600080fd5b610206600480360360208110156101f557600080fd5b50356001600160e01b031916610896565b604080519115158252519081900360200190f35b6102226108b5565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561025c578181015183820152602001610244565b50505050905090810190601f1680156102895780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b4600480360360208110156102ad57600080fd5b503561094c565b604080516001600160a01b039092168252519081900360200190f35b6102fc600480360360408110156102e657600080fd5b506001600160a01b0381351690602001356109ae565b005b6102fc6004803603602081101561031457600080fd5b5035610abf565b6102fc6004803603604081101561033157600080fd5b81359190810190604081016020820135600160201b81111561035257600080fd5b82018360208201111561036457600080fd5b803590602001918460018302840111600160201b8311171561038557600080fd5b509092509050610b7b565b610398610c5e565b60408051918252519081900360200190f35b6102fc600480360360608110156103c057600080fd5b506001600160a01b03813581169160208101359091169060400135610c64565b610398600480360360408110156103f657600080fd5b506001600160a01b038135169060200135610cb9565b6102226004803603602081101561042257600080fd5b5035610d38565b6103986004803603604081101561043f57600080fd5b81359190810190604081016020820135600160201b81111561046057600080fd5b82018360208201111561047257600080fd5b803590602001918460018302840111600160201b8311171561049357600080fd5b509092509050610e22565b6102fc600480360360408110156104b457600080fd5b50803590602001356001600160a01b03166111f7565b6102fc600480360360608110156104e057600080fd5b506001600160a01b038135811691602081013590911690604001356112c3565b6102066004803603602081101561051657600080fd5b50356112de565b6103986004803603602081101561053357600080fd5b50356112ef565b6102066004803603602081101561055057600080fd5b5035611355565b6102b46004803603602081101561056d57600080fd5b5035611368565b6103986004803603602081101561058a57600080fd5b50356001600160a01b03166113bc565b610398600480360360208110156105b057600080fd5b5035611424565b6102fc600480360360408110156105cd57600080fd5b5080359060200135611482565b610222611520565b6102fc600480360360408110156105f857600080fd5b506001600160a01b0381351690602001351515611581565b6102fc6004803603604081101561062657600080fd5b81359190810190604081016020820135600160201b81111561064757600080fd5b82018360208201111561065957600080fd5b803590602001918460018302840111600160201b8311171561067a57600080fd5b50909250905061164d565b6102fc6004803603608081101561069b57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b8111156106d557600080fd5b8201836020820111156106e757600080fd5b803590602001918460018302840111600160201b8311171561070857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506116f4945050505050565b6102b46004803603602081101561075f57600080fd5b503561174c565b6103986004803603602081101561077c57600080fd5b50356117b3565b6102226004803603602081101561079957600080fd5b5035611811565b610398600480360360208110156107b657600080fd5b50356118f6565b610398600480360360408110156107d357600080fd5b81359190810190604081016020820135600160201b8111156107f457600080fd5b82018360208201111561080657600080fd5b803590602001918460018302840111600160201b8311171561082757600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611951945050505050565b6102066004803603604081101561087e57600080fd5b506001600160a01b0381358116916020013516611a46565b6001600160e01b03191660009081526020819052604090205460ff1690565b60098054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109415780601f1061091657610100808354040283529160200191610941565b820191906000526020600020905b81548152906001019060200180831161092457829003601f168201915b505050505090505b90565b600061095782611a74565b6109925760405162461bcd60e51b815260040180806020018281038252602c815260200180612446602c913960400191505060405180910390fd5b506000908152600260205260409020546001600160a01b031690565b60006109b982611368565b9050806001600160a01b0316836001600160a01b03161415610a0c5760405162461bcd60e51b815260040180806020018281038252602181526020018061253f6021913960400191505060405180910390fd5b336001600160a01b0382161480610a285750610a288133611a46565b610a635760405162461bcd60e51b81526004018080602001828103825260388152602001806123bb6038913960400191505060405180910390fd5b60008281526002602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b80610ac981611a74565b8015610ae15750610ae1610adb611a91565b82611a95565b610b1c5760405162461bcd60e51b815260040180806020018281038252603081526020018061233b6030913960400191505060405180910390fd5b6000828152600c602052604090204260019091015581610b3a611a91565b6001600160a01b03166000805160206124c7833981519152600060405180826004811115610b6457fe5b60ff16815260200191505060405180910390a35050565b82610b8581611a74565b8015610b975750610b97610adb611a91565b610bd25760405162461bcd60e51b815260040180806020018281038252603081526020018061233b6030913960400191505060405180910390fd5b610c128484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b3192505050565b83610c1b611a91565b6001600160a01b03166000805160206124c7833981519152600460405180826004811115610c4557fe5b60ff16815260200191505060405180910390a350505050565b60075490565b610c6e3382611a95565b610ca95760405162461bcd60e51b81526004018080602001828103825260318152602001806125606031913960400191505060405180910390fd5b610cb4838383611b94565b505050565b6000610cc4836113bc565b8210610d015760405162461bcd60e51b815260040180806020018281038252602b8152602001806122de602b913960400191505060405180910390fd5b6001600160a01b0383166000908152600560205260409020805483908110610d2557fe5b9060005260206000200154905092915050565b606081610d4481611a74565b610d7f5760405162461bcd60e51b81526004018080602001828103825260298152602001806125166029913960400191505060405180910390fd5b6000838152600c602090815260409182902060040180548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610e155780601f10610dea57610100808354040283529160200191610e15565b820191906000526020600020905b815481529060010190602001808311610df857829003601f168201915b5050505050915050919050565b600080610e658585858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061195192505050565b90506000851580610e825750610e82610e7c611a91565b87611a95565b90506000610e8f83611a74565b9050808015610eaa5750610eaa610ea4611a91565b84611a95565b15610fbe576000838152600c60205260409020548714610f0d576040805162461bcd60e51b81526020600482015260196024820152780829682a0744092dcecc2d8d2c840e0c2e4cadce840d0c2e6d603b1b604482015290519081900360640190fd5b6000838152600c602052604090206301dfe20042016001909101558683610f32611a91565b6001600160a01b03167f2574d3b5e98dcd17b129343ee43bda3629741c9f23256766c603c18f2c1f014e898960006040518080602001836002811115610f7457fe5b60ff1681526020018281038252858582818152602001925080828437600083820152604051601f909101601f1916909201829003965090945050505050a4600193505050506111f0565b80158015610fc95750815b1561109357610fdf610fd9611a91565b84611bb3565b6000838152600c602052604090208781556301dfe20042016001909101558683611007611a91565b6001600160a01b03167f2574d3b5e98dcd17b129343ee43bda3629741c9f23256766c603c18f2c1f014e89896001604051808060200183600281111561104957fe5b60ff1681526020018281038252858582818152602001925080828437600083820152604051601f909101601f1916909201829003965090945050505050a4600293505050506111f0565b8080156110b157506000838152600c60205260409020600101544210155b80156110ba5750815b156111e8576000838152600c6020526040902054871461111d576040805162461bcd60e51b81526020600482015260196024820152780829682a0744092dcecc2d8d2c840e0c2e4cadce840d0c2e6d603b1b604482015290519081900360640190fd5b61113761112984611368565b611131611a91565b85611b94565b6000838152600c602052604090206301dfe2004201600190910155868361115c611a91565b6001600160a01b03167f2574d3b5e98dcd17b129343ee43bda3629741c9f23256766c603c18f2c1f014e89896002604051808060200183600281111561119e57fe5b60ff1681526020018281038252858582818152602001925080828437600083820152604051601f909101601f1916909201829003965090945050505050a4600393505050506111f0565b600093505050505b9392505050565b8161120181611a74565b80156112135750611213610adb611a91565b61124e5760405162461bcd60e51b815260040180806020018281038252603081526020018061233b6030913960400191505060405180910390fd5b6000838152600c6020526040902060030180546001600160a01b0319166001600160a01b03841617905582611281611a91565b6001600160a01b03166000805160206124c78339815191526002604051808260048111156112ab57fe5b60ff16815260200191505060405180910390a3505050565b610cb4838383604051806020016040528060008152506116f4565b60006112e982611a74565b92915050565b60006112f9610c5e565b82106113365760405162461bcd60e51b815260040180806020018281038252602c815260200180612591602c913960400191505060405180910390fd5b6007828154811061134357fe5b90600052602060002001549050919050565b60006112e9611362611a91565b83611a95565b6000818152600160205260408120546001600160a01b0316806112e95760405162461bcd60e51b815260040180806020018281038252602981526020018061241d6029913960400191505060405180910390fd5b60006001600160a01b0382166114035760405162461bcd60e51b815260040180806020018281038252602a8152602001806123f3602a913960400191505060405180910390fd5b6001600160a01b03821660009081526003602052604090206112e990611bd4565b60008161143081611a74565b61146b5760405162461bcd60e51b81526004018080602001828103825260298152602001806125166029913960400191505060405180910390fd5b50506000908152600c602052604090206002015490565b8161148c81611a74565b801561149e575061149e610adb611a91565b6114d95760405162461bcd60e51b815260040180806020018281038252603081526020018061233b6030913960400191505060405180910390fd5b6000838152600c60205260409020600201829055826114f6611a91565b6001600160a01b03166000805160206124c78339815191526001604051808260048111156112ab57fe5b600a8054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109415780601f1061091657610100808354040283529160200191610941565b6001600160a01b0382163314156115df576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b8261165781611a74565b80156116695750611669610adb611a91565b6116a45760405162461bcd60e51b815260040180806020018281038252603081526020018061233b6030913960400191505060405180910390fd5b6000848152600c602052604090206116c09060040184846121b7565b50836116ca611a91565b6001600160a01b03166000805160206124c7833981519152600360405180826004811115610c4557fe5b6116ff848484610c64565b61170b84848484611bd8565b6117465760405162461bcd60e51b81526004018080602001828103825260328152602001806123096032913960400191505060405180910390fd5b50505050565b60008161175881611a74565b6117935760405162461bcd60e51b81526004018080602001828103825260298152602001806125166029913960400191505060405180910390fd5b50506000908152600c60205260409020600301546001600160a01b031690565b6000816117bf81611a74565b6117fa5760405162461bcd60e51b81526004018080602001828103825260298152602001806125166029913960400191505060405180910390fd5b50506000908152600c602052604090206001015490565b606061181c82611a74565b6118575760405162461bcd60e51b815260040180806020018281038252602f8152602001806124e7602f913960400191505060405180910390fd5b6000828152600b602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845290918301828280156118ea5780601f106118bf576101008083540402835291602001916118ea565b820191906000526020600020905b8154815290600101906020018083116118cd57829003601f168201915b50505050509050919050565b60008161190281611a74565b61193d5760405162461bcd60e51b81526004018080602001828103825260298152602001806125166029913960400191505060405180910390fd5b50506000908152600c602052604090205490565b6000600182511015801561196757506020825111155b6119b8576040805162461bcd60e51b815260206004820152601a60248201527f414b41503a20496e76616c6964206c6162656c206c656e677468000000000000604482015290519081900360640190fd5b8151602080840191909120604080518084018790528082018390528151808203830181526060909101909152805192019190912080611a3e576040805162461bcd60e51b815260206004820152601760248201527f414b41503a20496e76616c6964206e6f64652068617368000000000000000000604482015290519081900360640190fd5b949350505050565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b6000908152600160205260409020546001600160a01b0316151590565b3390565b6000611aa082611a74565b611adb5760405162461bcd60e51b815260040180806020018281038252602c81526020018061238f602c913960400191505060405180910390fd5b6000611ae683611368565b9050806001600160a01b0316846001600160a01b03161480611b215750836001600160a01b0316611b168461094c565b6001600160a01b0316145b80611a3e5750611a3e8185611a46565b611b3a82611a74565b611b755760405162461bcd60e51b815260040180806020018281038252602c815260200180612472602c913960400191505060405180910390fd5b6000828152600b602090815260409091208251610cb492840190612235565b611b9f838383611d0b565b611ba98382611e4f565b610cb48282611f44565b611bbd8282611f82565b611bc78282611f44565b611bd0816120b3565b5050565b5490565b6000611bec846001600160a01b03166120f7565b611bf857506001611a3e565b604051630a85bd0160e11b815233600482018181526001600160a01b03888116602485015260448401879052608060648501908152865160848601528651600095928a169463150b7a029490938c938b938b939260a4019060208501908083838e5b83811015611c72578181015183820152602001611c5a565b50505050905090810190601f168015611c9f5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015611cc157600080fd5b505af1158015611cd5573d6000803e3d6000fd5b505050506040513d6020811015611ceb57600080fd5b50516001600160e01b031916630a85bd0160e11b14915050949350505050565b826001600160a01b0316611d1e82611368565b6001600160a01b031614611d635760405162461bcd60e51b815260040180806020018281038252602981526020018061249e6029913960400191505060405180910390fd5b6001600160a01b038216611da85760405162461bcd60e51b815260040180806020018281038252602481526020018061236b6024913960400191505060405180910390fd5b611db1816120fd565b6001600160a01b0383166000908152600360205260409020611dd29061213a565b6001600160a01b0382166000908152600360205260409020611df390612151565b60008181526001602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216600090815260056020526040812054611e7990600163ffffffff61215a16565b600083815260066020526040902054909150808214611f14576001600160a01b0384166000908152600560205260408120805484908110611eb657fe5b906000526020600020015490508060056000876001600160a01b03166001600160a01b031681526020019081526020016000208381548110611ef457fe5b600091825260208083209091019290925591825260069052604090208190555b6001600160a01b0384166000908152600560205260409020805490611f3d9060001983016122a3565b5050505050565b6001600160a01b0390911660009081526005602081815260408084208054868652600684529185208290559282526001810183559183529091200155565b6001600160a01b038216611fdd576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b611fe681611a74565b15612038576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b600081815260016020908152604080832080546001600160a01b0319166001600160a01b03871690811790915583526003909152902061207790612151565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600780546000838152600860205260408120829055600182018355919091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880155565b3b151590565b6000818152600260205260409020546001600160a01b03161561213757600081815260026020526040902080546001600160a01b03191690555b50565b805461214d90600163ffffffff61215a16565b9055565b80546001019055565b6000828211156121b1576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106121f85782800160ff19823516178555612225565b82800160010185558215612225579182015b8281111561222557823582559160200191906001019061220a565b506122319291506122c3565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061227657805160ff1916838001178555612225565b82800160010185558215612225579182015b82811115612225578251825591602001919060010190612288565b815481835581811115610cb457600083815260209020610cb49181019083015b61094991905b8082111561223157600081556001016122c956fe455243373231456e756d657261626c653a206f776e657220696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572414b41503a207365742076616c75652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665644552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4e643f23cbc202af4f83dce574290af81b7d940546736d83eec38524c05908f84552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e414b41503a206f70657261746f7220717565727920666f72206e6f6e6578697374656e74206e6f64654552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243373231456e756d657261626c653a20676c6f62616c20696e646578206f7574206f6620626f756e6473a265627a7a723158205f6d7514eed7f9e2290b628f39c2045df113a49f4bae685fbff3afc31888481b64736f6c634300050c0032
Deployed ByteCode Sourcemap
48942:5397:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48942:5397:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21544:135;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21544:135:0;-1:-1:-1;;;;;;21544:135:0;;:::i;:::-;;;;;;;;;;;;;;;;;;45932:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;45932:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26490:204;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26490:204:0;;:::i;:::-;;;;-1:-1:-1;;;;;26490:204:0;;;;;;;;;;;;;;25776:421;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;25776:421:0;;;;;;;;:::i;:::-;;53284:184;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53284:184:0;;:::i;54128:208::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;54128:208:0;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;54128:208:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;54128:208: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;-1:-1;54128:208:0;;-1:-1:-1;54128:208:0;-1:-1:-1;54128:208:0;:::i;37586:96::-;;;:::i;:::-;;;;;;;;;;;;;;;;28167:290;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;28167:290:0;;;;;;;;;;;;;;;;;:::i;37195:232::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;37195:232:0;;;;;;;;:::i;53139:137::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53139:137:0;;:::i;50097:2233::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;50097:2233:0;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;50097:2233:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;50097:2233: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;-1:-1;50097:2233:0;;-1:-1:-1;50097:2233:0;-1:-1:-1;50097:2233:0;:::i;53685:213::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53685:213:0;;;;;;-1:-1:-1;;;;;53685:213:0;;:::i;29103:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;29103:134:0;;;;;;;;;;;;;;;;;:::i;52338:99::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52338:99:0;;:::i;38028:199::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38028:199:0;;:::i;52445:135::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52445:135:0;;:::i;25117:228::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25117:228:0;;:::i;24680:211::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24680:211:0;-1:-1:-1;;;;;24680:211:0;;:::i;52860:127::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52860:127:0;;:::i;53476:201::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53476:201:0;;;;;;;:::i;46132:89::-;;;:::i;26995:248::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;26995:248:0;;;;;;;;;;:::i;53906:214::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;53906:214:0;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;53906:214:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;53906:214: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;-1:-1;53906:214:0;;-1:-1:-1;53906:214:0;-1:-1:-1;53906:214:0;:::i;29956:268::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;29956:268:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;29956:268:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;29956:268: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;29956:268:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;29956:268:0;;-1:-1:-1;29956:268:0;;-1:-1:-1;;;;;29956:268:0:i;52995:136::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52995:136:0;;:::i;52725:127::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52725:127:0;;:::i;46428:205::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;46428:205:0;;:::i;52588:129::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52588:129:0;;:::i;49701:388::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;49701:388:0;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;49701:388:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;49701:388: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;49701:388:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;49701:388:0;;-1:-1:-1;49701:388:0;;-1:-1:-1;;;;;49701:388:0:i;27573:147::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;27573:147:0;;;;;;;;;;:::i;21544:135::-;-1:-1:-1;;;;;;21638:33:0;21614:4;21638:33;;;;;;;;;;;;;;21544:135::o;45932:85::-;46004:5;45997:12;;;;;;;;-1:-1:-1;;45997:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45971:13;;45997:12;;46004:5;;45997:12;;46004:5;45997:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45932:85;;:::o;26490:204::-;26549:7;26577:16;26585:7;26577;:16::i;:::-;26569:73;;;;-1:-1:-1;;;26569:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26662:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;26662:24:0;;26490:204::o;25776:421::-;25840:13;25856:16;25864:7;25856;:16::i;:::-;25840:32;;25897:5;-1:-1:-1;;;;;25891:11:0;:2;-1:-1:-1;;;;;25891:11:0;;;25883:57;;;;-1:-1:-1;;;25883:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25961:10;-1:-1:-1;;;;;25961:19:0;;;;:58;;;25984:35;26001:5;26008:10;25984:16;:35::i;:::-;25953:150;;;;-1:-1:-1;;;25953:150:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26116:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;26116:29:0;-1:-1:-1;;;;;26116:29:0;;;;;;;;;26161:28;;26116:24;;26161:28;;;;;;;25776:421;;;:::o;53284:184::-;53339:6;49559:15;49567:6;49559:7;:15::i;:::-;:59;;;;;49578:40;49597:12;:10;:12::i;:::-;49611:6;49578:18;:40::i;:::-;49551:120;;;;-1:-1:-1;;;49551:120:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53358:13;;;;:5;:13;;;;;53381:3;53358:20;;;;:26;53364:6;53417:12;:10;:12::i;:::-;-1:-1:-1;;;;;53400:60:0;-1:-1:-1;;;;;;;;;;;53439:20:0;53400:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;53284:184;;:::o;54128:208::-;54205:6;49559:15;49567:6;49559:7;:15::i;:::-;:59;;;;;49578:40;49597:12;:10;:12::i;49578:40::-;49551:120;;;;-1:-1:-1;;;49551:120:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54224:25;54237:6;54245:3;;54224:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;54224:12:0;;-1:-1:-1;;;54224:25:0:i;:::-;54296:6;54282:12;:10;:12::i;:::-;-1:-1:-1;;;;;54265:63:0;-1:-1:-1;;;;;;;;;;;54304:23:0;54265:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;54128:208;;;;:::o;37586:96::-;37657:10;:17;37586:96;:::o;28167:290::-;28311:39;28330:10;28342:7;28311:18;:39::i;:::-;28303:101;;;;-1:-1:-1;;;28303:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28417:32;28431:4;28437:2;28441:7;28417:13;:32::i;:::-;28167:290;;;:::o;37195:232::-;37275:7;37311:16;37321:5;37311:9;:16::i;:::-;37303:5;:24;37295:80;;;;-1:-1:-1;;;37295:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;37393:19:0;;;;;;:12;:19;;;;;:26;;37413:5;;37393:26;;;;;;;;;;;;;;37386:33;;37195:232;;;;:::o;53139:137::-;53214:12;53197:6;49414:15;49422:6;49414:7;:15::i;:::-;49406:69;;;;-1:-1:-1;;;49406:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53246:13;;;;:5;:13;;;;;;;;;:22;;53239:29;;;;;;-1:-1:-1;;53239:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53246:22;;53239:29;;53246:22;53239:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53139:137;;;;:::o;50097:2233::-;50167:11;50868;50882:23;50889:8;50899:5;;50882:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;50882:6:0;;-1:-1:-1;;;50882:23:0:i;:::-;50868:37;-1:-1:-1;50918:18:0;50939:15;;;:61;;;50958:42;50977:12;:10;:12::i;:::-;50991:8;50958:18;:42::i;:::-;50918:82;;51011:15;51029;51037:6;51029:7;:15::i;:::-;51011:33;;51061:10;:54;;;;;51075:40;51094:12;:10;:12::i;:::-;51108:6;51075:18;:40::i;:::-;51057:1223;;;51152:13;;;;:5;:13;;;;;:22;51140:34;;51132:72;;;;;-1:-1:-1;;;51132:72:0;;;;;;;;;;;;-1:-1:-1;;;51132:72:0;;;;;;;;;;;;;;;51286:13;;;;:5;:13;;;;;51315:8;51309:3;:14;51286:20;;;;:37;51371:8;51292:6;51349:12;:10;:12::i;:::-;-1:-1:-1;;;;;51343:63:0;;51381:5;;51388:17;51343:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;51343:63:0;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;51343:63:0;;;;-1:-1:-1;51343:63:0;;-1:-1:-1;;;;;51343:63:0;51430:1;51423:8;;;;;;;51057:1223;51454:10;51453:11;:28;;;;;51468:13;51453:28;51449:831;;;51556:27;51562:12;:10;:12::i;:::-;51576:6;51556:5;:27::i;:::-;51598:13;;;;:5;:13;;;;;:33;;;51675:8;51669:3;:14;51646:20;;;;:37;51623:8;51604:6;51709:12;:10;:12::i;:::-;-1:-1:-1;;;;;51703:59:0;;51741:5;;51748:13;51703:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;51703:59:0;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;51703:59:0;;;;-1:-1:-1;51703:59:0;;-1:-1:-1;;;;;51703:59:0;51786:1;51779:8;;;;;;;51449:831;51809:10;:41;;;;-1:-1:-1;51823:13:0;;;;:5;:13;;;;;:20;;;51847:3;-1:-1:-1;51823:27:0;51809:41;:58;;;;;51854:13;51809:58;51805:475;;;51904:13;;;;:5;:13;;;;;:22;51892:34;;51884:72;;;;;-1:-1:-1;;;51884:72:0;;;;;;;;;;;;-1:-1:-1;;;51884:72:0;;;;;;;;;;;;;;;52055:52;52069:15;52077:6;52069:7;:15::i;:::-;52086:12;:10;:12::i;:::-;52100:6;52055:13;:52::i;:::-;52122:13;;;;:5;:13;;;;;52151:8;52145:3;:14;52122:20;;;;:37;52207:8;52128:6;52185:12;:10;:12::i;:::-;-1:-1:-1;;;;;52179:64:0;;52217:5;;52224:18;52179:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;52179:64:0;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;52179:64:0;;;;-1:-1:-1;52179:64:0;;-1:-1:-1;;;;;52179:64:0;52267:1;52260:8;;;;;;;51805:475;52321:1;52314:8;;;;;50097:2233;;;;;;:::o;53685:213::-;53758:6;49559:15;49567:6;49559:7;:15::i;:::-;:59;;;;;49578:40;49597:12;:10;:12::i;49578:40::-;49551:120;;;;-1:-1:-1;;;49551:120:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53777:13;;;;:5;:13;;;;;:24;;:32;;-1:-1:-1;;;;;;53777:32:0;-1:-1:-1;;;;;53777:32:0;;;;;:13;53842:12;:10;:12::i;:::-;-1:-1:-1;;;;;53825:65:0;-1:-1:-1;;;;;;;;;;;53864:25:0;53825:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;53685:213;;;:::o;29103:134::-;29190:39;29207:4;29213:2;29217:7;29190:39;;;;;;;;;;;;:16;:39::i;52338:99::-;52390:4;52414:15;52422:6;52414:7;:15::i;:::-;52407:22;52338:99;-1:-1:-1;;52338:99:0:o;38028:199::-;38086:7;38122:13;:11;:13::i;:::-;38114:5;:21;38106:78;;;;-1:-1:-1;;;38106:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38202:10;38213:5;38202:17;;;;;;;;;;;;;;;;38195:24;;38028:199;;;:::o;52445:135::-;52508:4;52532:40;52551:12;:10;:12::i;:::-;52565:6;52532:18;:40::i;25117:228::-;25172:7;25208:20;;;:11;:20;;;;;;-1:-1:-1;;;;;25208:20:0;25247:19;25239:73;;;;-1:-1:-1;;;25239:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24680:211;24735:7;-1:-1:-1;;;;;24763:19:0;;24755:74;;;;-1:-1:-1;;;24755:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24849:24:0;;;;;;:17;:24;;;;;:34;;:32;:34::i;52860:127::-;52934:4;52917:6;49414:15;49422:6;49414:7;:15::i;:::-;49406:69;;;;-1:-1:-1;;;49406:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52958:13:0;;;;:5;:13;;;;;:21;;;;52860:127::o;53476:201::-;53543:6;49559:15;49567:6;49559:7;:15::i;:::-;:59;;;;;49578:40;49597:12;:10;:12::i;49578:40::-;49551:120;;;;-1:-1:-1;;;49551:120:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53562:13;;;;:5;:13;;;;;:21;;:29;;;53568:6;53624:12;:10;:12::i;:::-;-1:-1:-1;;;;;53607:62:0;-1:-1:-1;;;;;;;;;;;53646:22:0;53607:62;;;;;;;;;;;46132:89;46206:7;46199:14;;;;;;;;-1:-1:-1;;46199:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46173:13;;46199:14;;46206:7;;46199:14;;46206:7;46199:14;;;;;;;;;;;;;;;;;;;;;;;;26995:248;-1:-1:-1;;;;;27075:16:0;;27081:10;27075:16;;27067:54;;;;;-1:-1:-1;;;27067:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27153:10;27134:30;;;;:18;:30;;;;;;;;-1:-1:-1;;;;;27134:34:0;;;;;;;;;;;;:45;;-1:-1:-1;;27134:45:0;;;;;;;;;;27195:40;;;;;;;27134:34;;27153:10;27195:40;;;;;;;;;;;26995:248;;:::o;53906:214::-;53984:6;49559:15;49567:6;49559:7;:15::i;:::-;:59;;;;;49578:40;49597:12;:10;:12::i;49578:40::-;49551:120;;;;-1:-1:-1;;;49551:120:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54003:13;;;;:5;:13;;;;;:30;;:22;;54028:5;;54003:30;:::i;:::-;;54080:6;54066:12;:10;:12::i;:::-;-1:-1:-1;;;;;54049:63:0;-1:-1:-1;;;;;;;;;;;54088:23:0;54049:63;;;;;;;;;;;29956:268;30063:31;30076:4;30082:2;30086:7;30063:12;:31::i;:::-;30113:48;30136:4;30142:2;30146:7;30155:5;30113:22;:48::i;:::-;30105:111;;;;-1:-1:-1;;;30105:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29956:268;;;;:::o;52995:136::-;53072:7;53055:6;49414:15;49422:6;49414:7;:15::i;:::-;49406:69;;;;-1:-1:-1;;;49406:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53099:13:0;;;;:5;:13;;;;;:24;;;-1:-1:-1;;;;;53099:24:0;;52995:136::o;52725:127::-;52800:4;52783:6;49414:15;49422:6;49414:7;:15::i;:::-;49406:69;;;;-1:-1:-1;;;49406:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52824:13:0;;;;:5;:13;;;;;:20;;;;52725:127::o;46428:205::-;46486:13;46520:16;46528:7;46520;:16::i;:::-;46512:76;;;;-1:-1:-1;;;46512:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46606:19;;;;:10;:19;;;;;;;;;46599:26;;;;;;-1:-1:-1;;46599:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46606:19;;46599:26;;46606:19;46599:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46428:205;;;:::o;52588:129::-;52663:4;52646:6;49414:15;49422:6;49414:7;:15::i;:::-;49406:69;;;;-1:-1:-1;;;49406:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52687:13:0;;;;:5;:13;;;;;:22;;52588:129::o;49701:388::-;49773:7;49817:1;49801:5;:12;:17;;:39;;;;;49838:2;49822:5;:12;:18;;49801:39;49793:78;;;;;-1:-1:-1;;;49793:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;49904:16;;;;;;;;;;49958:31;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;6:49;;49958:31:0;;;;;;;49948:42;;;;;;;;50011:10;50003:46;;;;;-1:-1:-1;;;50003:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;50074:6;49701:388;-1:-1:-1;;;;49701:388:0:o;27573:147::-;-1:-1:-1;;;;;27677:25:0;;;27653:4;27677:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27573:147::o;30426:155::-;30483:4;30516:20;;;:11;:20;;;;;;-1:-1:-1;;;;;30516:20:0;30554:19;;;30426:155::o;49254:98::-;49334:10;49254:98;:::o;30951:333::-;31036:4;31061:16;31069:7;31061;:16::i;:::-;31053:73;;;;-1:-1:-1;;;31053:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31137:13;31153:16;31161:7;31153;:16::i;:::-;31137:32;;31199:5;-1:-1:-1;;;;;31188:16:0;:7;-1:-1:-1;;;;;31188:16:0;;:51;;;;31232:7;-1:-1:-1;;;;;31208:31:0;:20;31220:7;31208:11;:20::i;:::-;-1:-1:-1;;;;;31208:31:0;;31188:51;:87;;;;31243:32;31260:5;31267:7;31243:16;:32::i;46880:195::-;46966:16;46974:7;46966;:16::i;:::-;46958:73;;;;-1:-1:-1;;;46958:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47042:19;;;;:10;:19;;;;;;;;:25;;;;;;;;:::i;38611:245::-;38697:38;38717:4;38723:2;38727:7;38697:19;:38::i;:::-;38748:47;38781:4;38787:7;38748:32;:47::i;:::-;38808:40;38836:2;38840:7;38808:27;:40::i;39121:202::-;39185:24;39197:2;39201:7;39185:11;:24::i;:::-;39222:40;39250:2;39254:7;39222:27;:40::i;:::-;39275;39307:7;39275:31;:40::i;:::-;39121:202;;:::o;20223:114::-;20315:14;;20223:114::o;34198:356::-;34320:4;34347:15;:2;-1:-1:-1;;;;;34347:13:0;;:15::i;:::-;34342:60;;-1:-1:-1;34386:4:0;34379:11;;34342:60;34430:70;;-1:-1:-1;;;34430:70:0;;34467:10;34430:70;;;;;;-1:-1:-1;;;;;34430:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34414:13;;34430:36;;;;;;34467:10;;34479:4;;34485:7;;34494:5;;34430:70;;;;;;;;;;;34414:13;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;34430:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34430:70:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34430:70:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34430:70:0;-1:-1:-1;;;;;;34519:26:0;-1:-1:-1;;;34519:26:0;;-1:-1:-1;;34198:356:0;;;;;;:::o;33153:459::-;33267:4;-1:-1:-1;;;;;33247:24:0;:16;33255:7;33247;:16::i;:::-;-1:-1:-1;;;;;33247:24:0;;33239:78;;;;-1:-1:-1;;;33239:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33336:16:0;;33328:65;;;;-1:-1:-1;;;33328:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33406:23;33421:7;33406:14;:23::i;:::-;-1:-1:-1;;;;;33442:23:0;;;;;;:17;:23;;;;;:35;;:33;:35::i;:::-;-1:-1:-1;;;;;33488:21:0;;;;;;:17;:21;;;;;:33;;:31;:33::i;:::-;33534:20;;;;:11;:20;;;;;;:25;;-1:-1:-1;;;;;;33534:25:0;-1:-1:-1;;;;;33534:25:0;;;;;;;;;33577:27;;33534:20;;33577:27;;;;;;;33153:459;;;:::o;41794:1148::-;-1:-1:-1;;;;;42085:18:0;;42060:22;42085:18;;;:12;:18;;;;;:25;:32;;42115:1;42085:32;:29;:32;:::i;:::-;42128:18;42149:26;;;:17;:26;;;;;;42060:57;;-1:-1:-1;42282:28:0;;;42278:328;;-1:-1:-1;;;;;42349:18:0;;42327:19;42349:18;;;:12;:18;;;;;:34;;42368:14;;42349:34;;;;;;;;;;;;;;42327:56;;42433:11;42400:12;:18;42413:4;-1:-1:-1;;;;;42400:18:0;-1:-1:-1;;;;;42400:18:0;;;;;;;;;;;;42419:10;42400:30;;;;;;;;;;;;;;;;;;;:44;;;;42517:30;;;:17;:30;;;;;:43;;;42278:328;-1:-1:-1;;;;;42695:18:0;;;;;;:12;:18;;;;;:27;;;;;-1:-1:-1;;42695:27:0;;;:::i;:::-;;41794:1148;;;;:::o;40618:186::-;-1:-1:-1;;;;;40732:16:0;;;;;;;:12;:16;;;;;;;;:23;;40703:26;;;:17;:26;;;;;:52;;;40766:16;;;39:1:-1;23:18;;45:23;;40766:30:0;;;;;;;;40618:186::o;31537:335::-;-1:-1:-1;;;;;31609:16:0;;31601:61;;;;;-1:-1:-1;;;31601:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31682:16;31690:7;31682;:16::i;:::-;31681:17;31673:58;;;;;-1:-1:-1;;;31673:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;31744:20;;;;:11;:20;;;;;;;;:25;;-1:-1:-1;;;;;;31744:25:0;-1:-1:-1;;;;;31744:25:0;;;;;;;;31780:21;;:17;:21;;;;;:33;;:31;:33::i;:::-;31831;;31856:7;;-1:-1:-1;;;;;31831:33:0;;;31848:1;;31831:33;;31848:1;;31831:33;31537:335;;:::o;41005:164::-;41109:10;:17;;41082:24;;;;:15;:24;;;;;:44;;;39:1:-1;23:18;;45:23;;41137:24:0;;;;;;;41005:164::o;18682:422::-;19049:20;19088:8;;;18682:422::o;34722:175::-;34822:1;34786:24;;;:15;:24;;;;;;-1:-1:-1;;;;;34786:24:0;:38;34782:108;;34876:1;34841:24;;;:15;:24;;;;;:37;;-1:-1:-1;;;;;;34841:37:0;;;34782:108;34722:175;:::o;20444:110::-;20525:14;;:21;;20544:1;20525:21;:18;:21;:::i;:::-;20508:38;;20444:110::o;20345:91::-;20409:19;;20427:1;20409:19;;;20345:91::o;15747:184::-;15805:7;15838:1;15833;:6;;15825:49;;;;;-1:-1:-1;;;15825:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15897:5:0;;;15747:184::o;48942:5397::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;48942:5397:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48942:5397:0;;;-1:-1:-1;48942:5397:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
bzzr://5f6d7514eed7f9e2290b628f39c2045df113a49f4bae685fbff3afc31888481b